2 2005-07-14 André Pönitz <poenitz@gmx.net>
4 * undo.C (recordUndoFullBuffer): implement undo for
7 2005-07-14 André Pönitz <poenitz@gmx.net>
9 * cursor.C (setSelection): open insets when selection is set there
10 to avoid crashs with cold coord cache
12 2005-07-14 André Pönitz <poenitz@gmx.net>
14 * trans_mgr.C (insert): move cursor to the right after inserting
17 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
19 * BufferView_pimpl.C (update): dampen some of the debug blabbering
20 * factory.C (readInset): ditto
21 * text.C, text2.C: ditto
23 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
25 * buffer.C: format incremented to 242. There is no file format per
26 se, but the "frenchb" language has been removed from lib/language
27 and has to be translated to "french" by lyx2lyx.
29 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * cursor_slice.h, dociterator.h: add some documentation
32 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
34 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
36 * text.C (leftMargin): do not add identation to display() style
37 insets, because they are always centered (bug 1293).
39 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
41 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
42 formatted_time methods in support/lyxtime.
44 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
46 * toc.[Ch]: new method getGuiName, which is used by the frontends
47 to set the toc combo (fixes bug 1870). Make TOC string translatable.
49 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
51 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
52 StableDocIterator const &)
53 * undo.C (recordUndo): use the above instead of cell.size() comparison
54 (fixes bug 1808; instructed by André).
56 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
59 * dociterator.h: Fix the assert when copying rows/cols in math
61 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
65 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
67 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
68 (findInset): new functions, refactored from goto Inset that return
69 the position of a certain inset without setting the buffer's cursor
71 (gotoInset): rewrite to call findInset and then set the cursor
74 2005-06-16 Angus Leeming <leeming@lyx.org>
76 * lyxrc.C (output, read): wrap all input and output of paths with
77 calls to os::internal_path and os::external_path, respectively.
78 (output): wrap bind_file inside quotes.
80 * format.C (view): enable the viewer to use the '$$s' placeholder.
82 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
84 * LColor.[Ch] (getFromLaTeXName): new
86 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
88 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
90 2005-06-14 Angus Leeming <leeming@lyx.org>
92 * lyx_main.C (init): ensure that the LyX binary dir is the first
93 element in the PATH on non-POSIX builds.
95 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
99 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * rowpainter.C (paintInset, paintHebrewComposeChar)
102 (paintArabicComposeChar, paintChars): add a LyXFont argument.
103 (paintChars): use getFontSpan to reduce calls to getFont to a
104 minimum; use Paragraph::lookupChange instead of isXXXText.
105 (paintForeignMark): rename LyXFont argument.
106 (paintFromPos): pass a LyXFont object to the various paintXXX
109 * FontIterator.C (FontIterator, operator++): use
110 Paragraph::getFontSpan
112 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
113 version that returns the font span as a pair.
115 2005-06-09 Angus Leeming <leeming@lyx.org>
117 * converter.C (convert): Don't forget "outfile = real_outfile" as
118 the final step in a conversion where the input and output file names
119 are the same. Otherwise, future conversion steps won't work...
121 2005-06-09 Angus Leeming <leeming@lyx.org>
123 * lyxsocket.C: remove stub code as it isn't needed by
124 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
126 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
128 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
129 effectively disabled -x
131 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
134 when it actually makes sense.
136 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
138 * BufferView_pimpl.C: revert to showCursor in connection with
139 Lars's front-end stack
141 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
143 * text.C (redoParagraph): move cursor right after a bibitem
146 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
148 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * buffer_funcs.C (bufferErrors): fix computation of the end of an
153 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
155 * BufferView.[Ch] (update):
156 * BufferView_pimpl.[Ch] (update, metrics):
157 * dimension.h (operator==):
158 * lyxfunc.C (dispatch):
159 * metricsinfo.h (ViewMetricsInfo):
160 * rowpainter.C (paintText):
162 * text.C (redoParagraph):
163 * text3.C (dispatch): Make LyX only repaint current paragraph in
164 case of character insert --> speedup. Also fix cursor draw
167 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
170 avoid a crash (bug 1891)
172 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
176 * text2.C (getStringToIndex): constify cur argument.
178 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
179 argument has been given
180 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
181 try to invoke LFUN_INSET_APPLY).
183 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
184 if no inset was created by doInsertInset
185 (doInsertInset): return true if an inset has been inserted.
187 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * vspace.C (asGUIName): new method. A version of the space
190 suitable for showing on screen.
192 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
195 * lyxrc.C: rename "ASCII" to "Plain Text"
197 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
199 * buffer_funcs.C (expandLabel): take a Buffer as argument;
200 translate the labelstring.
201 (setCounter): translate labelstring as needed.
203 * output_docbook.C (makeCommand): fix expandLabel invokation
205 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
207 * BufferView.C: fix dialog title
209 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
211 * lyx_main.C (priv_exec): fix logic error with help from Angus
212 * lyx_main.C (parse_execute): set is_gui = false and remove now
213 obsolete comment about a segfault
215 2005-05-18 Angus Leeming <leeming@lyx.org>
217 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
219 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
221 * tabular.[hC]: added setCellInset to fix tabular paste.
223 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
225 * buffer.C (save): check if destination is writable before trying
228 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
230 * BufferView_pimpl.C (update): fix processEvents -caused update
233 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * buffer_funcs.C (setCounter): fix test for numbering of
238 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
239 depth correctly; use optional argument when it exists
241 * lyxtextclass.C: remove unused MaxCounterTags enum
242 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
243 (max_toclevel, min_toclevel): new methods.
245 * MenuBackend.C (expandToc2): fix case where depth is smaller than
246 the smallest depth in toc.
248 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
249 layouts that should not appear in a table of contents.
251 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
253 * cursor.h (undispatched, noUpdate): add comments from André
255 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
259 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
261 2005-05-07 André Pönitz <poenitz@gmx.net>
263 * cursor.[Ch] (leaveInset): new function
265 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
267 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
269 2005-05-04 Angus Leeming <leeming@lyx.org>
271 * lyxfunc.C (getStatus): disable the spell checker dialog if
272 none of USE_[AIP]SPELL are defined.
274 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
276 * tabular.C (setWidthOfCell): remove obsolete comment
278 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
280 * paragraph.C (bibitem):
281 * buffer_funcs.C (setCounter):
282 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
284 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
286 * text3.C (getStatus): immediately return after setOnOff
288 * rowpainter.C: fix drawing of appendix start
290 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
292 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
293 SwitchBetweenClasses and remove the unused return value.
294 Handle character styles, too
296 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
298 * factory.C (createInset): handle undefined character styles
300 2005-05-02 Angus Leeming <leeming@lyx.org>
302 * buffer.C: protect the #include of utime.h with a preprocessor
305 2005-05-02 Angus Leeming <leeming@lyx.org>
307 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
308 function so that auto-saving works, albeit in a blocking manner.
310 * Makefile.am: make compilation of the client sub directory, of
311 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
312 on conditionals set at configure time.
314 * SpellBase.[Ch]: no longer an abstract base class. Instead,
315 it can be compiled in its own right but has no-op functionality.
317 * aspell.C, pspell.C: remove preprocessor guards. The files should
318 be compiled only if the necessary functionality exists.
320 * lyxserver.C, lyxsocket.C: disable on Windows.
322 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
324 * text.C (leftMargin): Fix the parindent use bug (1764)
327 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
329 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
332 2005-04-25 Angus Leeming <leeming@lyx.org>
340 include <config.h> in .C files, not .h ones.
342 protect headers inside preprocessor guards.
344 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
346 * FuncStatus.h (StatusCodes): document
348 2005-04-21 André Pönitz <poenitz@gmx.net>
350 * FuncStatus.h (enabled, onoff): document
352 2005-04-19 Angus Leeming <leeming@lyx.org>
354 * BufferView_pimpl.C (cursorToggle): no longer test whether
355 any child processes have been reaped before calling
356 handleCompletedProcesses().
358 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
360 * text3.C (dispatch): fix, finally fix, the language problem in
361 new lyxtexts, without disabling on-the-fly font changes (Helge's
364 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
366 * text3.C (dispatch): set cursor on double/triple click events
369 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
371 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
372 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
374 * rowpainter.C (paintFirst): simplify the code a little bit. In
375 particular, remove the test for secnumdepth.
376 * text.C (setHeightOfRow): only allocate space for chapter number
377 when updateCounters provided an actual label, instead of looking
378 at secnumdepth directly.
380 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
382 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
383 paragraphs when secnumdepth is large enough or, for environments,
384 when they are not the first in a sequence.
386 2005-04-17 Angus Leeming <leeming@lyx.org>
388 * buffer.C (makeLaTeXFile): replace code to manipulate a path
389 containing space and '~' characters with a call to latex_path().
391 2005-04-17 Angus Leeming <leeming@lyx.org>
393 * converter.C (convert): protect all args of convertDefault.sh
396 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * text3.C (dispatch): change the layout to "Caption" after inserting
401 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
403 * text3.C (dispatch): fix language problem in newly created
404 textinsets (and main text) in non-english docs
406 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
408 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
409 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
410 * text3.C (getStatus): disable LFUN_INSET_MODIFY
412 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
417 * rowpainter.C (getFont): Fix metrics bug introduced by inset
420 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
423 output of \item arguments without trailing text.
425 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * FontIterator.C (operator*): avoid a copy of the font.
429 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
431 * rowpainter.C (getFont): fix language bug from previous fix
433 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
435 * rowpainter.C (RowPainter, getFont): fix font inside inset
438 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
440 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
441 preventing inserted font, deco, delim insets jumping to start of
444 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
446 * lyxfunc.C (dispatch): translate message before sending it to the
449 2005-03-29 Angus Leeming <leeming@lyx.org>
451 * lyx_main.C (priv_exec): call os::internal_path on each file passed
452 to LyX on the command line.
454 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
456 * vc-backend.C: use QuoteName to protect file names wherever
459 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
462 * BranchList.h: fix bugs 1844,1845: document settings don't
465 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
467 * lyxrc.C (setDefaults, read, output, getDescription): add support
468 for tex_allows_spaces.
470 * exporter.C (Export): allows files in directory containing spaces
471 if tex_allows_spaces is true.
473 * buffer.C (makeLaTeXFile): if the document path contains spaces,
474 output it in double quotes.
476 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
478 * rowpainter.C: use default text height for drawing change tracker
481 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
483 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
485 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
487 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
488 directory is missing.
490 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
492 * text2.C: fixed the fix, extended to other case.
494 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
496 * text2.C: fix for cursor up/down stuck in math [bug 1792]
498 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
500 * text2.C (cursorUp): get rid of a crash
501 * text.C (x2pos): add an assert
503 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
505 * lyxfunc.C (getStatus): fix warning when assertions are disabled
509 * dociterator.C: include <boost/current_function.hpp>, which is
510 needed when assertions are disabled.
512 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
514 * text2.C: fix for stuck cursor when traversing two
515 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
517 2005-02-25 Andreas Vox <avox@arcor.de>
519 * output_docbook.C (makeParagraph): suppress trailing newline
520 after a run of paragraphs
522 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
524 * paragraph.C: fix for confused change tracker when pasting
525 text that begins with a lineseparator. [bug 1827]
526 (setChange(0, Change::INSERTED);)
528 * paragraph_funcs.C: fix for lost changes on triple-paste
529 in change tracking mode [bug 1827] (par.setChange()).
531 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
533 * text2.C (updateCounters, setCounter, expandLabel): move to
536 * buffer_funcs.C (updateCounters): turn into a free standing
537 function and add a buffer parameter. Remove dead code for tracking
539 (setCounter): change into a free-standing function which gets a
540 dociterator as argument. Use this iterator to fix captions in a
541 simple way. When no float is found above the caption, use the
542 labelstring of the caption layout as default.
544 * text.C (breakParagraph, backspace):
545 * text2.C (init, setLayout, changeDepth):
546 * text3.C (dispatch):
547 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
550 * dociterator.C (forwardPar): make it much faster by calling
551 forwardPos() only when really necessary.
553 * output_docbook.C (makeCommand): adapt to expandLabel move.
555 * cursor.C: remove unused variable
557 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
559 * paragraph_funcs.C: fix crash when pasting insets in change
560 tracking mode [bug 1277] (honour change type in moveItem).
562 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
564 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
566 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
568 * BufferView.C (setCursor): change to use a DocIterator.
569 (gotoLabel): use BufferView::setCursor (other part of bug 781).
570 (putSelectionAt): adapt to BufferView::setCursor change.
572 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
573 moved here from LyXText and rewritten to use proper cursor
574 methods. Fixes bug 1787, 616 and 835.
576 * BufferView_pimpl.C (restorePosition): set the cursor correctly
577 when inside an inset (part of bug 781).
578 (dispatch): adapt to change of BufferView::setCursor.
579 (getStatus, dispatch): handle LFUN_GOTOERROR,
580 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
582 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
583 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
584 * text3.C (gotoNextInset, gotoInset): removed.
586 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
588 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
590 2005-02-15 Angus Leeming <leeming@lyx.org>
592 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
593 can be used meaningfully in a comparison.
595 2005-02-13 André Pönitz <poenitz@gmx.net>
597 * bufferview_funcs.C (coordOffset): improve cursor drawing
599 2005-02-13 André Pönitz <poenitz@gmx.net>
601 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
602 * Cursor.C (dispatch): use fixIfBroken
603 * lyxfunc.C (getStatus): use fixIfBroken
605 2005-02-15 Angus Leeming <leeming@lyx.org>
607 * lyx_main.C (error_handler):
609 * lyxrc.C (setDefaults):
611 #include "environment.h".
613 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
615 2005-02-15 Angus Leeming <leeming@lyx.org>
617 * lyxserver.C (startPipe): squash MSVC warning "local variable
618 'fd' used without having been initialized".
620 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
622 * BufferView_pimpl.C: revert accidental commit.
624 2005-02-14 André Pönitz <poenitz@gmx.net>
626 * dociterator.[Ch]: new member forwardPosNoDescent(),
627 which doesn't enter nested insets.
628 * text2.C (setFont): use forwardPosNoDescent() instead
629 of ForwardPos() (fixes crash on font change).
631 2005-02-13 Angus Leeming <leeming@lyx.org>
633 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
634 only if lyxrc.path_prefix is not empty.
636 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
638 * bufferparams.C (readGraphicsDriver): prevent crash
640 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
642 * text2.C (setCounter): check for inInset() == 0
644 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
647 but use update() to get correct screen display; use convert
648 instead of istringstream.
649 (getStatus): handle LFUN_GOTO_PARAGRAPH
651 * lyxfunc.C (dispatch, getStatus): do not handle
652 LFUN_GOTO_PARAGRAPH here.
654 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
656 * text3.C (dispatch): size() -> depth()
658 * text2.C: remove some debug output
660 * paragraph.C: ws changes only
662 * lyxfunc.C (getStatus): size() -> depth()
664 * dociterator.h (clear, push_back, pop_back, internalData,
665 operator[], resize, empty): new functions
666 Make StableDocIterator and operator== be friends. Don't inherit
667 from std::vector use a privat class variable slices_ instead.
670 * dociterator.C: update because of not inheriting from std::vector
671 anymore. Call explictly to slices_ instead. Use depth() instead of
672 size() and top() instead of back()
674 * cursor.C: chagne size() -> depth and back() -> top(). Also
675 remove some direct operator[](i) calls in favour of foo[i]
676 (getFont): remove some dead code
678 * bufferview_funcs.C (coordOffset): size() -> depth()
680 * buffer.C: ws changes only
682 * CutAndPaste.C (eraseSelection): back() -> top()
684 * BufferView_pimpl.C (selectionRequested): back() -> top()
686 * BufferView.C (setCursor): size() -> depth()
688 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
690 * text3.C (cursorPrevious): return true if depm changed something
692 (dispatch): rename sl to oldTopSlice, remove moving use the new
693 NoUpdate func attrib instead. Make sure that needsUpdate is set
694 for function that have NoUpdate, but where depm might have changed
697 * text2.C (cursorLeft): make us return true if depm changed
700 (cursorUpParagraph): ditto
701 (curosrDownParagraph): ditto
702 (cursorUp, cursorDown): ditto, make sure to read comments in code
703 (deleteEmptyParagraphMechanism): remove an assert, also return
704 true if just a single char was deleted.
706 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
707 cursor that we modify, to avoid modifying an active cursor before
708 we call setCursor. This allows depm to run. Also return true if
709 depm deleted something.
711 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
712 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
713 cursorDownParagraph, cursorPrevious and cursorNext, return true if
714 something was changed in the buffer because of them (ie. depm run)
716 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
717 debug messages. Make update by default be false. Make sure that
718 the result of update is retained throught several calls down to
721 * LyXAction.h: add a new func_attrib: NoUpdate
723 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
724 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
725 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
727 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
729 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
731 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
732 bv_->owner(), bv_->buffer() by direct references to the private
734 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
735 (getStatus): isSavedPosition() is in BufferView::Pimpl.
736 (fitCursor): center() is in BufferView::Pimpl.
737 (getStatus, trackChanges, dispatch): no need for a temporary buf
739 (fitCursor, workAreaDispatch): use workarea().workheight()
741 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
743 * CutAndPaste.C (pasteSelectionHelper): fix a crash
745 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
747 * buffer.C: format up to 241.
748 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
749 break if pasting into ERT
750 * lyxfunc.C (getStatus): suppress mathpanel and
751 LFUN_DIALOG_SHOW_NEW_INSET in ERT
753 2005-02-01 Angus Leeming <leeming@lyx.org>
755 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
757 2005-02-01 Angus Leeming <leeming@lyx.org>
759 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
760 calling fs::is_directory().
762 2005-01-31 Angus Leeming <leeming@lyx.org>
764 * lyx_main.C (priv_exec): specify explicitly the relative location
765 of the top level build directory when run in-place.
767 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
769 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
770 LyXText containing the cursor, not the top-level one.
772 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
774 (insertStringAsLines): rename par to pit; use temporary variable
775 par to hold a Paragraph; do not store par.layout() in a variable,
776 since the pointer may die when breaking paragraphs; pass pars to
777 breakParagraph() instead of Buffer::paragraphs().
779 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
781 * lyxlex_pimpl.h: #include <fstream>.
783 * BufferView.[Ch] (getLyXText): add a const version.
785 * BufferView_pimpl.C: add debug aids.
790 * paragraph_funcs.h: add commentary explaining what the class does.
793 * coordcache.[Ch]: add lots of commentary.
794 (startUpdating, doneUpdating): debug aids.
795 (arrays, insets, parPos, getParPos): accessors to private data.
797 * cursor_slice.[Ch] (text): add a const version.
798 * dociterator.[Ch] (text, innerText): add const versions.
800 * lyxtext.h (breakParagraph): change the keep_layout arg to a
803 * paragraph.C (getRow, pos2ros): add asserts.
805 * paragraph.h: add commentary. Lots of.
807 * paragraph.[Ch] (metrucs, draw): removed.
810 * rowpainter.[Ch]: const-correct changes.
812 * text.C: various obvious clean-ups. Removal of ancient cruft.
815 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
817 * vc-backend.C (find_file): rewrite to use boost.filesystem
820 * main.C (main): set default name check for boost.filesystem to
823 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
826 (actOnUpdatedPrefs): ditto
828 * lyx_main.C (init): rewrite to use boost.filesystem
829 (queryUserLyXDir): ditto
831 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
832 (getContentsOfAsciiFile): ditto
834 * lastfiles.C (readFile): rewrite to use boost.filesystem
836 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
838 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
841 * buffer.C (Buffer): adjust for destroydir
842 (getLogName): rewrite to use boost.filesystem
844 (save): use fs::copy_file (from fs_extras)
846 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
848 * LaTeX.C (run): rewrite to use boost.filesystem
849 (scanAuxFiles): ditto
850 (handleFoundFile): ditto
852 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
854 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
856 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
858 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
860 * lyxlayout.[Ch]: change some vars from float to double
862 * buffer.C (readFile): make a local var const
864 * Several files: use convert<> instead of atoi,strToXXX and friends
866 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
868 * LaTeXFeatures.[Ch]: Add a static list packages_ that
869 holds the contents of packages.lst. New functions getAvailable
870 and isAvailable to parse and check that list, resp.
874 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
876 * bufferparams.[Ch]: new param output_changes.
878 * Buffer.C: increase file format to 240.
879 Use output_changes and isVailable.
883 * paragraph_pimpl.C: Use output_changes and isVailable.
885 2005-01-23 Angus Leeming <leeming@lyx.org>
887 * output_latex.C: #include "insetbibitem.h", rather than
888 forward declare function bibitemWidest.
890 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
892 * lyx_main.C (init): make it compile on the Mac.
894 2005-01-20 Angus Leeming <leeming@lyx.org>
896 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
897 (setLyXMisc): (char string literal) != (char string literal) is
898 performing a comparison on the addresses. Convert one operand
899 explicitly to string to guarantee expected behaviour.
902 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
905 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
907 * output_plaintext.C: remove unneeded #include gzstream.h.
909 2005-01-20 Angus Leeming <leeming@lyx.org>
911 * SpellBase.h: rename some of the elements of the Result enum.
918 * pspell.C (check): ditto
920 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
922 * buffer.C: add #include <fstream>.
924 * lyx_main.C (init): Compile fix.
926 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
928 2005-01-20 Angus Leeming <leeming@lyx.org>
930 * mover.h: change commentary to reflect the changed meaning of
933 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
935 * output_linuxdoc.C (linuxdocParagraphs): silence warning
937 * lyxfind.C (MatchString::operator()): remove bogus semicolon
939 2005-01-20 Angus Leeming <leeming@lyx.org>
941 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
942 printing diagnostic data by not dereferecing an iterator past the
945 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
947 * buffer.C (readHeader): use "&&" rather than "and".
949 * lyxserver.h (inPipeName, outPipeName): make these const.
951 2005-01-19 Angus Leeming <leeming@lyx.org>
953 * lyx_main.C (error_handler, init): protect SIGHUP with
954 #ifdef SIGHUP guards.
956 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
958 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
960 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
962 * text.C (setHeightOfRow): add a margin at the top and bottom of
963 the document (bug 1761)
965 2005-01-17 Angus Leeming <leeming@lyx.org>
967 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
968 with "python ". Workaround for a brain-dead Windows.
970 2005-01-16 Angus Leeming <leeming@lyx.org>
972 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
973 for MacOSX and Windows to use prependEnvPath.
974 Strip out the hard-coded block to add elements to the PATH for
975 MacOSX and replace it with a call to prependEnvPath using the
976 contents of LyXRC::path_prefix.
977 (queryUserLyXDir): strip out the code to run reconfigure, instead
978 returning a boolean indicating the necessity to do so.
979 (reconfigureUserLyXDir): contains the code to reconfigure the
980 user support directory. Is now called after the various LyXRC data
981 files have been read.
983 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
985 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
987 * converter.[Ch] (convert): take a new parameter try_default. Use
988 a default converter (imagemagick) if try_default is true.
990 2005-01-13 Angus Leeming <leeming@lyx.org>
992 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
994 (write): output LyXRC::cygwin_path_fix as necessary.
996 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
999 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1001 2005-01-12 Angus Leeming <leeming@lyx.org>
1003 * lyx_main.C (init): set the PATH variable to include the
1004 directory containing the LyX binary when running on Mac or Windows.
1006 2005-01-12 Angus Leeming <leeming@lyx.org>
1008 * lyx_main.C (init): remove cruft that purports to set the locale
1009 dir. It doesn't and is not needed anyway.
1011 2005-01-10 Angus Leeming <leeming@lyx.org>
1013 * Makefile.am: remove the lyx_main.C special casing.
1015 * BufferView_pimpl.C:
1021 * messages.C: use support/package.h to provide the paths to the
1022 various directories used by LyX.
1024 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1027 layout if pasting into an empty paragraph)
1029 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1031 * tex-accent.C: add <string>
1033 2005-01-06 José Matos <jamatos@lyx.org>
1035 * ParagraphParameters.C (write): put every parameter in its own line.
1036 * paragraph.C (write): reduce number of consecutive empty lines exported.
1037 * buffer.C (LYX_FORMAT): increase file format to 239.
1039 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1041 * everywhere: change support/tostr.h -> support/convert.h
1043 * tabular.C: make all write_attributes templates, tostr -> convert
1045 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1046 (emptyTag): and -> &&, and fix type for ret from getChar
1047 (getFirstWord): fix type for ret from getChar
1048 (onlyText): and -> &&
1049 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1052 * toc.C (goTo, action):
1053 * text3.C (dispatch):
1054 * text.C (currentState):
1055 * tex-accent.C (DoAccent):
1058 * lyxfunc.C (menuNew):
1059 * lyxfinc.C (replace):
1060 * counters.C (laberItem):
1061 * bufferview_funcs.C (font2string):
1062 * bufferparams.C (writeFile):
1063 * buffer.C (readFile):
1065 * MenuBackend.C: tostr -> convert
1067 * LaTeX.C (runMessage): fix format
1068 (scanAuxFiles): tostr -> convert
1070 * BufferView_pimpl.C (savePosition): fix format
1071 (restorePosition): ditto
1074 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1076 * Spacing.[Ch]: New method getValueAsString().
1080 * ParagraphParameters.C:
1083 * text3.C: store/read spacing value as string.
1085 * rowpainter.C: change float value (spacing_val) to double.
1087 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1088 broken custom document spacing).
1090 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1092 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1093 namespace, also more use of temp references and const
1095 * cursor.[Ch] (getStatus): move to lyxfunc.C
1097 * bufferparams.C: reformat slightly
1099 * bufferview_funcs.C (font2string): constify arg
1105 * buffer_funcs.C: (many funcs): constify arg on function
1106 definitions, also make more local vars const, also add ASSERTS on
1109 * buffer.C (LYX_FORMAT): put const in correct place
1110 (many funcs): constify arg on function definitions, also make
1111 more local vars const
1113 * aspell_local.h: remove "struct" from typdef setup
1115 * aspell.C (check): make word_ok const
1116 (nextMiss): simplify slightly
1119 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1121 * lyxrc.[Ch]: store all float values as strings.
1122 use int (not float) for lyxrc.dpi.
1124 2005-01-04 Angus Leeming <leeming@lyx.org>
1126 * lyx_cb.C (Reconfigure):
1127 * lyx_main.C (queryUserLyXDir):
1128 to run the <system_lyxdir>/configure correctly on Windows, prefix
1129 the path to the script with "sh " when generating the string that
1130 is passed to system().
1132 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1134 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1136 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1138 * lyxlength.C (asLatexString): get rid of setprecision
1140 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1142 * text2.C (setLayout): remove unused variable endpit.
1143 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1145 * paragraph.C (onlyText): remove unused variable style.
1147 * cursor.C (bruteFind): remove unused variables beg and end.
1149 * Makefile.am (dist_noinset_DATA): not needed anymore
1151 * cheaders/*: remove.
1153 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1155 * text3.C: fix LFUN_MATH_MODE.
1157 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1159 * buffer_funcs.C (countWords): new function. Counts words between
1162 * BufferView_pimpl.C (getStatus, dispatch): handle
1165 * LyXAction.C (init):
1166 * lfuns.h: add LFUN_WORDS_COUNT.
1168 2004-12-19 Angus Leeming <leeming@lyx.org>
1170 * buffer.C (save): s/slashify_path/internal_path/.
1172 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1174 * lyxfind.C (findChange): do not search for end of pars, because
1175 the change tracker cannot handle this (fixes bug 1719).
1177 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1179 * paragraph.[Ch] (autoBreakRows): remove
1181 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1183 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1184 avoid using the paragraph one
1186 * text2.C (LyXText, insertStringAsLines): adjust
1188 2004-12-16 Angus Leeming <leeming@lyx.org>
1192 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1194 2004-12-14 Angus Leeming <leeming@lyx.org>
1196 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1198 * bufferlist.C (emergencyWrite):
1199 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1202 2004-12-14 Angus Leeming <leeming@lyx.org>
1204 * main.C: (main): no longer pass pointers to os::init.
1206 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1208 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1209 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1211 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1214 * text3.C: remove selection_possible global flag
1216 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1218 * text2.C (getSelectionSpan): remove
1219 (changeDepth, changeDepthAllowed): adjust
1221 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1223 * Makefile.am (BOOST_LIBS): use boost variables
1225 2004-12-03 José Matos <jamatos@lyx.org>
1227 * buffer.C: format up to 238.
1229 2004-12-03 José Matos <jamatos@lyx.org>
1231 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1233 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1235 * cursor.C (goUpDown): remove call to idxUpDown2
1237 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1239 * tabular.[Ch]: use size_t-like types for cell, row and column
1242 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1244 * lyxfunc.C (getStatus): do not lose previous information when
1245 calling BufferView::getStatus; do not set a default "Command
1246 disabled" message at the beginning, but just before returning.
1248 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1250 * cursor.h (getStatus): add better comment from src/cursor.C
1252 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1254 * text3.C (getStatus): return false when the lfun is not handled
1256 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1258 * broken_headers.h: remove
1260 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1262 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1264 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1265 offset_ref accessors
1267 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1268 top_y_, merge fitcursor with update
1269 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1271 (metrics): introduce
1272 (workAreaDispatch): adapt to new coord scheme
1273 (redoCurrentBuffer): remove
1275 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1277 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1280 * coordcache.[Ch]: add paragraph cache and helpers
1282 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1285 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1286 (targetX, setTargetX): introduce
1288 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1289 baseline -> ascent, as the rest of lyx
1291 * lyxtext.h: remove redoParagraphs, updateParPositions,
1292 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1293 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1294 have ascent/descent (ascent is ascent of first par)
1296 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1299 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1301 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1303 * pariterator.C: fix infinite loop introduced in par->pit renaming
1305 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1306 in insets and LyXText, draw two off-screen paragraphs using
1307 NullPainter, and adapt to new coord scheme
1311 * text3.C: adapt lfun handlers to the new coord scheme, which
1312 means: there's only guaranteed coord information for onscreen pars
1313 plus one above and one below. This implies that one can do search
1314 from y coordinates in the range [-1,workHeight]
1316 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1318 * rename a lot of InsetOld to InsetBase
1320 2004-11-25 Angus Leeming <leeming@lyx.org>
1322 * BufferView_pimpl.C:
1324 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1326 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1328 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1329 call BufferView::getStatus if LCursor::getStatus did nothing
1330 (setStatusMessage, getStatusMessage): removed.
1332 * FuncStatus.C (message): new methods. Used to provide an error
1333 message indicating why a command is disabled.
1334 (clear, |=, FuncStatus): update for message.
1336 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1338 * lyxfunc.C (dispatch): always call sendDispatchMessage
1340 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1343 * BufferView_pimpl.C:
1348 * cursor_slice.[Ch]:
1351 * paragraph_funcs.C:
1357 * undo.C: par->pit renaming
1359 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1361 * tabular.C (cellstruct): use initialization, store a shared_ptr
1362 to insettext instead of the insettext directly, adjust to fit.
1363 (operator=): new function
1364 (swap): new function
1365 (rowstruct): use initialization
1366 (columnstruct): use initialization
1367 (ltType): use initialization
1370 * lyxlength.h (swap): new function
1372 * LColor.[Ch] (operator=): use the common semantics
1374 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1376 * lyxfind.C (findNextChange): update the bufferview after setting
1379 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1381 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1382 number of InsetOptArgs has already been inserted.
1384 * output_latex.C (latexOptArgInsets): new method. This outputs all
1385 the optarg insets, up to the limit defined in the layout file.
1386 (optArgInset): removed
1387 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1389 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1391 * paragraph.C (isLetter): remove special spellchecker-related
1392 code; return true also for digits
1393 (isWord, isKomma): remove
1395 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1396 * lyxfind.C (MatchString()): use isLetter instead of isWord
1398 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1400 * pariterator.h (operatir=): comment out un-implemented member
1403 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1406 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1408 * lyxfont.h: include LColor.h to satisfy concept checks.
1410 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1412 * pariterator.h: add typdefs for value_type, difference_type,
1413 pointer and reference to satisfy concept checks. Also add default
1414 constructor for same reason.
1416 * pariterator.C (operator++): add post-increment operator to
1417 satisfy concept checks.
1419 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1422 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1424 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1425 checks. Also rename base_type to BaseType to follow naming
1428 * FloatList.h: include Floating.h to satisfy concept checks.
1430 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1432 * lyxfunc.C (getStatus): when the origin of the request is menu or
1433 toolbar, and the LyXView does not have focus, do as if there was
1434 no buffer (bug 1720)
1436 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1437 FuncRequest to individual entries of LFUN_SEQUENCE
1439 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1441 * output_latex.C (TeXOnePar): override runparams.moving_arg
1442 according to the needprotect value of the current paragraph (bug
1445 * paragraph.C (simpleTeXOnePar): no need to override
1446 runparams.moving_args here
1448 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1450 * vspace.C: fix off-by-one-error, related to fix #1682
1452 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1454 * lengthcommon.C: a more general fix for bug 1682
1456 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1458 * text.C (backspace): fix crash
1460 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1462 * format.[Ch] (getFormatFromFile): new method
1463 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1465 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1467 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1469 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1471 * lyxfunc.C (dispatch): remove the verbose argument
1472 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1475 * kbmap.C (defkey): set the origin of func to KEYBOARD
1477 * MenuBackend.C (MenuItem):
1478 * ToolbarBackend.C (add): set the origin of func to UI
1480 * funcrequest.[Ch]: add origin member, which indicates which part
1481 of LyX requests an action
1483 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1485 * converter.C (move): don't lie in the error message
1486 * converter.h (isReachable, move): document
1488 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1490 * buffer.C: remove unused using lyx::support::atoi
1491 * paragraph_funcs.C: ditto
1493 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1495 * bufferlist.C (exists): use bind and equal_to instead of
1498 * lyxtextclasslist.C (NumberOfClass): ditto
1500 * cursor.C (insert): use for_each instead of explicit for loop
1502 * bufferlist.C (getFileNames): use std::transform and
1503 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1505 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1508 * buffer.C (changeLanguage): use for_each instead of explicit for
1510 (hasParWithID): implement using getParFromID
1512 * LaTeXFeatures.C: ws change only
1514 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1517 * BufferView_pimpl.C (trackChanges): use for_each instead of
1520 2004-11-04 André Pönitz <poenitz@gmx.net>
1523 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1525 * dociterator.C (asDocIterator): use hard assert again.
1527 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1529 * lyxlength.C (asLatexString): rewrite so that it does not use
1532 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1534 * text3.C (specialChar, dispatch): make sure cursor moves to the
1535 right after inserting an inset
1537 2004-11-02 José Matos <jamatos@lyx.org>
1539 * output_docbook.C (docbook):
1540 * paragraph.C (getID):
1541 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1542 garantee that the output is always legal.
1544 * tabular.C (docbook):
1545 * outputprams.[Ch]: remove mixed contents.
1547 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1549 * text2.C (setCounter): prevent endless loop
1551 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1553 * exporter.C (copyFile): use the mover instead of support::copy()
1554 * exporter.C (Export): pass format and latex name to copyFile()
1555 * exporter.h (addExternalFile): document
1556 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1558 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1560 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1562 2004-10-30 José Matos <jamatos@lyx.org>
1564 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1565 text and no inset or font change. This allows to use CDATA
1566 sections just for the whole paragraph.
1568 2004-10-30 José Matos <jamatos@lyx.org>
1570 * paragraph.C (getFirstWord): remove unused variable.
1572 2004-10-30 José Matos <jamatos@lyx.org>
1574 * paragraph.C (getFirstWord): the content should always be escaped
1576 (simpleDocBookOnePar):
1577 * output_docbook.C (makeEnvironment): replace reference to CDATA
1580 2004-10-30 José Matos <jamatos@lyx.org>
1582 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1584 2004-10-30 José Matos <jamatos@lyx.org>
1586 * output_docbook.C (makeParagraphs):
1587 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1588 standard paragraph has only a given type of content drop the wrapper.
1590 2004-10-29 José Matos <jamatos@lyx.org>
1592 * output_docbook.C (makeEnvironment):
1594 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1596 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1598 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1599 (cleanID): sanitize any id.
1601 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1603 * buffer.C, lyxlex_pimpl.C:
1604 * lyxlex_pimpl.C (setFile):
1605 s/getExtFromContents/getFormatFromContents/
1607 2004-10-28 José Matos <jamatos@lyx.org>
1609 * output_docbook.C (makeEnvironment): move id to broadest possible
1612 * sgml.C (openTag): apply substitution of <> for all attributes.
1614 2004-10-28 José Matos <jamatos@lyx.org>
1616 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1617 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1618 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1620 * sgml.[Ch]: new version for open and closeTag for paragraph and
1621 for strings. Now they handle the ids of paragraphs.
1623 2004-10-26 Angus Leeming <leeming@lyx.org>
1625 * Makefile.am: add mover.[Ch].
1627 * converter.C (convert, move): use the new Movers to move external
1628 files to the temp directory.
1630 * lyx_main.C (init): ensure that the global system_movers data
1633 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1636 * mover.[Ch]: new files, defining a Mover as a utility to move an
1637 external file between directories and, if necessary, manipulate this
1638 file using a helper script.
1640 2004-10-25 José Matos <jamatos@lyx.org>
1642 * output_docbook.C (makeCommand): merge two if's that tested the
1645 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1647 * sgml.C (escapeString): fix warning in a better way
1649 2004-10-25 José Matos <jamatos@lyx.org>
1651 * sgml.C (escapeString): import the require boosts header file for
1652 tie, and avoid a signed unsigned comparison.
1654 2004-10-25 José Matos <jamatos@lyx.org>
1656 * sgml.h: add #include <string>
1658 2004-10-25 José Matos <jamatos@lyx.org>
1660 * sgml.[Ch] (escapeString): new function to escape all the string.
1662 2004-10-24 José Matos <jamatos@lyx.org>
1664 * paragraph.[Ch] (getFirstWord): new function to get the first
1665 word. Useful for description.
1666 (simpleDocBookOnePar): remove depth argument, add another that
1667 says where to start the paragraph.
1669 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1670 use the new functions to fix cleanly the support for descriptions.
1672 2004-10-24 José Matos <jamatos@lyx.org>
1674 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1675 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1676 * output_linuxdoc.C (linuxdocParagraphs):
1677 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1678 add buffer as argument.
1680 2004-10-24 José Matos <jamatos@lyx.org>
1682 * output_docbook.C (makeEnvironment, searchEnvironment): place
1683 CDATA inside paragraphs and fix scope for listitems.
1685 2004-10-24 José Matos <jamatos@lyx.org>
1687 * output_docbook.C: remove using statement for stack.
1689 2004-10-23 José Matos <jamatos@lyx.org>
1691 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1692 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1693 docbook. The new scheme is recursive and makes use of iterators, the
1694 same as latex export works.
1695 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1696 directly with the paragraph contents. This code was moved up to
1697 output_docbook.C (docbookParagraphs).
1698 * sgml.C (openTag, closeTag): removed unneeded newlines.
1699 (closeEnvTags) removed.
1701 2004-10-23 André Pönitz <poenitz@gmx.net>
1703 * undo.C (textUndoOrRedo):
1704 * dociterator.C (asDocIterator): work around crash
1706 * cursor.C (getStatus): replace ASSERT by more verbose error message
1707 and manual correction of the problem. Should increase stability
1708 while providing more sensible information.
1710 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1712 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1714 * bufferlist.C (previous, next): new methods
1717 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1719 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1721 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1722 entities to preamble.
1724 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1726 * messages.C (Pimpl): strip off translation context information
1728 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1730 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1731 the cursor is correct (bug 1694)
1733 2004-10-13 José Matos <jamatos@lyx.org>
1735 * output_docbook.C (docbookParagraphs): fix closing tags in the
1736 end of the document.
1738 2004-10-09 José Matos <jamatos@lyx.org>
1740 * buffer.C: format up to 237.
1741 * bufferparams.C (write): use tostr to convert booleans to strings.
1743 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1745 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1747 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1749 * LaTeX.C: implement use of babel language in xindy.
1751 2004-10-05 José Matos <jamatos@lyx.org>
1753 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1754 Add new translators to help reading and writing the lyx file.
1756 2004-10-05 José Matos <jamatos@lyx.org>
1758 * ParagraphParameters.C (read):
1759 * text.C (readParToken): replace nexToken by more appropriate lex
1762 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1764 * LaTeX.C (runMakeIndex):
1765 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1766 (usually 'makeindex') configurable.
1768 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1769 with a variable rather than with a number.
1771 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1773 * output_latex.C (TeXOnePar): make sure font setting is the first
1774 thing that gets output (and the last at the end). Should fix bug
1777 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1779 * pch.h: use proper signal include
1781 * LaTeX.h: Use preferred calling of Boost.Signal
1784 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1786 * pch.h: dont include <boost/function/function0.hpp>
1788 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1790 * paragraph_pimpl.h: remove usage of ShareContainer
1792 * paragraph_pimpl.C: remove initialization of ShareContainer.
1794 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1798 * BufferView.C (putSelectionAt): change the semantics when
1799 backwards == true: now, this just swaps cursor and anchor wrt the
1802 * BufferView.h (putSelectionAt): add some documentation
1804 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1805 make sure backwardChar is done at least once (to avoid getting
1807 (findNextChange): use putSelectionAt in the forward direction
1808 (operator()): use Paragraph::isWord
1810 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1812 * Spacing.C (set): c_str fix
1814 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1816 * lyx_cb.C (Reconfigure): quote the name of configure script in
1817 case it contains spaces
1819 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1823 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1824 (BOOST_LIBS): use top_buildir when looking for the file
1826 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1828 * pch.h: do not use include boost/format.hpp, multiple symbols
1829 will result (gcc bug)
1832 2004-08-23 José Matos <jamatos@lyx.org>
1834 * bufferparams.C (readToken): fix reading of the author field.
1836 2004-08-20 José Matos <jamatos@lyx.org>
1838 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1840 2004-08-20 José Matos <jamatos@lyx.org>
1842 * lyxlex.[Ch] (findToken): remove function.
1844 * ParagraphParameters.C (findToken):
1845 * bufferparams.C (findToken): replace call for previous function
1846 with local copy. This local function has one more argument, the
1847 read string argument.
1849 2004-08-16 José Matos <jamatos@lyx.org>
1851 * ParagraphParameters.C (write):
1852 * Spacing.C (writeFile):
1853 * bufferparams.C (writeLaTeX):
1854 * lyx_cb.C (Reconfigure):
1855 * paragraph.C (write):
1856 * tabular.C (write): remove unnecessary space at end of line.
1859 2004-08-16 José Matos <jamatos@lyx.org>
1861 * text.C (readParagraph): remove debug message.
1863 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1865 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1868 * output_plaintext.C (asciiParagraph): set depth correctly
1870 * outputparams.h: add member depth
1872 * paragraph_funcs.C (ownerPar): remove.
1874 * text2.C (setCounter): remove first_pit; comment out some
1875 non-working code that uses ownerPar
1877 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1880 2004-08-16 José Matos <jamatos@lyx.org>
1882 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1883 For the same level of importance use the same chanel to report problems.
1884 (read): add code to deal with \begin_body and \end_body.
1887 2004-08-15 José Matos <jamatos@lyx.org>
1889 * lyxlex.C (getString): fix comment, buffer::readBody is now
1890 buffer:readDocument.
1892 * tex-strings.C (string_papersize): Default -> default,
1893 Custom -> custom, for consistency with other options.
1895 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1899 * Makefile.am: support pch
1901 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1903 * text.C (readParToken): remove the static LyXFont variable and
1904 pass it as a parameter instead. This fixes a nasty bug where an
1905 inset will be inserted with a bad font in some situations
1906 (readParagraph): adapt
1908 * text2.C (setCounter): reduce number of calls to pars_[pit]
1910 * text.C (singleWidth): add an assert, fix a test
1912 * rowpainter.C (paintText): reduce number of calls to singleWidth
1914 * paragraph.C (isHfill):
1915 (isNewline): ws only
1917 2004-08-14 André Pönitz <poenitz@gmx.net>
1922 * lyxtext.h (several functions): use a Paragraph & argument
1925 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1927 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1929 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1931 * text.C (singleWidth): remove useless test
1933 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1935 * tabular.h: remove bogus comments
1937 * tabular.C (getDescentOfRow):
1938 (isPartOfMultiColumn): add assertions
1940 * lyxlength.C (inPixels): remove #warning
1942 2004-08-14 André Pönitz <poenitz@gmx.net>
1944 * paragraph.h: inline getChar()
1946 * BufferView.h: remove unused declarations
1948 2004-08-14 José Matos <jamatos@lyx.org>
1950 * Buffer.[Ch] (readDocument): new name for old readBody.
1951 * Buffer.C: new file format, new keywords: \begin_document,
1952 \begin_header, \begin_body, \end_body.
1954 * bufferparams.C (readToken): replace all calls to lex.nextToken
1955 by lex.next(). Do the same to eatLine except where really needed.
1957 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1958 line when writing to the lyx file.
1960 * output_plaintext.C (asciiParagraph): fix Bibliography style
1963 * text.C (read): fix end of file handling.
1965 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1967 * MenuBackend.C (Menu::operator[]): new method to access
1968 individual menu items
1969 (Menu::hasFunc): new method. search for an item that corresponds
1971 (MenuBackend::specialMenu): new method
1972 (MenuBackend::expand): if a special menu has been set, skip
1973 entries whose func() appears in this menu
1975 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1977 * text3.C: use Debug::DEBUG a bit more
1979 * text.C (leftMargin): try to simplify a tiny bit change var x to
1980 l_margin. Dont output the wide margins always.
1981 (rightMargin): no margin in inner texts
1983 * rowpainter.h (nestMargin): new func
1984 (changebarMargin): new func
1985 (rightMargin): new func
1987 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1991 * factory.C (createInset): modify setDrawFrame
1993 * cursor.C: use Debug::DEBUG a bit more
1995 2004-08-14 André Pönitz <poenitz@gmx.net>
1998 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1999 cache for all insets in (at least partially) visible (top-level)
2002 * BufferView_pimpl.C: reset external coord cache before every update.
2003 This means the coord cache only contains valid entries.
2005 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2008 * BufferView_pimpl.C (getInsetByCode): move function out of class
2009 and change in to a template in anon namespace. Also fix to do what
2012 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2015 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2017 (breakParagraph): rename par to par_offset and use a local
2018 reference. Add code to keep the language over a rebreak.
2019 (breakParagraphConservative): rename par to par_offset, use a
2021 (mergeParagraph): ditto
2023 (isFirstInSequence): ditto
2024 (outerFont): rename pit to par_offset
2026 * paragraph.C: ws change
2027 * paragraph.h: ditto
2031 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2033 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2036 * paragraph.C (simpleTeXOnePar): when we have a \item with
2037 optional argument, enclose the argument with curly brackets (in
2038 case it contains a closing square bracket)
2042 * text3.C (checkInsetHit): constify
2044 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2046 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2047 documents (bug 1629)
2049 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2051 Fix toggling of collapsable insets with the mouse (bug 1558)
2053 * lyxfunc.C (dispatch): adapt to LCursor changes
2055 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2056 make sure that dispatch is not invoked twice
2058 * cursor.C (needsUpdate): new method
2059 (dispatch): return void
2060 (result): new method, to access the DispatchResult of the cursor.
2062 2004-08-13 José Matos <jamatos@lyx.org>
2064 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2066 2004-08-13 André Pönitz <poenitz@gmx.net>
2068 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2070 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2073 2004-08-12 André Pönitz <poenitz@gmx.net>
2075 * text3.C: take out the 'cursor right' form insertInset and only
2076 do it in those places when it is really needed. Fixes crash on
2079 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2081 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2083 * BufferView_pimpl.C (setBuffer): initialize the current font of
2084 the underlying LyXText
2086 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2088 * kbsequence.C (print): use UI native formatting for menu
2091 * text.C (insertChar): call Paragraph::insertChar with a font
2094 * paragraph.C (insertInset, insertChar): the version that takes a
2095 LyXFont argument is now a wrapper around the other one (the
2096 opposite used to be true).
2098 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2099 argument. Font setting is done in Paragraph now.
2101 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2103 * outputparams.h: add new members intitle and lang.
2105 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2106 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2108 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2110 * text3.C (dispatch): remove special handling of button 4 and 5,
2111 it is now taken care of in the frontend code.
2113 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2115 * Spacing.h: add <string> (STLPort compile fix)
2117 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2119 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2121 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2123 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2126 * converter.C (showMessage): inherit from unary_function, make
2129 * buffer.C (writeFile): initialize retval
2131 * InsetList.h: rename private variable list to list_
2132 * InsetList.[Ch]: adjust accordingly.
2134 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2136 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2137 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2138 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2139 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2140 * ParagraphParameters.C, LaTeXFeatures.C: replace
2141 "support/std_sstream.h" with <sstream>
2143 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2145 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2146 * lyxsocket.C (LyXServerSocket): ditto
2147 (serverCallback): ditto
2149 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2151 * LaTeXFeatures.C: check release date when loading jurabib.
2153 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2155 * lyxserver.C (startPipe): call register_socket_callback
2156 (endPipe): call unregister_socket_callback
2158 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2160 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2161 (LyXServerSocket): register the callback
2162 (LyXServerSocket): unregister the callback
2163 (fd): delete function
2164 (serverCallback): improve error checking and setup the callbacks.
2165 (dataCallback): change arg to fd.
2166 (writeln): new func (copied fro the client socket) used for server
2168 (LyXDataSocket): simplify
2169 (~LyXDataSocket): close ann unregiser callback
2170 (server): delete function
2171 (fd): delete function
2172 (readln): small changes, improve some std::string usage
2173 (writeln): constify a bit
2175 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2177 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2180 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2182 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2183 after it has been populated
2185 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2187 * text2.C (insertInset): move cursor when inserting inset.
2189 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2191 * kbmap.C (findbindings): a couple of new methods. returns a
2192 container of kb_sequence objects. The real work is done by the
2193 private recursive version
2194 (printbindings): uses findbindings to print out a bracketed list
2195 of bindings (renamed from findbinding).
2197 * MenuBackend.C (binding): use kb_keymap::findbindings
2199 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2201 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2203 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2205 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2207 * paragraph.C (isWord): return true on insets that report
2210 * text.C (getWord): use Paragraph::isWord to decide what is in a
2211 word and what is not; fix bug 1609.
2213 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2215 * tex-strings.C: add "none" to string_paperpackages[], fixes
2216 off-by-one-error in the paperpackage selection.
2219 * tex-strings.[Ch]: char const * string[n]
2220 -> char const * const string[]
2222 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2224 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2225 command, return early.
2227 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2229 * debug.h: add DEBUG to enum and fix size of ANY.
2231 * debug.C: add support for Debug::DEBUG
2232 (showTags): cast errorTags.level to unsigned int
2234 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2235 (redoCurrentBuffer): ditto
2236 (updateScrollbar): ditto
2237 * cursor.C (dispatch): ditto
2238 * text2.C (setLayout): ditto
2240 (updateCounters): ditto
2242 (deleteEmptyParagraphMechanism): ditto
2244 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2246 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2247 annotations to cleanup the Makefile slightly.
2249 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2251 * lyxrc.C: do not set user_email to a default value but use empty
2252 instead. The entry used to be translated, which does not work
2253 since at the point where lyxrc is constructed there is no
2254 translation service available
2256 * messages.C (getLocaleDir): remove and use directly
2257 lyx_localedir() instead
2259 2004-06-02 Angus Leeming <leeming@lyx.org>
2261 Fix crash caused by dereferencing null pointer 'exportdata' in
2262 OutputParams by creating a new ExportData variable on the heap,
2263 storing it in a boost::shared_ptr.
2264 The crash was triggered when generating an Instant Preview
2265 of an external inset.
2267 * Makefile.am: add outputparams.C
2269 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2270 (c-tor): allocate memory to it.
2272 * exporter.C (c-tor): associated changes.
2274 2004-06-01 Angus Leeming <leeming@lyx.org>
2276 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2277 contains data before calling isInset(0). (Bug 1513.)
2279 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2281 * exporter.C (checkOverwrite): new method
2282 * exporter.C (copyFile): new method
2283 * exporter.C (Export): copy referenced files to the document dir
2284 * exporter.[Ch]: new class ExportedFile
2285 * exporter.[Ch]: new class ExportData. Contains currently the
2286 names of referenced external files
2287 * outputparams.h: add exportdata member.
2289 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2291 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2294 2004-05-19 Angus Leeming <leeming@lyx.org>
2299 * lyxfunc.C: small changes due to the introduction of namespace
2300 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2302 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2304 * text3.C (dispatch): supress update when only moving the cursor
2305 * cursor.C (selHandle): remove commented code
2307 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2309 * paragraph.C (startTeXParParams): correct column count
2310 * CutAndPaste.C (pasteSelection): remove const_cast
2311 * output_docbook.C (docbookParagraphs): remove const_cast
2312 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2313 const_cast and return ParagraphList::const_iterator
2314 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2315 * output_plaintext.C (writeFileAscii): remove const_cast
2316 * paragraph.[Ch] (simpleTeXOnePar): make const
2317 * paragraph_funcs.C (outerPar): use const iterators
2318 * paragraph_pimpl.C (validate): use const iterators
2319 * text.C (setHeightOfRow): use const iterators
2321 2004-05-17 Angus Leeming <leeming@lyx.org>
2324 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2326 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2327 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2328 if the citation engine has changed.
2330 2004-05-14 José Matos <jamatos@lyx.org>
2332 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2333 if the textclass does not provide it. Have it different for sgml and
2335 support the language of document.
2336 * output_docbook.C (docbookParagraphs):
2337 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2338 first anchor as the id of the paragraph, remove special case code.
2339 * sgml.C (escapeChar): escape only < & >.
2341 2004-05-14 Angus Leeming <leeming@lyx.org>
2343 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2344 dependencies on src/frontends/controllers/biblio.h. Define a
2345 CiteEngine_enum wrapper class to enable the enum to be forward
2348 2004-05-12 Angus Leeming <leeming@lyx.org>
2350 * buffer.C: up LYX_FORMAT to 234.
2351 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2352 use_numerical_citations with a single biblio::CiteEngine cite_engine
2354 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2356 2004-05-13 José Matos <jamatos@lyx.org>
2359 * converter.C (Converter, readFlags): add xml member.
2360 * outputparams.h: add XML flavor.
2361 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2363 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2365 * lyxfunc.C (dispatch):
2366 (getStatus): fix handling of LFUN_SEQUENCE
2368 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2370 * debug.C (showLevel): do not forget the end-of-line marker
2372 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2374 * kbmap.C (read): do not stop parsing a bind file when an error
2377 2004-04-29 Angus Leeming <leeming@lyx.org>
2382 * text2.C: wrap a bunch of #warning statements
2383 inside #ifdef WITH_WARNINGS blocks.
2385 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2387 * buffer.C: increment format to 233.
2389 2004-04-28 Angus Leeming <leeming@lyx.org>
2391 * BufferView_pimpl.C:
2394 s/updateToolbar()/updateToolbars()/
2395 s/Toolbar.h/Toolbars.h/
2397 2004-04-28 Angus Leeming <leeming@lyx.org>
2399 * BufferView.[Ch] (c-tor):
2400 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2401 No longer passes these data to the WorkArea generator.
2403 2004-04-28 Angus Leeming <leeming@lyx.org>
2405 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2407 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2409 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2411 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2413 * output_latex.C (TeXEnvironment): make sure that there is a line
2414 break before \end{foo} for the last paragraph of a document
2415 (TeXOnePar): if the paragraph is at the end of the document (or
2416 inset) and the language has to be reset, then make sure that the
2417 line break is _before_ the language command, not after (fixes bug
2418 1225); also make sure that the language reset command is the first
2419 thing after the paragraph (to ensure proper nesting of
2420 environments and thus fix bug 1404)
2422 2004-04-21 John Levon <levon@movementarian.org>
2425 * ToolbarBackend.C: make "name" be a programmatic name
2426 and a gui_name field.
2428 * lyxfunc.C: display the minibuffer on M-x
2430 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2432 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2435 2004-04-19 Angus Leeming <leeming@lyx.org>
2437 * BufferView_pimpl.C (setBuffer): changed preview interface.
2439 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2442 2004-04-19 John Levon <levon@movementarian.org>
2444 * BufferView_pimpl.C:
2445 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2447 2004-04-05 Angus Leeming <leeming@lyx.org>
2449 * text.C (redoParagraphs): add call to updateCounters(), thereby
2450 fixing the missing "Figure #:" label from the caption of a
2453 2004-04-13 Angus Leeming <leeming@lyx.org>
2455 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2456 cursor is clicked out of an inset.
2458 2004-04-13 Angus Leeming <leeming@lyx.org>
2460 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2461 than an InsetOld one.
2463 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2465 * format.[Ch]: add editor to Format
2466 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2467 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2469 2004-04-08 André Pönitz <poenitz@gmx.net>
2471 * metricsinfo.h: remove PainterInfo::width member
2473 2004-04-08 Angus Leeming <leeming@lyx.org>
2475 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2476 "\providecommand" rather than "\newcommand", thereby preventing
2477 clashes with packages that define "\boldsymbol" themselves.
2480 2004-04-08 Angus Leeming <leeming@lyx.org>
2482 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2483 thereby squashing an unnecessary warning.
2485 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2487 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2490 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2492 * BufferView.C (setCursor): call redoParagraph (some insets could
2494 (putSelectionAt): remove the 'double update' trick
2496 * BufferView_pimpl.C (fitCursor): call refreshPar
2497 (workAreaDispatch): remove an uneeded update call
2498 (dispatch): remove some manual update calls
2500 * cursor.[Ch]: remove cached_y_, updatePos
2501 (selHandle): set noUpdate when appropriate
2503 * lyxfunc.C (dispatch): track if we need an update
2505 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2507 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2508 (paintSelection): cheap optimization, do not call cursorX when not
2510 (paintPars): change signature
2513 (paintTextInset): adjust
2517 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2519 * lengthcommon.C: compilation fix: remove explicit array size from
2520 unit_name[] and friends
2522 2004-04-05 Angus Leeming <leeming@lyx.org>
2524 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2526 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2527 present only for the preferences dialog.
2528 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2530 2004-04-05 Angus Leeming <leeming@lyx.org>
2532 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2533 to enable the frontends to export changes to lyxrc correctly.
2535 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2537 2004-04-07 André Pönitz <poenitz@gmx.net>
2539 * cursor.[Ch] (selClear, adjust): remove math
2541 * cursor_slice.C: more agressive assert
2544 * BufferView_pimpl.C: rework mouse event dispatch
2551 2004-04-05 André Pönitz <poenitz@gmx.net>
2553 * cursor.[Ch] (valign, halign...): remove unneeded functions
2555 2004-04-05 Angus Leeming <leeming@lyx.org>
2557 * lyxlength.[Ch] (unit_name et al.): const-correct.
2559 2004-04-05 Angus Leeming <leeming@lyx.org>
2561 * BufferView_pimpl.C:
2570 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2572 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2574 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2576 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2578 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2579 * BufferView_pimpl.[Ch] (getStatus)
2580 * BufferView.[Ch] (getStatus): add
2581 * lyxfunc.C (getStatus): move lfuns handled in
2582 BufferView::dispatch to te function above
2583 * Cursor.C (setSelection): set selection() = true
2585 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2587 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2589 2004-03-31 Angus Leeming <leeming@lyx.org>
2591 * lyxfunc.C (dispatch): Fall through to the generic
2592 Dialogs::show("preamble").
2594 2004-03-31 Angus Leeming <leeming@lyx.org>
2596 * lyxfunc.C (dispatch): Fall through to the generic
2597 Dialogs::show("spellchecker").
2599 2004-03-31 Angus Leeming <leeming@lyx.org>
2601 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2604 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2609 * insetiterator.[Ch]:
2614 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2616 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2618 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2619 insets where we are putting the cursor.
2621 2004-03-31 Angus Leeming <leeming@lyx.org>
2624 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2626 * lyxrc.[Ch] (read, write): overloaded member functions taking
2627 a std::[io]stream arguments.
2629 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2631 2004-03-31 Angus Leeming <leeming@lyx.org>
2633 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2634 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2636 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2637 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2639 2004-03-31 Angus Leeming <leeming@lyx.org>
2641 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2642 the LFUN_ALL_INSETS_TOGGLE code.
2644 2004-03-30 Angus Leeming <leeming@lyx.org>
2646 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2647 has died. Fall through to the generic Dialogs::show("document").
2649 2004-03-30 Angus Leeming <leeming@lyx.org>
2652 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2653 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2655 * lyxfunc.C (getStatus, dispatch): define the actions for these
2656 lfuns. Little more than a cut and pste job from ControlDocument.C
2658 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2660 2004-03-30 Angus Leeming <leeming@lyx.org>
2663 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2664 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2666 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2667 open/closed state of ollapsable insets. Usage:
2669 all-inset-toggle <state> <name>, where
2670 <state> == "open" || "closed" || "toggle" and
2671 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2673 * lyxtext.h, text2.C (toggleInset): removed.
2675 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2676 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2677 now passes LFUN_INSET_TOGGLE to the found inset.
2679 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2680 is now invoked as "all-insets-toggle toggle branch".
2682 2004-03-30 Angus Leeming <leeming@lyx.org>
2686 * pariterator.[Ch]: added/corrected header blurb.
2688 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2690 * dociterator.[Ch]: add an inset_ member
2691 (backwardPos): implemented
2692 (backwardPos, forwardPos): use inset_ when the stack is empty.
2693 (doc_iterator_begin, doc_iterator_end): implemented
2694 * pariterator.[Ch]: adjust, add begin, end
2695 * insetiterator.[Ch]: adjust, add begin, end
2699 * BufferView_pimpl.C:
2700 * CutAndPaste.C: adjust
2702 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2704 * buffer.C: increment file format to 232.
2705 * LaTeXFeatures.C: add bibtopic package.
2706 * bufferparams.[Ch]: param \use_bibtopic.
2708 * lyxrc.[Ch]: add lyxrc bibtex_command
2709 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2711 * buffer.C: increment file format to 231.
2713 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2715 * dociterator.C: implement forwardPar
2716 * iterators.[Ch]: remove, replaced by
2717 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2719 * BufferView_pimpl.C:
2722 * bufferview_funcs.C:
2728 * Makefile.am: adjust
2730 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2732 * CutAndPaste.C (pasteSelection): fix 2 crashes
2733 (eraseSelection): fix a crash
2734 * paragraph_funcs.C: remove a warning
2736 2004-03-28 Angus Leeming <leeming@lyx.org>
2739 * LyXAction.C (init): new LFUN_PRINT.
2741 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2743 2004-03-27 Angus Leeming <leeming@lyx.org>
2746 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2748 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2750 2004-03-27 Angus Leeming <leeming@lyx.org>
2752 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2753 insetlist always contains non-null pointers to insets.
2755 2004-03-26 Angus Leeming <leeming@lyx.org>
2757 * src/BufferView_pimpl.C:
2758 * src/CutAndPaste.C:
2761 * src/output_plaintext.C:
2762 * src/outputparams.h:
2763 * src/paragraph_funcs.C:
2767 * src/frontends/controllers/ControlErrorList.C:
2768 * src/frontends/gtk/FileDialogPrivate.C:
2769 * src/frontends/gtk/GPainter.C:
2770 * src/frontends/gtk/GToolbar.C:
2771 * src/frontends/qt2/QRef.C:
2772 * src/mathed/math_scriptinset.C: squash compiler warnings.
2774 2004-03-26 Angus Leeming <leeming@lyx.org>
2776 * ispell.C (LaunchIspell::start):
2777 * lyx_cb.C (AutoSaveBuffer::start):
2778 invoke run(DontWait) rather than runNonBlocking().
2780 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2782 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2784 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2786 * kbsequence.C (print): adjust
2788 * kbmap.C (printKeySym): rename and change signature
2789 (printKey): use LyXKeySym::print()
2791 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2793 * undo.C: add using std::advance to compile for stlport
2795 2004-03-24 Angus Leeming <leeming@lyx.org>
2797 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2798 it leads to a crash when no buffer is present.
2800 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2801 Martin Vermeer <martin.vermeer@hut.fi>
2803 * lyxfunc.C (dispatch):
2804 * bufferparams.C (readToken): use the new LColor::setColor
2806 * LColor.[Ch] (setColor): new version that takes two strings as
2807 argument and creates a new color entry if necessary
2809 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2811 * buffer.C (makeLaTeXFile): if the main latex file that is
2812 processed is usually a subdocument of some master, then pretend
2813 for a while that it is actually the master
2815 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2817 * buffer.C (getLabelList):
2818 (getBibkeyList): use getMasterBuffer()
2819 (getMasterBuffer): new method. Returns the main document in the
2820 case where one is using included documents.
2822 2004-03-25 André Pönitz <poenitz@gmx.net>
2826 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2828 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2830 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2831 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2833 * ParameterStruct.h: merge with ParagraphParameters
2835 * lyxtext.h: remove LyXText::parOffset() and getPar()
2837 * text3.C: Remove all 'manual' update calls. We do now one per user
2838 interaction which is completely sufficient.
2842 * BufferView_pimpl.C:
2843 * FontIterator.[Ch]:
2845 * ParagraphParameters.[Ch]:
2850 * cursor_slice.[Ch]:
2857 * output_docbook.[Ch]:
2858 * output_latex.[Ch]:
2859 * output_linuxdoc.[Ch]:
2860 * output_plaintext.[Ch]:
2862 * paragraph_funcs.[Ch]:
2863 * paragraph_pimpl.[Ch]:
2871 * frontends/controllers/ControlDocument.C:
2872 * frontends/controllers/ControlErrorList.C:
2873 * frontends/controllers/ControlSpellchecker.C:
2876 * insets/insetbase.h:
2877 * insets/insetbibitem.C:
2878 * insets/insetbox.C:
2879 * insets/insetbranch.C:
2880 * insets/insetcaption.C:
2881 * insets/insetcharstyle.C:
2882 * insets/insetcharstyle.h:
2883 * insets/insetcollapsable.C:
2884 * insets/insetcollapsable.h:
2885 * insets/insetert.C:
2886 * insets/insetfloat.C:
2887 * insets/insetfoot.C:
2888 * insets/insetmarginal.C:
2889 * insets/insetnote.C:
2890 * insets/insetoptarg.C:
2891 * insets/insettabular.C:
2892 * insets/insettext.C:
2893 * insets/insettext.h:
2894 * insets/insetwrap.C:
2895 * mathed/math_mboxinset.C:
2896 * mathed/math_nestinset.C:
2897 * mathed/math_scriptinset.C:
2898 * mathed/math_scriptinset.h:
2901 2004-03-24 Angus Leeming <leeming@lyx.org>
2903 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2904 deal with any child processes that have finished but are waiting to
2905 communicate this fact to the rest of LyX.
2907 2004-03-24 Angus Leeming <leeming@lyx.org>
2909 64-bit compile fixes.
2911 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2912 (c-tor): pass lyx::pos_types rather than ints.
2914 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2917 * text.C (Delete): compile fix.
2918 (getPar): ensure that function declaration is the same as that in
2921 2004-03-23 Angus Leeming <leeming@lyx.org>
2923 * ispell.C (LaunchIspell):
2924 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2925 a boost::shred_ptr rather than a std::auto_ptr.
2927 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2929 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2930 handle LFUN_FILE_INSERT_*
2932 * lyxrc.C (setDefaults, getDescription, output, read):
2933 * lyxrc.h: remove ps_command
2935 2004-03-22 Angus Leeming <leeming@lyx.org>
2937 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2938 Ensure that error_handler is processed once only and that all data
2939 is saved before attempting to output any warning messages.
2941 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2943 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2945 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2947 2004-03-19 André Pönitz <poenitz@gmx.net>
2949 * cursor.[Ch] (reset): take main text inset as argument
2951 * BufferView: adjust
2952 * BufferView_pimpl.C: adjust
2954 * paragraph.[Ch]: fix completely broken operator=()
2956 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2958 * LColor.C (getFromLyXName): make sure that the color name is used
2961 2004-03-17 Angus Leeming <leeming@lyx.org>
2964 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2966 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2967 dialog and to kill a forked process.
2969 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2971 * text2.C (setCursorFromCoordinates): fix font problem
2973 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2975 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2976 bogus "rebuild cursor" code
2978 2004-03-11 André Pönitz <poenitz@gmx.net>
2980 * buffer.[Ch]: use InsetText instead of LyXText as container for
2983 * dociterator.[Ch]: drop the BufferView * member which is not needed
2984 anymore after the change to buffer.C
2986 * paragraph_funcs.C:
2990 * BufferView_pimpl.[Ch]:
2992 * cursor_slice.[Ch]: adjust
2994 * text3.C: fix bug in mathDispatch
2996 2004-03-08 André Pönitz <poenitz@gmx.net>
2998 * undo.[Ch]: use 'StableDocumentIterator' as base for
3001 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3004 * bufferparams.[Ch]: add jurabib support and param.
3006 * LaTeX.C: add FIXME/comment.
3008 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3010 * buffer.C: increment file format to 230.
3012 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3014 * cursor.C (dispatch): avoid infinite loops
3016 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3018 * rowpainter.C (paintSelection): fix x coordinates
3020 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3022 * text.C (rowBreakPoint): fix breaking before displayed insets
3024 2004-03-01 André Pönitz <poenitz@gmx.net>
3026 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3028 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3032 * BufferView_pimpl.C:
3040 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3046 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3047 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3049 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3051 * Bidi.[Ch] (computeTables): const correctness
3052 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3053 fill_hfill, fill_label_hfill and x from Row
3054 * lyxtext.h: prepareToPrint returns a RowMetrics
3055 * rowPainter.C: adjust
3056 * text.C (prepareToPrint): use width, not textWidth. adjust
3057 (redoParagraphInternal, cursorX): adjust
3058 * text2.C (getColumnNearX): adjust
3059 (init): put a default value to the top LyXText::width
3061 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3063 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3065 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3067 * lyxtext.h: add FontIterator class
3069 * text.C (FontIterator, operator*, operator->, operator++): add
3070 (rowBreakPoint, setRowWidth): adjust (fixing a
3073 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3075 * BufferView_pimpl.C (workAreaDispatch): allow also
3076 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3078 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3080 * text.C (rowBreakPoint): fix a bug showing with very large insets
3082 2004-02-25 André Pönitz <poenitz@gmx.net>
3085 * cursor.[Ch]: move some mathed specific code to mathed
3087 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3089 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3090 use_tempdir in preferences
3091 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3093 * lyx_main.C: ensure that tempdir is valid
3094 * lyxlex.h: correct typo
3095 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3096 * paragraph.[Ch] (isMultiLingual): make const
3097 * cursor.[Ch] (openable): make const
3099 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3101 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3103 2004-02-20 André Pönitz <poenitz@gmx.net>
3105 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3107 * cursor.[Ch]: prepare for localized getStatus()
3113 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3115 2004-02-20 André Pönitz <poenitz@gmx.net>
3117 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3119 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3121 * text2.C (setCursorFromCoordinates): switch to absolute coords
3123 (cursorDown): adjust
3124 * text3.C (dispatch): adjust
3126 2004-02-16 André Pönitz <poenitz@gmx.net>
3128 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3131 * cursor_slice.[Ch]: remove unneeded acessor function
3133 * lyxtext.h: rename rtl() to isRTL()
3141 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3143 * rowpainter.C (paintSelection): coord fix
3145 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3147 * Spacing.C: compile fix
3149 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3151 * cursor.C (dispatch): restore current_ before returning
3153 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3155 * text2.C (cursorUp, cursorDown): fix coords
3158 2004-02-12 André Pönitz <poenitz@gmx.net>
3163 * text3.C: add LCursor & parameter to most cursor movement functions
3164 remove usage of LyXText::cursorRow() and cursorPar()
3166 * cursor.[Ch]: add textRow() needed members
3169 * BufferView_pimpl.C:
3172 * BufferView_pimpl.C: adjust
3174 2004-02-11 André Pönitz <poenitz@gmx.net>
3178 * BufferView_pimpl.C: shift undo/redo handling
3180 * cursor.[Ch]: fix mathed crash
3183 * lyxtext.h: move selectionAsText to LCursor
3191 * rowpainter.C: fix excessive drawing
3193 2004-02-06 André Pönitz <poenitz@gmx.net>
3196 * BufferView_pimpl.[Ch]:
3197 * text3.C: move some text specific LFUN handling
3199 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3201 * text3.C (checkInsetHit): adjust coords
3202 * text2.C (getColumnNearX): adjust coords
3203 (edit): adjust coords
3204 * text.C (getRowNearY): add two asserts
3206 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3209 * format.C: add using std::distance to compile on gcc 2.95/stlport
3211 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3213 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3215 2004-02-04 André Pönitz <poenitz@gmx.net>
3217 * BufferView.[Ch] (insertInset):
3218 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3223 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3225 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3226 on the default clause of the switch
3227 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3228 wasn't catched by LCursor::dispatch
3230 2004-02-03 André Pönitz <poenitz@gmx.net>
3233 * cursor.[Ch]: some additional asserts
3235 * undo.[Ch]: remove LyXText dependency in interface
3239 * lyxtext.h (firstPar, lastPar): remove dead functions
3244 * paragraph.[Ch]: adjust
3246 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3248 * lyxfind.C (find): fix argument order in call to ::find
3250 2004-02-02 André Pönitz <poenitz@gmx.net>
3252 * cursor.[Ch]: remove direct access to anchor
3254 * text.C: remove findText() hack
3256 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3258 * iterators.[Ch] (lockPath): remove in favour of...
3259 * BufferView.[Ch] (setCursor): this addition
3260 * BufferView.C (putSelectionAt): adjust
3261 * undo.C (performUndoOrRedo): adjust
3262 * lyxfunc.C (dispatch): adjust
3264 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3266 * iterators.C (lockPath): add a missing slice
3267 * undo.C (performUndoOrRedo): remove redundant positioning code
3269 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3271 * vc-backend.C (scanMaster): ";" -> ';'
3273 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3275 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3276 std::binary_function
3278 * lyxtextclass.C (compare_name): rename to...
3279 (LayoutNamesEqual): ...this
3281 * lyxlex_pimpl.C (compare_tags): inherit from
3282 std::binary_function, put back into anon namespace
3284 * lyxfind.C (MatchString): inherig from std::binary_function
3285 (findChange): use empty() istead of !size()
3287 * format.C (FormatNamesEqual): new functor
3294 * converter.C (compare_Converter): rename to...
3295 (ConverterEqual): ...this, and fixup a bit.
3296 (getConverter): use it, and make function const
3297 (getNumber): use it, and make function const
3301 * bufferlist.C: add using boost::bind
3303 * MenuBackend.C (MenuNamesEqual): new functor
3304 (hasMenu): use it, and make function const
3305 (hasSubmenu): use nested bind to get rid of compare_memfun.
3307 2004-01-30 André Pönitz <poenitz@gmx.net>
3309 * BufferView_pimpl.C:
3312 * cursor_slice.[Ch]:
3315 * paragraph_funcs.C:
3316 * paragraph_funcs.h:
3320 * text3.C: move some of the edit(x,y) handling to the insets
3321 some coordinate changes.
3323 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3325 * text.C: add using statements for std::advance and std::distance
3327 * paragraph.C: add using statement for std::distance
3329 * lyxfind.C: add using statement for std::advance
3331 * cursor.C (region): remove std:: from swap
3332 (openable): use nucleus in stead of operator->
3334 * BufferView.C: add using statements for std::distance and std::swap
3336 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3338 * iterators.C: Remove the pimple, move the needed structures to
3339 the header file. Create accessor for the positions stack.
3340 (asPosIterator): remove function
3342 * PosIterator.C (PosIterator): move constructors to top of file
3343 (PosIterator): reimplement the constructor taking a ParIterator in
3345 (setFrom): new function
3346 (operator!=): inline it
3348 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3350 * lyxfind.C (replaceAll): use std::advance
3352 * iterators.h: inherit from std::iterator.
3354 * PosIterator.C (advance, distance): remove
3355 * PosIterator.h: interit from std::iterator.
3357 2004-01-26 André Pönitz <poenitz@gmx.net>
3360 * BufferView_pimpl.[Ch]:
3364 * bufferview_funcs.C:
3374 * output_linuxdoc.C:
3375 * output_plaintext.C:
3377 * paragraph_funcs.[Ch]:
3378 * paragraph_pimpl.[Ch]:
3384 * text3.C: more IU: dumps most of the rest of the mathcursor
3385 implementation into cursor.[Ch]; "globalize" a bit of it.
3387 2004-01-25 Angus Leeming <leeming@lyx.org>
3389 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3391 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3393 * LaTeXFeatures.h: add nice_ and nice() const
3394 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3396 2004-01-20 André Pönitz <poenitz@gmx.net>
3399 * BufferView_pimpl.C:
3401 * bufferview_funcs.C:
3403 * cursor_slice.[Ch]:
3414 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3415 LCursor and mathcursor parts to LCursor and InsetBase.
3417 2004-01-15 André Pönitz <poenitz@gmx.net>
3419 * cursor_slice.[Ch]: add a few covienience functions
3421 * funcrequest.[Ch]: remove BufferView * member
3423 * BufferView_pimpl.C:
3430 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3432 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3434 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3435 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3437 2004-01-13 André Pönitz <poenitz@gmx.net>
3440 * lyxtext.h: hide cursor and selection anchor behind accessor function
3443 * BufferView_pimpl.[Ch]:
3445 * bufferview_funcs.C:
3455 * cursor_slice.[Ch]: some integer type changes for inset unification
3457 * lyxcursor.[hC]: remove, it's CursorSlice now.
3460 * BufferView_pimpl.[Ch]:
3461 * bufferview_funcs.C:
3467 * textcursor.[Ch]: adjust
3469 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3471 * text2.C (undoSpan): add and use
3472 * text.C (breakParagraph): use undoSpan (fix bug 578)
3475 2004-01-08 Angus Leeming <leeming@lyx.org>
3477 * BufferView_pimpl.C (MenuInsertLyXFile):
3478 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3479 * lyxfunc.C (menuNew, open, doImport):
3480 FileFilterList change to the FileDialog open and save functions.
3482 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3484 * ShareContainer.h: make isEqual and isUnique adaptable
3486 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3488 2004-01-07 Angus Leeming <leeming@lyx.org>
3491 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3493 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3495 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3496 functions replacing find, replace and replaceAll.
3498 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3499 LFUN_WORDFIND(FORWARD|BACKWARD).
3501 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3503 * text.C (breakParagraph): remove an outdated #warning
3505 2004-01-07 André Pönitz <poenitz@gmx.net>
3507 * lyxfind.C: somewhat clearer logic
3509 * text.C: prevent crash in cursorX on unitialized row cache
3511 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3513 * lyxcursor.[Ch] (operator>): add
3514 * textcursor.C (selStart, selEnd): use std::min and std::max
3516 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3518 * Chktex.C: include boost/format.hpp
3520 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3522 * InsetList.C: replace functor MathcIt with adaptable functor
3524 (insetIterator): modify accordingly
3526 * BranchList.h: move the BranchNamesEqual functor here from...
3527 * BranchList.C: ... to here
3529 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3531 (add): replace a finding loop with std::find_if.
3533 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3535 * output_docbook.C: moving LatexParam functionality into
3538 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3540 * buffer.C: increment format to 229.
3542 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3545 * lyx_sty.[Ch]: remove minipageindent_def
3551 * text3.C: remove LFUN_INSET_MINIPAGE
3553 2003-12-28 Angus Leeming <leeming@lyx.org>
3555 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3557 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3559 * text2.C (setParagraph): fix off-by-one crash
3561 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3563 * output_docbook.C: header stuff for AGU
3565 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3567 * text2.C (redoCursor): remove
3570 * BufferView_pimpl.C: remove calls to redoCursor and
3571 setCursor(cursor.par(), cursor.pos()) all around
3573 2003-12-15 Angus Leeming <leeming@lyx.org>
3575 * buffer.C: up the format to 228.
3577 2003-12-15 André Pönitz <poenitz@gmx.net>
3579 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3584 * BufferView_pimpl.C:
3593 2003-12-15 Angus Leeming <leeming@lyx.org>
3595 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3596 than getFromGUIName to manipulate the color.
3598 2003-12-14 Angus Leeming <leeming@lyx.org>
3600 * BranchList.[Ch]: minimize the API.
3601 (Branch::getBranch, getColor): now return a 'const &'.
3602 (Branch::setSelected) now returns a bool set to true if the
3603 selection status changes.
3604 (BranchList::clear, size, getColor, setColor, setSelected,
3605 allBranches, allSelected, separator): removed.
3606 (BranchList::find): new functions, returning the Branch with
3608 (BranchList::add, remove): return a bool indicating that
3609 the operation was successful.
3611 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3612 new InsetBranch::isBranchSlected member function.
3614 * LColor.[Ch]: mimimize the API.
3615 (fill): renamed as addColor and made private.
3616 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3617 versions of these functions taking a string arg have been removed.
3619 * bufferparams.C (readToken):
3620 * lyxfunc.C (dispatch):
3621 * lyxrc.C (read): changes due to the altered BranchList and
3624 * factory.C (createInset, readInset): changes due to altered
3627 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3630 * lyxfunc.C: remove insetminipage. "minipage-insert"
3631 now produces a frameless minipage box inset.
3633 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3635 * textcursor.[Ch] (selStart,selEnd): add new methods
3636 remove selection::start, end, use LyXCursor::operator<
3637 * lyxcursor.[Ch] (operator<): add
3638 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3639 * BufferView.[Ch] (unsetXSel): add
3640 * text2.C (clearSelection): use unsetXSel,adjust
3643 * rowpainter.C: adjust
3644 * bufferview_funcs.C (put_selection_at): adjust
3646 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3648 * BufferView_pimpl.C: small coord. correction
3650 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3652 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3653 dragging over the splash screen.
3655 2003-12-11 Angus Leeming <leeming@lyx.org>
3657 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3658 as it is now handled in LyXText::dispatch.
3660 * text3.C (doInsertInset): remove a level of nesting.
3662 2003-12-11 Angus Leeming <leeming@lyx.org>
3664 * factory.C (createInset): changes due to the changed interface to
3665 InsetCommandMailer::string2params.
3667 2003-12-10 Angus Leeming <leeming@lyx.org>
3669 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3670 'dialog-show-new-inset <inset name>'
3672 2003-12-10 Angus Leeming <leeming@lyx.org>
3674 * buffer.C: up the format to 227.
3676 * factory.C: the box inset is now identified simply by 'Box'.
3678 2003-12-10 Angus Leeming <leeming@lyx.org>
3680 * buffer.C: up the format to 226.
3682 * factory.C: the note inset is now identified simply by 'Note'.
3684 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3686 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3687 when a pit is enough. Standarize a couple of loops.
3689 2003-12-05 Angus Leeming <leeming@lyx.org>
3691 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3692 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3693 data to the re-worked "log" dialog.
3695 2003-12-03 André Pönitz <poenitz@gmx.net>
3701 * paragraph_funcs.C:
3703 * text2.C: use Inset::getText instead of Inset::getParagraph
3705 2003-12-03 André Pönitz <poenitz@gmx.net>
3709 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3710 InsetText::read() as LyXText::read()
3712 2003-12-02 Angus Leeming <leeming@lyx.org>
3714 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3715 type. Add a comment in the implementation that the function uses
3716 the stream's bad() function rather than fail() as the std::streams
3719 2003-12-02 André Pönitz <poenitz@gmx.net>
3721 * lyxlex.[Ch]: make interface more similar to std::stream
3723 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3725 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3727 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3729 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3731 * vspace.[Ch]: remove VSpace::NONE
3733 2003-12-01 André Pönitz <poenitz@gmx.net>
3736 * lyxtext.h: move ParagraphList member to LyXText
3737 rename LyXText::ownerParagraphs to LyXText::paragraph
3740 * bufferview_funcs.C:
3750 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3752 * undo.C: fix cursor positioning
3754 2003-12-01 John Levon <levon@movementarian.org>
3756 * BufferView_pimpl.C: fix a crash on exit with
3759 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3761 * BranchList.C: fix setSelected() method.
3763 2003-11-28 André Pönitz <poenitz@gmx.net>
3765 * ParagraphParameters.[Ch]:
3766 * ParameterStruct.h: remove space above/below from Paragraph to
3769 * BufferView_pimpl.C:
3775 * paragraph_funcs.C:
3781 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3783 * factory.C: Syntax change for CharStyles
3785 2003-11-28 André Pönitz <poenitz@gmx.net>
3790 * buffer.[Ch]: move LyXText member
3792 2003-11-28 André Pönitz <poenitz@gmx.net>
3794 * BufferView.[Ch]: make LyXText * text a private member
3796 * BufferView_pimpl.C:
3807 * output_plaintext.C: cleanup
3809 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3812 * lyxtextclass.[Ch]: parametrize SGML document header
3814 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3817 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3820 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3822 * text2.C (setFont): rework using PosIterator (no more recursive)
3823 (setCharFont): no more needed
3824 (setLayout): no more selection cursors fiddling (done by redoCursor)
3825 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3826 destroy remaining ones)
3828 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3830 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3832 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3835 * text3.C: adjust + re-allow multi par depth changes
3836 * textcursor.C: simplify a bit
3838 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3844 * src/output_docbook.C:
3845 * src/output_latex.C:
3850 * src/text2.C: Introducing a number of tags parametrizing various
3851 XML formats that we may want to support
3853 2003-11-25 André Pönitz <poenitz@gmx.net>
3855 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3857 * lyxtext.h (leftMargin/rightMargin): simplify interface
3864 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3866 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3867 master file to any child files. Fixes bug 546.
3869 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3871 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3873 2003-11-24 André Pönitz <poenitz@gmx.net>
3875 * rowpainter.C: simplification
3877 * text2.C (updateCounters): remove call to redoParagraph on
3878 changed labels as this is far too expensive.
3880 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3882 * converter.C (convert): fix a crash: this function gets
3883 called with buffer == 0 from importer code.
3885 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3887 * text3.C (cursorPrevious): make sure that we do not compare
3888 iterators form different containers.
3891 * rowpainter.C (paintSelection): make sure that we do not compare
3892 iterators from different containers.
3894 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3895 iterators from different ParagraphList containers.
3898 * text2.C (LyXText): change order of initialization slightly
3899 (operator=): new function. copy all variables except cache_par_
3900 (moveUp): make sure that we do not compare iterators from
3901 different ParagraphList constainers.
3904 * text.C (firstPar): new function
3905 (lastPar): new function
3906 (endPar): new function
3908 * lyxtext.h: move things around and group public functions, public
3909 variables, private functions, private variables
3911 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3913 * factory.C: change call to InsetERT constructor to avoid
3914 additional invocation of method status
3915 * text2.C (toggleInset): remove redundant update() call
3916 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3917 instead of a Bufferview pointer
3919 2003-11-21 André Pönitz <poenitz@gmx.net>
3921 * rowpainter.C: simplification
3923 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3925 * text3.C (dispatch): make possible to extend a word/row selection
3928 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3930 * lyxtext.h: x0_,y0_ -> xo_,yo_
3931 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3932 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3933 * rowpainter.C (paintRows): paint full paragraphs
3935 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3937 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3940 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3942 * lyxtext.h: add x0_, y0_
3943 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3944 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3946 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3948 * text2.C (setCursorIntern): move the x_target update here *
3949 * text3.C: change some bv() to true/false in calls to
3950 cursorUp/Down/Right/Left
3951 * cursor.C: use helper function.
3953 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3955 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3956 * paragraph_funcs.[Ch]: correct comment
3957 * rowpainter.C: do not paint selections away from bv->cursor()
3958 Fix a long standing selection painting bug.
3959 * text3.C: generalize mouse-selection code to LyXTexts other that
3961 * textcursor.C: do not use y coords if we can use par offsets
3963 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3965 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3966 cursor position after e.g. inset insert)
3968 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3970 * lyxfind.C (replace): adjust to locking removal + some
3973 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3975 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3978 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3981 * output_docbook.C: XML sanitation: new layout
3982 parameters InnerTag and CommandDepth
3984 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3986 * BufferView_pimpl.C:
3988 * text3.C: Fix the insertion and modification of button-style
3991 2003-11-13 André Pönitz <poenitz@gmx.net>
3993 * InsetList.[Ch]: remove deleteLyXText
3995 * paragraph.[Ch]: cache beginOfBody position
4000 * text3.C: remove superfluous update() calls
4004 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4006 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4007 * BufferView.C (fitLockedInsetCursor): remove
4008 * cursor.[Ch] (getDim): add
4009 * text.C (getRowNearY): add faster version
4010 * text3.C: remove some update calls
4012 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4024 * text3.C: The Character Style /XML short element patch.
4026 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4029 * factory.C: Small step to solving 'unable to insert some insets'
4032 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4034 * cursor.[Ch] (updatePos): new function for updating the y
4035 position of the tip inset
4036 * bufferview_funcs.C (put_selection_at):
4037 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4039 2003-11-11 André Pönitz <poenitz@gmx.net>
4041 * text.C: remove big comment on invalid Paragraph pointers as it is
4044 2003-11-11 André Pönitz <poenitz@gmx.net>
4046 * text_funcs.[Ch]: merge with ...
4054 * Makefile.am: remove text_funcs.[Ch]
4056 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4058 * cursor.C (getPos): return absolute cached y coord
4060 * BufferView_pimpl.C (fitCursor): new simplistic code
4061 (workAreaDispatch): add a fitCursor call
4063 2003-11-10 André Pönitz <poenitz@gmx.net>
4066 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4068 2003-11-10 André Pönitz <poenitz@gmx.net>
4070 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4071 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4072 indicate that the cursor needs to leave an inset
4074 * lyxtext.h: remove inset locking
4076 * cursor.[Ch]: re-implement functionality provided by inset locking
4079 * BufferView_pimpl.[Ch]:
4081 * bufferview_funcs.[Ch]:
4093 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4095 * PosIterator.[Ch]: replace the stack with a vector, add inset
4097 * iterators.[C]: adjust
4099 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4101 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4103 * paragraph_funcs.C (readParToken): put the correct id in the
4104 error item, not the id of the top paragraph
4106 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4108 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4109 * bufferview_funcs.C (put_selection_at): use the above
4111 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4113 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4115 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4117 * output_linuxdoc.h:
4118 * output_plaintext.h:
4120 * output_docbook.h: add #include statements
4122 2003-11-05 José Matos <jamatos@lyx.org>
4124 * output_docbook.[Ch]:
4125 * output_latex.[Ch]:
4126 * output_linuxdoc.[Ch]:
4127 * output_plaintext.[Ch]: New files for output formats.
4128 * output.[Ch]: New file for helper functions.
4131 * paragraph_funcs.[Ch]: output functions moved to new files.
4133 * outputparams.h: rename of latexrunparams.h
4141 * paragraph_funcs.[Ch]:
4142 * paragraph_pimpl.[Ch]:
4143 * tabular.[Ch]: rename ascii to plaintext
4144 and LatexRunParams to OutputParams.
4146 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4148 * iterators.[Ch] (text): require bv argument
4149 * undo.C (recordUndo):
4150 * lyxfunc.C (dispatch):
4151 * bufferview_funcs.C (put_selection_at): adjust
4153 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4155 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4157 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4159 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4162 2003-11-04 André Pönitz <poenitz@gmx.net>
4164 * cursor.[Ch]: restructure
4167 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4169 * iterators.[Ch] (asCursor): remove
4171 * lfuns.h: remove LFUN_INSET_EDIT
4177 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4179 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4181 * lyxfind.[Ch]: complete overhaul
4182 * BufferView_pimpl.C:
4184 * paragraph.[Ch] (insert): add
4186 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4190 * text.C: remove dead spellcheck code
4192 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * dispatchresult.h: add a val setter
4196 * cursor.C (dispatch): use a tempvar for data_[i]
4198 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4200 * PosIterator.[Ch]: compile fix
4202 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4204 * text.C (cursorPar): deactivate the cursor cache
4206 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4208 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4210 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * text3.C (dispatch): adjust for new DisptchResult semantics.
4214 * lyxfunc.C (dispatch): handle update when return from
4215 Cursor::dispatch, adjust for new DispatchResult semantics.
4217 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4218 DispatchResult(true) mean to not update. Add class functions for
4219 setting dispatched and update, as well as reading.
4221 * cursor.C (dispatch): don't handle update here
4223 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4225 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4226 * trans_mgr.C: adjust
4228 * paragraph_funcs.C (readParToken): exception safety
4230 * lyxvc.h: store the vcs pointer in a scoped_ptr
4233 * lyxsocket.C (serverCallback): exception safety
4235 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4237 * ispell.C (clone): make it return a auto_ptr
4239 * factory.C (createInset): exception safety
4240 (readInset): exception safety
4242 * bufferlist.C (newBuffer): exception safety
4244 * Thesaurus.C (Thesaurus): use initialization for aik_
4246 * MenuBackend.C (expandToc): exception safety.
4248 2003-11-03 André Pönitz <poenitz@gmx.net>
4252 * bufferview_funcs.C: remove getInsetFromId()
4255 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4261 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4263 * PosIterator.C (distance, advance): new
4264 * bufferview_funcs.[Ch] (put_selection_at): new
4265 * iterators.[Ch] (lockPath): new
4267 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4269 * iterators.[Ch] (asPosIterator): added
4270 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4271 * PosIterator.[Ch]: added
4273 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * cursor.C (dispatch):
4278 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4280 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4281 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4282 contructor, add a class function dispatched. Remove operator>=
4284 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4286 * debug.C: only use the default constructor for debugstream
4289 * main.C (main): include debug.h and setup the lyxerr streambuf
4292 2003-10-31 José Matos <jamatos@lyx.org>
4294 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4296 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4297 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4298 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4299 * paragraph_pimpl.C (simpleTeXSpecialC):
4300 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4301 add LatexRunParams argument.
4303 * exporter.C (Export): change call accordingly.
4305 * latexrunparams.h: add new member to take care of the other backends.
4306 2003-10-30 José Matos <jamatos@lyx.org>
4308 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4309 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4310 factorise code for paragraph output.
4312 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4315 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4317 * text3.C (dispatch):
4318 * lyxfunc.C (dispatch):
4319 * cursor.C (dispatch):
4320 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4322 * dispatchresult.h: make the dispatch_result_t ctor explicit
4324 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4327 * buffer.C: small refactoring of docbook stuff
4329 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4334 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4337 operator dispatch_result_t, and operators for == != and >=
4339 * cursor.C (dispatch): adjust for operator dispatch_result_t
4340 removal. comment out call to update
4342 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4344 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4355 * dispatchresult.h: new file, DispatchResult broken out of
4358 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4360 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4362 * text.C (rowBreakPoint): put a hack inside #if 0
4364 2003-10-28 André Pönitz <poenitz@gmx.net>
4368 * paragraph_funcs.C:
4371 * text2.C: general cleanup (lots of small stuff)
4373 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4375 * text2.C (cursorEnd): simple fix to the "end key goes to one
4376 before the end on last row" bug
4378 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4380 * text.C (backspace): fix the "zombie characters"
4382 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4384 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4386 2003-10-27 André Pönitz <poenitz@gmx.net>
4388 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4390 * factory.C: handle new InsetPagebreak, InsetLine
4392 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4393 and move handling into new InsetPagebreak, InsetLine
4395 * BufferView_pimpl.C:
4397 * ParagraphParameters.C:
4398 * ParameterStruct.h:
4403 * paragraph_funcs.C:
4404 * paragraph_pimpl.C:
4410 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4413 * lyxrow_funcs.[Ch]:
4419 * text3.C: remove lastPos uses in favour of Row::endpos
4421 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4423 * undo.C (performUndoOrRedo): fix two crashes by setting a
4424 cursor by hand and reordering some calls. Use bv->lockInset instead
4425 of inset->edit because the latter loses cursor information
4427 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4429 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4431 (rowBreakPoint): fix width. change point to point + 1.
4432 Add a missing check.
4434 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4437 * lyxfunc.C: fix (at least partly) the problems
4438 with the Nav menu and headers inside branch insets
4441 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4443 * paragraph.C (getChar): add strong asserts
4445 * lyxrow_funcs.C (lastPos): remove hideous hack
4447 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4448 (fill): adjust to that (avoid an infinite loop)
4450 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4452 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4454 2003-10-23 André Pönitz <poenitz@gmx.net>
4456 * RowList_fwd.h: change list<> to vector<> to gain speed
4457 after suggestion from Alfredo
4459 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4461 * lyxtext.h: move the bidi stuff from here...
4464 * Bidi.[Ch]: ... to here
4466 2003-10-23 André Pönitz <poenitz@gmx.net>
4469 * text.C (isLastRow, isFirstRow): new functions
4471 * paragraph.h: new width cache member
4473 * rowpainter.C: replace RowList::iterator with Row & where possible
4475 * lyxfunc.C: replace several view()->text with a single call
4477 * toc.C: fix 'unused' warning
4479 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4482 when woring with stream::pos_type
4483 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4485 2003-10-22 André Pönitz <poenitz@gmx.net>
4488 * text.C: use Row & instead of RowList::iterator
4490 * lyxrow.h: rename end() to endpos()
4496 2003-10-22 Angus Leeming <leeming@lyx.org>
4498 * buffer.[Ch] (fully_loaded): new member function, returning true
4499 only when the file has been loaded fully.
4500 Used to prevent the premature generation of previews and by the
4501 citation inset to prevent computation of the natbib-style label.
4503 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4504 templates are all set up.
4506 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4508 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4510 * text.C: fixed an "oops" in the "is a bit silly"
4513 2003-10-21 André Pönitz <poenitz@gmx.net>
4515 * FuncStatus.[Ch]: small stuff, whitespace
4517 * lyxfont.[Ch]: operator<<() for debug reasons
4521 * lyxtext.h: whitespace, spelling
4523 * paragraph.C: naming of variables
4526 * text2.C: small stuff
4529 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4531 * text.C: (1) finish off the inset display() work;
4532 (2) fix the "is a bit silly" bug (accessing char
4535 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4537 * text.C: re-introduce display() for insets, fixing the
4538 various bugs (stretch of line above, math inset
4541 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4543 * text.C (rightMargin): remove spurious semicolon
4545 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4548 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4550 * text3.C: fix one crash due to wrong cursor def
4552 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4554 * vc-backend.C (scanMaster): make the regex static
4556 * LaTeX.C (scanAuxFile): make the regexs static
4558 * text3.C (doInsertInset, dispatch, dispatch):
4559 * text2.C (cursorUp, cursorDown):
4560 * text.C (selectNextWordToSpellcheck):
4561 * BufferView_pimpl.C (dispatch):
4562 * lyxfunc.C (dispatch): localDispatch -> dispatch
4564 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4566 * lyxsocket.C: include <cerrno>
4568 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * lyxfunc.C (dispatch): remove textcache stuff
4572 * bufferlist.C (release): remove textcache stuff
4575 * TextCache.C: delete file
4576 * TextCache.h: delete file
4578 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4580 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4581 delete of the bv_->text.
4582 (resizeCurrentBuffer): remove texcache stuff
4583 (workAreaResize): ditto
4585 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4587 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4590 2003-10-16 André Pönitz <poenitz@gmx.net>
4597 * text3.C: speed up by storing y positions per paragraph plus per-row
4598 offset instead of having a 'full' y position in the row.
4600 2003-10-15 André Pönitz <poenitz@gmx.net>
4604 * undo.[Ch]: make undo aware of inner insets
4606 2003-10-14 Angus Leeming <leeming@lyx.org>
4608 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4609 static member functions LyX::ref() and LyX::cref.
4610 (lastfiles): new accessor functions for the new lastfiles_ member var.
4611 (addLyXView, views_): add a new LyXView to the list of views_.
4612 (updateInset): loop over all LyXViews to call their own updateInset
4613 member function, returning a pointer to the Buffer owning the inset.
4615 * BufferView_pimpl.C (loadLyXFile):
4616 * MenuBackend.C (expandLastfiles):
4617 * bufferlist.C (MenuWrite, QuitLyX):
4618 lastfiles is no longer a global variable.
4619 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4621 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4622 static function. Access through LyX::cref().emergencyCleanup().
4624 2003-10-14 André Pönitz <poenitz@gmx.net>
4626 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4628 * undo.[Ch]: restoring part of 'undo in insets'
4631 * undo_funcs.[Ch]: merge with undo.[Ch]
4633 * tabular.C: small cleansing stuff
4635 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4637 * paragraph_funcs.C (readParToken): report unknown insets as error
4638 boxes. Use the outer paragraph as location (also for unknown
4641 * factory.C (readInset): do not abort on reading an unknown inset.
4642 Eat it and return 0.
4644 2003-10-13 Angus Leeming <leeming@lyx.org>
4646 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4648 * lyxrc.C: displayTranslator is now a function,
4649 declared in GraphicsTypes.h.
4651 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4653 * format.C: new placeholder $$a to pass the socket address.
4655 * bufferlist.[Ch]: new function getBufferFromTmp.
4657 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4658 files in the temporary dir.
4660 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4662 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4664 * Makefile.am: add lyxsocket.[Ch].
4666 * lyx_main.C (error_handler): handle SIGPIPE.
4668 2003-10-13 André Pönitz <poenitz@gmx.net>
4670 * BufferView_pimpl.C:
4675 * undo_funcs.[Ch]: use paroffset_type instead of
4676 ParagraphList::iterators to prevent multiple conversion
4677 (and get a more robust interface)
4679 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4683 * text3.C (dispatch): ditto
4685 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4687 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4688 move the onlyfile, use onlyfile instead of foundfile in a couple
4691 * DepTable.C (update): flush the error stream a bit more
4693 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * lyxserver.C (callback): adjust
4697 * lyxfunc.C (getStatus): add a missing brace in commented code
4698 (ensureBufferClean): reindent
4699 (dispatch): delete version taking a string
4701 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * LaTeX.C (deplog): move found file handlig from here...
4704 (handleFoundFile): .. to new function here.
4705 (deplog): make sure to discover several files mentioned on the
4708 2003-10-10 André Pönitz <poenitz@gmx.net>
4715 * text3.C: fix some of the tabular crashes
4717 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4719 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4721 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4723 2003-10-09 André Pönitz <poenitz@gmx.net>
4725 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4728 * BufferView_pimpl.C:
4729 * bufferview_funcs.C:
4740 * undo_funcs.C: adjust
4742 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4744 * text2.C (incrementItemDepth): new function, use a backtracking
4745 algorithm to discover the correct item depth.
4746 (resetEnumCounterIfNeeded): new function, use a backtracking
4747 algorithm to discover if counter reset is needed.
4748 (setCounter): use them. Simplify a bit. Add different labels for
4749 different item depths for itemize.
4751 * paragraph.C (Paragraph): remove initialization of enumdepth
4754 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4755 enumerate and itemize. Change the type of itemdepth to signed char.
4757 2003-10-08 André Pönitz <poenitz@gmx.net>
4759 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4764 * tabular.[Ch]: fix crash after 'row-insert'
4766 2003-10-08 Angus Leeming <leeming@lyx.org>
4768 Fix doxygen warnings.
4770 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4771 Remove CutAndPaste:: prefix from header file declaration.
4773 * LColor.h (fill): remove LColor:: prefix from declaration.
4775 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4776 use lyx::depth_type rather than Paragraph::depth_type so that
4777 header file and .C file match.
4779 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4781 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4782 * aspell.C: \file aspell_local.C -> \file aspell.C
4783 * gettext.C: \file gettext.C -> \file src/gettext.C
4784 * gettext.h: \file gettext.h -> \file src/gettext.h
4785 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4786 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4787 * text.C: \file text.C -> \file src/text.C
4789 * toc.C: move comment so that doxygen is not confused.
4791 2003-10-07 Angus Leeming <leeming@lyx.org>
4793 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4795 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4798 * aspell_local.h: add forgotten std::string's.
4800 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4807 * text3.C: The Box patch. Fancybox support, minipage, parbox
4809 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4815 * ParagraphParameters.h:
4825 * lyxtextclasslist.h:
4828 * paragraph_pimpl.C:
4829 * textcursor.h: add <string> and other small fixes to make Lars'
4830 std::string patch compile with STLport.
4832 2003-10-06 Angus Leeming <leeming@lyx.org>
4834 * LColor.h: Add missing #include <string>.
4836 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4838 * All most all file in all subdirs: Make <string> be the prefered
4839 way of getting to std::string, add using declarations.
4841 2003-10-06 André Pönitz <poenitz@gmx.net>
4843 * metricsinfo.C: initialize LyXFont before changing attribute.
4844 (fixes the 'math in \emph is upright' bug)
4846 2003-10-06 André Pönitz <poenitz@gmx.net>
4848 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4850 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4853 * paragraph_pimpl.C: Small fixes to build using STLport
4855 2003-10-02 André Pönitz <poenitz@gmx.net>
4858 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4860 2003-10-01 André Pönitz <poenitz@gmx.net>
4862 * factory.C: assert early
4864 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4866 * lyx_main.C: remove the global debug object
4868 * debug.h: adjust for new debugstream
4870 * debug.C: adjust for new debugstream and keep the global debug
4873 2003-09-22 Angus Leeming <leeming@lyx.org>
4875 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4876 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4877 an incomplete class LyXFont.
4879 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4881 * factory.C: bug fix in branches
4883 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * lyxfunc.C (processKeySym): adjust
4887 (dispatch): change arg name from ev to func, adjust
4888 (sendDispatchMessage): ditto
4890 * lyx_main.C (defaultKeyBindings): adjust keybindings
4891 (deadKeyBindings): ditto
4893 * kbsequence.C (addkey): return a FuncRequest
4895 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4897 * kbmap.C (bind): take a FuncRequest as arg, adjust
4900 (defkey): change to take a FuncRequest as arg, adjust
4901 (findbinding): take a FuncRequest as arg, adjust.
4903 * funcrequest.h (operator=): added
4905 * funcrequest.C (FuncRequest): default kb_action changed from
4906 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4908 * buffer.C (dispatch): simplify
4909 (dispatch): adjust to take a FuncRequest as arg, adjust
4911 * boost.C (assertion_failed): change assertion message slightly
4913 * ToolbarBackend.C (read): simplify
4915 * MenuBackend.C (binding): adjust call to findbinding, add a
4916 message if no binding is found.
4918 (expandToc): correct by adding a empty FuncRequest
4920 * LyXAction.C: include <boost/assert.hpp>
4921 (isPseudoAction): delete function
4922 (LookupFunc): change name to...
4923 (lookupFunc): this. change return type to FuncRequest.
4924 (getActionName): take kb_action as arg, simplify
4925 (funcHasFlag): add an assert, simplify.
4927 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4929 * toc.C (action): return a FuncRequest, simplify
4931 * lyxfunc.C (processKeySym): adjust
4932 (getStatus): delete version that takes an int.
4934 (dispatch): delete version that takes action as int
4936 (sendDispatchMessage): simplify and adjust
4938 * funcrequest.C (getArg): take unsigned int as arg
4940 * ToolbarBackend.C (read): adjust
4941 (add): delete version that takes func as a string.
4942 (getIton): take a FuncRequest as arg
4944 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4947 * MenuBackend.C (MenuItem): add a new construct that only takes a
4948 Kind, simplify the constructor use for submenus.
4950 (expandLastfiles): adjust
4951 (expandDocuments): adjust
4952 (expandFormats): adjust
4953 (expandFloatListInsert): adjust
4954 (expandFloatInsert): adjust
4955 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4957 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4958 Remove class variables lyx_pseudo_map and lyx_arg_map
4960 * LyXAction.C (searchActionArg): delete function
4961 (getPseudoAction): delete function
4962 (retrieveActionArg): delete function
4963 (LookupFunc): make it return kb_action, simplify.
4964 (getActionName): simplify
4966 * factory.C (createInset): fix new bug
4968 2003-09-19 Angus Leeming <leeming@lyx.org>
4970 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4971 masterFilename_ parameter in the include inset.
4973 * factory.C (createInset): changes due to the changes to InsetInclude.
4975 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4977 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4979 2003-09-18 Angus Leeming <leeming@lyx.org>
4982 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4983 Inset::fillWithBibKeys.
4984 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4986 2003-09-18 Angus Leeming <leeming@lyx.org>
4988 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4990 (ctor): pass and store a 'Buffer const &'
4991 (buffer): new member function.
4993 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4994 '*this' to the LaTeXFeatures ctor.
4996 2003-09-18 Angus Leeming <leeming@lyx.org>
5002 * text.C: rename EnumLColor as LColor_color.
5004 2003-09-18 Angus Leeming <leeming@lyx.org>
5006 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5007 remove #include "insets/insetbase.h" from cursor.h.
5009 2003-09-18 Angus Leeming <leeming@lyx.org>
5011 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5012 InsetOld_code to remove #include "inset.h".
5014 * iterators.C: add #include "insets/inset.h"
5016 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5018 * BufferView.C: remove more locking stuff that apparently doesn't
5019 do anything sensible.
5021 2003-09-16 André Pönitz <poenitz@gmx.net>
5024 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5027 2003-09-16 Angus Leeming <leeming@lyx.org>
5029 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5031 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5034 * paragraph.h: remove #include "lyxfont.h". Forward declare
5037 2003-09-16 Angus Leeming <leeming@lyx.org>
5039 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5040 of support/textutils.h.
5041 (isWord): move the contents of support/textutils.h's IsWordChar here.
5047 * text2.C: add #include "paragraph.h".
5050 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5052 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * LaTeX.C: use namespace alias for lyx::support::os
5060 2003-09-16 Angus Leeming <leeming@lyx.org>
5063 * bufferview_funcs.C:
5066 * paragraph_pimpl.C:
5068 * text.C: add #include "LColor.h".
5070 2003-09-16 Angus Leeming <leeming@lyx.org>
5072 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5073 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5075 Store the FontBits::color variable as an int rather than as an
5076 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5079 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5080 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5081 string calls together.
5083 * lyxrc.C: add #include "LColor.h".
5085 2003-09-15 Angus Leeming <leeming@lyx.org>
5087 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5090 2003-09-15 Angus Leeming <leeming@lyx.org>
5092 * LColor.h: add an EnumLColor wrapper for LColor::color.
5094 * lyxfont.[Ch] (color, setColor, realColor):
5095 * lyxtext.h, text.C (backgroundColor):
5096 pass EnumLColor args to/from the functions, rather than LColor::color
5100 * lyxtext.h: forward declare EnumLColor.
5102 * lyx_main.C: add #include "LColor.h".
5104 2003-09-15 Angus Leeming <leeming@lyx.org>
5106 * .cvsignore: add lyx-gtk.
5108 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5113 * ParagraphParameters.C
5117 * bufferview_funcs.C
5127 * vc-backend.C: remove usage of STRCONV
5129 2003-09-15 Angus Leeming <leeming@lyx.org>
5131 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5132 explicitly define the color passed to the painter.
5134 2003-09-15 Angus Leeming <leeming@lyx.org>
5136 * bufferparams.C (BufferParams): reorder member initializers to avoid
5139 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5141 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5142 * text.C (updateRowPositions): remove an unusual nop
5144 2003-09-12 André Pönitz <poenitz@gmx.net>
5146 * BufferView_pimpl.C:
5155 * Counters.[Ch]: finish the 'automatic counters' job
5157 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5159 * aspell.C: include <boost/assert.cpp> (compile fix)
5161 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5163 * boost.C (assertion_failed): use lyx::support::abort instead of
5166 2003-09-10 Angus Leeming <leeming@lyx.org>
5168 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5169 with their _fwd progeny.
5171 2003-09-09 Angus Leeming <leeming@lyx.org>
5173 134 files throughtout the source tree: replace 'using namespace abc;'
5174 directives with the appropriate 'using abc::xyz;' declarations.
5176 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5178 * boost.C (emergencyCleanup): moved here from LAssert.c
5179 (assertion_failed): new function, called by BOOST_ASSERT
5181 * several files: change Assert to BOOST_ASSERT
5183 2003-09-09 Angus Leeming <leeming@lyx.org>
5185 * buffer.[Ch]: Add an Impl class and move Buffer's member
5186 variables into it. As a result move several header files out of
5189 Add header files to lots of .C files all over the tree as a result.
5191 2003-09-09 Angus Leeming <leeming@lyx.org>
5193 * buffer.[Ch]: make Buffer's member variables private. Add
5196 Lots of changes all over the tree as a result.
5198 2003-09-08 Angus Leeming <leeming@lyx.org>
5200 * graph.C: #include <config.h>.
5202 2003-09-08 Angus Leeming <leeming@lyx.org>
5206 * BufferView_pimpl.C:
5235 * toc.C: remove redundant using directives.
5237 2003-09-07 Angus Leeming <leeming@lyx.org>
5239 * LaTeXFeatures.h: remove #include "support/types.h".
5240 * ToolbarBackend.h: remove #include <algorithm>.
5241 * changes.h: remove #include <ctime>.
5242 * debug.h: remove #include <iosfwd>.
5243 * graph.h: remove #include "support/std_string.h".
5244 * lyx_main.h: remove #include <csignal>.
5245 * lyxlex_pimpl.h: remove #include <fstream>.
5246 * sgml.h: remove #include <algorithm>, <utility>.
5247 * toc.h: remove #include "support/std_ostream.h".
5248 Add #include <iosfwd>.
5250 2003-09-07 Angus Leeming <leeming@lyx.org>
5252 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5254 * converter.h: forward declare LatexRunParams.
5255 * encoding.h: remove #include "lyxrc.h".
5256 * lyxtext.h: remove #include "LColor.h".
5257 * lyxtextclass.h: remove #include "support/types.h".
5258 * trans.h: remove #include "tex-accent.h".
5259 * trans_mgr.h: remove #include "tex-accent.h".
5260 * insets/inset.h: remove #include "support/types.h", <vector>.
5261 * insets/insetcollapsable.h: remove #include "LColor.h".
5262 * insets/insetinclude.h: remove #include "dimension.h".
5263 * insets/insetlatexaccent.h: remove #include "dimension.h".
5264 * insets/insetoptarg.h:: remove #include "insettext.h".
5265 * insets/insettext.h: remove #include "dimension.h",
5266 <boost/shared_ptr.hpp>
5268 * insets/renderers.h: add #include "dimension.h".
5269 * insets/updatableinset.h: add #include "support/types.h".
5271 * many .C files: Associated changes.
5273 2003-09-06 Angus Leeming <leeming@lyx.org>
5275 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5276 one, inside testInvariant.
5278 * PrinterParams.C: new file.
5279 * PrinterParams.[Ch]: move the function bodies out of line.
5281 2003-09-06 Angus Leeming <leeming@lyx.org>
5283 * ParagraphParameters.h: forward declare ParameterStruct rather than
5284 including its header file.
5285 (depth): moved out-of-line.
5287 2003-09-06 Angus Leeming <leeming@lyx.org>
5289 * BufferView_pimpl.h:
5292 * lyxfunc.h: forward declare LyXKeySym rather than
5293 #include "frontends/LyXKeySym.h".
5295 * BufferView_pimpl.C:
5298 * lyxfunc.C: associated changes.
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>
5307 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5308 As a result, can remove the #include "insets/inset.h" from BufferView.h
5310 2003-09-06 Angus Leeming <leeming@lyx.org>
5316 * bufferview_funcs.C:
5317 * BufferView_pimpl.C:
5322 * ParagraphParameters.C:
5327 * frontends/controllers/ControlDocument.C:
5328 * insets/insetcaption.C: rearrange the #includes into some sort of
5331 * buffer.h: remove #includes ErrorList.h, undo.h
5333 2003-09-06 Angus Leeming <leeming@lyx.org>
5335 * support/types.h: add a 'depth_type' typedef, used to store the
5336 nesting depth of a paragraph.
5339 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5340 defining explicitly.
5343 * paragraph_funcs.h:
5344 * ParagraphParameters.h:
5345 * sgml.h: use lyx::depth_type rather than Paragraph or
5346 ParameterStruct's depth_type.
5349 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5352 * BufferView_pimpl.C:
5354 * ParagraphParameters.C:
5357 * bufferview_funcs.C:
5364 * frontends/LyXView.C:
5365 * frontends/controllers/ControlDocument.C:
5366 * frontends/controllers/ControlErrorList.C:
5367 * insets/insetbibitem.C:
5368 * insets/insetbranch.C:
5369 * insets/insetcaption.C:
5370 * insets/insetcollapsable.C:
5371 * insets/insetenv.C:
5372 * insets/insetert.C:
5373 * insets/insetfloat.C:
5374 * insets/insetfoot.C:
5375 * insets/insetfootlike.C:
5376 * insets/insetnewline.C:
5377 * insets/insetquotes.C:
5378 * insets/insettabular.C:
5379 * insets/insettext.C:
5380 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5382 * frontends/controllers/ControlChanges.C: #include "changes.h".
5384 2003-09-06 Angus Leeming <leeming@lyx.org>
5386 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5387 than #including paragraph.h.
5390 * RowList.h: deleted. Superfluous.
5400 * insets/insettext.h: use ParagraphList_fwd.h rather than
5403 * paragraph.h: don't forward declare ParagraphList.
5406 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5407 rather than ParagraphList.h. paragraph.h is still needed for the
5408 Paragraph::depth_type parameters.
5410 * textcursor.h: enable it to compile stand-alone in light of the
5413 * bufferview_funcs.C:
5425 * frontends/controllers/ControlParagraph.C:
5426 * frontends/controllers/ControlTabular.C:
5427 * insets/insetmarginal.C:
5428 * insets/insetminipage.C:
5429 * insets/insetnote.C:
5430 * insets/insetoptarg.C: add header files needed to compile again.
5432 2003-09-06 Angus Leeming <leeming@lyx.org>
5434 * RowList_fwd.h: new file, forward-declaring Row rather than
5435 #including lyxrow.h.
5440 * insets/insettext.h: use it instead of RowList.h
5442 * bufferview_funcs.C:
5449 * text3.C: #include "RowList.h".
5451 2003-09-05 Angus Leeming <leeming@lyx.org>
5453 * factory.C (createInset):
5454 * vspace.C (c-tor): replace sscanf call with an istringstream.
5455 * ispell.C: re-add missing HP/UX headers.
5456 * lyxserver.C: re-add missing os2 headers.
5458 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5467 * text3.C: re-add missing system headers, needed for 2.95.2.
5469 2003-09-05 Angus Leeming <leeming@lyx.org>
5471 Changes most place everywhere due to the removal of using directives
5472 from support/std_sstream.h.
5474 2003-09-05 Angus Leeming <leeming@lyx.org>
5476 Replace LString.h with support/std_string.h,
5477 Lsstream.h with support/std_sstream.h,
5478 support/LIstream.h with support/std_istream.h,
5479 support/LOstream.h with support/std_ostream.h.
5481 Changes resulting throughout the tree.
5483 2003-09-05 Angus Leeming <leeming@lyx.org>
5485 * sgml.h: ensure that the header file can be compiled stand-alone.
5486 * *.C: strip out redundant #includes. (320 in total.)
5488 2003-09-04 Angus Leeming <leeming@lyx.org>
5490 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5491 here (from getPackages).
5493 * debug.[Ch]: add a new EXTERNAL tag.
5495 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5497 * text2.C (cursorEnd): simplify
5499 (getColumnNearX): adjust
5501 * text.C (computeBidiTables): adjust
5504 * rowpainter.C (paintChars): adjust
5505 (paintSelection): adjust
5506 (paintChangeBar): adjust
5509 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5511 (numberOfSeparators): adjust
5513 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5519 * text3.C: Restricts the mouse click functionality
5520 of insets like bibtex, include, toc and floatlist to the visible
5521 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5522 up the dialogs. Cursor has to be in front of the inset (i.e.
5523 start of row) for this to function.
5525 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5527 * bufferview_funcs.C (currentState): output row information
5529 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5531 * bufferview_funcs.C (currentState): output paragraph position
5533 2003-09-04 Angus Leeming <leeming@lyx.org>
5535 * FloatList.h: move out #include "Floating.h".
5536 * LaTeX.h: move out #include "DepTable.h".
5537 * LyXAction.h: move out #include "funcrequest.h".
5538 * buffer.h: move out #include "author.h", "iterators.h".
5539 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5540 * lyx_main.h: move out #include "errorlist.h".
5541 * lyxfunc.h: move out #include "FuncStatus.h".
5542 * lyxtext: move out #include "lyxcursor.h".
5543 * paragraph_pimpl.h: move out #include "counters.h".
5545 2003-09-03 Angus Leeming <leeming@lyx.org>
5547 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5548 preamble_snippets list, enabling us to add snippets to the preamble
5549 only if the snippet was not there already.
5551 2003-09-04 Angus Leeming <leeming@lyx.org>
5553 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5555 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5557 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5560 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5562 * BranchList.C: point fix, earlier forgotten
5564 2003-09-02 Angus Leeming <leeming@lyx.org>
5566 * box.C (contains): renamed from 'contained' after a fantastic
5569 2003-09-02 John Levon <levon@movementarian.org>
5575 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5577 2003-09-02 John Levon <levon@movementarian.org>
5579 * text2.C: simplification of cursorEnd(), including partial
5582 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5584 * buffer.C (readFile): add a space
5586 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5588 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5590 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * buffer.C (readFile): new function, take a filename and a
5593 ParagraphList::iterator
5595 (readFile): adjust, make it private. don't use setStream, make
5596 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5597 always contain the filename.
5599 * BufferView.C (insertLyXFile): simplify and make it work for
5602 2003-08-30 John Levon <levon@movementarian.org>
5604 * Makefile.am: fix dist (from Kayvan)
5606 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * most files: change to use const Buffer refs
5610 2003-08-27 André Pönitz <poenitz@gmx.net>
5612 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5613 on top of ownerPar().
5615 2003-08-27 John Levon <levon@movementarian.org>
5617 * funcrequest.C: properly initialise POD members
5619 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5621 * lyxtext.h (top_y): move top_y from here
5626 * BufferView_pimpl.[Ch]: to here
5627 * frontends/screen.C:
5628 * insets/insettabular.C:
5629 * insets/insettext.C: adjust
5630 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5632 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5635 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5637 2003-08-26 André Pönitz <poenitz@gmx.net>
5639 * paragraph_func.[Ch] (outerPar): new function
5642 * paragraph_funcs.C:
5643 * paragraph_funcs.h:
5644 * paragraph_pimpl.C:
5645 * text2.C: remove Inset::par_owner
5647 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5652 * text2.C: eliminates the needFullRow/display() stuff
5653 altogether, putting the logic in metrics/draw in the insets.
5655 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5657 * text2.C (redoParagraphInternal, redoParagraphs):
5658 * text.C (redoParagraph): add a call to updateRowPositions at the
5659 end of each 'metrics-like' call. Remove all others.
5660 (getRow): remove the 'y-computing' version.
5661 (getRowNearY): do not compute nor return the real y. Solve the
5662 'y < 0' problem and simplify.
5664 2003-08-22 Angus Leeming <leeming@lyx.org>
5666 * *.[Ch]: clean-up of licence and author blurbs.
5667 Also move config.h out of a few .h files and into a few .C files.
5669 2003-08-22 André Pönitz <poenitz@gmx.net>
5671 * lyxrow.[Ch]: add x_ and *fill_ members
5676 * text2.C: adjust/remove prepareToPrint() calls
5678 2003-08-22 André Pönitz <poenitz@gmx.net>
5680 * lyxrow.[Ch]: add end_ member
5682 * lyxrow_funcs.C: use LyXRow::end_
5684 * lyxtext.h (singleWidth): add LyXFont parameter
5687 * text2.C: adjust LyXText::singleWidth() calls
5689 * text.C (redoParagraph): simplify row breaking logic
5692 2003-08-19 André Pönitz <poenitz@gmx.net>
5694 * funcrequest.C: initialize button_ member
5697 * rowpainter.[Ch]: interface consolidation
5699 2003-08-18 André Pönitz <poenitz@gmx.net>
5702 * BufferView_pimpl.C:
5704 * paragraph_funcs.C:
5706 * text3.C: remove LyXScreen::draw() and fitCursor calls
5708 * BranchList.h: remove spurious semicolons
5710 * MenuBackend.C: fix branchlist related crash
5712 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5720 * bufferparams.[Ch]:
5724 * text3.C: implements the 'branch inset'
5725 idea. This allows the output of various versions of a document
5726 from a single source version, selectively outputing or suppressing
5727 output of parts of the text.
5728 This implementation contains a 'branch list editor' in a separate
5729 tab of the document settings dialog. Branches are user definable
5730 and have a "display colour" to distinguish them on-screen.
5732 ColorHandler was somewhat cleaned up.
5733 (1) make possible a dynamically growing LColor list by allowing
5734 the graphic context cache to grow along (vector);
5735 (2) eliminate an IMHO unnecessary step in colour allocation.
5737 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5739 * BufferView_pimpl.C: compile fix
5741 2003-08-15 André Pönitz <poenitz@gmx.net>
5743 * rowpainter.C: remove extra metrics calls
5745 * lyxtext.h: merge the two constructors into a single one,
5746 pass reference to owner's par list
5748 * BufferView_pimpl.C:
5752 2003-08-15 André Pönitz <poenitz@gmx.net>
5754 * lyxrow_funcs.[Ch]:
5757 * paragraph_funcs.C:
5762 * text_funcs.C: split LyXText::rowlist_ into individual
5763 Paragraph::rows_ chunks
5766 * BufferView_pimpl.[Ch]:
5769 * text3.C: remove toggleSelection()
5771 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5773 * bufferlist.C: beautify two alerts (shorter text of buttons)
5774 * buffer.C: Remove redundant ' ' from message
5776 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5777 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5778 rename VALIGN_CENTER to VALIGN_MIDDLE
5780 2003-08-11 André Pönitz <poenitz@gmx.net>
5782 * lyxtext.h (getPar):
5783 * text.C: new function
5785 2003-08-11 André Pönitz <poenitz@gmx.net>
5788 * tracer.[Ch]: remove unneeded files
5790 * InsetList.[Ch]: remove resizeInsetsLyXText()
5795 * text3.C: merge insertParagraphs() and appendParagraph()
5796 remove breakAgain(), update()
5798 * BufferView_pimpl.[Ch]:
5799 * bufferview_funcs.[Ch]:
5803 * tabular.C: adjust after text & InsetList changes.
5805 2003-08-08 André Pönitz <poenitz@gmx.net>
5807 * text.C (insertChar, backspace): replace rowlist fiddling
5808 with rebreak of full par
5811 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5812 checkParagraph, updateInset): removed
5814 2003-08-07 André Pönitz <poenitz@gmx.net>
5817 * text3.C: merge some LFUN handlers, remove dead code
5819 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5821 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5823 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5825 * text2.C (DEPM): fix part of bug 1255 and 1256
5827 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5829 * BufferView_pimpl.C (workAreaDispatch): change to use
5830 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5831 that are no mouse related.
5833 2003-08-05 André Pönitz <poenitz@gmx.net>
5836 * BufferView_pimpl.[Ch]:
5837 * bufferview_funcs.C:
5839 * text3.C: rip out "deep update"
5841 * textcursor.[Ch] (last_sel_cursor): remove unused member
5843 2003-08-04 André Pönitz <poenitz@gmx.net>
5846 * BufferView_pimpl.[Ch]:
5847 * ParagraphParameters.C:
5848 * bufferview_funcs.C:
5854 * text3.C: replace "complicated" BufferView::update(...) calls with
5857 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5859 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5861 * Makefile.am (lyx_SOURCES): add paper.h
5863 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5865 * Makefile.am: move things around so that both lyx-qt and
5866 lyx-xforms can be built (according to --with-frontend). Then lyx
5867 is a symbolic link to lyx-[firstfrontend]
5869 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5871 * Always use std::endl with lyxerr
5873 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5875 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5877 2003-08-01 André Pönitz <poenitz@gmx.net>
5880 * BufferView_pimpl.[Ch]:
5882 * text3.C: merge BufferView::repaint() and BufferView::update()
5884 2003-08-01 José Matos <jamatos@lyx.org>
5886 * buffer.[Ch]: file_format is no longer a buffer data element.
5888 2003-08-01 André Pönitz <poenitz@gmx.net>
5893 * text2.C: make redoParagraph more independent of current cursor
5895 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5897 * text2.C: remove unneeded members
5899 2003-07-30 André Pönitz <poenitz@gmx.net>
5901 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5903 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5904 create a single function...
5906 * paragraph_funcs.C (moveItem): ... here.
5909 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5911 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5913 * LColor.[Ch]: Add comment and greyedout logical colors.
5915 2003-07-30 André Pönitz <poenitz@gmx.net>
5917 * tabular.C: don't use Assert too heavily. This crashes where it
5920 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5922 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5923 is disabled (bug 1232)
5925 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5927 * factory.C: limited 'arg' scope
5929 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5931 * factory.C: fixed Note submenu issues
5933 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5935 * factory.C: submenu for Note/Comment/Greyedout
5937 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5940 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5942 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5945 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5946 greyedout. Patch provided by Jürgen Spitzmüller.
5948 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5950 * kbmap.C (read): fix error message when reading bind files
5952 2003-07-29 Angus Leeming <leeming@lyx.org>
5954 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5955 certainly does not do what it purports to do. I am doing it, and
5956 us, a favour by killing it.
5958 2003-07-28 José Matos <jamatos@lyx.org>
5960 * buffer.C (readBody, do_writeFile):
5961 * paragraph.C(readParagraph): \end_document replaces \the_end.
5963 2003-07-29 André Pönitz <poenitz@gmx.net>
5966 * BufferView_pimpl.[Ch]:
5970 * textcursor.[Ch]: remove toggleToggle & Co
5972 2003-07-28 José Matos <jamatos@fep.up.pt>
5974 * buffer.C (readParagraph):
5975 * params_func (readParToken, readParagraph):
5976 * paragraph.C (write): \layout -> \begin_layout.
5978 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5980 * lyxlex_pimpl.C (setFile): clean up slightly.
5982 * bufferparams.h: add compressed var
5984 * buffer_funcs.C (readFile): adjust for LyXLex change
5985 (newFile): ditto + simplify
5987 * buffer.C (writeFile): handle writing of compressed files
5989 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5990 Check if the file is compressed and set a bufferparm if so.
5992 * Makefile.am (lyx_LDADD): remove explicit -lz
5994 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5996 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5997 makeDocBookFile): put the real LyX version in the first line of
6001 * version.C.in: remove lyx_docversion
6003 * tabular.C (write_attribute): add a template-based version to
6004 write enums properly
6006 2003-07-28 André Pönitz <poenitz@gmx.net>
6011 * text3.C: use doubles again for x-coordinates. They are needed.
6013 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6015 * messages.C (getLocaleDir): use lyx_localedir()
6017 * lyxlex_pimpl.C (setFile): compress stuff
6019 * buffer.C (writeFile): add some compression stuff
6020 (do_writeFile): new func, dont call expliti close... will this
6023 * Makefile.am (lyx_LDADD): add -lz
6025 2003-07-28 José Matos <jamatos@fep.up.pt>
6027 * buffer.C: increment file format.
6028 * paragraph_funcs (readParagraph, readParToken):
6029 * paragraph.C (readParagraph): add \end_layout.
6031 2003-07-27 Angus Leeming <leeming@lyx.org>
6033 * Makefile.am: remove special casing for configure-time setting of
6034 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6036 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6037 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6039 2003-07-26 André Pönitz <poenitz@gmx.net>
6041 * paragraph_func.[Ch]:
6042 * paragraph.C (realizeFont): inline it whereever it is used
6047 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6050 2003-07-26 André Pönitz <poenitz@gmx.net>
6054 * text2.C: get rid of LyXText::need_break_row
6056 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6058 * toc.[Ch]: put namespace toc inside namespace lyx
6060 * MenuBackend.C (expandToc2): adjust for lyx::toc
6063 * lyxfunc.C (dispatch): adjust for lyx::find
6065 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6066 lyx::find instead. Reorganize a bit.
6067 (LyXReplace): rename to replace
6068 (LyXFind): rename to find
6070 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6073 2003-07-26 André Pönitz <poenitz@gmx.net>
6075 * text.C (setHeightOfRow): restrict scope of temporary variable
6077 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6078 code (never has been used?)
6080 2003-07-27 Asger Alstrup <alstrup@local>
6082 * text.C (fill): Optimise algorithm to exploit that we can reuse
6083 the LyXFont for many characters.
6084 (setHeightOfRow): Same thing.
6085 (rowBreakPoint): Same thing.
6087 2003-07-26 Asger Alstrup <alstrup@local>
6089 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6091 * text.C (singleWidth): Spurious font copying in hot-spot
6092 singleWidth avoided. Reorder tests for arabic for efficiency.
6094 * text.C (fill): handle empty paragraphs better.
6096 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6099 * encoding.h: add includes
6101 * lyxrc.C: remove reading of bind files
6103 * lyx_main.C (init): setup bindings and menus only if we have a
6106 * kbmap.C (read): new method. Do the actual reading of bind
6109 * converter.C (dvipdfm_options):
6112 (output): adapt PAPER_* enums.
6114 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6116 * bufferparams.h: remove paper-related enums from there
6118 * paper.h: New file. A trivial header file to hold paper-related
6119 enums. It should later expand to contain many paper-related
6122 * lyxrc.C: declare extern displayTranslator
6124 2003-07-27 José Matos <jamatos@fep.up.pt>
6126 * tabular.[Ch] (linuxdoc): add support for tables and figures
6129 2003-07-27 José Matos <jamatos@fep.up.pt>
6131 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6132 consistency in both functions.
6133 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6135 2003-07-26 Asger Alstrup <alstrup@local>
6137 * rowpainter.C (paintRows): Change algorithm to work directly on
6138 the insets rather than asking every character in the document
6139 whether its an inset.
6141 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6143 * buffer.C (openFileWrite): factorize some code
6145 2003-07-26 Angus Leeming <leeming@lyx.org>
6148 * lyx_main.[Ch]: replace occurances of system_tempdir with
6151 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * rename Inset to InsetOld
6155 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6157 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6158 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6159 which I think is a bit clearer. EDIT is gone, since it was
6160 premature optimisation, and broken for mathed anyway.
6161 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6162 with cursor positioning in insets as well (math insets still do not
6163 work, but that's a different story anyway.) It mysteriously
6164 crashes sometimes with undo in the first paragraph, but I'm fairly
6165 confident that this is a compiler bug.
6167 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6169 * paragraph.C (Paragraph): adjust for new clone return type
6171 (copyIntoMinibuffer): ditto
6173 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6175 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6176 by not having a special case, and always doing a full rebreak of
6177 the document after undo.
6179 2003-07-23 Angus Leeming <leeming@lyx.org>
6181 * factory.C (createInset): InsetExternal::setParams now takes a
6184 2003-07-23 Angus Leeming <leeming@lyx.org>
6186 * factory.C (createInset): changed interface to the external and
6187 graphics mailers' string2params functions.
6189 2003-07-23 Angus Leeming <leeming@lyx.org>
6191 * factory.C (createInset): pass a
6192 Buffer const * parameter to InsetExternalMailer's string2params.
6194 2003-07-22 John Levon <levon@movementarian.org>
6196 * Thesaurus.h: include the right aiksaurus header
6198 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6200 * MenuBackend.C (expand): check menu shortcuts unconditionally
6202 2003-07-21 Angus Leeming <leeming@lyx.org>
6204 * factory.C (createInset): pass a
6205 buffer_path parameter to InsetGraphicsMailer's string2params.
6207 2003-07-21 Angus Leeming <leeming@lyx.org>
6209 * BufferView_pimpl.C (buffer):
6212 * lyxfunc.C (dispatch):
6213 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6214 rather than the grfx shortcut.
6216 2003-07-21 André Pönitz <poenitz@gmx.net>
6218 * rowpainter.C: remove unused variables
6221 * tabular_funcs.h: move to tabular.C
6222 * Makefile.am: adjust
6224 * tabular.[Ch]: basic optical cleaning
6226 * author.h: pass references, not values
6228 2003-07-18 André Pönitz <poenitz@gmx.net>
6236 * text3.C: two-phase drawing for InsetText and InsetTabular
6237 some float -> int changes.
6239 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6241 * lyx_main.C: fix the fix
6243 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6245 * lyx_main.C: fix a crash in batch mode if no files specified
6248 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6250 * format.[Ch] (papersize): moved to BufferParams
6251 * converter.[Ch] (dvips_options): moved to BufferParams
6252 (dvipdfm_options): moved to anon namespace
6253 * bufferparams.[Ch]: added above functions.
6255 2003-07-17 André Pönitz <poenitz@gmx.net>
6259 * text2.C: don't call inset->update() anymore
6261 * metricsinfo.[Ch]: add convenience constructor
6263 2003-07-16 André Pönitz <poenitz@gmx.net>
6268 * text2.C: replace the LyXCursor::irow_ member with
6269 on-demand computation of the value
6271 2003-07-16 John Levon <levon@movementarian.org>
6273 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6275 2003-07-15 André Pönitz <poenitz@gmx.net>
6278 * text2.C: remove no more needed refresh_row
6280 2003-07-15 André Pönitz <poenitz@gmx.net>
6285 * text3.C: refresh_status tristate -> need_update bool
6287 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6289 * lyxtext.h (init): remove reinit argument (act as if always true)
6290 * text2.C: adjust to that
6292 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6294 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6295 * text3.C: use it to delete selections in some cases
6296 (bugs 441, 673, 702, 954).
6298 2003-07-14 André Pönitz <poenitz@gmx.net>
6300 * rowpainter.[Ch]: reduce interface
6302 2003-07-14 André Pönitz <poenitz@gmx.net>
6304 * BufferView_pimpl.C:
6305 * text2.C: adjust after removing unused BufferView * argument
6307 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6309 * text2.C (init): fix a crash fired on resize
6311 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6313 * buffer.[Ch]: added new closing signal
6314 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6315 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6316 BufferView::Pimpl via the closing the signal
6318 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6320 * buffer.[Ch]: take out all bv-related from buffer
6322 * BufferView_pimpl.[Ch]: connect to new signals
6323 * CutAndPaste.C: removed useless asserts
6324 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6327 * lyxfunc.C: moved view-related funciontality from vc here
6328 * paragraph.C: removed outdated comments
6331 2003-07-10 André Pönitz <poenitz@gmx.net>
6333 * BufferView_pimpl.C:
6337 * text2.C: remove InsetText::InnerCache, clean up consequences
6339 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6341 * ispell.C: fix two typos in error messages
6343 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6345 * Extend Note inset to other forms of annotation like Comment
6346 and Greyedout. Right button click gives dialog.
6348 Files modified or added (+):
6352 * ControlNote.[Ch] +
6354 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6355 frontends/controllers
6359 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6361 * aspell.C: add missing namespace lyx::support
6363 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6365 * BufferView.[Ch] (newFile): Add
6366 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6367 * LaTeX.[Ch] (message): added this signal and use it
6368 * buffer.[Ch] (busy, message): added these signals and use them
6369 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6373 * importer.C: use buffer signals instead of direct bv calling
6374 * lyx_cb.[Ch] (ShowMessage): removed
6377 * paragraph_funcs.C:
6378 * text2.C: use buffer signals
6380 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6382 * introduce namespace lyx::graphics
6384 2003-07-02 André Pönitz <poenitz@gmx.net>
6386 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6388 2003-07-01 André Pönitz <poenitz@gmx.net>
6395 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6396 text*.C to text_func.C
6398 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6400 * introduce namespace lyx::support
6402 2003-06-30 André Pönitz <poenitz@gmx.net>
6407 * text.C: re-enable --with-included-string
6409 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * textcursor.C: add <config.h>
6413 * text.C (getWord): remove const from word_location arg
6415 * lyxvc.C (getLogFile): fix const type order
6417 * lyxtext.h: remove const from word_location arg, add arg name
6419 * lyxlayout.h: currect type on labeltype.
6421 * importer.C: correct \file
6423 * converter.C (intToFormat): use std:: on ret val, ws changes
6425 * bufferlist.h: correct \file
6427 * buffer.C (makeLinuxDocFile): fix const type order
6428 (makeDocBookFile): ditto
6429 (fillWithBibKeys): use std:: on stdlib args.
6431 * CutAndPaste.C: fix authors.
6432 (availableSelections): use std:: on return vector
6434 2003-06-27 André Pönitz <poenitz@gmx.net>
6436 * BufferView_pimpl.C:
6437 * bufferview_funcs.C:
6445 * text3.C: remove LyXCursor::row_ member
6448 * text.C: rename fullRebreak() to partialRebreak() and implement
6449 a fullRebreak() that really bereks fully
6451 * textcursor.h: new struct for cursor-related data
6453 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6455 * lyx_main.C (LyX): get full path of document loaded on the
6458 2003-06-26 André Pönitz <poenitz@gmx.net>
6460 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6461 remove unused/broken operator>,<,>=.
6463 * text.C: remove only use of broken operator<= in an Assert().
6465 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6467 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6468 moved errorlist_.clear to showErrorList
6470 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6472 * converter.C (scanLog, runLaTeX):
6473 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6474 move the bv->showErrorList call to the callers
6475 * lyxfunc.C: i.e. here...
6477 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6478 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6479 namespace, the second to...
6480 * buffer_funcs (BufferFormat, parseErrors): added
6481 * errorlist.C (ErrorList(TeXErrors const &)): removed
6483 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6485 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6487 2003-06-24 "Garst R. Reese" <reese@isn.net>
6491 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6493 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6495 * version.C.in: change docversion to 1.4
6497 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6499 * buffer.C: fix a bug just introduced
6501 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6503 * buffer.[Ch]: added the parseError signal and use it, removed
6505 * BufferView.[Ch] (addError): moved to ...
6506 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6507 to the Buffer::parseError signal to catch (guess what) parse errors
6508 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6510 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6512 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6513 ability to create a buffer and to return an existing one from
6514 the list. Moved these functions to...
6515 * buffer_funcs.[Ch]: added
6516 * BufferView.[Ch] (loadLyXFile): added
6517 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6518 job removed from bufferlist::loadLyXFile.
6519 * buffer.C (setReadOnly): make it work without view
6520 (i.e added an if (users))
6522 2003-06-19 Angus Leeming <leeming@lyx.org>
6525 * LyXAction.C (init):
6526 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6527 with LFUN_DIALOG_SHOW <name> <data>.
6529 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6531 * CutAndPaste.C (availableSelections): small compilation fix for
6532 ancient (gcc 2.9x) compilers
6534 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * text3.C (cursorNext): add tmp var
6538 * text2.C (updateCounters): for function calling out of for clause
6539 (replaceSelectionWithString): ditto
6540 (insertStringAsParagraphs): ditto
6541 (getColumnNearX): add tmp var
6542 (setCursorFromCoordinates): add tmp var
6543 (cursorDownParagraph): add tmp var
6544 (deleteEmptyParagraphMechanism): add tmp var
6546 * text.C (insertChar): add tmp var
6548 * rowpainter.C (paintDepthBar): add tmp var
6550 * CutAndPaste.C (availableSelections): potentially check all
6551 paragraphs in a cut to fill the shown strings.
6553 2003-06-18 André Pönitz <poenitz@gmx.net>
6555 * kbmap.[Ch]: use vector<> instead of list<>
6557 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6559 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6560 pasteSelection with index
6562 * text2.C (pasteSelection): modify, call pasteSelection with index
6564 * paragraph.C (asString): reimplement version with no interval to
6565 call the one with interval.
6567 * lyxtext.h: add index arg to pasteSelection
6569 * MenuBackend.C (MenuItem): handle PasteRecent
6570 (Menu::read::Menutags): add md_pasterecent
6572 (expandPasteRecent): new function
6575 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6577 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6579 (availableSelections): new function
6581 2003-06-17 Angus Leeming <leeming@lyx.org>
6583 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6585 2003-06-17 Angus Leeming <leeming@lyx.org>
6588 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6590 * lyxfunc.C (dispatch): invoke it.
6592 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6594 * iterators.C (operator++, ParPosition): reintroduce some
6595 const_cast for the benefit of older compilers.
6597 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6599 * text3.C (dispatch): do not modify clipboard when doing
6600 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6601 LFUN_DELETE_SKIP on a selection selection
6603 2003-06-16 André Pönitz <poenitz@gmx.net>
6609 * tabular.[Ch]: IU of clone() and getLabelList();
6611 2003-06-13 André Pönitz <poenitz@gmx.net>
6613 * tabular.h: compactification
6615 2003-06-12 André Pönitz <poenitz@gmx.net>
6619 * tabular_funcs.h: some renaming plus whitespace
6621 2003-06-12 André Pönitz <poenitz@gmx.net>
6624 * BufferView_pimpl.C:
6630 * toc.C: Return a Paragraph & for ParIterator::operator*()
6632 2003-06-11 John Levon <levon@movementarian.org>
6636 * ToolbarBackend.C: add "Toolbars" section and
6639 2003-06-10 Angus Leeming <leeming@lyx.org>
6642 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6644 * lyxfunc.C (dispatch): invoke it.
6646 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6648 * main.C: protect <ios> with HAVE_IOS
6649 (main): protect sync_with_stdio with HAVE_IOS
6651 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6653 * text2.C (cutSelection): adjust
6654 (pasteSelection): adjust
6656 * messages.C: handle get of empty string
6658 * main.C (main): use sync_with_stdio(false)
6660 * lyxfunc.C (dispatch): adjust
6662 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6663 (WriteAs): remove unneeded BufferView arg.
6665 * bufferparams.h: use correct types on papersize, papersize2 and
6668 * bufferparams.C (readToken): adjust for type
6669 (writeLaTeX): add missing cases to switch.
6671 * bufferlist.C (quitWriteBuffer): adjust
6674 * buffer.C (asciiParagraph): remove some commented code.
6676 * CutAndPaste.C: remove current_view extern variable.
6677 (cutSelection): add BufferParams arg.
6678 (eraseSelection): add BufferParams arg.
6679 (pasteSelection): add Buffer const & arg
6681 2003-06-07 John Levon <levon@movementarian.org>
6684 * paragraph_funcs.C:
6685 * paragraph_pimpl.C:
6689 * paragraph.C: allow InsetERT to freely space lines,
6690 and some consolidation of code
6692 2003-06-06 José Matos <jamatos@fep.up.pt>
6694 * buffer.C (makeDocBookFile): fix bug #821
6696 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6698 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6700 2003-06-04 Angus Leeming <leeming@lyx.org>
6702 * buffer.C: bump format to 224.
6704 2003-06-05 André Pönitz <poenitz@gmx.net>
6706 * text2.C (redoParagraphs): remove two const_cast<>
6708 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6710 * ParagraphList.h: remove last remnants of NO_STD_LIST
6712 2003-06-03 Angus Leeming <leeming@lyx.org>
6714 * factory.C (createInset): small change to the way InsetExternal's params
6717 2003-06-04 André Pönitz <poenitz@gmx.net>
6719 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6721 * paragraph_pimpl.h:
6722 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6724 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6726 * undo_funcs.C: make some simple cases of undo work again
6728 2003-06-03 John Levon <levon@movementarian.org>
6730 * ispell.C: HPUX doesn't have sys/select.h
6733 2003-06-03 John Levon <levon@movementarian.org>
6735 * CutAndPaste.C: update tabular and include inset
6740 * paragraph.C: remove owningBuffer(), don't pass Buffer
6743 * factory.C: insetGraphicsParams changed
6745 2003-06-02 John Levon <levon@movementarian.org>
6751 * text3.C: remove insetparent
6753 2003-06-02 John Levon <levon@movementarian.org>
6756 * buffer.C: fix inset_iterator.end(), move out of line
6759 2003-06-01 John Levon <levon@movementarian.org>
6761 * text3.C: use a proper cut/paste when doing inset
6762 insert (from Jürgen Spitzmüller)
6764 2003-06-01 John Levon <levon@movementarian.org>
6766 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6768 2003-05-30 André Pönitz <poenitz@gmx.net>
6770 * rowpainter.C: unify second drawing phase
6772 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6774 * trans_mgr.C: remove one case of current_view
6776 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6778 * paragraph_funcs.h: remove paragraph.h include
6780 * paragraph.h: delete NO_STD_LIST stuff
6782 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6784 * buffer.h: remove paragraph.h include
6786 * ParagraphList.C: delete file
6788 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6790 * toc.C (getTocList): adjust
6792 * paragraph_pimpl.C (validate): adjust
6794 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6796 * paragraph.C (Paragraph): adjust
6797 (getPositionOfInset): use const_iterator, adjust
6798 (bibitem): use const_iterator, adjust
6799 (setInsetOwner): adjust
6801 * iterators.C (operator++): adjust
6803 * InsetList.[Ch]: Replace selfmade iterator with standard
6804 vector::iterator also introduce const_iterator. Remove getPos,
6805 getInset and setInset from InsetTable. Adjust accordingly.
6807 * BufferView.C (lockInset): adjust
6808 (ChangeInsets): adjust
6810 * tabular.[Ch]: delete commented same_id functions
6812 2003-05-28 John Levon <levon@movementarian.org>
6814 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6816 2003-05-28 André Pönitz <poenitz@gmx.net>
6818 * metricsinfo.[Ch]: remove 'fullredraw' member
6820 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6822 * lyxtextclass.C (operator): remove caching.
6824 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6828 * text2.C (cursorBottom): adjust
6829 (setCounter): use ParagraphList::find, adjust
6831 * text.C (workWidth): use ParagraphList::find, adjust
6833 * lyxcursor.C (LyXCursor): adjust
6835 * buffer.C (inset_iterator): adjust
6837 * ParagraphList.h: make iterator(value_type) private, make
6838 ParagraphList a friend of iterator.
6840 * ParagraphList.C (find): new function
6842 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6844 2003-05-27 André Pönitz <poenitz@gmx.net>
6846 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6848 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6850 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6852 2003-05-26 John Levon <levon@movementarian.org>
6854 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6856 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6858 * remove same_id from function signatures, adjust.
6860 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6864 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6866 * paragraph.C (Paragraph): get rid of same_ids parameter
6868 * ParagraphList.C (insert): adjust
6871 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6873 * paragraph_funcs.C (breakParagraph): adjust
6874 (breakParagraphConservative): adjust
6876 * buffer.C (readParagraph): adjust
6878 * ParagraphList.C (insert): take a reference instead of a pointer
6881 * paragraph.[Ch] (id): new function
6883 * bufferlist.C (newFile): adjust
6885 * ParagraphList.C (ParagraphList): adjust
6887 (push_back): take a reference instead of a pointer.
6889 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6891 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6894 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6895 set else use old code.
6897 * ParagraphList.C: remove all NO_NEXT code and only compile this
6898 code of NO_STD_LIST is set.
6900 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6902 * BufferView_pimpl.C:
6912 * graphics/GraphicsConverter.C:
6913 * graphics/PreviewLoader.C: header adjustment
6915 2003-05-23 Angus Leeming <leeming@lyx.org>
6917 * LaTeXFeatures.[Ch] (useBabel): new method.
6918 * bufferparams.C (writeLaTeX): use it.
6920 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6922 * ParagraphList.h (set): remove unused function.
6924 2003-05-23 André Pönitz <poenitz@gmx.net>
6927 * BufferView_pimpl.C:
6931 * undo_funcs.C: setUndo reworked
6933 * iterators.[Ch]: add access to topmost ParagraphList
6935 * lyxtext.[Ch] (workWidth): add a const
6937 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6939 * texrow.[Ch] (increasePos): remove function
6940 * exporter.C (export): removed unused var and outdated comment
6942 2003-05-23 Angus Leeming <leeming@lyx.org>
6944 * latexrunparams.h: rename fragile as moving_arg.
6945 * paragraph.C (simpleTeXOnePar): ditto.
6946 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6948 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6950 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6952 (textUndoOrRedo): comment out a currently unused var.
6954 * paragraph.h (NO_NEXT): enable NO_NEXT
6956 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6958 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6960 * exporter.C (Export): adjust for removeAutoInsets removal.
6962 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6964 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6966 * BufferView.[Ch] (removeAutoInsets): delete function
6968 2003-05-22 Angus Leeming <leeming@lyx.org>
6970 * latexrunparams.h: add a free_spacing variable.
6972 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6973 to pass moving_arg, as the data is stored in runparams.fragile.
6975 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6976 to Inset::latexOptional or to simpleTeXOnePar.
6978 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6979 free_spacing arg to Inset::latexOptional.
6981 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6984 2003-05-22 Angus Leeming <leeming@lyx.org>
6986 * latexrunparams.h: add fragile and use_babel variables.
6988 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6989 * buffer.C (makeLaTeXFile): store this returned value in
6990 runparams.use_babel, thus passing it to the inset::latex methods.
6992 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6993 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6995 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6996 longer has a fragile arg, as it is stored in runparams.fragile.
6998 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6999 moving_arg parameter as the data is stored in runparams.fragile.
7001 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7002 a fragile parameter as the data is stored in runparams.fragile.
7004 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7006 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7008 2003-05-22 Angus Leeming <leeming@lyx.org>
7010 * latexrunparams.h: add a 'bool nice' which defaults to false.
7012 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7013 now encapsulated within runparams.
7015 * bufferlist.C (updateIncludedTeXfiles):
7016 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7018 2003-05-22 Angus Leeming <leeming@lyx.org>
7020 * latexrunparams.h: new file containing struct LatexRunParams.
7021 * Makefile.am: add new file.
7023 * LaTeX.[Ch] (c-tor, run):
7024 * buffer.[Ch] (makeLaTeXFile):
7025 * bufferlist.[Ch] (updateIncludedTeXfiles):
7026 * converter.C (convert, scanLog):
7027 * converter.[Ch] (runLaTeX):
7028 * exporter.C (Export):
7029 * paragraph.[Ch] (simpleTeXOnePar):
7030 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7031 * paragraph_funcs.[Ch] (latexParagraphs):
7032 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7033 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7034 pass around a LatexRunParams parameter.
7036 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7038 * paragraph.[Ch]: remove unused constructor
7040 * ParagraphList.C (erase): new function, taking two iterators
7042 2003-05-22 André Pönitz <poenitz@gmx.net>
7044 * undo_funcs.C: remove duplicated code
7046 * iterator.[Ch]: operator=
7048 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * tabular.C (SetMultiColumn): ws changes
7052 * rowpainter.C (paintFirst): get rid of a ->previous
7054 * lyx_cb.C (getPossibleLabel): parlist simplification
7056 * BufferView.C (ChangeInsets): simplify slightly.
7058 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7060 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7061 * lfuns.h: new LFUN_SPACE
7062 * lyxfunc.C: protected space has a new lfun
7063 * paragraph_funcs.C: read new space insets
7065 * factory.C: handle new space insets
7067 2003-05-22 André Pönitz <poenitz@gmx.net>
7070 * BufferView_pimpl.C:
7073 * undo_funcs.C: return a ParIterator from getParFromID.
7075 * iterators.[Ch]: add two const's
7077 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * toc.C (getTocList): adjust
7081 * iterators.[Ch]: rework for parlist
7083 * buffer.C (par_iterator_begin): adjust
7084 (par_iterator_end): adjust
7086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7088 * BufferView.C (removeAutoInsets): adjust
7089 (ChangeInsets): adjust
7091 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7093 * text.C (top_y): fix bug 1110
7095 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7097 * errorlist.[Ch]: added
7100 * BufferView_pimpl.C:
7101 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7104 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * Makefile.am: ensure that lyx is relinked upon changes to the
7107 various "convenience" libs.
7109 2003-05-20 Angus Leeming <leeming@lyx.org>
7111 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7112 files are compiled in alphabetical order again.
7114 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7116 2003-05-19 Angus Leeming <leeming@lyx.org>
7118 * gettext.[Ch]: remove "char const * _(char const *)".
7120 2003-05-19 André Pönitz <poenitz@gmx.net>
7122 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7131 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7133 2003-05-19 André Pönitz <poenitz@gmx.net>
7137 * lyxtextclass.[Ch]:
7139 * paragraph_funcs.[Ch]:
7141 * text3.C: more insetenv work
7143 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7145 * ParagraphParameters.C (params2string): small bug fixed
7147 2003-05-16 André Pönitz <poenitz@gmx.net>
7150 * bufferview_funcs.C: patch from Kornel Benko to prevent
7151 crash when _(...) is called twice in a statement
7153 2003-05-16 André Pönitz <poenitz@gmx.net>
7160 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7162 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7164 * lyx_main.C (init): remove spurious static_cast
7166 2003-05-14 André Pönitz <poenitz@gmx.net>
7168 * BufferView.C: fix format string
7170 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7172 * BufferView.[Ch] (insertErrors): removed
7173 * BufferView.[Ch] (showErrorList): added
7174 * buffer.C (runChkTeX):
7175 * converter.C (scanLog): call showErrorList instead of inserterrors
7177 2003-05-13 André Pönitz <poenitz@gmx.net>
7179 * BufferView_pimpl.C:
7181 * bufferview_func.C:
7188 * tabular_funcs.h: tostr() from its own header
7190 * ParagraphParameters.C:
7195 * text3.C: STRCONV()
7197 2003-05-12 André Pönitz <poenitz@gmx.net>
7200 * BufferView_pimpl.C:
7204 * ParagraphParameters.C:
7208 * bufferview_funcs.C:
7221 * paragraph_funcs.C:
7225 * text3.C: boost::format -> bformat all over the place
7228 2003-05-09 André Pönitz <poenitz@gmx.net>
7230 * LColor.[Ch]: Pimpl the #include <map> away
7232 2003-05-09 John Levon <levon@movementarian.org>
7234 * bufferlist.C: never remove emergency saves
7236 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7238 * Makefile.am: better lib building
7240 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7242 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7244 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7245 (simpleTeXSpecialChars): adjust
7246 (simpleTeXSpecialChars): adjust
7247 * paragraph.C (simpleTeXOnePar): adjust
7248 * buffer.C (makeLaTeXFile): adjust
7250 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7252 * text2.C (changeDepth): parlist cleanup
7253 (getColumnNearX): ditto
7255 * rowpainter.C (getLabelFont): parlist cleanup
7257 * bufferlist.C (newFile): parlist cleanup
7259 * CutAndPaste.C (eraseSelection): parlist cleanup
7261 * BufferView_pimpl.C (trackChanges): parlist cleanup
7264 * BufferView.C (lockInset): parlist cleanup.
7265 (ChangeInsets): ditto
7267 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7269 * CutAndPaste.h: Update file header.
7271 * CutAndPaste.C: Update file header.
7272 Store the parts cut out of the Document in a limited_stack.
7273 (copySelection): adjust
7274 (pasteSelection): new function, takes the index in the limited stack.
7275 (nrOfParagraphs): adjust
7276 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7277 simplify error inset insertion.
7278 (checkPastePossible): adjust
7280 2003-05-06 John Levon <levon@movementarian.org>
7282 * text2.C: don't cast wrap inset to float
7284 2003-05-05 André Pönitz <poenitz@gmx.net>
7287 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7289 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7290 few naked Paragraph *.
7292 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7294 * bufferparams.C: Output warning if a document with missing
7295 TeX document class is loaded
7296 * exporter.C: Disable TeX exports if the document class is missing
7299 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7300 isTeXClassAvailable()
7302 2003-05-03 John Levon <levon@movementarian.org>
7305 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7306 explicit cursor show/hide
7308 * BufferView_pimpl.h:
7309 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7310 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7312 * lyxfunc.C: hide cursor before dispatching.
7317 * text3.C: remove explicit cursor hides
7319 2003-05-02 André Pönitz <poenitz@gmx.net>
7321 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7324 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7327 * text2.C: tiny whitespace
7329 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * undo_funcs.C: almost only ws changes.
7333 * ParagraphList.C (splice): just return if pl is empty.
7335 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7337 * ParagraphList.C (splice): new function.
7339 * CutAndPaste.C (pasteSelection): use it
7341 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * CutAndPaste.C (pasteSelection): remove the last next and
7344 previous from this file.
7346 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7348 * CutAndPaste.C (pasteSelection): more clean up, user proper
7349 ParagraphList functions for pasteing.
7351 * ParagraphList.C (insert): new function, three arg insert
7353 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7355 * ParagraphList.C (insert): new function, three arg insert
7357 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7360 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7362 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7364 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7366 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7368 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7370 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7371 (copySelection): clean up a bit.
7372 (pasteSelection): use make_pair
7374 * ParagraphList.C (ParagraphList): implement copy constructor
7375 (operator=): implement, base on copy constructor.
7378 * paragraph.C (erase): return a bool
7380 * paragraph_pimpl.C (erasePos): remove function, move contents...
7381 (erase): ... here. Return a bool.
7382 (erase): call erase instead of erasePos.
7384 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7386 * ParagraphList.h: define PitPosPair
7387 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7388 ParagraphList, fix a bug on pasting multiple pars
7389 * text2.C: change interface to C&P
7391 2003-04-30 André Pönitz <poenitz@gmx.net>
7393 * undo_func.C: revert part of yesterday's patch 2
7395 2003-04-30 John Levon <levon@movementarian.org>
7397 * LColor.C: s/tabular/table/
7399 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7401 * text3.C (dispatch): do not convert iterator -> pointer
7402 * undo_funcs.C (setCursorParUndo): ditto
7403 * text_funcs.C (transposeChars): ditto
7405 * text2.C (setLayout): ws changes only
7407 * text.C (breakParagraph): do not convert iterator -> pointer
7409 (acceptChange): ditto
7410 (rejectChange): ditto
7415 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7418 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7420 * text3.C (gotoInset): YABG (yet another bad getChar)
7422 2003-04-29 André Pönitz <poenitz@gmx.net>
7424 * paragraph.h: make operator= private unimplemented as long as
7427 * ParagraphList.C: whitespace
7430 * paragraph_pimpl.[Ch]:
7431 * paragraph_funcs.C:
7433 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7436 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7438 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7440 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7441 * paragraph.[Ch] (erase):
7442 * paragraph_pimpl.[Ch] (erase): change return type and value
7443 * text2.C (cutSelection): some rework
7445 2003-04-28 John Levon <levon@movementarian.org>
7447 * bufferlist.C: changes for unsaved changes dialog
7449 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7451 * bufferlist.C (newFile): set language (messages_) for new
7454 * buffer.C (readFile): ws changes only.
7456 2003-04-28 André Pönitz <poenitz@gmx.net>
7461 * BufferView_pimpl.C:
7462 * BufferView.C: getParFromID related ParagraphList::iterator changes
7464 2003-04-28 André Pönitz <poenitz@gmx.net>
7466 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7469 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7471 * messages.C: remove one more localedir class variable.
7473 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * messages.C (getLocaleDir): singleton generation function
7477 (Messages): add a default constructor.
7479 * main.C (main): do not setup localedir here, do not call
7482 * gettext.C (_): use it.
7483 (gettext_init): delete funciton
7485 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * gettext.C (getLyXMessages): new singleton generating function.
7489 * buffer.C (updateDocLang): adjust
7491 * Makefile.am (messages.o): add target
7492 (main.o): remove target
7494 2003-04-27 John Levon <levon@movementarian.org>
7499 * lyxvc.C: specify cancel button in Alert::prompt
7501 2003-04-26 John Levon <levon@movementarian.org>
7506 * LyXAction.C: add LFUN_INSET_SETTINGS
7508 * lyxfunc.C: don't enable tabular-feature when there's
7509 just any locking inset
7511 2003-04-26 John Levon <levon@movementarian.org>
7513 * bufferlist.C: re-add Cancel to buffer close question
7515 * lyxfunc.C: fix import UI a bit
7517 2003-04-25 John Levon <levon@movementarian.org>
7519 * gettext.C: remove the broken asserts for now
7521 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7523 * messages.C: make case where setlocale cannot comply work better.
7525 * buffer.C (updateDocLang): new function
7526 (changeLanguage): use it
7529 * text2.C (setCounter): use B_ a bit.
7531 * lyxlayout.C (Read): be sure to trim the label strings.
7533 * messages.C (Messages): fix typo in comment
7535 * buffer.C (readFile): set message_ after file is loaded.
7536 (makeDocBookFile): remove double return
7537 (changeLanguage): reset message_ upon language change.
7538 (B_): new func, use this to get translated buffer strings.
7540 * main.C: add myself and Jean Marc as authors.
7542 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7544 * messages.[hC]: pimplify Messages, and three different pimpls to be
7545 used in different circumstances.
7547 * gettext.[Ch]: change for use with new message code.
7549 2003-04-24 André Pönitz <poenitz@gmx.net>
7551 * factory.C: support for eqref
7553 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7555 * messages.[Ch]: add missing char
7557 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7559 * messages.[Ch]: New files
7561 2003-04-18 John Levon <levon@movementarian.org>
7565 * BufferView_pimpl.C:
7569 * text2.C: remove layout-copy/paste (bug 778)
7571 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7573 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7575 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7577 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7578 if they succeed. Act accordingly.
7580 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * text2.C (setCharFont): adjust
7583 (setCounter): adjust
7584 (insertStringAsLines): adjust
7586 * text.C (leftMargin): adjust
7587 (setHeightOfRow): adjust
7589 * rowpainter.C (paintFirst): adjust
7592 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7594 (isFirstInSequence): ditto
7595 (getEndLabel): ditto
7598 * paragraph.C (getParLanguage): comment out some hard stuff.
7600 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7602 (simpleDocBookOnePar): ditto
7603 (makeDocBookFile): use ParagraphList::iterator
7605 * CutAndPaste.C (pasteSelection): adjust
7607 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7609 * text2.C (getFont): adjust
7610 (getLayoutFont): adjust
7611 (getLabelFont): adjust
7613 * paragraph_funcs.C (TeXOnePar): adjust
7615 * buffer.C (simpleLinuxDocOnePar): adjust
7616 (simpleDocBookOnePar): adjust
7618 * CutAndPaste.C (pasteSelection): adjust
7620 * BufferView.C (getEncoding): adjust
7622 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7624 2003-04-16 John Levon <levon@movementarian.org>
7626 * lyxfind.C: use parlist stuff for search/changes
7628 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7630 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7632 * text2.C (deleteEmptyParagraphMechanism): adjust
7634 * text2.[Ch] (ownerParagraph): delete func (both of them
7636 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7638 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7640 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * ParagraphList.C: prepare for NO_NEXT
7644 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * text2.C (getFont): adjust
7647 (getLayoutFont): adjust
7648 (getLabelFont): adjust
7650 * paragraph.C (getFont): adjust
7651 (getLabelFont): adjust
7652 (getLayoutFont): adjust
7654 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7656 2003-04-15 John Levon <levon@movementarian.org>
7660 * lyx_main.C: handle Include in .ui files
7662 2003-04-15 John Levon <levon@movementarian.org>
7664 * MenuBackend.C: make the doc files length shorter
7667 * ToolbarBackend.C: handle toolbar placement flags,
7670 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7675 * paragraph_funcs.C (TeXOnePar): adjust
7677 * paragraph.C (getLabelFont): add outerfont arg, adjust
7678 (getLayoutFont): ditto
7679 (simpleTeXOnePar): adjust
7681 * paragraph_pimpl.C (realizeFont): delete func
7683 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7685 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7686 row argument, constify cur argument.
7688 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * text2.C (getFont): adjust
7691 (getLayoutFont): adjust
7692 (getLabelFont): adjust
7694 * paragraph_funcs.C (TeXOnePar): adjust
7695 (outerFont): new func...
7696 (realizeFont): ...moved out from here, changed this to facilitate
7699 * paragraph.C (getFont): take outerfont as arg, adjust
7700 (simpleTeXOnePar): add outerfont arg, adjust
7702 * buffer.C (simpleLinuxDocOnePar): adjust
7703 (simpleDocBookOnePar): adjust
7705 * CutAndPaste.C (pasteSelection): adjust
7707 * BufferView.C (getEncoding): adjust
7709 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7711 * text2.C (setCharFont): adjust
7712 (setCounter): adjust
7714 * text.C (leftMargin): adjust
7715 (setHeightOfRow): adjust
7717 * rowpainter.C (paintFirst): adjust
7720 * paragraph_pimpl.C (realizeFont): adjust
7722 * paragraph.C (isFirstInSequence): move from here...
7723 * paragraph_funcs.C (isFirstInSequence): ...to here
7725 * paragraph.C (outerHook): move from here...
7726 * paragraph_funcs.C (outerHook): ...to here
7728 * paragraph.C (depthHook): move from here...
7729 * paragraph_funcs.C (depthHook): ...to here
7731 * paragraph.C (getEndLabel): move from here...
7732 * paragraph_funcs.C (getEndLabel): ...to here
7734 * text2.C (realizeFont): move from here...
7735 * paragraph_funcs.C (realizeFont): ...to here
7737 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7741 2003-04-14 Angus Leeming <leeming@lyx.org>
7743 * LColor.[Ch]: scrap LColor mathcursor.
7745 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7747 * lyxlex.[Ch] (text): delete function
7748 * trans.C (Load): adjust
7749 * paragraph_funcs.C (readParToken): adjust
7751 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7753 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7754 vector<char> instead of a char[].
7756 * lyxlex_pimpl.C (getString): adjust
7758 (lex): use getString
7762 * lyxlex.C (text): use pimpl_->getString()
7766 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7768 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7769 (makeFontEntriesLayoutSpecific): temp var for par.size()
7770 (setLayout): temp var for ownerParagraphs().end()
7771 (fullRebreak): temp var for rows().end()
7772 (selectionAsString): temp var for boost::next(startpit), realize
7773 that the while really is a regular for loop.
7774 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7775 setCursor in one place.
7776 (setParagraph): temp vr for ownerParagraphs().end()
7777 (updateCounters): make the while loop a for loop
7778 (cutSelection): temp var for ownerParagraphs().end()
7779 (updateInset): make the do {} while() a regular for loop
7780 (getCursorX): use temp vars
7781 (setCurrentFont): use temp vars
7782 (getColumnNearX): use temp vars
7784 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7786 * text.C (transformChar): use temp var for getChar
7787 (computeBidiTables): use temp var for row->par()
7788 (fill): move temp vars for row->par() and pit->layout() earlier in
7790 (labelFill): use temp var for row->par()
7791 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7792 asc and desc, realize that pit never changes and that firstpit is
7793 just a duplicate and not needed. Exchange rit->par() with pit in a
7795 (breakAgain): use a temp var for boost::next(rit)
7796 (breakAgainOneRow): ditto
7797 (breakParagraph): use a temp var for rows().begin()
7798 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7799 (cursorRightOneWord): use temp var for cursor.par() and
7800 cursor.pos(), remove usage of tmpcursor.
7801 (cursorLeftOneWord): use temp var for cursor.par() and
7802 cursor.pos() only set cur at end of function.
7804 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * text.C, text2.C: exchange all usage of Paragraph::next with
7807 boost::next(ParagraphList::iterator)
7809 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7811 * text2.C (cursorTop): simplify implementation
7812 (cursorBottom): ditto
7813 (setParagraph): use ParagraphList::iterator
7814 (setCurrentFont): adjust
7815 (getColumnNearX): adjust
7816 (cursorRight): adjust
7817 (cursorLeft): remove usage of Paragraph::previous
7818 (cursorUpParagraph): ditto
7819 (deleteEmptyParagraphMechanism): slight cleanup
7821 * text.C (isBoundary): take a Paragraph const & instead of a
7823 (addressBreakPoint): ditto
7824 (leftMargin): remove usage of Paragraph::previous.
7825 (setHeightOfRow): ditto
7826 (cursorLeftOneWord): ditto
7827 (selectNextWordToSpellcheck): ditto
7830 (breakParagraph): remove one usage of Paragraph::next
7831 (redoParagraph): ditto
7832 (acceptChange): ditto
7833 (insertChar): adjust
7834 (rowBreakPoint): adjust
7836 * bufferview_funcs.C (toggleAndShow): adjust
7838 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7840 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7841 methods to access it.
7843 * text.C: Added updateRowPositions to compute all row positions.
7844 Make top_y and getRowNearY() to use the cached y position
7846 2003-04-11 John Levon <levon@movementarian.org>
7848 * text.C (rowBreakPoint): reintroduce the labelEnd
7849 checks, code copied from the row fill stuff. Deep voodoo.
7851 * text.C (fill): add a comment and debugging for the
7854 2003-04-11 John Levon <levon@movementarian.org>
7856 * text.C: make sure fullrow insets get wrapped to the next line,
7857 even when they're in a manual label
7859 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7861 * text2.C (insertParagraph): make it take ParagraphList::iterator
7863 (setLayout): make it return ParagraphList::iterator
7864 (redoParagraphs): ditto
7866 (checkParagraph): ditto
7868 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7870 * text2.C: adjust several funcs.
7871 (realizeFont): take a ParagraphList::iterator as arg.
7872 (getLayoutFont): ditto
7873 (getLabelFont): ditto
7874 (setCharFont): ditto
7876 * text.C: adjust several funcs.
7878 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7880 * text.C (selectNextWordToSpellcheck): don't accidentally
7883 2003-04-10 John Levon <levon@movementarian.org>
7885 * ToolbarBackend.C (getIcon): special handling for
7888 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7890 * text2.C (cursorRight): a getChar assert fixed
7892 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * text2.C (getFont): change to take a ParagraphList::iterator
7895 instead of Paragraph*
7896 Adjust several functions.
7898 * text.C (transformChar): change to take a ParagraphList::iterator
7899 instead of Paragraph*
7900 (singleWidth): ditto
7901 Adjust several functions.
7903 * rowpainter.C: adjust several functions
7904 * rowpainter.h:store a ParagraphList::iterator and not a
7908 2003-04-09 John Levon <levon@movementarian.org>
7913 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7914 and the "help" bits as well
7916 2003-04-09 John Levon <levon@movementarian.org>
7919 * ToolbarBackend.C: allow multiple toolbars
7921 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7923 * undo_funcs.C (setCursorParUndo): adjust
7925 * text_funcs.C (transposeChars): adjust
7927 * text3.C (gotoNextInset): adjust
7930 * text2.C (setLayout): adjust
7931 (changeDepth): adjust
7933 (redoParagraphs): adjust
7934 (selectionAsString): adjust
7935 (setParagraph): adjust
7936 (insertInset): adjust
7937 (cutSelection): adjust
7938 (copySelection): adjust
7939 (pasteSelection): adjust
7940 (insertStringAsLines): adjust
7941 (updateInset): adjust
7942 (setCursor): change to take a ParagraphList::iterator parameter
7943 (setCursorIntern): change to take a ParagraphList::iterator parameter
7944 (setCurrentFont): adjust
7945 (cursorLeft): adjust
7946 (cursorRight): adjust
7947 (deleteEmptyParagraphMechanism): adjust
7949 * text.C (breakParagraph): adjust
7950 (insertChar): adjust
7951 (acceptChange): adjust
7952 (rejectChange): adjust
7953 (selectNextWordToSpellcheck): adjust
7954 (changeCase): adjust
7958 * lyxfind.C (SearchForward): adjust
7959 (SearchBackward): adjust
7960 (nextChange): adjust
7962 * lyxcursor.C (par): adjust
7964 * lyxcursor.h: store a ParagraphList::iterator instead of a
7967 * lyx_cb.C (getPossibleLabel): adjust
7969 * bufferview_funcs.C (toggleAndShow): adjust
7971 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7974 * BufferView.C (removeAutoInsets): adjust
7975 (lockedInsetStoreUndo): adjust
7977 2003-04-09 John Levon <levon@movementarian.org>
7979 * ToolbarBackend.C: try icon without argument
7980 if with argument fails
7982 2003-04-08 John Levon <levon@movementarian.org>
7985 * ToolbarBackend.C: add getIcon(), handle tooltip,
7986 and change from "Icon" to "Item".
7988 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7990 * BufferView.C (lockInset): another bad getchar crunched
7992 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7994 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7997 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7999 * lyxfind.C (searchForward, searchBackwards): bug 782
8001 2003-04-07 John Levon <levon@movementarian.org>
8003 * paragraph.C: remove dead comment
8005 * text.C: remove troublesome depth-fiddling code
8006 in leftMargin() and rightMargin() (bug 1017)
8008 * text.C: fix breaking of rows in nested lists
8011 * text2.C (updateCounters): fix up depth values
8014 2003-04-07 John Levon <levon@movementarian.org>
8016 * BufferView_pimpl.C: clear message when doc finishes resizing,
8017 and after a mouse event
8019 * lyxfunc.C: clear message after exiting inset
8021 2003-04-07 John Levon <levon@movementarian.org>
8023 * bufferview_funcs.C: show math status not outside
8024 status in the statusbar
8026 2003-04-07 John Levon <levon@movementarian.org>
8028 * lyxfunc.C: note status changed after a depth change
8030 2003-04-04 Angus Leeming <leeming@lyx.org>
8032 * LaTeX.h: move AuxInfo operator==, != out of line.
8033 Remove LaTeX virtual destructor; nothing derives from it.
8034 Move operator()() out of public area and rename it startscript().
8035 Change protected for private.
8037 2003-04-04 Angus Leeming <leeming@lyx.org>
8040 * text2.C: remove unneeded #includes.
8042 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8044 * text2.C (dEPM): fix the heigth of the next row
8046 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8048 * text.C: squashed an invalid getChar requester + some ws changes
8050 2003-04-03 John Levon <levon@movementarian.org>
8052 * bufferview_funcs.h:
8053 * bufferview_funcs.C:
8056 * text2.C: make getStatus work for the env depth lfuns
8058 2003-04-03 John Levon <levon@movementarian.org>
8060 * bufferview_funcs.h:
8061 * bufferview_funcs.C:
8064 * text2.C: parlistize decDepth(), by merging it with incDepth()
8066 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8068 * lyxrow.h: store a ParagraphList::iterator instead of a
8069 Paragraph* and adjust other class functions to suit.
8071 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8074 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8076 * text2.C (setCursor): do not anchor to cursor row for the time being
8078 2003-04-02 John Levon <levon@movementarian.org>
8085 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8087 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8089 * paragraph.h: make ParagraphList and ParagraphList::iterator
8090 friends of Paragraph.
8092 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8094 * ParagraphList.C: Use the private next_ and previous_ from
8097 2003-04-01 John Levon <levon@movementarian.org>
8101 * Makefile.am: rename, remove defaults gunk
8104 * MenuBackend.C: remove defaults gunk
8107 * Languages.C: remove defaults gunk
8110 * lyx_main.C: error out if files couldn't be found.
8112 2003-04-02 John Levon <levon@movementarian.org>
8114 * text2.C: make incDepth() use parlist
8116 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8118 * undo_funcs.C (firstUndoParagraph): adjust
8120 * text3.C (gotoInset): adjust
8121 (dispatch): adjust, and rewrite loop.
8123 * text2.C (init): adjust, and rewrite loop.
8124 (redoParagraphs): adjust
8125 (updateInset): adjust, and rewrite loop.
8126 (deleteEmptyParagraphMechanism): adjust
8128 * tabular.C (LyXTabular): adjust
8129 (SetMultiColumn): adjust
8132 * lyxtext.[Ch] (ownerParagraph): delete function
8133 (ownerParagraphs): new function returns a ParagraphList.
8135 * BufferView.C (removeAutoInsets): adjust
8136 (insertErrors): adjust
8137 (setCursorFromRow): adjust
8139 2003-04-01 Angus Leeming <leeming@lyx.org>
8141 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8144 2003-04-02 John Levon <levon@movementarian.org>
8150 * text_funcs.C: make transposeChars a free function
8152 * lyxrow_funcs.C: remove wrong comment
8154 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8157 * rowpainter.C: adjust
8162 * lyxrow_funcs. [Ch]: new files
8164 * lyxrow.[Ch]: remove next and previous pointers
8165 (next,previous): remove accessor functions
8166 (isParEnd): move to lyxrow_funcs
8167 (lastPos): move to lyxrow_funcs
8168 (nextRowIsAllInset): move to lyxrow_funcs
8169 (lastPrintablePos): move to lyxrow_funcs
8170 (numberOfSeparators): move to lyxrow_funcs
8171 (numberOfHfills): move to lyxrow_funcs
8172 (numberOfLabelHfills): move to lyxrow_funcs
8173 (hfillExpansion): move to lyxrow_funcs
8177 * bufferview_funcs.C (toggleAndShow): adjust
8179 * RowList.h: Remove class RowList from file leave just a
8182 * RowList.C: delete file
8184 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8187 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8189 * text3.C (cursorPrevious): adjust
8190 (cursorNext): adjust
8193 * text2.C (redoHeightOfParagraph): adjust
8194 (redoDrawingOfParagraph): adjust
8197 * text.C (breakParagraph): adjust
8198 (insertChar): adjust
8201 * rowpainter.C (RowPainter): adjust
8202 (leftMargin): simplify and adjust
8203 (most rowpainter functions): adjust.
8205 * rowpainter.h: store the row as RowList::iterator not as Row*
8207 * lyxcursor.C (row): taka RowList::iterator as arg
8210 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8213 2003-04-01 Angus Leeming <leeming@lyx.org>
8215 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8216 stuff like bool Bool.
8218 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8220 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8223 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8225 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8228 * lyxtext.h (rows): drop one version and leve a const variant that
8229 returns a RowList::iterator.
8231 2003-03-31 Angus Leeming <leeming@lyx.org>
8233 * text.C (fill): ensure that the signature is the same as that in the
8236 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8238 * text2.C (redoParagraphs): adjust
8239 (updateCounters): adjust
8240 (checkParagraph): adjust
8241 (getColumnNearX): adjust and reformat a bit.
8243 * text.C (top_y): adjust
8245 (leftMargin): adjust
8246 (prepareToPrint): adjust
8248 (getRowNearY): adjust
8250 * lyxtext.h: make rowlist_ mutable.
8252 * RowList.h: add const_iterator
8253 * RowList.C: adjust for RowList::const_iterator.
8255 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8258 2003-03-31 John Levon <levon@movementarian.org>
8261 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8263 * lyx_main.C: set default fonts from using lyx_gui funcs
8265 * exporter.C: pdf_mode moved from lyxrc
8268 * lyxfunc.C: changes from above
8270 2003-03-31 John Levon <levon@movementarian.org>
8272 * lyx_main.C: fix to the last fix
8274 2003-03-31 John Levon <levon@movementarian.org>
8276 * bufferlist.C: "Load original" -> "Load Original"
8282 * format.C: more Alert cleanups
8284 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8286 * text2.C (removeParagraph): make it take a RowList::iterator as
8288 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8289 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8291 * text.C (anchor_row): make it take a RowList::iterator as arg,
8293 (computeBidiTables): make it take a const reference to Row instead
8294 of Row pointer, adjust.
8295 (leftMargin): make it take a RowList::iterator as arg, adjust.
8296 (rowBreakPoint): adjust
8297 (breakAgainOneRow): make it take a RowList::iterator as arg,
8299 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8301 * bufferview_funcs.C (toggleAndShow): adjust
8303 2003-03-30 John Levon <levon@movementarian.org>
8307 * boost-inst.C: moved to support
8309 * several files: changes as a result
8311 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8313 * text2.C (LyXText): adjust.
8315 (removeRow): make it take a RowList::iterator as arg, adjust.
8316 (fullRebreak): adjust
8317 (deleteEmptyParagraphMechanism): adjust
8318 (clearPaint): adjust
8321 * text.C (top_y): adjust
8322 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8323 (breakAgain): make it take a RowList::iterator as arg, adjust.
8324 (breakParagraph): adjust
8325 (insertChar): adjust
8328 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8329 need_break_row, and refresh_row.
8331 * text3.C (dispatch): adjust
8333 * text2.C (checkParagraph): adjust
8335 (setCursorFromCoordinates): adjust
8337 * text.C (top_y): adjust
8339 (getRow): make it return a RowList::iterator, adjust
8340 (getRowNearY): make it return a RowList::iterator, adjust
8342 * text2.C (init): adjust
8343 (insertRow): remove function
8344 (insertParagraph): adjust
8345 (redoParagraphs): adjust
8346 (fullRebreak): adjust
8347 (updateCounters): adjust
8349 * text.C (top_y): rewrite to use RowList iterators.
8351 (setHeightOfRow): rewrite to sue RowList iterators.
8352 (appendParagraph): adjust
8353 (breakAgain): adjust
8354 (breakAgainOneRow): adjust
8355 (breakParagraph): adjust
8357 (getRowNearY): adjust, and remove commented code.
8359 * lyxtext.h (firstRow): delete function
8360 (lastRow): delete function
8361 (rows): new function (const and non-const versions.)
8362 (insertRow): delete function
8364 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8366 2003-03-29 John Levon <levon@movementarian.org>
8368 * BufferView_pimpl.C: always update scrollbar top
8369 because pasting text when we're anchored could mean we
8370 miss an update altogether
8372 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8374 * text2.C (init): use rowlist_.end() and not 0.
8375 (insertRow): change to take a RowList::iterator as arg, adjust
8377 (insertParagraph): change to take a RowList::iterator as arg,
8379 (redoParagraphs): remove some debug msgs.
8381 * text.C (appendParagraph): change to take a RowList::iterator
8382 arg, adjust for this.
8383 (breakAgain): add an assert
8384 (breakAgainOneRow): ditto
8386 2003-03-29 John Levon <levon@movementarian.org>
8388 * text2.C: do not clear selection after inc/decDepth
8391 2003-03-29 John Levon <levon@movementarian.org>
8394 * buffer.C: fix broken strerrors according to Lars
8396 2003-03-29 John Levon <levon@movementarian.org>
8398 * converters.C: more Alert cleanups
8400 2003-03-29 John Levon <levon@movementarian.org>
8402 * bufferview_funcs.C: remove pointless Alert
8404 * buffer.C: fix confusing error message when
8405 a template is chmoded 000
8407 2003-03-29 John Levon <levon@movementarian.org>
8411 * BufferView_pimpl.C: Alert fixes
8415 * tabular-old.C: remove unused table compat reading
8417 2003-03-29 John Levon <levon@movementarian.org>
8422 * lyx_cb.C: more Alert cleanups
8424 * lyxfunc.C: don't allow chktex if not latex document
8426 2003-03-29 John Levon <levon@movementarian.org>
8430 * buffer.C: warnings pushed down from support/,
8433 2003-03-29 John Levon <levon@movementarian.org>
8435 * lyxfunc.C: safety check for C-r (revert)
8437 2003-03-29 John Levon <levon@movementarian.org>
8440 * bufferlist.C: several UI fixes using Alert::prompt.
8441 Fix the pointless looping quit code. Fix stupid revert
8446 * lyx_cb.C: use Alert::prompt
8448 * lyx_main.C: remove a silly question
8450 * lyxfunc.C: remove a couple of silly questions,
8453 2003-03-28 John Levon <levon@movementarian.org>
8455 * text2.C: fix bug 974 (End on empty par)
8457 2003-03-28 John Levon <levon@movementarian.org>
8459 * BufferView_pimpl.C:
8461 * lfuns.h: remove do-nothing math greek lfuns
8463 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8465 * lyxgluelength.h (isValidGlueLength): add default arg on
8466 parameter 2. Remove default arg from friend in class.
8468 * lyxlength.h (isValidLength): add default arg on parameter 2.
8469 Remove default arg from friend in class.
8471 * text2.C (LyXText): adjust, initialize refresh_row.
8475 (insertParagraph): adjst
8476 (redoParagraphs): adjust
8477 (fullRebreak): adjust
8478 (updateCounters): adjust
8479 (deleteEmptyParagraphMechanism): first attempt at fixing a
8482 * text.C (top_y): adjust
8483 (setHeightOfRow): adjust
8485 (getRowNearY): adjust
8487 * lyxtext.h: include RowList.h
8488 (~LyXText): not needed anymore, deleted.
8489 (firstRow): modify for RowList
8490 (lastRow): new function
8491 Delete firstrow and lastrow class variables, add a Rowlist
8492 rowlist_ class variable.
8494 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8497 * RowList.C (insert): fix case where it == begin().
8499 2003-03-26 Angus Leeming <leeming@lyx.org>
8501 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8502 the thesaurus dialog.
8504 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8506 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8508 * RowList.[Ch]: new files
8510 * ParagraphList.C (erase): handle the case where it == begin
8513 2003-03-25 John Levon <levon@movementarian.org>
8517 * aspell.C: add new aspell support
8520 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8523 2003-03-25 Angus Leeming <leeming@lyx.org>
8526 * LyXAction.C (init): new LFUN_INSET_INSERT.
8528 * BufferView_pimpl.C (dispatch): split out part of the
8529 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8531 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8534 2003-03-25 Angus Leeming <leeming@lyx.org>
8536 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8538 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8541 * text3.C: remove useless row->height(0)
8543 2003-03-25 John Levon <levon@movementarian.org>
8547 * text3.C: rename the refreshing stuff to better names
8549 2003-03-24 John Levon <levon@movementarian.org>
8551 * BufferView_pimpl.h:
8552 * BufferView_pimpl.C: update layout choice on a mouse
8555 2003-03-23 John Levon <levon@movementarian.org>
8557 * Makefile.am: fix commandtags.h reference
8559 2003-03-22 John Levon <levon@movementarian.org>
8561 * BufferView_pimpl.C:
8566 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8568 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8571 * text.C: take the rtl methods out of line
8573 2003-03-21 André Pönitz <poenitz@gmx.net>
8575 * metricsinfo.[Ch]: new files containing structures to be passed around
8576 during the two-phase-drawing...
8578 2003-03-21 André Pönitz <poenitz@gmx.net>
8580 * lyxtextclass.C: read 'environment' tag.
8582 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8584 * text2.C (removeRow): fix bug 964
8586 2003-03-20 John Levon <levon@movementarian.org>
8590 * text2.C: paint cleanups. Inset::update() dropped font
8593 2003-03-19 John Levon <levon@movementarian.org>
8595 * lyxfunc.C: only fitcursor/markDirty if available()
8597 2003-03-19 John Levon <levon@movementarian.org>
8599 * commandtags.h: rename to ...
8601 * lfuns.h: ... this, and renumber / cleanup
8603 2003-03-19 John Levon <levon@movementarian.org>
8605 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8606 fit the cursor after an lfun
8610 * BufferView_pimpl.h:
8611 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8613 * LyXAction.C: layout-character should have ReadOnly
8615 * ParagraphParameters.C:
8617 * bufferview_funcs.C:
8624 * undo_funcs.C: changes from above
8626 2003-03-18 John Levon <levon@movementarian.org>
8628 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8629 remove it from update()
8631 * lyxfunc.C: update layout choice after an lfun
8633 * text3.C: remove extra updateLayoutChoice()s
8635 2003-03-18 John Levon <levon@movementarian.org>
8637 * text.C: top_y change means full repaint, fix
8638 a drawing bug with cursor movement
8640 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8644 * text2.C: anchor row on setCursor
8646 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8648 * lyxtext.h: remove almost all mutable keywords
8651 * text3.C: remove const keywords accordingly
8653 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8655 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8657 (TeXEnvironment): ditto
8660 2003-03-17 John Levon <levon@movementarian.org>
8662 * text.C (rowBreakPoint): remove attempt to fix displayed
8663 math insets inside a manual label
8665 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8667 * lyxtext.h: remove BufferView* as first arg from almost all class
8669 * other files: adjust.
8671 2003-03-17 John Levon <levon@movementarian.org>
8675 * text2.C: more paint cleanups
8677 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8680 * rowpainter.C: remove "smart" background painting code
8682 2003-03-16 John Levon <levon@movementarian.org>
8687 * text3.C: add helper functions for setting refresh_row/y
8689 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8691 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8692 newline inset which *can* get inserted in the pass_thru layouts.
8693 This is primarily for literate documents.
8695 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8697 * buffer.C: increment LYX_FORMAT to 223
8699 2003-03-14 André Pönitz <poenitz@gmx.net>
8701 * textclass.h: prepare for environment handling, ws changes
8702 * lyxlayout.C: read latexheader and latexfooter tags
8704 2003-03-14 John Levon <levon@movementarian.org>
8706 * text2.C: rewrite ::status() a bit
8708 2003-03-13 John Levon <levon@movementarian.org>
8710 * lyxtext.h: add some docs
8712 2003-03-13 John Levon <levon@movementarian.org>
8717 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8719 2003-03-13 John Levon <levon@movementarian.org>
8721 * text3.C: fix appendix redrawing
8723 2003-03-13 John Levon <levon@movementarian.org>
8725 * text.C (setHeightOfRow):
8727 * rowpainter.C: make appendix mark have the text
8728 "Appendix" so the user knows what it is
8731 * LColor.C: s/appendixline/appendix/ from above
8733 2003-03-13 John Levon <levon@movementarian.org>
8735 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8737 * text.C: fix a getChar(pos) bug properly
8739 2003-03-13 Angus Leeming <leeming@lyx.org>
8742 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8743 Probably only temporary. Let's see how things pan out.
8745 * BufferView.C (unlockInset):
8746 * BufferView_pimpl.C (fitCursor):
8747 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8749 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8750 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8752 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8753 new functions that convert ParagraphParameters to and from a string.
8755 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8756 BufferView::Pimpl's dispatch.
8757 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8759 2003-03-13 André Pönitz <poenitz@gmx.net>
8763 * factory.C: make it aware of InsetEnv
8765 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8767 * text2.C (setCursor): never ask for one past last
8768 (setCursor): add some debugging messages.
8770 * text.C (singleWidth): never ask for one past last
8771 (singleWidth): ditto
8773 (rightMargin): ditto
8774 (rowBreakPoint): ditto
8775 (setHeightOfRow): ditto
8776 (prepareToPrint): ditto
8778 * rowpainter.C (paintBackground): never ask for one past last
8779 (paintText): never ask for one past last
8781 * paragraph_pimpl.C (getChar): make the assert stricter, never
8782 allow the one past last pos to be taken
8784 * paragraph.C (getChar): ws changes only
8786 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8787 (numberOfSeparators): ditto
8788 (numberOfHfills): ditto
8790 2003-03-12 John Levon <levon@movementarian.org>
8796 * paragraph_funcs.C: fix per-buffer authorlists
8798 2003-03-12 John Levon <levon@movementarian.org>
8800 * text.C: fix newline in right address
8802 2003-03-12 Angus Leeming <leeming@lyx.org>
8804 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8805 duplicate those in LyXFunc::dispatch.
8809 * ToolbarDefaults.C:
8810 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8811 Add LFUN_FONTFREE_UPDATE.
8813 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8814 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8816 * bufferview_func.[Ch]: several new functions to facilliate
8817 transfer of data to and from the character dialog.
8819 2003-03-12 John Levon <levon@movementarian.org>
8824 * paragraph_funcs.C:
8825 * paragraph_pimpl.C:
8829 * text3.C: remove META_NEWLINE in favour of an inset
8832 * rowpainter.C: remove paintNewline (done by inset)
8834 2003-03-12 John Levon <levon@movementarian.org>
8836 * paragraph_pimpl.C: complain about bad getChar()s
8837 for a while at least
8839 2003-03-12 John Levon <levon@movementarian.org>
8842 * buffer.C: move paragraph read into a separate function,
8843 a little renaming to reflect that.
8846 * bufferparams.C: remove the author_ids map, not necessary now
8849 * factory.C: moved Buffer::readInset to here
8851 * paragraph_funcs.h:
8852 * paragraph_funcs.C: readParagraph free function moved from
8855 * tabular.C: name change
8857 2003-03-12 John Levon <levon@movementarian.org>
8860 * ParagraphParameters.C: move par params input to
8863 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8864 behave like a normal read from the stream wrt reading
8865 a line vs. a \\token
8867 2003-03-12 John Levon <levon@movementarian.org>
8870 * ParagraphParameters.h:
8871 * ParagraphParameters.C: move output code to a
8874 2003-03-12 John Levon <levon@movementarian.org>
8876 * BufferView.C (insertLyXFile):
8879 * tabular.C: use a parlist iterator for creating the
8882 2003-03-12 John Levon <levon@movementarian.org>
8884 * buffer.C: make current_change static local not
8887 2003-03-12 John Levon <levon@movementarian.org>
8889 * buffer.C: fix insertStringAsLines for change tracking
8891 2003-03-12 John Levon <levon@movementarian.org>
8898 * bufferparams.C: move author list into params. Rename some
8899 functions. Move the header reading into a separate token
8900 loop. Move the header token reading into BufferParams.
8902 2003-03-12 John Levon <levon@movementarian.org>
8904 * changes.C: put debug inside lyxerr.debugging() checks
8906 2003-03-11 André Pönitz <poenitz@gmx.net>
8908 * factory.C: make it aware of InsetHFill
8910 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8912 * buffer.C (latexParagraphs): move function from here...
8913 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8916 2003-03-10 Angus Leeming <leeming@lyx.org>
8918 * LyXAction.C (init): fix bug in poplating array with multiple entries
8919 with the same LFUN (spotted by JMarc).
8921 2003-03-10 John Levon <levon@movementarian.org>
8924 * text2.C: move getColumnNearX() near its
8927 2003-03-10 John Levon <levon@movementarian.org>
8929 * text.C: fix break before a minipage
8931 2003-03-10 John Levon <levon@movementarian.org>
8933 * text.C: fix the last commit
8935 2003-03-09 John Levon <levon@movementarian.org>
8939 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8940 bug 365 (don't break before insets unless needed). Don't
8941 return a value > last under any circumstances.
8943 2003-03-09 Angus Leeming <leeming@lyx.org>
8945 * BufferView_pimpl.C (trackChanges, dispatch): call
8946 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8948 2003-03-09 Angus Leeming <leeming@lyx.org>
8950 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8951 than Dialogs::showAboutlyx().
8953 2003-03-09 Angus Leeming <leeming@lyx.org>
8955 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8956 than Dialogs::showTabularCreate().
8958 2003-03-09 John Levon <levon@movementarian.org>
8962 * text2.C: 3rd arg to nextBreakPoint was always the same.
8965 2003-03-08 John Levon <levon@movementarian.org>
8972 * text2.C: Remove the "main" bit from the "main body"
8975 2003-03-08 John Levon <levon@movementarian.org>
8977 * text.C (leftMargin): The left margin of an empty
8978 manual label paragraph should not include the label width
8981 * text.C (prepareToPrint): don't attempt to measure hfills
8982 for empty manual label paragraphs - the answer should be 0
8984 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8986 * CutAndPaste.C: remove commented code and reindent.
8988 2003-03-08 John Levon <levon@movementarian.org>
8991 * lyxfunc.C: move reloadBuffer()
8994 * BufferView.C: to here
8996 * lyxvc.C: add comment
8999 * vc-backend.C: call bv->reload() to avoid
9000 getStatus() check on MENURELOAD
9002 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9004 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9005 to an old format .dep file.
9007 2003-03-07 Angus Leeming <leeming@lyx.org>
9009 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9010 when the LFUN_MOUSE_RELEASE should have been handled by
9011 inset->localDispatch.
9013 2003-03-07 Angus Leeming <leeming@lyx.org>
9015 * BufferView_pimpl.C (dispatch):
9016 * LyXAction.C (init):
9017 * ToolbarDefaults.C (init):
9019 * lyxfunc.C (getStatus):
9020 remove LFUN_INSET_GRAPHICS.
9022 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9024 2003-03-07 Angus Leeming <leeming@lyx.org>
9027 * LyXAction.C (init):
9028 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9030 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9033 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9035 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9036 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9038 2003-03-07 Angus Leeming <leeming@lyx.org>
9040 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9043 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9045 * ParagraphList.C (front): new function
9048 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9050 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9051 and top_row_offset_. removed var first_y.
9053 * text2.C (LyXText, removeRow):
9055 * BufferView_pimpl.C:
9056 use these methods instead of using first_y
9058 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9060 * text2.C (pasteSelection): adjust for checkPastePossible
9062 * CutAndPaste.C: remove Paragraph * buf and replace with
9063 ParagraphList paragraphs.
9064 (DeleteBuffer): delete
9065 (cutSelection): change the tc type to textclass_type
9066 (copySelection): change the tc type to textclass_type
9067 (copySelection): adjust for ParagraphList
9068 (pasteSelection): change the tc type to textclass_type
9069 (pasteSelection): adjust for Paragraphlist
9070 (nrOfParagraphs): simplify for ParagraphList
9071 (checkPastePossible): simplify for ParagraphList
9072 (checkPastePossible): remove unused arg
9074 * ParagraphList.C (insert): handle the case where there are no
9077 * CutAndPaste.h: make CutAndPaste a namespace.
9079 * text3.C (dispatch): adjust
9081 * text.C (breakParagraph): add a ParagraphList as arg
9083 * paragraph_funcs.C (breakParagraph): change to take a
9084 BufferParams and a ParagraphList as args.
9085 (breakParagraphConservative): ditto
9086 (mergeParagraph): ditto
9087 (TeXDeeper): add a ParagraphList arg
9088 (TeXEnvironment): ditto
9091 * buffer.C (readLyXformat2): adjust
9092 (insertStringAsLines): adjust
9093 (latexParagraphs): adjust
9095 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9096 (cutSelection): adjust
9097 (pasteSelection): adjust
9099 * BufferView_pimpl.C (insertInset): adjust
9101 2003-03-05 Angus Leeming <leeming@lyx.org>
9104 * LyXAction.C (init):
9105 * BufferView_pimpl.C (dispatch):
9106 * lyxfunc.C (getStatus):
9107 remove LFUN_CHILD_INSERT.
9109 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9111 2003-03-05 Angus Leeming <leeming@lyx.org>
9114 * LyXAction.C (init):
9115 * src/factory.C (createInset):
9116 * lyxfunc.C (getStatus):
9117 * text3.C (dispatch):
9118 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9120 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9122 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9124 * ParagraphList.C (insert): handle insert right before end()
9125 (erase): fix cases where it can be first or last paragraph.
9127 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9129 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9130 Paragraph::next and Paragraph::previous
9133 * text.C (breakParagraph): adjust
9135 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9136 BufferParams& as arg.
9137 (breakParagraph): use ParagraphList::insert
9138 (breakParagraphConservative): take a Buffer* instead of a
9139 BufferParams& as arg.
9140 (breakParagraphConservative): use ParagraphList::insert.
9142 * buffer.C (insertStringAsLines): un-const it
9143 (insertStringAsLines): adjust
9145 * ParagraphList.C (insert): new function
9147 * CutAndPaste.C (pasteSelection): adjust
9149 * text.C (backspace): adjust
9151 * tabular.C (SetMultiColumn): adjust
9153 * CutAndPaste.C (cutSelection): adjust
9154 (pasteSelection): adjust
9156 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9157 Buffer const * as arg
9159 * ParagraphList.C (erase): new function
9160 * paragraph_funcs.C (mergeParagraph): use it
9161 (mergeParagraph): make it take a Buffer* instead of a
9162 BufferParams* as arg
9164 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9166 (breakParagraphConservative): ditto
9168 * paragraph.h: remove the breakParagraph friend
9170 * paragraph.C (eraseIntern): new function
9171 (setChange): new function
9173 * paragraph_funcs.C (mergeParagraph): make it take a
9174 ParagraphList::iterator instead of a Paragraph *, adjust
9177 * paragraph.h: move an #endif so that the change tracking stuff
9178 also works in the NO_NEXT case.
9180 2003-03-04 Angus Leeming <leeming@lyx.org>
9183 * LyXAction.C: new LFUN_INSET_MODIFY.
9185 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9186 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9188 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9190 * several files: ws changes only
9192 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9193 (TeXEnvironment): ditto
9196 * buffer.C (makeLaTeXFile): adjust
9197 (latexParagraphs): make it take ParagraphList::iterator as args
9199 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9201 * buffer.C (latexParagraphs): adjust
9203 * paragraph.C (TeXOnePar): move function...
9204 (optArgInset): move function...
9205 (TeXEnvironment): move function...
9206 * paragraph_pimpl.C (TeXDeeper): move function...
9207 * paragraph_funcs.C: ...here
9209 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9211 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9213 * buffer.C (readInset): remove compability code for old Figure and
9216 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9218 * buffer.C: ws changes
9221 * BufferView_pimpl.C: ditto
9224 * bufferlist.h: ditto
9228 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9230 * converter.[Ch]: split into itself +
9233 * Makefile.am: += graph.[Ch] + format.[Ch]
9240 * lyxrc.C: added #include "format.h"
9242 2003-02-27 Angus Leeming <leeming@lyx.org>
9244 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9247 * factory.C (createInset): add "label" to the factory.
9249 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9250 string and do no more.
9252 2003-02-27 Angus Leeming <leeming@lyx.org>
9255 * LyXAction.C (init):
9256 * factory.C (createInset):
9257 * BufferView_pimpl.C (dispatch):
9258 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9260 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9262 * lyxfunc.C (dispatch):
9263 * text3.C (dispatch): pass name to params2string.
9265 2003-02-26 Angus Leeming <leeming@lyx.org>
9267 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9269 Rearrange the ~includes. Strip out the unnecessary ones.
9271 * factory.C (createInset): reformat.
9272 create new insets for the various LFUN_XYZ_APPLY lfuns.
9274 2003-02-26 John Levon <levon@movementarian.org>
9277 * lyxrow.C: add isParStart,isParEnd helpers
9279 * paragraph.h: make isInserted/DeletedText take refs
9281 * paragraph_funcs.h:
9282 * paragraph_funcs.C: remove #if 0'd code
9287 * text.C: use lyxrow helpers above.
9288 Move draw and paint routines to RowPainter.
9289 Make several methods use refs not pointers.
9290 Make backgroundColor() const.
9291 Add markChangeInDraw(), isInInset().
9292 Merge changeRegionCase into changeCase.
9293 Make workWidth() shouldn't-happen code into an Assert.
9296 * rowpainter.C: new class for painting a row.
9299 * vspace.C: make inPixels take a ref
9301 2003-02-26 Angus Leeming <leeming@lyx.org>
9303 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9306 2003-02-25 John Levon <levon@movementarian.org>
9308 * ispell.C: give the forked command a more accurate name
9310 2003-02-22 John Levon <levon@movementarian.org>
9313 * toc.C: make TocItem store an id not a Paragraph *
9316 2003-02-21 Angus Leeming <leeming@lyx.org>
9318 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9319 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9320 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9321 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9322 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9323 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9325 * BufferView_pimpl.C (dispatch):
9326 * LyXAction.C (init):
9327 * factory.C (createInset):
9328 * lyxfunc.C (getStatus, dispatch):
9329 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9331 2003-02-21 Angus Leeming <leeming@lyx.org>
9333 * BufferView_pimpl.C (MenuInsertLyXFile):
9334 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9335 * lyxfunc.C (menuNew, open, doImport):
9336 no longer pass a LyXView & to fileDlg.
9338 2003-02-21 Angus Leeming <leeming@lyx.org>
9340 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9341 * LyXAction.C: change, BIBKEY to BIBITEM.
9342 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9343 Change InsetBibKey to InsetBibitem.
9344 Change BIBKEY_CODE to BIBITEM_CODE.
9345 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9346 * factory.C: replace insetbib.h with insetbibitem.h.
9347 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9348 * paragraph.C: replace insetbib.h with insetbibitem.h.
9349 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9350 Change bibkey() to bibitem().
9351 * text.C: remove insetbib.h.
9352 * text2.C: replace insetbib.h with insetbibitem.h.
9353 change bibkey() to bibitem().
9354 * text3.C: remove insetbib.h.
9355 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9357 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9359 * lyxrc.C (output): enclose user email in quotes (in case there are
9362 2003-02-18 John Levon <levon@movementarian.org>
9364 * buffer.h: add std::
9366 2003-02-17 John Levon <levon@movementarian.org>
9372 * pspell.C: reworking. Especially in ispell, a large
9373 number of clean ups and bug fixes.
9375 * lyxfunc.C: fix revert to behave sensibly
9377 2003-02-17 André Pönitz <poenitz@gmx.net>
9380 * commandtags.h: new LFUN_INSERT_BIBKEY
9390 * paragraph_func.C: remove special bibkey handling
9392 2003-02-17 John Levon <levon@movementarian.org>
9394 * text.C (Delete): fix case where delete at the end of
9395 the very first paragraph would not merge the pars
9397 2003-02-17 John Levon <levon@movementarian.org>
9399 * lyxrow.C: fix lastPrintablePos()
9401 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9403 * bufferparams.C (writeLaTeX): add a std:here
9405 * buffer.C: and remove a using directive there
9407 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9409 * buffer.C (makeLaTeXFile): move the code that generates the
9412 * bufferparams.C (writeLaTeX): ... in this new method
9414 * LaTeXFeatures.C (getEncodingSet): make const
9415 (getLanguages): make const
9417 * MenuBackend.C (binding): returns the binding associated to this
9419 (add): sets the status of each item by calling getStatus. Adds
9421 (read): add support for OptSubMenu
9422 (expand): remove extra separator at the end of expanded menu
9424 2003-02-15 John Levon <levon@movementarian.org>
9427 * BufferView_pimpl.C:
9429 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9430 inset code that had no actual effect. Remove unneeded status
9433 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9435 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9438 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9440 * text.C (drawLengthMarker): also draw an arrow marker for
9441 symbolic lengths (medskip...)
9443 2003-02-14 John Levon <levon@movementarian.org>
9446 * tabular.C: better method names
9448 2003-02-14 John Levon <levon@movementarian.org>
9450 * BufferView_pimpl.C:
9455 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9456 it's a more accurate name. Remove some pointless uses.
9458 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9460 * text2.C (LyXText): change order of initilizers to shut off
9463 2003-02-14 John Levon <levon@movementarian.org>
9465 * buffer.C: use ParIterator for getParFromID()
9469 * paragraph_pimpl.h:
9470 * paragraph_pimpl.C: remove unused getParFromID()
9472 2003-02-14 John Levon <levon@movementarian.org>
9474 * buffer.C: remove some very old #if 0'd parse code
9476 2003-02-13 John Levon <levon@movementarian.org>
9480 * text2.C: move hfillExpansion(), numberOfSeparators(),
9481 rowLast(), rowLastPrintable(), numberofHfills(),
9482 numberOfLabelHfills() ...
9485 * lyxrow.C: ... to member functions here.
9490 * text.C: remove LyXText::beginningOfMainBody(), and call
9491 p->beginningOfMainBody() directly. Move the check for
9492 LABEL_MANUAL into the latter.
9499 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9505 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9506 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9508 2003-02-13 John Levon <levon@movementarian.org>
9510 * CutAndPaste.C: remove debug
9512 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9514 * paragraph.C (asString): remove two unused variables
9516 * lyxtextclass.C (readTitleType):
9518 (LyXTextClass): handle new members titletype_ and titlename_
9520 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9522 2003-02-09 John Levon <levon@movementarian.org>
9525 * buffer.C: replace hand-coded list with a map for the dep clean
9527 2003-02-08 John Levon <levon@movementarian.org>
9529 * LaTeX.C: consolidate code into showRunMessage() helper
9531 2003-02-08 John Levon <levon@movementarian.org>
9536 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9537 and pass the size in explicitly
9539 * BufferView_pimpl.h:
9540 * BufferView_pimpl.C:
9542 * BufferView.C: add getCurrentChange()
9544 * BufferView_pimpl.h:
9545 * BufferView_pimpl.C: handle change lfuns
9547 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9548 for changes. Mark pasted paragraphs as new.
9550 * support/lyxtime.h:
9551 * support/lyxtime.C:
9552 * DepTable.C: abstract time_t as lyx::time_type
9555 * LColor.C: add colours for new text, deleted text, changebars
9557 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9558 package use "usenames" option.
9562 * LyXAction.C: add change lfuns
9566 * author.C: author handling
9569 * buffer.C: add a per-buffer author list, with first entry as
9570 current author. Handle new .lyx tokens for change tracking. Output
9571 author list to .lyx file. Output dvipost stuff to .tex preamble.
9572 Bump lyx format to 222.
9575 * bufferlist.C: add setCurrentAuthor() to reset current author details
9579 * bufferparams.C: add param for tracking
9581 * bufferview_funcs.C: output change info in minibuffer
9585 * changes.C: add change-tracking structure
9588 * debug.C: add CHANGES debug flag
9591 * lyxfind.C: add code for finding the next change piece
9594 * lyxrc.C: add user_name and user_email
9597 * lyxrow.C: add a metric for the top of the text line
9600 * text.C: implement accept/rejectChange()
9603 * text.C: paint changebars. Paint new/deleted text in the chosen
9604 colours. Strike through deleted text.
9608 * paragraph_pimpl.h:
9609 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9610 in the current change to the insert functions. Rework erase to
9611 mark text as deleted, adding an eraseIntern() and a range-based
9612 erase(). Implement per-paragraph change lookup and
9615 * paragraph_funcs.C: Fixup paste for change tracking.
9617 * tabular.C: mark added row/columns as new.
9619 * text.C: fix rowLast() to never return -1. Don't allow
9620 spellchecking of deleted text. Track transpose changes. Don't
9621 allow paragraph break or merge where appropriate.
9623 * text2.C: leave cursor at end of selection after a cut.
9625 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9627 * text.C (getLengthMarkerHeight):
9628 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9629 visible on screen too.
9631 2003-02-07 John Levon <levon@movementarian.org>
9633 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9635 2003-02-05 Angus Leeming <leeming@lyx.org>
9637 * lyxserver.C (read_ready): revert my patch of 11 September last year
9638 as it sends PC cpu through the roof. Presumably this means that
9639 the lyxserver will no longer run on an Alpha...
9641 2003-01-30 Angus Leeming <leeming@lyx.org>
9643 * factory.C (createInset): create an InsetCommandParam of type "index"
9644 and use it to 'do the right thing'.
9646 * text2.C (getStringToIndex): ensure that cursor position is always
9647 reset to the reset_cursor position.
9649 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9651 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9654 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9658 * lyxfunc.C: Output messages with identical spelling, punctuation,
9661 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9663 * MenuBackend.C (expandFormats): List only viewable export formats
9666 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9669 * lyxfunc.C (getStatus): Make sure that formats other than
9670 "fax" can also be disabled
9672 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9674 * text3.C (dispatch): put the lfuns that insert insets in 3
9675 groups, and call doInsertInset with appropriate arguments.
9676 (doInsertInset): new function, that creates an inset and inserts
9677 it according to some boolean parameters.
9679 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9681 * buffer.C (readFile): remember to pass on 'par' when calling
9682 readFile recursively.
9684 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9686 * MenuBackend.C (expandFormats): add "..." to import formats.
9688 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9690 * paragraph.C (asString): Remove XForms RTL hacks.
9692 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9693 * buffer.C: fix typo
9695 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9697 * Makefile.am (LIBS): delete var
9698 (lyx_LDADD): add @LIBS@ here instead.
9700 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9702 * Clarify the meaning of "wheel mouse jump"
9704 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9706 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9709 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9711 * importer.C (Loaders): do not preallocate 3 elements in the
9712 vector, since one ends up with 6 elements otherwise
9714 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9716 * DepTable.C (write): write the file name as last element of the
9717 .dep file (because it may contain spaces)
9718 (read): read info in the right order
9720 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9722 * paragraph_pimpl.C (simpleTeXBlanks):
9723 (simpleTeXSpecialChars):
9724 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9726 * tabular.C (latex): add some missing case statements. Reindent.
9728 * MenuBackend.C (expandToc): remove unused variable.
9730 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9739 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9742 2003-01-05 John Levon <levon@movementarian.org>
9745 * BufferView.C: add getEncoding()
9748 * kbsequence.C: do not store last keypress
9751 * lyxfunc.C: store last keypress here instead. Pass encoding
9754 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9756 * lyx_main.C (init): remove annoying error message when following
9757 symbolic links (bug #780)
9759 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9761 * text.C (insertChar):
9762 * lyxrc.C (getDescription): remove extra spaces
9764 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9766 * lyxrc.C (getDescription): remove extra spaces
9768 2002-12-20 John Levon <levon@movementarian.org>
9770 * text3.C: hack fix for page up/down across tall rows
9772 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9774 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9777 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9779 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9780 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9781 thesaurus is not compiled in
9783 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9785 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9787 2002-12-16 Angus Leeming <leeming@lyx.org>
9790 * lyx_main.C (init): remove override_x_deadkeys stuff.
9792 2002-12-12 John Levon <levon@movementarian.org>
9794 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9795 insert. Only remove shift modifier under strict
9798 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9800 * MenuBackend.C (expandToc): fix crash.
9802 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9804 * MenuBackend.C (expandToc): gettext on float names.
9806 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9808 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9809 implement bool empty() [bug 490]
9811 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9813 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9815 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9817 * several files: ws changes
9819 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9821 * text2.C (setCounter): clean up a bit, use boost.format.
9822 (updateCounters): initialize par upon declaration.
9824 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9825 if the layout exists. We do not just store the layout any more.
9826 (SwitchLayoutsBetweenClasses): use boost.format
9828 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9830 * converter.C (convert): if from and to files are the same, use a
9831 temporary files as intermediary
9833 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9836 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9838 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9840 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9842 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9844 * tabular.C (asciiPrintCell): use string(size, char) instead of
9847 * sgml.C (openTag): fix order of arguments to string constructor
9850 * lyxfunc.C (dispatch): use boost.format
9852 * lots of files: change "c" -> 'c'
9854 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9856 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9858 2002-11-25 Angus Leeming <leeming@lyx.org>
9860 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9862 * lyx_main.C (init): compile fix.
9864 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9866 * lyx_cb.C (start): boost.formatify
9867 do not include <iostream>
9869 * lengthcommon.C: ws only
9871 * boost-inst.C,BoostFormat.h: add more explict instantations
9873 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9875 * lots of files: handle USE_BOOST_FORMAT
9877 2002-11-21 John Levon <levon@movementarian.org>
9879 * pspell.C: fix compile
9881 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9883 * lyxfunc.C (dispatch): use boost::format
9887 * lyxfont.C (stateText): use boost::format
9889 * lyx_main.C (LyX): use boost::format
9891 (queryUserLyXDir): ditto
9894 (typedef boost::function): use the recommened syntax.
9896 * importer.C (Import): use boost::format
9898 * debug.C (showLevel): use boost::format
9900 * converter.C (view): use boost::format
9905 * bufferview_funcs.C (currentState): use boost::format
9907 * bufferlist.C (emergencyWrite): use boost::format
9909 * buffer.C (readLyXformat2): use boost::format
9910 (parseSingleLyXformat2Token): ditto
9912 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9914 * LaTeX.C (run): use boost::format
9916 * Chktex.C (scanLogFile): use boost::format
9918 * BufferView_pimpl.C (savePosition): use boost::format
9919 (restorePosition): ditto
9920 (MenuInsertLyXFile): ditto
9922 * BoostFormat.h: help file for explicit instation.
9924 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9926 * tabular.C (latex): Support for block alignment in fixed width
9929 2002-11-17 John Levon <levon@movementarian.org>
9931 * BufferView_pimpl.C:
9933 * lyxfunc.C: split filedialog into open/save
9935 2002-11-08 Juergen Vigna <jug@sad.it>
9937 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9938 by my last patch (hopefully).
9940 2002-11-08 John Levon <levon@movementarian.org>
9949 * toc.C: ParConstIterator, and use it (from Lars)
9951 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9953 * lyxtextclass.[Ch]: revise and add doxygen comments
9955 2002-11-07 John Levon <levon@movementarian.org>
9957 * text.C: fix progress value for spellchecker
9959 * toc.C: fix navigate menu for insetwrap inside minipage
9961 * paragraph_funcs.C: added FIXME for suspect code
9963 2002-11-07 John Levon <levon@movementarian.org>
9965 * BufferView_pimpl.C: fix redrawing of insets
9968 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9970 * text2.C (updateCounters): fix bug 668
9972 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9974 * text3.C (dispatch): Do not make the buffer dirty when moving the
9977 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9979 * vc-backend.C: STRCONV
9982 * text2.C (setCounter): STRCONV
9984 * paragraph.C (asString): STRCONV
9986 * lyxlength.C (asString): STRCONV
9987 (asLatexString): ditto
9989 * lyxgluelength.C (asString): STRCONV
9990 (asLatexString): ditto
9992 * lyxfunc.C (dispatch): STRCONV
9995 * lyxfont.C (stateText): STRCONV
9997 * importer.C (Import): STRCONV
9999 * counters.C (labelItem): STRCONV
10000 (numberLabel): ditto
10001 (numberLabel): remove unused ostringstream o
10006 * bufferview_funcs.C (currentState): STRCONV
10008 * buffer.C (readFile): STRCONV
10009 (asciiParagraph): ditto
10010 (makeLaTeXFile): ditto
10012 * Spacing.C (writeEnvirBegin): STRCONV
10014 * LaTeXFeatures.C (getLanguages): STRCONV
10015 (getPackages): ditto
10017 (getBabelOptions): ditto
10018 (getTClassPreamble): ditto
10019 (getLyXSGMLEntities): ditto
10020 (getIncludedFiles): ditto
10024 (scanAuxFile): ditto
10027 * LString.h: add the STRCONV macros
10029 * BufferView_pimpl.C (savePosition): STRCONV
10030 (restorePosition): ditto
10031 (MenuInsertLyXFile): ditto
10033 * vc-backend.C (scanMaster): change from submatch[...] to
10036 * funcrequest.C: include config.h
10038 * factory.C: include config.h
10040 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10042 * box.C: include config.h
10044 * LaTeX.C (scanAuxFile): change from submatch[...] to
10048 2002-10-25 Angus Leeming <leeming@lyx.org>
10050 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10052 * ispell.[Ch] (setError): new method.
10053 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10054 Use setError() insetead of goto END.
10056 * lyx_cb.C (AutoSave): move out child process into new class
10059 2002-10-30 John Levon <levon@movementarian.org>
10061 * text3.C: make start appendix undoable
10063 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10065 * lyxlength.C (inPixels): Fix returned value.
10067 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10070 2002-10-24 Angus Leeming <leeming@lyx.org>
10072 * lyxgluelength.h: no need to forward declare BufferParams
10073 or BufferView, so don't.
10075 2002-10-21 John Levon <levon@movementarian.org>
10077 * BufferView.C: menuUndo ->undo, redo
10079 * BufferView.h: document, remove dead, make some methods private
10081 * paragraph_funcs.h:
10082 * paragraph_funcs.C:
10083 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10088 * sgml.C: move sgml open/close tag into sgml.C
10090 * bufferview_funcs.h: unused prototype
10093 * lyxfunc.C: remove unused
10096 * text.C: remove unused
10098 2002-10-21 John Levon <levon@movementarian.org>
10102 * BufferView_pimpl.h:
10103 * BufferView_pimpl.C: fix mouse wheel handling based on
10104 patch from Darren Freeman
10106 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10108 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10110 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10112 * lyxlength.C (inPixels): Fix hanfling of negative length.
10113 Fix LyXLength::MU case.
10115 2002-10-16 John Levon <levon@movementarian.org>
10117 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10119 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10121 * converter.C (view): add support for $$i (file name) and $$p
10122 (file path) for the viewer command. If $$i is not specified, then
10123 it is appended to the command (for compatibility with old syntax)
10125 2002-10-14 Juergen Vigna <jug@sad.it>
10127 * undo_funcs.C (textHandleUndo): alter the order in which the
10128 new undopar is added to the LyXText, as we have to set first
10129 the right prev/next and then add it as otherwise the rebuild of
10130 LyXText is not correct. Also reset the cursor to the right paragraph,
10131 with this IMO we could remove the hack in "redoParagraphs()".
10133 2002-10-09 Angus Leeming <leeming@lyx.org>
10135 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10136 to turn off an optimisation if a new inset is to be inserted.
10138 2002-10-11 André Pönitz <poenitz@gmx.net>
10140 * lyxtext.h: make some functions public to allow access
10141 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10143 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10145 * text3.C (dispatch): when changing layout, avoid an infinite loop
10148 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10150 * lyxrc.C (read): treat a viewer or converter command of "none" as
10153 * MenuBackend.C (expandFormats): for an update, also allow the
10154 formats that are not viewable
10156 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10157 script if it is newer than the lyxrc.defaults in user directory
10159 2002-10-07 André Pönitz <poenitz@gmx.net>
10161 * text.C: Vitaly Lipatov's small i18n fix
10163 2002-09-25 Angus Leeming <leeming@lyx.org>
10165 * ispell.h: doxygen fix.
10167 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10169 * buffer.h (readFile): Add a new argument to the method, to allow
10170 reading of old-format templates.
10172 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10174 * toc.C (getTocList): Get TOC from InsetWrap.
10176 2002-09-16 John Levon <levon@movementarian.org>
10178 * lyxfunc.C: check tabular for cut/copy too
10180 2002-09-12 John Levon <levon@movementarian.org>
10182 * LyXAction.C: tidy
10185 * factory.C: add header
10187 * paragraph_funcs.h:
10188 * paragraph_funcs.C: cleanup
10190 2002-09-11 John Levon <levon@movementarian.org>
10192 * PrinterParams.h: odd/even default to true
10194 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10196 * PrinterParams.h: update printer parameters for new xforms dialog
10198 2002-09-11 Angus Leeming <leeming@lyx.org>
10200 * lyxserver.C (read_ready): re-write to make it more transparent
10201 and to make it work in coherent fashion under Tru64 Unix.
10203 2002-09-11 André Pönitz <poenitz@gmx.net>
10207 * text3.C: implement LFUN_WORDSEL
10209 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10211 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10212 make floatlist_ a boost::shared_ptr<FloatList>
10214 * lyxtextclass.C: include FloatList.h
10215 (LyXTextClass): initialize floatlist_
10216 (TextClassTags): add TC_NOFLOAT
10217 (Read): match "nofloat" to TC_NOFLOAT and use it.
10218 (readFloat): modify call to floatlist_
10222 * FloatList.[Ch] (FloatList): remove commented out float
10224 (erase): new function
10226 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10228 * MenuBackend.C (expandToc): fix crash when there is no document
10231 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10233 * many files: Add insetwrap.
10235 2002-09-09 John Levon <levon@movementarian.org>
10237 * text2.C: remove confusing and awkward depth wraparound
10239 2002-09-09 John Levon <levon@movementarian.org>
10241 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10244 * buffer.C: remove getIncludeonlyList()
10247 * lyxfunc.C: remove headers
10249 2002-09-09 Juergen Vigna <jug@sad.it>
10251 * text.C (getColumnNearX): fix form Michael this is most
10252 probably a cut&paste bug.
10254 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10256 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10258 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10259 references, ws changes.
10261 * text2.C (init): update counters after init
10262 (insertParagraph): no need to set counter on idividual paragraphs.
10263 (setCounter): access the counters object in the textclass object
10264 on in the buffer object.
10265 (updateCounters): ditto
10267 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10268 shared_ptr<Counters> to avoid loading counters.h in all
10270 (LyXTextClass): initialize ctrs_
10271 (TextClassTags): add TC_COUNTER, and ...
10272 (Read): use it here.
10273 (CounterTags): new tags
10274 (readCounter): new function
10275 (counters): new funtion
10276 (defaultLayoutName): return a const reference
10278 * counters.C (Counters): remove contructor
10279 (newCounter): remove a couple of unneeded statements.
10280 (newCounter): simplify a bit.
10281 (numberLabel): some small formatting changes.
10283 * buffer.[Ch]: remove all traces of counters, move the Counters
10284 object to the LyXTextClass.
10286 2002-09-06 Alain Castera <castera@in2p3.fr>
10288 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10289 package to set the horizontal alignment on fixed width columns.
10292 * lyx_sty.h: added tabularnewline macro def.
10294 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10296 2002-09-06 John Levon <levon@movementarian.org>
10298 * LyXAction.C: tooltips for sub/superscript
10300 * MenuBackend.C: a bit more verbose
10302 * lyxfunc.C: tiny clean
10304 * undo_funcs.C: document undo_frozen
10306 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10308 * counters.C (Counters): add missing algorithm counter.
10310 * text2.C (setCounter): lookup the counter with layouts latexname
10311 instead of by section number.
10312 (setCounter): use a hackish way to lookup the correct enum
10314 a float name->type change
10315 reset enum couners with counter name directly instead of depth value.
10317 * counters.C (Counters): remove the push_backs, change to use the
10318 float type not the float name.
10319 (labelItem): remove unused string, float name->type change
10321 * counters.h: don't include vector, loose the enums and sects vectors
10323 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10325 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10326 (Read): add float->TC_FLOAT to textclassTags
10327 (Read): and handle it in the switch
10328 (readFloat): new function
10330 * FloatList.C (FloatList): comment out the hardcoded float
10333 * lyxlayout.h: ws change.
10335 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10337 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10339 2002-09-03 Angus Leeming <leeming@lyx.org>
10341 * BufferView_pimpl.h: qualified name is not allowed in member
10342 declaration: WorkArea & Pimpl::workarea() const;
10344 * factory.C: added using std::endl directive.
10346 * text3.C: added using std::find and std::vector directives.
10348 2002-08-29 André Pönitz <poenitz@gmx.net>
10351 * text2.C: remove unused member number_of_rows
10354 * BufferView2.C: remove file, move contents to...
10355 * BufferView.C: ... here
10357 * BufferView_pimpl.C:
10358 * factory.C: move more inset creation to factory
10360 * vspace.C: avoid direct usage of LyXText, ws changes
10363 don't provide direct access to WorkArea, use two simple
10364 acessors haveSelction() and workHeight() instead
10367 2002-08-29 John Levon <levon@movementarian.org>
10369 * BufferView_pimpl.C (dispatch): do not continue when
10372 2002-08-28 André Pönitz <poenitz@gmx.net>
10374 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10377 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10379 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10381 * buffer.C: increment LYX_FORMAT to 221
10383 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10384 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10386 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10388 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10390 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10392 * factory.C (createInset): use LyXTextClass::floats
10394 * MenuBackend.C (expandFloatListInsert):
10395 (expandFloatInsert):
10398 * text2.C (setCounter):
10400 * LaTeXFeatures.C (useFloat):
10401 (getFloatDefinitions):
10403 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10405 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10406 floatlist_, with accessor floats().
10408 * FloatList.h: remove global FloatList
10410 2002-08-26 André Pönitz <poenitz@gmx.net>
10412 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10416 * BufferView_pimpl.C:
10417 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10419 2002-08-25 John Levon <levon@movementarian.org>
10421 * LyXAction.C: fix margin note description
10423 2002-08-24 John Levon <levon@movementarian.org>
10427 * bufferview_funcs.C:
10429 * undo_funcs.C: cleanups
10431 * lyxfunc.C: disable CUT/COPY when no selection
10433 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10435 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10436 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10438 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10439 Add backward compatibility to "mono", "gray" and "no".
10441 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10443 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10444 (and file_format >= 200).
10446 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10448 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10450 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10452 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10454 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10456 * BufferView_pimpl.C:
10463 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10464 inset and code to make it work with the paragraph code. The inset
10465 can be anywhere in the paragraph, but will only do the expected
10466 thing in LaTeX if the layout file contains the parameter line
10468 (or more generally, a nonzero value) for that layout.
10470 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10472 * paragraph.h: remove the declaration of undefined counters class
10475 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10477 * text2.C (setCounter): fixed enumeration mis-count as reported by
10478 Dr. Richard Hawkins.
10480 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10482 * paragraph_funcs.h: remove some unneeded includes
10484 * text.C (backspace): pasteParagraph now in global scipe
10486 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10487 (pasteSelection): ditto
10489 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10490 * paragraph_funcs.C (pasteParagraph): ... here
10492 2002-08-20 André Pönitz <poenitz@gmx.net>
10494 * commandtags.h: new LFUNs for swapping/copying table row/colums
10497 * lyxfunc.C: support for new lfuns
10499 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10502 * buffer.[Ch]: remove NO_COMPABILITY stuff
10504 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10506 * boost.C (throw_exception): new file, with helper function for
10507 boost compiled without exceptions.
10512 * ParameterStruct.h:
10513 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10515 * bufferlist.C (emergencyWriteAll): use boost bind
10517 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10519 * text.C: include paragraph_funcs.h
10520 (breakParagraph): breakParagraph is now in global scope
10522 * paragraph_funcs.[Ch]: new files
10524 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10527 * buffer.C: include paragraph_funcs.h
10528 (insertStringAsLines): breakParagraph is now in global scope
10530 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10533 * CutAndPaste.C: include paragraph_funcs.h
10534 (cutSelection): breakParagraphConservative is now in global scope
10535 (pasteSelection): ditto
10537 * buffer.h: declare oprator== and operator!= for
10538 Buffer::inset_iterator
10540 * bufferlist.C (emergencyWrite): don't use fmt(...)
10542 * text3.C: add using std::endl
10544 * BufferView.C (moveCursorUpdate): remove default arg
10546 2002-08-20 André Pönitz <poenitz@gmx.net>
10548 * buffer.[Ch]: move inline functions to .C
10551 * BufferView_pimpl.C:
10553 * buffer.[Ch]: use improved inset_iterator
10556 * paragraph.[Ch]: write one paragraph at a time
10558 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10560 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10561 style if style is not specified.
10563 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10565 * text2.C (setCounter): when searching for right label for a
10566 caption, make sure to recurse to parent insets (so that a caption
10567 in a minipage in a figure float works) (bug #568)
10569 2002-08-20 André Pönitz <poenitz@gmx.net>
10571 * text3.C: new file for LyXText::dispatch() and helpers
10573 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10575 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10577 2002-08-19 André Pönitz <poenitz@gmx.net>
10580 * text.C: new LyXText::dispatch()
10582 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10584 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10586 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10588 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10591 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10593 * Makefile.am: use $(variables) instead of @substitutions@
10595 2002-08-15 André Pönitz <poenitz@gmx.net>
10598 * BufferView_pimpl.C: streamlining mathed <-> outer world
10602 * LyXAction.C: remove unused LFUN_MATH
10604 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10606 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10608 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10610 * paragraph.C (Paragraph): reformat a bit
10611 (cutIntoMinibuffer): use builtin InsetList function instad of
10615 * buffer.C: include boost/bind.hpp, add using std::for_each
10616 (writeFileAscii): use ParagraphList iterators
10617 (validate): use for_each for validate traversal of paragraphs
10618 (getBibkeyList): use ParagraphList iterators
10619 (resizeInsets): use for_each to resizeInsetsLyXText for all
10621 (getParFromID): use ParagraphList iterators
10623 * BufferView2.C (lockInset): use paragraph list and iterators
10625 2002-08-14 John Levon <levon@movementarian.org>
10627 * lyxserver.C: remove spurious xforms include
10629 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10631 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10633 2002-08-13 André Pönitz <poenitz@gmx.net>
10636 * lyxfunc.C: further cleaning
10638 2002-08-13 André Pönitz <poenitz@gmx.net>
10640 * funcrequest.h: new constructor
10642 * funcrequest.C: move stuff here from .h
10645 * BufferView_pimpl.C:
10648 * lyxfunc.C: subsequent changes
10650 * lyxfunc.h: new view() member function
10652 * lyxfunc.C: subsequent changes
10654 2002-08-13 Angus Leeming <leeming@lyx.org>
10657 * BufferView_pimpl.C:
10665 changes due to the changed LyXView interface that now returns references
10666 to member variables not pointers.
10668 2002-08-13 Angus Leeming <leeming@lyx.org>
10670 * WordLangTuple (word, lang_code): return references to strings,
10675 * lyxtext.h: forward-declare WordLangTuple.
10680 * text.C: #include "WordLangTuple.h".
10683 * text.C: (selectNextWordToSpellcheck): constify return type.
10685 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10691 * paragraph_pimpl.h:
10694 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10695 suggested by Angus.
10696 Made updateCounter always count from start of buffer, and removed
10697 second argument (par).
10698 Reverted floats number display to '#'. Perhaps I'll try again when the
10699 code base is sanitized a bit.
10701 2002-08-12 Angus Leeming <leeming@lyx.org>
10703 * buffer.[Ch] (getLabelList): constify.
10705 2002-08-07 André Pönitz <poenitz@gmx.net>
10707 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10709 * funcrequest.h: extension to keep mouse (x,y) position
10711 2002-08-12 Juergen Vigna <jug@sad.it>
10713 * BufferView2.C (insertErrors): forbid undo when inserting error
10716 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10718 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10720 * ParagraphList.[Ch]: new files
10722 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10724 * BufferView2.C (lockInset): ParagraphList changes
10727 * bufferlist.C: ditto
10731 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10733 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10734 unused class variable counter_,
10736 * paragraph.[Ch] (getFirstCounter): delete unused function
10738 * counters.C: include LAssert.h
10739 (reset): add a new function with no arg, change other version to
10740 not have def. arg and to not allow empty arg.
10742 * text2.C (setCounter): remove empty arg from call to Counters::reset
10744 2002-08-11 John Levon <levon@movementarian.org>
10746 * Makefile.am: add WordLangTuple.h
10748 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10750 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10751 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10753 * insets/insettext.C: InsetList changes
10755 * graphics/GraphicsSupport.C (operator()): InsetList changes
10757 * toc.C (getTocList): InsetList changes
10759 * paragraph_pimpl.[Ch]: InsetList changes
10761 * paragraph.[Ch]: InsetList changes
10763 * buffer.C (inset_iterator): InsetList changes
10764 (setParagraph): ditto
10765 * buffer.h (inset_iterator): ditto
10766 * iterators.C (operator++): ditto
10767 * iterators.h: ditto
10769 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10771 * InsetList.[Ch]: new files, most InsetList handling moved out of
10774 * BufferView2.C (removeAutoInsets): InsetList changes
10776 (ChangeInsets): ditto
10778 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10780 * paragraph_pimpl.h (empty): new function
10782 * paragraph.[Ch] (empty): new function
10784 * other files: use the new Paragraph::empty function
10786 2002-08-09 John Levon <levon@movementarian.org>
10788 * lyxtext.h: remove unused refresh_height
10790 2002-08-09 John Levon <levon@movementarian.org>
10797 * paragraph.C: move sgml char escaping out of paragraph
10800 * paragraph.C: remove id setter
10804 * paragraph_pimpl.C: remove dead tex_code_break_column
10806 * bufferview_funcs.C: small cleanup
10808 * lyxfunc.C: remove dead proto
10810 * lyxtext.h: make some stuff private. Remove some dead stuff.
10812 * lyxgluelength.C: make as[LyX]String() readable
10814 2002-08-08 John Levon <levon@movementarian.org>
10819 * ToolbarDefaults.C:
10822 * toc.C: lyxaction cleanup
10824 2002-08-08 John Levon <levon@movementarian.org>
10826 * BufferView2.C: small cleanup
10829 * lyxfind.C: move unnecessary header into the .C
10831 2002-08-08 John Levon <levon@movementarian.org>
10833 * funcrequest.h: just tedious nonsense
10836 * lyx_main.C: cleanups
10839 * vspace.C: remove dead header lyx_main.h
10841 2002-08-07 Angus Leeming <leeming@lyx.org>
10844 * paragraph_pimpl.h:
10845 Forward declare class Counters in paragraph.h by moving the ctrs member
10846 variable into Paragraph::Pimpl.
10847 (counters): new method, returning a reference to pimpl_->ctrs.
10849 * text2.C: ensuing changes.
10851 2002-08-07 John Levon <levon@movementarian.org>
10853 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10855 * BufferView_pimpl.C: announce X selection on double/triple
10858 * lyx_main.C: use correct bool in batch dispatch
10860 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10862 2002-08-07 André Pönitz <poenitz@gmx.net>
10864 * funcrequest.h: new class to wrap a kb_action and its argument
10867 * BufferView_pimpl[Ch]:
10871 * lyxrc.C: subsequent changes
10874 2002-08-07 John Levon <levon@movementarian.org>
10876 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10877 document options change.
10879 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10884 * makefile.am: move counters functionality over from
10885 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10887 2002-08-06 John Levon <levon@movementarian.org>
10889 * WordLangTuple.h: new file for word + language code tuple
10900 * BufferView2.C: use WordLangTuple
10903 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10905 2002-08-06 John Levon <levon@movementarian.org>
10907 * lyx_main.C: fix cmdline batch handling
10909 2002-08-06 André Pönitz <poenitz@gmx.net>
10911 * lyxrc.C: set default for show_banner to true
10913 2002-08-06 John Levon <levon@movementarian.org>
10915 * pspell.C: fix a crash, and allow new aspell to work
10917 2002-08-06 John Levon <levon@movementarian.org>
10920 * kbmap.C: small cleanup
10923 * vspace.C: add const
10925 2002-08-05 John Levon <levon@movementarian.org>
10927 * LyXAction.C: back to tabular-insert
10929 2002-08-04 John Levon <levon@movementarian.org>
10932 * BufferView.C: cosmetic change
10934 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10944 * BufferView2.C: purge all "Lyx" not "LyX" strings
10947 * lyxcursor.C: attempt to add some documentation
10952 * ToolbarDefaults.C:
10953 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10954 merge with LFUN_TABULAR_INSERT
10961 * pspell.C: split up i/pspell implementations into separate
10962 files, many cleanups
10964 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10966 * text2.C: some cleanup
10968 * lyxfunc.C: don't check for isp_command == "none" any more, it
10969 didn't make any sense
10971 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10976 * makefile.am: move counters functionality over
10977 from text2.C/paragraph.[Ch] to counters.[Ch], and
10979 2002-08-02 John Levon <levon@movementarian.org>
10981 * buffer.C: s/lyxconvert/lyx2lyx/
10983 2002-08-02 Angus Leeming <leeming@lyx.org>
10985 * lyxlex.C: revert John's change as it breaks reading of the user
10988 2002-08-02 Angus Leeming <leeming@lyx.org>
10990 * importer.C (Import):
10991 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10992 changes due to LyXView::view() now returning a boost::shared_ptr.
10994 2002-08-02 John Levon <levon@movementarian.org>
10996 * lyxlex.C: small cleanup
10998 2002-08-02 John Levon <levon@movementarian.org>
11000 * text2.C (status): small cleanup, no logic change
11002 2002-08-01 John Levon <levon@movementarian.org>
11005 * buffer.C (writeFile): don't output alerts, caller
11009 * lyx_cb.C: from above
11011 * lyxfunc.C: allow to open non-existent files
11013 2002-07-31 John Levon <levon@movementarian.org>
11015 * lyxserver.C: don't let incidental errors get
11018 2002-07-30 John Levon <levon@movementarian.org>
11020 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11022 2002-07-30 John Levon <levon@movementarian.org>
11025 * lyxserver.C: remove I/O callback too
11027 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11029 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11032 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11034 * many files: strip,frontStrip -> trim,ltrim,rtrim
11036 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11038 * PrinterParams.h: remove extern containsOnly, and include
11039 support/lstrings.h instead.
11041 * LaTeX.C (scanAuxFile): modify because of strip changes
11043 * buffer.C (makeLaTeXFile): ditto
11044 * bufferparams.C (writeFile): ditt
11045 * lyxfont.C (stateText): ditto
11046 * lyxserver.C (read_ready): ditto
11047 * vc-backend.C (scanMaster): ditto
11049 * BufferView_pimpl.h: ws changes
11051 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11053 2002-07-26 André Pönitz <poenitz@gmx.net>
11055 * kb_sequence.C: remove unnedred usings
11057 2002-07-26 Juergen Vigna <jug@sad.it>
11059 * lyxfind.C (LyXReplace): we have to check better if the returned
11060 text is not of theLockingInset()->getLockingInset().
11062 2002-07-25 Juergen Vigna <jug@sad.it>
11064 * lyxfind.C (LyXReplace): don't replace if we don't get the
11067 * undo_funcs.C (createUndo): remove debugging code.
11069 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11071 * buffer.C (parseSingleLyXformat2Token): Use default placement
11072 when reading old floats.
11074 * FloatList.C (FloatList): Change the default placement of figure
11075 and tables to "tbp".
11077 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11079 * MenuBackend.C: using std::max
11081 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11083 * MenuBackend.C (expandToc):
11084 (expandToc2): code moved from xforms menu frontend. It is now
11085 generic and TOCs are transparent to menu frontends.
11087 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11089 * toc.C (getTocList): protect against buf=0
11091 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11092 Menu as first parameter. Now, this calls itself recursively to
11093 expand a whole tree (this will be useful for TOC handling)
11094 (expandFloatInsert): remove 'wide' version of floats
11096 * MenuBackend.h (submenuname): returns the name of the submenu.
11097 (submenu): returns the submenu itself, provided it has been
11098 created by MenuBackend::expand
11100 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11102 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11103 insets which have noFontChange == true. (bug #172)
11105 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11107 * BufferView_pimpl.C: add connection objects and use them...
11110 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11112 * MenuBackend.C (expandLastfiles):
11115 (expandFloatListInsert):
11116 (expandFloatInsert):
11117 (expand): split expand in parts
11119 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11121 * lyx_gui.C: use lyx_gui::exit()
11123 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11125 * LyXAction.C: show the failing pseudo action
11127 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11129 * buffer.C (readFile): Run the lyxconvert script in order to read
11132 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11136 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11138 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11142 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11144 2002-07-22 Herbert Voss <voss@lyx.org>
11147 * lyxlength.[Ch]: add support for the vertical lengths
11149 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11151 * toc.[Ch]: std:: fixes
11153 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11155 * lyxrc.C: do not include lyx_main.h
11157 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11163 * BufferView2.C: include "lyxlex.h"
11166 * bufferparams.h: do not #include "lyxlex.h"
11168 * lyxtextclasslist.C (Add): remove method
11169 (classlist): renamed to classlist_
11171 * paragraph_pimpl.C:
11175 * bufferview_funcs.C:
11180 * toc.C (getTocList): use BufferParams::getLyXTextClass
11182 * toc.C (getTocList): use InsetFloat::addToToc
11184 * toc.[Ch]: new files, containing helper functions to handle table
11187 * lyxfunc.C (dispatch): no need to remove spaces around command
11189 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11190 first command of the sequence; it is not very clever, but I do not
11191 have a better idea, actually
11193 * LyXAction.C (LookupFunc): make sure to remove space at the
11194 beginning and end of the command
11196 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11198 * MenuBackend.C (getMenubar): new method: return the menubar of
11200 (read): treat differently reading of menu and menubar (in
11201 particular, the menubar has no name now)
11202 (Menu::menubar): remove
11204 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11207 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11209 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11210 a bibitem inset in a RTL paragraph.
11212 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11214 * paragraph_pimpl.C: constify
11216 * BufferView_pimpl.C:
11218 * lyxfunc.C: fix dispatch in a nicer way
11220 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11222 * lyxfunc.C (dispatch):
11223 * BufferView_pimpl.C:
11224 * BufferView_pimpl.h:
11226 * BufferView.h: rename Dispatch() to dispatch()
11228 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11230 * lyxlayout.C (Read): honor DependsOn tag
11232 * lyxlayout.[Ch] (depends_on): new method
11234 * version.C.in: update lyx_docversion
11236 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11238 * paragraph.C (validate): remove from here...
11239 * paragraph_pimpl.C (validate): ... and move here
11240 (isTextAt): make it const
11242 * buffer.C (getLists): ws cleanup
11244 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11246 * language.C (read): Use iso8859-1 encoding in latex_lang
11247 (this prevents LyX from crashing when using iso10646-1 encoding).
11249 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * text2.C (toggleInset): if cursor is inside an inset, close the
11252 inset and leave cursor _after_ it
11254 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11256 * lyxfunc.C: move minibuffer completion handling out of here
11258 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11260 * BufferView_pimpl.C:
11261 * LaTeX.C: fix dispatch calls
11263 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11265 * text.C (drawChars): Fix Arabic text rendering.
11267 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11271 * lyxfunc.C: remove message-push/pop
11275 * lyxfunc.C: rationalise some code by removing verboseDispatch
11276 in favour of a bool argument to dispatch()
11278 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11280 * lyx_main.C (init): make sure to read symlinks as absolute paths
11282 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11285 * lyxfunc.C: no need for commandshortcut to be a member
11287 2002-07-15 André Pönitz <poenitz@gmx.net>
11289 * converter.C: add support for $$s (scripts from lib/scripts dir)
11290 * lyx_main.C: white space
11292 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11296 * lyxrc.C: remove second exit confirmation
11298 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11303 * BufferView_pimpl.h:
11304 * BufferView_pimpl.C:
11305 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11307 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11309 * MenuBackend.C (expand): add numeric shortcuts to document menu
11311 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11313 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11315 * lyxfont.C (setLyXFamily):
11322 * buffer.C (asciiParagraph): use ascii_lowercase
11324 2002-07-15 Mike Fabian <mfabian@suse.de>
11326 * lyxlex_pimpl.C (search_kw):
11327 * lyxlex.C (getLongString):
11328 * converter.h (operator<):
11329 * converter.C (operator<):
11330 * buffer.C (parseSingleLyXformat2Token):
11332 * ToolbarDefaults.C (read):
11333 * MenuBackend.C (checkShortcuts):
11335 * LColor.C (getFromGUIName):
11336 (getFromLyXName): use the compare_ascii_no_case instead of
11337 compare_no_case, because in turkish, 'i' is not the lowercase
11338 version of 'I', and thus turkish locale breaks parsing of tags.
11340 2002-07-16 Angus Leeming <leeming@lyx.org>
11342 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11343 now takes a Buffer const & argument.
11345 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11347 * BufferView.C (resize): check there's a buffer to resize
11349 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11351 * lyxfunc.C: remove dead code
11354 * lyxserver.C: use lyx_guii::set_read_callback
11356 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11358 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11359 an inset in a RTL paragraph.
11361 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11363 * lyxfunc.C: repaint after a font size update
11365 2002-07-15 André Pönitz <poenitz@gmx.net>
11367 * lyxlength.C: inBP should be able to return negative values
11369 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11371 * lyxfunc.C: use lyx_gui::update_fonts()
11373 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11375 * lyxfunc.C: use lyx_gui::update_color()
11377 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11383 * lyxrc.C: remove file->new asks for name option, and let
11384 buffer-new take an argument
11386 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11388 * BufferView_pimpl.C: remove unneeded extra repaint()
11390 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11392 * LyXAction.C: allow command-sequence with NoBuffer
11394 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11396 2002-07-10 Angus Leeming <leeming@lyx.org>
11398 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11400 2002-07-09 Angus Leeming <leeming@lyx.org>
11402 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11404 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11406 * lengthcommon.h: whitespace
11408 * lyxfunc.C: update scrollbar after goto paragraph
11410 * lyxtext.h: factor out page break drawing, and fix it so
11411 page break/added space paints as selected nicely
11413 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11415 * BufferView_pimpl.C: add FIXMEs, clean up a little
11417 2002-07-09 André Pönitz <poenitz@gmx.net>
11419 * lyxfont.[Ch]: support for wasy symbols
11421 2002-07-08 André Pönitz <poenitz@gmx.net>
11423 * BufferView_pimpl.C: apply John's patch for #93.
11425 2002-07-05 Angus Leeming <leeming@lyx.org>
11427 * BufferView_pimpl.C (buffer): generate previews if desired.
11429 * LColor.h: add "preview" to the color enum.
11431 * LColor.C (LColor): add a corresponding entry to the items array.
11433 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11436 2002-07-05 Angus Leeming <leeming@lyx.org>
11438 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11439 The body of the code is now in the method that is passed an ostream &
11440 rather than a file name.
11441 Pass an additional only_preamble parameter, useful for the forthcoming
11444 2002-07-03 André Pönitz <poenitz@gmx.net>
11446 * lyxfunc.C: simplify getStatus() a bit for math stuff
11448 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11450 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11452 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * text.C (changeRegionCase): do not change case of all the
11455 document when region ends at paragraph end (bug #461)
11457 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11459 * paragraph.C (startTeXParParams):
11460 (endTeXParParams): add \protect when necessary
11462 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11464 * BufferView_pimpl.C (workAreaExpose): remove warning
11466 2002-06-27 Angus Leeming <leeming@lyx.org>
11468 * Makefile.am: add lyxlayout_ptr_fwd.h.
11470 2002-06-26 André Pönitz <poenitz@gmx.net>
11472 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11474 2002-06-25 Angus Leeming <leeming@lyx.org>
11476 * lyxfunc.C (dispatch): Comment out the call to
11477 grfx::GCache::changeDisplay. The method no longer exists now that the
11478 pixmap generation part of the graphics loader has been moved into
11481 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11483 * text2.C: layout as layout
11485 * text.C: layout as layout
11487 * tabular.C (OldFormatRead): layout as layout
11489 * paragraph_pimpl.C (TeXDeeper): layout as layout
11490 (realizeFont): layout as layout
11492 * paragraph.C (writeFile): layout as layout
11493 (validate): layout as layout
11494 (getFont): layout as layout
11495 (getLabelFont): layout as layout
11496 (getLayoutFont): layout as layout
11497 (breakParagraph): layout as layout
11498 (stripLeadingSpaces): layout as layout
11499 (getEndLabel): layout as layout
11500 (getMaxDepthAfter): layout as layout
11501 (applyLayout): layout as layout
11502 (TeXOnePar): layout as layout
11503 (simpleTeXOnePar): layout as layout
11504 (TeXEnvironment): layout as layout
11505 (layout): layout as layout
11506 (layout): layout as layout
11508 * lyxtextclass.C (compare_name): new functor to work with
11509 shared_ptr, layout as layout
11510 (Read): layout as layout
11511 (hasLayout): layout as layout
11512 (operator): layout as layout
11513 (delete_layout): layout as layout
11514 (defaultLayout): layout as layout
11516 * lyxlayout_ptr_fwd.h: new file
11518 * lyxlayout.C (Read): layout as layout
11520 * lyx_cb.C (MenuInsertLabel): layout as layout
11522 * bufferlist.C (newFile): layout as layout
11524 * buffer.C (readLyXformat2): layout as layout
11525 (parseSingleLyXformat2Token): layout as layout
11526 (insertStringAsLines): layout as layout
11527 (asciiParagraph): layout as layout
11528 (latexParagraphs): layout as layout
11529 (makeLinuxDocFile): layout as layout
11530 (simpleLinuxDocOnePar): layout as layout
11531 (makeDocBookFile): layout as layout
11532 (simpleDocBookOnePar): layout as layout
11533 (getLists): layout as layout
11535 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11537 * CutAndPaste.C (cutSelection): layout as layout
11538 (pasteSelection): layout as layout
11539 (SwitchLayoutsBetweenClasses): layout as layout
11541 * BufferView_pimpl.C (Dispatch): layout as layout
11542 (smartQuote): layout as layout
11544 * BufferView2.C (unlockInset): layout as layout
11546 2002-06-24 André Pönitz <poenitz@gmx.net>
11548 * lyxfunc.C: fix #487
11550 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11554 * lyxfunc.C: remove display_shortcuts, show_banner
11556 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11558 * Buffer_pimpl.C: oops, update on resize
11560 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11567 * BufferView.C: use repaint()
11569 * BufferView_pimpl.h:
11570 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11571 as it's a clearer description. Remove superfluous
11574 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11576 * text.C: fix bug 488. Not ideal, but getting
11577 getWord() to work properly for the insets that
11578 matter is more difficult ...
11580 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11582 * BufferView_pimpl.C:
11585 * lyxfunc.C: remove the six million index lyxfuncs to just
11586 one, and DTRT (bug 458)
11588 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11592 * BufferView_pimpl.h:
11593 * BufferView_pimpl.C: clean up resize() stuff,
11594 and unnecessary updateScreen()s
11596 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11600 * BufferView_pimpl.h:
11601 * BufferView_pimpl.C:
11604 * minibuffer.C: remove focus management of workarea,
11605 not needed. Use screen's greyOut()
11607 2002-06-17 Herbert Voss <voss@lyx.org>
11609 * converter.C: (convert) do not post a message, when converting
11610 fails, let the calling function decide what to do in this case
11612 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11614 * lyxfunc.C: tidy up a little
11616 2002-06-16 <alstrup@diku.dk>
11618 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11619 Got rid of FORMS_H_LOCATION include. Now we are
11622 2002-06-15 LyX Development team <lyx@rilke>
11624 * buffer.[Ch] (sgmlOpenTag):
11625 (sgmlCloseTag): Added support for avoiding pernicious mixed
11626 content. Return number of lines written.
11628 (makeLinuxDocFile):
11629 (makeDocBookFile): Fixed calls to sgml*Tag.
11630 Simple white space clean.
11632 (simpleDocBookOnePar): Simple white space clean.
11634 * tabular.[Ch] (docBook): Renamed to docbook and got another
11635 argument to related with the pernicious mixed content.
11637 (docbookRow): Fixed calls for docbook inset method.
11639 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11641 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11642 so it's X11 independent.
11646 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11648 2002-06-15 Lyx Development team <lyx@electronia>
11650 * intl.h: Renamed getTrans to getTransManager.
11652 2002-06-14 Angus Leeming <leeming@lyx.org>
11654 * Makefile.am: nuke forgotten stl_string_fwd.h.
11656 2002-06-12 Angus Leeming <leeming@lyx.org>
11658 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11660 2002-06-13 Angus Leeming <leeming@lyx.org>
11663 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11665 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11667 * kbmap.C (getiso): add support for cyrillic and greek
11669 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11673 * BufferView_pimpl.h:
11674 * BufferView_pimpl.C: move bogus scrolling logic
11677 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11680 * BufferView_pimpl.C: view->resize() change
11682 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11684 * BufferView_pimpl.C: topCursorVisible
11687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11691 * lyx_gui.C: move to frontends/
11695 * lyx_main.C: changes from above
11697 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11704 * lyx_main.C: minor tidy
11706 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11708 * BufferView_pimpl.h:
11709 * BufferView_pimpl.C:
11711 * BufferView.C: make painter() const,
11714 * BufferView2.C: use screen() accessor
11717 * lyx_main.C: some minor cleanup
11719 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11721 * BufferView_pimpl.h:
11722 * BufferView_pimpl.C: remove enter/leaveView,
11725 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11730 * BufferView_pimpl.h:
11731 * BufferView_pimpl.C: only construct screen once,
11734 * lyxrc.C: remove pointless comment
11736 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11739 * BufferView.C: remove active() and belowMouse()
11741 * BufferView_pimpl.h:
11742 * BufferView_pimpl.C: use workarea() not workarea_,
11743 and make it use a scoped_ptr instead
11745 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11747 * lyx_gui.C: add debug message on BadWindow
11749 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11751 * sp_spell.C: fdopen is not part of the C++ standard.
11753 * paragraph.C (InsetIterator): use >= instead of ==
11755 2002-06-07 Angus Leeming <leeming@lyx.org>
11757 Fixes needed to compile with Compaq cxx 6.5.
11758 * BufferView_pimpl.C:
11765 * lyxtextclasslist.C:
11770 all c-library variables have been moved into namespace std. Wrap
11771 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11776 Add a using std::abs declaration.
11778 * kbmap.h (modifier_pair):
11779 * paragraph.h (InsetTable, InsetList):
11780 * lyxfont.h (FontBits):
11781 type definition made public.
11783 * bufferlist.C (emergencyWriteAll): the compiler complains that
11784 there is more than one possible lyx::class_fun template to choose from.
11785 I re-named the void specialisation as lyx::void_class_fun.
11787 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11789 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11790 the compiler is is unable to find tostr in write_attribute.
11792 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11794 * buffer.C (sgmlError): hide #warning
11796 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11798 * xtl/*: get rid of xtl, which is not in use anyway
11800 * LyXAction.C (init):
11801 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11802 were unimplemented xtl experimentation
11804 2002-06-04 André Pönitz <poenitz@gmx.net>
11806 * lyxfunc.C: disable array operation on simple formulae
11808 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11810 * converter.C: constify a bit
11812 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11814 * lyx_gui.C: check xforms version correctly
11816 2002-04-30 Herbert Voss <voss@lyx.org>
11818 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11821 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11823 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11824 attempt to register it with a VCS)
11826 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11828 * lyx_main.C (init): honor variables LYX_DIR_13x and
11831 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11835 * lyx_main.C: fix a crash on bad command line,
11836 and give a useful exit status on error
11838 * lyxfunc.C (doImport): allow -i lyx to work
11840 2002-03-30 André Pönitz <poenitz@gmx.net>
11842 * lyxfunc.C: mathed font changes
11844 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11859 * trans_mgr.h: srcdocs, and some minor cleanups
11861 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11863 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11864 call getFont all the time)
11866 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11868 * switch from SigC signals to boost::signals
11870 2002-05-29 André Pönitz <poenitz@gmx.net>
11872 * paragraph_pimpl.C (getChar): don't call size() too often...
11874 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11876 * paragraph_pimpl.C (insertChar): do not try to update tables when
11877 appending (pos == size())
11879 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11880 in order to reduce drastically the number of comparisons needed to
11881 parse a large document
11883 2002-05-29 André Pönitz <poenitz@gmx.net>
11889 * textclasslist.[Ch]:
11890 * sp_ispell.h: whitespace change
11892 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11894 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11895 lyxaction directly now.
11897 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11901 * lyxvc.C: remove unused headers
11903 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11910 * undo_funcs.C: some cleanups. Use shared_ptr
11911 and a template for the undo stacks.
11913 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11915 * BufferView_pimpl.h:
11916 * BufferView_pimpl.C:
11923 * text2.C: use key_state/mouse_state
11925 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11927 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11930 * chset.C: change include order
11931 (loadFile): use boost regex and get rid of LRegex and LSubstring
11933 * Makefile.am (BOOST_LIBS): new variable
11934 (lyx_LDADD): use it
11936 * LaTeX.C: change include order.
11937 (scanAuxFile): use boost regex and get rid of LRegex and
11941 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11946 * FontInfo.C: moved to frontends/xforms/
11949 * FontLoader.C: moved into frontends for GUIIzation
11954 * lyxfunc.C: changes from above
11956 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11958 * LColor.C: remove spurious X include
11960 * BufferView_pimpl.C:
11965 * text2.C: move font metrics to frontends/
11967 2002-05-24 Juergen Vigna <jug@sad.it>
11969 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11970 setting the undo_cursor.
11972 * ParagraphParameters.h: include local includes first.
11974 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11976 * BufferView_pimpl.C:
11977 * BufferView_pimpl.h:
11981 * screen.C: move WorkArea into frontends/
11987 * BufferView2.C: move LyXScreen into frontends/
11991 * lyx_gui.C: move lyxlookup into frontends/xforms/
11993 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11996 * BufferView_pimpl.C:
12006 * bufferview_funcs.C:
12019 * vc-backend.C: move LyX/XFormsView into frontends/
12021 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12033 * text2.C: move Painter to frontends/
12035 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12037 * buffer.C: comment out some some code that depend upon lyx_format
12040 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12041 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12043 * buffer.h (NO_COMPABILITY): turn off compability
12045 * ColorHandler.C: include scoped_array.hpp
12047 * font.C: Use more specific smart_ptr header.
12050 * ShareContainer.h: ditto
12051 * lyx_main.h: ditto
12053 * FontInfo.h: ditto
12054 * BufferView_pimpl.h: ditto
12055 * ColorHandler.h: ditto
12057 * kbmap.C (defkey): change call to shared_ptr::reset
12059 2002-05-21 Juergen Vigna <jug@sad.it>
12061 * buffer.C (insertErtContents): fix to insert ert asis if it is
12062 non empty. Skip it completely if it contains only whitespaces.
12064 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12066 * BufferView_pimpl.C:
12067 * BufferView2.C: clear selection on paste (bug 393)
12069 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12071 * DepTable.C: include ctime
12073 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12075 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12077 2002-05-14 Juergen Vigna <jug@sad.it>
12079 * text.C (breakParagraph): fixed function to honor the keepempty
12080 layout in the right maner and also to permit the right breaking
12081 algorithm on empty or non empyt keepempty paragraphs.
12083 * paragraph.C (breakParagraph): we have to check also if the par
12084 is really empty (!size()) for isempty otherwise we do the wrong
12087 2002-05-10 Juergen Vigna <jug@sad.it>
12089 * buffer.[Ch] : The following are only changes to the ert
12090 compatibility read reading old LaTeX layout and font stuff and
12091 convert it to ERTInsets.
12093 * buffer.h: added isErtInset().
12095 * buffer.C (struct ErtComp): add a fromlayout bool to check
12096 if we're inside a LaTeX layout.
12097 (isErtInset): new helper function.
12098 (insertErtContents): look for other ert insets before this one
12099 and insert the contents there, so that we don't have subsequent
12100 ERT insets with nothing between them. This way we create only one
12101 inset with multiple paragraphs. Also check if we don't insert only
12102 spaces ' ' as they are ignored anyway afterwards in the .tex file
12103 so if we have only spaces we will ignore this latex part in the
12105 (parseSingleLyXformat2Token \\layout): better compatibility when
12106 reading layout-latex stuff.
12107 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12109 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12110 stuff after reading the inset only get the information back from
12113 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12115 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12117 * LaTeXFeatures.C (getBabelOptions): New method.
12119 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12121 * BufferView_pimpl.C (Dispatch): work around missing argument for
12124 2002-05-08 Juergen Vigna <jug@sad.it>
12126 * text.C (leftMargin): handle paragraph leftindent.
12128 * paragraph.C (writeFile): write the new \\leftindent tag.
12129 (validate): handle leftindent code.
12130 (TeXEnvironment): handle paragraphleftindent code again.
12132 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12134 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12135 for paragrap_extra indent code and new token \\leftindent.
12136 (latexParagraphs): handle the leftindent as environment.
12138 * ParameterStruct.h: added leftindent support.
12140 * ParagraphParameters.C (leftIndent): added support functions for
12141 the paragraph left indent.
12143 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12146 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12148 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12151 * text.C (computeBidiTables): No bidi in insetERT.
12153 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12156 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12158 * version.C.in: pre 5
12160 2002-05-02 José Matos <jamatos@fep.up.pt>
12161 * buffer.C (makeDocBookFile): white space changes, add newline to
12163 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12165 * tabular.C (docBook): fix typo.
12167 2002-05-03 Juergen Vigna <jug@sad.it>
12169 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12170 change in LyXText as we can not be sure it was not freed.
12171 (drawOneRow): remove unused code.
12173 * text.C (drawInset): redo the calculation of the need_break_row as
12174 it could have a row which was already freed.
12175 (draw): look at the return value of drawInset and return false if
12176 it also returned false.
12177 (paintRowText): look at the return value of draw and return false if
12178 it also returned false.
12180 * lyxtext.h: added bool return type to drawInset() and draw() so that
12181 if we have a change in the row so that the rowbreak has to be redone
12182 we abort drawing as it will be called again.
12184 2002-05-02 Juergen Vigna <jug@sad.it>
12186 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12187 a change in the maintext also if we're inside an inset.
12188 (Dispatch): set the cursor again after a break line and after the
12189 screen has been updated as it could be we're in a different row.
12191 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12192 to set the cursor behind the pargraph with > size().
12193 (setCursor): check also for the same paragraph when checking where
12194 to put the cursor if we have a NFR inset.
12196 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12197 parts of layout read further up as it still was in the wrong
12200 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12202 * screen.C (drawFromTo): change sine fullRebreak always return
12205 * buffer.C (parseSingleLyXformat2Token): reindent some
12207 * BufferView_pimpl.C (update): change since fullRebreak always
12209 (Dispatch): git rid of the last hardcoded "Standard"s.
12211 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12213 * text2.[Ch] (fullRebreak): make it return void now that we always
12216 2002-04-30 Juergen Vigna <jug@sad.it>
12218 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12219 ert compatibility check for "latex" layout.
12221 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12223 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12224 minipages: use col% instead of p%, and also use the current font.
12225 (makeLaTeXFile): Fix use babel condition.
12226 (parseSingleLyXformat2Token): Correct font when reading old floats.
12228 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12230 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12231 inserting list of floats.
12233 2002-04-25 Herbert Voss <voss@lyx.org>
12235 * MenuBackend.C (expand): don't add the graphics extensions to the
12238 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12240 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12241 non-existing layout, do not complain if it was the default layout
12242 of the original class (bug #342)
12244 2002-04-24 Juergen Vigna <jug@sad.it>
12246 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12247 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12249 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12251 * buffer.C (getBibkeyList): If using \bibliography, return the
12252 option field with the reference itself. Enables us to provide natbib
12253 support when using \bibliography.
12255 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12257 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12259 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12260 natbib is provided by the LaTeX class.
12262 2002-04-23 Juergen Vigna <jug@sad.it>
12264 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12267 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12269 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12271 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12273 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12274 ensuremath around textordmasculine, textordfeminine and
12277 2002-04-19 Juergen Vigna <jug@sad.it>
12279 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12280 reinitializing the buffer otherwise row-dimensions may be wrong.
12281 (update): reset also the selection cursors if they do exits otherwise
12282 their x/y positions may be wrong.
12284 * text2.C (cursorDown): don't enter the inset if we came from a row
12285 above and are one row over the inset.
12287 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12288 really leaving an inset.
12290 2002-04-18 Juergen Vigna <jug@sad.it>
12292 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12293 of the selected paragraph does not have the selected layout also if
12296 * text2.C (setLayout): fixed bug which did not change last selected
12299 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12300 changed the read and substituted \\end_float with \\end_inset!
12302 * BufferView_pimpl.C (cursorPrevious):
12303 (cursorNext): fixed to make it work with rows heigher than the work
12304 area without moving the cursor only the draw of the row.
12305 (workAreaMotionNotify): fix jumping over high rows.
12307 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12309 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12312 2002-04-16 Juergen Vigna <jug@sad.it>
12314 * text2.C (setCursor): set also the irow().
12315 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12317 (cursorDown): support for locking an inset if the x_fix value goes
12318 inside it. That way I can transverse insets too with cursor up/down.
12320 * lyxrow.h: added irow helper function same as other (i) functions.
12322 * BufferView_pimpl.C (cursorPrevious):
12323 (cursorNext): fixed for insets!
12325 2002-04-15 Juergen Vigna <jug@sad.it>
12327 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12328 position otherwise it is wrong in some cases.
12330 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12331 inside the inset before the call.
12333 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12335 * buffer.[Ch] (getBibkeyList): make it const.
12337 2002-04-12 Juergen Vigna <jug@sad.it>
12339 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12341 * text2.C (getCursorX): new helper function
12342 (setCursor): compute also ix_
12343 (setCursorFromCoordinates): set also ix.
12345 * lyxcursor.h: added ix_ and helper functions.
12347 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12349 * buffer.C (insertStringAsLines): dont break paragraph if the this
12350 paragraph is inside an inset which does not permit it!
12352 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12353 also with no chars on this paragraph.
12354 (paintRowText): only paint stuff if it's inside the workarea!
12356 * paragraph.C (breakParagraph): honor keepempty flag and break the
12357 paragraph always below not above.
12359 * BufferView2.C (unlockInset): update the paragraph layout on inset
12360 unlock as we changed paragraph in such a case.
12362 * lyxfind.C (LyXFind): clear the former selection if not found!
12364 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12365 again called in insertChar().
12367 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12368 an inset which uses the whole row!
12369 (rightMargin): ditto.
12370 (insertChar): force a rebreak if we inserted an inset!
12372 2002-03-28 Herbert Voss <voss@lyx.org>
12374 * lyxlength.[Ch]: add inBP() to get the right PS-point
12375 units (BigPoint). With inPixels we have rounding errors
12377 2002-04-11 Juergen Vigna <jug@sad.it>
12379 * text2.C (setCursorFromCoordinates): set iy to the right value.
12380 (setCursor): add check if row->previous exists!
12382 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12383 an old float_type as this was the case in the old code!
12385 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12387 * BufferView2.C (showLockedInsetCursor): use iy
12388 (fitLockedInsetCursor): ditto
12390 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12391 locked insets as there we have the right value now.
12393 * lyxcursor.C: added iy_ variable and iy functions to set to the
12394 baseline of cursor-y of the locked inset.
12396 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12397 (setCursor): fixed for insets which need a full row.
12399 * text.C (rowLastPrintable): don't ignore the last space when before
12400 an inset which needs a full row.
12401 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12402 as last character of a row when before a inset which needs a full row.
12404 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12406 * version.C.in: update date
12408 * text2.C (fullRebreak): try to always return true and see what
12411 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12413 * MenuBackend.C (expand): use Floating::listName
12415 * FloatList.C (FloatList): add listName argument to the built-in
12418 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12419 text associated with the float.
12421 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12423 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12425 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12427 * ShareContainer.h: add a couple of missing typenames.
12429 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12431 * lyxrc.C (getDescription): use _() correctly rather than N_().
12433 2002-03-28 Herbert Voss <voss@lyx.org>
12435 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12436 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12438 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12440 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12441 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12443 2002-03-29 Juergen Vigna <jug@sad.it>
12445 * lyxfunc.C (dispatch): add a missing fitCursor call.
12447 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12448 it was scrolled by a cursor move, so return the bool status.
12450 * BufferView.C (fitCursor): return the bool flag also to the outside
12451 world as this is needed.
12453 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12455 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12456 call the edit() as it is not needed (and wrong) IMO.
12457 (workAreaButtonPress): set the screen_first variable before evt.
12458 unlock the inset as this may change screen_first and then we have
12459 a wrong y position for the click!
12461 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12463 * MenuBackend.C (expand): another translation that I missed
12465 2002-03-28 Juergen Vigna <jug@sad.it>
12467 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12469 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12471 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12473 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12475 * MenuBackend.C (expand): fix export/view/update when there is no
12478 2002-03-27 Herbert Voss <voss@lyx.org>
12480 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12483 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12485 * bufferview_funcs.C (currentState): only show paragraph number
12486 for is DEVEL_VERSION is set.
12488 * lyxfunc.C (dispatch): put warning in INFO channel
12490 * MenuBackend.C (expand): translate the name of floats
12492 * FloatList.C (FloatList): mark the float names for translation
12494 * converter.C (convert): use LibScriptSearch
12496 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * MenuBackend.C (defaults): fix default menu (we might as well get
12501 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12503 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12506 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * lyxvc.C: reorder includes.
12510 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12512 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12515 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12517 * CutAndPaste.C: change layouts earlier on paste
12518 to avoid crashing when calling getFont()
12520 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12522 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12525 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12527 * WorkArea.C: remove 'Pending' debug message.
12529 * most files: ws cleanup
12531 * buffer.[Ch]: ws changes
12533 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12535 2002-03-21 Juergen Vigna <jug@sad.it>
12537 * tabular.C (SetMultiColumn): collapse also the contents of the
12538 cells and set the last border right. Added a Buffer const * param.
12540 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12542 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12545 2002-03-19 Juergen Vigna <jug@sad.it>
12547 * text2.C (clearSelection): reset also xsel_cache.
12549 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12550 where it needs to be called (John tells us to do so too :)
12551 (selectionLost): reset sel_cache.
12553 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12555 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12557 * text2.C (setCursorIntern): put debuging code in INSETS channel
12559 2002-03-19 André Pönitz <poenitz@gmx.net>
12561 * lyxfunc.C: tiny whitespace change
12563 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12565 * ToolbarDefaults.C (init):
12566 * LyXAction.C (init):
12568 * BufferView_pimpl.C (Dispatch):
12569 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12571 2002-03-19 Allan Rae <rae@lyx.org>
12573 * exporter.C (Export): removeAutoInsets before doing anything else.
12574 While I've just introduced a dependency on BufferView this really is
12575 the best place to clean the buffer otherwise you need to cleanup in
12576 a dozen places before calling export or cleanup in a dozen functions
12579 * converter.C (runLaTeX):
12580 (scanLog): Better handling of removeAutoInsets and screen updates.
12582 * lyxfunc.C (dispatch): small whitespace changes
12584 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12586 * WorkArea.C (C_WorkAreaEvent): return a value.
12587 (event_cb): return 1 if we handled the event, 0 otherwise.
12589 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12591 2002-03-18 Juergen Vigna <jug@sad.it>
12593 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12594 (GetAdditionalWidth): ditto.
12595 (RightLine): ditto.
12598 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12599 inset if we're there actually (probably not used right now but this
12600 is the direction to go for unifying code).
12601 (paste): disable code to clear the selection.
12603 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12604 inside an InsetText and move the check further up as it is in the
12607 * text2.C (pasteSelection): set a selection over the pasted text.
12609 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12611 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12612 and libgraphics to build on Cygwin.
12614 2002-03-15 Juergen Vigna <jug@sad.it>
12616 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12617 inserting an Inset into the paragraph. I know this is not the best
12618 fix but we already use current_view in CutAndPaste so we will remove
12619 all of it's using at the same time.
12621 * buffer.C (sgmlError): deactivated function till it is rewritten in
12622 the right mode, now it can create problems.
12624 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12625 before accessing it.
12627 2002-03-14 Juergen Vigna <jug@sad.it>
12629 * undo_funcs.C (textHandleUndo): do the right thing when updating
12630 the inset after the undo/redo.
12632 * text2.C (setCursor): just some testcode for #44 not ready yet.
12634 * undo_funcs.C (textHandleUndo): set the next() and previous()
12635 pointers of the paragraph to 0 before deleting otherwise we have
12636 problems with the Paragraph::[destructor].
12638 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12639 on a paragraph insertion.
12641 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12643 * buffer.C (asciiParagraph): use += operator for char append to
12646 * paragraph.C (getFontSettings): compare >= not just >
12647 (highestFontInRange): ditto
12650 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12652 * paragraph.C: change several algorithm to be more appripriate for
12653 the problem domain. This is lookip in FontList and in the InsetList.
12655 2002-03-13 André Pönitz <poenitz@gmx.net>
12658 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12660 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12665 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12667 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12669 * Painter.C (display): anon helper function, adjust code for this
12671 (pixmap): remove function.
12673 * Painter.h: remove private display variable.
12675 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12677 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12679 * WorkArea.[Ch]: remove figinset_canvas cruft.
12681 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12683 * lyxtextclass.C (operator): add one item cache optimization.
12685 * bufferlist.h: doxy changes
12687 * bufferlist.C: ws changes
12689 * DepTable.[Ch] (ext_exist): place const in the right spot.
12691 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12693 (workAreaExpose): call resizeInsets when the with BufferView changes.
12694 (Dispatch): adjust for protectedBlank removal
12695 (specialChar): call updateInset if the insert went ok.
12697 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12698 specialChar instead.
12700 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12702 * BufferView.h: doxy change
12704 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12706 * lyxtextclass.C (operator[]): remove non-const version
12707 (defaultLayout): remove non-const version
12709 2002-03-12 Juergen Vigna <jug@sad.it>
12711 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12712 did resize the LyXText too.
12714 * buffer.C (readLyXformat2): set layout information on newly allocated
12717 * tabular.C (OldFormatRead): set layout information on the paragraph.
12719 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12721 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12723 2002-03-11 Juergen Vigna <jug@sad.it>
12725 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12727 (resizeCurrentBuffer): force also the insets to resize themselfes.
12728 (moveCursorUpdate): fixed up for InsetText.
12730 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12733 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12734 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12735 value of Dialogs::tooltipsEnabled().
12736 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12738 2002-03-08 Juergen Vigna <jug@sad.it>
12740 * BufferView_pimpl.C (updateInset): update inset inside inset also
12741 if it isn't inside theLockingInset().
12743 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * buffer.C (asciiParagraph): redo some of the word and line length
12747 (getLists): look for Caption instead of caption.
12749 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12751 * buffer.C (Buffer): initialize niceFile to true
12753 (makeLinuxDocFile):
12754 (makeDocBookFile): make sure niceFile is true on exit
12756 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12758 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12760 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12762 * LyXSendto.C: remove.
12763 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12764 * lyx_gui.C: remove now-redundant comment.
12765 * ColorHandler.h: remove forward declaration of class WorkArea.
12766 * lyxfunc.C: remove #include "WorkArea.h".
12768 2002-03-07 Juergen Vigna <jug@sad.it>
12770 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12771 got moved away with the DEPM and also set the inset_owner always
12772 right which before could have been omitted.
12774 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12776 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12777 wanted layout is not found.
12779 2002-03-07 Juergen Vigna <jug@sad.it>
12781 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12783 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12785 * paragraph.C (breakParagraph): use default layout not layout of
12787 (Paragraph): clear ParagraphParameters.
12789 2002-03-06 Juergen Vigna <jug@sad.it>
12791 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12792 otherwise it would not be a valid lenght. Fixed a special case in
12793 the minipage compatibility read where we end the document with a
12796 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12797 was set as it could be 0 for InsetTexts first entry.
12799 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * paragraph.C (writeFile): if layout is empty write out
12802 defaultLayoutName().
12804 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12805 file without named layout we set layout to defaultLayoutName().
12807 2002-03-06 Juergen Vigna <jug@sad.it>
12809 * CutAndPaste.C (copySelection): set layout for new paragraph.
12811 * text.C (prepareToPrint): leave ERT inset left aligned
12812 (leftMargin): don't indent paragraphs inside ERT insets
12814 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12816 * paragraph.C (breakParagraph): dont call clear do the work manually
12818 * paragraph.[Ch] (clear): remove function
12820 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12822 * paragraph.C (Paragraph): dont call clear, the work has already
12825 * lyxtextclass.C (operator): assert if n is empty
12827 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12828 work manually instead.
12830 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12832 * BufferView_pimpl.C: protect selectionLost against text == 0
12834 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * text.C (breakParagraph): fix a setting layout to '0' problem.
12838 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12840 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12841 final location of file, for the included files, and graphics.
12843 2002-03-05 Juergen Vigna <jug@sad.it>
12845 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12847 2002-03-04 Juergen Vigna <jug@sad.it>
12849 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12851 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12852 last column of multicolumn cells.
12853 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12855 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12857 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12858 file if it doesn't go to a temporary file.
12860 * buffer.C (sgmlOpenTag):
12861 (sgmlCloseTag): remove extra newline insertion.
12863 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12865 * text.C (getRowNearY): comment out debug msg
12867 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * text2.C: first -> first_y
12871 * text.C (getRowNearY): add some attemts at a possible
12872 optimization, not working.
12874 * tabular.[Ch]: add BufferParams to several function so that newly
12875 created paragraph can be initialized to he default layotu for the
12878 * tabular-old.C (ReadOld): add buf->params to call of Init
12880 * screen.C: rename text->first to text->first_y
12882 * paragraph.C (breakParagraph): always set layout in the broken
12885 * lyxtextclass.C (Read): remove lowercase
12888 (delete_layout): ditto
12890 * lyxtext.h: rename first -> first_y
12892 * lyxlayout.C (Read): remove lowercase
12895 (obsoleted_by): ditto
12897 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12899 * buffer.C (insertErtContents): add params are to InsetERT
12900 (parseSingleLyXformat2Token): add code to check if a paragraphs
12901 layout really exist.
12902 (parseSingleLyXformat2Token): add params to several inset
12904 (asciiParagraph): remove lowercase, do the layout comparisons with
12907 * BufferView_pimpl.C (cursorNext): first -> first_y
12908 (resizeCurrentBuffer): first -> first_y
12909 (updateScrollbar): first -> first_y
12910 (scrollCB): first -> first_y
12911 (workAreaMotionNotify): first -> first_y
12912 (workAreaButtonPress): first -> first_y
12913 (checkInsetHit): first -> first_y
12914 (cursorPrevious): first -> first_y
12915 (cursorNext): first -> first_y
12916 (Dispatch): add buffer_->params to severl inset contructors
12918 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12920 * lyxlayout.C (Read): remove some debug info that I forgot.
12922 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12923 clean up the code slightly.
12924 (makeLinuxDocFile): ditto
12925 (makeDocBookFile): ditto
12927 * text2.C: layout as string
12929 * text.C: layout as string
12931 * paragraph_pimpl.C: layout as string
12933 * paragraph.[Ch]: layout as string
12935 * lyxtextclasslist.[Ch]: layout as string
12937 * lyxtextclass.[Ch]: layout as string
12939 * lyxtext.h: layout as string
12941 * lyxlayout.[Ch]: layout as string
12943 * lyx_cb.C: layout as string
12945 * bufferview_funcs.C: layout as string
12947 * bufferparams.C: layout as string
12949 * buffer.C: layout as string
12951 * LyXView.[Ch]: layout as string
12953 * LaTeXFeatures.[Ch]: layout as string
12955 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12957 * BufferView_pimpl.C: change current_layout to string, remove
12962 (workAreaButtonRelease): layout as string
12964 * BufferView2.C (unlockInset): adjust
12966 * vspace.C (asLatexCommand): use an explict temp variable.
12968 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12970 * Makefile.am: use FRONTEND_*
12972 2002-03-01 Juergen Vigna <jug@sad.it>
12974 * tabular.C (SetWidthOfMulticolCell): changed to something better
12975 I hope but still work in progress.
12976 (recalculateMulticolumnsOfColumn): renamed function from
12977 recalculateMulticolCells as it is more appropriate now.
12978 (SetWidthOfCell): calculate multicols better.
12980 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12982 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12984 * lyxfunc.C (processKeySym): print sequence also if it is
12985 `deleted' (complete)
12987 * kbsequence.C (print): print sequence even if it is deleted
12988 (complete would be a better word, actually).
12990 * lyxfunc.C (dispatch): print complete options after a prefix key
12992 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12994 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12996 * text2.C (setCharFont): eliminate setCharFont code duplication.
12998 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13000 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13001 LFUN_TABULAR_FEATURE (bug #177)
13003 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13005 * Makefile.am: remove figure.h
13007 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13009 * Bufferview_pimpl.C:
13021 * text2.C: remove #include "lyx_gui_misc.h".
13023 * LaTeX.C: added #include <cstdio>
13025 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13027 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13028 that the paragraph following this one can have.
13030 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13032 * vspace.C (asLatexCommand): fix bogus gcc warning
13034 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13036 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13038 * text2.C (setLayout): get rid of redundant code
13040 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13042 * text2.C (incDepth): make sure depth cannot be increased beyond
13045 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13047 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13048 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13050 * PainterBase.h (image):
13051 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13052 a LyXImage const *.
13054 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13058 * BufferView_pimpl.C:
13059 * BufferView_pimpl.h:
13079 * sp_spell.C: remove fig inset, and the crap house of
13080 cards that follows it
13082 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13087 * os2_errortable.h:
13088 * nt_defines.h: move .h into support/
13090 * vms_defines.h: remove
13092 * WorkArea.C: add space in debug output
13096 * buffer.C: add WITH_WARNINGS
13100 * bufferlist.C: s/retrive/retrieve/, add docs
13109 * chset.C: add docs
13111 * lyxgui.C: add ID to X error handler
13113 * lyxtestclass.c: fix typo
13115 2002-02-26 Juergen Vigna <jug@sad.it>
13117 * tabular_funcs.C (write_attribute): changed so that some default
13118 attributes are not written at all.
13119 (getTokenValue): set default values before trying to read the
13120 value so we have the return value always set as default if we don't
13121 find the token we search for.
13123 * tabular.C (Write): write bools as bools not as strings!
13125 2002-02-22 Juergen Vigna <jug@sad.it>
13127 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13128 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13130 * text.C (leftMargin): don't add an indent for paragraphs inside
13131 tabular cells (fix #208).
13133 2002-02-21 José Matos <jamatos@fep.up.pt>
13135 * tabular.C (docBook): fixed support for long tables.
13137 2002-02-20 Juergen Vigna <jug@sad.it>
13139 * text2.C (getFont): get the drawing font of the Inset if this
13140 paragraph is inside an inset (only important for InsetERT for now).
13142 * buffer.C (insertErtContents): use new lanugage params in ERT
13145 * CutAndPaste.C: commenting out seemingly uneeded code.
13147 2002-02-19 Allan Rae <rae@lyx.org>
13149 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13150 Iterators might be simple to use but they also get invalidated.
13151 (removeAutoInsets): renamed saved cursor tracking variables and added
13152 some comments to clarify what everything does.
13154 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13161 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13162 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13165 * vc-backend.h: remove #include "support/syscall.h"
13169 * converter.C: rearrange #includes in Lars' approved fashion.
13171 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13172 forward declare class Timeout in the header file.
13174 * XFormsView.C: changes due to the above.
13176 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13177 similar to LyXView.
13179 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13180 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13182 2002-02-18 José Matos <jamatos@fep.up.pt>
13184 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13187 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13189 * a lot of small ws changes
13190 * add a lot of using std::XXX
13191 * use std construcs some places where approp.
13192 * use some exisint stuff from lyxfunctional where approp.
13193 * Make file changes to use partial linking (lets test this now...)
13195 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13199 remove #include "support/syscontr.h" as it's redundant. Always has been.
13207 change Systemcalls::System to Systemcalls::Wait and
13208 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13209 No change of functionality, just reflects the stripped down Systemcalls
13212 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13214 * debug.[Ch]: add a GRAPHICS type to the enum.
13216 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13218 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13220 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13223 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13225 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13226 match the changes below.
13228 * text2.C (toggleInset): if there is not editable inset at cursor
13229 position, try to see if cursor is _inside_ a collapsable inset
13232 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13234 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13235 document menu has a nice checkbox
13237 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13239 * lyxlength.C (asLatexString): change PW to output as percent of
13242 * lengthcommon.C: change '%' to 't%'
13244 * lyxfunc.C (dispatch): a few comments from Martin
13246 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13250 * BufferView_pimpl.h:
13251 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13254 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13256 * vspace.C (inPixels): fix compiler warning
13258 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13260 * lyxfunc.C (getStatus): fix status message for disabled commands.
13262 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13264 * BufferView_pimpl.C: fix crash on close buffer
13265 during selection (#227)
13267 2002-01-27 Herbert Voss <voss@lyx.org>
13269 * buffer.C: link old Figure to new graphic inset
13271 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13273 * FontLoader.C (getFontinfo): Change the latex font names in order
13274 to match the names of type1inst.
13276 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13278 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13280 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13281 (extchanged): ditto
13283 (remove_files_with_extension): ditto
13284 (remove_file): ditto
13287 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13288 document is smaller than the work area height. Do not initialize
13289 static variables to 0.
13291 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13293 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13295 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13296 LFUN_LAYOUT_PARAGRAPHS.
13298 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13299 tabular. It is possible to provide a possible cell, which will
13300 typically be the actcell from the corresponding insettabular
13302 * lyxfunc.C (getStatus): small cleanup; disable
13303 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13306 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13308 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13310 * paragraph.C (startTeXParParams):
13311 (endTeXParParams): new methods. The LaTeX code to
13312 start/end paragraph formatting
13313 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13314 empty (fixes bug #200)
13316 * vspace.C (inPixels): adapt to the change below
13317 (inPixels): [later] more cleanups (remove unused variables)
13319 * lyxlength.C (inPixels): change to use a width and a height as
13322 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13324 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13325 Replaced with \paperwidth
13327 * DepTable.C (insert): add std:: qualifier
13329 2002-01-18 Allan Rae <rae@lyx.org>
13331 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13334 * text.C (drawInset): Turned out I didn't know enough about how
13335 rebreaking worked. This fixes most of the redraw problems. I see
13336 an occasional cursor trail when a line is broken now and the cursor
13337 placement can seem out by a few pixels also after a rebreak.
13339 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13341 * buffer.C (parseSingleLyXformat2Token): update because minipage
13342 width is now a LyXLength
13344 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13346 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13349 2002-01-17 Juergen Vigna <jug@sad.it>
13351 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13353 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13354 is set correctly and the inset is updated correctly.
13356 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13358 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13359 the beginning of the loop.
13361 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13363 * lyxrc.C: improve help for use_scalable_fonts
13365 2002-01-17 Allan Rae <rae@lyx.org>
13367 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13369 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13371 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13372 make sure to set their inset_owner to the right value (bug #171)
13374 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13377 * DepTable.C: Implement mtime checking to reduce time spent doing
13380 2002-01-16 Juergen Vigna <jug@sad.it>
13382 * tabular.C (GetAdditionalHeight): one of error fixed.
13384 * lyxrc.C (output): small fix in writing use_pspell.
13386 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13388 * sp_base.h: #include LString.h
13390 2002-01-16 Allan Rae <rae@lyx.org>
13392 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13393 Can someone check this please?
13395 * text.C (drawInset): It was possible that p.row would be removed by
13396 breakAgainOneRow upsetting a few other settings. There may be another
13397 small tweak possible by setting need_break_row = 0 when p.row has been
13398 removed but I don't know enough about the logic here.
13400 2002-01-15 Allan Rae <rae@lyx.org>
13402 * text.C (insertChar): removed conditional truism.
13404 * BufferView2.C (removeAutoInsets): More tweaks.
13405 cur_par_prev could be a stray pointer. Check for trailing empty line
13406 in case last line was cur_par and only had an error inset on it.
13408 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13410 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13413 * vc-backend.C (most methods):
13414 * exporter.C (Export):
13415 * converter.C (convert):
13417 * LyXSendto.C (SendtoApplyCB):
13418 * lyxfunc.C (dispatch):
13422 * lyx_cb.C (AutoSave):
13424 * BufferView_pimpl.C (MenuInsertLyXFile):
13425 * buffer.C (runChktex): use Buffer::filePath().
13427 * buffer.h: rename filename to filename_; rename filepath to
13428 filepath_ and make it private
13429 (filePath): new method
13431 * buffer.C (writeFile): use fileName()
13434 * lyx_main.C (init): fix starting of LyX when the binary is a
13435 link from so,ewhere else.
13437 * minibuffer.C: include <cctype> for isprint
13439 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13441 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13442 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13443 name clash with InsetCollapsable's width function.
13445 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13447 * lastfiles.C: include <iterator>
13449 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13451 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13454 * buffer.C (makeLaTeXFile): ditto.
13455 Also make loop operation more transparent.
13457 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13459 * ToolbarDefaults.C: remove trailing comma closing namespace.
13461 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13463 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13466 * trans.C (Load): comment out unused variable, allowed.
13468 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13470 * minibuffer.[Ch] (append_char): new method to recieve input from the
13471 drop-down completion browser. If a key was pressed, then recieve this
13472 char and append it to the existing string.
13473 (peek_event): modify the positioning data passed to the completion
13474 browser so that it can be placed above the minibuffer rather than below.
13475 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13477 * LyXAction.C (init): alloe error-next for readonly documents.
13479 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13482 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13484 * bufferlist.C (readFile): create the buffer _after_ checking that
13487 * lyxfunc.C (verboseDispatch): fix handling of arguments
13489 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13491 * lyxrc.C: use string::erase() instead of initializing to "".
13494 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13496 * BufferView_pimpl.h:
13497 * BufferView_pimpl.C:
13500 * text2.C: tell X when we have made a selection for copying
13502 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13504 * BufferView_pimpl.C (MenuInsertLyXFile):
13505 * lyxfunc.C (menuNew):
13507 (doImport): add shortcuts to directory buttons
13509 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13512 * lyxfunc.C (setStatusMessage):
13513 (getStatusMessage): new methods
13514 (getStatus):use setStatusMessage instead of setErrorMessage
13515 (dispatch): when function is disabled, set error message here
13516 [instead of in getStatus previously]
13518 * BufferView_pimpl.C (workAreaButtonRelease): update
13519 toolbar/menubar here too.
13521 2002-01-13 Allan Rae <rae@lyx.org>
13523 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13524 Now seems indestructible. Remaining task is to audit all other
13525 code affected by deleteEmptyParagraphMechanism. One small quirk
13526 left is that an empty document with an error in the preamble can
13527 be made to report an error but no error box appears. I don't know
13529 (removeAutoInsets): Improved comments.
13531 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13534 * Thesaurus.C: update for Aiksaurus 0.14
13536 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13538 * text2.C (firstParagraph): removed member function, all uses
13539 replaces with ownerParagraph
13540 (redoParagraphs): here
13541 (updateInset): here
13542 (toggleAppendix): here
13543 * BufferView2.C (insertErrors): here
13544 (setCursorFromRow): here
13546 2002-01-13 Allan Rae <rae@lyx.org>
13548 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13549 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13550 There is still a way to segfault this although you may have to do this
13551 multiple times: Have an InsetERT with an unknown command in it.
13552 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13553 <down-arrow>, <Enter> again, View->DVI, BANG!
13555 * text2.C (setCursor):
13556 (deleteEmptyParagraphMechanism):
13557 * lyxtext.h (setCursor):
13558 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13559 Making use of the return value may help fix other bugs.
13561 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13563 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13565 * LyXView.C (updateMenubar): call MenuBar::update here
13566 (updateToolbar): but not here
13567 (showState): do not update toolbar/menubar
13569 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13570 should need to care about that.
13572 * lyxfunc.C (verboseDispatch): simplify a bit
13573 (getStatus): have a version which takes a pseudoaction, and
13574 another which requires a (kb_action,string).
13576 * LyXAction.C (retrieveActionArg): make it work also when action
13577 is not a pseudo-action.
13578 (getActionName): simplify a bit
13581 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13583 * lyxfunc.C (verboseDispatch): new families of methods with
13584 several ways to specify a command and a bool to indicate whether
13585 the command name and shortcut should be displayed in minibuffer
13586 (eventually, we could extend that to a finer bitmask like
13587 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13588 (dispatch): the pristine dispatch command which just, well,
13589 dispatchs! Note it still sets its result to minibuffer; I'm not
13592 * lyxfunc.h: remove setHintMessage
13594 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13596 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13598 * BufferView_pimpl.C (specialChar): delete new inset if we have
13599 not been able to insert it.
13601 * kbmap.C: revert to using int instead of kb_action, since all we
13602 are dealing with is pseudo-actions.
13604 * LyXAction.C (searchActionArg): change to return int instead of
13605 kb_action, since the result is a pseudoaction.
13607 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13609 * buffer.C (insertErtContents): Fix (partially) the font bug.
13611 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13613 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13614 as the other one is broken on my machine!
13616 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13619 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13621 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13623 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13624 reflect their actual use. Provide compatibility code for older lyxrc
13627 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13629 change names of popup font variables in line with the changes to lyxrc.C
13631 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13633 * buffer.C (asciiParagraph): avoid outputing a word twice after
13636 * lyxrc.C (getDescription): document that document_path and
13637 template_path can be empty.
13639 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13641 * LaTeXFeatures.C (getMacros):
13642 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13644 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13646 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13648 (getPackages): rename feature "floats" to "float". Use an array to
13649 iterate over 'simple' features (i.e. just a \usepackage). Add
13650 handling of "amsmath" (renamed from "amsstyle").
13652 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13654 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13657 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13659 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13660 FuncStaus::FuncStatus & FuncStaus::some_method().
13662 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13664 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13665 of the func_satus stuff. Edited and massaged in various ways by
13668 * lyxfunc.C (getStatus): use FuncStatus
13670 2002-01-08 Juergen Vigna <jug@sad.it>
13672 * text.C (nextBreakPoint): use function Inset::isChar().
13674 * paragraph.C (TeXOnePar): use function
13675 Inset::forceDefaultParagraphs.
13677 * buffer.C (latexParagraphs): use function
13678 Inset::forceDefaultParagraphs.
13680 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13682 * lyx_gui.C (init): set the style of the menu popups to
13683 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13685 2002-01-07 Juergen Vigna <jug@sad.it>
13687 * text.C (setHeightOfRow): small fix
13688 (prepareToPrint): don't look at alignment if we don't have the place
13691 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13693 * box.C: New file. Move the Box methods and functions out of box.h,
13694 following Lars' suggestion.
13696 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13698 * box.h: #include "support/LOstream.h", needed for inlined function.
13701 * lyxtextclasslist.C: added some using std declarations.
13703 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13705 * box.h: make signed dimensions to allow insets wider than
13706 the screen (bug #162)
13708 * BufferView_pimpl.C: add some insetHit debug
13710 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13712 * vc-backend.C: add FIXME
13714 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13716 * lyxfunc.C (getStatus): enable code for showing math font status
13719 2002-01-07 Juergen Vigna <jug@sad.it>
13721 * text.C (nextBreakPoint): removed debug output not needed anymore.
13723 2002-01-06 Juergen Vigna <jug@sad.it>
13725 * text.C (nextBreakPoint): fixed up this function we had this bug
13726 since ever but now hopefully we break row better.
13727 (insertChar): we have to check if an inset is the next char as it
13728 could now happen that a large inset is causing a break.
13730 2002-01-05 Juergen Vigna <jug@sad.it>
13732 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13733 if it doesn't like to be drawed.
13735 2002-01-04 Juergen Vigna <jug@sad.it>
13737 * BufferView2.C (lockInset): forgot to set a cursor.
13739 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13741 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13743 * FormMathsPanel.C:
13746 * form_maths_panel.C:
13747 * form_maths_panel.h:
13748 * form_maths_panel.fd: implemented sub- and super- buttons in math
13751 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13752 (or ^ space) to be used as in TeX (req'd by André).
13754 * lyxfunc.C: Allow ^ and _ again to be used both as
13755 super/subscript (mathed) and as themselves (in text).
13757 2002-01-03 Allan Rae <rae@lyx.org>
13759 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13760 "LyX" or the filename of the current buffer if it has one. This is a
13761 modified form of John Levon's patch.
13763 * XFormsView.C (setWindowTitle): also set icon title.
13765 * LyXView.h (setWindowTitle): signature changed.
13766 * XFormsView.h (setWindowTitle): ditto.
13768 2002-01-02 Juergen Vigna <jug@sad.it>
13770 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13772 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13774 * screen.C (topCursorVisible): introduce a temp var for
13775 text->cursor.row(), handle the case where this row is null. (kindo
13778 * text2.C (setCursor): add a couple of asserts.
13780 * paragraph.h (inset_iterator): add -> operator
13782 * paragraph.[Ch] (autoDeleteInsets): remove member function
13784 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13785 cursor pos correctly and handle inset deletion by itself.
13786 (insertErrors): move iterator declaration out of for expression
13788 * lyxtextclass.C: add <algorithm>
13790 * Makefile.am: added the new files to sources, removed layout.C
13792 * layout.C: removed file
13794 * layout.h: remove LYX_DUMMY_LAYOUT
13796 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13800 * lyxtextclass.[Ch]:
13801 * lyxtextclasslist.[Ch]: new files
13803 * include order changes to a lot of files, also changes because of
13806 2001-12-27 Juergen Vigna <jug@sad.it>
13808 * buffer.C (asciiParagraph): more fixes.
13810 * tabular.C (ascii): make ascii export support export of only the
13811 data separated by a column-delimiter.
13812 (ascii): better support for ascii export.
13814 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13816 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13818 * tabular_funcs.C: use a "using std::getline" instead of the
13819 previous fix from Angus (necessary for cxx + lyxstring)
13821 2001-12-24 Juergen Vigna <jug@sad.it>
13823 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13825 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13826 problems. First check a minipage also if we have some ert-contents
13827 (not only on par->size(), second set the right depth of the paragraph
13828 on the relink to the root-paragraph-list!
13830 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13831 which then did not anymore update the main paragraphs on undo/redo!
13833 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13835 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13836 code. Support all font-changing funcs (even those which are not in
13837 menu currently). Support for reporting font settings in
13838 mathed (disabled until Andre provides a function on mathed's side).
13840 * func_status.h (toggle): small helper function to set toggle
13843 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13845 * tabular_funcs.C: getline -> std::getline
13847 2001-12-21 Juergen Vigna <jug@sad.it>
13849 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13850 accessed and could be 0 (I couldn't generate this but it seems
13853 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13855 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13856 * tabular_funcs.h: here and include iosfwd
13858 2001-12-20 Juergen Vigna <jug@sad.it>
13860 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13861 inside inset but undo_par was.
13863 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13865 * Thesaurus.C: always include <config.h> in sources.
13869 * box.h: do not include <config.h> in header files
13871 * text.C (paintLastRow): remove unused variable
13873 * text.C (transformChar):
13875 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13877 * Painter.C (text):
13878 * font.C (width): rewrite to use uppercase() instead of
13881 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13883 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13885 * lyxfind.C: clean up of find failure position change
13887 2001-12-20 Juergen Vigna <jug@sad.it>
13889 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13891 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13892 (TeXRow): added to LaTeX a single tabular row.
13893 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13894 (Latex): simplified and finally good LT-h/f support.
13895 (various_functions): just small adaptions for LT-h/f support.
13897 * tabular_funcs.[hC]: added and moved here all not classfunctions
13900 2001-12-19 Juergen Vigna <jug@sad.it>
13902 * tabular.[Ch]: better support for longtabular options (not finished
13905 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13907 * text.C (paintLastRow): use the label font instead of the font of
13908 the last character to compute the size of *_BOX. This makes more
13909 sense and avoids a crash with empty paragraphs.
13910 Use Painter::rectangle to draw EMPTY_BOX.
13912 2001-12-19 Juergen Vigna <jug@sad.it>
13914 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13915 the paragraphs if the replaced paragraph is not the first one!
13916 Tried to delete not used paragraphs but does not work yet so for
13917 now it's inside #ifdef's and by default off!
13919 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13921 * MenuBackend.C: include "lyx_main.h" instead of declaring
13922 lastfiles (actually was declared as LastFiles* instead of a
13925 2001-12-17 Juergen Vigna <jug@sad.it>
13927 * tabular.C (AppendColumn): applied John's fix
13929 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13933 * BufferView_pimpl.h:
13934 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13937 * box.h: new start of class for above
13939 * lyxfunc.C: ignore space-only minibuffer dispatches.
13940 Show the command name when it doesn't exist
13942 * minibuffer.C: don't add empty lines to the history
13944 * minibuffer.C: add a space on dropdown completion
13946 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13948 * text.C: fix line above/below drawing in insets
13950 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13952 * lyxlength.C (LyXLength): Initialize private variables.
13954 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13956 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13957 when inserting error insets.
13959 2001-12-13 Juergen Vigna <jug@sad.it>
13961 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13962 actually sometimes the before-paragraph.
13963 (setUndo): don't clear the redostack if we're not actually undoing!
13965 2001-12-06 Juergen Vigna <jug@sad.it>
13967 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13968 and fixed redoing of main paragraph, so we can use it now ;)
13970 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13972 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13974 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13977 2001-12-13 André Pönitz <poenitz@gmx.net>
13980 * undo_func.C: minor cleanup
13982 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13984 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13985 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13986 font in urw-fonts package which is marked as -urw-fontspecific and
13987 does not work (incidentally, changing the encoding in the
13988 fonts.dir of this package to -adobe-fontspecific fixes the
13991 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13992 is a crash when undoing first paragraph (Juergen, please take a
13993 look). THis does not mean the undo fix is wrong, just that it
13996 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13997 the (Paragraph*) version when needed instead of duplicating the
14000 * text.C (workWidth): use Inset::parOwner to find out where the
14001 inset has been inserted. This is a huge performance gain for large
14002 documents with lots of insets. If Inset::parOwner is not set, fall
14003 back on the brute force method
14005 * paragraph_pimpl.C (insertInset):
14006 * paragraph.C (Paragraph):
14007 (cutIntoMinibuffer): set parOwner of insets when
14008 inserting/removing them
14010 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14012 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14018 * mathed/formulabase.C:
14019 * mathed/math_cursor.[Ch]:
14020 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14023 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14025 * lyxlength.[Ch] (operator!=): new function
14027 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14029 * text.C (workWidth): use Inset::parOwner to find out where the
14030 inset has been inserted. This is a huge performance gain for large
14031 documents with lots of insets. If Inset::parOwner is not set, fall
14032 back on the brute force method
14034 * paragraph_pimpl.C (insertInset):
14035 * paragraph.C (Paragraph):
14036 (cutIntoMinibuffer): set parOwner of insets when
14037 inserting/removing them
14039 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14041 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14043 * tabular-old.C (getTokenValue):
14044 * tabular.C (getTokenValue):
14045 (write_attribute): new versions for LyXLength
14046 (everywhere): adjust the use of widths
14048 * tabular.h: change the type of widths from string to LyXLength
14050 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14052 * paragraph.C: fixed missing line number count when exporting
14053 Environments to LaTeX file
14055 * buffer.C: added informational message for checking line numbers.
14057 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14059 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14060 paragraph, do the 'double space' part, but not the 'empty
14063 * text.C (workWidth): small optimization
14064 (getLengthMarkerHeight): use minimal size for negative lengths.
14066 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14068 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14070 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14072 2001-12-11 André Pönitz <poenitz@gmx.net>
14075 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14077 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14079 * text2.C: keep selection on a setFont()
14081 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14083 * lyx_cb.C: another bv->text misuse, from insert label
14085 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14088 * kbsequence.C: re-instate nmodifier mask
14090 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14092 * lyx_main.h: make lyxGUI private.
14094 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14096 * lyxfind.C: place the cursor correctly on failed search
14098 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14100 * text.C (getLengthMarkerHeight): for small heights, the arrows
14101 are not always on top/bottom of the text
14102 (drawLengthMarker): smaller arrows; take the left margin in
14103 account; draw also vfills.
14105 (paintLastRow): remove special code for vfill and standard spaces,
14106 since everything is handled in drawLengthMarker now.
14108 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14110 * buffer.C (insertErtContents): try to handle font and language
14111 interaction a bit better.g
14113 * ColorHandler.C (updateColor): change the hash to cover the whole
14114 LColor enum, ws cleanup
14115 (getGCLinepars): ditto
14116 (getGCLinepars): only lookup in the linecache once.
14118 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14120 * iterators.C (operator++): Make the iterator more robust
14122 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14124 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14126 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14129 * text.C: better added space drawing
14131 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14134 * BufferView2.C: fix layout combo update on inset unlock
14136 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14138 * Makefile.am: don't compile unused files
14140 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14144 * LyXAction.C: remove old LFUN_LAYOUTNO
14146 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14148 * paragraph_pimpl.h:
14149 * paragraph_pimpl.C: isTextAt() doesn't need font param
14151 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14154 * lyxlex.C: little cleanup
14156 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14158 * BufferView_pimpl.C: fix insertAscii for insets
14160 2001-12-05 Juergen Vigna <jug@sad.it>
14162 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14163 set the right font on the "multi" paragraph paste!
14165 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14171 * lyxlength.C: remove out-commented code.
14173 * BufferView_pimpl:
14187 * vc-backend.C: change "while(" to "while ("
14189 * lyxlength.[Ch]: add zero function to check if length is zero or
14191 * lyxgluelength.C: use it
14193 2001-12-05 Allan Rae <rae@lyx.org>
14195 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14196 Works for 2.95.3, from what I understand of Garst's reports this should
14197 work for other g++ versions. We're screwed if the abs(int) definition
14198 changed between bugfix releases of gcc.
14200 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14202 * text.C: fix chapter label offset !
14204 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14207 * text.C: fix hfill at end of line, clean up
14209 2001-12-04 Juergen Vigna <jug@sad.it>
14211 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14212 that we force an update of the inset and it's owners if neccessary.
14214 2001-12-03 Juergen Vigna <jug@sad.it>
14216 * text.C (rowLast): simplified code
14218 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14220 * lyxfunc.C: fix show options on timeout
14222 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14224 * screen.C (topCursorVisible): scroll half a page when the cursor
14225 reached top of bottom of screen
14227 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14229 * minibuffer.C: deactivate on loss of focus
14231 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14233 * vspace.[Ch] (operator!=): add operator.
14235 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14237 * BufferView_pimpl.C: refuse to open an inset when
14238 there's a selection.
14240 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14242 * BufferView_pimpl.C: allow to click on RHS of full row insets
14244 2001-11-30 Juergen Vigna <jug@sad.it>
14246 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14247 insets for undo reasons.
14249 2001-11-28 André Pönitz <poenitz@gmx.net>
14251 * vspace.[Ch]: cosmetical changes
14253 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14263 * kbsequence.C: part re-write of old kb code
14266 * WorkArea.C: remove Lgb_bug_find_hack
14268 2001-11-30 José Matos <jamatos@fep.up.pt>
14270 * buffer.C (makeDocBookFile): add a comment to point a hack.
14271 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14272 Fixed a double write of labels.
14274 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14277 * LaTeX.h Fixed bug in LaTeX class where it would not
14278 re-run latex if no depfiles were changed, but the .dvi was removed.
14280 2001-11-28 André Pönitz <poenitz@gmx.net>
14282 * all the files from the change on 2001/11/26:
14283 use lyx::layout_type instead of LyXTextClass::size_type
14284 use lyx::textclass_type instead of LyXTextClassList::size_type
14286 2001-11-29 Juergen Vigna <jug@sad.it>
14288 * text.C: added support for paragraph::isFreeSpacing()
14290 * buffer.C: same as above
14292 * paragraph.h: inserted isFreeSpacing() function to enable
14293 FreeSpacing inside InsetERT.
14295 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14296 of the paragraph's in the cut/copy buffer to 0!
14298 * text2.C (removeRow): remove the assert as it can!
14300 * lyxtext.h: added helper function firstRow returning firstrow and
14301 made firstrow private again.
14303 * BufferView2.C (lockInset): don't relock if we're already locked!
14305 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14306 the only paragraph.
14307 (removeRow): added Assert::(firstrow)
14309 * debug.C: forgot to add INSETTEXT here.
14311 2001-11-28 Juergen Vigna <jug@sad.it>
14313 * sp_spell.C (initialize): changed error text to more general
14314 spellchecker command use (not only ispell!)
14316 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14318 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14320 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14322 * vspace.C: initialise lyxgluelength on failure
14324 2001-11-28 Allan Rae <rae@lyx.org>
14326 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14327 declaration & definition that looks like a function declaration.
14329 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * BufferView2.C (copy):
14332 (copyEnvironment): do not clear the selection when doing a copy.
14334 * text.C (paintFirstRow): compilation fix
14336 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14338 * tabular.C (Latex): correct line count when writing latex.
14340 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14342 * paragraph_pimpl.h:
14343 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14346 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14350 * LColor.C: change vfillline->added_space
14352 * text.C: add markers and text for added space
14354 * vspace.C: fix comment
14356 2001-11-28 André Pönitz <poenitz@gmx.net>
14358 * paragraph.C: whitespace changes
14359 * all the other files from the change on 2001/11/26:
14360 change *::pos_type into lyx::pos_type
14362 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14364 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14365 language of the document when inserting error insets.
14367 2001-11-26 André Pönitz <poenitz@gmx.net>
14369 * BufferView_pimpl.[Ch]:
14377 * paragraph_pimpl.[Ch]:
14380 * text2.C: reduce header dependencies, introduce type for positions
14382 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14384 * <various>: change to use Alert.h
14386 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14388 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14389 when encountering an unknown token.
14390 (readLyXformat2): Show an error message if there were unknown tokens.
14392 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14395 * BufferView_pimpl.C:
14399 * text2.C: use par->isInset()
14401 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14403 * paragraph_pimpl.h:
14404 * paragraph_pimpl.C: cleanup
14406 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14408 * text2.C (removeRow):
14409 * text.C (setHeightOfRow): remove useless (and costly) call to
14412 2001-11-20 Allan Rae <rae@lyx.org>
14414 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14415 Now need Inset*::checkInsertChar() to return true for appropriate
14416 cases so that the characters in the minibuffer will actually be
14419 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14421 * text.C: change the order of the includes.
14422 (workWidth): initialize it at once.
14423 (workWidth): make maxw unsigned
14424 (setHeightOfRow): remove unused variable (inset)
14425 (selectSelectedWord): remove unused variable (inset)
14426 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14428 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14430 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14431 server is not running.
14433 (closeConnection): add debug info when server is disabled.
14435 * ColorHandler.C (getGCForeground): send debug message to GUI
14438 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14440 * kbmap.C (bind): modify because return conventions of
14441 kb_sequence::parse have changed.
14443 * kbsequence.C (parse): only ignore spaces and not any stupid
14444 control character. This avoids tests like s[i] <= ' ', which are
14445 guaranteed to fail with 8bit characters and signed chars.
14446 Change return code to string::npos when there have been no error
14447 (0 was a bad idea when error is at first character)
14449 2001-11-14 José Matos <jamatos@fep.up.pt>
14452 * buffer.C (simpleDocBookOnePar): removed unused argument.
14454 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14456 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14457 insets which are part of a word. Paragraph::isLetter takes care of
14458 that now. Use Paragraph::isInset to identify insets.
14459 (selectSelectedWord): do not test for hyphenation break.
14461 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14462 that protected spaces are considered as spaces.
14464 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14467 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14470 * lyxserver.C: fix it. and small cleanup.
14472 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14474 * BufferView_pimpl.C: use inline helpers
14477 * LaTeXFeatures.C: fix typos
14480 * Spacing.C: move spacing_string into class
14482 * ToolbarDefaults.C: move stuff into namespace anon
14484 * layout.h: update enum
14486 * lyxfunc.C: use better debug
14488 * minibuffer.h: fix typo
14492 * WorkArea.C: add and use Debug::WORKAREA
14496 * text2.C: code re-organisation, inline helpers
14498 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14500 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14501 std::vector.empty().
14503 2001-11-09 Allan Rae <rae@lyx.org>
14505 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14506 '\n's after tables. Tabular and ERT inset work now makes this no
14509 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14512 * minibuffer.C: fix crash, improve drop-down completion
14514 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14517 * lyxserver.C: invalidate fd's when doing endPipe()
14519 2001-11-08 José Matos <jamatos@fep.up.pt>
14521 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14522 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14525 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14527 2001-11-07 José Matos <jamatos@fep.up.pt>
14530 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14533 * buffer.C (sgmlOpenTag):
14534 * buffer.C (sgmlCloseTag): removed debug info.
14536 * buffer.h (sgmlOpenTag):
14537 * buffer.h (sgmlCloseTag): made public.
14539 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14541 * buffer.C (saveParamsAsDefaults):
14542 * lyx_cb.C (MenuLayoutSave): remove
14544 * LyXAction.C (init):
14546 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14548 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14550 * buffer.C (setPaperStuff): removed from here...
14552 * bufferparams.C (setPaperStuff): ... and moved there.
14554 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14558 * XFormsView.C: add support for drop-down completion
14560 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14562 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14565 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14567 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14570 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14572 * lyx_main.C: change ref to known bugs
14574 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14576 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14577 to work around older babel problems.
14579 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14581 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14583 2001-10-24 Juergen Vigna <jug@sad.it>
14585 * tabular-old.C (ReadOld): below variable changes reflected.
14587 * tabular.[Ch]: added ltType struct for longtable header/footer
14588 defines and changed all instances where they are used. Added
14589 future support for double top/bottom rows.
14591 2001-10-24 José Matos <jamatos@fep.up.pt>
14593 * buffer.h (docbookHandleCaption):
14594 * buffer.C (docbookHandleCaption): removed unused function.
14595 (makeDocBookFile): moved docbook supported version to v4.1.
14597 2001-10-24 José Matos <jamatos@fep.up.pt>
14600 * tabular.C (docbookRow): new function to export docbook code of a row.
14601 (DocBook): now honors the longtable flags.
14603 2001-10-23 José Matos <jamatos@fep.up.pt>
14606 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14607 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14609 * buffer.C (makeLinuxDocFile):
14610 (makeDocBookFile): reworked the preamble, more clean, and with
14611 support for lyx defined entities. Changed the document declaration
14612 to be more XML friendly.
14614 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14615 if we need to output XML that should be done with a filter.
14617 2001-10-22 Juergen Vigna <jug@sad.it>
14619 * sp_pspell.h (class PSpell): add alive function needed in the
14620 controller to see if the spellchecker could be started.
14622 2001-10-22 Juergen Vigna <jug@sad.it>
14624 * buffer.C (insertStringAsLines): modify the font for inserting
14625 chars in certain conditions by calling checkInsertChar(font).
14627 2001-10-19 Juergen Vigna <jug@sad.it>
14629 * text.C (workWidth): use getRow instead of wrong algorithm.
14630 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14632 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14637 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14639 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * text.C (workWidth): do not search for the exact row when
14642 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14643 optimization for big documents.
14645 2001-10-18 Juergen Vigna <jug@sad.it>
14647 * text.C (workWidth): new function with added Inset * parameter.
14649 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14651 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14653 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14654 change return type of getColumnNearX.
14657 * text.C (changeRegionCase): use uppercase/lowercase instead of
14660 (rightMargin): simplify code by factoring out the uses of
14665 (appendParagraph): use Paragraph::size_type
14667 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14669 * vspace.C (asLatexString): add a missing break
14671 2001-10-15 Herbert Voss <voss@perce.de>
14673 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14675 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14677 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14680 2001-10-10 André Pönitz <poenitz@gmx.net>
14682 * lyxfunc.C: removed greek_kb_flag.
14684 2001-10-10 Herbert Voss <voss@perce.de>
14686 * lyx_main.C: delete global string help_lyxdir.
14688 2001-10-09 Herbert Voss <voss@perce.de>
14690 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14692 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14694 * lyx_main.C: added global string help_lyxdir.
14696 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14698 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14700 * lyxrc.C (set_font_norm_type): support iso8859-4
14702 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14704 * LaTeX.C (deplog): add another regex for MikTeX
14706 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14708 * lyxrc.C (set_font_norm_type): support iso8859-3
14710 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14712 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14714 * LaTeXFeatures.C: remove special case of french and index
14716 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14717 before \begin{document}). This solves several incompatibilities.
14719 2001-10-03 Garst Reese <reese@isn.net>
14721 * lyx_cb.C: change CheckTex error msg.
14723 2001-10-03 José Matos <jamatos@fep.up.pt>
14725 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14727 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14729 * .cvsignore: update
14731 * lyx_main.C (commandLineVersionInfo): use new style version info.
14733 * buffer.C (writeFile):
14735 (makeLinuxDocFile):
14736 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14738 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14740 * version.h: update to use stuff in version.C
14742 * version.C.in: new file. Contains version information determined
14743 at compile time. This is a merging of version.h and
14746 2001-10-03 Juergen Vigna <jug@sad.it>
14748 * BufferView_pimpl.C (update): don't change "dirty" status in
14751 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14753 * WorkArea.C (c-tor): re-position version string slightly.
14755 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14757 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14758 revert to previous code.
14760 WorkArea.[Ch]: (show, destroySplash): methods removed.
14762 WorkArea.C: rework code so that it's an amalgam of the codes before and
14763 after the splash screen was moved to WorkArea.
14765 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14768 * vspace.C (inPixels):
14771 * buffer.C (insertStringAsLines):
14772 (asciiParagraph): fix types to be large enough
14774 * lyxlex_pimpl.h: change member status from short to int
14776 * layout.h: fix type of endlabeltype
14779 * kbsequence.C (parse): change return type to string::size_type
14781 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14784 * Bullet.C (bulletSize):
14785 (bulletEntry): do not use short ints as parameters
14787 * BufferView2.C (insertLyXFile): change a char to an int.
14789 * WorkArea.C (WorkArea): remove unneeded floats in computation
14791 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14793 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14795 * paragraph.C (asString): Do not ignore newline/hfill chars when
14796 copying to the clipboard.
14798 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14800 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14801 after a multi-line inset.
14803 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14805 * paragraph.C (validate): Set NeedLyXFootnoteCode
14807 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14809 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14810 and decrease-error to decrease.
14812 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14814 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14815 it more readable (should be equivalent)
14817 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14819 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14821 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14823 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14824 of a cursor (row, etc.) after a character has been deleted
14825 (deleteEmptyParagraphMechanism): call the method above on _all_
14826 cursors held by the LyXText when a double space has been
14829 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14831 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14833 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14835 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14836 background. Use greyOut() and the new show() methods to toggle between
14837 the foreground and background. Add code to remove the splash after
14838 its initial showing.
14840 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14841 (create_forms): no longer call Dialogs::showSplash.
14843 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14845 * .cvsignore: add version_info.h
14847 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * version_info.h.in: new file
14851 * Makefile.am: add version_info.h.in
14853 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14854 version_info.h instead of VERSION_INFO
14856 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14858 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14859 The ERT inset now returns string().
14861 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14863 * lyxtext.h, text.C (selectNextWord): renamed as
14864 selectNextWordToSpellcheck.
14866 * text.C (selectNextWordToSpellcheck): Modified to not select
14867 words inside an ERT inset.
14869 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14871 * lyx_cb.C (MenuLayoutSave): change a bit the question
14873 * sp_base.h: include <sys/types.h>
14875 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14877 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14879 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14881 * several files: fix typos in user-visible strings
14883 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14885 * text2.C (pasteSelection): do not set the selection, since it
14886 will be cleared later. Actually, the intent was to fix the way the
14887 selection was set, but I figured rmoving the code was just as good.
14889 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14891 * FontLoader.C (available): Check if font is available without
14894 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14896 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14898 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14900 * lyxrc.[Ch]: added display_graphics variable and associated code.
14902 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14904 * bufferparams.C (hasClassDefaults): new method. Returns true if
14905 the buffer parameters correspond to known class defaults
14907 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14909 * XFormsView.C (show): set minimum size to the main window.
14911 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14913 * text2.C (copySelection):
14915 * lyxfind.C (LyXReplace):
14916 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14917 LyXText::selectionAsString.
14919 * paragraph.C (asString): add "label" argument to the second form
14921 * text2.C (selectionAsString): add "label" argument and pass it to
14922 Paragraph::asString.
14924 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14926 * lyx_main.C (commandLineHelp): remove version information
14928 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14930 * lyx_main.C: add -version commandline option
14932 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14934 * paragraph.h: make the optional constructor arg required instead.
14935 some modifications to other files because of this.
14937 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14939 * lyxserver.C (C_LyXComm_callback): make it static
14941 * lyx_main.C (error_handler): make it static
14943 * lyx_gui.C (LyX_XErrHandler): make it static
14945 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14947 * WorkArea.C: make the extern "C" methods static.
14949 * Makefile.am (lyx_LDADD): simplify
14951 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14953 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14954 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14956 * LyXAction.C (init):
14957 * lyxfunc.C (dispatch): associated code removal.
14959 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14961 * lyxfont.h (isSymbolFont): shut off warning
14963 * text.C (setHeightOfRow):
14964 (getVisibleRow): fix crash with empty paragraphs which have a
14967 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14969 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14972 2001-09-04 José Matos <jamatos@fep.up.pt>
14975 * tabular.C (docbook): rename docBook method to docbook.
14977 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14979 * Makefile.am: add dependencies to main.o.
14981 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14983 * FontLoader.C (available): Return false if !lyxrc.use_gui
14985 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14987 * FontInfo.C (query):
14988 * converter.C (view):
14989 * importer.C (Import):
14990 * exporter.C (Export): Can not -> cannot.
14992 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14994 * BufferView_pimpl.C: allow to create index inset even if
14997 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14999 * buffer.C (getLists): replace boost::tie code with an explicit pair
15000 as boost::tie can break some compilers.
15002 * iterators.h: Added a std:: declaration to the return type of
15005 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15007 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15010 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15012 * iterators.[Ch]: New files. Provide paragraph iterators.
15014 * buffer.C (changeLanguage): Use paragraph iterators.
15015 (isMultiLingual): ditto
15017 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15019 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15021 * FontLoader.C: Support for cmr font.
15023 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15025 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15026 (available): New method.
15028 * FontInfo.C (getFontname): Use scalable fonts even when
15029 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15032 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15034 * converter.C (Formats::view): reverted! Incorrect fix.
15036 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15038 * converter.C (Formats::view): only output the -paper option
15039 if the dvi viewer is xdvi, thereby fixing bug #233429.
15041 2001-08-23 Herbert Voss <voss@perce>
15043 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15045 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15047 * Spacing.h (Spacing): Set space to Default on in the default
15050 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15052 * vc-backend.h (RCS::versionString): add RCS to version
15053 (CVS::versionString): add CVS to version
15055 * vc-backend.C (scanMaster): do not add CVS to version.
15056 (scanMaster): do not add RCS to version
15058 * lyxvc.C (versionString): new method
15060 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15062 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15064 * Spacing.C (set): initialize fval
15066 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15068 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15071 2001-08-16 Juergen Vigna <jug@sad.it>
15073 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15075 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15077 * BufferView_pimpl.C:
15080 * text2.C: setParagraph takes linespacing now
15082 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15084 * LyxAction.C: add internal LFUN_CITATION_INSERT
15086 * LyXView.C: actually apply fix
15088 * bufferlist.C: fix open non-existent file
15090 * lyxfind.C: fix indentation
15092 * lyxfunc.C: remove unneeded assert, fix typo
15094 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15096 * MenuBackend.C: use "Floatname List"
15098 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15100 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15101 when converting LaTeX layout to insetERT.
15102 Generate a non-collapsed float when reading old float
15104 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15106 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15109 2001-08-13 Juergen Vigna <jug@sad.it>
15111 * text.C (fill): return 0 instead of 20 as this seems to be the more
15114 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15116 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15119 2001-08-13 Juergen Vigna <jug@sad.it>
15121 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15123 (SearchBackward): comment out the unlocking of the inset_owner this
15124 should not be needed!
15126 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15128 * Many files: Remove inherit_language, and add latex_language
15130 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15131 collapsible insets.
15133 2001-08-10 Juergen Vigna <jug@sad.it>
15135 * text.C (prepareToPrint): fixed hfill-width in draw!
15137 * BufferView2.C (selectLastWord): save the selection cursor as this
15138 now is cleared in the function LyXText::clearSelection!
15140 2001-08-08 Juergen Vigna <jug@sad.it>
15142 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15143 BACKSPACE type functions.
15145 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15146 is only cutted from the document but not put in the cut-buffer, where
15147 still the old stuff should be.
15149 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15151 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15153 * tabular.C (SetWidthOfCell): fixed special case where the width
15155 (LeftLine): handle '|' in align_special.
15157 (LeftAlreadyDrawed): ditto
15158 (SetWidthOfCell): ditto
15160 2001-08-07 Juergen Vigna <jug@sad.it>
15162 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15164 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15166 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15167 * lyxlex.[hC]: ditto
15169 2001-08-06 Juergen Vigna <jug@sad.it>
15171 * text.C (getVisibleRow): fix up row clearing a bit.
15173 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15175 * minibuffer.C: make sure the X server sees the changes in the input.
15177 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15179 * paragraph.C (getFont): split into...
15180 (getLabelFont): this
15181 (getLayoutFont): and this
15182 * paragraph_pimpl.C (realizeFont): calling this
15184 * text2.C (getFont): split into...
15185 (getLayoutFont): this
15186 (getLabelFont): and this
15187 (realizeFont): all three calling this
15189 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15192 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15196 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15198 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15199 layouts from the Quote inset insertion.
15201 2001-08-03 Juergen Vigna <jug@sad.it>
15203 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15205 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15206 only if status not is already CHANGED_IN_DRAW (second level).
15208 * text.C (draw): don't set the need_break_row when inside an
15211 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15213 * buffer.C (parseSingleLyXformat2Token): handle more latex
15216 * bufferview_funcs.[hC]: change function names to
15217 begin with small char, adjust other files.
15219 2001-08-02 André Pönitz <poenitz@gmx.net>
15222 BufferView_pimpl.C: remove broken special code for math-greek
15224 2001-08-02 Juergen Vigna <jug@sad.it>
15226 * BufferView_pimpl.C (update): redone this function so that we
15227 update the text again if there was a CHANGE_IN_DRAW.
15229 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15230 (drawFromTo): added a new internal bool which is used by draw() and
15232 (general): some cursor drawing problems fixed.
15234 2001-08-01 Juergen Vigna <jug@sad.it>
15236 * lyxfind.C (LyXFind): fixed
15237 (SearchForward): ditto
15238 (SearchBackward): ditto
15240 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15241 spurius drawing of the cursor in the main area.
15243 * text2.C (status): small fix which could lead to a segfault!
15244 (clearSelection): remove unneeded BufferView param.
15246 2001-08-01 André Pönitz <poenitz@gmx.net>
15248 * lyxfunc.C: small change due to changed mathed interface
15250 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15252 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15254 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15256 * lyxfunc.c: fail gracefully if file doesn't exist
15261 * BufferView_pimpl.C: IsDirWriteable() proto changed
15263 * LyXView.C: fix updateWindowTitle() to store the last title
15265 2001-07-31 Juergen Vigna <jug@sad.it>
15267 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15268 the font (wrong since using of Paragraph::highestFontInRange).
15270 * paragraph.C (highestFontInRange): added a default_size parameter.
15272 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15273 (setHeightOfRow): reformat
15275 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15277 * converter.[hC] + affected files: move to (inital-char)lowercase
15280 * ParagraphParameters.C (ParagraphParameters): remove commented code
15282 * PainterBase.[Ch]: remove commented code
15284 * LaTeXFeatures.h: add "bool floats" for float.sty
15286 * LaTeXFeatures.C (LaTeXFeatures): init floats
15287 (require): handle float
15288 (getPackages): do it with floats
15290 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15292 * BufferView_pimpl.C (Dispatch): improve handling of
15293 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15295 * commandtags.h: #include lyxfont.h here temporarily to avoid
15298 * bufferlist.h: include LString.h here.
15300 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15302 * text2.C (getStringToIndex): new method.
15304 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15306 * *: Reduced header file dependencies all over.
15308 2001-07-30 Baruch Even <baruch@lyx.org>
15310 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15312 2001-07-29 Baruch Even <baruch@lyx.org>
15314 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15316 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15318 * ParameterStruct.h (endif): add a default constructor to make
15319 sure that all variables is initialized.
15321 * ParagraphParameters.C (ParagraphParameters): adjust
15323 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15325 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15326 index; also, check that there is something to index, and that it
15327 does not span over several paragraphs.
15328 (doubleClick): use WHOLE_WORD_STRICT for double click.
15330 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15332 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15335 2001-07-26 Baruch Even <baruch@lyx.org>
15337 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15338 an InsetFig figure, backwards compatible reading of old figure code.
15340 2001-07-27 Juergen Vigna <jug@sad.it>
15342 * text2.C: font.realize function adaption.
15344 * text.C (draw): add a warnings lyxerr text if needed.
15346 * layout.C: font.realize function adaption.
15348 * language.C: add inherit_language and implement it's handlings
15350 * bufferview_funcs.C (StyleReset): remove language parameter from
15351 font creation (should be language_inherit now).
15353 * bufferparams.C (writeFile): handle ignore_language.
15355 * paragraph.C (getFontSettings): the language has to be resolved
15356 otherwise we have problems in LyXFont!
15358 * lyxfont.C (lyxWriteChanges): added document_language parameter
15359 (update): removed unneeded language parameter
15361 * paragraph.C (validate): fixed wrong output of color-package when
15362 using interface colors for certain fonts in certain environments,
15363 which should not seen as that on the final output.
15365 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15367 * BufferView_pimpl.C:
15372 * LyXAction.C: add thesaurus support
15375 * lyxfind.C: add "once" parameter, for thesaurus, to not
15376 move to the next match
15378 2001-07-26 Juergen Vigna <jug@sad.it>
15380 * lyxfont.C (realize): honor ignore_language too!
15383 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15385 * text.C (draw): one place more for ignore_language to not draw
15388 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15390 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15392 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15394 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15395 the minipage conversion problem.
15397 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15399 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15402 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15404 * BufferView.h: don't forward declare WorkArea
15406 * BufferView.C: don't include WorkArea.h
15408 2001-07-25 André Pönitz <poenitz@gmx.net>
15412 * lyxfunc.C: new LFUN 'math-space'
15414 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15416 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15418 * text2.C (toggleInset): call open/close
15420 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15422 * lyxfunc.C (dispatch): add debug for the disabled case
15424 * font.C (buttonText): make similar to rectText
15426 * buffer.C (readInset): comment out parsing of insetlist and
15429 * PainterBase.C (rectText): small correction
15431 * BufferView_pimpl.C: comment out insettheorem and insetlist
15432 * LyXAction.C: ditto
15433 * commandtags.h: ditto
15435 2001-07-24 Juergen Vigna <jug@sad.it>
15437 * text.C (draw): honor the ignore_language.
15439 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15441 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15443 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15446 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15448 * lyxtext.h: remove unused (and unimplemented) methods
15450 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15452 * text.C (getVisibleRow): honor background color
15455 * Painter.h: remove default color argument for fillRectangle
15457 * text.C (backgroundColor): new method
15459 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15461 * text.C (getVisibleRow): adjust
15463 * font.[Ch] (rectText): new method, metrics
15464 (buttonText): new method, metrics
15466 * PainterBase.[hC]: make rectText and buttonText always draw and take
15469 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15471 * ToolbarDefaults.C (read):
15472 * MenuBackend.C (read): allow escaping in all strings
15474 * BufferView_pimpl.C (insertAndEditInset): new method.
15475 (Dispatch): use insertAndEditInset whenever appropriate.
15477 * BufferView_pimpl.C (insertNote): removed
15479 * BufferView_pimpl.C (smartQuote): new method, moved from
15480 BufferView; if an insetquote cannot be inserted, insert a '"'
15483 * BufferView2.C: remove insertCorrectQuote();
15485 * lyxfunc.C (getStatus): Add support for all remaingin
15486 inset-insert lfuns.
15488 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15490 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15491 command (necessary to pass " as parameter of self-insert.
15493 * text.C (selectWordWhenUnderCursor):
15494 (selectWord): add word_location parameter
15495 (selectWordWhenUnderCursor): same + remove special code for word
15497 (selectNextWord): use kind() to guess type of insetspecialchar,
15500 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15501 (insertErtContents): create ert insets as collapsed.
15502 (readInset): better compatibility code for Info inset.
15504 2001-07-20 Juergen Vigna <jug@sad.it>
15506 * lyxfunc.C (dispatch): use always LyXFind now!
15508 * text2.C (init): add a reinit flag so that the LyXText can be
15509 reinited instead of deleted and reallocated (used in InsetText).
15511 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15517 2001-07-18 Juergen Vigna <jug@sad.it>
15519 * text.C (selectNextWord): handle insets inside inset by calling
15520 always the bv->text functions so that we can go up the_locking_inset!
15522 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15523 in strange locations when inside an inset!
15525 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15526 handling to include insets.
15528 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15530 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15532 * LyXAction.C (init):
15534 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15535 LIGATURE_BREAK, since the name is so stupid.
15537 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15539 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15542 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15544 * sp_form.[Ch]: remove.
15546 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15548 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15551 * src/buffer.C (readInset): ditto.
15553 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15555 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15556 menuSeparator(), endOfSentenceDot(), ldots() and
15557 hyphenationPoint(), which are therefore removed.
15558 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15560 * LyXAction.C (init):
15561 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15563 * paragraph.C (getWord): removed.
15565 * BufferView_pimpl.C (Dispatch): use last word or selection for
15566 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15568 * lyx_main.C (queryUserLyXDir): do not ask before creating
15569 user_dir, except if it has been named explicitely.
15571 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15573 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15574 a document of zero size.
15576 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15578 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15579 approriately in the c-tor and in require().
15580 (getPackages): output the appropriate LaTeX for natbib support.
15582 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15583 variables "use_natbib" and "use_numerical_citations" when reading the
15585 (readInset): read the various natbib cite commands.
15586 (validate): white-space change.
15588 * bufferparams.[Ch]: new variables "bool use_natbib" and
15589 "bool use_numerical_citations".
15590 (writeFile): output them in the LyX file.
15592 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15594 * lyxfunc.C (getStatus): add support for all the inset insertion
15597 * text2.C (insertInset):
15598 * paragraph.C (insetAllowed):
15599 * BufferView_pimpl.C (insertInset): update to take in account the
15600 renaming of insertInsetAllowed
15602 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15604 * text2.C (getInset): new method. returns inset at cursor position.
15606 * BufferView_pimpl.C (Dispatch): changes because of this.
15608 * LyXAction.C (init): rename open-stuff to inset-toggle.
15610 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15612 * text2.C (toggleInset): renamed from openStuff; use
15615 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15617 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15619 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15621 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15623 * buffer.C (readLyXformat2): Add filename to the error dialog
15625 2001-07-18 Juergen Vigna <jug@sad.it>
15627 * tabular.C (GetCellNumber): put an assert here instead of the check!
15629 2001-07-17 Juergen Vigna <jug@sad.it>
15631 * BufferView_pimpl.C (toggleSelection): adapted too.
15633 * text.C (selectNextWord): adapted for use with insets.
15634 (selectSelectedWord): ditto
15636 2001-07-17 Juergen Vigna <jug@sad.it>
15638 * sp_spell.C (PSpell): fix initialitation order.
15640 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15642 * paragraph.C: spacing
15644 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15646 * sp_spell.C: repair language selection for pspell
15648 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15650 * lyxfunc.h: change more methods to begin with lower char.
15652 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15654 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15655 for unknown layouts.
15657 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15659 * buffer.C (readLyXformat2): Generate an error dialog if there are
15662 2001-07-16 Juergen Vigna <jug@sad.it>
15664 * sp_spell.C: always compile ISpell part.
15666 * lyxrc.C: added use_pspell entry and it's handling.
15668 2001-07-13 Juergen Vigna <jug@sad.it>
15670 * sp_spell.C: removed double includes.
15672 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15674 Consistent use of Lsstream.h:
15675 * Lsstream.h: added using std::stringstream for consistencies sake.
15677 * buffer.C: removed using std::stringstream
15679 * lyxfont.C (stateText):
15680 * paragraph.C (asString):
15681 * text.C (selectNextWord, selectSelectedWord):
15682 * text2.C (setCounter):
15683 * vspace.C (asString, asLatexString):
15684 std::ostringstream -> ostringstream.
15686 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15688 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15689 * commandtags.h: add LFUN_HELP_ABOUTLYX
15690 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15692 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15694 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15696 * lyx_gui_misc.C: remove spellchecker
15697 * lyxfunc.C: showSpellchecker
15699 * sp_ispell.h: added
15700 * sp_pspell.h: added
15701 * sp_spell.C: added
15702 * sp_form.[Ch]: removed
15703 * spellchecker.[Ch]: removed
15705 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15707 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15709 (simpleTeXSpecialChars): Simply print the input character without
15710 any special translation if pass_thru is set.
15712 * layout.h: Added bool pass_thru to layout class for being able to
15713 implement pass through of a paragraph for Literate Programming.
15715 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15716 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15717 * layout.C (Read): add "passthru" to list of layout tags and add
15718 code to set the pass_thru boolean when it is read.
15720 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15722 * trans_decl.h: remove allowed from KmodInfo
15724 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15725 remove allowed code
15728 * paragraph_pimpl.C (erase): use boost::prior
15730 * Painter.C (text): use data() instead of c_str() when length is
15732 * WorkArea.C (putClipboard): ditto
15733 * font.h (width): ditto
15735 * BufferView2.C: use it-> instead of (*it). for iterators
15737 * paragraph_pimpl.C: ditto
15738 * paragraph.C: ditto
15739 * minibuffer.C: ditto
15740 * language.C: ditto
15742 * encoding.C: ditto
15743 * counters.C: ditto
15744 * converter.C: ditto
15746 * Variables.C: ditto
15747 * TextCache.C: ditto
15748 * MenuBackend.C: ditto
15749 * LyXAction.C: ditto
15751 * FloatList.C: ditto
15752 * DepTable.C: ditto
15753 * ColorHandler.C (LyXColorHandler): ditto
15755 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15757 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15759 * text2.C (openStuff): reintroduce this method (which had been
15760 nuked in NEW_INSETS frenzy).
15762 * lyxfunc.C (Dispatch): when an action has not been handled, use
15763 its name in the error message, not its number.
15765 * paragraph.C (inInset): change method name to begin with lowercase.
15768 * text2.C: updates because of this.
15770 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15772 * ToolbarDefaults.C (add): add spaces in error message
15774 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15776 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15777 (readLyXformat2): rename return_par to first_par, use lyxlex's
15778 pushToken and remove the manual push handling.
15779 (parseSingleLyXformat2Token): add another ert comp. variable:
15780 in_tabular, rename return_par to first_par. handle newlines better
15782 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15784 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15786 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15788 * text2.C (getParFromID): removed
15790 * buffer.C (getParFromID): new method moved form lyxtext.
15791 * BufferView2.C (insertErrors): adjust
15792 (setCursorFromRow): adjust
15793 * BufferView_pimpl.C (restorePosition): adjust
15794 * lyxfunc.C (Dispatch): adjust
15795 * undo_funcs.C (textUndo): adjust
15797 (textHandleUndo): adjust
15798 (textHandleUndo): adjust
15800 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15802 * buffer.C: up' the LYX_FORMAT
15804 * lyxfont.h: turn NO_LATEX on as default
15806 * buffer.C (insertErtContents): new methods of tex style compability.
15807 (parseSingleLyXformat2Token): use it several places.
15808 * tabular.C (OldFormatRead): and here
15810 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15812 * text2.C: remove some commented code.
15815 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15816 * trans.C: changes because of the above.
15818 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15820 * text2.C (setCounter): Fix counters bug with bibliography layout.
15822 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15824 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15825 own member functions
15826 (simpleTeXSpecialChars): ditto
15828 2001-07-06 Juergen Vigna <jug@sad.it>
15830 * a lot of files: changed the access to LyXText::status and the
15831 call of undo-functions.
15833 * undo.[Ch]: added a inset_id to the undo informations.
15835 * undo_funcs.[Ch]: added and moved here all undo functions.
15837 * lyxtext.h: give the status enum a weight, made status_ a private
15838 variable and made accessor functions for it, removed the whole bunch
15839 of undo-functions as they are now in their own file, make some
15840 functions publically available. Added function ownerParagraph with
15843 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15844 made InInset() a const function, added getParFromID() function.
15846 * buffer.[Ch]: added const version for inset_iterator functions,
15847 added getInsetFromID() function.
15849 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15850 changed undo functions for new version.
15852 2001-07-05 Juergen Vigna <jug@sad.it>
15854 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15855 unknow mechanism does not call the proper constructor but only this
15856 one also if I request the other!?
15858 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15860 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15862 * text2.C (LyXText): use initialization lists.
15864 * lyxtext.h (Selection): initialize set_ and mark_
15865 (init): remove method
15867 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15869 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15871 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15873 * screen.[Ch]: change method names to begin with lowercase
15875 * BufferView_pimpl.C (updateScrollbar): simplify further and
15876 hopefully make it a bit faster.
15878 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15880 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15881 calling directly xforms functions.
15883 * Painter.C (Painter):
15884 * lyx_cb.C (MenuWrite):
15885 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15888 * lyx_gui.C: remove bogus guiruntime extern declaration.
15890 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15892 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15894 (redoDrawingOfParagraph): ditto
15895 (redoParagraphs): ditto
15896 (cutSelection): don't create a object for CutAndPaste use the
15897 static method directly
15898 (pasteSelection): ditto
15900 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15903 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15905 * modifications to some other files because of this.
15907 * Makefile.am (lyx_SOURCES): add XFormsView
15909 * XFormsView.[Ch]: new files
15911 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15912 the main window. Move the gui dependent stuff to XFormsView
15914 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15916 * tabular.C (GetCellInset): update cur_cell also in the row/col
15917 version of this function.
15919 * lyxfunc.C: no need to include figure_form.h here.
15925 * lyxvc.C: no need to include forms.h here.
15927 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15929 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15931 * lyxfunc.C (Dispatch):
15933 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15934 constructor argument.
15936 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15938 * paragraph.C (Paragraph): dont't clear, and just set layout.
15939 (makeSameLayout): use params's copy contructor.
15941 * ParagraphParameters.[Ch] (makeSame): delete method
15943 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15945 * Variables.[Ch]: fix indentation, rename set to isSet
15947 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15949 * lyxfunc.C (Dispatch): fix typo
15951 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15953 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15956 * bufferlist.C: include assert.h for emergencyWrite().
15958 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15960 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15961 give up at last (bug #425202) !
15963 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15969 * spellchecker.C: strip spellchecker options and bring up
15970 preferences tab instead
15972 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15974 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15975 the istringstream constructor
15977 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15979 * paragraph.C (getLayout): fix return value
15981 * paragraph.h: do not declare getLayout as inline.
15983 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15985 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15987 * lyxcursor.h (operator<): new func
15988 (operator>): new func
15989 (operator>=): new func
15990 (operator<=): new func
15992 * text.C (changeCase): use selection.start and selection.end
15993 (changeRegionCase): require from to be <= to. Require par to be a
15996 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15998 2001-06-27 Juergen Vigna <jug@sad.it>
16000 * text.C (cursorLeftOneWord): changed to return the cursor and added
16001 overlay with BufferView * parameter which calls this one.
16003 (selectWord): use new getWord function.
16004 (changeCase): renamed from changeWordCase as and extended to work
16005 also on selections.
16007 * lyxtext.h: added enum word_location
16009 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16010 changeCase as this operates now also on selections.
16012 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16014 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16016 * many files: send debug output to Debug::INFO instead of
16019 * converter.C (View):
16021 (Move): send debug output to Debug::FILES instead of console.
16023 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16025 * lyxfunc.C (getStatus): use func_status
16027 * func_status.h: new header, describing the results of
16028 LyXFunc::getStatus;
16030 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16033 2001-06-25 The LyX Project <jug@sad.it>
16035 * buffer.C (sgmlOpenTag):
16037 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16039 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16041 * text2.C: remove some dead code
16043 * tabular.C (GetCellInset): store the last cell checked (gotten)
16045 * tabular.h: add the helper for the speedup
16047 * lyxtext.h: remove some dead code
16049 2001-06-26 The LyX Project <Asger>
16051 * paragraph.C: Change export to LaTeX of alignment to
16052 \begin{center} and family for better roundtrip work with reLyX.
16054 * Tune the math drawing a bit.
16056 2001-06-25 The LyX Project <Asger>
16058 * LColor.C (LColor): New color for math background. New color
16061 2001-06-25 The LyX Project <jug@sad.it>
16063 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16065 * lyxfunc.C (Open):
16066 * bufferlist.C (newFile): do not restrict to files ending with
16069 * BufferView_pimpl.C (MenuInsertLyXFile):
16071 2001-06-24 The LyX Project <jug@sad.it>
16073 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16076 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16078 * lyxtext.h: rename most methods to begin with a small char.
16079 Lots of changes because of this.
16081 * paragraph.C (Paragraph): do not call fitToSize
16082 (erase): call Pimpl::erase
16083 (insertChar): call Pimpl::insertChar
16084 (insertInset): call Pipl::insertInset
16085 (breakParagraph): do not call fitToSize
16086 (breakParagraphConservative): do not call fitToSize
16087 (fitToSize): remove method
16089 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16091 2001-06-24 The LyX Project <Asger>
16093 * Fix Qt compilation^2
16095 2001-06-24 The LyX Project <jug@sad.it>
16097 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16098 depthHook(getDepth()-1).
16101 * ParagraphParameters.h:
16102 * ParameterStruct.h: change type of depth to unsigned int ==
16103 depth_type. Many adaptations to other files before of that.
16105 2001-06-24 The LyX Project <Asger>
16107 * Fix Qt compilation.
16109 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16111 * paragraph.h: renamed several methods to begin with small letter.
16112 several changes to many parts of the code because of this.
16114 2001-06-23 The LyX Project <jug@sad.it>
16116 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16117 rewritten to discard all double spaces when KeepEmpty is off
16118 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16119 to only handle newlines but not fiddle with spaces and friends.
16121 * lyxfunc.C (MenuNew): when doing 'new from template', use
16122 template_path as default directory
16124 2001-06-23 The LyX Project <Asger>
16126 * Clean-up of header file includes all over
16127 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16129 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16131 * paragraph.h: renamed from lyxparagraph.h
16133 2001-06-23 Asger <lyx@violet.home.sad.it>
16135 * Buffer.h: Removed Buffer::resize
16136 * BufferList.h: Removed BufferList::resize
16137 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16138 the document lazily when we change the width, or the font settings.
16140 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16142 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16144 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16146 * buffer.h: remove out of date comment
16148 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16151 * screen.C: fix "theoretical" GC leak
16153 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16155 * LaTeX.C (scanAuxFile):
16156 (deplog): remove trailing \r when reading stream (useful under
16159 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16161 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16162 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16163 and BufferView::theLockingInset(Inset*), so should use them and not
16164 access bv_->text->the_locking_inset directly.
16166 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16168 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16171 * tex-defs.h: remove old unused file
16173 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16175 * BufferView_pimpl.C: fix typo, remove minibuffer message
16176 when buffer has loaded
16178 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16180 * lyxfunc.C (Dispatch): use stringstream
16181 (MenuNew): use stringstream
16182 (Open): use stringstream
16184 * importer.C (Import): use stringstream
16186 * bufferview_funcs.C (CurrentState): use stringstream
16188 * LaTeX.C (run): use stringstream
16190 * BufferView_pimpl.C (savePosition): use stringstream
16191 (restorePosition): use stringstream
16192 (MenuInsertLyXFile): use stringstream
16194 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16207 * vspace.C: removed // -*- C++ -*- as first line.
16210 * version.h: added // -*- C++ -*- as first line.
16212 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16214 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16216 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16219 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16221 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16224 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16226 * gettext.C: include LString.h even when --disable-nls is on.
16228 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16230 * converter.h (Get): changed argument type from int to
16231 FormatList::size_type to avoid unnecessary conversion.
16233 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16236 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16238 * gettext.h: include LString.h even when --disable-nls is on.
16240 2001-06-07 Juergen Vigna <jug@sad.it>
16242 * text.C (BreakAgain): subst spaces with tabs.
16244 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16245 (resizeInsetsLyXText): set force on resizeLyXText.
16247 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16249 * gettext.h (gettext_init):
16250 (locale_init): use a real definition instead of a macro
16252 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16254 * Bufferview_pimpl.C:
16256 * LColor.C: further lcolor tidies
16258 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16260 * BufferView_pimpl.C (updateScrollbar): simplify.
16262 * BufferView2.C: don't include insets/insetinfo.h, change
16263 prototype for insertInset and call the Pimpl version. let
16264 updateInset call Pimpl version.
16266 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16267 gotoInset to BufferView::Pimpl
16269 2001-06-01 Juergen Vigna <jug@sad.it>
16271 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16272 inside a LockingInset (is the update needed at all?).
16274 2001-05-31 Juergen Vigna <jug@sad.it>
16276 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16277 here not the old one otherwise how should we compare it afterwards
16280 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16285 * FontInfo.C: bring C functions into global namespace when
16288 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16290 * LString.h: make sure config.h has been loaded before LString.h.
16292 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16293 (one for each char read by EatLine!).
16295 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16298 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16300 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16301 to the same as the par we break from
16303 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16305 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16307 * MenuBackend.C (expand): also create menu entries for wide
16308 versions of the floats.
16310 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16312 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16314 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16315 frontends/Makefile.am
16321 * tabular.C (getTokenValue): add std::
16323 * tabular-old.C (getTokenValue): add std::
16324 (getTokenValue): ditto
16325 (getTokenValue): ditto
16327 * screen.C (ToggleSelection): adjust
16329 * lyxtext.h: put selection cursors inside a Selection struct.
16331 * lyxfunc.C (moveCursorUpdate): adjust
16333 * lyxfont.C (latexWriteStartChanges): add std::
16335 * lyxfind.C: adjust
16337 * font.h: delete with(char const *, LyXFont const &)
16339 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16341 * FontInfo.C (getFontname): add std::
16343 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16344 (workAreaButtonPress): adjust
16345 (tripleClick): adjust
16347 (moveCursorUpdate): adjust
16350 * BufferView2.C (gotoInset): adjust
16352 2001-05-30 Juergen Vigna <jug@sad.it>
16354 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16355 to check pspell I add this as default as I now have new pspell
16356 libraries and they seem to use this.
16358 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16360 * text2.C (CutSelection): make the cursor valid before the call to
16363 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16365 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16366 relied on 0 terminated strings and other horrors. Bug found due to
16367 the new assert in lyxstring!
16369 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16372 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16374 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16377 * lyxfunc.C (processKeySym): change method of getting to the
16380 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16381 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16382 * BufferView_pimpl.[Ch]: here as private methods.
16384 2001-05-28 Juergen Vigna <jug@sad.it>
16386 * text.C (SetHeightOfRow): added the update() call again as it is
16387 needed to initialize inset dimensions!
16389 2001-05-16 Juergen Vigna <jug@sad.it>
16391 * text2.C (SetCharFont): Add new function with BufferView * and
16392 bool toggleall parameters for setting insets internal fonts.
16393 (SetFont): Freeze the undo as we may change fonts in Insets and
16394 all this change should be inside only one Undo!
16396 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16397 setting font's in insets as for them we have the SetFont function!
16399 2001-05-15 Juergen Vigna <jug@sad.it>
16401 * text2.C (ClearSelection): to be sure we REALLY don't have any
16404 * tabular.C (TeXCellPreamble): fixed the left border problem for
16407 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16409 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16412 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16414 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16415 LFUN_BREAKPARAGRAPH.
16417 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16418 help test to "internal only", similar for LFUN_INSERT_URL
16420 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16421 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16422 auto_region_delete and deadkeys.
16424 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16427 * LColor.C: remove some dead entries, tidy a little
16429 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16431 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16433 (Dispatch): implement LFUN_ESCAPE
16435 * commandtags.h: add LFUN_ESCAPE
16437 * LyXAction.C (init): add entry for LFUN_ESCAPE
16439 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16440 Remove commented code.
16441 (insertNote): moved here
16442 (open_new_inset): moved here
16444 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16447 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16449 * kbmap.C (findbinding): clean it up and make it work correctly.
16451 * lyx_main.C (init): do not pass argc and argv as parameters
16453 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16455 * buffer.C: fix path for OS/2 & Win32
16459 * lyx_main.C: Added os:: class.
16461 * os2_defines.h: update
16463 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16465 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16466 better by trying again with reduced state.
16468 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16470 * lyxrc.C (read): print error about invalid key sequence only when
16471 debugging (because not all latinX keysyms are known to some X
16474 * kbsequence.C (getiso): add a few std:: qualifiers
16475 (getiso): comment out extra return statement.
16477 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16479 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16481 (Dispatch): enhance the accent inset a bit. (not perfect)
16483 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16485 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16487 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16489 * bufferlist.C (emergencyWrite): fix assert() call
16491 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16493 * text.C (InsertChar): Added trivial patch to only send the "you
16494 can not do multiple spaces this way" message once during a
16497 2001-05-08 Baruch Even <baruch@lyx.org>
16499 * Makefile.am: Changed order of libraries to get LyX to link properly
16500 with the gnome frontend.
16502 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16504 * LaTeXFeatures.h: add a std:: qualifier
16506 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16508 * paragraph.C (String): use stringstream
16510 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16512 * paragraph.C (writeFile): remove footflag arg
16514 * buffer.C (makeLaTeXFile): use stringstream
16515 (latexParagraphs): remove footnot gurba
16517 * LaTeXFeatures.C (getPackages): use stringstream
16518 (getMacros): likewise
16519 (getTClassPreamble): likewise
16520 (getFloatDefinitions): new method
16522 * paragraph.C (writeFile): reindent
16525 * WorkArea.h: revert the xpos + etc changes.
16527 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16529 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16531 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16532 (pasteSelection): likewise
16533 * text2.C (CreateUndo): likewise
16535 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16537 * minibuffer.C (peek_event): temporarily reduce the functionality
16538 of the minibuffer (to allow args on lfuns)
16540 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16541 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16543 * buffer.C (readInset): add compability reading of old float
16544 lists, add reading of new style float list.
16545 (readInset): avoid reevaluation of inscmd.getCmdName()
16546 (getLists): reindent
16548 * MenuBackend.C (MenuItem): implement parsing of
16549 md_floatlistinsert and md_floatinsert.
16550 (expand::LastFiles): move initalizaton of iterators out of loop,
16551 avoid reevaluation.
16552 (expand::Documents): introduce typdedef vector<string> Strings,
16554 (expand::ExportFormats): introduce typedef vector<Format const *>
16555 Formats, and use it.
16556 (expand): implement FloatListInsert and FloatInsert.
16558 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16559 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16560 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16562 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16564 (Dispatch::LFUN_FLOAT_LIST): implement
16566 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16568 * LaTeX.C (run): Fix problem with --export code.
16570 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16572 * BufferView.[Ch] (workarea): removed.
16573 (getClipboard) new method; wrapper for workarea()->getClipboard()
16575 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16578 * WorkArea.h (width, height, xpos, ypos): These methods all
16579 returned the dimensions of the work_area sub-area of WorkArea,
16580 resulting in a position error if the WorkArea were resized. Now
16581 return the dimensions of the entire WorkArea.
16583 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16585 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16587 * LaTeX.C (deplog): correct the syntax of regex reg1
16589 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16591 * undo.C: remove !NEW_INSETS cruft
16593 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16595 * text2.C: remove !NEW_INSETS cruft
16597 * text.C: remove !NEW_INSETS cruft
16599 * tabular.C: remove !NEW_INSETS cruft
16601 * spellchecker.C: remove !NEW_INSETS cruft
16603 * lyxtext.h: remove !NEW_INSETS cruft
16605 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16607 * lyxfunc.C: remove !NEW_INSETS cruft
16609 * lyxfind.C: remove !NEW_INSETS cruft
16611 * lyx_cb.C: remove !NEW_INSETS cruft
16613 * figureForm.C: remove !NEW_INSETS cruft
16615 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16617 * buffer.[Ch]: remove !NEW_INSETS cruft
16619 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16621 * CutAndPaste.C: remove !NEW_INSETS cruft
16623 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16625 * BufferView2.C: remove !NEW_INSETS cruft
16627 * BufferView.h: remove !NEW_INSETS cruft
16629 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16631 * Lsstream.h: include LString.h before the sstream headers to
16632 fix problem with gcc 2.95.3 and lyxstring
16634 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16636 * lyx_main.C: add using directives when needed for C functions
16637 declared in std:: namespace.
16639 2001-04-27 Juergen Vigna <jug@sad.it>
16641 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16642 (SetHeightOfRow): comment out the update call should not be needed!
16644 2001-04-13 Juergen Vigna <jug@sad.it>
16646 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16647 (LyXTabular): tried to minimize operator= operations (and realized
16648 hopfully Lars wish).
16650 2001-04-27 Juergen Vigna <jug@sad.it>
16652 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16654 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16656 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16658 * buffer.C (readInset): hack to make listof algorithm work
16660 * BufferView_pimpl.C: hack to make listof algorithm work
16662 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16664 * LyXAction.C: removed all !NEW_INSETS cruft
16665 (init): moved lfun_item in method
16667 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16669 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16671 * BufferView2.C (theLockingInset): white space.
16673 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16675 * minibuffer.C: include <iostream>
16677 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16679 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16681 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16683 * text.[Ch] (TransposeChars): new method
16685 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16687 * call message directly through LyXView instead of through LyXFunc
16688 * BufferView2.C: adjust
16689 * BufferView_pimpl.C: adjust
16690 * FontLoader.C: adjust
16692 * bufferview_funcs.C: adjust
16693 * converter.C: adjust
16694 * figureForm.C: adjust
16695 * importer.C: adjust
16697 * lyx_gui_misc.C: adjust
16698 * lyxfunc.C: adjust
16701 + more files in subdirs
16703 * lyxparagraph.h (size): move up int file
16706 * adjust all uses of Assert to lyx::Assert.
16708 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16709 lyxfunctional in namespace lyx
16710 * layout.C (hasLayout): ditto
16713 (delete_layout): ditto
16714 (NumberOfClass): ditto
16715 * converter.C (GetFormat): ditto
16720 * bufferlist.C (getFileNames): ditto
16721 (emergencyWriteAll): ditto
16724 * MenuBackend.C (hasSubmenu): ditto
16727 * BufferView_pimpl.C (getInsetByCode): ditto
16729 2001-04-18 Juergen Vigna <jug@sad.it>
16731 * vspace.C (asLatexString): fixed the 100% problem.
16733 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16735 * lyxfunc.C (Dispatch):
16737 * minibuffer.h: add a few std:: qualifiers
16739 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16741 * minibuffer.[Ch]: reimplement so that commands is initiated and
16742 run from lyxfunc, simplified som handling, and made the completion
16743 and history code for complete. wip.
16745 * lyxfunc.C (processKeySym): call message
16746 (miniDispatch): new temporary method
16747 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16748 (LFUN_MESSAGE): implement
16749 (LFUN_MESSAGE_PUSH): implement
16750 (LFUN_MESSAGE_POP): implement
16751 (initMiniBuffer): the initial/defualt minibuffer message.
16753 * lyxfont.[Ch]: inline some more getters
16755 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16757 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16759 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16760 (AutoSave): use LFUN_MESSAGE
16761 (Reconfigure): ditto
16763 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16765 * figureForm.C: use LFUN_MESSAGE
16767 * converter.C (runLaTeX): use LFUN_MESSAGE
16769 * bufferview_funcs.C: use LFUN_MESSAGE
16771 (changeDepth): ditto
16773 * bufferparams.h: use boost::
16775 * bufferlist.h: inherit privately from noncopyable
16777 * bufferlist.C (loadLyXFile): remove some commented code.
16779 * buffer.C (runChktex): use LFUN_MESSAGE
16781 * ShareContainer.h: inherit privately from noncopyable
16783 * ParagraphParameters.[hC] (depth): inline it.
16785 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16787 (message): new method
16788 (messagePush): ditto
16789 (messagePop): ditto
16790 (show): init minibuffer
16791 (showState): direct call
16793 * LaTeX.[Ch]: inherit privately from noncopyable
16794 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16795 instead of WriteStatus.
16797 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16799 * BufferView_pimpl.C (buffer): don't init minibuffer
16800 (workAreaButtonPress): use LFUN_MESSAGE
16801 (workAreaButtonRelease): ditto
16802 (savePosition): ditto
16803 (restorePosition): ditto
16804 (MenuInsertLyXFile): ditto
16805 (workAreaExpose): don't init minibuffer
16806 (update): remove commented code, simplify
16808 * BufferView2.C (openStuff): use LFUN_MESSAGE
16809 (toggleFloat): ditto
16812 (copyEnvironment): ditto
16813 (pasteEnvironment): ditto
16818 (updateInset): remove some commented code
16820 * lastfiles.h: inherit privately from noncopyable
16823 * lyx_main.h: ditto
16825 * lyxlex_pimpl.h: ditto
16827 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16828 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16829 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16831 * LyXAction.h: inherit privately from noncopyable, add methods
16832 func_begin, func_end, returning iterators to the func map.
16834 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16835 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16836 (func_begin): new method
16837 (func_end): new method
16839 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16841 (copySelection): ditto
16842 (pasteSelection): ditto
16844 * BufferView.C: whitespace change
16845 * BufferView.h: inherit privately from noncopyable
16847 2001-04-16 Allan Rae <rae@lyx.org>
16849 * tabular-old.C (l_getline):
16850 * spellchecker.C (sc_check_word):
16851 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16852 an unrecognised preprocessor directive. So ensure they're wrapped.
16854 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16856 * src/exporter.C (Export): Give an error message when path to file
16859 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16861 * LaTeX.C (deplog): Always check that foundfile exists.
16863 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16866 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16868 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16870 * tabular.[Ch] (getLabelList): implement new method
16872 * minibuffer.h: comment ouf setTiimer
16874 * minibuffer.C (ExecutingCB): constify res
16875 (peek_event): constify s
16876 (Set): constify ntext
16877 (Init): constify nicename
16879 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16881 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16882 (savePosition): use two params to Minibuffer::Set
16883 (restorePosition): ditto
16885 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16887 * lyx_main.C: include language.h
16889 * Makefile.am (lyx_main.o): add language.h
16891 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16897 * CutAndPaste.C: include gettext.h
16899 * lyxfont.h: remove old hack with ON and OFF.
16902 * lyxfont.h: do not include language.h...
16907 * bufferview_funcs.C:
16913 * paragraph.C: ... but do it here instead
16915 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16917 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16919 * tabular.C: small reformat
16921 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16924 (BreakParagraph): ditto
16925 (SetOnlyLayout): ditto
16928 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16931 * lastfiles.C: removed most using decl, add std:: where needed
16933 * buffer.C: ws changes
16935 * MenuBackend.C (class compare_format): put into anon namespace
16936 (expand): constify label, names, action, action2
16939 * text.C (SingleWidth): constify font
16940 (IsBoundary): constify rtl2
16941 (GetVisibleRow): constify ww
16943 * LaTeX.C (deplog): constify logfile
16945 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16947 (workAreaExpose): constify widthChange, heightChange
16949 * lyxrow.C (par): moved
16952 * lyxrow.h: as inlines here
16954 * lyxfont.h (shape): moved from lyxfont.C
16955 (emph): moved from lyxfont.C
16957 * lyxfont.C (LyXFont): use initialization list for all
16959 (shape): move to lyxfont.h as inline
16960 (emph): move to lyxfont.h as inline
16963 2001-04-04 Juergen Vigna <jug@sad.it>
16965 * vspace.C: had to include stdio.h for use of sscanf
16967 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16970 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16971 independent of xforms.
16973 2001-04-02 Juergen Vigna <jug@sad.it>
16975 * spellchecker.C: fixed namespace placing!
16977 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16979 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16980 the LyXParagraph * is 0.
16982 2001-03-29 Juergen Vigna <jug@sad.it>
16984 * vspace.C: added support for %, c%, p%, l%.
16985 (stringFromUnit): added helper function.
16986 (asLatexString): changed to give right results for the %-values.
16988 * buffer.C: convert the widthp in a width%.
16990 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16992 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16995 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16996 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16998 * lyx_cb.[Ch]: see above.
17000 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17004 * lyx.[Ch]: replaced by figure_form.[Ch].
17008 * lyxfunc.C: changed headers associated with above changes.
17010 2001-03-27 Juergen Vigna <jug@sad.it>
17012 * BufferView_pimpl.C: set the temporary cursor right!
17014 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17016 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17018 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17020 * LString.h: removed "using std::getline"!
17022 * BufferView_pimpl.C (Dispatch): changes due to changes in
17023 InsetInclude::Params.
17025 * buffer.C (tag_name): removed redundant break statements as they were
17026 producing lots of warnings with my compiler.
17028 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17030 * LString.h: add "using std::getline" when using the real <string>.
17032 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17034 * buffer.C: removed bitset usage.
17035 PAR_TAG moved to an anonymous name space.
17036 (tag_name): new funtion, also in the anonymous namespace.
17037 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17038 (makeDocBookFile): clean code. Completed transition from string arrays
17040 (SimpleDocBookOnePar): code clean.
17042 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17044 * tabular.C: add some comments.
17046 2001-03-22 Juergen Vigna <jug@sad.it>
17048 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17049 compatibility read a bit and fixed bug with minipage in different
17052 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17054 * buffer.C (pop_tag): removed.
17055 (push_tag): removed.
17056 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17057 array replaced with vector. Added support for CDATA sections.
17058 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17060 (makeDocBookFile): XML conformant declaration of CDATA section,
17061 fixed bug related to <emphasis> in the first paragraph char.
17062 (sgmlOpenTag): exclude empty tags.
17063 (sgmlCloseTag): ditto.
17065 * buffer.h (pop_tag): removed.
17066 (push_tag): removed.
17068 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17070 * language.h (Languages): added size_type and size().
17072 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17074 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17075 response on compability reading of minipages. One probliem is that
17076 the old usage of minipages was «flertydig»
17078 * several files here and in subdirs: don't use static at file
17079 scope use anon namespaces instead.
17081 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17083 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17084 LaTeX output. This is necessary for Literate document
17087 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17089 * buffer.C: insert hfill when needed.
17091 * tabular.C (l_getline): use string::erase, small whitespace change.
17093 * BufferView_pimpl.C: try the anon namespace.
17094 * WorkArea.C: ditto
17096 2001-03-16 Juergen Vigna <jug@sad.it>
17098 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17099 otherwise it won't open options-dialogs.
17101 * buffer.C: honor pextraWidth(p) on converting minipages.
17103 * tabular.C (l_getline): changed the functions to strip trailing \r.
17105 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17107 * BufferView_pimpl.C:
17108 * minibuffer..C: added "using SigC::slot" declaration.
17110 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17112 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17118 * paragraph.C: ditto
17120 * lyxtext.h: NO_PEXTRA
17122 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17124 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17125 * ParameterStruct.h: ditto
17126 * ParagraphParameters.h: ditto
17127 * lyxparagraph.h: ditto
17129 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17131 * buffer.C: add compability for minipage alignment.
17132 (latexParagraphs): remove unwanted pextra check.
17134 * several files: remove CXX_WORKING_NAMESPACES
17136 * buffer.C (pop_tag): tie is in namespace boost
17138 * BufferView.h: noncopyable is in namespace boost
17140 * lyx_main.h: ditto
17143 * lastfiles.h: ditto
17144 * bufferlist.h: ditto
17145 * ShareContainer.h: ditto
17147 * LyXAction.h: ditto
17150 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17152 * Merging changes from BRANCH_MVC back into HEAD.
17154 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17156 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17158 * BufferView_pimpl.C: change from intl.C
17162 * Makefile.am: move combox.*
17168 * intl.C: remove dialog (covered by prefs)
17170 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17172 * lyxfunc.C (Dispatch): removed redundant break statement.
17174 2001-03-14 Juergen Vigna <jug@sad.it>
17176 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17178 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17180 * buffer.C: add hack to fix compability reading of minipages.
17182 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17184 * buffer.C (getLists): Cleanup.
17186 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17188 * lyxfont.C (update): don't honor toggleall on font size.
17190 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17194 * Makefile.am: moved to frontends/xforms/
17198 * BufferView_pimpl.C: changes for moved mathpanel
17200 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17202 * gettext.h: fix gettext_init() in --disable-nls
17204 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17206 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17208 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17211 * lyx.h: strip external form
17213 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17215 * BufferView_pimpl.C: add comment, destroySplash()
17217 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17219 * BufferView_pimpl.C:
17223 * lyxfunc.C: use re-worked insetinclude
17225 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17227 * buffer.C: add using std::stringstream.
17229 * lyx_cb.C: readd using std::ios.
17231 * buffer.C: add using std::map.
17233 * BufferView_pimpl.C: add using std::vector.
17235 * ShareContainer.h: add std:: to swap.
17237 * buffer.h: add some typedefs
17238 * buffer.C (getLists): use them
17239 (getLists): renamed from getTocList.
17240 add a counter for the different float types and use it in the
17242 (getLists): use the same counter for the NEW_INSETS and the "non"
17245 * lyx_cb.h: remove unused items, includes, using etc.
17247 * ShareContainer.h: remove some commented code, add more comments
17248 and "documentation".
17250 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17252 * buffer.C (getTocList): make the list also when NEW_INSETS is
17255 * buffer.h: remove TocType
17257 * buffer.C (getTocList): change to return a map<string,
17258 vector<TocItem> >, implement for dynamic number of list.
17260 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17261 * text2.C (PasteSelection): adjust
17262 * CutAndPaste.C (pasteSelection): adjust
17264 * FloatList.C (FloatList): update from the new_insets branch.
17265 * Floating.[Ch]: ditto
17266 * LaTeXFeatures.C: ditto
17268 * lyxlex_pimpl.C: ditto
17270 * paragraph.C (Last): remove when NEW_INSETS is defined.
17272 * other file: changes because of the above.
17274 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17276 * lyxparagraph.h: rename next to next_, previous to previous_,
17277 make them private for NEW_INSETS. Rename Next() to next(),
17278 Previous() to previous().
17280 * other files: changes because of the above.
17282 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17285 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17288 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17290 * main.C (main): pass lyx_localedir to gettext_init().
17292 * gettext.h: remove locale_init and gettext_init macros
17294 * gettext.C (locale_init): new function
17295 (gettext_init): new function
17297 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17300 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17302 * Moved credits to frontends:
17303 * credits.[Ch]: removed
17304 * credits_form.[Ch]: removed
17305 * lyx_gui_misc.C: remove credits stuff
17308 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17310 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17312 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17313 unneeded destructor.
17315 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17316 a standalone pointer again.
17318 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17320 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17326 * ToolbarDefaults.C:
17335 * BufferView_pimpl.C: use new file dialog in GUII
17338 * lyx_cb.C: remove LayoutsCB to Toolbar
17340 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17342 * ShareContainer.h (get): add std:: qualifier
17344 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17346 * ShareContainer.h: define a proper ShareContainer::value_type
17347 type (and use typename to please compaq cxx)
17349 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17351 * lyxparagraph.h: move serveral local vars to
17352 ParameterStruct/ParagraphParameters., use ShareContainer in
17353 FontTable., make vars in FontTable private and add getter and
17356 * paragraph.C: changes because of the above.
17358 * lyxfont.h: remove copy constructor and copy assignment. (the
17359 default ones is ok), move number inside FontBits. move inlines to
17362 * lyxfont.C: add number to initializaton of statics, move several
17363 inlines here. constify several local vars. some whitespace
17364 cleanup. Dont hide outerscope variables.
17366 * Spacing.h: add two new constructors to match the set methods.
17368 * ShareContainer.h: new file, will perhaps be moved to support
17370 * ParameterStruct.h: new file
17372 * ParagraphParameters.h: new file
17374 * ParagraphParameters.C: new file
17376 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17377 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17379 * BufferView_pimpl.C: ParagraphParameter changes.
17380 * buffer.C: Likewise.
17381 * bufferview_funcs.C: Likewise.
17382 * text.C: Likewise.
17383 * text2.C: Likewise.
17385 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17387 * lyxfind.C (LyXReplace): do not redefine default argument in
17389 (IsStringInText): ditto
17390 (SearchForward): ditto
17391 (SearchBackward): ditto
17393 2001-03-06 Juergen Vigna <jug@sad.it>
17395 * lyxfind.C (IsStringInText): put parentes around expressions.
17397 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17399 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17401 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17403 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17405 * stl_string_fwd.h: add comment
17407 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17410 * tabular.C: remove unused DocBook methods
17416 killed DO_USE_DEFAULT_LANGUAGE
17418 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17420 * lyx_gui.C: do not include language.h.
17422 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17423 arguments in function implementation.
17425 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17427 * BufferView_pimpl.C: add <ctime>
17429 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17431 * BufferView_pimpl.C: add using std::find_if
17433 2001-02-27 José Matos <jamatos@fep.up.pt>
17435 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17438 2001-02-11 José Matos <jamatos@fep.up.pt>
17440 * buffer.C (makeDocBookFile): command styles now have a parameter as
17441 "title" by default.
17443 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17445 * layout_forms.[Ch]: removed
17446 * lyx_cb.[Ch]: out character
17447 * lyx_gui.C: out character
17448 * lyx_gui_misc.C: out character
17449 * bufferview_funcs.C: : out character,
17450 added toggleall as parameter in ToggleAndShow
17452 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17454 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17456 * text2.C (SetCurrentFont): Disable number property at boundary.
17458 2001-02-26 Juergen Vigna <jug@sad.it>
17460 * lyxfunc.C (getStatus): added a string argument override function so
17461 that this is correctly called from LyXFunc::Dispatch if it contains a
17462 do_not_use_argument which is used!
17463 (Dispatch): added check for "custom" export and call appropriate func.
17465 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17467 * lyxrc.C: Add language_command_local, language_use_babel and
17468 language_global_options.
17470 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17472 * buffer.C (makeLaTeXFile): Use language_use_babel and
17473 language_global_options.
17475 2001-02-23 Juergen Vigna <jug@sad.it>
17477 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17478 which works with LyXText and putted it inside BufferView. Here now we
17479 only call for that part the BufferView::Dispatch() function.
17481 * BufferView.C (Dispatch): added.
17483 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17484 functions which needs to use a LyXText over from LyXFunc.
17485 (MenuInsertLyXFile): added
17486 (getInsetByCode): added
17487 (moveCursorUpdate): added
17488 (static TEXT): added
17490 2001-02-22 Juergen Vigna <jug@sad.it>
17492 * BufferView_pimpl.C (update): call a status update to see if LyXText
17495 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17497 * vc-backend.C (revert): implement for CVS
17498 (getLog): implement for CVS
17500 2001-02-20 Juergen Vigna <jug@sad.it>
17502 * text2.C (ClearSelection): added BufferView param for inset_owner call
17504 * lyxfunc.C (TEXT): added this function and use it instead of
17505 directly owner->view()-text of getLyXText().
17507 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17509 * src/layout_forms.C: out preamble
17510 * src/layout_forms.h: out preamble
17511 * src/lyx_cb.C: out preamble
17512 * src/lyx_cb.h: out preamble
17513 * src/lyx_gui.C: out preamble
17514 * src/lyx_gui_misc.C: out preamble
17515 * src/lyxfunc.C: connect with guii preamble
17517 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17519 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17521 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17523 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17524 whether to run bibtex.
17526 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17528 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17530 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17532 * Makefile.am (lyx_SOURCES): removed bibforms.h
17534 * vspace.h: doxygen
17536 * text.C (GetVisibleRow): make several local vars const
17538 * tabular.C: small cleanup.
17540 * lyxserver.C (callback): use compare instead of strncmp
17542 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17543 inlines to after class or to paragraph.C
17545 * lyxfont.h: remove friend operator!=
17547 * converter.h: move friend bool operator< to non friend and after
17550 * combox.h: small cleanup
17552 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17553 to inlines after class def.
17555 * buffer.C (pop_tag): use string operations instead of strcmp
17557 * bmtable.c: doxygen, small cleanup
17559 * LaTeX.h: remove friend operator==
17561 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17573 * BufferView_pimpl.C:
17574 * BufferView.[Ch]: remove cruft
17576 2001-02-14 Juergen Vigna <jug@sad.it>
17578 * lyxfunc.C: removed #if 0 unused code
17580 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17582 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17584 * text2.C (SetSelection): added a BufferView * parameter
17586 2001-02-13 Juergen Vigna <jug@sad.it>
17588 * lyxfunc.C (Dispatch): fixed protected blank problem.
17589 * BufferView2.C (protectedBlank): added LyxText * parameter.
17591 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17592 (AppendColumn): same as above for column_info.
17594 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17595 (moveCursorUpdate): use a LyXText param for support of InsetText.
17597 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17598 (tripleClick): ditto
17600 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17602 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17604 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17606 * text2.C (SetSelection): set correct update status if inset_owner
17607 (ToggleFree): ditto
17609 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17611 * tabular.C: remove some commented code.
17613 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17615 * BufferView_pimpl.C: call hideSplash()
17617 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17620 * bibforms.h: remove
17623 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17624 add LFUN_CHILD_CREATE
17626 * counters.h: fix tiny typo
17631 * lyx.C: move splash to frontends/xforms/
17633 * lyx_gui_misc.C: move Include and Bibform to frontends
17635 * lyxvc.h: clarify comment
17637 * vspace.C: tiny housekeeping
17639 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17641 * text.C (PrepareToPrint): RTL Fix.
17643 * paragraph.C (GetUChar): New method.
17644 (String): Use GetUChar.
17646 * buffer.C (asciiParagraph): Use GetUChar.
17648 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17650 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17652 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17655 * buffer.C: rename to getLogName(), handle
17656 build log / latex log nicely
17658 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17661 * MenuBackend.h: remove support for reference menuitem type.
17663 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17665 * BufferView_pimpl.C: housekeeping
17666 * BufferView_pimpl.h:
17671 * minibuffer.h: move Timeout GUI-I
17673 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17675 * lyxrc.C (read): Update converters data-structures.
17677 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17679 * LaTeX.h (operator!=): add operator != for Aux_Info
17681 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17683 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17685 * LaTeXLog.C: deleted, useful code moved to Buffer
17688 * buffer.C: new function getLatexLogName()
17694 * lyxfunc.C: use frontends for LaTeX and VC logs
17696 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17698 * LaTeX.h: yet another std:: that Allan forgot.
17700 * Variables.C (set): renamed from isset(), because this clashes
17701 with some HP-UX macros (grr).
17703 2001-02-06 Allan Rae <rae@lyx.org>
17705 * LaTeX.h: Another bug fix. Missing std:: this time.
17707 2001-02-04 Allan Rae <rae@lyx.org>
17709 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17710 floats problem. I've left it commented out because it's not quite
17711 correct. It should also test that the current object is a table or
17712 figure inset. But I haven't gotten around to figuring out how to do
17713 that. I *think* it'll be something like: "table" == inset.type()
17715 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17718 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17720 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17721 all the citation/databases/styles in the auxilary file.
17722 (run): Rerun latex if there was a babel language error.
17724 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17726 * text.C (Backspace): Preserve the font when changing newline char
17728 (BreakParagraph): If the cursor is before a space, delete the space.
17730 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17732 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17734 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17735 new argument (code).
17736 (ChangeCitationsIfUnique): New method.
17738 * paragraph.C (GetPositionOfInset): Handle bibkey.
17740 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17742 * BufferView_pimpl.h: change type of Position::par_pos to
17743 LyXParagraph::size_type.
17745 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17747 * BufferView_pimpl.C (savePosition, restorePosition): Write
17748 messages to minibuffer.
17750 2001-01-28 José Matos <jamatos@fep.up.pt>
17752 * buffer.C (makeDocBookFile): adds support for document language.
17753 A silly restriction on the name of LatexCommand types where removed.
17754 Added support for CDATA sections, allows to chars unescaped, used
17755 among others in code, to avoid escape < and >.
17757 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17759 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17760 saved positions instrad of a stack. Furthermore, a position is
17761 stored using paragraph id/paragraph position.
17763 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17764 Remove LFUN_REF_BACK.
17766 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17768 * converter.C (dvipdfm_options): New method.
17770 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17772 * vspace.C (isValidLength): Fix for empty input string.
17774 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17776 * LyXAction.C (init): change description of LFUN_FIGURE to
17779 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17781 * LaTeX.C: add using directive
17783 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17785 * MenuBackend.C (expand): Fix the sorting of the formats.
17787 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17789 * lyx_main.C: tiny error message fix
17791 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17793 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17794 calling fl_initialize(). This fixes the problem with ',' as
17795 decimal separator in text files.
17797 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17799 * trans.C (process): Fix the keymap bug.
17801 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17803 * LaTeX.C (scanAuxFiles): New method. Provides support for
17804 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17805 (scanLogFile) Scan for "run BibTeX" messages.
17807 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17808 OT1 font encoding. Also, load the aecompl package if the ae
17811 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17813 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17815 * texrow.C (increasePos): turn two error messages into debug
17818 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17820 * LaTeX.C (scanAux): Handle the \@input macro.
17821 (runBibTeX): Use scanAux().
17823 * language.C (latex_options_): New field.
17825 * LaTeXFeatures.C (getMacros): Add language macros.
17827 * buffer.C (makeLaTeXFile): Small fix.
17829 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17831 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17833 * text2.C: add a using directive.
17835 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17840 * lyxfunc.C: kill LyXBell.
17842 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17844 * text.C (IsBoundary): Remove the error message
17846 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17848 * lyxrc.C (setDefaults): Correct initialization value for
17851 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17853 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17856 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17857 and GotoNextNote().
17859 * src/LyXAction.C: Added reference-next.
17861 * text.C (InsertChar): Use contains instead of strchr.
17863 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17865 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17867 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17868 alignment commands (when needed).
17870 * text.C (InsertChar): Add ':' to number separator chars.