1 2005-07-15 <lgb@tandberg.net>
3 * output_latex.C (TeXDeeper): get rid of potential dereferencing
4 of past the end iterator
6 2005-07-14 André Pönitz <poenitz@gmx.net>
8 * undo.C (recordUndoFullBuffer): implement undo for
11 2005-07-14 André Pönitz <poenitz@gmx.net>
13 * cursor.C (setSelection): open insets when selection is set there
14 to avoid crashs with cold coord cache
16 2005-07-14 André Pönitz <poenitz@gmx.net>
18 * trans_mgr.C (insert): move cursor to the right after inserting
21 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
23 * BufferView_pimpl.C (update): dampen some of the debug blabbering
24 * factory.C (readInset): ditto
25 * text.C, text2.C: ditto
27 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * buffer.C: format incremented to 242. There is no file format per
30 se, but the "frenchb" language has been removed from lib/language
31 and has to be translated to "french" by lyx2lyx.
33 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
35 * cursor_slice.h, dociterator.h: add some documentation
36 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
38 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
40 * text.C (leftMargin): do not add identation to display() style
41 insets, because they are always centered (bug 1293).
43 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
46 formatted_time methods in support/lyxtime.
48 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
50 * toc.[Ch]: new method getGuiName, which is used by the frontends
51 to set the toc combo (fixes bug 1870). Make TOC string translatable.
53 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
55 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
56 StableDocIterator const &)
57 * undo.C (recordUndo): use the above instead of cell.size() comparison
58 (fixes bug 1808; instructed by André).
60 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
63 * dociterator.h: Fix the assert when copying rows/cols in math
65 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
69 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
71 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
72 (findInset): new functions, refactored from goto Inset that return
73 the position of a certain inset without setting the buffer's cursor
75 (gotoInset): rewrite to call findInset and then set the cursor
78 2005-06-16 Angus Leeming <leeming@lyx.org>
80 * lyxrc.C (output, read): wrap all input and output of paths with
81 calls to os::internal_path and os::external_path, respectively.
82 (output): wrap bind_file inside quotes.
84 * format.C (view): enable the viewer to use the '$$s' placeholder.
86 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
88 * LColor.[Ch] (getFromLaTeXName): new
90 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
92 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
94 2005-06-14 Angus Leeming <leeming@lyx.org>
96 * lyx_main.C (init): ensure that the LyX binary dir is the first
97 element in the PATH on non-POSIX builds.
99 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
101 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
103 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
105 * rowpainter.C (paintInset, paintHebrewComposeChar)
106 (paintArabicComposeChar, paintChars): add a LyXFont argument.
107 (paintChars): use getFontSpan to reduce calls to getFont to a
108 minimum; use Paragraph::lookupChange instead of isXXXText.
109 (paintForeignMark): rename LyXFont argument.
110 (paintFromPos): pass a LyXFont object to the various paintXXX
113 * FontIterator.C (FontIterator, operator++): use
114 Paragraph::getFontSpan
116 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
117 version that returns the font span as a pair.
119 2005-06-09 Angus Leeming <leeming@lyx.org>
121 * converter.C (convert): Don't forget "outfile = real_outfile" as
122 the final step in a conversion where the input and output file names
123 are the same. Otherwise, future conversion steps won't work...
125 2005-06-09 Angus Leeming <leeming@lyx.org>
127 * lyxsocket.C: remove stub code as it isn't needed by
128 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
130 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
132 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
133 effectively disabled -x
135 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
137 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
138 when it actually makes sense.
140 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
142 * BufferView_pimpl.C: revert to showCursor in connection with
143 Lars's front-end stack
145 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
147 * text.C (redoParagraph): move cursor right after a bibitem
150 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
152 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * buffer_funcs.C (bufferErrors): fix computation of the end of an
157 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
159 * BufferView.[Ch] (update):
160 * BufferView_pimpl.[Ch] (update, metrics):
161 * dimension.h (operator==):
162 * lyxfunc.C (dispatch):
163 * metricsinfo.h (ViewMetricsInfo):
164 * rowpainter.C (paintText):
166 * text.C (redoParagraph):
167 * text3.C (dispatch): Make LyX only repaint current paragraph in
168 case of character insert --> speedup. Also fix cursor draw
171 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
173 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
174 avoid a crash (bug 1891)
176 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * text2.C (getStringToIndex): constify cur argument.
182 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
183 argument has been given
184 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
185 try to invoke LFUN_INSET_APPLY).
187 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
188 if no inset was created by doInsertInset
189 (doInsertInset): return true if an inset has been inserted.
191 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * vspace.C (asGUIName): new method. A version of the space
194 suitable for showing on screen.
196 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
199 * lyxrc.C: rename "ASCII" to "Plain Text"
201 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 * buffer_funcs.C (expandLabel): take a Buffer as argument;
204 translate the labelstring.
205 (setCounter): translate labelstring as needed.
207 * output_docbook.C (makeCommand): fix expandLabel invokation
209 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
211 * BufferView.C: fix dialog title
213 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
215 * lyx_main.C (priv_exec): fix logic error with help from Angus
216 * lyx_main.C (parse_execute): set is_gui = false and remove now
217 obsolete comment about a segfault
219 2005-05-18 Angus Leeming <leeming@lyx.org>
221 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
223 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
225 * tabular.[hC]: added setCellInset to fix tabular paste.
227 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
229 * buffer.C (save): check if destination is writable before trying
232 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
234 * BufferView_pimpl.C (update): fix processEvents -caused update
237 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * buffer_funcs.C (setCounter): fix test for numbering of
242 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
243 depth correctly; use optional argument when it exists
245 * lyxtextclass.C: remove unused MaxCounterTags enum
246 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
247 (max_toclevel, min_toclevel): new methods.
249 * MenuBackend.C (expandToc2): fix case where depth is smaller than
250 the smallest depth in toc.
252 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
253 layouts that should not appear in a table of contents.
255 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * cursor.h (undispatched, noUpdate): add comments from André
259 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
263 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
265 2005-05-07 André Pönitz <poenitz@gmx.net>
267 * cursor.[Ch] (leaveInset): new function
269 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
271 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
273 2005-05-04 Angus Leeming <leeming@lyx.org>
275 * lyxfunc.C (getStatus): disable the spell checker dialog if
276 none of USE_[AIP]SPELL are defined.
278 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
280 * tabular.C (setWidthOfCell): remove obsolete comment
282 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
284 * paragraph.C (bibitem):
285 * buffer_funcs.C (setCounter):
286 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
288 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
290 * text3.C (getStatus): immediately return after setOnOff
292 * rowpainter.C: fix drawing of appendix start
294 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
296 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
297 SwitchBetweenClasses and remove the unused return value.
298 Handle character styles, too
300 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
302 * factory.C (createInset): handle undefined character styles
304 2005-05-02 Angus Leeming <leeming@lyx.org>
306 * buffer.C: protect the #include of utime.h with a preprocessor
309 2005-05-02 Angus Leeming <leeming@lyx.org>
311 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
312 function so that auto-saving works, albeit in a blocking manner.
314 * Makefile.am: make compilation of the client sub directory, of
315 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
316 on conditionals set at configure time.
318 * SpellBase.[Ch]: no longer an abstract base class. Instead,
319 it can be compiled in its own right but has no-op functionality.
321 * aspell.C, pspell.C: remove preprocessor guards. The files should
322 be compiled only if the necessary functionality exists.
324 * lyxserver.C, lyxsocket.C: disable on Windows.
326 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
328 * text.C (leftMargin): Fix the parindent use bug (1764)
331 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
333 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
336 2005-04-25 Angus Leeming <leeming@lyx.org>
344 include <config.h> in .C files, not .h ones.
346 protect headers inside preprocessor guards.
348 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
350 * FuncStatus.h (StatusCodes): document
352 2005-04-21 André Pönitz <poenitz@gmx.net>
354 * FuncStatus.h (enabled, onoff): document
356 2005-04-19 Angus Leeming <leeming@lyx.org>
358 * BufferView_pimpl.C (cursorToggle): no longer test whether
359 any child processes have been reaped before calling
360 handleCompletedProcesses().
362 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
364 * text3.C (dispatch): fix, finally fix, the language problem in
365 new lyxtexts, without disabling on-the-fly font changes (Helge's
368 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
370 * text3.C (dispatch): set cursor on double/triple click events
373 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
375 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
376 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
378 * rowpainter.C (paintFirst): simplify the code a little bit. In
379 particular, remove the test for secnumdepth.
380 * text.C (setHeightOfRow): only allocate space for chapter number
381 when updateCounters provided an actual label, instead of looking
382 at secnumdepth directly.
384 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
386 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
387 paragraphs when secnumdepth is large enough or, for environments,
388 when they are not the first in a sequence.
390 2005-04-17 Angus Leeming <leeming@lyx.org>
392 * buffer.C (makeLaTeXFile): replace code to manipulate a path
393 containing space and '~' characters with a call to latex_path().
395 2005-04-17 Angus Leeming <leeming@lyx.org>
397 * converter.C (convert): protect all args of convertDefault.sh
400 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
402 * text3.C (dispatch): change the layout to "Caption" after inserting
405 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
407 * text3.C (dispatch): fix language problem in newly created
408 textinsets (and main text) in non-english docs
410 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
412 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
413 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
414 * text3.C (getStatus): disable LFUN_INSET_MODIFY
416 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
421 * rowpainter.C (getFont): Fix metrics bug introduced by inset
424 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
426 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
427 output of \item arguments without trailing text.
429 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * FontIterator.C (operator*): avoid a copy of the font.
433 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
435 * rowpainter.C (getFont): fix language bug from previous fix
437 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
439 * rowpainter.C (RowPainter, getFont): fix font inside inset
442 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
444 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
445 preventing inserted font, deco, delim insets jumping to start of
448 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * lyxfunc.C (dispatch): translate message before sending it to the
453 2005-03-29 Angus Leeming <leeming@lyx.org>
455 * lyx_main.C (priv_exec): call os::internal_path on each file passed
456 to LyX on the command line.
458 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
460 * vc-backend.C: use QuoteName to protect file names wherever
463 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
466 * BranchList.h: fix bugs 1844,1845: document settings don't
469 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * lyxrc.C (setDefaults, read, output, getDescription): add support
472 for tex_allows_spaces.
474 * exporter.C (Export): allows files in directory containing spaces
475 if tex_allows_spaces is true.
477 * buffer.C (makeLaTeXFile): if the document path contains spaces,
478 output it in double quotes.
480 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
482 * rowpainter.C: use default text height for drawing change tracker
485 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
487 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
489 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
492 directory is missing.
494 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
496 * text2.C: fixed the fix, extended to other case.
498 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
500 * text2.C: fix for cursor up/down stuck in math [bug 1792]
502 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
504 * text2.C (cursorUp): get rid of a crash
505 * text.C (x2pos): add an assert
507 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
509 * lyxfunc.C (getStatus): fix warning when assertions are disabled
513 * dociterator.C: include <boost/current_function.hpp>, which is
514 needed when assertions are disabled.
516 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
518 * text2.C: fix for stuck cursor when traversing two
519 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
521 2005-02-25 Andreas Vox <avox@arcor.de>
523 * output_docbook.C (makeParagraph): suppress trailing newline
524 after a run of paragraphs
526 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
528 * paragraph.C: fix for confused change tracker when pasting
529 text that begins with a lineseparator. [bug 1827]
530 (setChange(0, Change::INSERTED);)
532 * paragraph_funcs.C: fix for lost changes on triple-paste
533 in change tracking mode [bug 1827] (par.setChange()).
535 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
537 * text2.C (updateCounters, setCounter, expandLabel): move to
540 * buffer_funcs.C (updateCounters): turn into a free standing
541 function and add a buffer parameter. Remove dead code for tracking
543 (setCounter): change into a free-standing function which gets a
544 dociterator as argument. Use this iterator to fix captions in a
545 simple way. When no float is found above the caption, use the
546 labelstring of the caption layout as default.
548 * text.C (breakParagraph, backspace):
549 * text2.C (init, setLayout, changeDepth):
550 * text3.C (dispatch):
551 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
554 * dociterator.C (forwardPar): make it much faster by calling
555 forwardPos() only when really necessary.
557 * output_docbook.C (makeCommand): adapt to expandLabel move.
559 * cursor.C: remove unused variable
561 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
563 * paragraph_funcs.C: fix crash when pasting insets in change
564 tracking mode [bug 1277] (honour change type in moveItem).
566 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
568 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
570 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
572 * BufferView.C (setCursor): change to use a DocIterator.
573 (gotoLabel): use BufferView::setCursor (other part of bug 781).
574 (putSelectionAt): adapt to BufferView::setCursor change.
576 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
577 moved here from LyXText and rewritten to use proper cursor
578 methods. Fixes bug 1787, 616 and 835.
580 * BufferView_pimpl.C (restorePosition): set the cursor correctly
581 when inside an inset (part of bug 781).
582 (dispatch): adapt to change of BufferView::setCursor.
583 (getStatus, dispatch): handle LFUN_GOTOERROR,
584 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
586 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
587 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
588 * text3.C (gotoNextInset, gotoInset): removed.
590 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
594 2005-02-15 Angus Leeming <leeming@lyx.org>
596 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
597 can be used meaningfully in a comparison.
599 2005-02-13 André Pönitz <poenitz@gmx.net>
601 * bufferview_funcs.C (coordOffset): improve cursor drawing
603 2005-02-13 André Pönitz <poenitz@gmx.net>
605 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
606 * Cursor.C (dispatch): use fixIfBroken
607 * lyxfunc.C (getStatus): use fixIfBroken
609 2005-02-15 Angus Leeming <leeming@lyx.org>
611 * lyx_main.C (error_handler):
613 * lyxrc.C (setDefaults):
615 #include "environment.h".
617 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
619 2005-02-15 Angus Leeming <leeming@lyx.org>
621 * lyxserver.C (startPipe): squash MSVC warning "local variable
622 'fd' used without having been initialized".
624 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
626 * BufferView_pimpl.C: revert accidental commit.
628 2005-02-14 André Pönitz <poenitz@gmx.net>
630 * dociterator.[Ch]: new member forwardPosNoDescent(),
631 which doesn't enter nested insets.
632 * text2.C (setFont): use forwardPosNoDescent() instead
633 of ForwardPos() (fixes crash on font change).
635 2005-02-13 Angus Leeming <leeming@lyx.org>
637 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
638 only if lyxrc.path_prefix is not empty.
640 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
642 * bufferparams.C (readGraphicsDriver): prevent crash
644 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
646 * text2.C (setCounter): check for inInset() == 0
648 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
650 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
651 but use update() to get correct screen display; use convert
652 instead of istringstream.
653 (getStatus): handle LFUN_GOTO_PARAGRAPH
655 * lyxfunc.C (dispatch, getStatus): do not handle
656 LFUN_GOTO_PARAGRAPH here.
658 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
660 * text3.C (dispatch): size() -> depth()
662 * text2.C: remove some debug output
664 * paragraph.C: ws changes only
666 * lyxfunc.C (getStatus): size() -> depth()
668 * dociterator.h (clear, push_back, pop_back, internalData,
669 operator[], resize, empty): new functions
670 Make StableDocIterator and operator== be friends. Don't inherit
671 from std::vector use a privat class variable slices_ instead.
674 * dociterator.C: update because of not inheriting from std::vector
675 anymore. Call explictly to slices_ instead. Use depth() instead of
676 size() and top() instead of back()
678 * cursor.C: chagne size() -> depth and back() -> top(). Also
679 remove some direct operator[](i) calls in favour of foo[i]
680 (getFont): remove some dead code
682 * bufferview_funcs.C (coordOffset): size() -> depth()
684 * buffer.C: ws changes only
686 * CutAndPaste.C (eraseSelection): back() -> top()
688 * BufferView_pimpl.C (selectionRequested): back() -> top()
690 * BufferView.C (setCursor): size() -> depth()
692 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
694 * text3.C (cursorPrevious): return true if depm changed something
696 (dispatch): rename sl to oldTopSlice, remove moving use the new
697 NoUpdate func attrib instead. Make sure that needsUpdate is set
698 for function that have NoUpdate, but where depm might have changed
701 * text2.C (cursorLeft): make us return true if depm changed
704 (cursorUpParagraph): ditto
705 (curosrDownParagraph): ditto
706 (cursorUp, cursorDown): ditto, make sure to read comments in code
707 (deleteEmptyParagraphMechanism): remove an assert, also return
708 true if just a single char was deleted.
710 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
711 cursor that we modify, to avoid modifying an active cursor before
712 we call setCursor. This allows depm to run. Also return true if
713 depm deleted something.
715 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
716 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
717 cursorDownParagraph, cursorPrevious and cursorNext, return true if
718 something was changed in the buffer because of them (ie. depm run)
720 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
721 debug messages. Make update by default be false. Make sure that
722 the result of update is retained throught several calls down to
725 * LyXAction.h: add a new func_attrib: NoUpdate
727 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
728 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
729 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
731 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
733 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
735 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
736 bv_->owner(), bv_->buffer() by direct references to the private
738 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
739 (getStatus): isSavedPosition() is in BufferView::Pimpl.
740 (fitCursor): center() is in BufferView::Pimpl.
741 (getStatus, trackChanges, dispatch): no need for a temporary buf
743 (fitCursor, workAreaDispatch): use workarea().workheight()
745 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
747 * CutAndPaste.C (pasteSelectionHelper): fix a crash
749 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
751 * buffer.C: format up to 241.
752 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
753 break if pasting into ERT
754 * lyxfunc.C (getStatus): suppress mathpanel and
755 LFUN_DIALOG_SHOW_NEW_INSET in ERT
757 2005-02-01 Angus Leeming <leeming@lyx.org>
759 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
761 2005-02-01 Angus Leeming <leeming@lyx.org>
763 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
764 calling fs::is_directory().
766 2005-01-31 Angus Leeming <leeming@lyx.org>
768 * lyx_main.C (priv_exec): specify explicitly the relative location
769 of the top level build directory when run in-place.
771 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
774 LyXText containing the cursor, not the top-level one.
776 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
778 (insertStringAsLines): rename par to pit; use temporary variable
779 par to hold a Paragraph; do not store par.layout() in a variable,
780 since the pointer may die when breaking paragraphs; pass pars to
781 breakParagraph() instead of Buffer::paragraphs().
783 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
785 * lyxlex_pimpl.h: #include <fstream>.
787 * BufferView.[Ch] (getLyXText): add a const version.
789 * BufferView_pimpl.C: add debug aids.
794 * paragraph_funcs.h: add commentary explaining what the class does.
797 * coordcache.[Ch]: add lots of commentary.
798 (startUpdating, doneUpdating): debug aids.
799 (arrays, insets, parPos, getParPos): accessors to private data.
801 * cursor_slice.[Ch] (text): add a const version.
802 * dociterator.[Ch] (text, innerText): add const versions.
804 * lyxtext.h (breakParagraph): change the keep_layout arg to a
807 * paragraph.C (getRow, pos2ros): add asserts.
809 * paragraph.h: add commentary. Lots of.
811 * paragraph.[Ch] (metrucs, draw): removed.
814 * rowpainter.[Ch]: const-correct changes.
816 * text.C: various obvious clean-ups. Removal of ancient cruft.
819 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
821 * vc-backend.C (find_file): rewrite to use boost.filesystem
824 * main.C (main): set default name check for boost.filesystem to
827 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
830 (actOnUpdatedPrefs): ditto
832 * lyx_main.C (init): rewrite to use boost.filesystem
833 (queryUserLyXDir): ditto
835 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
836 (getContentsOfAsciiFile): ditto
838 * lastfiles.C (readFile): rewrite to use boost.filesystem
840 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
842 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
845 * buffer.C (Buffer): adjust for destroydir
846 (getLogName): rewrite to use boost.filesystem
848 (save): use fs::copy_file (from fs_extras)
850 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
852 * LaTeX.C (run): rewrite to use boost.filesystem
853 (scanAuxFiles): ditto
854 (handleFoundFile): ditto
856 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
858 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
860 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
862 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
864 * lyxlayout.[Ch]: change some vars from float to double
866 * buffer.C (readFile): make a local var const
868 * Several files: use convert<> instead of atoi,strToXXX and friends
870 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
872 * LaTeXFeatures.[Ch]: Add a static list packages_ that
873 holds the contents of packages.lst. New functions getAvailable
874 and isAvailable to parse and check that list, resp.
878 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
880 * bufferparams.[Ch]: new param output_changes.
882 * Buffer.C: increase file format to 240.
883 Use output_changes and isVailable.
887 * paragraph_pimpl.C: Use output_changes and isVailable.
889 2005-01-23 Angus Leeming <leeming@lyx.org>
891 * output_latex.C: #include "insetbibitem.h", rather than
892 forward declare function bibitemWidest.
894 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
896 * lyx_main.C (init): make it compile on the Mac.
898 2005-01-20 Angus Leeming <leeming@lyx.org>
900 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
901 (setLyXMisc): (char string literal) != (char string literal) is
902 performing a comparison on the addresses. Convert one operand
903 explicitly to string to guarantee expected behaviour.
906 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
909 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
911 * output_plaintext.C: remove unneeded #include gzstream.h.
913 2005-01-20 Angus Leeming <leeming@lyx.org>
915 * SpellBase.h: rename some of the elements of the Result enum.
922 * pspell.C (check): ditto
924 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
926 * buffer.C: add #include <fstream>.
928 * lyx_main.C (init): Compile fix.
930 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
932 2005-01-20 Angus Leeming <leeming@lyx.org>
934 * mover.h: change commentary to reflect the changed meaning of
937 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
939 * output_linuxdoc.C (linuxdocParagraphs): silence warning
941 * lyxfind.C (MatchString::operator()): remove bogus semicolon
943 2005-01-20 Angus Leeming <leeming@lyx.org>
945 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
946 printing diagnostic data by not dereferecing an iterator past the
949 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
951 * buffer.C (readHeader): use "&&" rather than "and".
953 * lyxserver.h (inPipeName, outPipeName): make these const.
955 2005-01-19 Angus Leeming <leeming@lyx.org>
957 * lyx_main.C (error_handler, init): protect SIGHUP with
958 #ifdef SIGHUP guards.
960 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
962 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
964 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
966 * text.C (setHeightOfRow): add a margin at the top and bottom of
967 the document (bug 1761)
969 2005-01-17 Angus Leeming <leeming@lyx.org>
971 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
972 with "python ". Workaround for a brain-dead Windows.
974 2005-01-16 Angus Leeming <leeming@lyx.org>
976 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
977 for MacOSX and Windows to use prependEnvPath.
978 Strip out the hard-coded block to add elements to the PATH for
979 MacOSX and replace it with a call to prependEnvPath using the
980 contents of LyXRC::path_prefix.
981 (queryUserLyXDir): strip out the code to run reconfigure, instead
982 returning a boolean indicating the necessity to do so.
983 (reconfigureUserLyXDir): contains the code to reconfigure the
984 user support directory. Is now called after the various LyXRC data
985 files have been read.
987 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
989 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
991 * converter.[Ch] (convert): take a new parameter try_default. Use
992 a default converter (imagemagick) if try_default is true.
994 2005-01-13 Angus Leeming <leeming@lyx.org>
996 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
998 (write): output LyXRC::cygwin_path_fix as necessary.
1000 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1003 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1005 2005-01-12 Angus Leeming <leeming@lyx.org>
1007 * lyx_main.C (init): set the PATH variable to include the
1008 directory containing the LyX binary when running on Mac or Windows.
1010 2005-01-12 Angus Leeming <leeming@lyx.org>
1012 * lyx_main.C (init): remove cruft that purports to set the locale
1013 dir. It doesn't and is not needed anyway.
1015 2005-01-10 Angus Leeming <leeming@lyx.org>
1017 * Makefile.am: remove the lyx_main.C special casing.
1019 * BufferView_pimpl.C:
1025 * messages.C: use support/package.h to provide the paths to the
1026 various directories used by LyX.
1028 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1030 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1031 layout if pasting into an empty paragraph)
1033 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1035 * tex-accent.C: add <string>
1037 2005-01-06 José Matos <jamatos@lyx.org>
1039 * ParagraphParameters.C (write): put every parameter in its own line.
1040 * paragraph.C (write): reduce number of consecutive empty lines exported.
1041 * buffer.C (LYX_FORMAT): increase file format to 239.
1043 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1045 * everywhere: change support/tostr.h -> support/convert.h
1047 * tabular.C: make all write_attributes templates, tostr -> convert
1049 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1050 (emptyTag): and -> &&, and fix type for ret from getChar
1051 (getFirstWord): fix type for ret from getChar
1052 (onlyText): and -> &&
1053 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1056 * toc.C (goTo, action):
1057 * text3.C (dispatch):
1058 * text.C (currentState):
1059 * tex-accent.C (DoAccent):
1062 * lyxfunc.C (menuNew):
1063 * lyxfinc.C (replace):
1064 * counters.C (laberItem):
1065 * bufferview_funcs.C (font2string):
1066 * bufferparams.C (writeFile):
1067 * buffer.C (readFile):
1069 * MenuBackend.C: tostr -> convert
1071 * LaTeX.C (runMessage): fix format
1072 (scanAuxFiles): tostr -> convert
1074 * BufferView_pimpl.C (savePosition): fix format
1075 (restorePosition): ditto
1078 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1080 * Spacing.[Ch]: New method getValueAsString().
1084 * ParagraphParameters.C:
1087 * text3.C: store/read spacing value as string.
1089 * rowpainter.C: change float value (spacing_val) to double.
1091 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1092 broken custom document spacing).
1094 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1096 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1097 namespace, also more use of temp references and const
1099 * cursor.[Ch] (getStatus): move to lyxfunc.C
1101 * bufferparams.C: reformat slightly
1103 * bufferview_funcs.C (font2string): constify arg
1109 * buffer_funcs.C: (many funcs): constify arg on function
1110 definitions, also make more local vars const, also add ASSERTS on
1113 * buffer.C (LYX_FORMAT): put const in correct place
1114 (many funcs): constify arg on function definitions, also make
1115 more local vars const
1117 * aspell_local.h: remove "struct" from typdef setup
1119 * aspell.C (check): make word_ok const
1120 (nextMiss): simplify slightly
1123 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1125 * lyxrc.[Ch]: store all float values as strings.
1126 use int (not float) for lyxrc.dpi.
1128 2005-01-04 Angus Leeming <leeming@lyx.org>
1130 * lyx_cb.C (Reconfigure):
1131 * lyx_main.C (queryUserLyXDir):
1132 to run the <system_lyxdir>/configure correctly on Windows, prefix
1133 the path to the script with "sh " when generating the string that
1134 is passed to system().
1136 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1138 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1140 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1142 * lyxlength.C (asLatexString): get rid of setprecision
1144 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * text2.C (setLayout): remove unused variable endpit.
1147 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1149 * paragraph.C (onlyText): remove unused variable style.
1151 * cursor.C (bruteFind): remove unused variables beg and end.
1153 * Makefile.am (dist_noinset_DATA): not needed anymore
1155 * cheaders/*: remove.
1157 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1159 * text3.C: fix LFUN_MATH_MODE.
1161 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1163 * buffer_funcs.C (countWords): new function. Counts words between
1166 * BufferView_pimpl.C (getStatus, dispatch): handle
1169 * LyXAction.C (init):
1170 * lfuns.h: add LFUN_WORDS_COUNT.
1172 2004-12-19 Angus Leeming <leeming@lyx.org>
1174 * buffer.C (save): s/slashify_path/internal_path/.
1176 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1178 * lyxfind.C (findChange): do not search for end of pars, because
1179 the change tracker cannot handle this (fixes bug 1719).
1181 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1183 * paragraph.[Ch] (autoBreakRows): remove
1185 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1187 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1188 avoid using the paragraph one
1190 * text2.C (LyXText, insertStringAsLines): adjust
1192 2004-12-16 Angus Leeming <leeming@lyx.org>
1196 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1198 2004-12-14 Angus Leeming <leeming@lyx.org>
1200 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1202 * bufferlist.C (emergencyWrite):
1203 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1206 2004-12-14 Angus Leeming <leeming@lyx.org>
1208 * main.C: (main): no longer pass pointers to os::init.
1210 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1212 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1213 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1215 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1218 * text3.C: remove selection_possible global flag
1220 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1222 * text2.C (getSelectionSpan): remove
1223 (changeDepth, changeDepthAllowed): adjust
1225 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1227 * Makefile.am (BOOST_LIBS): use boost variables
1229 2004-12-03 José Matos <jamatos@lyx.org>
1231 * buffer.C: format up to 238.
1233 2004-12-03 José Matos <jamatos@lyx.org>
1235 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1237 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1239 * cursor.C (goUpDown): remove call to idxUpDown2
1241 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1243 * tabular.[Ch]: use size_t-like types for cell, row and column
1246 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1248 * lyxfunc.C (getStatus): do not lose previous information when
1249 calling BufferView::getStatus; do not set a default "Command
1250 disabled" message at the beginning, but just before returning.
1252 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1254 * cursor.h (getStatus): add better comment from src/cursor.C
1256 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1258 * text3.C (getStatus): return false when the lfun is not handled
1260 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1262 * broken_headers.h: remove
1264 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1266 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1268 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1269 offset_ref accessors
1271 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1272 top_y_, merge fitcursor with update
1273 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1275 (metrics): introduce
1276 (workAreaDispatch): adapt to new coord scheme
1277 (redoCurrentBuffer): remove
1279 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1281 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1284 * coordcache.[Ch]: add paragraph cache and helpers
1286 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1289 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1290 (targetX, setTargetX): introduce
1292 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1293 baseline -> ascent, as the rest of lyx
1295 * lyxtext.h: remove redoParagraphs, updateParPositions,
1296 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1297 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1298 have ascent/descent (ascent is ascent of first par)
1300 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1303 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1305 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1307 * pariterator.C: fix infinite loop introduced in par->pit renaming
1309 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1310 in insets and LyXText, draw two off-screen paragraphs using
1311 NullPainter, and adapt to new coord scheme
1315 * text3.C: adapt lfun handlers to the new coord scheme, which
1316 means: there's only guaranteed coord information for onscreen pars
1317 plus one above and one below. This implies that one can do search
1318 from y coordinates in the range [-1,workHeight]
1320 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1322 * rename a lot of InsetOld to InsetBase
1324 2004-11-25 Angus Leeming <leeming@lyx.org>
1326 * BufferView_pimpl.C:
1328 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1330 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1332 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1333 call BufferView::getStatus if LCursor::getStatus did nothing
1334 (setStatusMessage, getStatusMessage): removed.
1336 * FuncStatus.C (message): new methods. Used to provide an error
1337 message indicating why a command is disabled.
1338 (clear, |=, FuncStatus): update for message.
1340 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1342 * lyxfunc.C (dispatch): always call sendDispatchMessage
1344 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1347 * BufferView_pimpl.C:
1352 * cursor_slice.[Ch]:
1355 * paragraph_funcs.C:
1361 * undo.C: par->pit renaming
1363 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1365 * tabular.C (cellstruct): use initialization, store a shared_ptr
1366 to insettext instead of the insettext directly, adjust to fit.
1367 (operator=): new function
1368 (swap): new function
1369 (rowstruct): use initialization
1370 (columnstruct): use initialization
1371 (ltType): use initialization
1374 * lyxlength.h (swap): new function
1376 * LColor.[Ch] (operator=): use the common semantics
1378 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1380 * lyxfind.C (findNextChange): update the bufferview after setting
1383 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1385 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1386 number of InsetOptArgs has already been inserted.
1388 * output_latex.C (latexOptArgInsets): new method. This outputs all
1389 the optarg insets, up to the limit defined in the layout file.
1390 (optArgInset): removed
1391 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1393 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1395 * paragraph.C (isLetter): remove special spellchecker-related
1396 code; return true also for digits
1397 (isWord, isKomma): remove
1399 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1400 * lyxfind.C (MatchString()): use isLetter instead of isWord
1402 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1404 * pariterator.h (operatir=): comment out un-implemented member
1407 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1410 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1412 * lyxfont.h: include LColor.h to satisfy concept checks.
1414 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1416 * pariterator.h: add typdefs for value_type, difference_type,
1417 pointer and reference to satisfy concept checks. Also add default
1418 constructor for same reason.
1420 * pariterator.C (operator++): add post-increment operator to
1421 satisfy concept checks.
1423 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1426 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1428 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1429 checks. Also rename base_type to BaseType to follow naming
1432 * FloatList.h: include Floating.h to satisfy concept checks.
1434 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1436 * lyxfunc.C (getStatus): when the origin of the request is menu or
1437 toolbar, and the LyXView does not have focus, do as if there was
1438 no buffer (bug 1720)
1440 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1441 FuncRequest to individual entries of LFUN_SEQUENCE
1443 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1445 * output_latex.C (TeXOnePar): override runparams.moving_arg
1446 according to the needprotect value of the current paragraph (bug
1449 * paragraph.C (simpleTeXOnePar): no need to override
1450 runparams.moving_args here
1452 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1454 * vspace.C: fix off-by-one-error, related to fix #1682
1456 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1458 * lengthcommon.C: a more general fix for bug 1682
1460 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1462 * text.C (backspace): fix crash
1464 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1466 * format.[Ch] (getFormatFromFile): new method
1467 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1469 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1471 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1473 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1475 * lyxfunc.C (dispatch): remove the verbose argument
1476 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1479 * kbmap.C (defkey): set the origin of func to KEYBOARD
1481 * MenuBackend.C (MenuItem):
1482 * ToolbarBackend.C (add): set the origin of func to UI
1484 * funcrequest.[Ch]: add origin member, which indicates which part
1485 of LyX requests an action
1487 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1489 * converter.C (move): don't lie in the error message
1490 * converter.h (isReachable, move): document
1492 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1494 * buffer.C: remove unused using lyx::support::atoi
1495 * paragraph_funcs.C: ditto
1497 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1499 * bufferlist.C (exists): use bind and equal_to instead of
1502 * lyxtextclasslist.C (NumberOfClass): ditto
1504 * cursor.C (insert): use for_each instead of explicit for loop
1506 * bufferlist.C (getFileNames): use std::transform and
1507 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1509 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1512 * buffer.C (changeLanguage): use for_each instead of explicit for
1514 (hasParWithID): implement using getParFromID
1516 * LaTeXFeatures.C: ws change only
1518 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1521 * BufferView_pimpl.C (trackChanges): use for_each instead of
1524 2004-11-04 André Pönitz <poenitz@gmx.net>
1527 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1529 * dociterator.C (asDocIterator): use hard assert again.
1531 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1533 * lyxlength.C (asLatexString): rewrite so that it does not use
1536 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1538 * text3.C (specialChar, dispatch): make sure cursor moves to the
1539 right after inserting an inset
1541 2004-11-02 José Matos <jamatos@lyx.org>
1543 * output_docbook.C (docbook):
1544 * paragraph.C (getID):
1545 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1546 garantee that the output is always legal.
1548 * tabular.C (docbook):
1549 * outputprams.[Ch]: remove mixed contents.
1551 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1553 * text2.C (setCounter): prevent endless loop
1555 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1557 * exporter.C (copyFile): use the mover instead of support::copy()
1558 * exporter.C (Export): pass format and latex name to copyFile()
1559 * exporter.h (addExternalFile): document
1560 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1562 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1564 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1566 2004-10-30 José Matos <jamatos@lyx.org>
1568 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1569 text and no inset or font change. This allows to use CDATA
1570 sections just for the whole paragraph.
1572 2004-10-30 José Matos <jamatos@lyx.org>
1574 * paragraph.C (getFirstWord): remove unused variable.
1576 2004-10-30 José Matos <jamatos@lyx.org>
1578 * paragraph.C (getFirstWord): the content should always be escaped
1580 (simpleDocBookOnePar):
1581 * output_docbook.C (makeEnvironment): replace reference to CDATA
1584 2004-10-30 José Matos <jamatos@lyx.org>
1586 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1588 2004-10-30 José Matos <jamatos@lyx.org>
1590 * output_docbook.C (makeParagraphs):
1591 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1592 standard paragraph has only a given type of content drop the wrapper.
1594 2004-10-29 José Matos <jamatos@lyx.org>
1596 * output_docbook.C (makeEnvironment):
1598 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1600 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1602 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1603 (cleanID): sanitize any id.
1605 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1607 * buffer.C, lyxlex_pimpl.C:
1608 * lyxlex_pimpl.C (setFile):
1609 s/getExtFromContents/getFormatFromContents/
1611 2004-10-28 José Matos <jamatos@lyx.org>
1613 * output_docbook.C (makeEnvironment): move id to broadest possible
1616 * sgml.C (openTag): apply substitution of <> for all attributes.
1618 2004-10-28 José Matos <jamatos@lyx.org>
1620 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1621 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1622 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1624 * sgml.[Ch]: new version for open and closeTag for paragraph and
1625 for strings. Now they handle the ids of paragraphs.
1627 2004-10-26 Angus Leeming <leeming@lyx.org>
1629 * Makefile.am: add mover.[Ch].
1631 * converter.C (convert, move): use the new Movers to move external
1632 files to the temp directory.
1634 * lyx_main.C (init): ensure that the global system_movers data
1637 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1640 * mover.[Ch]: new files, defining a Mover as a utility to move an
1641 external file between directories and, if necessary, manipulate this
1642 file using a helper script.
1644 2004-10-25 José Matos <jamatos@lyx.org>
1646 * output_docbook.C (makeCommand): merge two if's that tested the
1649 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1651 * sgml.C (escapeString): fix warning in a better way
1653 2004-10-25 José Matos <jamatos@lyx.org>
1655 * sgml.C (escapeString): import the require boosts header file for
1656 tie, and avoid a signed unsigned comparison.
1658 2004-10-25 José Matos <jamatos@lyx.org>
1660 * sgml.h: add #include <string>
1662 2004-10-25 José Matos <jamatos@lyx.org>
1664 * sgml.[Ch] (escapeString): new function to escape all the string.
1666 2004-10-24 José Matos <jamatos@lyx.org>
1668 * paragraph.[Ch] (getFirstWord): new function to get the first
1669 word. Useful for description.
1670 (simpleDocBookOnePar): remove depth argument, add another that
1671 says where to start the paragraph.
1673 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1674 use the new functions to fix cleanly the support for descriptions.
1676 2004-10-24 José Matos <jamatos@lyx.org>
1678 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1679 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1680 * output_linuxdoc.C (linuxdocParagraphs):
1681 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1682 add buffer as argument.
1684 2004-10-24 José Matos <jamatos@lyx.org>
1686 * output_docbook.C (makeEnvironment, searchEnvironment): place
1687 CDATA inside paragraphs and fix scope for listitems.
1689 2004-10-24 José Matos <jamatos@lyx.org>
1691 * output_docbook.C: remove using statement for stack.
1693 2004-10-23 José Matos <jamatos@lyx.org>
1695 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1696 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1697 docbook. The new scheme is recursive and makes use of iterators, the
1698 same as latex export works.
1699 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1700 directly with the paragraph contents. This code was moved up to
1701 output_docbook.C (docbookParagraphs).
1702 * sgml.C (openTag, closeTag): removed unneeded newlines.
1703 (closeEnvTags) removed.
1705 2004-10-23 André Pönitz <poenitz@gmx.net>
1707 * undo.C (textUndoOrRedo):
1708 * dociterator.C (asDocIterator): work around crash
1710 * cursor.C (getStatus): replace ASSERT by more verbose error message
1711 and manual correction of the problem. Should increase stability
1712 while providing more sensible information.
1714 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1716 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1718 * bufferlist.C (previous, next): new methods
1721 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1723 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1725 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1726 entities to preamble.
1728 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1730 * messages.C (Pimpl): strip off translation context information
1732 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1734 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1735 the cursor is correct (bug 1694)
1737 2004-10-13 José Matos <jamatos@lyx.org>
1739 * output_docbook.C (docbookParagraphs): fix closing tags in the
1740 end of the document.
1742 2004-10-09 José Matos <jamatos@lyx.org>
1744 * buffer.C: format up to 237.
1745 * bufferparams.C (write): use tostr to convert booleans to strings.
1747 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1749 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1751 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1753 * LaTeX.C: implement use of babel language in xindy.
1755 2004-10-05 José Matos <jamatos@lyx.org>
1757 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1758 Add new translators to help reading and writing the lyx file.
1760 2004-10-05 José Matos <jamatos@lyx.org>
1762 * ParagraphParameters.C (read):
1763 * text.C (readParToken): replace nexToken by more appropriate lex
1766 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1768 * LaTeX.C (runMakeIndex):
1769 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1770 (usually 'makeindex') configurable.
1772 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1773 with a variable rather than with a number.
1775 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1777 * output_latex.C (TeXOnePar): make sure font setting is the first
1778 thing that gets output (and the last at the end). Should fix bug
1781 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1783 * pch.h: use proper signal include
1785 * LaTeX.h: Use preferred calling of Boost.Signal
1788 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1790 * pch.h: dont include <boost/function/function0.hpp>
1792 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1794 * paragraph_pimpl.h: remove usage of ShareContainer
1796 * paragraph_pimpl.C: remove initialization of ShareContainer.
1798 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1802 * BufferView.C (putSelectionAt): change the semantics when
1803 backwards == true: now, this just swaps cursor and anchor wrt the
1806 * BufferView.h (putSelectionAt): add some documentation
1808 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1809 make sure backwardChar is done at least once (to avoid getting
1811 (findNextChange): use putSelectionAt in the forward direction
1812 (operator()): use Paragraph::isWord
1814 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1816 * Spacing.C (set): c_str fix
1818 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1820 * lyx_cb.C (Reconfigure): quote the name of configure script in
1821 case it contains spaces
1823 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1827 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1828 (BOOST_LIBS): use top_buildir when looking for the file
1830 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1832 * pch.h: do not use include boost/format.hpp, multiple symbols
1833 will result (gcc bug)
1836 2004-08-23 José Matos <jamatos@lyx.org>
1838 * bufferparams.C (readToken): fix reading of the author field.
1840 2004-08-20 José Matos <jamatos@lyx.org>
1842 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1844 2004-08-20 José Matos <jamatos@lyx.org>
1846 * lyxlex.[Ch] (findToken): remove function.
1848 * ParagraphParameters.C (findToken):
1849 * bufferparams.C (findToken): replace call for previous function
1850 with local copy. This local function has one more argument, the
1851 read string argument.
1853 2004-08-16 José Matos <jamatos@lyx.org>
1855 * ParagraphParameters.C (write):
1856 * Spacing.C (writeFile):
1857 * bufferparams.C (writeLaTeX):
1858 * lyx_cb.C (Reconfigure):
1859 * paragraph.C (write):
1860 * tabular.C (write): remove unnecessary space at end of line.
1863 2004-08-16 José Matos <jamatos@lyx.org>
1865 * text.C (readParagraph): remove debug message.
1867 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1869 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1872 * output_plaintext.C (asciiParagraph): set depth correctly
1874 * outputparams.h: add member depth
1876 * paragraph_funcs.C (ownerPar): remove.
1878 * text2.C (setCounter): remove first_pit; comment out some
1879 non-working code that uses ownerPar
1881 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1884 2004-08-16 José Matos <jamatos@lyx.org>
1886 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1887 For the same level of importance use the same chanel to report problems.
1888 (read): add code to deal with \begin_body and \end_body.
1891 2004-08-15 José Matos <jamatos@lyx.org>
1893 * lyxlex.C (getString): fix comment, buffer::readBody is now
1894 buffer:readDocument.
1896 * tex-strings.C (string_papersize): Default -> default,
1897 Custom -> custom, for consistency with other options.
1899 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1903 * Makefile.am: support pch
1905 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1907 * text.C (readParToken): remove the static LyXFont variable and
1908 pass it as a parameter instead. This fixes a nasty bug where an
1909 inset will be inserted with a bad font in some situations
1910 (readParagraph): adapt
1912 * text2.C (setCounter): reduce number of calls to pars_[pit]
1914 * text.C (singleWidth): add an assert, fix a test
1916 * rowpainter.C (paintText): reduce number of calls to singleWidth
1918 * paragraph.C (isHfill):
1919 (isNewline): ws only
1921 2004-08-14 André Pönitz <poenitz@gmx.net>
1926 * lyxtext.h (several functions): use a Paragraph & argument
1929 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1931 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1933 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1935 * text.C (singleWidth): remove useless test
1937 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1939 * tabular.h: remove bogus comments
1941 * tabular.C (getDescentOfRow):
1942 (isPartOfMultiColumn): add assertions
1944 * lyxlength.C (inPixels): remove #warning
1946 2004-08-14 André Pönitz <poenitz@gmx.net>
1948 * paragraph.h: inline getChar()
1950 * BufferView.h: remove unused declarations
1952 2004-08-14 José Matos <jamatos@lyx.org>
1954 * Buffer.[Ch] (readDocument): new name for old readBody.
1955 * Buffer.C: new file format, new keywords: \begin_document,
1956 \begin_header, \begin_body, \end_body.
1958 * bufferparams.C (readToken): replace all calls to lex.nextToken
1959 by lex.next(). Do the same to eatLine except where really needed.
1961 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1962 line when writing to the lyx file.
1964 * output_plaintext.C (asciiParagraph): fix Bibliography style
1967 * text.C (read): fix end of file handling.
1969 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1971 * MenuBackend.C (Menu::operator[]): new method to access
1972 individual menu items
1973 (Menu::hasFunc): new method. search for an item that corresponds
1975 (MenuBackend::specialMenu): new method
1976 (MenuBackend::expand): if a special menu has been set, skip
1977 entries whose func() appears in this menu
1979 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1981 * text3.C: use Debug::DEBUG a bit more
1983 * text.C (leftMargin): try to simplify a tiny bit change var x to
1984 l_margin. Dont output the wide margins always.
1985 (rightMargin): no margin in inner texts
1987 * rowpainter.h (nestMargin): new func
1988 (changebarMargin): new func
1989 (rightMargin): new func
1991 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1995 * factory.C (createInset): modify setDrawFrame
1997 * cursor.C: use Debug::DEBUG a bit more
1999 2004-08-14 André Pönitz <poenitz@gmx.net>
2002 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2003 cache for all insets in (at least partially) visible (top-level)
2006 * BufferView_pimpl.C: reset external coord cache before every update.
2007 This means the coord cache only contains valid entries.
2009 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2012 * BufferView_pimpl.C (getInsetByCode): move function out of class
2013 and change in to a template in anon namespace. Also fix to do what
2016 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2019 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2021 (breakParagraph): rename par to par_offset and use a local
2022 reference. Add code to keep the language over a rebreak.
2023 (breakParagraphConservative): rename par to par_offset, use a
2025 (mergeParagraph): ditto
2027 (isFirstInSequence): ditto
2028 (outerFont): rename pit to par_offset
2030 * paragraph.C: ws change
2031 * paragraph.h: ditto
2035 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2037 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2040 * paragraph.C (simpleTeXOnePar): when we have a \item with
2041 optional argument, enclose the argument with curly brackets (in
2042 case it contains a closing square bracket)
2046 * text3.C (checkInsetHit): constify
2048 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2050 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2051 documents (bug 1629)
2053 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2055 Fix toggling of collapsable insets with the mouse (bug 1558)
2057 * lyxfunc.C (dispatch): adapt to LCursor changes
2059 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2060 make sure that dispatch is not invoked twice
2062 * cursor.C (needsUpdate): new method
2063 (dispatch): return void
2064 (result): new method, to access the DispatchResult of the cursor.
2066 2004-08-13 José Matos <jamatos@lyx.org>
2068 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2070 2004-08-13 André Pönitz <poenitz@gmx.net>
2072 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2074 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2077 2004-08-12 André Pönitz <poenitz@gmx.net>
2079 * text3.C: take out the 'cursor right' form insertInset and only
2080 do it in those places when it is really needed. Fixes crash on
2083 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2085 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2087 * BufferView_pimpl.C (setBuffer): initialize the current font of
2088 the underlying LyXText
2090 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2092 * kbsequence.C (print): use UI native formatting for menu
2095 * text.C (insertChar): call Paragraph::insertChar with a font
2098 * paragraph.C (insertInset, insertChar): the version that takes a
2099 LyXFont argument is now a wrapper around the other one (the
2100 opposite used to be true).
2102 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2103 argument. Font setting is done in Paragraph now.
2105 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2107 * outputparams.h: add new members intitle and lang.
2109 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2110 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2112 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2114 * text3.C (dispatch): remove special handling of button 4 and 5,
2115 it is now taken care of in the frontend code.
2117 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2119 * Spacing.h: add <string> (STLPort compile fix)
2121 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2123 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2125 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2127 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2130 * converter.C (showMessage): inherit from unary_function, make
2133 * buffer.C (writeFile): initialize retval
2135 * InsetList.h: rename private variable list to list_
2136 * InsetList.[Ch]: adjust accordingly.
2138 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2140 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2141 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2142 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2143 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2144 * ParagraphParameters.C, LaTeXFeatures.C: replace
2145 "support/std_sstream.h" with <sstream>
2147 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2149 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2150 * lyxsocket.C (LyXServerSocket): ditto
2151 (serverCallback): ditto
2153 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2155 * LaTeXFeatures.C: check release date when loading jurabib.
2157 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2159 * lyxserver.C (startPipe): call register_socket_callback
2160 (endPipe): call unregister_socket_callback
2162 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2164 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2165 (LyXServerSocket): register the callback
2166 (LyXServerSocket): unregister the callback
2167 (fd): delete function
2168 (serverCallback): improve error checking and setup the callbacks.
2169 (dataCallback): change arg to fd.
2170 (writeln): new func (copied fro the client socket) used for server
2172 (LyXDataSocket): simplify
2173 (~LyXDataSocket): close ann unregiser callback
2174 (server): delete function
2175 (fd): delete function
2176 (readln): small changes, improve some std::string usage
2177 (writeln): constify a bit
2179 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2184 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2186 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2187 after it has been populated
2189 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2191 * text2.C (insertInset): move cursor when inserting inset.
2193 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2195 * kbmap.C (findbindings): a couple of new methods. returns a
2196 container of kb_sequence objects. The real work is done by the
2197 private recursive version
2198 (printbindings): uses findbindings to print out a bracketed list
2199 of bindings (renamed from findbinding).
2201 * MenuBackend.C (binding): use kb_keymap::findbindings
2203 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2205 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2207 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2209 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2211 * paragraph.C (isWord): return true on insets that report
2214 * text.C (getWord): use Paragraph::isWord to decide what is in a
2215 word and what is not; fix bug 1609.
2217 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2219 * tex-strings.C: add "none" to string_paperpackages[], fixes
2220 off-by-one-error in the paperpackage selection.
2223 * tex-strings.[Ch]: char const * string[n]
2224 -> char const * const string[]
2226 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2228 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2229 command, return early.
2231 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2233 * debug.h: add DEBUG to enum and fix size of ANY.
2235 * debug.C: add support for Debug::DEBUG
2236 (showTags): cast errorTags.level to unsigned int
2238 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2239 (redoCurrentBuffer): ditto
2240 (updateScrollbar): ditto
2241 * cursor.C (dispatch): ditto
2242 * text2.C (setLayout): ditto
2244 (updateCounters): ditto
2246 (deleteEmptyParagraphMechanism): ditto
2248 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2250 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2251 annotations to cleanup the Makefile slightly.
2253 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * lyxrc.C: do not set user_email to a default value but use empty
2256 instead. The entry used to be translated, which does not work
2257 since at the point where lyxrc is constructed there is no
2258 translation service available
2260 * messages.C (getLocaleDir): remove and use directly
2261 lyx_localedir() instead
2263 2004-06-02 Angus Leeming <leeming@lyx.org>
2265 Fix crash caused by dereferencing null pointer 'exportdata' in
2266 OutputParams by creating a new ExportData variable on the heap,
2267 storing it in a boost::shared_ptr.
2268 The crash was triggered when generating an Instant Preview
2269 of an external inset.
2271 * Makefile.am: add outputparams.C
2273 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2274 (c-tor): allocate memory to it.
2276 * exporter.C (c-tor): associated changes.
2278 2004-06-01 Angus Leeming <leeming@lyx.org>
2280 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2281 contains data before calling isInset(0). (Bug 1513.)
2283 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2285 * exporter.C (checkOverwrite): new method
2286 * exporter.C (copyFile): new method
2287 * exporter.C (Export): copy referenced files to the document dir
2288 * exporter.[Ch]: new class ExportedFile
2289 * exporter.[Ch]: new class ExportData. Contains currently the
2290 names of referenced external files
2291 * outputparams.h: add exportdata member.
2293 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2295 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2298 2004-05-19 Angus Leeming <leeming@lyx.org>
2303 * lyxfunc.C: small changes due to the introduction of namespace
2304 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2306 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2308 * text3.C (dispatch): supress update when only moving the cursor
2309 * cursor.C (selHandle): remove commented code
2311 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2313 * paragraph.C (startTeXParParams): correct column count
2314 * CutAndPaste.C (pasteSelection): remove const_cast
2315 * output_docbook.C (docbookParagraphs): remove const_cast
2316 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2317 const_cast and return ParagraphList::const_iterator
2318 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2319 * output_plaintext.C (writeFileAscii): remove const_cast
2320 * paragraph.[Ch] (simpleTeXOnePar): make const
2321 * paragraph_funcs.C (outerPar): use const iterators
2322 * paragraph_pimpl.C (validate): use const iterators
2323 * text.C (setHeightOfRow): use const iterators
2325 2004-05-17 Angus Leeming <leeming@lyx.org>
2328 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2330 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2331 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2332 if the citation engine has changed.
2334 2004-05-14 José Matos <jamatos@lyx.org>
2336 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2337 if the textclass does not provide it. Have it different for sgml and
2339 support the language of document.
2340 * output_docbook.C (docbookParagraphs):
2341 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2342 first anchor as the id of the paragraph, remove special case code.
2343 * sgml.C (escapeChar): escape only < & >.
2345 2004-05-14 Angus Leeming <leeming@lyx.org>
2347 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2348 dependencies on src/frontends/controllers/biblio.h. Define a
2349 CiteEngine_enum wrapper class to enable the enum to be forward
2352 2004-05-12 Angus Leeming <leeming@lyx.org>
2354 * buffer.C: up LYX_FORMAT to 234.
2355 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2356 use_numerical_citations with a single biblio::CiteEngine cite_engine
2358 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2360 2004-05-13 José Matos <jamatos@lyx.org>
2363 * converter.C (Converter, readFlags): add xml member.
2364 * outputparams.h: add XML flavor.
2365 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2367 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2369 * lyxfunc.C (dispatch):
2370 (getStatus): fix handling of LFUN_SEQUENCE
2372 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2374 * debug.C (showLevel): do not forget the end-of-line marker
2376 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2378 * kbmap.C (read): do not stop parsing a bind file when an error
2381 2004-04-29 Angus Leeming <leeming@lyx.org>
2386 * text2.C: wrap a bunch of #warning statements
2387 inside #ifdef WITH_WARNINGS blocks.
2389 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2391 * buffer.C: increment format to 233.
2393 2004-04-28 Angus Leeming <leeming@lyx.org>
2395 * BufferView_pimpl.C:
2398 s/updateToolbar()/updateToolbars()/
2399 s/Toolbar.h/Toolbars.h/
2401 2004-04-28 Angus Leeming <leeming@lyx.org>
2403 * BufferView.[Ch] (c-tor):
2404 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2405 No longer passes these data to the WorkArea generator.
2407 2004-04-28 Angus Leeming <leeming@lyx.org>
2409 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2411 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2413 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2415 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2417 * output_latex.C (TeXEnvironment): make sure that there is a line
2418 break before \end{foo} for the last paragraph of a document
2419 (TeXOnePar): if the paragraph is at the end of the document (or
2420 inset) and the language has to be reset, then make sure that the
2421 line break is _before_ the language command, not after (fixes bug
2422 1225); also make sure that the language reset command is the first
2423 thing after the paragraph (to ensure proper nesting of
2424 environments and thus fix bug 1404)
2426 2004-04-21 John Levon <levon@movementarian.org>
2429 * ToolbarBackend.C: make "name" be a programmatic name
2430 and a gui_name field.
2432 * lyxfunc.C: display the minibuffer on M-x
2434 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2436 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2439 2004-04-19 Angus Leeming <leeming@lyx.org>
2441 * BufferView_pimpl.C (setBuffer): changed preview interface.
2443 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2446 2004-04-19 John Levon <levon@movementarian.org>
2448 * BufferView_pimpl.C:
2449 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2451 2004-04-05 Angus Leeming <leeming@lyx.org>
2453 * text.C (redoParagraphs): add call to updateCounters(), thereby
2454 fixing the missing "Figure #:" label from the caption of a
2457 2004-04-13 Angus Leeming <leeming@lyx.org>
2459 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2460 cursor is clicked out of an inset.
2462 2004-04-13 Angus Leeming <leeming@lyx.org>
2464 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2465 than an InsetOld one.
2467 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2469 * format.[Ch]: add editor to Format
2470 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2471 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2473 2004-04-08 André Pönitz <poenitz@gmx.net>
2475 * metricsinfo.h: remove PainterInfo::width member
2477 2004-04-08 Angus Leeming <leeming@lyx.org>
2479 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2480 "\providecommand" rather than "\newcommand", thereby preventing
2481 clashes with packages that define "\boldsymbol" themselves.
2484 2004-04-08 Angus Leeming <leeming@lyx.org>
2486 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2487 thereby squashing an unnecessary warning.
2489 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2491 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2494 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2496 * BufferView.C (setCursor): call redoParagraph (some insets could
2498 (putSelectionAt): remove the 'double update' trick
2500 * BufferView_pimpl.C (fitCursor): call refreshPar
2501 (workAreaDispatch): remove an uneeded update call
2502 (dispatch): remove some manual update calls
2504 * cursor.[Ch]: remove cached_y_, updatePos
2505 (selHandle): set noUpdate when appropriate
2507 * lyxfunc.C (dispatch): track if we need an update
2509 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2511 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2512 (paintSelection): cheap optimization, do not call cursorX when not
2514 (paintPars): change signature
2517 (paintTextInset): adjust
2521 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2523 * lengthcommon.C: compilation fix: remove explicit array size from
2524 unit_name[] and friends
2526 2004-04-05 Angus Leeming <leeming@lyx.org>
2528 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2530 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2531 present only for the preferences dialog.
2532 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2534 2004-04-05 Angus Leeming <leeming@lyx.org>
2536 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2537 to enable the frontends to export changes to lyxrc correctly.
2539 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2541 2004-04-07 André Pönitz <poenitz@gmx.net>
2543 * cursor.[Ch] (selClear, adjust): remove math
2545 * cursor_slice.C: more agressive assert
2548 * BufferView_pimpl.C: rework mouse event dispatch
2555 2004-04-05 André Pönitz <poenitz@gmx.net>
2557 * cursor.[Ch] (valign, halign...): remove unneeded functions
2559 2004-04-05 Angus Leeming <leeming@lyx.org>
2561 * lyxlength.[Ch] (unit_name et al.): const-correct.
2563 2004-04-05 Angus Leeming <leeming@lyx.org>
2565 * BufferView_pimpl.C:
2574 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2576 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2578 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2580 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2582 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2583 * BufferView_pimpl.[Ch] (getStatus)
2584 * BufferView.[Ch] (getStatus): add
2585 * lyxfunc.C (getStatus): move lfuns handled in
2586 BufferView::dispatch to te function above
2587 * Cursor.C (setSelection): set selection() = true
2589 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2591 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2593 2004-03-31 Angus Leeming <leeming@lyx.org>
2595 * lyxfunc.C (dispatch): Fall through to the generic
2596 Dialogs::show("preamble").
2598 2004-03-31 Angus Leeming <leeming@lyx.org>
2600 * lyxfunc.C (dispatch): Fall through to the generic
2601 Dialogs::show("spellchecker").
2603 2004-03-31 Angus Leeming <leeming@lyx.org>
2605 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2608 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2613 * insetiterator.[Ch]:
2618 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2620 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2622 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2623 insets where we are putting the cursor.
2625 2004-03-31 Angus Leeming <leeming@lyx.org>
2628 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2630 * lyxrc.[Ch] (read, write): overloaded member functions taking
2631 a std::[io]stream arguments.
2633 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2635 2004-03-31 Angus Leeming <leeming@lyx.org>
2637 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2638 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2640 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2641 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2643 2004-03-31 Angus Leeming <leeming@lyx.org>
2645 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2646 the LFUN_ALL_INSETS_TOGGLE code.
2648 2004-03-30 Angus Leeming <leeming@lyx.org>
2650 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2651 has died. Fall through to the generic Dialogs::show("document").
2653 2004-03-30 Angus Leeming <leeming@lyx.org>
2656 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2657 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2659 * lyxfunc.C (getStatus, dispatch): define the actions for these
2660 lfuns. Little more than a cut and pste job from ControlDocument.C
2662 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2664 2004-03-30 Angus Leeming <leeming@lyx.org>
2667 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2668 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2670 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2671 open/closed state of ollapsable insets. Usage:
2673 all-inset-toggle <state> <name>, where
2674 <state> == "open" || "closed" || "toggle" and
2675 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2677 * lyxtext.h, text2.C (toggleInset): removed.
2679 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2680 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2681 now passes LFUN_INSET_TOGGLE to the found inset.
2683 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2684 is now invoked as "all-insets-toggle toggle branch".
2686 2004-03-30 Angus Leeming <leeming@lyx.org>
2690 * pariterator.[Ch]: added/corrected header blurb.
2692 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2694 * dociterator.[Ch]: add an inset_ member
2695 (backwardPos): implemented
2696 (backwardPos, forwardPos): use inset_ when the stack is empty.
2697 (doc_iterator_begin, doc_iterator_end): implemented
2698 * pariterator.[Ch]: adjust, add begin, end
2699 * insetiterator.[Ch]: adjust, add begin, end
2703 * BufferView_pimpl.C:
2704 * CutAndPaste.C: adjust
2706 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2708 * buffer.C: increment file format to 232.
2709 * LaTeXFeatures.C: add bibtopic package.
2710 * bufferparams.[Ch]: param \use_bibtopic.
2712 * lyxrc.[Ch]: add lyxrc bibtex_command
2713 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2715 * buffer.C: increment file format to 231.
2717 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2719 * dociterator.C: implement forwardPar
2720 * iterators.[Ch]: remove, replaced by
2721 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2723 * BufferView_pimpl.C:
2726 * bufferview_funcs.C:
2732 * Makefile.am: adjust
2734 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2736 * CutAndPaste.C (pasteSelection): fix 2 crashes
2737 (eraseSelection): fix a crash
2738 * paragraph_funcs.C: remove a warning
2740 2004-03-28 Angus Leeming <leeming@lyx.org>
2743 * LyXAction.C (init): new LFUN_PRINT.
2745 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2747 2004-03-27 Angus Leeming <leeming@lyx.org>
2750 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2752 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2754 2004-03-27 Angus Leeming <leeming@lyx.org>
2756 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2757 insetlist always contains non-null pointers to insets.
2759 2004-03-26 Angus Leeming <leeming@lyx.org>
2761 * src/BufferView_pimpl.C:
2762 * src/CutAndPaste.C:
2765 * src/output_plaintext.C:
2766 * src/outputparams.h:
2767 * src/paragraph_funcs.C:
2771 * src/frontends/controllers/ControlErrorList.C:
2772 * src/frontends/gtk/FileDialogPrivate.C:
2773 * src/frontends/gtk/GPainter.C:
2774 * src/frontends/gtk/GToolbar.C:
2775 * src/frontends/qt2/QRef.C:
2776 * src/mathed/math_scriptinset.C: squash compiler warnings.
2778 2004-03-26 Angus Leeming <leeming@lyx.org>
2780 * ispell.C (LaunchIspell::start):
2781 * lyx_cb.C (AutoSaveBuffer::start):
2782 invoke run(DontWait) rather than runNonBlocking().
2784 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2786 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2788 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2790 * kbsequence.C (print): adjust
2792 * kbmap.C (printKeySym): rename and change signature
2793 (printKey): use LyXKeySym::print()
2795 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2797 * undo.C: add using std::advance to compile for stlport
2799 2004-03-24 Angus Leeming <leeming@lyx.org>
2801 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2802 it leads to a crash when no buffer is present.
2804 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2805 Martin Vermeer <martin.vermeer@hut.fi>
2807 * lyxfunc.C (dispatch):
2808 * bufferparams.C (readToken): use the new LColor::setColor
2810 * LColor.[Ch] (setColor): new version that takes two strings as
2811 argument and creates a new color entry if necessary
2813 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2815 * buffer.C (makeLaTeXFile): if the main latex file that is
2816 processed is usually a subdocument of some master, then pretend
2817 for a while that it is actually the master
2819 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2821 * buffer.C (getLabelList):
2822 (getBibkeyList): use getMasterBuffer()
2823 (getMasterBuffer): new method. Returns the main document in the
2824 case where one is using included documents.
2826 2004-03-25 André Pönitz <poenitz@gmx.net>
2830 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2832 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2834 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2835 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2837 * ParameterStruct.h: merge with ParagraphParameters
2839 * lyxtext.h: remove LyXText::parOffset() and getPar()
2841 * text3.C: Remove all 'manual' update calls. We do now one per user
2842 interaction which is completely sufficient.
2846 * BufferView_pimpl.C:
2847 * FontIterator.[Ch]:
2849 * ParagraphParameters.[Ch]:
2854 * cursor_slice.[Ch]:
2861 * output_docbook.[Ch]:
2862 * output_latex.[Ch]:
2863 * output_linuxdoc.[Ch]:
2864 * output_plaintext.[Ch]:
2866 * paragraph_funcs.[Ch]:
2867 * paragraph_pimpl.[Ch]:
2875 * frontends/controllers/ControlDocument.C:
2876 * frontends/controllers/ControlErrorList.C:
2877 * frontends/controllers/ControlSpellchecker.C:
2880 * insets/insetbase.h:
2881 * insets/insetbibitem.C:
2882 * insets/insetbox.C:
2883 * insets/insetbranch.C:
2884 * insets/insetcaption.C:
2885 * insets/insetcharstyle.C:
2886 * insets/insetcharstyle.h:
2887 * insets/insetcollapsable.C:
2888 * insets/insetcollapsable.h:
2889 * insets/insetert.C:
2890 * insets/insetfloat.C:
2891 * insets/insetfoot.C:
2892 * insets/insetmarginal.C:
2893 * insets/insetnote.C:
2894 * insets/insetoptarg.C:
2895 * insets/insettabular.C:
2896 * insets/insettext.C:
2897 * insets/insettext.h:
2898 * insets/insetwrap.C:
2899 * mathed/math_mboxinset.C:
2900 * mathed/math_nestinset.C:
2901 * mathed/math_scriptinset.C:
2902 * mathed/math_scriptinset.h:
2905 2004-03-24 Angus Leeming <leeming@lyx.org>
2907 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2908 deal with any child processes that have finished but are waiting to
2909 communicate this fact to the rest of LyX.
2911 2004-03-24 Angus Leeming <leeming@lyx.org>
2913 64-bit compile fixes.
2915 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2916 (c-tor): pass lyx::pos_types rather than ints.
2918 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2921 * text.C (Delete): compile fix.
2922 (getPar): ensure that function declaration is the same as that in
2925 2004-03-23 Angus Leeming <leeming@lyx.org>
2927 * ispell.C (LaunchIspell):
2928 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2929 a boost::shred_ptr rather than a std::auto_ptr.
2931 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2933 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2934 handle LFUN_FILE_INSERT_*
2936 * lyxrc.C (setDefaults, getDescription, output, read):
2937 * lyxrc.h: remove ps_command
2939 2004-03-22 Angus Leeming <leeming@lyx.org>
2941 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2942 Ensure that error_handler is processed once only and that all data
2943 is saved before attempting to output any warning messages.
2945 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2947 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2949 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2951 2004-03-19 André Pönitz <poenitz@gmx.net>
2953 * cursor.[Ch] (reset): take main text inset as argument
2955 * BufferView: adjust
2956 * BufferView_pimpl.C: adjust
2958 * paragraph.[Ch]: fix completely broken operator=()
2960 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2962 * LColor.C (getFromLyXName): make sure that the color name is used
2965 2004-03-17 Angus Leeming <leeming@lyx.org>
2968 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2970 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2971 dialog and to kill a forked process.
2973 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2975 * text2.C (setCursorFromCoordinates): fix font problem
2977 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2979 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2980 bogus "rebuild cursor" code
2982 2004-03-11 André Pönitz <poenitz@gmx.net>
2984 * buffer.[Ch]: use InsetText instead of LyXText as container for
2987 * dociterator.[Ch]: drop the BufferView * member which is not needed
2988 anymore after the change to buffer.C
2990 * paragraph_funcs.C:
2994 * BufferView_pimpl.[Ch]:
2996 * cursor_slice.[Ch]: adjust
2998 * text3.C: fix bug in mathDispatch
3000 2004-03-08 André Pönitz <poenitz@gmx.net>
3002 * undo.[Ch]: use 'StableDocumentIterator' as base for
3005 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3008 * bufferparams.[Ch]: add jurabib support and param.
3010 * LaTeX.C: add FIXME/comment.
3012 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3014 * buffer.C: increment file format to 230.
3016 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3018 * cursor.C (dispatch): avoid infinite loops
3020 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3022 * rowpainter.C (paintSelection): fix x coordinates
3024 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3026 * text.C (rowBreakPoint): fix breaking before displayed insets
3028 2004-03-01 André Pönitz <poenitz@gmx.net>
3030 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3032 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3036 * BufferView_pimpl.C:
3044 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3050 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3051 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3053 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3055 * Bidi.[Ch] (computeTables): const correctness
3056 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3057 fill_hfill, fill_label_hfill and x from Row
3058 * lyxtext.h: prepareToPrint returns a RowMetrics
3059 * rowPainter.C: adjust
3060 * text.C (prepareToPrint): use width, not textWidth. adjust
3061 (redoParagraphInternal, cursorX): adjust
3062 * text2.C (getColumnNearX): adjust
3063 (init): put a default value to the top LyXText::width
3065 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3067 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3069 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3071 * lyxtext.h: add FontIterator class
3073 * text.C (FontIterator, operator*, operator->, operator++): add
3074 (rowBreakPoint, setRowWidth): adjust (fixing a
3077 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3079 * BufferView_pimpl.C (workAreaDispatch): allow also
3080 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3082 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3084 * text.C (rowBreakPoint): fix a bug showing with very large insets
3086 2004-02-25 André Pönitz <poenitz@gmx.net>
3089 * cursor.[Ch]: move some mathed specific code to mathed
3091 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3093 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3094 use_tempdir in preferences
3095 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3097 * lyx_main.C: ensure that tempdir is valid
3098 * lyxlex.h: correct typo
3099 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3100 * paragraph.[Ch] (isMultiLingual): make const
3101 * cursor.[Ch] (openable): make const
3103 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3105 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3107 2004-02-20 André Pönitz <poenitz@gmx.net>
3109 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3111 * cursor.[Ch]: prepare for localized getStatus()
3117 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3119 2004-02-20 André Pönitz <poenitz@gmx.net>
3121 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3123 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3125 * text2.C (setCursorFromCoordinates): switch to absolute coords
3127 (cursorDown): adjust
3128 * text3.C (dispatch): adjust
3130 2004-02-16 André Pönitz <poenitz@gmx.net>
3132 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3135 * cursor_slice.[Ch]: remove unneeded acessor function
3137 * lyxtext.h: rename rtl() to isRTL()
3145 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3147 * rowpainter.C (paintSelection): coord fix
3149 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3151 * Spacing.C: compile fix
3153 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3155 * cursor.C (dispatch): restore current_ before returning
3157 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3159 * text2.C (cursorUp, cursorDown): fix coords
3162 2004-02-12 André Pönitz <poenitz@gmx.net>
3167 * text3.C: add LCursor & parameter to most cursor movement functions
3168 remove usage of LyXText::cursorRow() and cursorPar()
3170 * cursor.[Ch]: add textRow() needed members
3173 * BufferView_pimpl.C:
3176 * BufferView_pimpl.C: adjust
3178 2004-02-11 André Pönitz <poenitz@gmx.net>
3182 * BufferView_pimpl.C: shift undo/redo handling
3184 * cursor.[Ch]: fix mathed crash
3187 * lyxtext.h: move selectionAsText to LCursor
3195 * rowpainter.C: fix excessive drawing
3197 2004-02-06 André Pönitz <poenitz@gmx.net>
3200 * BufferView_pimpl.[Ch]:
3201 * text3.C: move some text specific LFUN handling
3203 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3205 * text3.C (checkInsetHit): adjust coords
3206 * text2.C (getColumnNearX): adjust coords
3207 (edit): adjust coords
3208 * text.C (getRowNearY): add two asserts
3210 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3213 * format.C: add using std::distance to compile on gcc 2.95/stlport
3215 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3217 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3219 2004-02-04 André Pönitz <poenitz@gmx.net>
3221 * BufferView.[Ch] (insertInset):
3222 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3227 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3229 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3230 on the default clause of the switch
3231 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3232 wasn't catched by LCursor::dispatch
3234 2004-02-03 André Pönitz <poenitz@gmx.net>
3237 * cursor.[Ch]: some additional asserts
3239 * undo.[Ch]: remove LyXText dependency in interface
3243 * lyxtext.h (firstPar, lastPar): remove dead functions
3248 * paragraph.[Ch]: adjust
3250 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3252 * lyxfind.C (find): fix argument order in call to ::find
3254 2004-02-02 André Pönitz <poenitz@gmx.net>
3256 * cursor.[Ch]: remove direct access to anchor
3258 * text.C: remove findText() hack
3260 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3262 * iterators.[Ch] (lockPath): remove in favour of...
3263 * BufferView.[Ch] (setCursor): this addition
3264 * BufferView.C (putSelectionAt): adjust
3265 * undo.C (performUndoOrRedo): adjust
3266 * lyxfunc.C (dispatch): adjust
3268 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3270 * iterators.C (lockPath): add a missing slice
3271 * undo.C (performUndoOrRedo): remove redundant positioning code
3273 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3275 * vc-backend.C (scanMaster): ";" -> ';'
3277 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3279 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3280 std::binary_function
3282 * lyxtextclass.C (compare_name): rename to...
3283 (LayoutNamesEqual): ...this
3285 * lyxlex_pimpl.C (compare_tags): inherit from
3286 std::binary_function, put back into anon namespace
3288 * lyxfind.C (MatchString): inherig from std::binary_function
3289 (findChange): use empty() istead of !size()
3291 * format.C (FormatNamesEqual): new functor
3298 * converter.C (compare_Converter): rename to...
3299 (ConverterEqual): ...this, and fixup a bit.
3300 (getConverter): use it, and make function const
3301 (getNumber): use it, and make function const
3305 * bufferlist.C: add using boost::bind
3307 * MenuBackend.C (MenuNamesEqual): new functor
3308 (hasMenu): use it, and make function const
3309 (hasSubmenu): use nested bind to get rid of compare_memfun.
3311 2004-01-30 André Pönitz <poenitz@gmx.net>
3313 * BufferView_pimpl.C:
3316 * cursor_slice.[Ch]:
3319 * paragraph_funcs.C:
3320 * paragraph_funcs.h:
3324 * text3.C: move some of the edit(x,y) handling to the insets
3325 some coordinate changes.
3327 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3329 * text.C: add using statements for std::advance and std::distance
3331 * paragraph.C: add using statement for std::distance
3333 * lyxfind.C: add using statement for std::advance
3335 * cursor.C (region): remove std:: from swap
3336 (openable): use nucleus in stead of operator->
3338 * BufferView.C: add using statements for std::distance and std::swap
3340 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3342 * iterators.C: Remove the pimple, move the needed structures to
3343 the header file. Create accessor for the positions stack.
3344 (asPosIterator): remove function
3346 * PosIterator.C (PosIterator): move constructors to top of file
3347 (PosIterator): reimplement the constructor taking a ParIterator in
3349 (setFrom): new function
3350 (operator!=): inline it
3352 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3354 * lyxfind.C (replaceAll): use std::advance
3356 * iterators.h: inherit from std::iterator.
3358 * PosIterator.C (advance, distance): remove
3359 * PosIterator.h: interit from std::iterator.
3361 2004-01-26 André Pönitz <poenitz@gmx.net>
3364 * BufferView_pimpl.[Ch]:
3368 * bufferview_funcs.C:
3378 * output_linuxdoc.C:
3379 * output_plaintext.C:
3381 * paragraph_funcs.[Ch]:
3382 * paragraph_pimpl.[Ch]:
3388 * text3.C: more IU: dumps most of the rest of the mathcursor
3389 implementation into cursor.[Ch]; "globalize" a bit of it.
3391 2004-01-25 Angus Leeming <leeming@lyx.org>
3393 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3395 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3397 * LaTeXFeatures.h: add nice_ and nice() const
3398 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3400 2004-01-20 André Pönitz <poenitz@gmx.net>
3403 * BufferView_pimpl.C:
3405 * bufferview_funcs.C:
3407 * cursor_slice.[Ch]:
3418 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3419 LCursor and mathcursor parts to LCursor and InsetBase.
3421 2004-01-15 André Pönitz <poenitz@gmx.net>
3423 * cursor_slice.[Ch]: add a few covienience functions
3425 * funcrequest.[Ch]: remove BufferView * member
3427 * BufferView_pimpl.C:
3434 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3436 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3438 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3439 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3441 2004-01-13 André Pönitz <poenitz@gmx.net>
3444 * lyxtext.h: hide cursor and selection anchor behind accessor function
3447 * BufferView_pimpl.[Ch]:
3449 * bufferview_funcs.C:
3459 * cursor_slice.[Ch]: some integer type changes for inset unification
3461 * lyxcursor.[hC]: remove, it's CursorSlice now.
3464 * BufferView_pimpl.[Ch]:
3465 * bufferview_funcs.C:
3471 * textcursor.[Ch]: adjust
3473 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3475 * text2.C (undoSpan): add and use
3476 * text.C (breakParagraph): use undoSpan (fix bug 578)
3479 2004-01-08 Angus Leeming <leeming@lyx.org>
3481 * BufferView_pimpl.C (MenuInsertLyXFile):
3482 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3483 * lyxfunc.C (menuNew, open, doImport):
3484 FileFilterList change to the FileDialog open and save functions.
3486 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3488 * ShareContainer.h: make isEqual and isUnique adaptable
3490 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3492 2004-01-07 Angus Leeming <leeming@lyx.org>
3495 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3497 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3499 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3500 functions replacing find, replace and replaceAll.
3502 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3503 LFUN_WORDFIND(FORWARD|BACKWARD).
3505 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3507 * text.C (breakParagraph): remove an outdated #warning
3509 2004-01-07 André Pönitz <poenitz@gmx.net>
3511 * lyxfind.C: somewhat clearer logic
3513 * text.C: prevent crash in cursorX on unitialized row cache
3515 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3517 * lyxcursor.[Ch] (operator>): add
3518 * textcursor.C (selStart, selEnd): use std::min and std::max
3520 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3522 * Chktex.C: include boost/format.hpp
3524 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3526 * InsetList.C: replace functor MathcIt with adaptable functor
3528 (insetIterator): modify accordingly
3530 * BranchList.h: move the BranchNamesEqual functor here from...
3531 * BranchList.C: ... to here
3533 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3535 (add): replace a finding loop with std::find_if.
3537 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3539 * output_docbook.C: moving LatexParam functionality into
3542 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3544 * buffer.C: increment format to 229.
3546 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3549 * lyx_sty.[Ch]: remove minipageindent_def
3555 * text3.C: remove LFUN_INSET_MINIPAGE
3557 2003-12-28 Angus Leeming <leeming@lyx.org>
3559 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3561 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3563 * text2.C (setParagraph): fix off-by-one crash
3565 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3567 * output_docbook.C: header stuff for AGU
3569 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3571 * text2.C (redoCursor): remove
3574 * BufferView_pimpl.C: remove calls to redoCursor and
3575 setCursor(cursor.par(), cursor.pos()) all around
3577 2003-12-15 Angus Leeming <leeming@lyx.org>
3579 * buffer.C: up the format to 228.
3581 2003-12-15 André Pönitz <poenitz@gmx.net>
3583 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3588 * BufferView_pimpl.C:
3597 2003-12-15 Angus Leeming <leeming@lyx.org>
3599 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3600 than getFromGUIName to manipulate the color.
3602 2003-12-14 Angus Leeming <leeming@lyx.org>
3604 * BranchList.[Ch]: minimize the API.
3605 (Branch::getBranch, getColor): now return a 'const &'.
3606 (Branch::setSelected) now returns a bool set to true if the
3607 selection status changes.
3608 (BranchList::clear, size, getColor, setColor, setSelected,
3609 allBranches, allSelected, separator): removed.
3610 (BranchList::find): new functions, returning the Branch with
3612 (BranchList::add, remove): return a bool indicating that
3613 the operation was successful.
3615 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3616 new InsetBranch::isBranchSlected member function.
3618 * LColor.[Ch]: mimimize the API.
3619 (fill): renamed as addColor and made private.
3620 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3621 versions of these functions taking a string arg have been removed.
3623 * bufferparams.C (readToken):
3624 * lyxfunc.C (dispatch):
3625 * lyxrc.C (read): changes due to the altered BranchList and
3628 * factory.C (createInset, readInset): changes due to altered
3631 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3634 * lyxfunc.C: remove insetminipage. "minipage-insert"
3635 now produces a frameless minipage box inset.
3637 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3639 * textcursor.[Ch] (selStart,selEnd): add new methods
3640 remove selection::start, end, use LyXCursor::operator<
3641 * lyxcursor.[Ch] (operator<): add
3642 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3643 * BufferView.[Ch] (unsetXSel): add
3644 * text2.C (clearSelection): use unsetXSel,adjust
3647 * rowpainter.C: adjust
3648 * bufferview_funcs.C (put_selection_at): adjust
3650 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3652 * BufferView_pimpl.C: small coord. correction
3654 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3656 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3657 dragging over the splash screen.
3659 2003-12-11 Angus Leeming <leeming@lyx.org>
3661 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3662 as it is now handled in LyXText::dispatch.
3664 * text3.C (doInsertInset): remove a level of nesting.
3666 2003-12-11 Angus Leeming <leeming@lyx.org>
3668 * factory.C (createInset): changes due to the changed interface to
3669 InsetCommandMailer::string2params.
3671 2003-12-10 Angus Leeming <leeming@lyx.org>
3673 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3674 'dialog-show-new-inset <inset name>'
3676 2003-12-10 Angus Leeming <leeming@lyx.org>
3678 * buffer.C: up the format to 227.
3680 * factory.C: the box inset is now identified simply by 'Box'.
3682 2003-12-10 Angus Leeming <leeming@lyx.org>
3684 * buffer.C: up the format to 226.
3686 * factory.C: the note inset is now identified simply by 'Note'.
3688 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3690 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3691 when a pit is enough. Standarize a couple of loops.
3693 2003-12-05 Angus Leeming <leeming@lyx.org>
3695 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3696 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3697 data to the re-worked "log" dialog.
3699 2003-12-03 André Pönitz <poenitz@gmx.net>
3705 * paragraph_funcs.C:
3707 * text2.C: use Inset::getText instead of Inset::getParagraph
3709 2003-12-03 André Pönitz <poenitz@gmx.net>
3713 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3714 InsetText::read() as LyXText::read()
3716 2003-12-02 Angus Leeming <leeming@lyx.org>
3718 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3719 type. Add a comment in the implementation that the function uses
3720 the stream's bad() function rather than fail() as the std::streams
3723 2003-12-02 André Pönitz <poenitz@gmx.net>
3725 * lyxlex.[Ch]: make interface more similar to std::stream
3727 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3729 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3731 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3733 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3735 * vspace.[Ch]: remove VSpace::NONE
3737 2003-12-01 André Pönitz <poenitz@gmx.net>
3740 * lyxtext.h: move ParagraphList member to LyXText
3741 rename LyXText::ownerParagraphs to LyXText::paragraph
3744 * bufferview_funcs.C:
3754 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3756 * undo.C: fix cursor positioning
3758 2003-12-01 John Levon <levon@movementarian.org>
3760 * BufferView_pimpl.C: fix a crash on exit with
3763 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3765 * BranchList.C: fix setSelected() method.
3767 2003-11-28 André Pönitz <poenitz@gmx.net>
3769 * ParagraphParameters.[Ch]:
3770 * ParameterStruct.h: remove space above/below from Paragraph to
3773 * BufferView_pimpl.C:
3779 * paragraph_funcs.C:
3785 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3787 * factory.C: Syntax change for CharStyles
3789 2003-11-28 André Pönitz <poenitz@gmx.net>
3794 * buffer.[Ch]: move LyXText member
3796 2003-11-28 André Pönitz <poenitz@gmx.net>
3798 * BufferView.[Ch]: make LyXText * text a private member
3800 * BufferView_pimpl.C:
3811 * output_plaintext.C: cleanup
3813 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3816 * lyxtextclass.[Ch]: parametrize SGML document header
3818 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3821 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3824 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3826 * text2.C (setFont): rework using PosIterator (no more recursive)
3827 (setCharFont): no more needed
3828 (setLayout): no more selection cursors fiddling (done by redoCursor)
3829 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3830 destroy remaining ones)
3832 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3834 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3836 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3839 * text3.C: adjust + re-allow multi par depth changes
3840 * textcursor.C: simplify a bit
3842 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3848 * src/output_docbook.C:
3849 * src/output_latex.C:
3854 * src/text2.C: Introducing a number of tags parametrizing various
3855 XML formats that we may want to support
3857 2003-11-25 André Pönitz <poenitz@gmx.net>
3859 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3861 * lyxtext.h (leftMargin/rightMargin): simplify interface
3868 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3870 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3871 master file to any child files. Fixes bug 546.
3873 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3875 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3877 2003-11-24 André Pönitz <poenitz@gmx.net>
3879 * rowpainter.C: simplification
3881 * text2.C (updateCounters): remove call to redoParagraph on
3882 changed labels as this is far too expensive.
3884 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3886 * converter.C (convert): fix a crash: this function gets
3887 called with buffer == 0 from importer code.
3889 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3891 * text3.C (cursorPrevious): make sure that we do not compare
3892 iterators form different containers.
3895 * rowpainter.C (paintSelection): make sure that we do not compare
3896 iterators from different containers.
3898 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3899 iterators from different ParagraphList containers.
3902 * text2.C (LyXText): change order of initialization slightly
3903 (operator=): new function. copy all variables except cache_par_
3904 (moveUp): make sure that we do not compare iterators from
3905 different ParagraphList constainers.
3908 * text.C (firstPar): new function
3909 (lastPar): new function
3910 (endPar): new function
3912 * lyxtext.h: move things around and group public functions, public
3913 variables, private functions, private variables
3915 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3917 * factory.C: change call to InsetERT constructor to avoid
3918 additional invocation of method status
3919 * text2.C (toggleInset): remove redundant update() call
3920 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3921 instead of a Bufferview pointer
3923 2003-11-21 André Pönitz <poenitz@gmx.net>
3925 * rowpainter.C: simplification
3927 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3929 * text3.C (dispatch): make possible to extend a word/row selection
3932 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3934 * lyxtext.h: x0_,y0_ -> xo_,yo_
3935 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3936 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3937 * rowpainter.C (paintRows): paint full paragraphs
3939 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3941 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3944 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3946 * lyxtext.h: add x0_, y0_
3947 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3948 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3950 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3952 * text2.C (setCursorIntern): move the x_target update here *
3953 * text3.C: change some bv() to true/false in calls to
3954 cursorUp/Down/Right/Left
3955 * cursor.C: use helper function.
3957 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3959 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3960 * paragraph_funcs.[Ch]: correct comment
3961 * rowpainter.C: do not paint selections away from bv->cursor()
3962 Fix a long standing selection painting bug.
3963 * text3.C: generalize mouse-selection code to LyXTexts other that
3965 * textcursor.C: do not use y coords if we can use par offsets
3967 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3969 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3970 cursor position after e.g. inset insert)
3972 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3974 * lyxfind.C (replace): adjust to locking removal + some
3977 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3979 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3982 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3985 * output_docbook.C: XML sanitation: new layout
3986 parameters InnerTag and CommandDepth
3988 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3990 * BufferView_pimpl.C:
3992 * text3.C: Fix the insertion and modification of button-style
3995 2003-11-13 André Pönitz <poenitz@gmx.net>
3997 * InsetList.[Ch]: remove deleteLyXText
3999 * paragraph.[Ch]: cache beginOfBody position
4004 * text3.C: remove superfluous update() calls
4008 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4010 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4011 * BufferView.C (fitLockedInsetCursor): remove
4012 * cursor.[Ch] (getDim): add
4013 * text.C (getRowNearY): add faster version
4014 * text3.C: remove some update calls
4016 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4028 * text3.C: The Character Style /XML short element patch.
4030 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4033 * factory.C: Small step to solving 'unable to insert some insets'
4036 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4038 * cursor.[Ch] (updatePos): new function for updating the y
4039 position of the tip inset
4040 * bufferview_funcs.C (put_selection_at):
4041 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4043 2003-11-11 André Pönitz <poenitz@gmx.net>
4045 * text.C: remove big comment on invalid Paragraph pointers as it is
4048 2003-11-11 André Pönitz <poenitz@gmx.net>
4050 * text_funcs.[Ch]: merge with ...
4058 * Makefile.am: remove text_funcs.[Ch]
4060 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4062 * cursor.C (getPos): return absolute cached y coord
4064 * BufferView_pimpl.C (fitCursor): new simplistic code
4065 (workAreaDispatch): add a fitCursor call
4067 2003-11-10 André Pönitz <poenitz@gmx.net>
4070 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4072 2003-11-10 André Pönitz <poenitz@gmx.net>
4074 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4075 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4076 indicate that the cursor needs to leave an inset
4078 * lyxtext.h: remove inset locking
4080 * cursor.[Ch]: re-implement functionality provided by inset locking
4083 * BufferView_pimpl.[Ch]:
4085 * bufferview_funcs.[Ch]:
4097 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4099 * PosIterator.[Ch]: replace the stack with a vector, add inset
4101 * iterators.[C]: adjust
4103 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4105 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4107 * paragraph_funcs.C (readParToken): put the correct id in the
4108 error item, not the id of the top paragraph
4110 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4112 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4113 * bufferview_funcs.C (put_selection_at): use the above
4115 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4117 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4119 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4121 * output_linuxdoc.h:
4122 * output_plaintext.h:
4124 * output_docbook.h: add #include statements
4126 2003-11-05 José Matos <jamatos@lyx.org>
4128 * output_docbook.[Ch]:
4129 * output_latex.[Ch]:
4130 * output_linuxdoc.[Ch]:
4131 * output_plaintext.[Ch]: New files for output formats.
4132 * output.[Ch]: New file for helper functions.
4135 * paragraph_funcs.[Ch]: output functions moved to new files.
4137 * outputparams.h: rename of latexrunparams.h
4145 * paragraph_funcs.[Ch]:
4146 * paragraph_pimpl.[Ch]:
4147 * tabular.[Ch]: rename ascii to plaintext
4148 and LatexRunParams to OutputParams.
4150 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4152 * iterators.[Ch] (text): require bv argument
4153 * undo.C (recordUndo):
4154 * lyxfunc.C (dispatch):
4155 * bufferview_funcs.C (put_selection_at): adjust
4157 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4159 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4161 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4163 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4166 2003-11-04 André Pönitz <poenitz@gmx.net>
4168 * cursor.[Ch]: restructure
4171 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4173 * iterators.[Ch] (asCursor): remove
4175 * lfuns.h: remove LFUN_INSET_EDIT
4181 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4183 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4185 * lyxfind.[Ch]: complete overhaul
4186 * BufferView_pimpl.C:
4188 * paragraph.[Ch] (insert): add
4190 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4194 * text.C: remove dead spellcheck code
4196 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4198 * dispatchresult.h: add a val setter
4200 * cursor.C (dispatch): use a tempvar for data_[i]
4202 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4204 * PosIterator.[Ch]: compile fix
4206 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4208 * text.C (cursorPar): deactivate the cursor cache
4210 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4212 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4214 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * text3.C (dispatch): adjust for new DisptchResult semantics.
4218 * lyxfunc.C (dispatch): handle update when return from
4219 Cursor::dispatch, adjust for new DispatchResult semantics.
4221 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4222 DispatchResult(true) mean to not update. Add class functions for
4223 setting dispatched and update, as well as reading.
4225 * cursor.C (dispatch): don't handle update here
4227 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4230 * trans_mgr.C: adjust
4232 * paragraph_funcs.C (readParToken): exception safety
4234 * lyxvc.h: store the vcs pointer in a scoped_ptr
4237 * lyxsocket.C (serverCallback): exception safety
4239 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4241 * ispell.C (clone): make it return a auto_ptr
4243 * factory.C (createInset): exception safety
4244 (readInset): exception safety
4246 * bufferlist.C (newBuffer): exception safety
4248 * Thesaurus.C (Thesaurus): use initialization for aik_
4250 * MenuBackend.C (expandToc): exception safety.
4252 2003-11-03 André Pönitz <poenitz@gmx.net>
4256 * bufferview_funcs.C: remove getInsetFromId()
4259 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4265 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4267 * PosIterator.C (distance, advance): new
4268 * bufferview_funcs.[Ch] (put_selection_at): new
4269 * iterators.[Ch] (lockPath): new
4271 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4273 * iterators.[Ch] (asPosIterator): added
4274 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4275 * PosIterator.[Ch]: added
4277 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4281 * cursor.C (dispatch):
4282 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4284 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4285 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4286 contructor, add a class function dispatched. Remove operator>=
4288 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4290 * debug.C: only use the default constructor for debugstream
4293 * main.C (main): include debug.h and setup the lyxerr streambuf
4296 2003-10-31 José Matos <jamatos@lyx.org>
4298 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4300 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4301 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4302 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4303 * paragraph_pimpl.C (simpleTeXSpecialC):
4304 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4305 add LatexRunParams argument.
4307 * exporter.C (Export): change call accordingly.
4309 * latexrunparams.h: add new member to take care of the other backends.
4310 2003-10-30 José Matos <jamatos@lyx.org>
4312 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4313 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4314 factorise code for paragraph output.
4316 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4319 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4321 * text3.C (dispatch):
4322 * lyxfunc.C (dispatch):
4323 * cursor.C (dispatch):
4324 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4326 * dispatchresult.h: make the dispatch_result_t ctor explicit
4328 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4331 * buffer.C: small refactoring of docbook stuff
4333 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4335 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4338 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4340 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4341 operator dispatch_result_t, and operators for == != and >=
4343 * cursor.C (dispatch): adjust for operator dispatch_result_t
4344 removal. comment out call to update
4346 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4348 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4359 * dispatchresult.h: new file, DispatchResult broken out of
4362 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4364 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4366 * text.C (rowBreakPoint): put a hack inside #if 0
4368 2003-10-28 André Pönitz <poenitz@gmx.net>
4372 * paragraph_funcs.C:
4375 * text2.C: general cleanup (lots of small stuff)
4377 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4379 * text2.C (cursorEnd): simple fix to the "end key goes to one
4380 before the end on last row" bug
4382 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4384 * text.C (backspace): fix the "zombie characters"
4386 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4388 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4390 2003-10-27 André Pönitz <poenitz@gmx.net>
4392 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4394 * factory.C: handle new InsetPagebreak, InsetLine
4396 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4397 and move handling into new InsetPagebreak, InsetLine
4399 * BufferView_pimpl.C:
4401 * ParagraphParameters.C:
4402 * ParameterStruct.h:
4407 * paragraph_funcs.C:
4408 * paragraph_pimpl.C:
4414 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4417 * lyxrow_funcs.[Ch]:
4423 * text3.C: remove lastPos uses in favour of Row::endpos
4425 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4427 * undo.C (performUndoOrRedo): fix two crashes by setting a
4428 cursor by hand and reordering some calls. Use bv->lockInset instead
4429 of inset->edit because the latter loses cursor information
4431 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4433 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4435 (rowBreakPoint): fix width. change point to point + 1.
4436 Add a missing check.
4438 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4441 * lyxfunc.C: fix (at least partly) the problems
4442 with the Nav menu and headers inside branch insets
4445 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4447 * paragraph.C (getChar): add strong asserts
4449 * lyxrow_funcs.C (lastPos): remove hideous hack
4451 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4452 (fill): adjust to that (avoid an infinite loop)
4454 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4456 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4458 2003-10-23 André Pönitz <poenitz@gmx.net>
4460 * RowList_fwd.h: change list<> to vector<> to gain speed
4461 after suggestion from Alfredo
4463 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4465 * lyxtext.h: move the bidi stuff from here...
4468 * Bidi.[Ch]: ... to here
4470 2003-10-23 André Pönitz <poenitz@gmx.net>
4473 * text.C (isLastRow, isFirstRow): new functions
4475 * paragraph.h: new width cache member
4477 * rowpainter.C: replace RowList::iterator with Row & where possible
4479 * lyxfunc.C: replace several view()->text with a single call
4481 * toc.C: fix 'unused' warning
4483 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4485 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4486 when woring with stream::pos_type
4487 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4489 2003-10-22 André Pönitz <poenitz@gmx.net>
4492 * text.C: use Row & instead of RowList::iterator
4494 * lyxrow.h: rename end() to endpos()
4500 2003-10-22 Angus Leeming <leeming@lyx.org>
4502 * buffer.[Ch] (fully_loaded): new member function, returning true
4503 only when the file has been loaded fully.
4504 Used to prevent the premature generation of previews and by the
4505 citation inset to prevent computation of the natbib-style label.
4507 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4508 templates are all set up.
4510 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4512 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4514 * text.C: fixed an "oops" in the "is a bit silly"
4517 2003-10-21 André Pönitz <poenitz@gmx.net>
4519 * FuncStatus.[Ch]: small stuff, whitespace
4521 * lyxfont.[Ch]: operator<<() for debug reasons
4525 * lyxtext.h: whitespace, spelling
4527 * paragraph.C: naming of variables
4530 * text2.C: small stuff
4533 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4535 * text.C: (1) finish off the inset display() work;
4536 (2) fix the "is a bit silly" bug (accessing char
4539 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4541 * text.C: re-introduce display() for insets, fixing the
4542 various bugs (stretch of line above, math inset
4545 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4547 * text.C (rightMargin): remove spurious semicolon
4549 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4552 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4554 * text3.C: fix one crash due to wrong cursor def
4556 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * vc-backend.C (scanMaster): make the regex static
4560 * LaTeX.C (scanAuxFile): make the regexs static
4562 * text3.C (doInsertInset, dispatch, dispatch):
4563 * text2.C (cursorUp, cursorDown):
4564 * text.C (selectNextWordToSpellcheck):
4565 * BufferView_pimpl.C (dispatch):
4566 * lyxfunc.C (dispatch): localDispatch -> dispatch
4568 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4570 * lyxsocket.C: include <cerrno>
4572 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * lyxfunc.C (dispatch): remove textcache stuff
4576 * bufferlist.C (release): remove textcache stuff
4579 * TextCache.C: delete file
4580 * TextCache.h: delete file
4582 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4584 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4585 delete of the bv_->text.
4586 (resizeCurrentBuffer): remove texcache stuff
4587 (workAreaResize): ditto
4589 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4591 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4594 2003-10-16 André Pönitz <poenitz@gmx.net>
4601 * text3.C: speed up by storing y positions per paragraph plus per-row
4602 offset instead of having a 'full' y position in the row.
4604 2003-10-15 André Pönitz <poenitz@gmx.net>
4608 * undo.[Ch]: make undo aware of inner insets
4610 2003-10-14 Angus Leeming <leeming@lyx.org>
4612 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4613 static member functions LyX::ref() and LyX::cref.
4614 (lastfiles): new accessor functions for the new lastfiles_ member var.
4615 (addLyXView, views_): add a new LyXView to the list of views_.
4616 (updateInset): loop over all LyXViews to call their own updateInset
4617 member function, returning a pointer to the Buffer owning the inset.
4619 * BufferView_pimpl.C (loadLyXFile):
4620 * MenuBackend.C (expandLastfiles):
4621 * bufferlist.C (MenuWrite, QuitLyX):
4622 lastfiles is no longer a global variable.
4623 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4625 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4626 static function. Access through LyX::cref().emergencyCleanup().
4628 2003-10-14 André Pönitz <poenitz@gmx.net>
4630 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4632 * undo.[Ch]: restoring part of 'undo in insets'
4635 * undo_funcs.[Ch]: merge with undo.[Ch]
4637 * tabular.C: small cleansing stuff
4639 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4641 * paragraph_funcs.C (readParToken): report unknown insets as error
4642 boxes. Use the outer paragraph as location (also for unknown
4645 * factory.C (readInset): do not abort on reading an unknown inset.
4646 Eat it and return 0.
4648 2003-10-13 Angus Leeming <leeming@lyx.org>
4650 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4652 * lyxrc.C: displayTranslator is now a function,
4653 declared in GraphicsTypes.h.
4655 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4657 * format.C: new placeholder $$a to pass the socket address.
4659 * bufferlist.[Ch]: new function getBufferFromTmp.
4661 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4662 files in the temporary dir.
4664 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4666 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4668 * Makefile.am: add lyxsocket.[Ch].
4670 * lyx_main.C (error_handler): handle SIGPIPE.
4672 2003-10-13 André Pönitz <poenitz@gmx.net>
4674 * BufferView_pimpl.C:
4679 * undo_funcs.[Ch]: use paroffset_type instead of
4680 ParagraphList::iterators to prevent multiple conversion
4681 (and get a more robust interface)
4683 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4687 * text3.C (dispatch): ditto
4689 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4691 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4692 move the onlyfile, use onlyfile instead of foundfile in a couple
4695 * DepTable.C (update): flush the error stream a bit more
4697 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * lyxserver.C (callback): adjust
4701 * lyxfunc.C (getStatus): add a missing brace in commented code
4702 (ensureBufferClean): reindent
4703 (dispatch): delete version taking a string
4705 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * LaTeX.C (deplog): move found file handlig from here...
4708 (handleFoundFile): .. to new function here.
4709 (deplog): make sure to discover several files mentioned on the
4712 2003-10-10 André Pönitz <poenitz@gmx.net>
4719 * text3.C: fix some of the tabular crashes
4721 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4723 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4725 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4727 2003-10-09 André Pönitz <poenitz@gmx.net>
4729 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4732 * BufferView_pimpl.C:
4733 * bufferview_funcs.C:
4744 * undo_funcs.C: adjust
4746 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4748 * text2.C (incrementItemDepth): new function, use a backtracking
4749 algorithm to discover the correct item depth.
4750 (resetEnumCounterIfNeeded): new function, use a backtracking
4751 algorithm to discover if counter reset is needed.
4752 (setCounter): use them. Simplify a bit. Add different labels for
4753 different item depths for itemize.
4755 * paragraph.C (Paragraph): remove initialization of enumdepth
4758 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4759 enumerate and itemize. Change the type of itemdepth to signed char.
4761 2003-10-08 André Pönitz <poenitz@gmx.net>
4763 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4768 * tabular.[Ch]: fix crash after 'row-insert'
4770 2003-10-08 Angus Leeming <leeming@lyx.org>
4772 Fix doxygen warnings.
4774 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4775 Remove CutAndPaste:: prefix from header file declaration.
4777 * LColor.h (fill): remove LColor:: prefix from declaration.
4779 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4780 use lyx::depth_type rather than Paragraph::depth_type so that
4781 header file and .C file match.
4783 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4785 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4786 * aspell.C: \file aspell_local.C -> \file aspell.C
4787 * gettext.C: \file gettext.C -> \file src/gettext.C
4788 * gettext.h: \file gettext.h -> \file src/gettext.h
4789 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4790 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4791 * text.C: \file text.C -> \file src/text.C
4793 * toc.C: move comment so that doxygen is not confused.
4795 2003-10-07 Angus Leeming <leeming@lyx.org>
4797 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4799 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4802 * aspell_local.h: add forgotten std::string's.
4804 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4811 * text3.C: The Box patch. Fancybox support, minipage, parbox
4813 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4819 * ParagraphParameters.h:
4829 * lyxtextclasslist.h:
4832 * paragraph_pimpl.C:
4833 * textcursor.h: add <string> and other small fixes to make Lars'
4834 std::string patch compile with STLport.
4836 2003-10-06 Angus Leeming <leeming@lyx.org>
4838 * LColor.h: Add missing #include <string>.
4840 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4842 * All most all file in all subdirs: Make <string> be the prefered
4843 way of getting to std::string, add using declarations.
4845 2003-10-06 André Pönitz <poenitz@gmx.net>
4847 * metricsinfo.C: initialize LyXFont before changing attribute.
4848 (fixes the 'math in \emph is upright' bug)
4850 2003-10-06 André Pönitz <poenitz@gmx.net>
4852 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4854 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4857 * paragraph_pimpl.C: Small fixes to build using STLport
4859 2003-10-02 André Pönitz <poenitz@gmx.net>
4862 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4864 2003-10-01 André Pönitz <poenitz@gmx.net>
4866 * factory.C: assert early
4868 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4870 * lyx_main.C: remove the global debug object
4872 * debug.h: adjust for new debugstream
4874 * debug.C: adjust for new debugstream and keep the global debug
4877 2003-09-22 Angus Leeming <leeming@lyx.org>
4879 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4880 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4881 an incomplete class LyXFont.
4883 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4885 * factory.C: bug fix in branches
4887 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4889 * lyxfunc.C (processKeySym): adjust
4891 (dispatch): change arg name from ev to func, adjust
4892 (sendDispatchMessage): ditto
4894 * lyx_main.C (defaultKeyBindings): adjust keybindings
4895 (deadKeyBindings): ditto
4897 * kbsequence.C (addkey): return a FuncRequest
4899 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4901 * kbmap.C (bind): take a FuncRequest as arg, adjust
4904 (defkey): change to take a FuncRequest as arg, adjust
4905 (findbinding): take a FuncRequest as arg, adjust.
4907 * funcrequest.h (operator=): added
4909 * funcrequest.C (FuncRequest): default kb_action changed from
4910 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4912 * buffer.C (dispatch): simplify
4913 (dispatch): adjust to take a FuncRequest as arg, adjust
4915 * boost.C (assertion_failed): change assertion message slightly
4917 * ToolbarBackend.C (read): simplify
4919 * MenuBackend.C (binding): adjust call to findbinding, add a
4920 message if no binding is found.
4922 (expandToc): correct by adding a empty FuncRequest
4924 * LyXAction.C: include <boost/assert.hpp>
4925 (isPseudoAction): delete function
4926 (LookupFunc): change name to...
4927 (lookupFunc): this. change return type to FuncRequest.
4928 (getActionName): take kb_action as arg, simplify
4929 (funcHasFlag): add an assert, simplify.
4931 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * toc.C (action): return a FuncRequest, simplify
4935 * lyxfunc.C (processKeySym): adjust
4936 (getStatus): delete version that takes an int.
4938 (dispatch): delete version that takes action as int
4940 (sendDispatchMessage): simplify and adjust
4942 * funcrequest.C (getArg): take unsigned int as arg
4944 * ToolbarBackend.C (read): adjust
4945 (add): delete version that takes func as a string.
4946 (getIton): take a FuncRequest as arg
4948 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4951 * MenuBackend.C (MenuItem): add a new construct that only takes a
4952 Kind, simplify the constructor use for submenus.
4954 (expandLastfiles): adjust
4955 (expandDocuments): adjust
4956 (expandFormats): adjust
4957 (expandFloatListInsert): adjust
4958 (expandFloatInsert): adjust
4959 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4961 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4962 Remove class variables lyx_pseudo_map and lyx_arg_map
4964 * LyXAction.C (searchActionArg): delete function
4965 (getPseudoAction): delete function
4966 (retrieveActionArg): delete function
4967 (LookupFunc): make it return kb_action, simplify.
4968 (getActionName): simplify
4970 * factory.C (createInset): fix new bug
4972 2003-09-19 Angus Leeming <leeming@lyx.org>
4974 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4975 masterFilename_ parameter in the include inset.
4977 * factory.C (createInset): changes due to the changes to InsetInclude.
4979 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4981 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4983 2003-09-18 Angus Leeming <leeming@lyx.org>
4986 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4987 Inset::fillWithBibKeys.
4988 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4990 2003-09-18 Angus Leeming <leeming@lyx.org>
4992 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4994 (ctor): pass and store a 'Buffer const &'
4995 (buffer): new member function.
4997 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4998 '*this' to the LaTeXFeatures ctor.
5000 2003-09-18 Angus Leeming <leeming@lyx.org>
5006 * text.C: rename EnumLColor as LColor_color.
5008 2003-09-18 Angus Leeming <leeming@lyx.org>
5010 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5011 remove #include "insets/insetbase.h" from cursor.h.
5013 2003-09-18 Angus Leeming <leeming@lyx.org>
5015 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5016 InsetOld_code to remove #include "inset.h".
5018 * iterators.C: add #include "insets/inset.h"
5020 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5022 * BufferView.C: remove more locking stuff that apparently doesn't
5023 do anything sensible.
5025 2003-09-16 André Pönitz <poenitz@gmx.net>
5028 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5031 2003-09-16 Angus Leeming <leeming@lyx.org>
5033 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5035 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5038 * paragraph.h: remove #include "lyxfont.h". Forward declare
5041 2003-09-16 Angus Leeming <leeming@lyx.org>
5043 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5044 of support/textutils.h.
5045 (isWord): move the contents of support/textutils.h's IsWordChar here.
5051 * text2.C: add #include "paragraph.h".
5054 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5056 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5062 * LaTeX.C: use namespace alias for lyx::support::os
5064 2003-09-16 Angus Leeming <leeming@lyx.org>
5067 * bufferview_funcs.C:
5070 * paragraph_pimpl.C:
5072 * text.C: add #include "LColor.h".
5074 2003-09-16 Angus Leeming <leeming@lyx.org>
5076 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5077 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5079 Store the FontBits::color variable as an int rather than as an
5080 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5083 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5084 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5085 string calls together.
5087 * lyxrc.C: add #include "LColor.h".
5089 2003-09-15 Angus Leeming <leeming@lyx.org>
5091 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5094 2003-09-15 Angus Leeming <leeming@lyx.org>
5096 * LColor.h: add an EnumLColor wrapper for LColor::color.
5098 * lyxfont.[Ch] (color, setColor, realColor):
5099 * lyxtext.h, text.C (backgroundColor):
5100 pass EnumLColor args to/from the functions, rather than LColor::color
5104 * lyxtext.h: forward declare EnumLColor.
5106 * lyx_main.C: add #include "LColor.h".
5108 2003-09-15 Angus Leeming <leeming@lyx.org>
5110 * .cvsignore: add lyx-gtk.
5112 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5117 * ParagraphParameters.C
5121 * bufferview_funcs.C
5131 * vc-backend.C: remove usage of STRCONV
5133 2003-09-15 Angus Leeming <leeming@lyx.org>
5135 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5136 explicitly define the color passed to the painter.
5138 2003-09-15 Angus Leeming <leeming@lyx.org>
5140 * bufferparams.C (BufferParams): reorder member initializers to avoid
5143 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5145 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5146 * text.C (updateRowPositions): remove an unusual nop
5148 2003-09-12 André Pönitz <poenitz@gmx.net>
5150 * BufferView_pimpl.C:
5159 * Counters.[Ch]: finish the 'automatic counters' job
5161 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5163 * aspell.C: include <boost/assert.cpp> (compile fix)
5165 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5167 * boost.C (assertion_failed): use lyx::support::abort instead of
5170 2003-09-10 Angus Leeming <leeming@lyx.org>
5172 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5173 with their _fwd progeny.
5175 2003-09-09 Angus Leeming <leeming@lyx.org>
5177 134 files throughtout the source tree: replace 'using namespace abc;'
5178 directives with the appropriate 'using abc::xyz;' declarations.
5180 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5182 * boost.C (emergencyCleanup): moved here from LAssert.c
5183 (assertion_failed): new function, called by BOOST_ASSERT
5185 * several files: change Assert to BOOST_ASSERT
5187 2003-09-09 Angus Leeming <leeming@lyx.org>
5189 * buffer.[Ch]: Add an Impl class and move Buffer's member
5190 variables into it. As a result move several header files out of
5193 Add header files to lots of .C files all over the tree as a result.
5195 2003-09-09 Angus Leeming <leeming@lyx.org>
5197 * buffer.[Ch]: make Buffer's member variables private. Add
5200 Lots of changes all over the tree as a result.
5202 2003-09-08 Angus Leeming <leeming@lyx.org>
5204 * graph.C: #include <config.h>.
5206 2003-09-08 Angus Leeming <leeming@lyx.org>
5210 * BufferView_pimpl.C:
5239 * toc.C: remove redundant using directives.
5241 2003-09-07 Angus Leeming <leeming@lyx.org>
5243 * LaTeXFeatures.h: remove #include "support/types.h".
5244 * ToolbarBackend.h: remove #include <algorithm>.
5245 * changes.h: remove #include <ctime>.
5246 * debug.h: remove #include <iosfwd>.
5247 * graph.h: remove #include "support/std_string.h".
5248 * lyx_main.h: remove #include <csignal>.
5249 * lyxlex_pimpl.h: remove #include <fstream>.
5250 * sgml.h: remove #include <algorithm>, <utility>.
5251 * toc.h: remove #include "support/std_ostream.h".
5252 Add #include <iosfwd>.
5254 2003-09-07 Angus Leeming <leeming@lyx.org>
5256 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5258 * converter.h: forward declare LatexRunParams.
5259 * encoding.h: remove #include "lyxrc.h".
5260 * lyxtext.h: remove #include "LColor.h".
5261 * lyxtextclass.h: remove #include "support/types.h".
5262 * trans.h: remove #include "tex-accent.h".
5263 * trans_mgr.h: remove #include "tex-accent.h".
5264 * insets/inset.h: remove #include "support/types.h", <vector>.
5265 * insets/insetcollapsable.h: remove #include "LColor.h".
5266 * insets/insetinclude.h: remove #include "dimension.h".
5267 * insets/insetlatexaccent.h: remove #include "dimension.h".
5268 * insets/insetoptarg.h:: remove #include "insettext.h".
5269 * insets/insettext.h: remove #include "dimension.h",
5270 <boost/shared_ptr.hpp>
5272 * insets/renderers.h: add #include "dimension.h".
5273 * insets/updatableinset.h: add #include "support/types.h".
5275 * many .C files: Associated changes.
5277 2003-09-06 Angus Leeming <leeming@lyx.org>
5279 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5280 one, inside testInvariant.
5282 * PrinterParams.C: new file.
5283 * PrinterParams.[Ch]: move the function bodies out of line.
5285 2003-09-06 Angus Leeming <leeming@lyx.org>
5287 * ParagraphParameters.h: forward declare ParameterStruct rather than
5288 including its header file.
5289 (depth): moved out-of-line.
5291 2003-09-06 Angus Leeming <leeming@lyx.org>
5293 * BufferView_pimpl.h:
5296 * lyxfunc.h: forward declare LyXKeySym rather than
5297 #include "frontends/LyXKeySym.h".
5299 * BufferView_pimpl.C:
5302 * lyxfunc.C: associated changes.
5304 2003-09-06 Angus Leeming <leeming@lyx.org>
5306 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5307 As a result, can remove the #include "insets/inset.h" from BufferView.h
5309 2003-09-06 Angus Leeming <leeming@lyx.org>
5311 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5312 As a result, can remove the #include "insets/inset.h" from BufferView.h
5314 2003-09-06 Angus Leeming <leeming@lyx.org>
5320 * bufferview_funcs.C:
5321 * BufferView_pimpl.C:
5326 * ParagraphParameters.C:
5331 * frontends/controllers/ControlDocument.C:
5332 * insets/insetcaption.C: rearrange the #includes into some sort of
5335 * buffer.h: remove #includes ErrorList.h, undo.h
5337 2003-09-06 Angus Leeming <leeming@lyx.org>
5339 * support/types.h: add a 'depth_type' typedef, used to store the
5340 nesting depth of a paragraph.
5343 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5344 defining explicitly.
5347 * paragraph_funcs.h:
5348 * ParagraphParameters.h:
5349 * sgml.h: use lyx::depth_type rather than Paragraph or
5350 ParameterStruct's depth_type.
5353 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5356 * BufferView_pimpl.C:
5358 * ParagraphParameters.C:
5361 * bufferview_funcs.C:
5368 * frontends/LyXView.C:
5369 * frontends/controllers/ControlDocument.C:
5370 * frontends/controllers/ControlErrorList.C:
5371 * insets/insetbibitem.C:
5372 * insets/insetbranch.C:
5373 * insets/insetcaption.C:
5374 * insets/insetcollapsable.C:
5375 * insets/insetenv.C:
5376 * insets/insetert.C:
5377 * insets/insetfloat.C:
5378 * insets/insetfoot.C:
5379 * insets/insetfootlike.C:
5380 * insets/insetnewline.C:
5381 * insets/insetquotes.C:
5382 * insets/insettabular.C:
5383 * insets/insettext.C:
5384 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5386 * frontends/controllers/ControlChanges.C: #include "changes.h".
5388 2003-09-06 Angus Leeming <leeming@lyx.org>
5390 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5391 than #including paragraph.h.
5394 * RowList.h: deleted. Superfluous.
5404 * insets/insettext.h: use ParagraphList_fwd.h rather than
5407 * paragraph.h: don't forward declare ParagraphList.
5410 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5411 rather than ParagraphList.h. paragraph.h is still needed for the
5412 Paragraph::depth_type parameters.
5414 * textcursor.h: enable it to compile stand-alone in light of the
5417 * bufferview_funcs.C:
5429 * frontends/controllers/ControlParagraph.C:
5430 * frontends/controllers/ControlTabular.C:
5431 * insets/insetmarginal.C:
5432 * insets/insetminipage.C:
5433 * insets/insetnote.C:
5434 * insets/insetoptarg.C: add header files needed to compile again.
5436 2003-09-06 Angus Leeming <leeming@lyx.org>
5438 * RowList_fwd.h: new file, forward-declaring Row rather than
5439 #including lyxrow.h.
5444 * insets/insettext.h: use it instead of RowList.h
5446 * bufferview_funcs.C:
5453 * text3.C: #include "RowList.h".
5455 2003-09-05 Angus Leeming <leeming@lyx.org>
5457 * factory.C (createInset):
5458 * vspace.C (c-tor): replace sscanf call with an istringstream.
5459 * ispell.C: re-add missing HP/UX headers.
5460 * lyxserver.C: re-add missing os2 headers.
5462 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5471 * text3.C: re-add missing system headers, needed for 2.95.2.
5473 2003-09-05 Angus Leeming <leeming@lyx.org>
5475 Changes most place everywhere due to the removal of using directives
5476 from support/std_sstream.h.
5478 2003-09-05 Angus Leeming <leeming@lyx.org>
5480 Replace LString.h with support/std_string.h,
5481 Lsstream.h with support/std_sstream.h,
5482 support/LIstream.h with support/std_istream.h,
5483 support/LOstream.h with support/std_ostream.h.
5485 Changes resulting throughout the tree.
5487 2003-09-05 Angus Leeming <leeming@lyx.org>
5489 * sgml.h: ensure that the header file can be compiled stand-alone.
5490 * *.C: strip out redundant #includes. (320 in total.)
5492 2003-09-04 Angus Leeming <leeming@lyx.org>
5494 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5495 here (from getPackages).
5497 * debug.[Ch]: add a new EXTERNAL tag.
5499 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5501 * text2.C (cursorEnd): simplify
5503 (getColumnNearX): adjust
5505 * text.C (computeBidiTables): adjust
5508 * rowpainter.C (paintChars): adjust
5509 (paintSelection): adjust
5510 (paintChangeBar): adjust
5513 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5515 (numberOfSeparators): adjust
5517 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5523 * text3.C: Restricts the mouse click functionality
5524 of insets like bibtex, include, toc and floatlist to the visible
5525 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5526 up the dialogs. Cursor has to be in front of the inset (i.e.
5527 start of row) for this to function.
5529 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5531 * bufferview_funcs.C (currentState): output row information
5533 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5535 * bufferview_funcs.C (currentState): output paragraph position
5537 2003-09-04 Angus Leeming <leeming@lyx.org>
5539 * FloatList.h: move out #include "Floating.h".
5540 * LaTeX.h: move out #include "DepTable.h".
5541 * LyXAction.h: move out #include "funcrequest.h".
5542 * buffer.h: move out #include "author.h", "iterators.h".
5543 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5544 * lyx_main.h: move out #include "errorlist.h".
5545 * lyxfunc.h: move out #include "FuncStatus.h".
5546 * lyxtext: move out #include "lyxcursor.h".
5547 * paragraph_pimpl.h: move out #include "counters.h".
5549 2003-09-03 Angus Leeming <leeming@lyx.org>
5551 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5552 preamble_snippets list, enabling us to add snippets to the preamble
5553 only if the snippet was not there already.
5555 2003-09-04 Angus Leeming <leeming@lyx.org>
5557 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5559 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5564 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5566 * BranchList.C: point fix, earlier forgotten
5568 2003-09-02 Angus Leeming <leeming@lyx.org>
5570 * box.C (contains): renamed from 'contained' after a fantastic
5573 2003-09-02 John Levon <levon@movementarian.org>
5579 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5581 2003-09-02 John Levon <levon@movementarian.org>
5583 * text2.C: simplification of cursorEnd(), including partial
5586 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5588 * buffer.C (readFile): add a space
5590 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5592 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5594 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * buffer.C (readFile): new function, take a filename and a
5597 ParagraphList::iterator
5599 (readFile): adjust, make it private. don't use setStream, make
5600 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5601 always contain the filename.
5603 * BufferView.C (insertLyXFile): simplify and make it work for
5606 2003-08-30 John Levon <levon@movementarian.org>
5608 * Makefile.am: fix dist (from Kayvan)
5610 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5612 * most files: change to use const Buffer refs
5614 2003-08-27 André Pönitz <poenitz@gmx.net>
5616 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5617 on top of ownerPar().
5619 2003-08-27 John Levon <levon@movementarian.org>
5621 * funcrequest.C: properly initialise POD members
5623 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5625 * lyxtext.h (top_y): move top_y from here
5630 * BufferView_pimpl.[Ch]: to here
5631 * frontends/screen.C:
5632 * insets/insettabular.C:
5633 * insets/insettext.C: adjust
5634 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5636 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5639 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5641 2003-08-26 André Pönitz <poenitz@gmx.net>
5643 * paragraph_func.[Ch] (outerPar): new function
5646 * paragraph_funcs.C:
5647 * paragraph_funcs.h:
5648 * paragraph_pimpl.C:
5649 * text2.C: remove Inset::par_owner
5651 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5656 * text2.C: eliminates the needFullRow/display() stuff
5657 altogether, putting the logic in metrics/draw in the insets.
5659 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5661 * text2.C (redoParagraphInternal, redoParagraphs):
5662 * text.C (redoParagraph): add a call to updateRowPositions at the
5663 end of each 'metrics-like' call. Remove all others.
5664 (getRow): remove the 'y-computing' version.
5665 (getRowNearY): do not compute nor return the real y. Solve the
5666 'y < 0' problem and simplify.
5668 2003-08-22 Angus Leeming <leeming@lyx.org>
5670 * *.[Ch]: clean-up of licence and author blurbs.
5671 Also move config.h out of a few .h files and into a few .C files.
5673 2003-08-22 André Pönitz <poenitz@gmx.net>
5675 * lyxrow.[Ch]: add x_ and *fill_ members
5680 * text2.C: adjust/remove prepareToPrint() calls
5682 2003-08-22 André Pönitz <poenitz@gmx.net>
5684 * lyxrow.[Ch]: add end_ member
5686 * lyxrow_funcs.C: use LyXRow::end_
5688 * lyxtext.h (singleWidth): add LyXFont parameter
5691 * text2.C: adjust LyXText::singleWidth() calls
5693 * text.C (redoParagraph): simplify row breaking logic
5696 2003-08-19 André Pönitz <poenitz@gmx.net>
5698 * funcrequest.C: initialize button_ member
5701 * rowpainter.[Ch]: interface consolidation
5703 2003-08-18 André Pönitz <poenitz@gmx.net>
5706 * BufferView_pimpl.C:
5708 * paragraph_funcs.C:
5710 * text3.C: remove LyXScreen::draw() and fitCursor calls
5712 * BranchList.h: remove spurious semicolons
5714 * MenuBackend.C: fix branchlist related crash
5716 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5724 * bufferparams.[Ch]:
5728 * text3.C: implements the 'branch inset'
5729 idea. This allows the output of various versions of a document
5730 from a single source version, selectively outputing or suppressing
5731 output of parts of the text.
5732 This implementation contains a 'branch list editor' in a separate
5733 tab of the document settings dialog. Branches are user definable
5734 and have a "display colour" to distinguish them on-screen.
5736 ColorHandler was somewhat cleaned up.
5737 (1) make possible a dynamically growing LColor list by allowing
5738 the graphic context cache to grow along (vector);
5739 (2) eliminate an IMHO unnecessary step in colour allocation.
5741 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5743 * BufferView_pimpl.C: compile fix
5745 2003-08-15 André Pönitz <poenitz@gmx.net>
5747 * rowpainter.C: remove extra metrics calls
5749 * lyxtext.h: merge the two constructors into a single one,
5750 pass reference to owner's par list
5752 * BufferView_pimpl.C:
5756 2003-08-15 André Pönitz <poenitz@gmx.net>
5758 * lyxrow_funcs.[Ch]:
5761 * paragraph_funcs.C:
5766 * text_funcs.C: split LyXText::rowlist_ into individual
5767 Paragraph::rows_ chunks
5770 * BufferView_pimpl.[Ch]:
5773 * text3.C: remove toggleSelection()
5775 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5777 * bufferlist.C: beautify two alerts (shorter text of buttons)
5778 * buffer.C: Remove redundant ' ' from message
5780 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5781 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5782 rename VALIGN_CENTER to VALIGN_MIDDLE
5784 2003-08-11 André Pönitz <poenitz@gmx.net>
5786 * lyxtext.h (getPar):
5787 * text.C: new function
5789 2003-08-11 André Pönitz <poenitz@gmx.net>
5792 * tracer.[Ch]: remove unneeded files
5794 * InsetList.[Ch]: remove resizeInsetsLyXText()
5799 * text3.C: merge insertParagraphs() and appendParagraph()
5800 remove breakAgain(), update()
5802 * BufferView_pimpl.[Ch]:
5803 * bufferview_funcs.[Ch]:
5807 * tabular.C: adjust after text & InsetList changes.
5809 2003-08-08 André Pönitz <poenitz@gmx.net>
5811 * text.C (insertChar, backspace): replace rowlist fiddling
5812 with rebreak of full par
5815 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5816 checkParagraph, updateInset): removed
5818 2003-08-07 André Pönitz <poenitz@gmx.net>
5821 * text3.C: merge some LFUN handlers, remove dead code
5823 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5825 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5827 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5829 * text2.C (DEPM): fix part of bug 1255 and 1256
5831 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5833 * BufferView_pimpl.C (workAreaDispatch): change to use
5834 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5835 that are no mouse related.
5837 2003-08-05 André Pönitz <poenitz@gmx.net>
5840 * BufferView_pimpl.[Ch]:
5841 * bufferview_funcs.C:
5843 * text3.C: rip out "deep update"
5845 * textcursor.[Ch] (last_sel_cursor): remove unused member
5847 2003-08-04 André Pönitz <poenitz@gmx.net>
5850 * BufferView_pimpl.[Ch]:
5851 * ParagraphParameters.C:
5852 * bufferview_funcs.C:
5858 * text3.C: replace "complicated" BufferView::update(...) calls with
5861 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5863 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5865 * Makefile.am (lyx_SOURCES): add paper.h
5867 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5869 * Makefile.am: move things around so that both lyx-qt and
5870 lyx-xforms can be built (according to --with-frontend). Then lyx
5871 is a symbolic link to lyx-[firstfrontend]
5873 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5875 * Always use std::endl with lyxerr
5877 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5879 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5881 2003-08-01 André Pönitz <poenitz@gmx.net>
5884 * BufferView_pimpl.[Ch]:
5886 * text3.C: merge BufferView::repaint() and BufferView::update()
5888 2003-08-01 José Matos <jamatos@lyx.org>
5890 * buffer.[Ch]: file_format is no longer a buffer data element.
5892 2003-08-01 André Pönitz <poenitz@gmx.net>
5897 * text2.C: make redoParagraph more independent of current cursor
5899 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5901 * text2.C: remove unneeded members
5903 2003-07-30 André Pönitz <poenitz@gmx.net>
5905 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5907 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5908 create a single function...
5910 * paragraph_funcs.C (moveItem): ... here.
5913 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5915 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5917 * LColor.[Ch]: Add comment and greyedout logical colors.
5919 2003-07-30 André Pönitz <poenitz@gmx.net>
5921 * tabular.C: don't use Assert too heavily. This crashes where it
5924 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5926 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5927 is disabled (bug 1232)
5929 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5931 * factory.C: limited 'arg' scope
5933 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5935 * factory.C: fixed Note submenu issues
5937 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5939 * factory.C: submenu for Note/Comment/Greyedout
5941 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5944 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5946 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5949 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5950 greyedout. Patch provided by Jürgen Spitzmüller.
5952 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5954 * kbmap.C (read): fix error message when reading bind files
5956 2003-07-29 Angus Leeming <leeming@lyx.org>
5958 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5959 certainly does not do what it purports to do. I am doing it, and
5960 us, a favour by killing it.
5962 2003-07-28 José Matos <jamatos@lyx.org>
5964 * buffer.C (readBody, do_writeFile):
5965 * paragraph.C(readParagraph): \end_document replaces \the_end.
5967 2003-07-29 André Pönitz <poenitz@gmx.net>
5970 * BufferView_pimpl.[Ch]:
5974 * textcursor.[Ch]: remove toggleToggle & Co
5976 2003-07-28 José Matos <jamatos@fep.up.pt>
5978 * buffer.C (readParagraph):
5979 * params_func (readParToken, readParagraph):
5980 * paragraph.C (write): \layout -> \begin_layout.
5982 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5984 * lyxlex_pimpl.C (setFile): clean up slightly.
5986 * bufferparams.h: add compressed var
5988 * buffer_funcs.C (readFile): adjust for LyXLex change
5989 (newFile): ditto + simplify
5991 * buffer.C (writeFile): handle writing of compressed files
5993 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5994 Check if the file is compressed and set a bufferparm if so.
5996 * Makefile.am (lyx_LDADD): remove explicit -lz
5998 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6000 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6001 makeDocBookFile): put the real LyX version in the first line of
6005 * version.C.in: remove lyx_docversion
6007 * tabular.C (write_attribute): add a template-based version to
6008 write enums properly
6010 2003-07-28 André Pönitz <poenitz@gmx.net>
6015 * text3.C: use doubles again for x-coordinates. They are needed.
6017 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6019 * messages.C (getLocaleDir): use lyx_localedir()
6021 * lyxlex_pimpl.C (setFile): compress stuff
6023 * buffer.C (writeFile): add some compression stuff
6024 (do_writeFile): new func, dont call expliti close... will this
6027 * Makefile.am (lyx_LDADD): add -lz
6029 2003-07-28 José Matos <jamatos@fep.up.pt>
6031 * buffer.C: increment file format.
6032 * paragraph_funcs (readParagraph, readParToken):
6033 * paragraph.C (readParagraph): add \end_layout.
6035 2003-07-27 Angus Leeming <leeming@lyx.org>
6037 * Makefile.am: remove special casing for configure-time setting of
6038 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6040 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6041 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6043 2003-07-26 André Pönitz <poenitz@gmx.net>
6045 * paragraph_func.[Ch]:
6046 * paragraph.C (realizeFont): inline it whereever it is used
6051 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6054 2003-07-26 André Pönitz <poenitz@gmx.net>
6058 * text2.C: get rid of LyXText::need_break_row
6060 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6062 * toc.[Ch]: put namespace toc inside namespace lyx
6064 * MenuBackend.C (expandToc2): adjust for lyx::toc
6067 * lyxfunc.C (dispatch): adjust for lyx::find
6069 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6070 lyx::find instead. Reorganize a bit.
6071 (LyXReplace): rename to replace
6072 (LyXFind): rename to find
6074 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6077 2003-07-26 André Pönitz <poenitz@gmx.net>
6079 * text.C (setHeightOfRow): restrict scope of temporary variable
6081 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6082 code (never has been used?)
6084 2003-07-27 Asger Alstrup <alstrup@local>
6086 * text.C (fill): Optimise algorithm to exploit that we can reuse
6087 the LyXFont for many characters.
6088 (setHeightOfRow): Same thing.
6089 (rowBreakPoint): Same thing.
6091 2003-07-26 Asger Alstrup <alstrup@local>
6093 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6095 * text.C (singleWidth): Spurious font copying in hot-spot
6096 singleWidth avoided. Reorder tests for arabic for efficiency.
6098 * text.C (fill): handle empty paragraphs better.
6100 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6103 * encoding.h: add includes
6105 * lyxrc.C: remove reading of bind files
6107 * lyx_main.C (init): setup bindings and menus only if we have a
6110 * kbmap.C (read): new method. Do the actual reading of bind
6113 * converter.C (dvipdfm_options):
6116 (output): adapt PAPER_* enums.
6118 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6120 * bufferparams.h: remove paper-related enums from there
6122 * paper.h: New file. A trivial header file to hold paper-related
6123 enums. It should later expand to contain many paper-related
6126 * lyxrc.C: declare extern displayTranslator
6128 2003-07-27 José Matos <jamatos@fep.up.pt>
6130 * tabular.[Ch] (linuxdoc): add support for tables and figures
6133 2003-07-27 José Matos <jamatos@fep.up.pt>
6135 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6136 consistency in both functions.
6137 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6139 2003-07-26 Asger Alstrup <alstrup@local>
6141 * rowpainter.C (paintRows): Change algorithm to work directly on
6142 the insets rather than asking every character in the document
6143 whether its an inset.
6145 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6147 * buffer.C (openFileWrite): factorize some code
6149 2003-07-26 Angus Leeming <leeming@lyx.org>
6152 * lyx_main.[Ch]: replace occurances of system_tempdir with
6155 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6157 * rename Inset to InsetOld
6159 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6161 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6162 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6163 which I think is a bit clearer. EDIT is gone, since it was
6164 premature optimisation, and broken for mathed anyway.
6165 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6166 with cursor positioning in insets as well (math insets still do not
6167 work, but that's a different story anyway.) It mysteriously
6168 crashes sometimes with undo in the first paragraph, but I'm fairly
6169 confident that this is a compiler bug.
6171 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * paragraph.C (Paragraph): adjust for new clone return type
6175 (copyIntoMinibuffer): ditto
6177 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6179 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6180 by not having a special case, and always doing a full rebreak of
6181 the document after undo.
6183 2003-07-23 Angus Leeming <leeming@lyx.org>
6185 * factory.C (createInset): InsetExternal::setParams now takes a
6188 2003-07-23 Angus Leeming <leeming@lyx.org>
6190 * factory.C (createInset): changed interface to the external and
6191 graphics mailers' string2params functions.
6193 2003-07-23 Angus Leeming <leeming@lyx.org>
6195 * factory.C (createInset): pass a
6196 Buffer const * parameter to InsetExternalMailer's string2params.
6198 2003-07-22 John Levon <levon@movementarian.org>
6200 * Thesaurus.h: include the right aiksaurus header
6202 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6204 * MenuBackend.C (expand): check menu shortcuts unconditionally
6206 2003-07-21 Angus Leeming <leeming@lyx.org>
6208 * factory.C (createInset): pass a
6209 buffer_path parameter to InsetGraphicsMailer's string2params.
6211 2003-07-21 Angus Leeming <leeming@lyx.org>
6213 * BufferView_pimpl.C (buffer):
6216 * lyxfunc.C (dispatch):
6217 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6218 rather than the grfx shortcut.
6220 2003-07-21 André Pönitz <poenitz@gmx.net>
6222 * rowpainter.C: remove unused variables
6225 * tabular_funcs.h: move to tabular.C
6226 * Makefile.am: adjust
6228 * tabular.[Ch]: basic optical cleaning
6230 * author.h: pass references, not values
6232 2003-07-18 André Pönitz <poenitz@gmx.net>
6240 * text3.C: two-phase drawing for InsetText and InsetTabular
6241 some float -> int changes.
6243 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6245 * lyx_main.C: fix the fix
6247 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6249 * lyx_main.C: fix a crash in batch mode if no files specified
6252 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6254 * format.[Ch] (papersize): moved to BufferParams
6255 * converter.[Ch] (dvips_options): moved to BufferParams
6256 (dvipdfm_options): moved to anon namespace
6257 * bufferparams.[Ch]: added above functions.
6259 2003-07-17 André Pönitz <poenitz@gmx.net>
6263 * text2.C: don't call inset->update() anymore
6265 * metricsinfo.[Ch]: add convenience constructor
6267 2003-07-16 André Pönitz <poenitz@gmx.net>
6272 * text2.C: replace the LyXCursor::irow_ member with
6273 on-demand computation of the value
6275 2003-07-16 John Levon <levon@movementarian.org>
6277 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6279 2003-07-15 André Pönitz <poenitz@gmx.net>
6282 * text2.C: remove no more needed refresh_row
6284 2003-07-15 André Pönitz <poenitz@gmx.net>
6289 * text3.C: refresh_status tristate -> need_update bool
6291 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6293 * lyxtext.h (init): remove reinit argument (act as if always true)
6294 * text2.C: adjust to that
6296 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6298 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6299 * text3.C: use it to delete selections in some cases
6300 (bugs 441, 673, 702, 954).
6302 2003-07-14 André Pönitz <poenitz@gmx.net>
6304 * rowpainter.[Ch]: reduce interface
6306 2003-07-14 André Pönitz <poenitz@gmx.net>
6308 * BufferView_pimpl.C:
6309 * text2.C: adjust after removing unused BufferView * argument
6311 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6313 * text2.C (init): fix a crash fired on resize
6315 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6317 * buffer.[Ch]: added new closing signal
6318 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6319 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6320 BufferView::Pimpl via the closing the signal
6322 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6324 * buffer.[Ch]: take out all bv-related from buffer
6326 * BufferView_pimpl.[Ch]: connect to new signals
6327 * CutAndPaste.C: removed useless asserts
6328 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6331 * lyxfunc.C: moved view-related funciontality from vc here
6332 * paragraph.C: removed outdated comments
6335 2003-07-10 André Pönitz <poenitz@gmx.net>
6337 * BufferView_pimpl.C:
6341 * text2.C: remove InsetText::InnerCache, clean up consequences
6343 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6345 * ispell.C: fix two typos in error messages
6347 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6349 * Extend Note inset to other forms of annotation like Comment
6350 and Greyedout. Right button click gives dialog.
6352 Files modified or added (+):
6356 * ControlNote.[Ch] +
6358 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6359 frontends/controllers
6363 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6365 * aspell.C: add missing namespace lyx::support
6367 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6369 * BufferView.[Ch] (newFile): Add
6370 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6371 * LaTeX.[Ch] (message): added this signal and use it
6372 * buffer.[Ch] (busy, message): added these signals and use them
6373 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6377 * importer.C: use buffer signals instead of direct bv calling
6378 * lyx_cb.[Ch] (ShowMessage): removed
6381 * paragraph_funcs.C:
6382 * text2.C: use buffer signals
6384 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6386 * introduce namespace lyx::graphics
6388 2003-07-02 André Pönitz <poenitz@gmx.net>
6390 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6392 2003-07-01 André Pönitz <poenitz@gmx.net>
6399 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6400 text*.C to text_func.C
6402 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6404 * introduce namespace lyx::support
6406 2003-06-30 André Pönitz <poenitz@gmx.net>
6411 * text.C: re-enable --with-included-string
6413 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6415 * textcursor.C: add <config.h>
6417 * text.C (getWord): remove const from word_location arg
6419 * lyxvc.C (getLogFile): fix const type order
6421 * lyxtext.h: remove const from word_location arg, add arg name
6423 * lyxlayout.h: currect type on labeltype.
6425 * importer.C: correct \file
6427 * converter.C (intToFormat): use std:: on ret val, ws changes
6429 * bufferlist.h: correct \file
6431 * buffer.C (makeLinuxDocFile): fix const type order
6432 (makeDocBookFile): ditto
6433 (fillWithBibKeys): use std:: on stdlib args.
6435 * CutAndPaste.C: fix authors.
6436 (availableSelections): use std:: on return vector
6438 2003-06-27 André Pönitz <poenitz@gmx.net>
6440 * BufferView_pimpl.C:
6441 * bufferview_funcs.C:
6449 * text3.C: remove LyXCursor::row_ member
6452 * text.C: rename fullRebreak() to partialRebreak() and implement
6453 a fullRebreak() that really bereks fully
6455 * textcursor.h: new struct for cursor-related data
6457 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6459 * lyx_main.C (LyX): get full path of document loaded on the
6462 2003-06-26 André Pönitz <poenitz@gmx.net>
6464 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6465 remove unused/broken operator>,<,>=.
6467 * text.C: remove only use of broken operator<= in an Assert().
6469 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6471 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6472 moved errorlist_.clear to showErrorList
6474 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6476 * converter.C (scanLog, runLaTeX):
6477 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6478 move the bv->showErrorList call to the callers
6479 * lyxfunc.C: i.e. here...
6481 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6482 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6483 namespace, the second to...
6484 * buffer_funcs (BufferFormat, parseErrors): added
6485 * errorlist.C (ErrorList(TeXErrors const &)): removed
6487 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6489 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6491 2003-06-24 "Garst R. Reese" <reese@isn.net>
6495 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6497 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6499 * version.C.in: change docversion to 1.4
6501 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6503 * buffer.C: fix a bug just introduced
6505 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6507 * buffer.[Ch]: added the parseError signal and use it, removed
6509 * BufferView.[Ch] (addError): moved to ...
6510 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6511 to the Buffer::parseError signal to catch (guess what) parse errors
6512 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6514 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6516 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6517 ability to create a buffer and to return an existing one from
6518 the list. Moved these functions to...
6519 * buffer_funcs.[Ch]: added
6520 * BufferView.[Ch] (loadLyXFile): added
6521 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6522 job removed from bufferlist::loadLyXFile.
6523 * buffer.C (setReadOnly): make it work without view
6524 (i.e added an if (users))
6526 2003-06-19 Angus Leeming <leeming@lyx.org>
6529 * LyXAction.C (init):
6530 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6531 with LFUN_DIALOG_SHOW <name> <data>.
6533 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6535 * CutAndPaste.C (availableSelections): small compilation fix for
6536 ancient (gcc 2.9x) compilers
6538 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6540 * text3.C (cursorNext): add tmp var
6542 * text2.C (updateCounters): for function calling out of for clause
6543 (replaceSelectionWithString): ditto
6544 (insertStringAsParagraphs): ditto
6545 (getColumnNearX): add tmp var
6546 (setCursorFromCoordinates): add tmp var
6547 (cursorDownParagraph): add tmp var
6548 (deleteEmptyParagraphMechanism): add tmp var
6550 * text.C (insertChar): add tmp var
6552 * rowpainter.C (paintDepthBar): add tmp var
6554 * CutAndPaste.C (availableSelections): potentially check all
6555 paragraphs in a cut to fill the shown strings.
6557 2003-06-18 André Pönitz <poenitz@gmx.net>
6559 * kbmap.[Ch]: use vector<> instead of list<>
6561 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6563 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6564 pasteSelection with index
6566 * text2.C (pasteSelection): modify, call pasteSelection with index
6568 * paragraph.C (asString): reimplement version with no interval to
6569 call the one with interval.
6571 * lyxtext.h: add index arg to pasteSelection
6573 * MenuBackend.C (MenuItem): handle PasteRecent
6574 (Menu::read::Menutags): add md_pasterecent
6576 (expandPasteRecent): new function
6579 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6581 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6583 (availableSelections): new function
6585 2003-06-17 Angus Leeming <leeming@lyx.org>
6587 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6589 2003-06-17 Angus Leeming <leeming@lyx.org>
6592 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6594 * lyxfunc.C (dispatch): invoke it.
6596 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6598 * iterators.C (operator++, ParPosition): reintroduce some
6599 const_cast for the benefit of older compilers.
6601 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6603 * text3.C (dispatch): do not modify clipboard when doing
6604 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6605 LFUN_DELETE_SKIP on a selection selection
6607 2003-06-16 André Pönitz <poenitz@gmx.net>
6613 * tabular.[Ch]: IU of clone() and getLabelList();
6615 2003-06-13 André Pönitz <poenitz@gmx.net>
6617 * tabular.h: compactification
6619 2003-06-12 André Pönitz <poenitz@gmx.net>
6623 * tabular_funcs.h: some renaming plus whitespace
6625 2003-06-12 André Pönitz <poenitz@gmx.net>
6628 * BufferView_pimpl.C:
6634 * toc.C: Return a Paragraph & for ParIterator::operator*()
6636 2003-06-11 John Levon <levon@movementarian.org>
6640 * ToolbarBackend.C: add "Toolbars" section and
6643 2003-06-10 Angus Leeming <leeming@lyx.org>
6646 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6648 * lyxfunc.C (dispatch): invoke it.
6650 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6652 * main.C: protect <ios> with HAVE_IOS
6653 (main): protect sync_with_stdio with HAVE_IOS
6655 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6657 * text2.C (cutSelection): adjust
6658 (pasteSelection): adjust
6660 * messages.C: handle get of empty string
6662 * main.C (main): use sync_with_stdio(false)
6664 * lyxfunc.C (dispatch): adjust
6666 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6667 (WriteAs): remove unneeded BufferView arg.
6669 * bufferparams.h: use correct types on papersize, papersize2 and
6672 * bufferparams.C (readToken): adjust for type
6673 (writeLaTeX): add missing cases to switch.
6675 * bufferlist.C (quitWriteBuffer): adjust
6678 * buffer.C (asciiParagraph): remove some commented code.
6680 * CutAndPaste.C: remove current_view extern variable.
6681 (cutSelection): add BufferParams arg.
6682 (eraseSelection): add BufferParams arg.
6683 (pasteSelection): add Buffer const & arg
6685 2003-06-07 John Levon <levon@movementarian.org>
6688 * paragraph_funcs.C:
6689 * paragraph_pimpl.C:
6693 * paragraph.C: allow InsetERT to freely space lines,
6694 and some consolidation of code
6696 2003-06-06 José Matos <jamatos@fep.up.pt>
6698 * buffer.C (makeDocBookFile): fix bug #821
6700 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6702 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6704 2003-06-04 Angus Leeming <leeming@lyx.org>
6706 * buffer.C: bump format to 224.
6708 2003-06-05 André Pönitz <poenitz@gmx.net>
6710 * text2.C (redoParagraphs): remove two const_cast<>
6712 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6714 * ParagraphList.h: remove last remnants of NO_STD_LIST
6716 2003-06-03 Angus Leeming <leeming@lyx.org>
6718 * factory.C (createInset): small change to the way InsetExternal's params
6721 2003-06-04 André Pönitz <poenitz@gmx.net>
6723 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6725 * paragraph_pimpl.h:
6726 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6728 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6730 * undo_funcs.C: make some simple cases of undo work again
6732 2003-06-03 John Levon <levon@movementarian.org>
6734 * ispell.C: HPUX doesn't have sys/select.h
6737 2003-06-03 John Levon <levon@movementarian.org>
6739 * CutAndPaste.C: update tabular and include inset
6744 * paragraph.C: remove owningBuffer(), don't pass Buffer
6747 * factory.C: insetGraphicsParams changed
6749 2003-06-02 John Levon <levon@movementarian.org>
6755 * text3.C: remove insetparent
6757 2003-06-02 John Levon <levon@movementarian.org>
6760 * buffer.C: fix inset_iterator.end(), move out of line
6763 2003-06-01 John Levon <levon@movementarian.org>
6765 * text3.C: use a proper cut/paste when doing inset
6766 insert (from Jürgen Spitzmüller)
6768 2003-06-01 John Levon <levon@movementarian.org>
6770 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6772 2003-05-30 André Pönitz <poenitz@gmx.net>
6774 * rowpainter.C: unify second drawing phase
6776 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6778 * trans_mgr.C: remove one case of current_view
6780 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6782 * paragraph_funcs.h: remove paragraph.h include
6784 * paragraph.h: delete NO_STD_LIST stuff
6786 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6788 * buffer.h: remove paragraph.h include
6790 * ParagraphList.C: delete file
6792 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6794 * toc.C (getTocList): adjust
6796 * paragraph_pimpl.C (validate): adjust
6798 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6800 * paragraph.C (Paragraph): adjust
6801 (getPositionOfInset): use const_iterator, adjust
6802 (bibitem): use const_iterator, adjust
6803 (setInsetOwner): adjust
6805 * iterators.C (operator++): adjust
6807 * InsetList.[Ch]: Replace selfmade iterator with standard
6808 vector::iterator also introduce const_iterator. Remove getPos,
6809 getInset and setInset from InsetTable. Adjust accordingly.
6811 * BufferView.C (lockInset): adjust
6812 (ChangeInsets): adjust
6814 * tabular.[Ch]: delete commented same_id functions
6816 2003-05-28 John Levon <levon@movementarian.org>
6818 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6820 2003-05-28 André Pönitz <poenitz@gmx.net>
6822 * metricsinfo.[Ch]: remove 'fullredraw' member
6824 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6826 * lyxtextclass.C (operator): remove caching.
6828 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * text2.C (cursorBottom): adjust
6833 (setCounter): use ParagraphList::find, adjust
6835 * text.C (workWidth): use ParagraphList::find, adjust
6837 * lyxcursor.C (LyXCursor): adjust
6839 * buffer.C (inset_iterator): adjust
6841 * ParagraphList.h: make iterator(value_type) private, make
6842 ParagraphList a friend of iterator.
6844 * ParagraphList.C (find): new function
6846 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6848 2003-05-27 André Pönitz <poenitz@gmx.net>
6850 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6852 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6854 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6856 2003-05-26 John Levon <levon@movementarian.org>
6858 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6860 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * remove same_id from function signatures, adjust.
6864 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6868 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6870 * paragraph.C (Paragraph): get rid of same_ids parameter
6872 * ParagraphList.C (insert): adjust
6875 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6877 * paragraph_funcs.C (breakParagraph): adjust
6878 (breakParagraphConservative): adjust
6880 * buffer.C (readParagraph): adjust
6882 * ParagraphList.C (insert): take a reference instead of a pointer
6885 * paragraph.[Ch] (id): new function
6887 * bufferlist.C (newFile): adjust
6889 * ParagraphList.C (ParagraphList): adjust
6891 (push_back): take a reference instead of a pointer.
6893 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6895 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6898 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6899 set else use old code.
6901 * ParagraphList.C: remove all NO_NEXT code and only compile this
6902 code of NO_STD_LIST is set.
6904 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6906 * BufferView_pimpl.C:
6916 * graphics/GraphicsConverter.C:
6917 * graphics/PreviewLoader.C: header adjustment
6919 2003-05-23 Angus Leeming <leeming@lyx.org>
6921 * LaTeXFeatures.[Ch] (useBabel): new method.
6922 * bufferparams.C (writeLaTeX): use it.
6924 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6926 * ParagraphList.h (set): remove unused function.
6928 2003-05-23 André Pönitz <poenitz@gmx.net>
6931 * BufferView_pimpl.C:
6935 * undo_funcs.C: setUndo reworked
6937 * iterators.[Ch]: add access to topmost ParagraphList
6939 * lyxtext.[Ch] (workWidth): add a const
6941 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6943 * texrow.[Ch] (increasePos): remove function
6944 * exporter.C (export): removed unused var and outdated comment
6946 2003-05-23 Angus Leeming <leeming@lyx.org>
6948 * latexrunparams.h: rename fragile as moving_arg.
6949 * paragraph.C (simpleTeXOnePar): ditto.
6950 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6952 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6954 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6956 (textUndoOrRedo): comment out a currently unused var.
6958 * paragraph.h (NO_NEXT): enable NO_NEXT
6960 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6962 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6964 * exporter.C (Export): adjust for removeAutoInsets removal.
6966 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6968 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6970 * BufferView.[Ch] (removeAutoInsets): delete function
6972 2003-05-22 Angus Leeming <leeming@lyx.org>
6974 * latexrunparams.h: add a free_spacing variable.
6976 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6977 to pass moving_arg, as the data is stored in runparams.fragile.
6979 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6980 to Inset::latexOptional or to simpleTeXOnePar.
6982 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6983 free_spacing arg to Inset::latexOptional.
6985 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6988 2003-05-22 Angus Leeming <leeming@lyx.org>
6990 * latexrunparams.h: add fragile and use_babel variables.
6992 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6993 * buffer.C (makeLaTeXFile): store this returned value in
6994 runparams.use_babel, thus passing it to the inset::latex methods.
6996 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6997 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6999 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7000 longer has a fragile arg, as it is stored in runparams.fragile.
7002 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7003 moving_arg parameter as the data is stored in runparams.fragile.
7005 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7006 a fragile parameter as the data is stored in runparams.fragile.
7008 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7010 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7012 2003-05-22 Angus Leeming <leeming@lyx.org>
7014 * latexrunparams.h: add a 'bool nice' which defaults to false.
7016 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7017 now encapsulated within runparams.
7019 * bufferlist.C (updateIncludedTeXfiles):
7020 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7022 2003-05-22 Angus Leeming <leeming@lyx.org>
7024 * latexrunparams.h: new file containing struct LatexRunParams.
7025 * Makefile.am: add new file.
7027 * LaTeX.[Ch] (c-tor, run):
7028 * buffer.[Ch] (makeLaTeXFile):
7029 * bufferlist.[Ch] (updateIncludedTeXfiles):
7030 * converter.C (convert, scanLog):
7031 * converter.[Ch] (runLaTeX):
7032 * exporter.C (Export):
7033 * paragraph.[Ch] (simpleTeXOnePar):
7034 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7035 * paragraph_funcs.[Ch] (latexParagraphs):
7036 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7037 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7038 pass around a LatexRunParams parameter.
7040 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7042 * paragraph.[Ch]: remove unused constructor
7044 * ParagraphList.C (erase): new function, taking two iterators
7046 2003-05-22 André Pönitz <poenitz@gmx.net>
7048 * undo_funcs.C: remove duplicated code
7050 * iterator.[Ch]: operator=
7052 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * tabular.C (SetMultiColumn): ws changes
7056 * rowpainter.C (paintFirst): get rid of a ->previous
7058 * lyx_cb.C (getPossibleLabel): parlist simplification
7060 * BufferView.C (ChangeInsets): simplify slightly.
7062 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7064 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7065 * lfuns.h: new LFUN_SPACE
7066 * lyxfunc.C: protected space has a new lfun
7067 * paragraph_funcs.C: read new space insets
7069 * factory.C: handle new space insets
7071 2003-05-22 André Pönitz <poenitz@gmx.net>
7074 * BufferView_pimpl.C:
7077 * undo_funcs.C: return a ParIterator from getParFromID.
7079 * iterators.[Ch]: add two const's
7081 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7083 * toc.C (getTocList): adjust
7085 * iterators.[Ch]: rework for parlist
7087 * buffer.C (par_iterator_begin): adjust
7088 (par_iterator_end): adjust
7090 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7092 * BufferView.C (removeAutoInsets): adjust
7093 (ChangeInsets): adjust
7095 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7097 * text.C (top_y): fix bug 1110
7099 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7101 * errorlist.[Ch]: added
7104 * BufferView_pimpl.C:
7105 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7108 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * Makefile.am: ensure that lyx is relinked upon changes to the
7111 various "convenience" libs.
7113 2003-05-20 Angus Leeming <leeming@lyx.org>
7115 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7116 files are compiled in alphabetical order again.
7118 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7120 2003-05-19 Angus Leeming <leeming@lyx.org>
7122 * gettext.[Ch]: remove "char const * _(char const *)".
7124 2003-05-19 André Pönitz <poenitz@gmx.net>
7126 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7135 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7137 2003-05-19 André Pönitz <poenitz@gmx.net>
7141 * lyxtextclass.[Ch]:
7143 * paragraph_funcs.[Ch]:
7145 * text3.C: more insetenv work
7147 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7149 * ParagraphParameters.C (params2string): small bug fixed
7151 2003-05-16 André Pönitz <poenitz@gmx.net>
7154 * bufferview_funcs.C: patch from Kornel Benko to prevent
7155 crash when _(...) is called twice in a statement
7157 2003-05-16 André Pönitz <poenitz@gmx.net>
7164 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7166 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7168 * lyx_main.C (init): remove spurious static_cast
7170 2003-05-14 André Pönitz <poenitz@gmx.net>
7172 * BufferView.C: fix format string
7174 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7176 * BufferView.[Ch] (insertErrors): removed
7177 * BufferView.[Ch] (showErrorList): added
7178 * buffer.C (runChkTeX):
7179 * converter.C (scanLog): call showErrorList instead of inserterrors
7181 2003-05-13 André Pönitz <poenitz@gmx.net>
7183 * BufferView_pimpl.C:
7185 * bufferview_func.C:
7192 * tabular_funcs.h: tostr() from its own header
7194 * ParagraphParameters.C:
7199 * text3.C: STRCONV()
7201 2003-05-12 André Pönitz <poenitz@gmx.net>
7204 * BufferView_pimpl.C:
7208 * ParagraphParameters.C:
7212 * bufferview_funcs.C:
7225 * paragraph_funcs.C:
7229 * text3.C: boost::format -> bformat all over the place
7232 2003-05-09 André Pönitz <poenitz@gmx.net>
7234 * LColor.[Ch]: Pimpl the #include <map> away
7236 2003-05-09 John Levon <levon@movementarian.org>
7238 * bufferlist.C: never remove emergency saves
7240 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7242 * Makefile.am: better lib building
7244 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7248 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7249 (simpleTeXSpecialChars): adjust
7250 (simpleTeXSpecialChars): adjust
7251 * paragraph.C (simpleTeXOnePar): adjust
7252 * buffer.C (makeLaTeXFile): adjust
7254 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7256 * text2.C (changeDepth): parlist cleanup
7257 (getColumnNearX): ditto
7259 * rowpainter.C (getLabelFont): parlist cleanup
7261 * bufferlist.C (newFile): parlist cleanup
7263 * CutAndPaste.C (eraseSelection): parlist cleanup
7265 * BufferView_pimpl.C (trackChanges): parlist cleanup
7268 * BufferView.C (lockInset): parlist cleanup.
7269 (ChangeInsets): ditto
7271 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7273 * CutAndPaste.h: Update file header.
7275 * CutAndPaste.C: Update file header.
7276 Store the parts cut out of the Document in a limited_stack.
7277 (copySelection): adjust
7278 (pasteSelection): new function, takes the index in the limited stack.
7279 (nrOfParagraphs): adjust
7280 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7281 simplify error inset insertion.
7282 (checkPastePossible): adjust
7284 2003-05-06 John Levon <levon@movementarian.org>
7286 * text2.C: don't cast wrap inset to float
7288 2003-05-05 André Pönitz <poenitz@gmx.net>
7291 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7293 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7294 few naked Paragraph *.
7296 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7298 * bufferparams.C: Output warning if a document with missing
7299 TeX document class is loaded
7300 * exporter.C: Disable TeX exports if the document class is missing
7303 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7304 isTeXClassAvailable()
7306 2003-05-03 John Levon <levon@movementarian.org>
7309 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7310 explicit cursor show/hide
7312 * BufferView_pimpl.h:
7313 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7314 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7316 * lyxfunc.C: hide cursor before dispatching.
7321 * text3.C: remove explicit cursor hides
7323 2003-05-02 André Pönitz <poenitz@gmx.net>
7325 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7328 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7331 * text2.C: tiny whitespace
7333 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7335 * undo_funcs.C: almost only ws changes.
7337 * ParagraphList.C (splice): just return if pl is empty.
7339 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7341 * ParagraphList.C (splice): new function.
7343 * CutAndPaste.C (pasteSelection): use it
7345 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7347 * CutAndPaste.C (pasteSelection): remove the last next and
7348 previous from this file.
7350 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7352 * CutAndPaste.C (pasteSelection): more clean up, user proper
7353 ParagraphList functions for pasteing.
7355 * ParagraphList.C (insert): new function, three arg insert
7357 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7359 * ParagraphList.C (insert): new function, three arg insert
7361 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7364 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7366 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7368 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7370 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7372 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7374 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7375 (copySelection): clean up a bit.
7376 (pasteSelection): use make_pair
7378 * ParagraphList.C (ParagraphList): implement copy constructor
7379 (operator=): implement, base on copy constructor.
7382 * paragraph.C (erase): return a bool
7384 * paragraph_pimpl.C (erasePos): remove function, move contents...
7385 (erase): ... here. Return a bool.
7386 (erase): call erase instead of erasePos.
7388 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7390 * ParagraphList.h: define PitPosPair
7391 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7392 ParagraphList, fix a bug on pasting multiple pars
7393 * text2.C: change interface to C&P
7395 2003-04-30 André Pönitz <poenitz@gmx.net>
7397 * undo_func.C: revert part of yesterday's patch 2
7399 2003-04-30 John Levon <levon@movementarian.org>
7401 * LColor.C: s/tabular/table/
7403 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7405 * text3.C (dispatch): do not convert iterator -> pointer
7406 * undo_funcs.C (setCursorParUndo): ditto
7407 * text_funcs.C (transposeChars): ditto
7409 * text2.C (setLayout): ws changes only
7411 * text.C (breakParagraph): do not convert iterator -> pointer
7413 (acceptChange): ditto
7414 (rejectChange): ditto
7419 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7422 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7424 * text3.C (gotoInset): YABG (yet another bad getChar)
7426 2003-04-29 André Pönitz <poenitz@gmx.net>
7428 * paragraph.h: make operator= private unimplemented as long as
7431 * ParagraphList.C: whitespace
7434 * paragraph_pimpl.[Ch]:
7435 * paragraph_funcs.C:
7437 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7440 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7442 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7444 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7445 * paragraph.[Ch] (erase):
7446 * paragraph_pimpl.[Ch] (erase): change return type and value
7447 * text2.C (cutSelection): some rework
7449 2003-04-28 John Levon <levon@movementarian.org>
7451 * bufferlist.C: changes for unsaved changes dialog
7453 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * bufferlist.C (newFile): set language (messages_) for new
7458 * buffer.C (readFile): ws changes only.
7460 2003-04-28 André Pönitz <poenitz@gmx.net>
7465 * BufferView_pimpl.C:
7466 * BufferView.C: getParFromID related ParagraphList::iterator changes
7468 2003-04-28 André Pönitz <poenitz@gmx.net>
7470 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7473 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * messages.C: remove one more localedir class variable.
7477 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7479 * messages.C (getLocaleDir): singleton generation function
7481 (Messages): add a default constructor.
7483 * main.C (main): do not setup localedir here, do not call
7486 * gettext.C (_): use it.
7487 (gettext_init): delete funciton
7489 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7491 * gettext.C (getLyXMessages): new singleton generating function.
7493 * buffer.C (updateDocLang): adjust
7495 * Makefile.am (messages.o): add target
7496 (main.o): remove target
7498 2003-04-27 John Levon <levon@movementarian.org>
7503 * lyxvc.C: specify cancel button in Alert::prompt
7505 2003-04-26 John Levon <levon@movementarian.org>
7510 * LyXAction.C: add LFUN_INSET_SETTINGS
7512 * lyxfunc.C: don't enable tabular-feature when there's
7513 just any locking inset
7515 2003-04-26 John Levon <levon@movementarian.org>
7517 * bufferlist.C: re-add Cancel to buffer close question
7519 * lyxfunc.C: fix import UI a bit
7521 2003-04-25 John Levon <levon@movementarian.org>
7523 * gettext.C: remove the broken asserts for now
7525 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7527 * messages.C: make case where setlocale cannot comply work better.
7529 * buffer.C (updateDocLang): new function
7530 (changeLanguage): use it
7533 * text2.C (setCounter): use B_ a bit.
7535 * lyxlayout.C (Read): be sure to trim the label strings.
7537 * messages.C (Messages): fix typo in comment
7539 * buffer.C (readFile): set message_ after file is loaded.
7540 (makeDocBookFile): remove double return
7541 (changeLanguage): reset message_ upon language change.
7542 (B_): new func, use this to get translated buffer strings.
7544 * main.C: add myself and Jean Marc as authors.
7546 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7548 * messages.[hC]: pimplify Messages, and three different pimpls to be
7549 used in different circumstances.
7551 * gettext.[Ch]: change for use with new message code.
7553 2003-04-24 André Pönitz <poenitz@gmx.net>
7555 * factory.C: support for eqref
7557 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7559 * messages.[Ch]: add missing char
7561 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7563 * messages.[Ch]: New files
7565 2003-04-18 John Levon <levon@movementarian.org>
7569 * BufferView_pimpl.C:
7573 * text2.C: remove layout-copy/paste (bug 778)
7575 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7577 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7579 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7581 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7582 if they succeed. Act accordingly.
7584 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7586 * text2.C (setCharFont): adjust
7587 (setCounter): adjust
7588 (insertStringAsLines): adjust
7590 * text.C (leftMargin): adjust
7591 (setHeightOfRow): adjust
7593 * rowpainter.C (paintFirst): adjust
7596 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7598 (isFirstInSequence): ditto
7599 (getEndLabel): ditto
7602 * paragraph.C (getParLanguage): comment out some hard stuff.
7604 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7606 (simpleDocBookOnePar): ditto
7607 (makeDocBookFile): use ParagraphList::iterator
7609 * CutAndPaste.C (pasteSelection): adjust
7611 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * text2.C (getFont): adjust
7614 (getLayoutFont): adjust
7615 (getLabelFont): adjust
7617 * paragraph_funcs.C (TeXOnePar): adjust
7619 * buffer.C (simpleLinuxDocOnePar): adjust
7620 (simpleDocBookOnePar): adjust
7622 * CutAndPaste.C (pasteSelection): adjust
7624 * BufferView.C (getEncoding): adjust
7626 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7628 2003-04-16 John Levon <levon@movementarian.org>
7630 * lyxfind.C: use parlist stuff for search/changes
7632 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7634 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7636 * text2.C (deleteEmptyParagraphMechanism): adjust
7638 * text2.[Ch] (ownerParagraph): delete func (both of them
7640 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7644 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * ParagraphList.C: prepare for NO_NEXT
7648 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * text2.C (getFont): adjust
7651 (getLayoutFont): adjust
7652 (getLabelFont): adjust
7654 * paragraph.C (getFont): adjust
7655 (getLabelFont): adjust
7656 (getLayoutFont): adjust
7658 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7660 2003-04-15 John Levon <levon@movementarian.org>
7664 * lyx_main.C: handle Include in .ui files
7666 2003-04-15 John Levon <levon@movementarian.org>
7668 * MenuBackend.C: make the doc files length shorter
7671 * ToolbarBackend.C: handle toolbar placement flags,
7674 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7676 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7679 * paragraph_funcs.C (TeXOnePar): adjust
7681 * paragraph.C (getLabelFont): add outerfont arg, adjust
7682 (getLayoutFont): ditto
7683 (simpleTeXOnePar): adjust
7685 * paragraph_pimpl.C (realizeFont): delete func
7687 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7689 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7690 row argument, constify cur argument.
7692 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * text2.C (getFont): adjust
7695 (getLayoutFont): adjust
7696 (getLabelFont): adjust
7698 * paragraph_funcs.C (TeXOnePar): adjust
7699 (outerFont): new func...
7700 (realizeFont): ...moved out from here, changed this to facilitate
7703 * paragraph.C (getFont): take outerfont as arg, adjust
7704 (simpleTeXOnePar): add outerfont arg, adjust
7706 * buffer.C (simpleLinuxDocOnePar): adjust
7707 (simpleDocBookOnePar): adjust
7709 * CutAndPaste.C (pasteSelection): adjust
7711 * BufferView.C (getEncoding): adjust
7713 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7715 * text2.C (setCharFont): adjust
7716 (setCounter): adjust
7718 * text.C (leftMargin): adjust
7719 (setHeightOfRow): adjust
7721 * rowpainter.C (paintFirst): adjust
7724 * paragraph_pimpl.C (realizeFont): adjust
7726 * paragraph.C (isFirstInSequence): move from here...
7727 * paragraph_funcs.C (isFirstInSequence): ...to here
7729 * paragraph.C (outerHook): move from here...
7730 * paragraph_funcs.C (outerHook): ...to here
7732 * paragraph.C (depthHook): move from here...
7733 * paragraph_funcs.C (depthHook): ...to here
7735 * paragraph.C (getEndLabel): move from here...
7736 * paragraph_funcs.C (getEndLabel): ...to here
7738 * text2.C (realizeFont): move from here...
7739 * paragraph_funcs.C (realizeFont): ...to here
7741 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7743 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7745 2003-04-14 Angus Leeming <leeming@lyx.org>
7747 * LColor.[Ch]: scrap LColor mathcursor.
7749 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7751 * lyxlex.[Ch] (text): delete function
7752 * trans.C (Load): adjust
7753 * paragraph_funcs.C (readParToken): adjust
7755 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7757 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7758 vector<char> instead of a char[].
7760 * lyxlex_pimpl.C (getString): adjust
7762 (lex): use getString
7766 * lyxlex.C (text): use pimpl_->getString()
7770 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7773 (makeFontEntriesLayoutSpecific): temp var for par.size()
7774 (setLayout): temp var for ownerParagraphs().end()
7775 (fullRebreak): temp var for rows().end()
7776 (selectionAsString): temp var for boost::next(startpit), realize
7777 that the while really is a regular for loop.
7778 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7779 setCursor in one place.
7780 (setParagraph): temp vr for ownerParagraphs().end()
7781 (updateCounters): make the while loop a for loop
7782 (cutSelection): temp var for ownerParagraphs().end()
7783 (updateInset): make the do {} while() a regular for loop
7784 (getCursorX): use temp vars
7785 (setCurrentFont): use temp vars
7786 (getColumnNearX): use temp vars
7788 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * text.C (transformChar): use temp var for getChar
7791 (computeBidiTables): use temp var for row->par()
7792 (fill): move temp vars for row->par() and pit->layout() earlier in
7794 (labelFill): use temp var for row->par()
7795 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7796 asc and desc, realize that pit never changes and that firstpit is
7797 just a duplicate and not needed. Exchange rit->par() with pit in a
7799 (breakAgain): use a temp var for boost::next(rit)
7800 (breakAgainOneRow): ditto
7801 (breakParagraph): use a temp var for rows().begin()
7802 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7803 (cursorRightOneWord): use temp var for cursor.par() and
7804 cursor.pos(), remove usage of tmpcursor.
7805 (cursorLeftOneWord): use temp var for cursor.par() and
7806 cursor.pos() only set cur at end of function.
7808 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7810 * text.C, text2.C: exchange all usage of Paragraph::next with
7811 boost::next(ParagraphList::iterator)
7813 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7815 * text2.C (cursorTop): simplify implementation
7816 (cursorBottom): ditto
7817 (setParagraph): use ParagraphList::iterator
7818 (setCurrentFont): adjust
7819 (getColumnNearX): adjust
7820 (cursorRight): adjust
7821 (cursorLeft): remove usage of Paragraph::previous
7822 (cursorUpParagraph): ditto
7823 (deleteEmptyParagraphMechanism): slight cleanup
7825 * text.C (isBoundary): take a Paragraph const & instead of a
7827 (addressBreakPoint): ditto
7828 (leftMargin): remove usage of Paragraph::previous.
7829 (setHeightOfRow): ditto
7830 (cursorLeftOneWord): ditto
7831 (selectNextWordToSpellcheck): ditto
7834 (breakParagraph): remove one usage of Paragraph::next
7835 (redoParagraph): ditto
7836 (acceptChange): ditto
7837 (insertChar): adjust
7838 (rowBreakPoint): adjust
7840 * bufferview_funcs.C (toggleAndShow): adjust
7842 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7844 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7845 methods to access it.
7847 * text.C: Added updateRowPositions to compute all row positions.
7848 Make top_y and getRowNearY() to use the cached y position
7850 2003-04-11 John Levon <levon@movementarian.org>
7852 * text.C (rowBreakPoint): reintroduce the labelEnd
7853 checks, code copied from the row fill stuff. Deep voodoo.
7855 * text.C (fill): add a comment and debugging for the
7858 2003-04-11 John Levon <levon@movementarian.org>
7860 * text.C: make sure fullrow insets get wrapped to the next line,
7861 even when they're in a manual label
7863 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7865 * text2.C (insertParagraph): make it take ParagraphList::iterator
7867 (setLayout): make it return ParagraphList::iterator
7868 (redoParagraphs): ditto
7870 (checkParagraph): ditto
7872 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7874 * text2.C: adjust several funcs.
7875 (realizeFont): take a ParagraphList::iterator as arg.
7876 (getLayoutFont): ditto
7877 (getLabelFont): ditto
7878 (setCharFont): ditto
7880 * text.C: adjust several funcs.
7882 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7884 * text.C (selectNextWordToSpellcheck): don't accidentally
7887 2003-04-10 John Levon <levon@movementarian.org>
7889 * ToolbarBackend.C (getIcon): special handling for
7892 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7894 * text2.C (cursorRight): a getChar assert fixed
7896 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7898 * text2.C (getFont): change to take a ParagraphList::iterator
7899 instead of Paragraph*
7900 Adjust several functions.
7902 * text.C (transformChar): change to take a ParagraphList::iterator
7903 instead of Paragraph*
7904 (singleWidth): ditto
7905 Adjust several functions.
7907 * rowpainter.C: adjust several functions
7908 * rowpainter.h:store a ParagraphList::iterator and not a
7912 2003-04-09 John Levon <levon@movementarian.org>
7917 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7918 and the "help" bits as well
7920 2003-04-09 John Levon <levon@movementarian.org>
7923 * ToolbarBackend.C: allow multiple toolbars
7925 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7927 * undo_funcs.C (setCursorParUndo): adjust
7929 * text_funcs.C (transposeChars): adjust
7931 * text3.C (gotoNextInset): adjust
7934 * text2.C (setLayout): adjust
7935 (changeDepth): adjust
7937 (redoParagraphs): adjust
7938 (selectionAsString): adjust
7939 (setParagraph): adjust
7940 (insertInset): adjust
7941 (cutSelection): adjust
7942 (copySelection): adjust
7943 (pasteSelection): adjust
7944 (insertStringAsLines): adjust
7945 (updateInset): adjust
7946 (setCursor): change to take a ParagraphList::iterator parameter
7947 (setCursorIntern): change to take a ParagraphList::iterator parameter
7948 (setCurrentFont): adjust
7949 (cursorLeft): adjust
7950 (cursorRight): adjust
7951 (deleteEmptyParagraphMechanism): adjust
7953 * text.C (breakParagraph): adjust
7954 (insertChar): adjust
7955 (acceptChange): adjust
7956 (rejectChange): adjust
7957 (selectNextWordToSpellcheck): adjust
7958 (changeCase): adjust
7962 * lyxfind.C (SearchForward): adjust
7963 (SearchBackward): adjust
7964 (nextChange): adjust
7966 * lyxcursor.C (par): adjust
7968 * lyxcursor.h: store a ParagraphList::iterator instead of a
7971 * lyx_cb.C (getPossibleLabel): adjust
7973 * bufferview_funcs.C (toggleAndShow): adjust
7975 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7978 * BufferView.C (removeAutoInsets): adjust
7979 (lockedInsetStoreUndo): adjust
7981 2003-04-09 John Levon <levon@movementarian.org>
7983 * ToolbarBackend.C: try icon without argument
7984 if with argument fails
7986 2003-04-08 John Levon <levon@movementarian.org>
7989 * ToolbarBackend.C: add getIcon(), handle tooltip,
7990 and change from "Icon" to "Item".
7992 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7994 * BufferView.C (lockInset): another bad getchar crunched
7996 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7998 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8001 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8003 * lyxfind.C (searchForward, searchBackwards): bug 782
8005 2003-04-07 John Levon <levon@movementarian.org>
8007 * paragraph.C: remove dead comment
8009 * text.C: remove troublesome depth-fiddling code
8010 in leftMargin() and rightMargin() (bug 1017)
8012 * text.C: fix breaking of rows in nested lists
8015 * text2.C (updateCounters): fix up depth values
8018 2003-04-07 John Levon <levon@movementarian.org>
8020 * BufferView_pimpl.C: clear message when doc finishes resizing,
8021 and after a mouse event
8023 * lyxfunc.C: clear message after exiting inset
8025 2003-04-07 John Levon <levon@movementarian.org>
8027 * bufferview_funcs.C: show math status not outside
8028 status in the statusbar
8030 2003-04-07 John Levon <levon@movementarian.org>
8032 * lyxfunc.C: note status changed after a depth change
8034 2003-04-04 Angus Leeming <leeming@lyx.org>
8036 * LaTeX.h: move AuxInfo operator==, != out of line.
8037 Remove LaTeX virtual destructor; nothing derives from it.
8038 Move operator()() out of public area and rename it startscript().
8039 Change protected for private.
8041 2003-04-04 Angus Leeming <leeming@lyx.org>
8044 * text2.C: remove unneeded #includes.
8046 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8048 * text2.C (dEPM): fix the heigth of the next row
8050 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8052 * text.C: squashed an invalid getChar requester + some ws changes
8054 2003-04-03 John Levon <levon@movementarian.org>
8056 * bufferview_funcs.h:
8057 * bufferview_funcs.C:
8060 * text2.C: make getStatus work for the env depth lfuns
8062 2003-04-03 John Levon <levon@movementarian.org>
8064 * bufferview_funcs.h:
8065 * bufferview_funcs.C:
8068 * text2.C: parlistize decDepth(), by merging it with incDepth()
8070 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8072 * lyxrow.h: store a ParagraphList::iterator instead of a
8073 Paragraph* and adjust other class functions to suit.
8075 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8078 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8080 * text2.C (setCursor): do not anchor to cursor row for the time being
8082 2003-04-02 John Levon <levon@movementarian.org>
8089 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8091 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8093 * paragraph.h: make ParagraphList and ParagraphList::iterator
8094 friends of Paragraph.
8096 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8098 * ParagraphList.C: Use the private next_ and previous_ from
8101 2003-04-01 John Levon <levon@movementarian.org>
8105 * Makefile.am: rename, remove defaults gunk
8108 * MenuBackend.C: remove defaults gunk
8111 * Languages.C: remove defaults gunk
8114 * lyx_main.C: error out if files couldn't be found.
8116 2003-04-02 John Levon <levon@movementarian.org>
8118 * text2.C: make incDepth() use parlist
8120 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8122 * undo_funcs.C (firstUndoParagraph): adjust
8124 * text3.C (gotoInset): adjust
8125 (dispatch): adjust, and rewrite loop.
8127 * text2.C (init): adjust, and rewrite loop.
8128 (redoParagraphs): adjust
8129 (updateInset): adjust, and rewrite loop.
8130 (deleteEmptyParagraphMechanism): adjust
8132 * tabular.C (LyXTabular): adjust
8133 (SetMultiColumn): adjust
8136 * lyxtext.[Ch] (ownerParagraph): delete function
8137 (ownerParagraphs): new function returns a ParagraphList.
8139 * BufferView.C (removeAutoInsets): adjust
8140 (insertErrors): adjust
8141 (setCursorFromRow): adjust
8143 2003-04-01 Angus Leeming <leeming@lyx.org>
8145 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8148 2003-04-02 John Levon <levon@movementarian.org>
8154 * text_funcs.C: make transposeChars a free function
8156 * lyxrow_funcs.C: remove wrong comment
8158 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8161 * rowpainter.C: adjust
8166 * lyxrow_funcs. [Ch]: new files
8168 * lyxrow.[Ch]: remove next and previous pointers
8169 (next,previous): remove accessor functions
8170 (isParEnd): move to lyxrow_funcs
8171 (lastPos): move to lyxrow_funcs
8172 (nextRowIsAllInset): move to lyxrow_funcs
8173 (lastPrintablePos): move to lyxrow_funcs
8174 (numberOfSeparators): move to lyxrow_funcs
8175 (numberOfHfills): move to lyxrow_funcs
8176 (numberOfLabelHfills): move to lyxrow_funcs
8177 (hfillExpansion): move to lyxrow_funcs
8181 * bufferview_funcs.C (toggleAndShow): adjust
8183 * RowList.h: Remove class RowList from file leave just a
8186 * RowList.C: delete file
8188 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8191 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8193 * text3.C (cursorPrevious): adjust
8194 (cursorNext): adjust
8197 * text2.C (redoHeightOfParagraph): adjust
8198 (redoDrawingOfParagraph): adjust
8201 * text.C (breakParagraph): adjust
8202 (insertChar): adjust
8205 * rowpainter.C (RowPainter): adjust
8206 (leftMargin): simplify and adjust
8207 (most rowpainter functions): adjust.
8209 * rowpainter.h: store the row as RowList::iterator not as Row*
8211 * lyxcursor.C (row): taka RowList::iterator as arg
8214 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8217 2003-04-01 Angus Leeming <leeming@lyx.org>
8219 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8220 stuff like bool Bool.
8222 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8224 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8227 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8229 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8232 * lyxtext.h (rows): drop one version and leve a const variant that
8233 returns a RowList::iterator.
8235 2003-03-31 Angus Leeming <leeming@lyx.org>
8237 * text.C (fill): ensure that the signature is the same as that in the
8240 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8242 * text2.C (redoParagraphs): adjust
8243 (updateCounters): adjust
8244 (checkParagraph): adjust
8245 (getColumnNearX): adjust and reformat a bit.
8247 * text.C (top_y): adjust
8249 (leftMargin): adjust
8250 (prepareToPrint): adjust
8252 (getRowNearY): adjust
8254 * lyxtext.h: make rowlist_ mutable.
8256 * RowList.h: add const_iterator
8257 * RowList.C: adjust for RowList::const_iterator.
8259 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8262 2003-03-31 John Levon <levon@movementarian.org>
8265 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8267 * lyx_main.C: set default fonts from using lyx_gui funcs
8269 * exporter.C: pdf_mode moved from lyxrc
8272 * lyxfunc.C: changes from above
8274 2003-03-31 John Levon <levon@movementarian.org>
8276 * lyx_main.C: fix to the last fix
8278 2003-03-31 John Levon <levon@movementarian.org>
8280 * bufferlist.C: "Load original" -> "Load Original"
8286 * format.C: more Alert cleanups
8288 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * text2.C (removeParagraph): make it take a RowList::iterator as
8292 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8293 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8295 * text.C (anchor_row): make it take a RowList::iterator as arg,
8297 (computeBidiTables): make it take a const reference to Row instead
8298 of Row pointer, adjust.
8299 (leftMargin): make it take a RowList::iterator as arg, adjust.
8300 (rowBreakPoint): adjust
8301 (breakAgainOneRow): make it take a RowList::iterator as arg,
8303 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8305 * bufferview_funcs.C (toggleAndShow): adjust
8307 2003-03-30 John Levon <levon@movementarian.org>
8311 * boost-inst.C: moved to support
8313 * several files: changes as a result
8315 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8317 * text2.C (LyXText): adjust.
8319 (removeRow): make it take a RowList::iterator as arg, adjust.
8320 (fullRebreak): adjust
8321 (deleteEmptyParagraphMechanism): adjust
8322 (clearPaint): adjust
8325 * text.C (top_y): adjust
8326 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8327 (breakAgain): make it take a RowList::iterator as arg, adjust.
8328 (breakParagraph): adjust
8329 (insertChar): adjust
8332 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8333 need_break_row, and refresh_row.
8335 * text3.C (dispatch): adjust
8337 * text2.C (checkParagraph): adjust
8339 (setCursorFromCoordinates): adjust
8341 * text.C (top_y): adjust
8343 (getRow): make it return a RowList::iterator, adjust
8344 (getRowNearY): make it return a RowList::iterator, adjust
8346 * text2.C (init): adjust
8347 (insertRow): remove function
8348 (insertParagraph): adjust
8349 (redoParagraphs): adjust
8350 (fullRebreak): adjust
8351 (updateCounters): adjust
8353 * text.C (top_y): rewrite to use RowList iterators.
8355 (setHeightOfRow): rewrite to sue RowList iterators.
8356 (appendParagraph): adjust
8357 (breakAgain): adjust
8358 (breakAgainOneRow): adjust
8359 (breakParagraph): adjust
8361 (getRowNearY): adjust, and remove commented code.
8363 * lyxtext.h (firstRow): delete function
8364 (lastRow): delete function
8365 (rows): new function (const and non-const versions.)
8366 (insertRow): delete function
8368 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8370 2003-03-29 John Levon <levon@movementarian.org>
8372 * BufferView_pimpl.C: always update scrollbar top
8373 because pasting text when we're anchored could mean we
8374 miss an update altogether
8376 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8378 * text2.C (init): use rowlist_.end() and not 0.
8379 (insertRow): change to take a RowList::iterator as arg, adjust
8381 (insertParagraph): change to take a RowList::iterator as arg,
8383 (redoParagraphs): remove some debug msgs.
8385 * text.C (appendParagraph): change to take a RowList::iterator
8386 arg, adjust for this.
8387 (breakAgain): add an assert
8388 (breakAgainOneRow): ditto
8390 2003-03-29 John Levon <levon@movementarian.org>
8392 * text2.C: do not clear selection after inc/decDepth
8395 2003-03-29 John Levon <levon@movementarian.org>
8398 * buffer.C: fix broken strerrors according to Lars
8400 2003-03-29 John Levon <levon@movementarian.org>
8402 * converters.C: more Alert cleanups
8404 2003-03-29 John Levon <levon@movementarian.org>
8406 * bufferview_funcs.C: remove pointless Alert
8408 * buffer.C: fix confusing error message when
8409 a template is chmoded 000
8411 2003-03-29 John Levon <levon@movementarian.org>
8415 * BufferView_pimpl.C: Alert fixes
8419 * tabular-old.C: remove unused table compat reading
8421 2003-03-29 John Levon <levon@movementarian.org>
8426 * lyx_cb.C: more Alert cleanups
8428 * lyxfunc.C: don't allow chktex if not latex document
8430 2003-03-29 John Levon <levon@movementarian.org>
8434 * buffer.C: warnings pushed down from support/,
8437 2003-03-29 John Levon <levon@movementarian.org>
8439 * lyxfunc.C: safety check for C-r (revert)
8441 2003-03-29 John Levon <levon@movementarian.org>
8444 * bufferlist.C: several UI fixes using Alert::prompt.
8445 Fix the pointless looping quit code. Fix stupid revert
8450 * lyx_cb.C: use Alert::prompt
8452 * lyx_main.C: remove a silly question
8454 * lyxfunc.C: remove a couple of silly questions,
8457 2003-03-28 John Levon <levon@movementarian.org>
8459 * text2.C: fix bug 974 (End on empty par)
8461 2003-03-28 John Levon <levon@movementarian.org>
8463 * BufferView_pimpl.C:
8465 * lfuns.h: remove do-nothing math greek lfuns
8467 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8469 * lyxgluelength.h (isValidGlueLength): add default arg on
8470 parameter 2. Remove default arg from friend in class.
8472 * lyxlength.h (isValidLength): add default arg on parameter 2.
8473 Remove default arg from friend in class.
8475 * text2.C (LyXText): adjust, initialize refresh_row.
8479 (insertParagraph): adjst
8480 (redoParagraphs): adjust
8481 (fullRebreak): adjust
8482 (updateCounters): adjust
8483 (deleteEmptyParagraphMechanism): first attempt at fixing a
8486 * text.C (top_y): adjust
8487 (setHeightOfRow): adjust
8489 (getRowNearY): adjust
8491 * lyxtext.h: include RowList.h
8492 (~LyXText): not needed anymore, deleted.
8493 (firstRow): modify for RowList
8494 (lastRow): new function
8495 Delete firstrow and lastrow class variables, add a Rowlist
8496 rowlist_ class variable.
8498 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8501 * RowList.C (insert): fix case where it == begin().
8503 2003-03-26 Angus Leeming <leeming@lyx.org>
8505 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8506 the thesaurus dialog.
8508 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8510 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8512 * RowList.[Ch]: new files
8514 * ParagraphList.C (erase): handle the case where it == begin
8517 2003-03-25 John Levon <levon@movementarian.org>
8521 * aspell.C: add new aspell support
8524 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8527 2003-03-25 Angus Leeming <leeming@lyx.org>
8530 * LyXAction.C (init): new LFUN_INSET_INSERT.
8532 * BufferView_pimpl.C (dispatch): split out part of the
8533 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8535 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8538 2003-03-25 Angus Leeming <leeming@lyx.org>
8540 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8542 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8545 * text3.C: remove useless row->height(0)
8547 2003-03-25 John Levon <levon@movementarian.org>
8551 * text3.C: rename the refreshing stuff to better names
8553 2003-03-24 John Levon <levon@movementarian.org>
8555 * BufferView_pimpl.h:
8556 * BufferView_pimpl.C: update layout choice on a mouse
8559 2003-03-23 John Levon <levon@movementarian.org>
8561 * Makefile.am: fix commandtags.h reference
8563 2003-03-22 John Levon <levon@movementarian.org>
8565 * BufferView_pimpl.C:
8570 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8572 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8575 * text.C: take the rtl methods out of line
8577 2003-03-21 André Pönitz <poenitz@gmx.net>
8579 * metricsinfo.[Ch]: new files containing structures to be passed around
8580 during the two-phase-drawing...
8582 2003-03-21 André Pönitz <poenitz@gmx.net>
8584 * lyxtextclass.C: read 'environment' tag.
8586 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8588 * text2.C (removeRow): fix bug 964
8590 2003-03-20 John Levon <levon@movementarian.org>
8594 * text2.C: paint cleanups. Inset::update() dropped font
8597 2003-03-19 John Levon <levon@movementarian.org>
8599 * lyxfunc.C: only fitcursor/markDirty if available()
8601 2003-03-19 John Levon <levon@movementarian.org>
8603 * commandtags.h: rename to ...
8605 * lfuns.h: ... this, and renumber / cleanup
8607 2003-03-19 John Levon <levon@movementarian.org>
8609 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8610 fit the cursor after an lfun
8614 * BufferView_pimpl.h:
8615 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8617 * LyXAction.C: layout-character should have ReadOnly
8619 * ParagraphParameters.C:
8621 * bufferview_funcs.C:
8628 * undo_funcs.C: changes from above
8630 2003-03-18 John Levon <levon@movementarian.org>
8632 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8633 remove it from update()
8635 * lyxfunc.C: update layout choice after an lfun
8637 * text3.C: remove extra updateLayoutChoice()s
8639 2003-03-18 John Levon <levon@movementarian.org>
8641 * text.C: top_y change means full repaint, fix
8642 a drawing bug with cursor movement
8644 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8648 * text2.C: anchor row on setCursor
8650 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8652 * lyxtext.h: remove almost all mutable keywords
8655 * text3.C: remove const keywords accordingly
8657 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8659 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8661 (TeXEnvironment): ditto
8664 2003-03-17 John Levon <levon@movementarian.org>
8666 * text.C (rowBreakPoint): remove attempt to fix displayed
8667 math insets inside a manual label
8669 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * lyxtext.h: remove BufferView* as first arg from almost all class
8673 * other files: adjust.
8675 2003-03-17 John Levon <levon@movementarian.org>
8679 * text2.C: more paint cleanups
8681 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8684 * rowpainter.C: remove "smart" background painting code
8686 2003-03-16 John Levon <levon@movementarian.org>
8691 * text3.C: add helper functions for setting refresh_row/y
8693 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8695 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8696 newline inset which *can* get inserted in the pass_thru layouts.
8697 This is primarily for literate documents.
8699 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8701 * buffer.C: increment LYX_FORMAT to 223
8703 2003-03-14 André Pönitz <poenitz@gmx.net>
8705 * textclass.h: prepare for environment handling, ws changes
8706 * lyxlayout.C: read latexheader and latexfooter tags
8708 2003-03-14 John Levon <levon@movementarian.org>
8710 * text2.C: rewrite ::status() a bit
8712 2003-03-13 John Levon <levon@movementarian.org>
8714 * lyxtext.h: add some docs
8716 2003-03-13 John Levon <levon@movementarian.org>
8721 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8723 2003-03-13 John Levon <levon@movementarian.org>
8725 * text3.C: fix appendix redrawing
8727 2003-03-13 John Levon <levon@movementarian.org>
8729 * text.C (setHeightOfRow):
8731 * rowpainter.C: make appendix mark have the text
8732 "Appendix" so the user knows what it is
8735 * LColor.C: s/appendixline/appendix/ from above
8737 2003-03-13 John Levon <levon@movementarian.org>
8739 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8741 * text.C: fix a getChar(pos) bug properly
8743 2003-03-13 Angus Leeming <leeming@lyx.org>
8746 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8747 Probably only temporary. Let's see how things pan out.
8749 * BufferView.C (unlockInset):
8750 * BufferView_pimpl.C (fitCursor):
8751 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8753 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8754 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8756 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8757 new functions that convert ParagraphParameters to and from a string.
8759 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8760 BufferView::Pimpl's dispatch.
8761 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8763 2003-03-13 André Pönitz <poenitz@gmx.net>
8767 * factory.C: make it aware of InsetEnv
8769 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8771 * text2.C (setCursor): never ask for one past last
8772 (setCursor): add some debugging messages.
8774 * text.C (singleWidth): never ask for one past last
8775 (singleWidth): ditto
8777 (rightMargin): ditto
8778 (rowBreakPoint): ditto
8779 (setHeightOfRow): ditto
8780 (prepareToPrint): ditto
8782 * rowpainter.C (paintBackground): never ask for one past last
8783 (paintText): never ask for one past last
8785 * paragraph_pimpl.C (getChar): make the assert stricter, never
8786 allow the one past last pos to be taken
8788 * paragraph.C (getChar): ws changes only
8790 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8791 (numberOfSeparators): ditto
8792 (numberOfHfills): ditto
8794 2003-03-12 John Levon <levon@movementarian.org>
8800 * paragraph_funcs.C: fix per-buffer authorlists
8802 2003-03-12 John Levon <levon@movementarian.org>
8804 * text.C: fix newline in right address
8806 2003-03-12 Angus Leeming <leeming@lyx.org>
8808 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8809 duplicate those in LyXFunc::dispatch.
8813 * ToolbarDefaults.C:
8814 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8815 Add LFUN_FONTFREE_UPDATE.
8817 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8818 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8820 * bufferview_func.[Ch]: several new functions to facilliate
8821 transfer of data to and from the character dialog.
8823 2003-03-12 John Levon <levon@movementarian.org>
8828 * paragraph_funcs.C:
8829 * paragraph_pimpl.C:
8833 * text3.C: remove META_NEWLINE in favour of an inset
8836 * rowpainter.C: remove paintNewline (done by inset)
8838 2003-03-12 John Levon <levon@movementarian.org>
8840 * paragraph_pimpl.C: complain about bad getChar()s
8841 for a while at least
8843 2003-03-12 John Levon <levon@movementarian.org>
8846 * buffer.C: move paragraph read into a separate function,
8847 a little renaming to reflect that.
8850 * bufferparams.C: remove the author_ids map, not necessary now
8853 * factory.C: moved Buffer::readInset to here
8855 * paragraph_funcs.h:
8856 * paragraph_funcs.C: readParagraph free function moved from
8859 * tabular.C: name change
8861 2003-03-12 John Levon <levon@movementarian.org>
8864 * ParagraphParameters.C: move par params input to
8867 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8868 behave like a normal read from the stream wrt reading
8869 a line vs. a \\token
8871 2003-03-12 John Levon <levon@movementarian.org>
8874 * ParagraphParameters.h:
8875 * ParagraphParameters.C: move output code to a
8878 2003-03-12 John Levon <levon@movementarian.org>
8880 * BufferView.C (insertLyXFile):
8883 * tabular.C: use a parlist iterator for creating the
8886 2003-03-12 John Levon <levon@movementarian.org>
8888 * buffer.C: make current_change static local not
8891 2003-03-12 John Levon <levon@movementarian.org>
8893 * buffer.C: fix insertStringAsLines for change tracking
8895 2003-03-12 John Levon <levon@movementarian.org>
8902 * bufferparams.C: move author list into params. Rename some
8903 functions. Move the header reading into a separate token
8904 loop. Move the header token reading into BufferParams.
8906 2003-03-12 John Levon <levon@movementarian.org>
8908 * changes.C: put debug inside lyxerr.debugging() checks
8910 2003-03-11 André Pönitz <poenitz@gmx.net>
8912 * factory.C: make it aware of InsetHFill
8914 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8916 * buffer.C (latexParagraphs): move function from here...
8917 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8920 2003-03-10 Angus Leeming <leeming@lyx.org>
8922 * LyXAction.C (init): fix bug in poplating array with multiple entries
8923 with the same LFUN (spotted by JMarc).
8925 2003-03-10 John Levon <levon@movementarian.org>
8928 * text2.C: move getColumnNearX() near its
8931 2003-03-10 John Levon <levon@movementarian.org>
8933 * text.C: fix break before a minipage
8935 2003-03-10 John Levon <levon@movementarian.org>
8937 * text.C: fix the last commit
8939 2003-03-09 John Levon <levon@movementarian.org>
8943 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8944 bug 365 (don't break before insets unless needed). Don't
8945 return a value > last under any circumstances.
8947 2003-03-09 Angus Leeming <leeming@lyx.org>
8949 * BufferView_pimpl.C (trackChanges, dispatch): call
8950 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8952 2003-03-09 Angus Leeming <leeming@lyx.org>
8954 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8955 than Dialogs::showAboutlyx().
8957 2003-03-09 Angus Leeming <leeming@lyx.org>
8959 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8960 than Dialogs::showTabularCreate().
8962 2003-03-09 John Levon <levon@movementarian.org>
8966 * text2.C: 3rd arg to nextBreakPoint was always the same.
8969 2003-03-08 John Levon <levon@movementarian.org>
8976 * text2.C: Remove the "main" bit from the "main body"
8979 2003-03-08 John Levon <levon@movementarian.org>
8981 * text.C (leftMargin): The left margin of an empty
8982 manual label paragraph should not include the label width
8985 * text.C (prepareToPrint): don't attempt to measure hfills
8986 for empty manual label paragraphs - the answer should be 0
8988 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8990 * CutAndPaste.C: remove commented code and reindent.
8992 2003-03-08 John Levon <levon@movementarian.org>
8995 * lyxfunc.C: move reloadBuffer()
8998 * BufferView.C: to here
9000 * lyxvc.C: add comment
9003 * vc-backend.C: call bv->reload() to avoid
9004 getStatus() check on MENURELOAD
9006 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9008 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9009 to an old format .dep file.
9011 2003-03-07 Angus Leeming <leeming@lyx.org>
9013 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9014 when the LFUN_MOUSE_RELEASE should have been handled by
9015 inset->localDispatch.
9017 2003-03-07 Angus Leeming <leeming@lyx.org>
9019 * BufferView_pimpl.C (dispatch):
9020 * LyXAction.C (init):
9021 * ToolbarDefaults.C (init):
9023 * lyxfunc.C (getStatus):
9024 remove LFUN_INSET_GRAPHICS.
9026 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9028 2003-03-07 Angus Leeming <leeming@lyx.org>
9031 * LyXAction.C (init):
9032 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9034 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9037 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9039 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9040 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9042 2003-03-07 Angus Leeming <leeming@lyx.org>
9044 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9047 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9049 * ParagraphList.C (front): new function
9052 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9054 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9055 and top_row_offset_. removed var first_y.
9057 * text2.C (LyXText, removeRow):
9059 * BufferView_pimpl.C:
9060 use these methods instead of using first_y
9062 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9064 * text2.C (pasteSelection): adjust for checkPastePossible
9066 * CutAndPaste.C: remove Paragraph * buf and replace with
9067 ParagraphList paragraphs.
9068 (DeleteBuffer): delete
9069 (cutSelection): change the tc type to textclass_type
9070 (copySelection): change the tc type to textclass_type
9071 (copySelection): adjust for ParagraphList
9072 (pasteSelection): change the tc type to textclass_type
9073 (pasteSelection): adjust for Paragraphlist
9074 (nrOfParagraphs): simplify for ParagraphList
9075 (checkPastePossible): simplify for ParagraphList
9076 (checkPastePossible): remove unused arg
9078 * ParagraphList.C (insert): handle the case where there are no
9081 * CutAndPaste.h: make CutAndPaste a namespace.
9083 * text3.C (dispatch): adjust
9085 * text.C (breakParagraph): add a ParagraphList as arg
9087 * paragraph_funcs.C (breakParagraph): change to take a
9088 BufferParams and a ParagraphList as args.
9089 (breakParagraphConservative): ditto
9090 (mergeParagraph): ditto
9091 (TeXDeeper): add a ParagraphList arg
9092 (TeXEnvironment): ditto
9095 * buffer.C (readLyXformat2): adjust
9096 (insertStringAsLines): adjust
9097 (latexParagraphs): adjust
9099 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9100 (cutSelection): adjust
9101 (pasteSelection): adjust
9103 * BufferView_pimpl.C (insertInset): adjust
9105 2003-03-05 Angus Leeming <leeming@lyx.org>
9108 * LyXAction.C (init):
9109 * BufferView_pimpl.C (dispatch):
9110 * lyxfunc.C (getStatus):
9111 remove LFUN_CHILD_INSERT.
9113 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9115 2003-03-05 Angus Leeming <leeming@lyx.org>
9118 * LyXAction.C (init):
9119 * src/factory.C (createInset):
9120 * lyxfunc.C (getStatus):
9121 * text3.C (dispatch):
9122 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9124 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9126 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9128 * ParagraphList.C (insert): handle insert right before end()
9129 (erase): fix cases where it can be first or last paragraph.
9131 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9133 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9134 Paragraph::next and Paragraph::previous
9137 * text.C (breakParagraph): adjust
9139 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9140 BufferParams& as arg.
9141 (breakParagraph): use ParagraphList::insert
9142 (breakParagraphConservative): take a Buffer* instead of a
9143 BufferParams& as arg.
9144 (breakParagraphConservative): use ParagraphList::insert.
9146 * buffer.C (insertStringAsLines): un-const it
9147 (insertStringAsLines): adjust
9149 * ParagraphList.C (insert): new function
9151 * CutAndPaste.C (pasteSelection): adjust
9153 * text.C (backspace): adjust
9155 * tabular.C (SetMultiColumn): adjust
9157 * CutAndPaste.C (cutSelection): adjust
9158 (pasteSelection): adjust
9160 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9161 Buffer const * as arg
9163 * ParagraphList.C (erase): new function
9164 * paragraph_funcs.C (mergeParagraph): use it
9165 (mergeParagraph): make it take a Buffer* instead of a
9166 BufferParams* as arg
9168 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9170 (breakParagraphConservative): ditto
9172 * paragraph.h: remove the breakParagraph friend
9174 * paragraph.C (eraseIntern): new function
9175 (setChange): new function
9177 * paragraph_funcs.C (mergeParagraph): make it take a
9178 ParagraphList::iterator instead of a Paragraph *, adjust
9181 * paragraph.h: move an #endif so that the change tracking stuff
9182 also works in the NO_NEXT case.
9184 2003-03-04 Angus Leeming <leeming@lyx.org>
9187 * LyXAction.C: new LFUN_INSET_MODIFY.
9189 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9190 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9192 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9194 * several files: ws changes only
9196 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9197 (TeXEnvironment): ditto
9200 * buffer.C (makeLaTeXFile): adjust
9201 (latexParagraphs): make it take ParagraphList::iterator as args
9203 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9205 * buffer.C (latexParagraphs): adjust
9207 * paragraph.C (TeXOnePar): move function...
9208 (optArgInset): move function...
9209 (TeXEnvironment): move function...
9210 * paragraph_pimpl.C (TeXDeeper): move function...
9211 * paragraph_funcs.C: ...here
9213 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9215 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9217 * buffer.C (readInset): remove compability code for old Figure and
9220 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9222 * buffer.C: ws changes
9225 * BufferView_pimpl.C: ditto
9228 * bufferlist.h: ditto
9232 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9234 * converter.[Ch]: split into itself +
9237 * Makefile.am: += graph.[Ch] + format.[Ch]
9244 * lyxrc.C: added #include "format.h"
9246 2003-02-27 Angus Leeming <leeming@lyx.org>
9248 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9251 * factory.C (createInset): add "label" to the factory.
9253 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9254 string and do no more.
9256 2003-02-27 Angus Leeming <leeming@lyx.org>
9259 * LyXAction.C (init):
9260 * factory.C (createInset):
9261 * BufferView_pimpl.C (dispatch):
9262 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9264 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9266 * lyxfunc.C (dispatch):
9267 * text3.C (dispatch): pass name to params2string.
9269 2003-02-26 Angus Leeming <leeming@lyx.org>
9271 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9273 Rearrange the ~includes. Strip out the unnecessary ones.
9275 * factory.C (createInset): reformat.
9276 create new insets for the various LFUN_XYZ_APPLY lfuns.
9278 2003-02-26 John Levon <levon@movementarian.org>
9281 * lyxrow.C: add isParStart,isParEnd helpers
9283 * paragraph.h: make isInserted/DeletedText take refs
9285 * paragraph_funcs.h:
9286 * paragraph_funcs.C: remove #if 0'd code
9291 * text.C: use lyxrow helpers above.
9292 Move draw and paint routines to RowPainter.
9293 Make several methods use refs not pointers.
9294 Make backgroundColor() const.
9295 Add markChangeInDraw(), isInInset().
9296 Merge changeRegionCase into changeCase.
9297 Make workWidth() shouldn't-happen code into an Assert.
9300 * rowpainter.C: new class for painting a row.
9303 * vspace.C: make inPixels take a ref
9305 2003-02-26 Angus Leeming <leeming@lyx.org>
9307 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9310 2003-02-25 John Levon <levon@movementarian.org>
9312 * ispell.C: give the forked command a more accurate name
9314 2003-02-22 John Levon <levon@movementarian.org>
9317 * toc.C: make TocItem store an id not a Paragraph *
9320 2003-02-21 Angus Leeming <leeming@lyx.org>
9322 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9323 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9324 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9325 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9326 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9327 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9329 * BufferView_pimpl.C (dispatch):
9330 * LyXAction.C (init):
9331 * factory.C (createInset):
9332 * lyxfunc.C (getStatus, dispatch):
9333 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9335 2003-02-21 Angus Leeming <leeming@lyx.org>
9337 * BufferView_pimpl.C (MenuInsertLyXFile):
9338 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9339 * lyxfunc.C (menuNew, open, doImport):
9340 no longer pass a LyXView & to fileDlg.
9342 2003-02-21 Angus Leeming <leeming@lyx.org>
9344 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9345 * LyXAction.C: change, BIBKEY to BIBITEM.
9346 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9347 Change InsetBibKey to InsetBibitem.
9348 Change BIBKEY_CODE to BIBITEM_CODE.
9349 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9350 * factory.C: replace insetbib.h with insetbibitem.h.
9351 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9352 * paragraph.C: replace insetbib.h with insetbibitem.h.
9353 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9354 Change bibkey() to bibitem().
9355 * text.C: remove insetbib.h.
9356 * text2.C: replace insetbib.h with insetbibitem.h.
9357 change bibkey() to bibitem().
9358 * text3.C: remove insetbib.h.
9359 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9361 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9363 * lyxrc.C (output): enclose user email in quotes (in case there are
9366 2003-02-18 John Levon <levon@movementarian.org>
9368 * buffer.h: add std::
9370 2003-02-17 John Levon <levon@movementarian.org>
9376 * pspell.C: reworking. Especially in ispell, a large
9377 number of clean ups and bug fixes.
9379 * lyxfunc.C: fix revert to behave sensibly
9381 2003-02-17 André Pönitz <poenitz@gmx.net>
9384 * commandtags.h: new LFUN_INSERT_BIBKEY
9394 * paragraph_func.C: remove special bibkey handling
9396 2003-02-17 John Levon <levon@movementarian.org>
9398 * text.C (Delete): fix case where delete at the end of
9399 the very first paragraph would not merge the pars
9401 2003-02-17 John Levon <levon@movementarian.org>
9403 * lyxrow.C: fix lastPrintablePos()
9405 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9407 * bufferparams.C (writeLaTeX): add a std:here
9409 * buffer.C: and remove a using directive there
9411 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9413 * buffer.C (makeLaTeXFile): move the code that generates the
9416 * bufferparams.C (writeLaTeX): ... in this new method
9418 * LaTeXFeatures.C (getEncodingSet): make const
9419 (getLanguages): make const
9421 * MenuBackend.C (binding): returns the binding associated to this
9423 (add): sets the status of each item by calling getStatus. Adds
9425 (read): add support for OptSubMenu
9426 (expand): remove extra separator at the end of expanded menu
9428 2003-02-15 John Levon <levon@movementarian.org>
9431 * BufferView_pimpl.C:
9433 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9434 inset code that had no actual effect. Remove unneeded status
9437 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9439 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9442 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9444 * text.C (drawLengthMarker): also draw an arrow marker for
9445 symbolic lengths (medskip...)
9447 2003-02-14 John Levon <levon@movementarian.org>
9450 * tabular.C: better method names
9452 2003-02-14 John Levon <levon@movementarian.org>
9454 * BufferView_pimpl.C:
9459 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9460 it's a more accurate name. Remove some pointless uses.
9462 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9464 * text2.C (LyXText): change order of initilizers to shut off
9467 2003-02-14 John Levon <levon@movementarian.org>
9469 * buffer.C: use ParIterator for getParFromID()
9473 * paragraph_pimpl.h:
9474 * paragraph_pimpl.C: remove unused getParFromID()
9476 2003-02-14 John Levon <levon@movementarian.org>
9478 * buffer.C: remove some very old #if 0'd parse code
9480 2003-02-13 John Levon <levon@movementarian.org>
9484 * text2.C: move hfillExpansion(), numberOfSeparators(),
9485 rowLast(), rowLastPrintable(), numberofHfills(),
9486 numberOfLabelHfills() ...
9489 * lyxrow.C: ... to member functions here.
9494 * text.C: remove LyXText::beginningOfMainBody(), and call
9495 p->beginningOfMainBody() directly. Move the check for
9496 LABEL_MANUAL into the latter.
9503 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9509 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9510 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9512 2003-02-13 John Levon <levon@movementarian.org>
9514 * CutAndPaste.C: remove debug
9516 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9518 * paragraph.C (asString): remove two unused variables
9520 * lyxtextclass.C (readTitleType):
9522 (LyXTextClass): handle new members titletype_ and titlename_
9524 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9526 2003-02-09 John Levon <levon@movementarian.org>
9529 * buffer.C: replace hand-coded list with a map for the dep clean
9531 2003-02-08 John Levon <levon@movementarian.org>
9533 * LaTeX.C: consolidate code into showRunMessage() helper
9535 2003-02-08 John Levon <levon@movementarian.org>
9540 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9541 and pass the size in explicitly
9543 * BufferView_pimpl.h:
9544 * BufferView_pimpl.C:
9546 * BufferView.C: add getCurrentChange()
9548 * BufferView_pimpl.h:
9549 * BufferView_pimpl.C: handle change lfuns
9551 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9552 for changes. Mark pasted paragraphs as new.
9554 * support/lyxtime.h:
9555 * support/lyxtime.C:
9556 * DepTable.C: abstract time_t as lyx::time_type
9559 * LColor.C: add colours for new text, deleted text, changebars
9561 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9562 package use "usenames" option.
9566 * LyXAction.C: add change lfuns
9570 * author.C: author handling
9573 * buffer.C: add a per-buffer author list, with first entry as
9574 current author. Handle new .lyx tokens for change tracking. Output
9575 author list to .lyx file. Output dvipost stuff to .tex preamble.
9576 Bump lyx format to 222.
9579 * bufferlist.C: add setCurrentAuthor() to reset current author details
9583 * bufferparams.C: add param for tracking
9585 * bufferview_funcs.C: output change info in minibuffer
9589 * changes.C: add change-tracking structure
9592 * debug.C: add CHANGES debug flag
9595 * lyxfind.C: add code for finding the next change piece
9598 * lyxrc.C: add user_name and user_email
9601 * lyxrow.C: add a metric for the top of the text line
9604 * text.C: implement accept/rejectChange()
9607 * text.C: paint changebars. Paint new/deleted text in the chosen
9608 colours. Strike through deleted text.
9612 * paragraph_pimpl.h:
9613 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9614 in the current change to the insert functions. Rework erase to
9615 mark text as deleted, adding an eraseIntern() and a range-based
9616 erase(). Implement per-paragraph change lookup and
9619 * paragraph_funcs.C: Fixup paste for change tracking.
9621 * tabular.C: mark added row/columns as new.
9623 * text.C: fix rowLast() to never return -1. Don't allow
9624 spellchecking of deleted text. Track transpose changes. Don't
9625 allow paragraph break or merge where appropriate.
9627 * text2.C: leave cursor at end of selection after a cut.
9629 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9631 * text.C (getLengthMarkerHeight):
9632 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9633 visible on screen too.
9635 2003-02-07 John Levon <levon@movementarian.org>
9637 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9639 2003-02-05 Angus Leeming <leeming@lyx.org>
9641 * lyxserver.C (read_ready): revert my patch of 11 September last year
9642 as it sends PC cpu through the roof. Presumably this means that
9643 the lyxserver will no longer run on an Alpha...
9645 2003-01-30 Angus Leeming <leeming@lyx.org>
9647 * factory.C (createInset): create an InsetCommandParam of type "index"
9648 and use it to 'do the right thing'.
9650 * text2.C (getStringToIndex): ensure that cursor position is always
9651 reset to the reset_cursor position.
9653 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9655 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9658 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9662 * lyxfunc.C: Output messages with identical spelling, punctuation,
9665 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9667 * MenuBackend.C (expandFormats): List only viewable export formats
9670 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9673 * lyxfunc.C (getStatus): Make sure that formats other than
9674 "fax" can also be disabled
9676 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * text3.C (dispatch): put the lfuns that insert insets in 3
9679 groups, and call doInsertInset with appropriate arguments.
9680 (doInsertInset): new function, that creates an inset and inserts
9681 it according to some boolean parameters.
9683 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9685 * buffer.C (readFile): remember to pass on 'par' when calling
9686 readFile recursively.
9688 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9690 * MenuBackend.C (expandFormats): add "..." to import formats.
9692 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9694 * paragraph.C (asString): Remove XForms RTL hacks.
9696 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9697 * buffer.C: fix typo
9699 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9701 * Makefile.am (LIBS): delete var
9702 (lyx_LDADD): add @LIBS@ here instead.
9704 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9706 * Clarify the meaning of "wheel mouse jump"
9708 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9710 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9713 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9715 * importer.C (Loaders): do not preallocate 3 elements in the
9716 vector, since one ends up with 6 elements otherwise
9718 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9720 * DepTable.C (write): write the file name as last element of the
9721 .dep file (because it may contain spaces)
9722 (read): read info in the right order
9724 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * paragraph_pimpl.C (simpleTeXBlanks):
9727 (simpleTeXSpecialChars):
9728 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9730 * tabular.C (latex): add some missing case statements. Reindent.
9732 * MenuBackend.C (expandToc): remove unused variable.
9734 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9743 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9746 2003-01-05 John Levon <levon@movementarian.org>
9749 * BufferView.C: add getEncoding()
9752 * kbsequence.C: do not store last keypress
9755 * lyxfunc.C: store last keypress here instead. Pass encoding
9758 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9760 * lyx_main.C (init): remove annoying error message when following
9761 symbolic links (bug #780)
9763 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9765 * text.C (insertChar):
9766 * lyxrc.C (getDescription): remove extra spaces
9768 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9770 * lyxrc.C (getDescription): remove extra spaces
9772 2002-12-20 John Levon <levon@movementarian.org>
9774 * text3.C: hack fix for page up/down across tall rows
9776 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9778 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9781 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9783 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9784 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9785 thesaurus is not compiled in
9787 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9789 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9791 2002-12-16 Angus Leeming <leeming@lyx.org>
9794 * lyx_main.C (init): remove override_x_deadkeys stuff.
9796 2002-12-12 John Levon <levon@movementarian.org>
9798 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9799 insert. Only remove shift modifier under strict
9802 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9804 * MenuBackend.C (expandToc): fix crash.
9806 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9808 * MenuBackend.C (expandToc): gettext on float names.
9810 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9812 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9813 implement bool empty() [bug 490]
9815 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9817 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9819 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9821 * several files: ws changes
9823 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9825 * text2.C (setCounter): clean up a bit, use boost.format.
9826 (updateCounters): initialize par upon declaration.
9828 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9829 if the layout exists. We do not just store the layout any more.
9830 (SwitchLayoutsBetweenClasses): use boost.format
9832 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9834 * converter.C (convert): if from and to files are the same, use a
9835 temporary files as intermediary
9837 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9840 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9842 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9844 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9846 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9848 * tabular.C (asciiPrintCell): use string(size, char) instead of
9851 * sgml.C (openTag): fix order of arguments to string constructor
9854 * lyxfunc.C (dispatch): use boost.format
9856 * lots of files: change "c" -> 'c'
9858 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9860 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9862 2002-11-25 Angus Leeming <leeming@lyx.org>
9864 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9866 * lyx_main.C (init): compile fix.
9868 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9870 * lyx_cb.C (start): boost.formatify
9871 do not include <iostream>
9873 * lengthcommon.C: ws only
9875 * boost-inst.C,BoostFormat.h: add more explict instantations
9877 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9879 * lots of files: handle USE_BOOST_FORMAT
9881 2002-11-21 John Levon <levon@movementarian.org>
9883 * pspell.C: fix compile
9885 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9887 * lyxfunc.C (dispatch): use boost::format
9891 * lyxfont.C (stateText): use boost::format
9893 * lyx_main.C (LyX): use boost::format
9895 (queryUserLyXDir): ditto
9898 (typedef boost::function): use the recommened syntax.
9900 * importer.C (Import): use boost::format
9902 * debug.C (showLevel): use boost::format
9904 * converter.C (view): use boost::format
9909 * bufferview_funcs.C (currentState): use boost::format
9911 * bufferlist.C (emergencyWrite): use boost::format
9913 * buffer.C (readLyXformat2): use boost::format
9914 (parseSingleLyXformat2Token): ditto
9916 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9918 * LaTeX.C (run): use boost::format
9920 * Chktex.C (scanLogFile): use boost::format
9922 * BufferView_pimpl.C (savePosition): use boost::format
9923 (restorePosition): ditto
9924 (MenuInsertLyXFile): ditto
9926 * BoostFormat.h: help file for explicit instation.
9928 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9930 * tabular.C (latex): Support for block alignment in fixed width
9933 2002-11-17 John Levon <levon@movementarian.org>
9935 * BufferView_pimpl.C:
9937 * lyxfunc.C: split filedialog into open/save
9939 2002-11-08 Juergen Vigna <jug@sad.it>
9941 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9942 by my last patch (hopefully).
9944 2002-11-08 John Levon <levon@movementarian.org>
9953 * toc.C: ParConstIterator, and use it (from Lars)
9955 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9957 * lyxtextclass.[Ch]: revise and add doxygen comments
9959 2002-11-07 John Levon <levon@movementarian.org>
9961 * text.C: fix progress value for spellchecker
9963 * toc.C: fix navigate menu for insetwrap inside minipage
9965 * paragraph_funcs.C: added FIXME for suspect code
9967 2002-11-07 John Levon <levon@movementarian.org>
9969 * BufferView_pimpl.C: fix redrawing of insets
9972 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * text2.C (updateCounters): fix bug 668
9976 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9978 * text3.C (dispatch): Do not make the buffer dirty when moving the
9981 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9983 * vc-backend.C: STRCONV
9986 * text2.C (setCounter): STRCONV
9988 * paragraph.C (asString): STRCONV
9990 * lyxlength.C (asString): STRCONV
9991 (asLatexString): ditto
9993 * lyxgluelength.C (asString): STRCONV
9994 (asLatexString): ditto
9996 * lyxfunc.C (dispatch): STRCONV
9999 * lyxfont.C (stateText): STRCONV
10001 * importer.C (Import): STRCONV
10003 * counters.C (labelItem): STRCONV
10004 (numberLabel): ditto
10005 (numberLabel): remove unused ostringstream o
10010 * bufferview_funcs.C (currentState): STRCONV
10012 * buffer.C (readFile): STRCONV
10013 (asciiParagraph): ditto
10014 (makeLaTeXFile): ditto
10016 * Spacing.C (writeEnvirBegin): STRCONV
10018 * LaTeXFeatures.C (getLanguages): STRCONV
10019 (getPackages): ditto
10021 (getBabelOptions): ditto
10022 (getTClassPreamble): ditto
10023 (getLyXSGMLEntities): ditto
10024 (getIncludedFiles): ditto
10028 (scanAuxFile): ditto
10031 * LString.h: add the STRCONV macros
10033 * BufferView_pimpl.C (savePosition): STRCONV
10034 (restorePosition): ditto
10035 (MenuInsertLyXFile): ditto
10037 * vc-backend.C (scanMaster): change from submatch[...] to
10040 * funcrequest.C: include config.h
10042 * factory.C: include config.h
10044 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10046 * box.C: include config.h
10048 * LaTeX.C (scanAuxFile): change from submatch[...] to
10052 2002-10-25 Angus Leeming <leeming@lyx.org>
10054 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10056 * ispell.[Ch] (setError): new method.
10057 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10058 Use setError() insetead of goto END.
10060 * lyx_cb.C (AutoSave): move out child process into new class
10063 2002-10-30 John Levon <levon@movementarian.org>
10065 * text3.C: make start appendix undoable
10067 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10069 * lyxlength.C (inPixels): Fix returned value.
10071 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10074 2002-10-24 Angus Leeming <leeming@lyx.org>
10076 * lyxgluelength.h: no need to forward declare BufferParams
10077 or BufferView, so don't.
10079 2002-10-21 John Levon <levon@movementarian.org>
10081 * BufferView.C: menuUndo ->undo, redo
10083 * BufferView.h: document, remove dead, make some methods private
10085 * paragraph_funcs.h:
10086 * paragraph_funcs.C:
10087 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10092 * sgml.C: move sgml open/close tag into sgml.C
10094 * bufferview_funcs.h: unused prototype
10097 * lyxfunc.C: remove unused
10100 * text.C: remove unused
10102 2002-10-21 John Levon <levon@movementarian.org>
10106 * BufferView_pimpl.h:
10107 * BufferView_pimpl.C: fix mouse wheel handling based on
10108 patch from Darren Freeman
10110 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10112 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10114 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10116 * lyxlength.C (inPixels): Fix hanfling of negative length.
10117 Fix LyXLength::MU case.
10119 2002-10-16 John Levon <levon@movementarian.org>
10121 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10123 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10125 * converter.C (view): add support for $$i (file name) and $$p
10126 (file path) for the viewer command. If $$i is not specified, then
10127 it is appended to the command (for compatibility with old syntax)
10129 2002-10-14 Juergen Vigna <jug@sad.it>
10131 * undo_funcs.C (textHandleUndo): alter the order in which the
10132 new undopar is added to the LyXText, as we have to set first
10133 the right prev/next and then add it as otherwise the rebuild of
10134 LyXText is not correct. Also reset the cursor to the right paragraph,
10135 with this IMO we could remove the hack in "redoParagraphs()".
10137 2002-10-09 Angus Leeming <leeming@lyx.org>
10139 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10140 to turn off an optimisation if a new inset is to be inserted.
10142 2002-10-11 André Pönitz <poenitz@gmx.net>
10144 * lyxtext.h: make some functions public to allow access
10145 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10147 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10149 * text3.C (dispatch): when changing layout, avoid an infinite loop
10152 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10154 * lyxrc.C (read): treat a viewer or converter command of "none" as
10157 * MenuBackend.C (expandFormats): for an update, also allow the
10158 formats that are not viewable
10160 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10161 script if it is newer than the lyxrc.defaults in user directory
10163 2002-10-07 André Pönitz <poenitz@gmx.net>
10165 * text.C: Vitaly Lipatov's small i18n fix
10167 2002-09-25 Angus Leeming <leeming@lyx.org>
10169 * ispell.h: doxygen fix.
10171 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10173 * buffer.h (readFile): Add a new argument to the method, to allow
10174 reading of old-format templates.
10176 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10178 * toc.C (getTocList): Get TOC from InsetWrap.
10180 2002-09-16 John Levon <levon@movementarian.org>
10182 * lyxfunc.C: check tabular for cut/copy too
10184 2002-09-12 John Levon <levon@movementarian.org>
10186 * LyXAction.C: tidy
10189 * factory.C: add header
10191 * paragraph_funcs.h:
10192 * paragraph_funcs.C: cleanup
10194 2002-09-11 John Levon <levon@movementarian.org>
10196 * PrinterParams.h: odd/even default to true
10198 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10200 * PrinterParams.h: update printer parameters for new xforms dialog
10202 2002-09-11 Angus Leeming <leeming@lyx.org>
10204 * lyxserver.C (read_ready): re-write to make it more transparent
10205 and to make it work in coherent fashion under Tru64 Unix.
10207 2002-09-11 André Pönitz <poenitz@gmx.net>
10211 * text3.C: implement LFUN_WORDSEL
10213 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10215 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10216 make floatlist_ a boost::shared_ptr<FloatList>
10218 * lyxtextclass.C: include FloatList.h
10219 (LyXTextClass): initialize floatlist_
10220 (TextClassTags): add TC_NOFLOAT
10221 (Read): match "nofloat" to TC_NOFLOAT and use it.
10222 (readFloat): modify call to floatlist_
10226 * FloatList.[Ch] (FloatList): remove commented out float
10228 (erase): new function
10230 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10232 * MenuBackend.C (expandToc): fix crash when there is no document
10235 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10237 * many files: Add insetwrap.
10239 2002-09-09 John Levon <levon@movementarian.org>
10241 * text2.C: remove confusing and awkward depth wraparound
10243 2002-09-09 John Levon <levon@movementarian.org>
10245 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10248 * buffer.C: remove getIncludeonlyList()
10251 * lyxfunc.C: remove headers
10253 2002-09-09 Juergen Vigna <jug@sad.it>
10255 * text.C (getColumnNearX): fix form Michael this is most
10256 probably a cut&paste bug.
10258 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10260 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10262 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10263 references, ws changes.
10265 * text2.C (init): update counters after init
10266 (insertParagraph): no need to set counter on idividual paragraphs.
10267 (setCounter): access the counters object in the textclass object
10268 on in the buffer object.
10269 (updateCounters): ditto
10271 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10272 shared_ptr<Counters> to avoid loading counters.h in all
10274 (LyXTextClass): initialize ctrs_
10275 (TextClassTags): add TC_COUNTER, and ...
10276 (Read): use it here.
10277 (CounterTags): new tags
10278 (readCounter): new function
10279 (counters): new funtion
10280 (defaultLayoutName): return a const reference
10282 * counters.C (Counters): remove contructor
10283 (newCounter): remove a couple of unneeded statements.
10284 (newCounter): simplify a bit.
10285 (numberLabel): some small formatting changes.
10287 * buffer.[Ch]: remove all traces of counters, move the Counters
10288 object to the LyXTextClass.
10290 2002-09-06 Alain Castera <castera@in2p3.fr>
10292 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10293 package to set the horizontal alignment on fixed width columns.
10296 * lyx_sty.h: added tabularnewline macro def.
10298 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10300 2002-09-06 John Levon <levon@movementarian.org>
10302 * LyXAction.C: tooltips for sub/superscript
10304 * MenuBackend.C: a bit more verbose
10306 * lyxfunc.C: tiny clean
10308 * undo_funcs.C: document undo_frozen
10310 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10312 * counters.C (Counters): add missing algorithm counter.
10314 * text2.C (setCounter): lookup the counter with layouts latexname
10315 instead of by section number.
10316 (setCounter): use a hackish way to lookup the correct enum
10318 a float name->type change
10319 reset enum couners with counter name directly instead of depth value.
10321 * counters.C (Counters): remove the push_backs, change to use the
10322 float type not the float name.
10323 (labelItem): remove unused string, float name->type change
10325 * counters.h: don't include vector, loose the enums and sects vectors
10327 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10329 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10330 (Read): add float->TC_FLOAT to textclassTags
10331 (Read): and handle it in the switch
10332 (readFloat): new function
10334 * FloatList.C (FloatList): comment out the hardcoded float
10337 * lyxlayout.h: ws change.
10339 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10341 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10343 2002-09-03 Angus Leeming <leeming@lyx.org>
10345 * BufferView_pimpl.h: qualified name is not allowed in member
10346 declaration: WorkArea & Pimpl::workarea() const;
10348 * factory.C: added using std::endl directive.
10350 * text3.C: added using std::find and std::vector directives.
10352 2002-08-29 André Pönitz <poenitz@gmx.net>
10355 * text2.C: remove unused member number_of_rows
10358 * BufferView2.C: remove file, move contents to...
10359 * BufferView.C: ... here
10361 * BufferView_pimpl.C:
10362 * factory.C: move more inset creation to factory
10364 * vspace.C: avoid direct usage of LyXText, ws changes
10367 don't provide direct access to WorkArea, use two simple
10368 acessors haveSelction() and workHeight() instead
10371 2002-08-29 John Levon <levon@movementarian.org>
10373 * BufferView_pimpl.C (dispatch): do not continue when
10376 2002-08-28 André Pönitz <poenitz@gmx.net>
10378 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10381 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10383 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10385 * buffer.C: increment LYX_FORMAT to 221
10387 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10388 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10390 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10392 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10394 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10396 * factory.C (createInset): use LyXTextClass::floats
10398 * MenuBackend.C (expandFloatListInsert):
10399 (expandFloatInsert):
10402 * text2.C (setCounter):
10404 * LaTeXFeatures.C (useFloat):
10405 (getFloatDefinitions):
10407 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10409 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10410 floatlist_, with accessor floats().
10412 * FloatList.h: remove global FloatList
10414 2002-08-26 André Pönitz <poenitz@gmx.net>
10416 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10420 * BufferView_pimpl.C:
10421 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10423 2002-08-25 John Levon <levon@movementarian.org>
10425 * LyXAction.C: fix margin note description
10427 2002-08-24 John Levon <levon@movementarian.org>
10431 * bufferview_funcs.C:
10433 * undo_funcs.C: cleanups
10435 * lyxfunc.C: disable CUT/COPY when no selection
10437 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10439 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10440 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10442 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10443 Add backward compatibility to "mono", "gray" and "no".
10445 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10447 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10448 (and file_format >= 200).
10450 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10452 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10454 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10456 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10458 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10460 * BufferView_pimpl.C:
10467 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10468 inset and code to make it work with the paragraph code. The inset
10469 can be anywhere in the paragraph, but will only do the expected
10470 thing in LaTeX if the layout file contains the parameter line
10472 (or more generally, a nonzero value) for that layout.
10474 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10476 * paragraph.h: remove the declaration of undefined counters class
10479 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10481 * text2.C (setCounter): fixed enumeration mis-count as reported by
10482 Dr. Richard Hawkins.
10484 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10486 * paragraph_funcs.h: remove some unneeded includes
10488 * text.C (backspace): pasteParagraph now in global scipe
10490 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10491 (pasteSelection): ditto
10493 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10494 * paragraph_funcs.C (pasteParagraph): ... here
10496 2002-08-20 André Pönitz <poenitz@gmx.net>
10498 * commandtags.h: new LFUNs for swapping/copying table row/colums
10501 * lyxfunc.C: support for new lfuns
10503 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10506 * buffer.[Ch]: remove NO_COMPABILITY stuff
10508 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10510 * boost.C (throw_exception): new file, with helper function for
10511 boost compiled without exceptions.
10516 * ParameterStruct.h:
10517 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10519 * bufferlist.C (emergencyWriteAll): use boost bind
10521 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10523 * text.C: include paragraph_funcs.h
10524 (breakParagraph): breakParagraph is now in global scope
10526 * paragraph_funcs.[Ch]: new files
10528 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10531 * buffer.C: include paragraph_funcs.h
10532 (insertStringAsLines): breakParagraph is now in global scope
10534 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10537 * CutAndPaste.C: include paragraph_funcs.h
10538 (cutSelection): breakParagraphConservative is now in global scope
10539 (pasteSelection): ditto
10541 * buffer.h: declare oprator== and operator!= for
10542 Buffer::inset_iterator
10544 * bufferlist.C (emergencyWrite): don't use fmt(...)
10546 * text3.C: add using std::endl
10548 * BufferView.C (moveCursorUpdate): remove default arg
10550 2002-08-20 André Pönitz <poenitz@gmx.net>
10552 * buffer.[Ch]: move inline functions to .C
10555 * BufferView_pimpl.C:
10557 * buffer.[Ch]: use improved inset_iterator
10560 * paragraph.[Ch]: write one paragraph at a time
10562 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10564 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10565 style if style is not specified.
10567 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10569 * text2.C (setCounter): when searching for right label for a
10570 caption, make sure to recurse to parent insets (so that a caption
10571 in a minipage in a figure float works) (bug #568)
10573 2002-08-20 André Pönitz <poenitz@gmx.net>
10575 * text3.C: new file for LyXText::dispatch() and helpers
10577 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10579 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10581 2002-08-19 André Pönitz <poenitz@gmx.net>
10584 * text.C: new LyXText::dispatch()
10586 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10588 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10590 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10592 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10595 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10597 * Makefile.am: use $(variables) instead of @substitutions@
10599 2002-08-15 André Pönitz <poenitz@gmx.net>
10602 * BufferView_pimpl.C: streamlining mathed <-> outer world
10606 * LyXAction.C: remove unused LFUN_MATH
10608 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10610 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10612 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10614 * paragraph.C (Paragraph): reformat a bit
10615 (cutIntoMinibuffer): use builtin InsetList function instad of
10619 * buffer.C: include boost/bind.hpp, add using std::for_each
10620 (writeFileAscii): use ParagraphList iterators
10621 (validate): use for_each for validate traversal of paragraphs
10622 (getBibkeyList): use ParagraphList iterators
10623 (resizeInsets): use for_each to resizeInsetsLyXText for all
10625 (getParFromID): use ParagraphList iterators
10627 * BufferView2.C (lockInset): use paragraph list and iterators
10629 2002-08-14 John Levon <levon@movementarian.org>
10631 * lyxserver.C: remove spurious xforms include
10633 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10635 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10637 2002-08-13 André Pönitz <poenitz@gmx.net>
10640 * lyxfunc.C: further cleaning
10642 2002-08-13 André Pönitz <poenitz@gmx.net>
10644 * funcrequest.h: new constructor
10646 * funcrequest.C: move stuff here from .h
10649 * BufferView_pimpl.C:
10652 * lyxfunc.C: subsequent changes
10654 * lyxfunc.h: new view() member function
10656 * lyxfunc.C: subsequent changes
10658 2002-08-13 Angus Leeming <leeming@lyx.org>
10661 * BufferView_pimpl.C:
10669 changes due to the changed LyXView interface that now returns references
10670 to member variables not pointers.
10672 2002-08-13 Angus Leeming <leeming@lyx.org>
10674 * WordLangTuple (word, lang_code): return references to strings,
10679 * lyxtext.h: forward-declare WordLangTuple.
10684 * text.C: #include "WordLangTuple.h".
10687 * text.C: (selectNextWordToSpellcheck): constify return type.
10689 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10695 * paragraph_pimpl.h:
10698 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10699 suggested by Angus.
10700 Made updateCounter always count from start of buffer, and removed
10701 second argument (par).
10702 Reverted floats number display to '#'. Perhaps I'll try again when the
10703 code base is sanitized a bit.
10705 2002-08-12 Angus Leeming <leeming@lyx.org>
10707 * buffer.[Ch] (getLabelList): constify.
10709 2002-08-07 André Pönitz <poenitz@gmx.net>
10711 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10713 * funcrequest.h: extension to keep mouse (x,y) position
10715 2002-08-12 Juergen Vigna <jug@sad.it>
10717 * BufferView2.C (insertErrors): forbid undo when inserting error
10720 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10722 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10724 * ParagraphList.[Ch]: new files
10726 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10728 * BufferView2.C (lockInset): ParagraphList changes
10731 * bufferlist.C: ditto
10735 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10737 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10738 unused class variable counter_,
10740 * paragraph.[Ch] (getFirstCounter): delete unused function
10742 * counters.C: include LAssert.h
10743 (reset): add a new function with no arg, change other version to
10744 not have def. arg and to not allow empty arg.
10746 * text2.C (setCounter): remove empty arg from call to Counters::reset
10748 2002-08-11 John Levon <levon@movementarian.org>
10750 * Makefile.am: add WordLangTuple.h
10752 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10754 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10755 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10757 * insets/insettext.C: InsetList changes
10759 * graphics/GraphicsSupport.C (operator()): InsetList changes
10761 * toc.C (getTocList): InsetList changes
10763 * paragraph_pimpl.[Ch]: InsetList changes
10765 * paragraph.[Ch]: InsetList changes
10767 * buffer.C (inset_iterator): InsetList changes
10768 (setParagraph): ditto
10769 * buffer.h (inset_iterator): ditto
10770 * iterators.C (operator++): ditto
10771 * iterators.h: ditto
10773 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10775 * InsetList.[Ch]: new files, most InsetList handling moved out of
10778 * BufferView2.C (removeAutoInsets): InsetList changes
10780 (ChangeInsets): ditto
10782 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10784 * paragraph_pimpl.h (empty): new function
10786 * paragraph.[Ch] (empty): new function
10788 * other files: use the new Paragraph::empty function
10790 2002-08-09 John Levon <levon@movementarian.org>
10792 * lyxtext.h: remove unused refresh_height
10794 2002-08-09 John Levon <levon@movementarian.org>
10801 * paragraph.C: move sgml char escaping out of paragraph
10804 * paragraph.C: remove id setter
10808 * paragraph_pimpl.C: remove dead tex_code_break_column
10810 * bufferview_funcs.C: small cleanup
10812 * lyxfunc.C: remove dead proto
10814 * lyxtext.h: make some stuff private. Remove some dead stuff.
10816 * lyxgluelength.C: make as[LyX]String() readable
10818 2002-08-08 John Levon <levon@movementarian.org>
10823 * ToolbarDefaults.C:
10826 * toc.C: lyxaction cleanup
10828 2002-08-08 John Levon <levon@movementarian.org>
10830 * BufferView2.C: small cleanup
10833 * lyxfind.C: move unnecessary header into the .C
10835 2002-08-08 John Levon <levon@movementarian.org>
10837 * funcrequest.h: just tedious nonsense
10840 * lyx_main.C: cleanups
10843 * vspace.C: remove dead header lyx_main.h
10845 2002-08-07 Angus Leeming <leeming@lyx.org>
10848 * paragraph_pimpl.h:
10849 Forward declare class Counters in paragraph.h by moving the ctrs member
10850 variable into Paragraph::Pimpl.
10851 (counters): new method, returning a reference to pimpl_->ctrs.
10853 * text2.C: ensuing changes.
10855 2002-08-07 John Levon <levon@movementarian.org>
10857 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10859 * BufferView_pimpl.C: announce X selection on double/triple
10862 * lyx_main.C: use correct bool in batch dispatch
10864 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10866 2002-08-07 André Pönitz <poenitz@gmx.net>
10868 * funcrequest.h: new class to wrap a kb_action and its argument
10871 * BufferView_pimpl[Ch]:
10875 * lyxrc.C: subsequent changes
10878 2002-08-07 John Levon <levon@movementarian.org>
10880 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10881 document options change.
10883 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10888 * makefile.am: move counters functionality over from
10889 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10891 2002-08-06 John Levon <levon@movementarian.org>
10893 * WordLangTuple.h: new file for word + language code tuple
10904 * BufferView2.C: use WordLangTuple
10907 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10909 2002-08-06 John Levon <levon@movementarian.org>
10911 * lyx_main.C: fix cmdline batch handling
10913 2002-08-06 André Pönitz <poenitz@gmx.net>
10915 * lyxrc.C: set default for show_banner to true
10917 2002-08-06 John Levon <levon@movementarian.org>
10919 * pspell.C: fix a crash, and allow new aspell to work
10921 2002-08-06 John Levon <levon@movementarian.org>
10924 * kbmap.C: small cleanup
10927 * vspace.C: add const
10929 2002-08-05 John Levon <levon@movementarian.org>
10931 * LyXAction.C: back to tabular-insert
10933 2002-08-04 John Levon <levon@movementarian.org>
10936 * BufferView.C: cosmetic change
10938 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10948 * BufferView2.C: purge all "Lyx" not "LyX" strings
10951 * lyxcursor.C: attempt to add some documentation
10956 * ToolbarDefaults.C:
10957 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10958 merge with LFUN_TABULAR_INSERT
10965 * pspell.C: split up i/pspell implementations into separate
10966 files, many cleanups
10968 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10970 * text2.C: some cleanup
10972 * lyxfunc.C: don't check for isp_command == "none" any more, it
10973 didn't make any sense
10975 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10980 * makefile.am: move counters functionality over
10981 from text2.C/paragraph.[Ch] to counters.[Ch], and
10983 2002-08-02 John Levon <levon@movementarian.org>
10985 * buffer.C: s/lyxconvert/lyx2lyx/
10987 2002-08-02 Angus Leeming <leeming@lyx.org>
10989 * lyxlex.C: revert John's change as it breaks reading of the user
10992 2002-08-02 Angus Leeming <leeming@lyx.org>
10994 * importer.C (Import):
10995 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10996 changes due to LyXView::view() now returning a boost::shared_ptr.
10998 2002-08-02 John Levon <levon@movementarian.org>
11000 * lyxlex.C: small cleanup
11002 2002-08-02 John Levon <levon@movementarian.org>
11004 * text2.C (status): small cleanup, no logic change
11006 2002-08-01 John Levon <levon@movementarian.org>
11009 * buffer.C (writeFile): don't output alerts, caller
11013 * lyx_cb.C: from above
11015 * lyxfunc.C: allow to open non-existent files
11017 2002-07-31 John Levon <levon@movementarian.org>
11019 * lyxserver.C: don't let incidental errors get
11022 2002-07-30 John Levon <levon@movementarian.org>
11024 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11026 2002-07-30 John Levon <levon@movementarian.org>
11029 * lyxserver.C: remove I/O callback too
11031 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11033 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11036 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11038 * many files: strip,frontStrip -> trim,ltrim,rtrim
11040 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11042 * PrinterParams.h: remove extern containsOnly, and include
11043 support/lstrings.h instead.
11045 * LaTeX.C (scanAuxFile): modify because of strip changes
11047 * buffer.C (makeLaTeXFile): ditto
11048 * bufferparams.C (writeFile): ditt
11049 * lyxfont.C (stateText): ditto
11050 * lyxserver.C (read_ready): ditto
11051 * vc-backend.C (scanMaster): ditto
11053 * BufferView_pimpl.h: ws changes
11055 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11057 2002-07-26 André Pönitz <poenitz@gmx.net>
11059 * kb_sequence.C: remove unnedred usings
11061 2002-07-26 Juergen Vigna <jug@sad.it>
11063 * lyxfind.C (LyXReplace): we have to check better if the returned
11064 text is not of theLockingInset()->getLockingInset().
11066 2002-07-25 Juergen Vigna <jug@sad.it>
11068 * lyxfind.C (LyXReplace): don't replace if we don't get the
11071 * undo_funcs.C (createUndo): remove debugging code.
11073 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11075 * buffer.C (parseSingleLyXformat2Token): Use default placement
11076 when reading old floats.
11078 * FloatList.C (FloatList): Change the default placement of figure
11079 and tables to "tbp".
11081 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11083 * MenuBackend.C: using std::max
11085 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11087 * MenuBackend.C (expandToc):
11088 (expandToc2): code moved from xforms menu frontend. It is now
11089 generic and TOCs are transparent to menu frontends.
11091 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11093 * toc.C (getTocList): protect against buf=0
11095 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11096 Menu as first parameter. Now, this calls itself recursively to
11097 expand a whole tree (this will be useful for TOC handling)
11098 (expandFloatInsert): remove 'wide' version of floats
11100 * MenuBackend.h (submenuname): returns the name of the submenu.
11101 (submenu): returns the submenu itself, provided it has been
11102 created by MenuBackend::expand
11104 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11106 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11107 insets which have noFontChange == true. (bug #172)
11109 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11111 * BufferView_pimpl.C: add connection objects and use them...
11114 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11116 * MenuBackend.C (expandLastfiles):
11119 (expandFloatListInsert):
11120 (expandFloatInsert):
11121 (expand): split expand in parts
11123 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11125 * lyx_gui.C: use lyx_gui::exit()
11127 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11129 * LyXAction.C: show the failing pseudo action
11131 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11133 * buffer.C (readFile): Run the lyxconvert script in order to read
11136 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11140 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11142 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11146 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11148 2002-07-22 Herbert Voss <voss@lyx.org>
11151 * lyxlength.[Ch]: add support for the vertical lengths
11153 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11155 * toc.[Ch]: std:: fixes
11157 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11159 * lyxrc.C: do not include lyx_main.h
11161 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11167 * BufferView2.C: include "lyxlex.h"
11170 * bufferparams.h: do not #include "lyxlex.h"
11172 * lyxtextclasslist.C (Add): remove method
11173 (classlist): renamed to classlist_
11175 * paragraph_pimpl.C:
11179 * bufferview_funcs.C:
11184 * toc.C (getTocList): use BufferParams::getLyXTextClass
11186 * toc.C (getTocList): use InsetFloat::addToToc
11188 * toc.[Ch]: new files, containing helper functions to handle table
11191 * lyxfunc.C (dispatch): no need to remove spaces around command
11193 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11194 first command of the sequence; it is not very clever, but I do not
11195 have a better idea, actually
11197 * LyXAction.C (LookupFunc): make sure to remove space at the
11198 beginning and end of the command
11200 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11202 * MenuBackend.C (getMenubar): new method: return the menubar of
11204 (read): treat differently reading of menu and menubar (in
11205 particular, the menubar has no name now)
11206 (Menu::menubar): remove
11208 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11211 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11213 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11214 a bibitem inset in a RTL paragraph.
11216 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11218 * paragraph_pimpl.C: constify
11220 * BufferView_pimpl.C:
11222 * lyxfunc.C: fix dispatch in a nicer way
11224 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11226 * lyxfunc.C (dispatch):
11227 * BufferView_pimpl.C:
11228 * BufferView_pimpl.h:
11230 * BufferView.h: rename Dispatch() to dispatch()
11232 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11234 * lyxlayout.C (Read): honor DependsOn tag
11236 * lyxlayout.[Ch] (depends_on): new method
11238 * version.C.in: update lyx_docversion
11240 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11242 * paragraph.C (validate): remove from here...
11243 * paragraph_pimpl.C (validate): ... and move here
11244 (isTextAt): make it const
11246 * buffer.C (getLists): ws cleanup
11248 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11250 * language.C (read): Use iso8859-1 encoding in latex_lang
11251 (this prevents LyX from crashing when using iso10646-1 encoding).
11253 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11255 * text2.C (toggleInset): if cursor is inside an inset, close the
11256 inset and leave cursor _after_ it
11258 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11260 * lyxfunc.C: move minibuffer completion handling out of here
11262 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11264 * BufferView_pimpl.C:
11265 * LaTeX.C: fix dispatch calls
11267 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11269 * text.C (drawChars): Fix Arabic text rendering.
11271 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11275 * lyxfunc.C: remove message-push/pop
11279 * lyxfunc.C: rationalise some code by removing verboseDispatch
11280 in favour of a bool argument to dispatch()
11282 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11284 * lyx_main.C (init): make sure to read symlinks as absolute paths
11286 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11289 * lyxfunc.C: no need for commandshortcut to be a member
11291 2002-07-15 André Pönitz <poenitz@gmx.net>
11293 * converter.C: add support for $$s (scripts from lib/scripts dir)
11294 * lyx_main.C: white space
11296 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11300 * lyxrc.C: remove second exit confirmation
11302 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11307 * BufferView_pimpl.h:
11308 * BufferView_pimpl.C:
11309 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11311 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11313 * MenuBackend.C (expand): add numeric shortcuts to document menu
11315 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11317 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11319 * lyxfont.C (setLyXFamily):
11326 * buffer.C (asciiParagraph): use ascii_lowercase
11328 2002-07-15 Mike Fabian <mfabian@suse.de>
11330 * lyxlex_pimpl.C (search_kw):
11331 * lyxlex.C (getLongString):
11332 * converter.h (operator<):
11333 * converter.C (operator<):
11334 * buffer.C (parseSingleLyXformat2Token):
11336 * ToolbarDefaults.C (read):
11337 * MenuBackend.C (checkShortcuts):
11339 * LColor.C (getFromGUIName):
11340 (getFromLyXName): use the compare_ascii_no_case instead of
11341 compare_no_case, because in turkish, 'i' is not the lowercase
11342 version of 'I', and thus turkish locale breaks parsing of tags.
11344 2002-07-16 Angus Leeming <leeming@lyx.org>
11346 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11347 now takes a Buffer const & argument.
11349 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11351 * BufferView.C (resize): check there's a buffer to resize
11353 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11355 * lyxfunc.C: remove dead code
11358 * lyxserver.C: use lyx_guii::set_read_callback
11360 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11362 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11363 an inset in a RTL paragraph.
11365 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11367 * lyxfunc.C: repaint after a font size update
11369 2002-07-15 André Pönitz <poenitz@gmx.net>
11371 * lyxlength.C: inBP should be able to return negative values
11373 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11375 * lyxfunc.C: use lyx_gui::update_fonts()
11377 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11379 * lyxfunc.C: use lyx_gui::update_color()
11381 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11387 * lyxrc.C: remove file->new asks for name option, and let
11388 buffer-new take an argument
11390 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11392 * BufferView_pimpl.C: remove unneeded extra repaint()
11394 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11396 * LyXAction.C: allow command-sequence with NoBuffer
11398 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11400 2002-07-10 Angus Leeming <leeming@lyx.org>
11402 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11404 2002-07-09 Angus Leeming <leeming@lyx.org>
11406 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11408 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11410 * lengthcommon.h: whitespace
11412 * lyxfunc.C: update scrollbar after goto paragraph
11414 * lyxtext.h: factor out page break drawing, and fix it so
11415 page break/added space paints as selected nicely
11417 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11419 * BufferView_pimpl.C: add FIXMEs, clean up a little
11421 2002-07-09 André Pönitz <poenitz@gmx.net>
11423 * lyxfont.[Ch]: support for wasy symbols
11425 2002-07-08 André Pönitz <poenitz@gmx.net>
11427 * BufferView_pimpl.C: apply John's patch for #93.
11429 2002-07-05 Angus Leeming <leeming@lyx.org>
11431 * BufferView_pimpl.C (buffer): generate previews if desired.
11433 * LColor.h: add "preview" to the color enum.
11435 * LColor.C (LColor): add a corresponding entry to the items array.
11437 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11440 2002-07-05 Angus Leeming <leeming@lyx.org>
11442 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11443 The body of the code is now in the method that is passed an ostream &
11444 rather than a file name.
11445 Pass an additional only_preamble parameter, useful for the forthcoming
11448 2002-07-03 André Pönitz <poenitz@gmx.net>
11450 * lyxfunc.C: simplify getStatus() a bit for math stuff
11452 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11454 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11456 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11458 * text.C (changeRegionCase): do not change case of all the
11459 document when region ends at paragraph end (bug #461)
11461 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11463 * paragraph.C (startTeXParParams):
11464 (endTeXParParams): add \protect when necessary
11466 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11468 * BufferView_pimpl.C (workAreaExpose): remove warning
11470 2002-06-27 Angus Leeming <leeming@lyx.org>
11472 * Makefile.am: add lyxlayout_ptr_fwd.h.
11474 2002-06-26 André Pönitz <poenitz@gmx.net>
11476 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11478 2002-06-25 Angus Leeming <leeming@lyx.org>
11480 * lyxfunc.C (dispatch): Comment out the call to
11481 grfx::GCache::changeDisplay. The method no longer exists now that the
11482 pixmap generation part of the graphics loader has been moved into
11485 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11487 * text2.C: layout as layout
11489 * text.C: layout as layout
11491 * tabular.C (OldFormatRead): layout as layout
11493 * paragraph_pimpl.C (TeXDeeper): layout as layout
11494 (realizeFont): layout as layout
11496 * paragraph.C (writeFile): layout as layout
11497 (validate): layout as layout
11498 (getFont): layout as layout
11499 (getLabelFont): layout as layout
11500 (getLayoutFont): layout as layout
11501 (breakParagraph): layout as layout
11502 (stripLeadingSpaces): layout as layout
11503 (getEndLabel): layout as layout
11504 (getMaxDepthAfter): layout as layout
11505 (applyLayout): layout as layout
11506 (TeXOnePar): layout as layout
11507 (simpleTeXOnePar): layout as layout
11508 (TeXEnvironment): layout as layout
11509 (layout): layout as layout
11510 (layout): layout as layout
11512 * lyxtextclass.C (compare_name): new functor to work with
11513 shared_ptr, layout as layout
11514 (Read): layout as layout
11515 (hasLayout): layout as layout
11516 (operator): layout as layout
11517 (delete_layout): layout as layout
11518 (defaultLayout): layout as layout
11520 * lyxlayout_ptr_fwd.h: new file
11522 * lyxlayout.C (Read): layout as layout
11524 * lyx_cb.C (MenuInsertLabel): layout as layout
11526 * bufferlist.C (newFile): layout as layout
11528 * buffer.C (readLyXformat2): layout as layout
11529 (parseSingleLyXformat2Token): layout as layout
11530 (insertStringAsLines): layout as layout
11531 (asciiParagraph): layout as layout
11532 (latexParagraphs): layout as layout
11533 (makeLinuxDocFile): layout as layout
11534 (simpleLinuxDocOnePar): layout as layout
11535 (makeDocBookFile): layout as layout
11536 (simpleDocBookOnePar): layout as layout
11537 (getLists): layout as layout
11539 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11541 * CutAndPaste.C (cutSelection): layout as layout
11542 (pasteSelection): layout as layout
11543 (SwitchLayoutsBetweenClasses): layout as layout
11545 * BufferView_pimpl.C (Dispatch): layout as layout
11546 (smartQuote): layout as layout
11548 * BufferView2.C (unlockInset): layout as layout
11550 2002-06-24 André Pönitz <poenitz@gmx.net>
11552 * lyxfunc.C: fix #487
11554 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11558 * lyxfunc.C: remove display_shortcuts, show_banner
11560 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11562 * Buffer_pimpl.C: oops, update on resize
11564 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11571 * BufferView.C: use repaint()
11573 * BufferView_pimpl.h:
11574 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11575 as it's a clearer description. Remove superfluous
11578 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11580 * text.C: fix bug 488. Not ideal, but getting
11581 getWord() to work properly for the insets that
11582 matter is more difficult ...
11584 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11586 * BufferView_pimpl.C:
11589 * lyxfunc.C: remove the six million index lyxfuncs to just
11590 one, and DTRT (bug 458)
11592 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11596 * BufferView_pimpl.h:
11597 * BufferView_pimpl.C: clean up resize() stuff,
11598 and unnecessary updateScreen()s
11600 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11604 * BufferView_pimpl.h:
11605 * BufferView_pimpl.C:
11608 * minibuffer.C: remove focus management of workarea,
11609 not needed. Use screen's greyOut()
11611 2002-06-17 Herbert Voss <voss@lyx.org>
11613 * converter.C: (convert) do not post a message, when converting
11614 fails, let the calling function decide what to do in this case
11616 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11618 * lyxfunc.C: tidy up a little
11620 2002-06-16 <alstrup@diku.dk>
11622 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11623 Got rid of FORMS_H_LOCATION include. Now we are
11626 2002-06-15 LyX Development team <lyx@rilke>
11628 * buffer.[Ch] (sgmlOpenTag):
11629 (sgmlCloseTag): Added support for avoiding pernicious mixed
11630 content. Return number of lines written.
11632 (makeLinuxDocFile):
11633 (makeDocBookFile): Fixed calls to sgml*Tag.
11634 Simple white space clean.
11636 (simpleDocBookOnePar): Simple white space clean.
11638 * tabular.[Ch] (docBook): Renamed to docbook and got another
11639 argument to related with the pernicious mixed content.
11641 (docbookRow): Fixed calls for docbook inset method.
11643 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11645 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11646 so it's X11 independent.
11650 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11652 2002-06-15 Lyx Development team <lyx@electronia>
11654 * intl.h: Renamed getTrans to getTransManager.
11656 2002-06-14 Angus Leeming <leeming@lyx.org>
11658 * Makefile.am: nuke forgotten stl_string_fwd.h.
11660 2002-06-12 Angus Leeming <leeming@lyx.org>
11662 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11664 2002-06-13 Angus Leeming <leeming@lyx.org>
11667 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11669 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11671 * kbmap.C (getiso): add support for cyrillic and greek
11673 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11677 * BufferView_pimpl.h:
11678 * BufferView_pimpl.C: move bogus scrolling logic
11681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11684 * BufferView_pimpl.C: view->resize() change
11686 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11688 * BufferView_pimpl.C: topCursorVisible
11691 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11695 * lyx_gui.C: move to frontends/
11699 * lyx_main.C: changes from above
11701 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11708 * lyx_main.C: minor tidy
11710 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11712 * BufferView_pimpl.h:
11713 * BufferView_pimpl.C:
11715 * BufferView.C: make painter() const,
11718 * BufferView2.C: use screen() accessor
11721 * lyx_main.C: some minor cleanup
11723 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11725 * BufferView_pimpl.h:
11726 * BufferView_pimpl.C: remove enter/leaveView,
11729 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11734 * BufferView_pimpl.h:
11735 * BufferView_pimpl.C: only construct screen once,
11738 * lyxrc.C: remove pointless comment
11740 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11743 * BufferView.C: remove active() and belowMouse()
11745 * BufferView_pimpl.h:
11746 * BufferView_pimpl.C: use workarea() not workarea_,
11747 and make it use a scoped_ptr instead
11749 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11751 * lyx_gui.C: add debug message on BadWindow
11753 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11755 * sp_spell.C: fdopen is not part of the C++ standard.
11757 * paragraph.C (InsetIterator): use >= instead of ==
11759 2002-06-07 Angus Leeming <leeming@lyx.org>
11761 Fixes needed to compile with Compaq cxx 6.5.
11762 * BufferView_pimpl.C:
11769 * lyxtextclasslist.C:
11774 all c-library variables have been moved into namespace std. Wrap
11775 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11780 Add a using std::abs declaration.
11782 * kbmap.h (modifier_pair):
11783 * paragraph.h (InsetTable, InsetList):
11784 * lyxfont.h (FontBits):
11785 type definition made public.
11787 * bufferlist.C (emergencyWriteAll): the compiler complains that
11788 there is more than one possible lyx::class_fun template to choose from.
11789 I re-named the void specialisation as lyx::void_class_fun.
11791 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11793 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11794 the compiler is is unable to find tostr in write_attribute.
11796 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11798 * buffer.C (sgmlError): hide #warning
11800 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11802 * xtl/*: get rid of xtl, which is not in use anyway
11804 * LyXAction.C (init):
11805 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11806 were unimplemented xtl experimentation
11808 2002-06-04 André Pönitz <poenitz@gmx.net>
11810 * lyxfunc.C: disable array operation on simple formulae
11812 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11814 * converter.C: constify a bit
11816 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11818 * lyx_gui.C: check xforms version correctly
11820 2002-04-30 Herbert Voss <voss@lyx.org>
11822 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11825 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11827 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11828 attempt to register it with a VCS)
11830 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11832 * lyx_main.C (init): honor variables LYX_DIR_13x and
11835 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11839 * lyx_main.C: fix a crash on bad command line,
11840 and give a useful exit status on error
11842 * lyxfunc.C (doImport): allow -i lyx to work
11844 2002-03-30 André Pönitz <poenitz@gmx.net>
11846 * lyxfunc.C: mathed font changes
11848 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11863 * trans_mgr.h: srcdocs, and some minor cleanups
11865 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11867 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11868 call getFont all the time)
11870 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11872 * switch from SigC signals to boost::signals
11874 2002-05-29 André Pönitz <poenitz@gmx.net>
11876 * paragraph_pimpl.C (getChar): don't call size() too often...
11878 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11880 * paragraph_pimpl.C (insertChar): do not try to update tables when
11881 appending (pos == size())
11883 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11884 in order to reduce drastically the number of comparisons needed to
11885 parse a large document
11887 2002-05-29 André Pönitz <poenitz@gmx.net>
11893 * textclasslist.[Ch]:
11894 * sp_ispell.h: whitespace change
11896 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11898 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11899 lyxaction directly now.
11901 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11905 * lyxvc.C: remove unused headers
11907 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11914 * undo_funcs.C: some cleanups. Use shared_ptr
11915 and a template for the undo stacks.
11917 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11919 * BufferView_pimpl.h:
11920 * BufferView_pimpl.C:
11927 * text2.C: use key_state/mouse_state
11929 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11934 * chset.C: change include order
11935 (loadFile): use boost regex and get rid of LRegex and LSubstring
11937 * Makefile.am (BOOST_LIBS): new variable
11938 (lyx_LDADD): use it
11940 * LaTeX.C: change include order.
11941 (scanAuxFile): use boost regex and get rid of LRegex and
11945 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11950 * FontInfo.C: moved to frontends/xforms/
11953 * FontLoader.C: moved into frontends for GUIIzation
11958 * lyxfunc.C: changes from above
11960 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11962 * LColor.C: remove spurious X include
11964 * BufferView_pimpl.C:
11969 * text2.C: move font metrics to frontends/
11971 2002-05-24 Juergen Vigna <jug@sad.it>
11973 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11974 setting the undo_cursor.
11976 * ParagraphParameters.h: include local includes first.
11978 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11980 * BufferView_pimpl.C:
11981 * BufferView_pimpl.h:
11985 * screen.C: move WorkArea into frontends/
11991 * BufferView2.C: move LyXScreen into frontends/
11995 * lyx_gui.C: move lyxlookup into frontends/xforms/
11997 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12000 * BufferView_pimpl.C:
12010 * bufferview_funcs.C:
12023 * vc-backend.C: move LyX/XFormsView into frontends/
12025 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12037 * text2.C: move Painter to frontends/
12039 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12041 * buffer.C: comment out some some code that depend upon lyx_format
12044 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12045 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12047 * buffer.h (NO_COMPABILITY): turn off compability
12049 * ColorHandler.C: include scoped_array.hpp
12051 * font.C: Use more specific smart_ptr header.
12054 * ShareContainer.h: ditto
12055 * lyx_main.h: ditto
12057 * FontInfo.h: ditto
12058 * BufferView_pimpl.h: ditto
12059 * ColorHandler.h: ditto
12061 * kbmap.C (defkey): change call to shared_ptr::reset
12063 2002-05-21 Juergen Vigna <jug@sad.it>
12065 * buffer.C (insertErtContents): fix to insert ert asis if it is
12066 non empty. Skip it completely if it contains only whitespaces.
12068 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12070 * BufferView_pimpl.C:
12071 * BufferView2.C: clear selection on paste (bug 393)
12073 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12075 * DepTable.C: include ctime
12077 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12079 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12081 2002-05-14 Juergen Vigna <jug@sad.it>
12083 * text.C (breakParagraph): fixed function to honor the keepempty
12084 layout in the right maner and also to permit the right breaking
12085 algorithm on empty or non empyt keepempty paragraphs.
12087 * paragraph.C (breakParagraph): we have to check also if the par
12088 is really empty (!size()) for isempty otherwise we do the wrong
12091 2002-05-10 Juergen Vigna <jug@sad.it>
12093 * buffer.[Ch] : The following are only changes to the ert
12094 compatibility read reading old LaTeX layout and font stuff and
12095 convert it to ERTInsets.
12097 * buffer.h: added isErtInset().
12099 * buffer.C (struct ErtComp): add a fromlayout bool to check
12100 if we're inside a LaTeX layout.
12101 (isErtInset): new helper function.
12102 (insertErtContents): look for other ert insets before this one
12103 and insert the contents there, so that we don't have subsequent
12104 ERT insets with nothing between them. This way we create only one
12105 inset with multiple paragraphs. Also check if we don't insert only
12106 spaces ' ' as they are ignored anyway afterwards in the .tex file
12107 so if we have only spaces we will ignore this latex part in the
12109 (parseSingleLyXformat2Token \\layout): better compatibility when
12110 reading layout-latex stuff.
12111 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12113 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12114 stuff after reading the inset only get the information back from
12117 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12119 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12121 * LaTeXFeatures.C (getBabelOptions): New method.
12123 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12125 * BufferView_pimpl.C (Dispatch): work around missing argument for
12128 2002-05-08 Juergen Vigna <jug@sad.it>
12130 * text.C (leftMargin): handle paragraph leftindent.
12132 * paragraph.C (writeFile): write the new \\leftindent tag.
12133 (validate): handle leftindent code.
12134 (TeXEnvironment): handle paragraphleftindent code again.
12136 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12138 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12139 for paragrap_extra indent code and new token \\leftindent.
12140 (latexParagraphs): handle the leftindent as environment.
12142 * ParameterStruct.h: added leftindent support.
12144 * ParagraphParameters.C (leftIndent): added support functions for
12145 the paragraph left indent.
12147 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12150 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12152 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12155 * text.C (computeBidiTables): No bidi in insetERT.
12157 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12160 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12162 * version.C.in: pre 5
12164 2002-05-02 José Matos <jamatos@fep.up.pt>
12165 * buffer.C (makeDocBookFile): white space changes, add newline to
12167 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12169 * tabular.C (docBook): fix typo.
12171 2002-05-03 Juergen Vigna <jug@sad.it>
12173 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12174 change in LyXText as we can not be sure it was not freed.
12175 (drawOneRow): remove unused code.
12177 * text.C (drawInset): redo the calculation of the need_break_row as
12178 it could have a row which was already freed.
12179 (draw): look at the return value of drawInset and return false if
12180 it also returned false.
12181 (paintRowText): look at the return value of draw and return false if
12182 it also returned false.
12184 * lyxtext.h: added bool return type to drawInset() and draw() so that
12185 if we have a change in the row so that the rowbreak has to be redone
12186 we abort drawing as it will be called again.
12188 2002-05-02 Juergen Vigna <jug@sad.it>
12190 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12191 a change in the maintext also if we're inside an inset.
12192 (Dispatch): set the cursor again after a break line and after the
12193 screen has been updated as it could be we're in a different row.
12195 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12196 to set the cursor behind the pargraph with > size().
12197 (setCursor): check also for the same paragraph when checking where
12198 to put the cursor if we have a NFR inset.
12200 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12201 parts of layout read further up as it still was in the wrong
12204 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12206 * screen.C (drawFromTo): change sine fullRebreak always return
12209 * buffer.C (parseSingleLyXformat2Token): reindent some
12211 * BufferView_pimpl.C (update): change since fullRebreak always
12213 (Dispatch): git rid of the last hardcoded "Standard"s.
12215 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12217 * text2.[Ch] (fullRebreak): make it return void now that we always
12220 2002-04-30 Juergen Vigna <jug@sad.it>
12222 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12223 ert compatibility check for "latex" layout.
12225 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12227 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12228 minipages: use col% instead of p%, and also use the current font.
12229 (makeLaTeXFile): Fix use babel condition.
12230 (parseSingleLyXformat2Token): Correct font when reading old floats.
12232 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12234 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12235 inserting list of floats.
12237 2002-04-25 Herbert Voss <voss@lyx.org>
12239 * MenuBackend.C (expand): don't add the graphics extensions to the
12242 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12244 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12245 non-existing layout, do not complain if it was the default layout
12246 of the original class (bug #342)
12248 2002-04-24 Juergen Vigna <jug@sad.it>
12250 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12251 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12253 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12255 * buffer.C (getBibkeyList): If using \bibliography, return the
12256 option field with the reference itself. Enables us to provide natbib
12257 support when using \bibliography.
12259 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12261 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12263 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12264 natbib is provided by the LaTeX class.
12266 2002-04-23 Juergen Vigna <jug@sad.it>
12268 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12271 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12273 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12275 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12277 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12278 ensuremath around textordmasculine, textordfeminine and
12281 2002-04-19 Juergen Vigna <jug@sad.it>
12283 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12284 reinitializing the buffer otherwise row-dimensions may be wrong.
12285 (update): reset also the selection cursors if they do exits otherwise
12286 their x/y positions may be wrong.
12288 * text2.C (cursorDown): don't enter the inset if we came from a row
12289 above and are one row over the inset.
12291 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12292 really leaving an inset.
12294 2002-04-18 Juergen Vigna <jug@sad.it>
12296 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12297 of the selected paragraph does not have the selected layout also if
12300 * text2.C (setLayout): fixed bug which did not change last selected
12303 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12304 changed the read and substituted \\end_float with \\end_inset!
12306 * BufferView_pimpl.C (cursorPrevious):
12307 (cursorNext): fixed to make it work with rows heigher than the work
12308 area without moving the cursor only the draw of the row.
12309 (workAreaMotionNotify): fix jumping over high rows.
12311 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12313 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12316 2002-04-16 Juergen Vigna <jug@sad.it>
12318 * text2.C (setCursor): set also the irow().
12319 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12321 (cursorDown): support for locking an inset if the x_fix value goes
12322 inside it. That way I can transverse insets too with cursor up/down.
12324 * lyxrow.h: added irow helper function same as other (i) functions.
12326 * BufferView_pimpl.C (cursorPrevious):
12327 (cursorNext): fixed for insets!
12329 2002-04-15 Juergen Vigna <jug@sad.it>
12331 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12332 position otherwise it is wrong in some cases.
12334 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12335 inside the inset before the call.
12337 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12339 * buffer.[Ch] (getBibkeyList): make it const.
12341 2002-04-12 Juergen Vigna <jug@sad.it>
12343 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12345 * text2.C (getCursorX): new helper function
12346 (setCursor): compute also ix_
12347 (setCursorFromCoordinates): set also ix.
12349 * lyxcursor.h: added ix_ and helper functions.
12351 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12353 * buffer.C (insertStringAsLines): dont break paragraph if the this
12354 paragraph is inside an inset which does not permit it!
12356 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12357 also with no chars on this paragraph.
12358 (paintRowText): only paint stuff if it's inside the workarea!
12360 * paragraph.C (breakParagraph): honor keepempty flag and break the
12361 paragraph always below not above.
12363 * BufferView2.C (unlockInset): update the paragraph layout on inset
12364 unlock as we changed paragraph in such a case.
12366 * lyxfind.C (LyXFind): clear the former selection if not found!
12368 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12369 again called in insertChar().
12371 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12372 an inset which uses the whole row!
12373 (rightMargin): ditto.
12374 (insertChar): force a rebreak if we inserted an inset!
12376 2002-03-28 Herbert Voss <voss@lyx.org>
12378 * lyxlength.[Ch]: add inBP() to get the right PS-point
12379 units (BigPoint). With inPixels we have rounding errors
12381 2002-04-11 Juergen Vigna <jug@sad.it>
12383 * text2.C (setCursorFromCoordinates): set iy to the right value.
12384 (setCursor): add check if row->previous exists!
12386 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12387 an old float_type as this was the case in the old code!
12389 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12391 * BufferView2.C (showLockedInsetCursor): use iy
12392 (fitLockedInsetCursor): ditto
12394 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12395 locked insets as there we have the right value now.
12397 * lyxcursor.C: added iy_ variable and iy functions to set to the
12398 baseline of cursor-y of the locked inset.
12400 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12401 (setCursor): fixed for insets which need a full row.
12403 * text.C (rowLastPrintable): don't ignore the last space when before
12404 an inset which needs a full row.
12405 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12406 as last character of a row when before a inset which needs a full row.
12408 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12410 * version.C.in: update date
12412 * text2.C (fullRebreak): try to always return true and see what
12415 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12417 * MenuBackend.C (expand): use Floating::listName
12419 * FloatList.C (FloatList): add listName argument to the built-in
12422 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12423 text associated with the float.
12425 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12427 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12429 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12431 * ShareContainer.h: add a couple of missing typenames.
12433 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12435 * lyxrc.C (getDescription): use _() correctly rather than N_().
12437 2002-03-28 Herbert Voss <voss@lyx.org>
12439 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12440 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12442 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12444 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12445 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12447 2002-03-29 Juergen Vigna <jug@sad.it>
12449 * lyxfunc.C (dispatch): add a missing fitCursor call.
12451 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12452 it was scrolled by a cursor move, so return the bool status.
12454 * BufferView.C (fitCursor): return the bool flag also to the outside
12455 world as this is needed.
12457 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12459 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12460 call the edit() as it is not needed (and wrong) IMO.
12461 (workAreaButtonPress): set the screen_first variable before evt.
12462 unlock the inset as this may change screen_first and then we have
12463 a wrong y position for the click!
12465 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12467 * MenuBackend.C (expand): another translation that I missed
12469 2002-03-28 Juergen Vigna <jug@sad.it>
12471 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12473 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12475 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12477 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12479 * MenuBackend.C (expand): fix export/view/update when there is no
12482 2002-03-27 Herbert Voss <voss@lyx.org>
12484 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12487 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12489 * bufferview_funcs.C (currentState): only show paragraph number
12490 for is DEVEL_VERSION is set.
12492 * lyxfunc.C (dispatch): put warning in INFO channel
12494 * MenuBackend.C (expand): translate the name of floats
12496 * FloatList.C (FloatList): mark the float names for translation
12498 * converter.C (convert): use LibScriptSearch
12500 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12502 * MenuBackend.C (defaults): fix default menu (we might as well get
12505 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12507 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12510 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * lyxvc.C: reorder includes.
12514 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12516 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12519 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12521 * CutAndPaste.C: change layouts earlier on paste
12522 to avoid crashing when calling getFont()
12524 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12526 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12529 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12531 * WorkArea.C: remove 'Pending' debug message.
12533 * most files: ws cleanup
12535 * buffer.[Ch]: ws changes
12537 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12539 2002-03-21 Juergen Vigna <jug@sad.it>
12541 * tabular.C (SetMultiColumn): collapse also the contents of the
12542 cells and set the last border right. Added a Buffer const * param.
12544 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12546 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12549 2002-03-19 Juergen Vigna <jug@sad.it>
12551 * text2.C (clearSelection): reset also xsel_cache.
12553 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12554 where it needs to be called (John tells us to do so too :)
12555 (selectionLost): reset sel_cache.
12557 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12559 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12561 * text2.C (setCursorIntern): put debuging code in INSETS channel
12563 2002-03-19 André Pönitz <poenitz@gmx.net>
12565 * lyxfunc.C: tiny whitespace change
12567 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12569 * ToolbarDefaults.C (init):
12570 * LyXAction.C (init):
12572 * BufferView_pimpl.C (Dispatch):
12573 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12575 2002-03-19 Allan Rae <rae@lyx.org>
12577 * exporter.C (Export): removeAutoInsets before doing anything else.
12578 While I've just introduced a dependency on BufferView this really is
12579 the best place to clean the buffer otherwise you need to cleanup in
12580 a dozen places before calling export or cleanup in a dozen functions
12583 * converter.C (runLaTeX):
12584 (scanLog): Better handling of removeAutoInsets and screen updates.
12586 * lyxfunc.C (dispatch): small whitespace changes
12588 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12590 * WorkArea.C (C_WorkAreaEvent): return a value.
12591 (event_cb): return 1 if we handled the event, 0 otherwise.
12593 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12595 2002-03-18 Juergen Vigna <jug@sad.it>
12597 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12598 (GetAdditionalWidth): ditto.
12599 (RightLine): ditto.
12602 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12603 inset if we're there actually (probably not used right now but this
12604 is the direction to go for unifying code).
12605 (paste): disable code to clear the selection.
12607 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12608 inside an InsetText and move the check further up as it is in the
12611 * text2.C (pasteSelection): set a selection over the pasted text.
12613 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12615 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12616 and libgraphics to build on Cygwin.
12618 2002-03-15 Juergen Vigna <jug@sad.it>
12620 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12621 inserting an Inset into the paragraph. I know this is not the best
12622 fix but we already use current_view in CutAndPaste so we will remove
12623 all of it's using at the same time.
12625 * buffer.C (sgmlError): deactivated function till it is rewritten in
12626 the right mode, now it can create problems.
12628 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12629 before accessing it.
12631 2002-03-14 Juergen Vigna <jug@sad.it>
12633 * undo_funcs.C (textHandleUndo): do the right thing when updating
12634 the inset after the undo/redo.
12636 * text2.C (setCursor): just some testcode for #44 not ready yet.
12638 * undo_funcs.C (textHandleUndo): set the next() and previous()
12639 pointers of the paragraph to 0 before deleting otherwise we have
12640 problems with the Paragraph::[destructor].
12642 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12643 on a paragraph insertion.
12645 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * buffer.C (asciiParagraph): use += operator for char append to
12650 * paragraph.C (getFontSettings): compare >= not just >
12651 (highestFontInRange): ditto
12654 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * paragraph.C: change several algorithm to be more appripriate for
12657 the problem domain. This is lookip in FontList and in the InsetList.
12659 2002-03-13 André Pönitz <poenitz@gmx.net>
12662 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12664 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12669 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12671 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12673 * Painter.C (display): anon helper function, adjust code for this
12675 (pixmap): remove function.
12677 * Painter.h: remove private display variable.
12679 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12681 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12683 * WorkArea.[Ch]: remove figinset_canvas cruft.
12685 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12687 * lyxtextclass.C (operator): add one item cache optimization.
12689 * bufferlist.h: doxy changes
12691 * bufferlist.C: ws changes
12693 * DepTable.[Ch] (ext_exist): place const in the right spot.
12695 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12697 (workAreaExpose): call resizeInsets when the with BufferView changes.
12698 (Dispatch): adjust for protectedBlank removal
12699 (specialChar): call updateInset if the insert went ok.
12701 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12702 specialChar instead.
12704 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12706 * BufferView.h: doxy change
12708 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12710 * lyxtextclass.C (operator[]): remove non-const version
12711 (defaultLayout): remove non-const version
12713 2002-03-12 Juergen Vigna <jug@sad.it>
12715 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12716 did resize the LyXText too.
12718 * buffer.C (readLyXformat2): set layout information on newly allocated
12721 * tabular.C (OldFormatRead): set layout information on the paragraph.
12723 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12725 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12727 2002-03-11 Juergen Vigna <jug@sad.it>
12729 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12731 (resizeCurrentBuffer): force also the insets to resize themselfes.
12732 (moveCursorUpdate): fixed up for InsetText.
12734 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12737 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12738 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12739 value of Dialogs::tooltipsEnabled().
12740 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12742 2002-03-08 Juergen Vigna <jug@sad.it>
12744 * BufferView_pimpl.C (updateInset): update inset inside inset also
12745 if it isn't inside theLockingInset().
12747 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12749 * buffer.C (asciiParagraph): redo some of the word and line length
12751 (getLists): look for Caption instead of caption.
12753 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12755 * buffer.C (Buffer): initialize niceFile to true
12757 (makeLinuxDocFile):
12758 (makeDocBookFile): make sure niceFile is true on exit
12760 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12762 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12764 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12766 * LyXSendto.C: remove.
12767 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12768 * lyx_gui.C: remove now-redundant comment.
12769 * ColorHandler.h: remove forward declaration of class WorkArea.
12770 * lyxfunc.C: remove #include "WorkArea.h".
12772 2002-03-07 Juergen Vigna <jug@sad.it>
12774 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12775 got moved away with the DEPM and also set the inset_owner always
12776 right which before could have been omitted.
12778 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12781 wanted layout is not found.
12783 2002-03-07 Juergen Vigna <jug@sad.it>
12785 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12787 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12789 * paragraph.C (breakParagraph): use default layout not layout of
12791 (Paragraph): clear ParagraphParameters.
12793 2002-03-06 Juergen Vigna <jug@sad.it>
12795 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12796 otherwise it would not be a valid lenght. Fixed a special case in
12797 the minipage compatibility read where we end the document with a
12800 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12801 was set as it could be 0 for InsetTexts first entry.
12803 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * paragraph.C (writeFile): if layout is empty write out
12806 defaultLayoutName().
12808 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12809 file without named layout we set layout to defaultLayoutName().
12811 2002-03-06 Juergen Vigna <jug@sad.it>
12813 * CutAndPaste.C (copySelection): set layout for new paragraph.
12815 * text.C (prepareToPrint): leave ERT inset left aligned
12816 (leftMargin): don't indent paragraphs inside ERT insets
12818 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * paragraph.C (breakParagraph): dont call clear do the work manually
12822 * paragraph.[Ch] (clear): remove function
12824 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * paragraph.C (Paragraph): dont call clear, the work has already
12829 * lyxtextclass.C (operator): assert if n is empty
12831 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12832 work manually instead.
12834 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12836 * BufferView_pimpl.C: protect selectionLost against text == 0
12838 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12840 * text.C (breakParagraph): fix a setting layout to '0' problem.
12842 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12844 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12845 final location of file, for the included files, and graphics.
12847 2002-03-05 Juergen Vigna <jug@sad.it>
12849 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12851 2002-03-04 Juergen Vigna <jug@sad.it>
12853 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12855 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12856 last column of multicolumn cells.
12857 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12859 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12861 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12862 file if it doesn't go to a temporary file.
12864 * buffer.C (sgmlOpenTag):
12865 (sgmlCloseTag): remove extra newline insertion.
12867 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * text.C (getRowNearY): comment out debug msg
12871 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * text2.C: first -> first_y
12875 * text.C (getRowNearY): add some attemts at a possible
12876 optimization, not working.
12878 * tabular.[Ch]: add BufferParams to several function so that newly
12879 created paragraph can be initialized to he default layotu for the
12882 * tabular-old.C (ReadOld): add buf->params to call of Init
12884 * screen.C: rename text->first to text->first_y
12886 * paragraph.C (breakParagraph): always set layout in the broken
12889 * lyxtextclass.C (Read): remove lowercase
12892 (delete_layout): ditto
12894 * lyxtext.h: rename first -> first_y
12896 * lyxlayout.C (Read): remove lowercase
12899 (obsoleted_by): ditto
12901 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12903 * buffer.C (insertErtContents): add params are to InsetERT
12904 (parseSingleLyXformat2Token): add code to check if a paragraphs
12905 layout really exist.
12906 (parseSingleLyXformat2Token): add params to several inset
12908 (asciiParagraph): remove lowercase, do the layout comparisons with
12911 * BufferView_pimpl.C (cursorNext): first -> first_y
12912 (resizeCurrentBuffer): first -> first_y
12913 (updateScrollbar): first -> first_y
12914 (scrollCB): first -> first_y
12915 (workAreaMotionNotify): first -> first_y
12916 (workAreaButtonPress): first -> first_y
12917 (checkInsetHit): first -> first_y
12918 (cursorPrevious): first -> first_y
12919 (cursorNext): first -> first_y
12920 (Dispatch): add buffer_->params to severl inset contructors
12922 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12924 * lyxlayout.C (Read): remove some debug info that I forgot.
12926 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12927 clean up the code slightly.
12928 (makeLinuxDocFile): ditto
12929 (makeDocBookFile): ditto
12931 * text2.C: layout as string
12933 * text.C: layout as string
12935 * paragraph_pimpl.C: layout as string
12937 * paragraph.[Ch]: layout as string
12939 * lyxtextclasslist.[Ch]: layout as string
12941 * lyxtextclass.[Ch]: layout as string
12943 * lyxtext.h: layout as string
12945 * lyxlayout.[Ch]: layout as string
12947 * lyx_cb.C: layout as string
12949 * bufferview_funcs.C: layout as string
12951 * bufferparams.C: layout as string
12953 * buffer.C: layout as string
12955 * LyXView.[Ch]: layout as string
12957 * LaTeXFeatures.[Ch]: layout as string
12959 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12961 * BufferView_pimpl.C: change current_layout to string, remove
12966 (workAreaButtonRelease): layout as string
12968 * BufferView2.C (unlockInset): adjust
12970 * vspace.C (asLatexCommand): use an explict temp variable.
12972 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12974 * Makefile.am: use FRONTEND_*
12976 2002-03-01 Juergen Vigna <jug@sad.it>
12978 * tabular.C (SetWidthOfMulticolCell): changed to something better
12979 I hope but still work in progress.
12980 (recalculateMulticolumnsOfColumn): renamed function from
12981 recalculateMulticolCells as it is more appropriate now.
12982 (SetWidthOfCell): calculate multicols better.
12984 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12986 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12988 * lyxfunc.C (processKeySym): print sequence also if it is
12989 `deleted' (complete)
12991 * kbsequence.C (print): print sequence even if it is deleted
12992 (complete would be a better word, actually).
12994 * lyxfunc.C (dispatch): print complete options after a prefix key
12996 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12998 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13000 * text2.C (setCharFont): eliminate setCharFont code duplication.
13002 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13004 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13005 LFUN_TABULAR_FEATURE (bug #177)
13007 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13009 * Makefile.am: remove figure.h
13011 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13013 * Bufferview_pimpl.C:
13025 * text2.C: remove #include "lyx_gui_misc.h".
13027 * LaTeX.C: added #include <cstdio>
13029 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13031 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13032 that the paragraph following this one can have.
13034 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13036 * vspace.C (asLatexCommand): fix bogus gcc warning
13038 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13040 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13042 * text2.C (setLayout): get rid of redundant code
13044 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13046 * text2.C (incDepth): make sure depth cannot be increased beyond
13049 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13051 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13052 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13054 * PainterBase.h (image):
13055 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13056 a LyXImage const *.
13058 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13062 * BufferView_pimpl.C:
13063 * BufferView_pimpl.h:
13083 * sp_spell.C: remove fig inset, and the crap house of
13084 cards that follows it
13086 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13091 * os2_errortable.h:
13092 * nt_defines.h: move .h into support/
13094 * vms_defines.h: remove
13096 * WorkArea.C: add space in debug output
13100 * buffer.C: add WITH_WARNINGS
13104 * bufferlist.C: s/retrive/retrieve/, add docs
13113 * chset.C: add docs
13115 * lyxgui.C: add ID to X error handler
13117 * lyxtestclass.c: fix typo
13119 2002-02-26 Juergen Vigna <jug@sad.it>
13121 * tabular_funcs.C (write_attribute): changed so that some default
13122 attributes are not written at all.
13123 (getTokenValue): set default values before trying to read the
13124 value so we have the return value always set as default if we don't
13125 find the token we search for.
13127 * tabular.C (Write): write bools as bools not as strings!
13129 2002-02-22 Juergen Vigna <jug@sad.it>
13131 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13132 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13134 * text.C (leftMargin): don't add an indent for paragraphs inside
13135 tabular cells (fix #208).
13137 2002-02-21 José Matos <jamatos@fep.up.pt>
13139 * tabular.C (docBook): fixed support for long tables.
13141 2002-02-20 Juergen Vigna <jug@sad.it>
13143 * text2.C (getFont): get the drawing font of the Inset if this
13144 paragraph is inside an inset (only important for InsetERT for now).
13146 * buffer.C (insertErtContents): use new lanugage params in ERT
13149 * CutAndPaste.C: commenting out seemingly uneeded code.
13151 2002-02-19 Allan Rae <rae@lyx.org>
13153 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13154 Iterators might be simple to use but they also get invalidated.
13155 (removeAutoInsets): renamed saved cursor tracking variables and added
13156 some comments to clarify what everything does.
13158 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13165 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13166 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13169 * vc-backend.h: remove #include "support/syscall.h"
13173 * converter.C: rearrange #includes in Lars' approved fashion.
13175 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13176 forward declare class Timeout in the header file.
13178 * XFormsView.C: changes due to the above.
13180 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13181 similar to LyXView.
13183 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13184 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13186 2002-02-18 José Matos <jamatos@fep.up.pt>
13188 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13191 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13193 * a lot of small ws changes
13194 * add a lot of using std::XXX
13195 * use std construcs some places where approp.
13196 * use some exisint stuff from lyxfunctional where approp.
13197 * Make file changes to use partial linking (lets test this now...)
13199 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13203 remove #include "support/syscontr.h" as it's redundant. Always has been.
13211 change Systemcalls::System to Systemcalls::Wait and
13212 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13213 No change of functionality, just reflects the stripped down Systemcalls
13216 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13218 * debug.[Ch]: add a GRAPHICS type to the enum.
13220 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13222 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13224 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13227 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13229 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13230 match the changes below.
13232 * text2.C (toggleInset): if there is not editable inset at cursor
13233 position, try to see if cursor is _inside_ a collapsable inset
13236 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13238 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13239 document menu has a nice checkbox
13241 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13243 * lyxlength.C (asLatexString): change PW to output as percent of
13246 * lengthcommon.C: change '%' to 't%'
13248 * lyxfunc.C (dispatch): a few comments from Martin
13250 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13254 * BufferView_pimpl.h:
13255 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13258 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13260 * vspace.C (inPixels): fix compiler warning
13262 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13264 * lyxfunc.C (getStatus): fix status message for disabled commands.
13266 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13268 * BufferView_pimpl.C: fix crash on close buffer
13269 during selection (#227)
13271 2002-01-27 Herbert Voss <voss@lyx.org>
13273 * buffer.C: link old Figure to new graphic inset
13275 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13277 * FontLoader.C (getFontinfo): Change the latex font names in order
13278 to match the names of type1inst.
13280 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13282 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13284 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13285 (extchanged): ditto
13287 (remove_files_with_extension): ditto
13288 (remove_file): ditto
13291 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13292 document is smaller than the work area height. Do not initialize
13293 static variables to 0.
13295 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13297 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13299 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13300 LFUN_LAYOUT_PARAGRAPHS.
13302 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13303 tabular. It is possible to provide a possible cell, which will
13304 typically be the actcell from the corresponding insettabular
13306 * lyxfunc.C (getStatus): small cleanup; disable
13307 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13310 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13312 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13314 * paragraph.C (startTeXParParams):
13315 (endTeXParParams): new methods. The LaTeX code to
13316 start/end paragraph formatting
13317 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13318 empty (fixes bug #200)
13320 * vspace.C (inPixels): adapt to the change below
13321 (inPixels): [later] more cleanups (remove unused variables)
13323 * lyxlength.C (inPixels): change to use a width and a height as
13326 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13328 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13329 Replaced with \paperwidth
13331 * DepTable.C (insert): add std:: qualifier
13333 2002-01-18 Allan Rae <rae@lyx.org>
13335 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13338 * text.C (drawInset): Turned out I didn't know enough about how
13339 rebreaking worked. This fixes most of the redraw problems. I see
13340 an occasional cursor trail when a line is broken now and the cursor
13341 placement can seem out by a few pixels also after a rebreak.
13343 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13345 * buffer.C (parseSingleLyXformat2Token): update because minipage
13346 width is now a LyXLength
13348 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13350 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13353 2002-01-17 Juergen Vigna <jug@sad.it>
13355 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13357 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13358 is set correctly and the inset is updated correctly.
13360 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13362 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13363 the beginning of the loop.
13365 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13367 * lyxrc.C: improve help for use_scalable_fonts
13369 2002-01-17 Allan Rae <rae@lyx.org>
13371 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13373 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13375 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13376 make sure to set their inset_owner to the right value (bug #171)
13378 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13381 * DepTable.C: Implement mtime checking to reduce time spent doing
13384 2002-01-16 Juergen Vigna <jug@sad.it>
13386 * tabular.C (GetAdditionalHeight): one of error fixed.
13388 * lyxrc.C (output): small fix in writing use_pspell.
13390 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13392 * sp_base.h: #include LString.h
13394 2002-01-16 Allan Rae <rae@lyx.org>
13396 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13397 Can someone check this please?
13399 * text.C (drawInset): It was possible that p.row would be removed by
13400 breakAgainOneRow upsetting a few other settings. There may be another
13401 small tweak possible by setting need_break_row = 0 when p.row has been
13402 removed but I don't know enough about the logic here.
13404 2002-01-15 Allan Rae <rae@lyx.org>
13406 * text.C (insertChar): removed conditional truism.
13408 * BufferView2.C (removeAutoInsets): More tweaks.
13409 cur_par_prev could be a stray pointer. Check for trailing empty line
13410 in case last line was cur_par and only had an error inset on it.
13412 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13414 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13417 * vc-backend.C (most methods):
13418 * exporter.C (Export):
13419 * converter.C (convert):
13421 * LyXSendto.C (SendtoApplyCB):
13422 * lyxfunc.C (dispatch):
13426 * lyx_cb.C (AutoSave):
13428 * BufferView_pimpl.C (MenuInsertLyXFile):
13429 * buffer.C (runChktex): use Buffer::filePath().
13431 * buffer.h: rename filename to filename_; rename filepath to
13432 filepath_ and make it private
13433 (filePath): new method
13435 * buffer.C (writeFile): use fileName()
13438 * lyx_main.C (init): fix starting of LyX when the binary is a
13439 link from so,ewhere else.
13441 * minibuffer.C: include <cctype> for isprint
13443 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13445 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13446 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13447 name clash with InsetCollapsable's width function.
13449 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13451 * lastfiles.C: include <iterator>
13453 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13455 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13458 * buffer.C (makeLaTeXFile): ditto.
13459 Also make loop operation more transparent.
13461 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13463 * ToolbarDefaults.C: remove trailing comma closing namespace.
13465 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13467 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13470 * trans.C (Load): comment out unused variable, allowed.
13472 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13474 * minibuffer.[Ch] (append_char): new method to recieve input from the
13475 drop-down completion browser. If a key was pressed, then recieve this
13476 char and append it to the existing string.
13477 (peek_event): modify the positioning data passed to the completion
13478 browser so that it can be placed above the minibuffer rather than below.
13479 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13481 * LyXAction.C (init): alloe error-next for readonly documents.
13483 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13486 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13488 * bufferlist.C (readFile): create the buffer _after_ checking that
13491 * lyxfunc.C (verboseDispatch): fix handling of arguments
13493 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13495 * lyxrc.C: use string::erase() instead of initializing to "".
13498 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13500 * BufferView_pimpl.h:
13501 * BufferView_pimpl.C:
13504 * text2.C: tell X when we have made a selection for copying
13506 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13508 * BufferView_pimpl.C (MenuInsertLyXFile):
13509 * lyxfunc.C (menuNew):
13511 (doImport): add shortcuts to directory buttons
13513 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13516 * lyxfunc.C (setStatusMessage):
13517 (getStatusMessage): new methods
13518 (getStatus):use setStatusMessage instead of setErrorMessage
13519 (dispatch): when function is disabled, set error message here
13520 [instead of in getStatus previously]
13522 * BufferView_pimpl.C (workAreaButtonRelease): update
13523 toolbar/menubar here too.
13525 2002-01-13 Allan Rae <rae@lyx.org>
13527 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13528 Now seems indestructible. Remaining task is to audit all other
13529 code affected by deleteEmptyParagraphMechanism. One small quirk
13530 left is that an empty document with an error in the preamble can
13531 be made to report an error but no error box appears. I don't know
13533 (removeAutoInsets): Improved comments.
13535 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13538 * Thesaurus.C: update for Aiksaurus 0.14
13540 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13542 * text2.C (firstParagraph): removed member function, all uses
13543 replaces with ownerParagraph
13544 (redoParagraphs): here
13545 (updateInset): here
13546 (toggleAppendix): here
13547 * BufferView2.C (insertErrors): here
13548 (setCursorFromRow): here
13550 2002-01-13 Allan Rae <rae@lyx.org>
13552 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13553 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13554 There is still a way to segfault this although you may have to do this
13555 multiple times: Have an InsetERT with an unknown command in it.
13556 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13557 <down-arrow>, <Enter> again, View->DVI, BANG!
13559 * text2.C (setCursor):
13560 (deleteEmptyParagraphMechanism):
13561 * lyxtext.h (setCursor):
13562 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13563 Making use of the return value may help fix other bugs.
13565 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13567 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13569 * LyXView.C (updateMenubar): call MenuBar::update here
13570 (updateToolbar): but not here
13571 (showState): do not update toolbar/menubar
13573 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13574 should need to care about that.
13576 * lyxfunc.C (verboseDispatch): simplify a bit
13577 (getStatus): have a version which takes a pseudoaction, and
13578 another which requires a (kb_action,string).
13580 * LyXAction.C (retrieveActionArg): make it work also when action
13581 is not a pseudo-action.
13582 (getActionName): simplify a bit
13585 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13587 * lyxfunc.C (verboseDispatch): new families of methods with
13588 several ways to specify a command and a bool to indicate whether
13589 the command name and shortcut should be displayed in minibuffer
13590 (eventually, we could extend that to a finer bitmask like
13591 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13592 (dispatch): the pristine dispatch command which just, well,
13593 dispatchs! Note it still sets its result to minibuffer; I'm not
13596 * lyxfunc.h: remove setHintMessage
13598 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13600 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13602 * BufferView_pimpl.C (specialChar): delete new inset if we have
13603 not been able to insert it.
13605 * kbmap.C: revert to using int instead of kb_action, since all we
13606 are dealing with is pseudo-actions.
13608 * LyXAction.C (searchActionArg): change to return int instead of
13609 kb_action, since the result is a pseudoaction.
13611 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13613 * buffer.C (insertErtContents): Fix (partially) the font bug.
13615 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13617 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13618 as the other one is broken on my machine!
13620 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13623 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13625 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13627 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13628 reflect their actual use. Provide compatibility code for older lyxrc
13631 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13633 change names of popup font variables in line with the changes to lyxrc.C
13635 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13637 * buffer.C (asciiParagraph): avoid outputing a word twice after
13640 * lyxrc.C (getDescription): document that document_path and
13641 template_path can be empty.
13643 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13645 * LaTeXFeatures.C (getMacros):
13646 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13648 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13650 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13652 (getPackages): rename feature "floats" to "float". Use an array to
13653 iterate over 'simple' features (i.e. just a \usepackage). Add
13654 handling of "amsmath" (renamed from "amsstyle").
13656 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13658 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13661 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13663 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13664 FuncStaus::FuncStatus & FuncStaus::some_method().
13666 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13668 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13669 of the func_satus stuff. Edited and massaged in various ways by
13672 * lyxfunc.C (getStatus): use FuncStatus
13674 2002-01-08 Juergen Vigna <jug@sad.it>
13676 * text.C (nextBreakPoint): use function Inset::isChar().
13678 * paragraph.C (TeXOnePar): use function
13679 Inset::forceDefaultParagraphs.
13681 * buffer.C (latexParagraphs): use function
13682 Inset::forceDefaultParagraphs.
13684 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13686 * lyx_gui.C (init): set the style of the menu popups to
13687 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13689 2002-01-07 Juergen Vigna <jug@sad.it>
13691 * text.C (setHeightOfRow): small fix
13692 (prepareToPrint): don't look at alignment if we don't have the place
13695 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13697 * box.C: New file. Move the Box methods and functions out of box.h,
13698 following Lars' suggestion.
13700 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13702 * box.h: #include "support/LOstream.h", needed for inlined function.
13705 * lyxtextclasslist.C: added some using std declarations.
13707 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13709 * box.h: make signed dimensions to allow insets wider than
13710 the screen (bug #162)
13712 * BufferView_pimpl.C: add some insetHit debug
13714 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13716 * vc-backend.C: add FIXME
13718 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13720 * lyxfunc.C (getStatus): enable code for showing math font status
13723 2002-01-07 Juergen Vigna <jug@sad.it>
13725 * text.C (nextBreakPoint): removed debug output not needed anymore.
13727 2002-01-06 Juergen Vigna <jug@sad.it>
13729 * text.C (nextBreakPoint): fixed up this function we had this bug
13730 since ever but now hopefully we break row better.
13731 (insertChar): we have to check if an inset is the next char as it
13732 could now happen that a large inset is causing a break.
13734 2002-01-05 Juergen Vigna <jug@sad.it>
13736 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13737 if it doesn't like to be drawed.
13739 2002-01-04 Juergen Vigna <jug@sad.it>
13741 * BufferView2.C (lockInset): forgot to set a cursor.
13743 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13745 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13747 * FormMathsPanel.C:
13750 * form_maths_panel.C:
13751 * form_maths_panel.h:
13752 * form_maths_panel.fd: implemented sub- and super- buttons in math
13755 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13756 (or ^ space) to be used as in TeX (req'd by André).
13758 * lyxfunc.C: Allow ^ and _ again to be used both as
13759 super/subscript (mathed) and as themselves (in text).
13761 2002-01-03 Allan Rae <rae@lyx.org>
13763 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13764 "LyX" or the filename of the current buffer if it has one. This is a
13765 modified form of John Levon's patch.
13767 * XFormsView.C (setWindowTitle): also set icon title.
13769 * LyXView.h (setWindowTitle): signature changed.
13770 * XFormsView.h (setWindowTitle): ditto.
13772 2002-01-02 Juergen Vigna <jug@sad.it>
13774 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13776 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13778 * screen.C (topCursorVisible): introduce a temp var for
13779 text->cursor.row(), handle the case where this row is null. (kindo
13782 * text2.C (setCursor): add a couple of asserts.
13784 * paragraph.h (inset_iterator): add -> operator
13786 * paragraph.[Ch] (autoDeleteInsets): remove member function
13788 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13789 cursor pos correctly and handle inset deletion by itself.
13790 (insertErrors): move iterator declaration out of for expression
13792 * lyxtextclass.C: add <algorithm>
13794 * Makefile.am: added the new files to sources, removed layout.C
13796 * layout.C: removed file
13798 * layout.h: remove LYX_DUMMY_LAYOUT
13800 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13804 * lyxtextclass.[Ch]:
13805 * lyxtextclasslist.[Ch]: new files
13807 * include order changes to a lot of files, also changes because of
13810 2001-12-27 Juergen Vigna <jug@sad.it>
13812 * buffer.C (asciiParagraph): more fixes.
13814 * tabular.C (ascii): make ascii export support export of only the
13815 data separated by a column-delimiter.
13816 (ascii): better support for ascii export.
13818 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13820 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13822 * tabular_funcs.C: use a "using std::getline" instead of the
13823 previous fix from Angus (necessary for cxx + lyxstring)
13825 2001-12-24 Juergen Vigna <jug@sad.it>
13827 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13829 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13830 problems. First check a minipage also if we have some ert-contents
13831 (not only on par->size(), second set the right depth of the paragraph
13832 on the relink to the root-paragraph-list!
13834 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13835 which then did not anymore update the main paragraphs on undo/redo!
13837 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13839 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13840 code. Support all font-changing funcs (even those which are not in
13841 menu currently). Support for reporting font settings in
13842 mathed (disabled until Andre provides a function on mathed's side).
13844 * func_status.h (toggle): small helper function to set toggle
13847 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13849 * tabular_funcs.C: getline -> std::getline
13851 2001-12-21 Juergen Vigna <jug@sad.it>
13853 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13854 accessed and could be 0 (I couldn't generate this but it seems
13857 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13859 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13860 * tabular_funcs.h: here and include iosfwd
13862 2001-12-20 Juergen Vigna <jug@sad.it>
13864 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13865 inside inset but undo_par was.
13867 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13869 * Thesaurus.C: always include <config.h> in sources.
13873 * box.h: do not include <config.h> in header files
13875 * text.C (paintLastRow): remove unused variable
13877 * text.C (transformChar):
13879 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13881 * Painter.C (text):
13882 * font.C (width): rewrite to use uppercase() instead of
13885 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13887 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13889 * lyxfind.C: clean up of find failure position change
13891 2001-12-20 Juergen Vigna <jug@sad.it>
13893 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13895 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13896 (TeXRow): added to LaTeX a single tabular row.
13897 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13898 (Latex): simplified and finally good LT-h/f support.
13899 (various_functions): just small adaptions for LT-h/f support.
13901 * tabular_funcs.[hC]: added and moved here all not classfunctions
13904 2001-12-19 Juergen Vigna <jug@sad.it>
13906 * tabular.[Ch]: better support for longtabular options (not finished
13909 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13911 * text.C (paintLastRow): use the label font instead of the font of
13912 the last character to compute the size of *_BOX. This makes more
13913 sense and avoids a crash with empty paragraphs.
13914 Use Painter::rectangle to draw EMPTY_BOX.
13916 2001-12-19 Juergen Vigna <jug@sad.it>
13918 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13919 the paragraphs if the replaced paragraph is not the first one!
13920 Tried to delete not used paragraphs but does not work yet so for
13921 now it's inside #ifdef's and by default off!
13923 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13925 * MenuBackend.C: include "lyx_main.h" instead of declaring
13926 lastfiles (actually was declared as LastFiles* instead of a
13929 2001-12-17 Juergen Vigna <jug@sad.it>
13931 * tabular.C (AppendColumn): applied John's fix
13933 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13937 * BufferView_pimpl.h:
13938 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13941 * box.h: new start of class for above
13943 * lyxfunc.C: ignore space-only minibuffer dispatches.
13944 Show the command name when it doesn't exist
13946 * minibuffer.C: don't add empty lines to the history
13948 * minibuffer.C: add a space on dropdown completion
13950 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13952 * text.C: fix line above/below drawing in insets
13954 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13956 * lyxlength.C (LyXLength): Initialize private variables.
13958 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13960 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13961 when inserting error insets.
13963 2001-12-13 Juergen Vigna <jug@sad.it>
13965 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13966 actually sometimes the before-paragraph.
13967 (setUndo): don't clear the redostack if we're not actually undoing!
13969 2001-12-06 Juergen Vigna <jug@sad.it>
13971 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13972 and fixed redoing of main paragraph, so we can use it now ;)
13974 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13976 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13978 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13981 2001-12-13 André Pönitz <poenitz@gmx.net>
13984 * undo_func.C: minor cleanup
13986 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13988 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13989 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13990 font in urw-fonts package which is marked as -urw-fontspecific and
13991 does not work (incidentally, changing the encoding in the
13992 fonts.dir of this package to -adobe-fontspecific fixes the
13995 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13996 is a crash when undoing first paragraph (Juergen, please take a
13997 look). THis does not mean the undo fix is wrong, just that it
14000 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14001 the (Paragraph*) version when needed instead of duplicating the
14004 * text.C (workWidth): use Inset::parOwner to find out where the
14005 inset has been inserted. This is a huge performance gain for large
14006 documents with lots of insets. If Inset::parOwner is not set, fall
14007 back on the brute force method
14009 * paragraph_pimpl.C (insertInset):
14010 * paragraph.C (Paragraph):
14011 (cutIntoMinibuffer): set parOwner of insets when
14012 inserting/removing them
14014 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14016 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14022 * mathed/formulabase.C:
14023 * mathed/math_cursor.[Ch]:
14024 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14027 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14029 * lyxlength.[Ch] (operator!=): new function
14031 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14033 * text.C (workWidth): use Inset::parOwner to find out where the
14034 inset has been inserted. This is a huge performance gain for large
14035 documents with lots of insets. If Inset::parOwner is not set, fall
14036 back on the brute force method
14038 * paragraph_pimpl.C (insertInset):
14039 * paragraph.C (Paragraph):
14040 (cutIntoMinibuffer): set parOwner of insets when
14041 inserting/removing them
14043 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14045 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14047 * tabular-old.C (getTokenValue):
14048 * tabular.C (getTokenValue):
14049 (write_attribute): new versions for LyXLength
14050 (everywhere): adjust the use of widths
14052 * tabular.h: change the type of widths from string to LyXLength
14054 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14056 * paragraph.C: fixed missing line number count when exporting
14057 Environments to LaTeX file
14059 * buffer.C: added informational message for checking line numbers.
14061 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14063 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14064 paragraph, do the 'double space' part, but not the 'empty
14067 * text.C (workWidth): small optimization
14068 (getLengthMarkerHeight): use minimal size for negative lengths.
14070 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14072 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14074 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14076 2001-12-11 André Pönitz <poenitz@gmx.net>
14079 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14081 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14083 * text2.C: keep selection on a setFont()
14085 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14087 * lyx_cb.C: another bv->text misuse, from insert label
14089 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14092 * kbsequence.C: re-instate nmodifier mask
14094 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14096 * lyx_main.h: make lyxGUI private.
14098 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14100 * lyxfind.C: place the cursor correctly on failed search
14102 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14104 * text.C (getLengthMarkerHeight): for small heights, the arrows
14105 are not always on top/bottom of the text
14106 (drawLengthMarker): smaller arrows; take the left margin in
14107 account; draw also vfills.
14109 (paintLastRow): remove special code for vfill and standard spaces,
14110 since everything is handled in drawLengthMarker now.
14112 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14114 * buffer.C (insertErtContents): try to handle font and language
14115 interaction a bit better.g
14117 * ColorHandler.C (updateColor): change the hash to cover the whole
14118 LColor enum, ws cleanup
14119 (getGCLinepars): ditto
14120 (getGCLinepars): only lookup in the linecache once.
14122 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14124 * iterators.C (operator++): Make the iterator more robust
14126 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14128 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14130 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14133 * text.C: better added space drawing
14135 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14138 * BufferView2.C: fix layout combo update on inset unlock
14140 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14142 * Makefile.am: don't compile unused files
14144 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14148 * LyXAction.C: remove old LFUN_LAYOUTNO
14150 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14152 * paragraph_pimpl.h:
14153 * paragraph_pimpl.C: isTextAt() doesn't need font param
14155 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14158 * lyxlex.C: little cleanup
14160 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14162 * BufferView_pimpl.C: fix insertAscii for insets
14164 2001-12-05 Juergen Vigna <jug@sad.it>
14166 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14167 set the right font on the "multi" paragraph paste!
14169 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14175 * lyxlength.C: remove out-commented code.
14177 * BufferView_pimpl:
14191 * vc-backend.C: change "while(" to "while ("
14193 * lyxlength.[Ch]: add zero function to check if length is zero or
14195 * lyxgluelength.C: use it
14197 2001-12-05 Allan Rae <rae@lyx.org>
14199 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14200 Works for 2.95.3, from what I understand of Garst's reports this should
14201 work for other g++ versions. We're screwed if the abs(int) definition
14202 changed between bugfix releases of gcc.
14204 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14206 * text.C: fix chapter label offset !
14208 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14211 * text.C: fix hfill at end of line, clean up
14213 2001-12-04 Juergen Vigna <jug@sad.it>
14215 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14216 that we force an update of the inset and it's owners if neccessary.
14218 2001-12-03 Juergen Vigna <jug@sad.it>
14220 * text.C (rowLast): simplified code
14222 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14224 * lyxfunc.C: fix show options on timeout
14226 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14228 * screen.C (topCursorVisible): scroll half a page when the cursor
14229 reached top of bottom of screen
14231 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14233 * minibuffer.C: deactivate on loss of focus
14235 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * vspace.[Ch] (operator!=): add operator.
14239 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14241 * BufferView_pimpl.C: refuse to open an inset when
14242 there's a selection.
14244 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14246 * BufferView_pimpl.C: allow to click on RHS of full row insets
14248 2001-11-30 Juergen Vigna <jug@sad.it>
14250 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14251 insets for undo reasons.
14253 2001-11-28 André Pönitz <poenitz@gmx.net>
14255 * vspace.[Ch]: cosmetical changes
14257 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14267 * kbsequence.C: part re-write of old kb code
14270 * WorkArea.C: remove Lgb_bug_find_hack
14272 2001-11-30 José Matos <jamatos@fep.up.pt>
14274 * buffer.C (makeDocBookFile): add a comment to point a hack.
14275 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14276 Fixed a double write of labels.
14278 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14281 * LaTeX.h Fixed bug in LaTeX class where it would not
14282 re-run latex if no depfiles were changed, but the .dvi was removed.
14284 2001-11-28 André Pönitz <poenitz@gmx.net>
14286 * all the files from the change on 2001/11/26:
14287 use lyx::layout_type instead of LyXTextClass::size_type
14288 use lyx::textclass_type instead of LyXTextClassList::size_type
14290 2001-11-29 Juergen Vigna <jug@sad.it>
14292 * text.C: added support for paragraph::isFreeSpacing()
14294 * buffer.C: same as above
14296 * paragraph.h: inserted isFreeSpacing() function to enable
14297 FreeSpacing inside InsetERT.
14299 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14300 of the paragraph's in the cut/copy buffer to 0!
14302 * text2.C (removeRow): remove the assert as it can!
14304 * lyxtext.h: added helper function firstRow returning firstrow and
14305 made firstrow private again.
14307 * BufferView2.C (lockInset): don't relock if we're already locked!
14309 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14310 the only paragraph.
14311 (removeRow): added Assert::(firstrow)
14313 * debug.C: forgot to add INSETTEXT here.
14315 2001-11-28 Juergen Vigna <jug@sad.it>
14317 * sp_spell.C (initialize): changed error text to more general
14318 spellchecker command use (not only ispell!)
14320 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14322 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14324 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14326 * vspace.C: initialise lyxgluelength on failure
14328 2001-11-28 Allan Rae <rae@lyx.org>
14330 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14331 declaration & definition that looks like a function declaration.
14333 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14335 * BufferView2.C (copy):
14336 (copyEnvironment): do not clear the selection when doing a copy.
14338 * text.C (paintFirstRow): compilation fix
14340 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14342 * tabular.C (Latex): correct line count when writing latex.
14344 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14346 * paragraph_pimpl.h:
14347 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14350 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14354 * LColor.C: change vfillline->added_space
14356 * text.C: add markers and text for added space
14358 * vspace.C: fix comment
14360 2001-11-28 André Pönitz <poenitz@gmx.net>
14362 * paragraph.C: whitespace changes
14363 * all the other files from the change on 2001/11/26:
14364 change *::pos_type into lyx::pos_type
14366 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14368 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14369 language of the document when inserting error insets.
14371 2001-11-26 André Pönitz <poenitz@gmx.net>
14373 * BufferView_pimpl.[Ch]:
14381 * paragraph_pimpl.[Ch]:
14384 * text2.C: reduce header dependencies, introduce type for positions
14386 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14388 * <various>: change to use Alert.h
14390 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14392 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14393 when encountering an unknown token.
14394 (readLyXformat2): Show an error message if there were unknown tokens.
14396 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14399 * BufferView_pimpl.C:
14403 * text2.C: use par->isInset()
14405 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14407 * paragraph_pimpl.h:
14408 * paragraph_pimpl.C: cleanup
14410 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14412 * text2.C (removeRow):
14413 * text.C (setHeightOfRow): remove useless (and costly) call to
14416 2001-11-20 Allan Rae <rae@lyx.org>
14418 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14419 Now need Inset*::checkInsertChar() to return true for appropriate
14420 cases so that the characters in the minibuffer will actually be
14423 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14425 * text.C: change the order of the includes.
14426 (workWidth): initialize it at once.
14427 (workWidth): make maxw unsigned
14428 (setHeightOfRow): remove unused variable (inset)
14429 (selectSelectedWord): remove unused variable (inset)
14430 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14432 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14434 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14435 server is not running.
14437 (closeConnection): add debug info when server is disabled.
14439 * ColorHandler.C (getGCForeground): send debug message to GUI
14442 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14444 * kbmap.C (bind): modify because return conventions of
14445 kb_sequence::parse have changed.
14447 * kbsequence.C (parse): only ignore spaces and not any stupid
14448 control character. This avoids tests like s[i] <= ' ', which are
14449 guaranteed to fail with 8bit characters and signed chars.
14450 Change return code to string::npos when there have been no error
14451 (0 was a bad idea when error is at first character)
14453 2001-11-14 José Matos <jamatos@fep.up.pt>
14456 * buffer.C (simpleDocBookOnePar): removed unused argument.
14458 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14460 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14461 insets which are part of a word. Paragraph::isLetter takes care of
14462 that now. Use Paragraph::isInset to identify insets.
14463 (selectSelectedWord): do not test for hyphenation break.
14465 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14466 that protected spaces are considered as spaces.
14468 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14471 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14474 * lyxserver.C: fix it. and small cleanup.
14476 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14478 * BufferView_pimpl.C: use inline helpers
14481 * LaTeXFeatures.C: fix typos
14484 * Spacing.C: move spacing_string into class
14486 * ToolbarDefaults.C: move stuff into namespace anon
14488 * layout.h: update enum
14490 * lyxfunc.C: use better debug
14492 * minibuffer.h: fix typo
14496 * WorkArea.C: add and use Debug::WORKAREA
14500 * text2.C: code re-organisation, inline helpers
14502 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14504 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14505 std::vector.empty().
14507 2001-11-09 Allan Rae <rae@lyx.org>
14509 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14510 '\n's after tables. Tabular and ERT inset work now makes this no
14513 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14516 * minibuffer.C: fix crash, improve drop-down completion
14518 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14521 * lyxserver.C: invalidate fd's when doing endPipe()
14523 2001-11-08 José Matos <jamatos@fep.up.pt>
14525 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14526 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14529 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14531 2001-11-07 José Matos <jamatos@fep.up.pt>
14534 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14537 * buffer.C (sgmlOpenTag):
14538 * buffer.C (sgmlCloseTag): removed debug info.
14540 * buffer.h (sgmlOpenTag):
14541 * buffer.h (sgmlCloseTag): made public.
14543 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14545 * buffer.C (saveParamsAsDefaults):
14546 * lyx_cb.C (MenuLayoutSave): remove
14548 * LyXAction.C (init):
14550 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14552 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14554 * buffer.C (setPaperStuff): removed from here...
14556 * bufferparams.C (setPaperStuff): ... and moved there.
14558 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14562 * XFormsView.C: add support for drop-down completion
14564 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14566 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14569 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14571 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14574 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14576 * lyx_main.C: change ref to known bugs
14578 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14580 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14581 to work around older babel problems.
14583 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14585 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14587 2001-10-24 Juergen Vigna <jug@sad.it>
14589 * tabular-old.C (ReadOld): below variable changes reflected.
14591 * tabular.[Ch]: added ltType struct for longtable header/footer
14592 defines and changed all instances where they are used. Added
14593 future support for double top/bottom rows.
14595 2001-10-24 José Matos <jamatos@fep.up.pt>
14597 * buffer.h (docbookHandleCaption):
14598 * buffer.C (docbookHandleCaption): removed unused function.
14599 (makeDocBookFile): moved docbook supported version to v4.1.
14601 2001-10-24 José Matos <jamatos@fep.up.pt>
14604 * tabular.C (docbookRow): new function to export docbook code of a row.
14605 (DocBook): now honors the longtable flags.
14607 2001-10-23 José Matos <jamatos@fep.up.pt>
14610 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14611 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14613 * buffer.C (makeLinuxDocFile):
14614 (makeDocBookFile): reworked the preamble, more clean, and with
14615 support for lyx defined entities. Changed the document declaration
14616 to be more XML friendly.
14618 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14619 if we need to output XML that should be done with a filter.
14621 2001-10-22 Juergen Vigna <jug@sad.it>
14623 * sp_pspell.h (class PSpell): add alive function needed in the
14624 controller to see if the spellchecker could be started.
14626 2001-10-22 Juergen Vigna <jug@sad.it>
14628 * buffer.C (insertStringAsLines): modify the font for inserting
14629 chars in certain conditions by calling checkInsertChar(font).
14631 2001-10-19 Juergen Vigna <jug@sad.it>
14633 * text.C (workWidth): use getRow instead of wrong algorithm.
14634 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14636 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14641 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14643 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14645 * text.C (workWidth): do not search for the exact row when
14646 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14647 optimization for big documents.
14649 2001-10-18 Juergen Vigna <jug@sad.it>
14651 * text.C (workWidth): new function with added Inset * parameter.
14653 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14655 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14657 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14658 change return type of getColumnNearX.
14661 * text.C (changeRegionCase): use uppercase/lowercase instead of
14664 (rightMargin): simplify code by factoring out the uses of
14669 (appendParagraph): use Paragraph::size_type
14671 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14673 * vspace.C (asLatexString): add a missing break
14675 2001-10-15 Herbert Voss <voss@perce.de>
14677 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14679 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14681 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14684 2001-10-10 André Pönitz <poenitz@gmx.net>
14686 * lyxfunc.C: removed greek_kb_flag.
14688 2001-10-10 Herbert Voss <voss@perce.de>
14690 * lyx_main.C: delete global string help_lyxdir.
14692 2001-10-09 Herbert Voss <voss@perce.de>
14694 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14696 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14698 * lyx_main.C: added global string help_lyxdir.
14700 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14702 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14704 * lyxrc.C (set_font_norm_type): support iso8859-4
14706 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14708 * LaTeX.C (deplog): add another regex for MikTeX
14710 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14712 * lyxrc.C (set_font_norm_type): support iso8859-3
14714 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14716 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14718 * LaTeXFeatures.C: remove special case of french and index
14720 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14721 before \begin{document}). This solves several incompatibilities.
14723 2001-10-03 Garst Reese <reese@isn.net>
14725 * lyx_cb.C: change CheckTex error msg.
14727 2001-10-03 José Matos <jamatos@fep.up.pt>
14729 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14731 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14733 * .cvsignore: update
14735 * lyx_main.C (commandLineVersionInfo): use new style version info.
14737 * buffer.C (writeFile):
14739 (makeLinuxDocFile):
14740 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14742 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14744 * version.h: update to use stuff in version.C
14746 * version.C.in: new file. Contains version information determined
14747 at compile time. This is a merging of version.h and
14750 2001-10-03 Juergen Vigna <jug@sad.it>
14752 * BufferView_pimpl.C (update): don't change "dirty" status in
14755 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14757 * WorkArea.C (c-tor): re-position version string slightly.
14759 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14761 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14762 revert to previous code.
14764 WorkArea.[Ch]: (show, destroySplash): methods removed.
14766 WorkArea.C: rework code so that it's an amalgam of the codes before and
14767 after the splash screen was moved to WorkArea.
14769 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * vspace.C (inPixels):
14775 * buffer.C (insertStringAsLines):
14776 (asciiParagraph): fix types to be large enough
14778 * lyxlex_pimpl.h: change member status from short to int
14780 * layout.h: fix type of endlabeltype
14783 * kbsequence.C (parse): change return type to string::size_type
14785 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14788 * Bullet.C (bulletSize):
14789 (bulletEntry): do not use short ints as parameters
14791 * BufferView2.C (insertLyXFile): change a char to an int.
14793 * WorkArea.C (WorkArea): remove unneeded floats in computation
14795 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14797 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14799 * paragraph.C (asString): Do not ignore newline/hfill chars when
14800 copying to the clipboard.
14802 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14804 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14805 after a multi-line inset.
14807 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14809 * paragraph.C (validate): Set NeedLyXFootnoteCode
14811 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14813 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14814 and decrease-error to decrease.
14816 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14818 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14819 it more readable (should be equivalent)
14821 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14823 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14825 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14827 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14828 of a cursor (row, etc.) after a character has been deleted
14829 (deleteEmptyParagraphMechanism): call the method above on _all_
14830 cursors held by the LyXText when a double space has been
14833 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14835 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14837 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14839 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14840 background. Use greyOut() and the new show() methods to toggle between
14841 the foreground and background. Add code to remove the splash after
14842 its initial showing.
14844 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14845 (create_forms): no longer call Dialogs::showSplash.
14847 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * .cvsignore: add version_info.h
14851 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14853 * version_info.h.in: new file
14855 * Makefile.am: add version_info.h.in
14857 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14858 version_info.h instead of VERSION_INFO
14860 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14862 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14863 The ERT inset now returns string().
14865 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14867 * lyxtext.h, text.C (selectNextWord): renamed as
14868 selectNextWordToSpellcheck.
14870 * text.C (selectNextWordToSpellcheck): Modified to not select
14871 words inside an ERT inset.
14873 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14875 * lyx_cb.C (MenuLayoutSave): change a bit the question
14877 * sp_base.h: include <sys/types.h>
14879 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14881 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14883 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14885 * several files: fix typos in user-visible strings
14887 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14889 * text2.C (pasteSelection): do not set the selection, since it
14890 will be cleared later. Actually, the intent was to fix the way the
14891 selection was set, but I figured rmoving the code was just as good.
14893 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14895 * FontLoader.C (available): Check if font is available without
14898 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14900 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14902 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14904 * lyxrc.[Ch]: added display_graphics variable and associated code.
14906 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14908 * bufferparams.C (hasClassDefaults): new method. Returns true if
14909 the buffer parameters correspond to known class defaults
14911 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14913 * XFormsView.C (show): set minimum size to the main window.
14915 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14917 * text2.C (copySelection):
14919 * lyxfind.C (LyXReplace):
14920 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14921 LyXText::selectionAsString.
14923 * paragraph.C (asString): add "label" argument to the second form
14925 * text2.C (selectionAsString): add "label" argument and pass it to
14926 Paragraph::asString.
14928 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14930 * lyx_main.C (commandLineHelp): remove version information
14932 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14934 * lyx_main.C: add -version commandline option
14936 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14938 * paragraph.h: make the optional constructor arg required instead.
14939 some modifications to other files because of this.
14941 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14943 * lyxserver.C (C_LyXComm_callback): make it static
14945 * lyx_main.C (error_handler): make it static
14947 * lyx_gui.C (LyX_XErrHandler): make it static
14949 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14951 * WorkArea.C: make the extern "C" methods static.
14953 * Makefile.am (lyx_LDADD): simplify
14955 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14957 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14958 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14960 * LyXAction.C (init):
14961 * lyxfunc.C (dispatch): associated code removal.
14963 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14965 * lyxfont.h (isSymbolFont): shut off warning
14967 * text.C (setHeightOfRow):
14968 (getVisibleRow): fix crash with empty paragraphs which have a
14971 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14973 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14976 2001-09-04 José Matos <jamatos@fep.up.pt>
14979 * tabular.C (docbook): rename docBook method to docbook.
14981 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14983 * Makefile.am: add dependencies to main.o.
14985 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14987 * FontLoader.C (available): Return false if !lyxrc.use_gui
14989 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14991 * FontInfo.C (query):
14992 * converter.C (view):
14993 * importer.C (Import):
14994 * exporter.C (Export): Can not -> cannot.
14996 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14998 * BufferView_pimpl.C: allow to create index inset even if
15001 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15003 * buffer.C (getLists): replace boost::tie code with an explicit pair
15004 as boost::tie can break some compilers.
15006 * iterators.h: Added a std:: declaration to the return type of
15009 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15011 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15014 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15016 * iterators.[Ch]: New files. Provide paragraph iterators.
15018 * buffer.C (changeLanguage): Use paragraph iterators.
15019 (isMultiLingual): ditto
15021 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15023 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15025 * FontLoader.C: Support for cmr font.
15027 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15029 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15030 (available): New method.
15032 * FontInfo.C (getFontname): Use scalable fonts even when
15033 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15036 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15038 * converter.C (Formats::view): reverted! Incorrect fix.
15040 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15042 * converter.C (Formats::view): only output the -paper option
15043 if the dvi viewer is xdvi, thereby fixing bug #233429.
15045 2001-08-23 Herbert Voss <voss@perce>
15047 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15049 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15051 * Spacing.h (Spacing): Set space to Default on in the default
15054 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15056 * vc-backend.h (RCS::versionString): add RCS to version
15057 (CVS::versionString): add CVS to version
15059 * vc-backend.C (scanMaster): do not add CVS to version.
15060 (scanMaster): do not add RCS to version
15062 * lyxvc.C (versionString): new method
15064 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15066 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15068 * Spacing.C (set): initialize fval
15070 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15072 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15075 2001-08-16 Juergen Vigna <jug@sad.it>
15077 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15079 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15081 * BufferView_pimpl.C:
15084 * text2.C: setParagraph takes linespacing now
15086 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15088 * LyxAction.C: add internal LFUN_CITATION_INSERT
15090 * LyXView.C: actually apply fix
15092 * bufferlist.C: fix open non-existent file
15094 * lyxfind.C: fix indentation
15096 * lyxfunc.C: remove unneeded assert, fix typo
15098 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15100 * MenuBackend.C: use "Floatname List"
15102 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15104 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15105 when converting LaTeX layout to insetERT.
15106 Generate a non-collapsed float when reading old float
15108 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15110 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15113 2001-08-13 Juergen Vigna <jug@sad.it>
15115 * text.C (fill): return 0 instead of 20 as this seems to be the more
15118 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15120 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15123 2001-08-13 Juergen Vigna <jug@sad.it>
15125 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15127 (SearchBackward): comment out the unlocking of the inset_owner this
15128 should not be needed!
15130 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15132 * Many files: Remove inherit_language, and add latex_language
15134 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15135 collapsible insets.
15137 2001-08-10 Juergen Vigna <jug@sad.it>
15139 * text.C (prepareToPrint): fixed hfill-width in draw!
15141 * BufferView2.C (selectLastWord): save the selection cursor as this
15142 now is cleared in the function LyXText::clearSelection!
15144 2001-08-08 Juergen Vigna <jug@sad.it>
15146 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15147 BACKSPACE type functions.
15149 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15150 is only cutted from the document but not put in the cut-buffer, where
15151 still the old stuff should be.
15153 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15155 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15157 * tabular.C (SetWidthOfCell): fixed special case where the width
15159 (LeftLine): handle '|' in align_special.
15161 (LeftAlreadyDrawed): ditto
15162 (SetWidthOfCell): ditto
15164 2001-08-07 Juergen Vigna <jug@sad.it>
15166 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15168 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15170 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15171 * lyxlex.[hC]: ditto
15173 2001-08-06 Juergen Vigna <jug@sad.it>
15175 * text.C (getVisibleRow): fix up row clearing a bit.
15177 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15179 * minibuffer.C: make sure the X server sees the changes in the input.
15181 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15183 * paragraph.C (getFont): split into...
15184 (getLabelFont): this
15185 (getLayoutFont): and this
15186 * paragraph_pimpl.C (realizeFont): calling this
15188 * text2.C (getFont): split into...
15189 (getLayoutFont): this
15190 (getLabelFont): and this
15191 (realizeFont): all three calling this
15193 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15196 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15198 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15200 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15202 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15203 layouts from the Quote inset insertion.
15205 2001-08-03 Juergen Vigna <jug@sad.it>
15207 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15209 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15210 only if status not is already CHANGED_IN_DRAW (second level).
15212 * text.C (draw): don't set the need_break_row when inside an
15215 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15217 * buffer.C (parseSingleLyXformat2Token): handle more latex
15220 * bufferview_funcs.[hC]: change function names to
15221 begin with small char, adjust other files.
15223 2001-08-02 André Pönitz <poenitz@gmx.net>
15226 BufferView_pimpl.C: remove broken special code for math-greek
15228 2001-08-02 Juergen Vigna <jug@sad.it>
15230 * BufferView_pimpl.C (update): redone this function so that we
15231 update the text again if there was a CHANGE_IN_DRAW.
15233 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15234 (drawFromTo): added a new internal bool which is used by draw() and
15236 (general): some cursor drawing problems fixed.
15238 2001-08-01 Juergen Vigna <jug@sad.it>
15240 * lyxfind.C (LyXFind): fixed
15241 (SearchForward): ditto
15242 (SearchBackward): ditto
15244 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15245 spurius drawing of the cursor in the main area.
15247 * text2.C (status): small fix which could lead to a segfault!
15248 (clearSelection): remove unneeded BufferView param.
15250 2001-08-01 André Pönitz <poenitz@gmx.net>
15252 * lyxfunc.C: small change due to changed mathed interface
15254 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15256 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15258 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15260 * lyxfunc.c: fail gracefully if file doesn't exist
15265 * BufferView_pimpl.C: IsDirWriteable() proto changed
15267 * LyXView.C: fix updateWindowTitle() to store the last title
15269 2001-07-31 Juergen Vigna <jug@sad.it>
15271 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15272 the font (wrong since using of Paragraph::highestFontInRange).
15274 * paragraph.C (highestFontInRange): added a default_size parameter.
15276 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15277 (setHeightOfRow): reformat
15279 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15281 * converter.[hC] + affected files: move to (inital-char)lowercase
15284 * ParagraphParameters.C (ParagraphParameters): remove commented code
15286 * PainterBase.[Ch]: remove commented code
15288 * LaTeXFeatures.h: add "bool floats" for float.sty
15290 * LaTeXFeatures.C (LaTeXFeatures): init floats
15291 (require): handle float
15292 (getPackages): do it with floats
15294 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15296 * BufferView_pimpl.C (Dispatch): improve handling of
15297 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15299 * commandtags.h: #include lyxfont.h here temporarily to avoid
15302 * bufferlist.h: include LString.h here.
15304 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15306 * text2.C (getStringToIndex): new method.
15308 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15310 * *: Reduced header file dependencies all over.
15312 2001-07-30 Baruch Even <baruch@lyx.org>
15314 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15316 2001-07-29 Baruch Even <baruch@lyx.org>
15318 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15320 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15322 * ParameterStruct.h (endif): add a default constructor to make
15323 sure that all variables is initialized.
15325 * ParagraphParameters.C (ParagraphParameters): adjust
15327 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15329 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15330 index; also, check that there is something to index, and that it
15331 does not span over several paragraphs.
15332 (doubleClick): use WHOLE_WORD_STRICT for double click.
15334 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15336 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15339 2001-07-26 Baruch Even <baruch@lyx.org>
15341 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15342 an InsetFig figure, backwards compatible reading of old figure code.
15344 2001-07-27 Juergen Vigna <jug@sad.it>
15346 * text2.C: font.realize function adaption.
15348 * text.C (draw): add a warnings lyxerr text if needed.
15350 * layout.C: font.realize function adaption.
15352 * language.C: add inherit_language and implement it's handlings
15354 * bufferview_funcs.C (StyleReset): remove language parameter from
15355 font creation (should be language_inherit now).
15357 * bufferparams.C (writeFile): handle ignore_language.
15359 * paragraph.C (getFontSettings): the language has to be resolved
15360 otherwise we have problems in LyXFont!
15362 * lyxfont.C (lyxWriteChanges): added document_language parameter
15363 (update): removed unneeded language parameter
15365 * paragraph.C (validate): fixed wrong output of color-package when
15366 using interface colors for certain fonts in certain environments,
15367 which should not seen as that on the final output.
15369 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15371 * BufferView_pimpl.C:
15376 * LyXAction.C: add thesaurus support
15379 * lyxfind.C: add "once" parameter, for thesaurus, to not
15380 move to the next match
15382 2001-07-26 Juergen Vigna <jug@sad.it>
15384 * lyxfont.C (realize): honor ignore_language too!
15387 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15389 * text.C (draw): one place more for ignore_language to not draw
15392 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15394 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15396 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15398 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15399 the minipage conversion problem.
15401 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15403 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15406 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15408 * BufferView.h: don't forward declare WorkArea
15410 * BufferView.C: don't include WorkArea.h
15412 2001-07-25 André Pönitz <poenitz@gmx.net>
15416 * lyxfunc.C: new LFUN 'math-space'
15418 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15420 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15422 * text2.C (toggleInset): call open/close
15424 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15426 * lyxfunc.C (dispatch): add debug for the disabled case
15428 * font.C (buttonText): make similar to rectText
15430 * buffer.C (readInset): comment out parsing of insetlist and
15433 * PainterBase.C (rectText): small correction
15435 * BufferView_pimpl.C: comment out insettheorem and insetlist
15436 * LyXAction.C: ditto
15437 * commandtags.h: ditto
15439 2001-07-24 Juergen Vigna <jug@sad.it>
15441 * text.C (draw): honor the ignore_language.
15443 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15445 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15447 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15450 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15452 * lyxtext.h: remove unused (and unimplemented) methods
15454 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15456 * text.C (getVisibleRow): honor background color
15459 * Painter.h: remove default color argument for fillRectangle
15461 * text.C (backgroundColor): new method
15463 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15465 * text.C (getVisibleRow): adjust
15467 * font.[Ch] (rectText): new method, metrics
15468 (buttonText): new method, metrics
15470 * PainterBase.[hC]: make rectText and buttonText always draw and take
15473 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15475 * ToolbarDefaults.C (read):
15476 * MenuBackend.C (read): allow escaping in all strings
15478 * BufferView_pimpl.C (insertAndEditInset): new method.
15479 (Dispatch): use insertAndEditInset whenever appropriate.
15481 * BufferView_pimpl.C (insertNote): removed
15483 * BufferView_pimpl.C (smartQuote): new method, moved from
15484 BufferView; if an insetquote cannot be inserted, insert a '"'
15487 * BufferView2.C: remove insertCorrectQuote();
15489 * lyxfunc.C (getStatus): Add support for all remaingin
15490 inset-insert lfuns.
15492 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15494 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15495 command (necessary to pass " as parameter of self-insert.
15497 * text.C (selectWordWhenUnderCursor):
15498 (selectWord): add word_location parameter
15499 (selectWordWhenUnderCursor): same + remove special code for word
15501 (selectNextWord): use kind() to guess type of insetspecialchar,
15504 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15505 (insertErtContents): create ert insets as collapsed.
15506 (readInset): better compatibility code for Info inset.
15508 2001-07-20 Juergen Vigna <jug@sad.it>
15510 * lyxfunc.C (dispatch): use always LyXFind now!
15512 * text2.C (init): add a reinit flag so that the LyXText can be
15513 reinited instead of deleted and reallocated (used in InsetText).
15515 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15521 2001-07-18 Juergen Vigna <jug@sad.it>
15523 * text.C (selectNextWord): handle insets inside inset by calling
15524 always the bv->text functions so that we can go up the_locking_inset!
15526 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15527 in strange locations when inside an inset!
15529 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15530 handling to include insets.
15532 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15534 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15536 * LyXAction.C (init):
15538 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15539 LIGATURE_BREAK, since the name is so stupid.
15541 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15543 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15546 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15548 * sp_form.[Ch]: remove.
15550 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15552 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15555 * src/buffer.C (readInset): ditto.
15557 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15559 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15560 menuSeparator(), endOfSentenceDot(), ldots() and
15561 hyphenationPoint(), which are therefore removed.
15562 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15564 * LyXAction.C (init):
15565 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15567 * paragraph.C (getWord): removed.
15569 * BufferView_pimpl.C (Dispatch): use last word or selection for
15570 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15572 * lyx_main.C (queryUserLyXDir): do not ask before creating
15573 user_dir, except if it has been named explicitely.
15575 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15577 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15578 a document of zero size.
15580 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15582 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15583 approriately in the c-tor and in require().
15584 (getPackages): output the appropriate LaTeX for natbib support.
15586 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15587 variables "use_natbib" and "use_numerical_citations" when reading the
15589 (readInset): read the various natbib cite commands.
15590 (validate): white-space change.
15592 * bufferparams.[Ch]: new variables "bool use_natbib" and
15593 "bool use_numerical_citations".
15594 (writeFile): output them in the LyX file.
15596 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15598 * lyxfunc.C (getStatus): add support for all the inset insertion
15601 * text2.C (insertInset):
15602 * paragraph.C (insetAllowed):
15603 * BufferView_pimpl.C (insertInset): update to take in account the
15604 renaming of insertInsetAllowed
15606 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15608 * text2.C (getInset): new method. returns inset at cursor position.
15610 * BufferView_pimpl.C (Dispatch): changes because of this.
15612 * LyXAction.C (init): rename open-stuff to inset-toggle.
15614 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15616 * text2.C (toggleInset): renamed from openStuff; use
15619 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15621 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15623 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15625 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15627 * buffer.C (readLyXformat2): Add filename to the error dialog
15629 2001-07-18 Juergen Vigna <jug@sad.it>
15631 * tabular.C (GetCellNumber): put an assert here instead of the check!
15633 2001-07-17 Juergen Vigna <jug@sad.it>
15635 * BufferView_pimpl.C (toggleSelection): adapted too.
15637 * text.C (selectNextWord): adapted for use with insets.
15638 (selectSelectedWord): ditto
15640 2001-07-17 Juergen Vigna <jug@sad.it>
15642 * sp_spell.C (PSpell): fix initialitation order.
15644 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15646 * paragraph.C: spacing
15648 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15650 * sp_spell.C: repair language selection for pspell
15652 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15654 * lyxfunc.h: change more methods to begin with lower char.
15656 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15658 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15659 for unknown layouts.
15661 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15663 * buffer.C (readLyXformat2): Generate an error dialog if there are
15666 2001-07-16 Juergen Vigna <jug@sad.it>
15668 * sp_spell.C: always compile ISpell part.
15670 * lyxrc.C: added use_pspell entry and it's handling.
15672 2001-07-13 Juergen Vigna <jug@sad.it>
15674 * sp_spell.C: removed double includes.
15676 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15678 Consistent use of Lsstream.h:
15679 * Lsstream.h: added using std::stringstream for consistencies sake.
15681 * buffer.C: removed using std::stringstream
15683 * lyxfont.C (stateText):
15684 * paragraph.C (asString):
15685 * text.C (selectNextWord, selectSelectedWord):
15686 * text2.C (setCounter):
15687 * vspace.C (asString, asLatexString):
15688 std::ostringstream -> ostringstream.
15690 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15692 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15693 * commandtags.h: add LFUN_HELP_ABOUTLYX
15694 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15696 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15698 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15700 * lyx_gui_misc.C: remove spellchecker
15701 * lyxfunc.C: showSpellchecker
15703 * sp_ispell.h: added
15704 * sp_pspell.h: added
15705 * sp_spell.C: added
15706 * sp_form.[Ch]: removed
15707 * spellchecker.[Ch]: removed
15709 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15711 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15713 (simpleTeXSpecialChars): Simply print the input character without
15714 any special translation if pass_thru is set.
15716 * layout.h: Added bool pass_thru to layout class for being able to
15717 implement pass through of a paragraph for Literate Programming.
15719 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15720 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15721 * layout.C (Read): add "passthru" to list of layout tags and add
15722 code to set the pass_thru boolean when it is read.
15724 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15726 * trans_decl.h: remove allowed from KmodInfo
15728 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15729 remove allowed code
15732 * paragraph_pimpl.C (erase): use boost::prior
15734 * Painter.C (text): use data() instead of c_str() when length is
15736 * WorkArea.C (putClipboard): ditto
15737 * font.h (width): ditto
15739 * BufferView2.C: use it-> instead of (*it). for iterators
15741 * paragraph_pimpl.C: ditto
15742 * paragraph.C: ditto
15743 * minibuffer.C: ditto
15744 * language.C: ditto
15746 * encoding.C: ditto
15747 * counters.C: ditto
15748 * converter.C: ditto
15750 * Variables.C: ditto
15751 * TextCache.C: ditto
15752 * MenuBackend.C: ditto
15753 * LyXAction.C: ditto
15755 * FloatList.C: ditto
15756 * DepTable.C: ditto
15757 * ColorHandler.C (LyXColorHandler): ditto
15759 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15761 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15763 * text2.C (openStuff): reintroduce this method (which had been
15764 nuked in NEW_INSETS frenzy).
15766 * lyxfunc.C (Dispatch): when an action has not been handled, use
15767 its name in the error message, not its number.
15769 * paragraph.C (inInset): change method name to begin with lowercase.
15772 * text2.C: updates because of this.
15774 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15776 * ToolbarDefaults.C (add): add spaces in error message
15778 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15780 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15781 (readLyXformat2): rename return_par to first_par, use lyxlex's
15782 pushToken and remove the manual push handling.
15783 (parseSingleLyXformat2Token): add another ert comp. variable:
15784 in_tabular, rename return_par to first_par. handle newlines better
15786 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15788 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15790 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15792 * text2.C (getParFromID): removed
15794 * buffer.C (getParFromID): new method moved form lyxtext.
15795 * BufferView2.C (insertErrors): adjust
15796 (setCursorFromRow): adjust
15797 * BufferView_pimpl.C (restorePosition): adjust
15798 * lyxfunc.C (Dispatch): adjust
15799 * undo_funcs.C (textUndo): adjust
15801 (textHandleUndo): adjust
15802 (textHandleUndo): adjust
15804 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15806 * buffer.C: up' the LYX_FORMAT
15808 * lyxfont.h: turn NO_LATEX on as default
15810 * buffer.C (insertErtContents): new methods of tex style compability.
15811 (parseSingleLyXformat2Token): use it several places.
15812 * tabular.C (OldFormatRead): and here
15814 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15816 * text2.C: remove some commented code.
15819 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15820 * trans.C: changes because of the above.
15822 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15824 * text2.C (setCounter): Fix counters bug with bibliography layout.
15826 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15828 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15829 own member functions
15830 (simpleTeXSpecialChars): ditto
15832 2001-07-06 Juergen Vigna <jug@sad.it>
15834 * a lot of files: changed the access to LyXText::status and the
15835 call of undo-functions.
15837 * undo.[Ch]: added a inset_id to the undo informations.
15839 * undo_funcs.[Ch]: added and moved here all undo functions.
15841 * lyxtext.h: give the status enum a weight, made status_ a private
15842 variable and made accessor functions for it, removed the whole bunch
15843 of undo-functions as they are now in their own file, make some
15844 functions publically available. Added function ownerParagraph with
15847 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15848 made InInset() a const function, added getParFromID() function.
15850 * buffer.[Ch]: added const version for inset_iterator functions,
15851 added getInsetFromID() function.
15853 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15854 changed undo functions for new version.
15856 2001-07-05 Juergen Vigna <jug@sad.it>
15858 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15859 unknow mechanism does not call the proper constructor but only this
15860 one also if I request the other!?
15862 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15864 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15866 * text2.C (LyXText): use initialization lists.
15868 * lyxtext.h (Selection): initialize set_ and mark_
15869 (init): remove method
15871 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15873 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15875 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15877 * screen.[Ch]: change method names to begin with lowercase
15879 * BufferView_pimpl.C (updateScrollbar): simplify further and
15880 hopefully make it a bit faster.
15882 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15884 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15885 calling directly xforms functions.
15887 * Painter.C (Painter):
15888 * lyx_cb.C (MenuWrite):
15889 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15892 * lyx_gui.C: remove bogus guiruntime extern declaration.
15894 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15896 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15898 (redoDrawingOfParagraph): ditto
15899 (redoParagraphs): ditto
15900 (cutSelection): don't create a object for CutAndPaste use the
15901 static method directly
15902 (pasteSelection): ditto
15904 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15907 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15909 * modifications to some other files because of this.
15911 * Makefile.am (lyx_SOURCES): add XFormsView
15913 * XFormsView.[Ch]: new files
15915 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15916 the main window. Move the gui dependent stuff to XFormsView
15918 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15920 * tabular.C (GetCellInset): update cur_cell also in the row/col
15921 version of this function.
15923 * lyxfunc.C: no need to include figure_form.h here.
15929 * lyxvc.C: no need to include forms.h here.
15931 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15933 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15935 * lyxfunc.C (Dispatch):
15937 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15938 constructor argument.
15940 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15942 * paragraph.C (Paragraph): dont't clear, and just set layout.
15943 (makeSameLayout): use params's copy contructor.
15945 * ParagraphParameters.[Ch] (makeSame): delete method
15947 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15949 * Variables.[Ch]: fix indentation, rename set to isSet
15951 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15953 * lyxfunc.C (Dispatch): fix typo
15955 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15957 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15960 * bufferlist.C: include assert.h for emergencyWrite().
15962 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15964 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15965 give up at last (bug #425202) !
15967 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15973 * spellchecker.C: strip spellchecker options and bring up
15974 preferences tab instead
15976 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15978 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15979 the istringstream constructor
15981 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15983 * paragraph.C (getLayout): fix return value
15985 * paragraph.h: do not declare getLayout as inline.
15987 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15989 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15991 * lyxcursor.h (operator<): new func
15992 (operator>): new func
15993 (operator>=): new func
15994 (operator<=): new func
15996 * text.C (changeCase): use selection.start and selection.end
15997 (changeRegionCase): require from to be <= to. Require par to be a
16000 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16002 2001-06-27 Juergen Vigna <jug@sad.it>
16004 * text.C (cursorLeftOneWord): changed to return the cursor and added
16005 overlay with BufferView * parameter which calls this one.
16007 (selectWord): use new getWord function.
16008 (changeCase): renamed from changeWordCase as and extended to work
16009 also on selections.
16011 * lyxtext.h: added enum word_location
16013 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16014 changeCase as this operates now also on selections.
16016 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16018 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16020 * many files: send debug output to Debug::INFO instead of
16023 * converter.C (View):
16025 (Move): send debug output to Debug::FILES instead of console.
16027 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16029 * lyxfunc.C (getStatus): use func_status
16031 * func_status.h: new header, describing the results of
16032 LyXFunc::getStatus;
16034 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16037 2001-06-25 The LyX Project <jug@sad.it>
16039 * buffer.C (sgmlOpenTag):
16041 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16043 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16045 * text2.C: remove some dead code
16047 * tabular.C (GetCellInset): store the last cell checked (gotten)
16049 * tabular.h: add the helper for the speedup
16051 * lyxtext.h: remove some dead code
16053 2001-06-26 The LyX Project <Asger>
16055 * paragraph.C: Change export to LaTeX of alignment to
16056 \begin{center} and family for better roundtrip work with reLyX.
16058 * Tune the math drawing a bit.
16060 2001-06-25 The LyX Project <Asger>
16062 * LColor.C (LColor): New color for math background. New color
16065 2001-06-25 The LyX Project <jug@sad.it>
16067 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16069 * lyxfunc.C (Open):
16070 * bufferlist.C (newFile): do not restrict to files ending with
16073 * BufferView_pimpl.C (MenuInsertLyXFile):
16075 2001-06-24 The LyX Project <jug@sad.it>
16077 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16080 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16082 * lyxtext.h: rename most methods to begin with a small char.
16083 Lots of changes because of this.
16085 * paragraph.C (Paragraph): do not call fitToSize
16086 (erase): call Pimpl::erase
16087 (insertChar): call Pimpl::insertChar
16088 (insertInset): call Pipl::insertInset
16089 (breakParagraph): do not call fitToSize
16090 (breakParagraphConservative): do not call fitToSize
16091 (fitToSize): remove method
16093 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16095 2001-06-24 The LyX Project <Asger>
16097 * Fix Qt compilation^2
16099 2001-06-24 The LyX Project <jug@sad.it>
16101 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16102 depthHook(getDepth()-1).
16105 * ParagraphParameters.h:
16106 * ParameterStruct.h: change type of depth to unsigned int ==
16107 depth_type. Many adaptations to other files before of that.
16109 2001-06-24 The LyX Project <Asger>
16111 * Fix Qt compilation.
16113 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16115 * paragraph.h: renamed several methods to begin with small letter.
16116 several changes to many parts of the code because of this.
16118 2001-06-23 The LyX Project <jug@sad.it>
16120 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16121 rewritten to discard all double spaces when KeepEmpty is off
16122 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16123 to only handle newlines but not fiddle with spaces and friends.
16125 * lyxfunc.C (MenuNew): when doing 'new from template', use
16126 template_path as default directory
16128 2001-06-23 The LyX Project <Asger>
16130 * Clean-up of header file includes all over
16131 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16133 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16135 * paragraph.h: renamed from lyxparagraph.h
16137 2001-06-23 Asger <lyx@violet.home.sad.it>
16139 * Buffer.h: Removed Buffer::resize
16140 * BufferList.h: Removed BufferList::resize
16141 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16142 the document lazily when we change the width, or the font settings.
16144 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16146 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16148 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16150 * buffer.h: remove out of date comment
16152 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16155 * screen.C: fix "theoretical" GC leak
16157 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16159 * LaTeX.C (scanAuxFile):
16160 (deplog): remove trailing \r when reading stream (useful under
16163 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16165 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16166 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16167 and BufferView::theLockingInset(Inset*), so should use them and not
16168 access bv_->text->the_locking_inset directly.
16170 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16172 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16175 * tex-defs.h: remove old unused file
16177 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16179 * BufferView_pimpl.C: fix typo, remove minibuffer message
16180 when buffer has loaded
16182 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16184 * lyxfunc.C (Dispatch): use stringstream
16185 (MenuNew): use stringstream
16186 (Open): use stringstream
16188 * importer.C (Import): use stringstream
16190 * bufferview_funcs.C (CurrentState): use stringstream
16192 * LaTeX.C (run): use stringstream
16194 * BufferView_pimpl.C (savePosition): use stringstream
16195 (restorePosition): use stringstream
16196 (MenuInsertLyXFile): use stringstream
16198 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16211 * vspace.C: removed // -*- C++ -*- as first line.
16214 * version.h: added // -*- C++ -*- as first line.
16216 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16218 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16220 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16223 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16225 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16228 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16230 * gettext.C: include LString.h even when --disable-nls is on.
16232 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16234 * converter.h (Get): changed argument type from int to
16235 FormatList::size_type to avoid unnecessary conversion.
16237 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16240 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16242 * gettext.h: include LString.h even when --disable-nls is on.
16244 2001-06-07 Juergen Vigna <jug@sad.it>
16246 * text.C (BreakAgain): subst spaces with tabs.
16248 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16249 (resizeInsetsLyXText): set force on resizeLyXText.
16251 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16253 * gettext.h (gettext_init):
16254 (locale_init): use a real definition instead of a macro
16256 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16258 * Bufferview_pimpl.C:
16260 * LColor.C: further lcolor tidies
16262 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16264 * BufferView_pimpl.C (updateScrollbar): simplify.
16266 * BufferView2.C: don't include insets/insetinfo.h, change
16267 prototype for insertInset and call the Pimpl version. let
16268 updateInset call Pimpl version.
16270 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16271 gotoInset to BufferView::Pimpl
16273 2001-06-01 Juergen Vigna <jug@sad.it>
16275 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16276 inside a LockingInset (is the update needed at all?).
16278 2001-05-31 Juergen Vigna <jug@sad.it>
16280 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16281 here not the old one otherwise how should we compare it afterwards
16284 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16289 * FontInfo.C: bring C functions into global namespace when
16292 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16294 * LString.h: make sure config.h has been loaded before LString.h.
16296 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16297 (one for each char read by EatLine!).
16299 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16302 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16304 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16305 to the same as the par we break from
16307 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16309 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16311 * MenuBackend.C (expand): also create menu entries for wide
16312 versions of the floats.
16314 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16316 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16318 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16319 frontends/Makefile.am
16325 * tabular.C (getTokenValue): add std::
16327 * tabular-old.C (getTokenValue): add std::
16328 (getTokenValue): ditto
16329 (getTokenValue): ditto
16331 * screen.C (ToggleSelection): adjust
16333 * lyxtext.h: put selection cursors inside a Selection struct.
16335 * lyxfunc.C (moveCursorUpdate): adjust
16337 * lyxfont.C (latexWriteStartChanges): add std::
16339 * lyxfind.C: adjust
16341 * font.h: delete with(char const *, LyXFont const &)
16343 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16345 * FontInfo.C (getFontname): add std::
16347 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16348 (workAreaButtonPress): adjust
16349 (tripleClick): adjust
16351 (moveCursorUpdate): adjust
16354 * BufferView2.C (gotoInset): adjust
16356 2001-05-30 Juergen Vigna <jug@sad.it>
16358 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16359 to check pspell I add this as default as I now have new pspell
16360 libraries and they seem to use this.
16362 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16364 * text2.C (CutSelection): make the cursor valid before the call to
16367 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16369 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16370 relied on 0 terminated strings and other horrors. Bug found due to
16371 the new assert in lyxstring!
16373 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16376 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16378 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16381 * lyxfunc.C (processKeySym): change method of getting to the
16384 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16385 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16386 * BufferView_pimpl.[Ch]: here as private methods.
16388 2001-05-28 Juergen Vigna <jug@sad.it>
16390 * text.C (SetHeightOfRow): added the update() call again as it is
16391 needed to initialize inset dimensions!
16393 2001-05-16 Juergen Vigna <jug@sad.it>
16395 * text2.C (SetCharFont): Add new function with BufferView * and
16396 bool toggleall parameters for setting insets internal fonts.
16397 (SetFont): Freeze the undo as we may change fonts in Insets and
16398 all this change should be inside only one Undo!
16400 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16401 setting font's in insets as for them we have the SetFont function!
16403 2001-05-15 Juergen Vigna <jug@sad.it>
16405 * text2.C (ClearSelection): to be sure we REALLY don't have any
16408 * tabular.C (TeXCellPreamble): fixed the left border problem for
16411 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16413 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16416 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16418 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16419 LFUN_BREAKPARAGRAPH.
16421 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16422 help test to "internal only", similar for LFUN_INSERT_URL
16424 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16425 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16426 auto_region_delete and deadkeys.
16428 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16431 * LColor.C: remove some dead entries, tidy a little
16433 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16435 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16437 (Dispatch): implement LFUN_ESCAPE
16439 * commandtags.h: add LFUN_ESCAPE
16441 * LyXAction.C (init): add entry for LFUN_ESCAPE
16443 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16444 Remove commented code.
16445 (insertNote): moved here
16446 (open_new_inset): moved here
16448 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16451 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16453 * kbmap.C (findbinding): clean it up and make it work correctly.
16455 * lyx_main.C (init): do not pass argc and argv as parameters
16457 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16459 * buffer.C: fix path for OS/2 & Win32
16463 * lyx_main.C: Added os:: class.
16465 * os2_defines.h: update
16467 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16469 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16470 better by trying again with reduced state.
16472 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16474 * lyxrc.C (read): print error about invalid key sequence only when
16475 debugging (because not all latinX keysyms are known to some X
16478 * kbsequence.C (getiso): add a few std:: qualifiers
16479 (getiso): comment out extra return statement.
16481 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16483 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16485 (Dispatch): enhance the accent inset a bit. (not perfect)
16487 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16489 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16491 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16493 * bufferlist.C (emergencyWrite): fix assert() call
16495 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16497 * text.C (InsertChar): Added trivial patch to only send the "you
16498 can not do multiple spaces this way" message once during a
16501 2001-05-08 Baruch Even <baruch@lyx.org>
16503 * Makefile.am: Changed order of libraries to get LyX to link properly
16504 with the gnome frontend.
16506 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16508 * LaTeXFeatures.h: add a std:: qualifier
16510 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16512 * paragraph.C (String): use stringstream
16514 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16516 * paragraph.C (writeFile): remove footflag arg
16518 * buffer.C (makeLaTeXFile): use stringstream
16519 (latexParagraphs): remove footnot gurba
16521 * LaTeXFeatures.C (getPackages): use stringstream
16522 (getMacros): likewise
16523 (getTClassPreamble): likewise
16524 (getFloatDefinitions): new method
16526 * paragraph.C (writeFile): reindent
16529 * WorkArea.h: revert the xpos + etc changes.
16531 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16533 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16535 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16536 (pasteSelection): likewise
16537 * text2.C (CreateUndo): likewise
16539 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16541 * minibuffer.C (peek_event): temporarily reduce the functionality
16542 of the minibuffer (to allow args on lfuns)
16544 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16545 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16547 * buffer.C (readInset): add compability reading of old float
16548 lists, add reading of new style float list.
16549 (readInset): avoid reevaluation of inscmd.getCmdName()
16550 (getLists): reindent
16552 * MenuBackend.C (MenuItem): implement parsing of
16553 md_floatlistinsert and md_floatinsert.
16554 (expand::LastFiles): move initalizaton of iterators out of loop,
16555 avoid reevaluation.
16556 (expand::Documents): introduce typdedef vector<string> Strings,
16558 (expand::ExportFormats): introduce typedef vector<Format const *>
16559 Formats, and use it.
16560 (expand): implement FloatListInsert and FloatInsert.
16562 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16563 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16564 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16566 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16568 (Dispatch::LFUN_FLOAT_LIST): implement
16570 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16572 * LaTeX.C (run): Fix problem with --export code.
16574 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16576 * BufferView.[Ch] (workarea): removed.
16577 (getClipboard) new method; wrapper for workarea()->getClipboard()
16579 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16582 * WorkArea.h (width, height, xpos, ypos): These methods all
16583 returned the dimensions of the work_area sub-area of WorkArea,
16584 resulting in a position error if the WorkArea were resized. Now
16585 return the dimensions of the entire WorkArea.
16587 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16589 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16591 * LaTeX.C (deplog): correct the syntax of regex reg1
16593 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16595 * undo.C: remove !NEW_INSETS cruft
16597 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16599 * text2.C: remove !NEW_INSETS cruft
16601 * text.C: remove !NEW_INSETS cruft
16603 * tabular.C: remove !NEW_INSETS cruft
16605 * spellchecker.C: remove !NEW_INSETS cruft
16607 * lyxtext.h: remove !NEW_INSETS cruft
16609 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16611 * lyxfunc.C: remove !NEW_INSETS cruft
16613 * lyxfind.C: remove !NEW_INSETS cruft
16615 * lyx_cb.C: remove !NEW_INSETS cruft
16617 * figureForm.C: remove !NEW_INSETS cruft
16619 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16621 * buffer.[Ch]: remove !NEW_INSETS cruft
16623 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16625 * CutAndPaste.C: remove !NEW_INSETS cruft
16627 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16629 * BufferView2.C: remove !NEW_INSETS cruft
16631 * BufferView.h: remove !NEW_INSETS cruft
16633 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16635 * Lsstream.h: include LString.h before the sstream headers to
16636 fix problem with gcc 2.95.3 and lyxstring
16638 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16640 * lyx_main.C: add using directives when needed for C functions
16641 declared in std:: namespace.
16643 2001-04-27 Juergen Vigna <jug@sad.it>
16645 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16646 (SetHeightOfRow): comment out the update call should not be needed!
16648 2001-04-13 Juergen Vigna <jug@sad.it>
16650 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16651 (LyXTabular): tried to minimize operator= operations (and realized
16652 hopfully Lars wish).
16654 2001-04-27 Juergen Vigna <jug@sad.it>
16656 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16658 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16660 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16662 * buffer.C (readInset): hack to make listof algorithm work
16664 * BufferView_pimpl.C: hack to make listof algorithm work
16666 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16668 * LyXAction.C: removed all !NEW_INSETS cruft
16669 (init): moved lfun_item in method
16671 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16673 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16675 * BufferView2.C (theLockingInset): white space.
16677 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16679 * minibuffer.C: include <iostream>
16681 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16683 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16685 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16687 * text.[Ch] (TransposeChars): new method
16689 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16691 * call message directly through LyXView instead of through LyXFunc
16692 * BufferView2.C: adjust
16693 * BufferView_pimpl.C: adjust
16694 * FontLoader.C: adjust
16696 * bufferview_funcs.C: adjust
16697 * converter.C: adjust
16698 * figureForm.C: adjust
16699 * importer.C: adjust
16701 * lyx_gui_misc.C: adjust
16702 * lyxfunc.C: adjust
16705 + more files in subdirs
16707 * lyxparagraph.h (size): move up int file
16710 * adjust all uses of Assert to lyx::Assert.
16712 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16713 lyxfunctional in namespace lyx
16714 * layout.C (hasLayout): ditto
16717 (delete_layout): ditto
16718 (NumberOfClass): ditto
16719 * converter.C (GetFormat): ditto
16724 * bufferlist.C (getFileNames): ditto
16725 (emergencyWriteAll): ditto
16728 * MenuBackend.C (hasSubmenu): ditto
16731 * BufferView_pimpl.C (getInsetByCode): ditto
16733 2001-04-18 Juergen Vigna <jug@sad.it>
16735 * vspace.C (asLatexString): fixed the 100% problem.
16737 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16739 * lyxfunc.C (Dispatch):
16741 * minibuffer.h: add a few std:: qualifiers
16743 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16745 * minibuffer.[Ch]: reimplement so that commands is initiated and
16746 run from lyxfunc, simplified som handling, and made the completion
16747 and history code for complete. wip.
16749 * lyxfunc.C (processKeySym): call message
16750 (miniDispatch): new temporary method
16751 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16752 (LFUN_MESSAGE): implement
16753 (LFUN_MESSAGE_PUSH): implement
16754 (LFUN_MESSAGE_POP): implement
16755 (initMiniBuffer): the initial/defualt minibuffer message.
16757 * lyxfont.[Ch]: inline some more getters
16759 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16761 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16763 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16764 (AutoSave): use LFUN_MESSAGE
16765 (Reconfigure): ditto
16767 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16769 * figureForm.C: use LFUN_MESSAGE
16771 * converter.C (runLaTeX): use LFUN_MESSAGE
16773 * bufferview_funcs.C: use LFUN_MESSAGE
16775 (changeDepth): ditto
16777 * bufferparams.h: use boost::
16779 * bufferlist.h: inherit privately from noncopyable
16781 * bufferlist.C (loadLyXFile): remove some commented code.
16783 * buffer.C (runChktex): use LFUN_MESSAGE
16785 * ShareContainer.h: inherit privately from noncopyable
16787 * ParagraphParameters.[hC] (depth): inline it.
16789 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16791 (message): new method
16792 (messagePush): ditto
16793 (messagePop): ditto
16794 (show): init minibuffer
16795 (showState): direct call
16797 * LaTeX.[Ch]: inherit privately from noncopyable
16798 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16799 instead of WriteStatus.
16801 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16803 * BufferView_pimpl.C (buffer): don't init minibuffer
16804 (workAreaButtonPress): use LFUN_MESSAGE
16805 (workAreaButtonRelease): ditto
16806 (savePosition): ditto
16807 (restorePosition): ditto
16808 (MenuInsertLyXFile): ditto
16809 (workAreaExpose): don't init minibuffer
16810 (update): remove commented code, simplify
16812 * BufferView2.C (openStuff): use LFUN_MESSAGE
16813 (toggleFloat): ditto
16816 (copyEnvironment): ditto
16817 (pasteEnvironment): ditto
16822 (updateInset): remove some commented code
16824 * lastfiles.h: inherit privately from noncopyable
16827 * lyx_main.h: ditto
16829 * lyxlex_pimpl.h: ditto
16831 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16832 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16833 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16835 * LyXAction.h: inherit privately from noncopyable, add methods
16836 func_begin, func_end, returning iterators to the func map.
16838 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16839 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16840 (func_begin): new method
16841 (func_end): new method
16843 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16845 (copySelection): ditto
16846 (pasteSelection): ditto
16848 * BufferView.C: whitespace change
16849 * BufferView.h: inherit privately from noncopyable
16851 2001-04-16 Allan Rae <rae@lyx.org>
16853 * tabular-old.C (l_getline):
16854 * spellchecker.C (sc_check_word):
16855 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16856 an unrecognised preprocessor directive. So ensure they're wrapped.
16858 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16860 * src/exporter.C (Export): Give an error message when path to file
16863 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16865 * LaTeX.C (deplog): Always check that foundfile exists.
16867 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16870 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16872 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16874 * tabular.[Ch] (getLabelList): implement new method
16876 * minibuffer.h: comment ouf setTiimer
16878 * minibuffer.C (ExecutingCB): constify res
16879 (peek_event): constify s
16880 (Set): constify ntext
16881 (Init): constify nicename
16883 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16885 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16886 (savePosition): use two params to Minibuffer::Set
16887 (restorePosition): ditto
16889 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16891 * lyx_main.C: include language.h
16893 * Makefile.am (lyx_main.o): add language.h
16895 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16901 * CutAndPaste.C: include gettext.h
16903 * lyxfont.h: remove old hack with ON and OFF.
16906 * lyxfont.h: do not include language.h...
16911 * bufferview_funcs.C:
16917 * paragraph.C: ... but do it here instead
16919 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16921 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16923 * tabular.C: small reformat
16925 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16928 (BreakParagraph): ditto
16929 (SetOnlyLayout): ditto
16932 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16935 * lastfiles.C: removed most using decl, add std:: where needed
16937 * buffer.C: ws changes
16939 * MenuBackend.C (class compare_format): put into anon namespace
16940 (expand): constify label, names, action, action2
16943 * text.C (SingleWidth): constify font
16944 (IsBoundary): constify rtl2
16945 (GetVisibleRow): constify ww
16947 * LaTeX.C (deplog): constify logfile
16949 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16951 (workAreaExpose): constify widthChange, heightChange
16953 * lyxrow.C (par): moved
16956 * lyxrow.h: as inlines here
16958 * lyxfont.h (shape): moved from lyxfont.C
16959 (emph): moved from lyxfont.C
16961 * lyxfont.C (LyXFont): use initialization list for all
16963 (shape): move to lyxfont.h as inline
16964 (emph): move to lyxfont.h as inline
16967 2001-04-04 Juergen Vigna <jug@sad.it>
16969 * vspace.C: had to include stdio.h for use of sscanf
16971 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16974 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16975 independent of xforms.
16977 2001-04-02 Juergen Vigna <jug@sad.it>
16979 * spellchecker.C: fixed namespace placing!
16981 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16983 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16984 the LyXParagraph * is 0.
16986 2001-03-29 Juergen Vigna <jug@sad.it>
16988 * vspace.C: added support for %, c%, p%, l%.
16989 (stringFromUnit): added helper function.
16990 (asLatexString): changed to give right results for the %-values.
16992 * buffer.C: convert the widthp in a width%.
16994 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16996 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16999 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17000 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17002 * lyx_cb.[Ch]: see above.
17004 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17008 * lyx.[Ch]: replaced by figure_form.[Ch].
17012 * lyxfunc.C: changed headers associated with above changes.
17014 2001-03-27 Juergen Vigna <jug@sad.it>
17016 * BufferView_pimpl.C: set the temporary cursor right!
17018 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17020 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17022 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17024 * LString.h: removed "using std::getline"!
17026 * BufferView_pimpl.C (Dispatch): changes due to changes in
17027 InsetInclude::Params.
17029 * buffer.C (tag_name): removed redundant break statements as they were
17030 producing lots of warnings with my compiler.
17032 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17034 * LString.h: add "using std::getline" when using the real <string>.
17036 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17038 * buffer.C: removed bitset usage.
17039 PAR_TAG moved to an anonymous name space.
17040 (tag_name): new funtion, also in the anonymous namespace.
17041 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17042 (makeDocBookFile): clean code. Completed transition from string arrays
17044 (SimpleDocBookOnePar): code clean.
17046 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17048 * tabular.C: add some comments.
17050 2001-03-22 Juergen Vigna <jug@sad.it>
17052 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17053 compatibility read a bit and fixed bug with minipage in different
17056 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17058 * buffer.C (pop_tag): removed.
17059 (push_tag): removed.
17060 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17061 array replaced with vector. Added support for CDATA sections.
17062 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17064 (makeDocBookFile): XML conformant declaration of CDATA section,
17065 fixed bug related to <emphasis> in the first paragraph char.
17066 (sgmlOpenTag): exclude empty tags.
17067 (sgmlCloseTag): ditto.
17069 * buffer.h (pop_tag): removed.
17070 (push_tag): removed.
17072 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17074 * language.h (Languages): added size_type and size().
17076 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17078 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17079 response on compability reading of minipages. One probliem is that
17080 the old usage of minipages was «flertydig»
17082 * several files here and in subdirs: don't use static at file
17083 scope use anon namespaces instead.
17085 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17087 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17088 LaTeX output. This is necessary for Literate document
17091 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17093 * buffer.C: insert hfill when needed.
17095 * tabular.C (l_getline): use string::erase, small whitespace change.
17097 * BufferView_pimpl.C: try the anon namespace.
17098 * WorkArea.C: ditto
17100 2001-03-16 Juergen Vigna <jug@sad.it>
17102 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17103 otherwise it won't open options-dialogs.
17105 * buffer.C: honor pextraWidth(p) on converting minipages.
17107 * tabular.C (l_getline): changed the functions to strip trailing \r.
17109 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17111 * BufferView_pimpl.C:
17112 * minibuffer..C: added "using SigC::slot" declaration.
17114 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17116 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17122 * paragraph.C: ditto
17124 * lyxtext.h: NO_PEXTRA
17126 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17128 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17129 * ParameterStruct.h: ditto
17130 * ParagraphParameters.h: ditto
17131 * lyxparagraph.h: ditto
17133 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17135 * buffer.C: add compability for minipage alignment.
17136 (latexParagraphs): remove unwanted pextra check.
17138 * several files: remove CXX_WORKING_NAMESPACES
17140 * buffer.C (pop_tag): tie is in namespace boost
17142 * BufferView.h: noncopyable is in namespace boost
17144 * lyx_main.h: ditto
17147 * lastfiles.h: ditto
17148 * bufferlist.h: ditto
17149 * ShareContainer.h: ditto
17151 * LyXAction.h: ditto
17154 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17156 * Merging changes from BRANCH_MVC back into HEAD.
17158 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17160 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17162 * BufferView_pimpl.C: change from intl.C
17166 * Makefile.am: move combox.*
17172 * intl.C: remove dialog (covered by prefs)
17174 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17176 * lyxfunc.C (Dispatch): removed redundant break statement.
17178 2001-03-14 Juergen Vigna <jug@sad.it>
17180 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17182 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17184 * buffer.C: add hack to fix compability reading of minipages.
17186 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17188 * buffer.C (getLists): Cleanup.
17190 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17192 * lyxfont.C (update): don't honor toggleall on font size.
17194 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17198 * Makefile.am: moved to frontends/xforms/
17202 * BufferView_pimpl.C: changes for moved mathpanel
17204 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17206 * gettext.h: fix gettext_init() in --disable-nls
17208 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17210 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17212 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17215 * lyx.h: strip external form
17217 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17219 * BufferView_pimpl.C: add comment, destroySplash()
17221 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17223 * BufferView_pimpl.C:
17227 * lyxfunc.C: use re-worked insetinclude
17229 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17231 * buffer.C: add using std::stringstream.
17233 * lyx_cb.C: readd using std::ios.
17235 * buffer.C: add using std::map.
17237 * BufferView_pimpl.C: add using std::vector.
17239 * ShareContainer.h: add std:: to swap.
17241 * buffer.h: add some typedefs
17242 * buffer.C (getLists): use them
17243 (getLists): renamed from getTocList.
17244 add a counter for the different float types and use it in the
17246 (getLists): use the same counter for the NEW_INSETS and the "non"
17249 * lyx_cb.h: remove unused items, includes, using etc.
17251 * ShareContainer.h: remove some commented code, add more comments
17252 and "documentation".
17254 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17256 * buffer.C (getTocList): make the list also when NEW_INSETS is
17259 * buffer.h: remove TocType
17261 * buffer.C (getTocList): change to return a map<string,
17262 vector<TocItem> >, implement for dynamic number of list.
17264 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17265 * text2.C (PasteSelection): adjust
17266 * CutAndPaste.C (pasteSelection): adjust
17268 * FloatList.C (FloatList): update from the new_insets branch.
17269 * Floating.[Ch]: ditto
17270 * LaTeXFeatures.C: ditto
17272 * lyxlex_pimpl.C: ditto
17274 * paragraph.C (Last): remove when NEW_INSETS is defined.
17276 * other file: changes because of the above.
17278 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17280 * lyxparagraph.h: rename next to next_, previous to previous_,
17281 make them private for NEW_INSETS. Rename Next() to next(),
17282 Previous() to previous().
17284 * other files: changes because of the above.
17286 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17289 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17292 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17294 * main.C (main): pass lyx_localedir to gettext_init().
17296 * gettext.h: remove locale_init and gettext_init macros
17298 * gettext.C (locale_init): new function
17299 (gettext_init): new function
17301 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17304 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17306 * Moved credits to frontends:
17307 * credits.[Ch]: removed
17308 * credits_form.[Ch]: removed
17309 * lyx_gui_misc.C: remove credits stuff
17312 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17314 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17316 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17317 unneeded destructor.
17319 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17320 a standalone pointer again.
17322 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17324 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17330 * ToolbarDefaults.C:
17339 * BufferView_pimpl.C: use new file dialog in GUII
17342 * lyx_cb.C: remove LayoutsCB to Toolbar
17344 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17346 * ShareContainer.h (get): add std:: qualifier
17348 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17350 * ShareContainer.h: define a proper ShareContainer::value_type
17351 type (and use typename to please compaq cxx)
17353 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17355 * lyxparagraph.h: move serveral local vars to
17356 ParameterStruct/ParagraphParameters., use ShareContainer in
17357 FontTable., make vars in FontTable private and add getter and
17360 * paragraph.C: changes because of the above.
17362 * lyxfont.h: remove copy constructor and copy assignment. (the
17363 default ones is ok), move number inside FontBits. move inlines to
17366 * lyxfont.C: add number to initializaton of statics, move several
17367 inlines here. constify several local vars. some whitespace
17368 cleanup. Dont hide outerscope variables.
17370 * Spacing.h: add two new constructors to match the set methods.
17372 * ShareContainer.h: new file, will perhaps be moved to support
17374 * ParameterStruct.h: new file
17376 * ParagraphParameters.h: new file
17378 * ParagraphParameters.C: new file
17380 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17381 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17383 * BufferView_pimpl.C: ParagraphParameter changes.
17384 * buffer.C: Likewise.
17385 * bufferview_funcs.C: Likewise.
17386 * text.C: Likewise.
17387 * text2.C: Likewise.
17389 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17391 * lyxfind.C (LyXReplace): do not redefine default argument in
17393 (IsStringInText): ditto
17394 (SearchForward): ditto
17395 (SearchBackward): ditto
17397 2001-03-06 Juergen Vigna <jug@sad.it>
17399 * lyxfind.C (IsStringInText): put parentes around expressions.
17401 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17403 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17405 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17407 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17409 * stl_string_fwd.h: add comment
17411 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17414 * tabular.C: remove unused DocBook methods
17420 killed DO_USE_DEFAULT_LANGUAGE
17422 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17424 * lyx_gui.C: do not include language.h.
17426 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17427 arguments in function implementation.
17429 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17431 * BufferView_pimpl.C: add <ctime>
17433 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17435 * BufferView_pimpl.C: add using std::find_if
17437 2001-02-27 José Matos <jamatos@fep.up.pt>
17439 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17442 2001-02-11 José Matos <jamatos@fep.up.pt>
17444 * buffer.C (makeDocBookFile): command styles now have a parameter as
17445 "title" by default.
17447 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17449 * layout_forms.[Ch]: removed
17450 * lyx_cb.[Ch]: out character
17451 * lyx_gui.C: out character
17452 * lyx_gui_misc.C: out character
17453 * bufferview_funcs.C: : out character,
17454 added toggleall as parameter in ToggleAndShow
17456 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17458 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17460 * text2.C (SetCurrentFont): Disable number property at boundary.
17462 2001-02-26 Juergen Vigna <jug@sad.it>
17464 * lyxfunc.C (getStatus): added a string argument override function so
17465 that this is correctly called from LyXFunc::Dispatch if it contains a
17466 do_not_use_argument which is used!
17467 (Dispatch): added check for "custom" export and call appropriate func.
17469 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17471 * lyxrc.C: Add language_command_local, language_use_babel and
17472 language_global_options.
17474 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17476 * buffer.C (makeLaTeXFile): Use language_use_babel and
17477 language_global_options.
17479 2001-02-23 Juergen Vigna <jug@sad.it>
17481 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17482 which works with LyXText and putted it inside BufferView. Here now we
17483 only call for that part the BufferView::Dispatch() function.
17485 * BufferView.C (Dispatch): added.
17487 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17488 functions which needs to use a LyXText over from LyXFunc.
17489 (MenuInsertLyXFile): added
17490 (getInsetByCode): added
17491 (moveCursorUpdate): added
17492 (static TEXT): added
17494 2001-02-22 Juergen Vigna <jug@sad.it>
17496 * BufferView_pimpl.C (update): call a status update to see if LyXText
17499 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17501 * vc-backend.C (revert): implement for CVS
17502 (getLog): implement for CVS
17504 2001-02-20 Juergen Vigna <jug@sad.it>
17506 * text2.C (ClearSelection): added BufferView param for inset_owner call
17508 * lyxfunc.C (TEXT): added this function and use it instead of
17509 directly owner->view()-text of getLyXText().
17511 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17513 * src/layout_forms.C: out preamble
17514 * src/layout_forms.h: out preamble
17515 * src/lyx_cb.C: out preamble
17516 * src/lyx_cb.h: out preamble
17517 * src/lyx_gui.C: out preamble
17518 * src/lyx_gui_misc.C: out preamble
17519 * src/lyxfunc.C: connect with guii preamble
17521 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17523 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17525 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17527 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17528 whether to run bibtex.
17530 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17532 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17534 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17536 * Makefile.am (lyx_SOURCES): removed bibforms.h
17538 * vspace.h: doxygen
17540 * text.C (GetVisibleRow): make several local vars const
17542 * tabular.C: small cleanup.
17544 * lyxserver.C (callback): use compare instead of strncmp
17546 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17547 inlines to after class or to paragraph.C
17549 * lyxfont.h: remove friend operator!=
17551 * converter.h: move friend bool operator< to non friend and after
17554 * combox.h: small cleanup
17556 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17557 to inlines after class def.
17559 * buffer.C (pop_tag): use string operations instead of strcmp
17561 * bmtable.c: doxygen, small cleanup
17563 * LaTeX.h: remove friend operator==
17565 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17577 * BufferView_pimpl.C:
17578 * BufferView.[Ch]: remove cruft
17580 2001-02-14 Juergen Vigna <jug@sad.it>
17582 * lyxfunc.C: removed #if 0 unused code
17584 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17586 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17588 * text2.C (SetSelection): added a BufferView * parameter
17590 2001-02-13 Juergen Vigna <jug@sad.it>
17592 * lyxfunc.C (Dispatch): fixed protected blank problem.
17593 * BufferView2.C (protectedBlank): added LyxText * parameter.
17595 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17596 (AppendColumn): same as above for column_info.
17598 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17599 (moveCursorUpdate): use a LyXText param for support of InsetText.
17601 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17602 (tripleClick): ditto
17604 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17606 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17608 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17610 * text2.C (SetSelection): set correct update status if inset_owner
17611 (ToggleFree): ditto
17613 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17615 * tabular.C: remove some commented code.
17617 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17619 * BufferView_pimpl.C: call hideSplash()
17621 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17624 * bibforms.h: remove
17627 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17628 add LFUN_CHILD_CREATE
17630 * counters.h: fix tiny typo
17635 * lyx.C: move splash to frontends/xforms/
17637 * lyx_gui_misc.C: move Include and Bibform to frontends
17639 * lyxvc.h: clarify comment
17641 * vspace.C: tiny housekeeping
17643 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17645 * text.C (PrepareToPrint): RTL Fix.
17647 * paragraph.C (GetUChar): New method.
17648 (String): Use GetUChar.
17650 * buffer.C (asciiParagraph): Use GetUChar.
17652 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17654 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17656 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17659 * buffer.C: rename to getLogName(), handle
17660 build log / latex log nicely
17662 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17665 * MenuBackend.h: remove support for reference menuitem type.
17667 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17669 * BufferView_pimpl.C: housekeeping
17670 * BufferView_pimpl.h:
17675 * minibuffer.h: move Timeout GUI-I
17677 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17679 * lyxrc.C (read): Update converters data-structures.
17681 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17683 * LaTeX.h (operator!=): add operator != for Aux_Info
17685 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17687 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17689 * LaTeXLog.C: deleted, useful code moved to Buffer
17692 * buffer.C: new function getLatexLogName()
17698 * lyxfunc.C: use frontends for LaTeX and VC logs
17700 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17702 * LaTeX.h: yet another std:: that Allan forgot.
17704 * Variables.C (set): renamed from isset(), because this clashes
17705 with some HP-UX macros (grr).
17707 2001-02-06 Allan Rae <rae@lyx.org>
17709 * LaTeX.h: Another bug fix. Missing std:: this time.
17711 2001-02-04 Allan Rae <rae@lyx.org>
17713 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17714 floats problem. I've left it commented out because it's not quite
17715 correct. It should also test that the current object is a table or
17716 figure inset. But I haven't gotten around to figuring out how to do
17717 that. I *think* it'll be something like: "table" == inset.type()
17719 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17722 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17724 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17725 all the citation/databases/styles in the auxilary file.
17726 (run): Rerun latex if there was a babel language error.
17728 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17730 * text.C (Backspace): Preserve the font when changing newline char
17732 (BreakParagraph): If the cursor is before a space, delete the space.
17734 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17736 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17738 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17739 new argument (code).
17740 (ChangeCitationsIfUnique): New method.
17742 * paragraph.C (GetPositionOfInset): Handle bibkey.
17744 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17746 * BufferView_pimpl.h: change type of Position::par_pos to
17747 LyXParagraph::size_type.
17749 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17751 * BufferView_pimpl.C (savePosition, restorePosition): Write
17752 messages to minibuffer.
17754 2001-01-28 José Matos <jamatos@fep.up.pt>
17756 * buffer.C (makeDocBookFile): adds support for document language.
17757 A silly restriction on the name of LatexCommand types where removed.
17758 Added support for CDATA sections, allows to chars unescaped, used
17759 among others in code, to avoid escape < and >.
17761 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17763 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17764 saved positions instrad of a stack. Furthermore, a position is
17765 stored using paragraph id/paragraph position.
17767 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17768 Remove LFUN_REF_BACK.
17770 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17772 * converter.C (dvipdfm_options): New method.
17774 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17776 * vspace.C (isValidLength): Fix for empty input string.
17778 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17780 * LyXAction.C (init): change description of LFUN_FIGURE to
17783 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17785 * LaTeX.C: add using directive
17787 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17789 * MenuBackend.C (expand): Fix the sorting of the formats.
17791 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17793 * lyx_main.C: tiny error message fix
17795 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17797 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17798 calling fl_initialize(). This fixes the problem with ',' as
17799 decimal separator in text files.
17801 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17803 * trans.C (process): Fix the keymap bug.
17805 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17807 * LaTeX.C (scanAuxFiles): New method. Provides support for
17808 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17809 (scanLogFile) Scan for "run BibTeX" messages.
17811 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17812 OT1 font encoding. Also, load the aecompl package if the ae
17815 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17817 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17819 * texrow.C (increasePos): turn two error messages into debug
17822 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17824 * LaTeX.C (scanAux): Handle the \@input macro.
17825 (runBibTeX): Use scanAux().
17827 * language.C (latex_options_): New field.
17829 * LaTeXFeatures.C (getMacros): Add language macros.
17831 * buffer.C (makeLaTeXFile): Small fix.
17833 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17835 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17837 * text2.C: add a using directive.
17839 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17844 * lyxfunc.C: kill LyXBell.
17846 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17848 * text.C (IsBoundary): Remove the error message
17850 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17852 * lyxrc.C (setDefaults): Correct initialization value for
17855 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17857 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17860 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17861 and GotoNextNote().
17863 * src/LyXAction.C: Added reference-next.
17865 * text.C (InsertChar): Use contains instead of strchr.
17867 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17869 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17871 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17872 alignment commands (when needed).
17874 * text.C (InsertChar): Add ':' to number separator chars.