1 2005-07-15 Juergen Vigna <jug@lyx.org>
3 * lyxfunc.C (dispatch): save and restore the cursor after a
6 2005-07-15 <lgb@tandberg.net>
8 * text.C (backspace): bug 806 for empty keepempty paragraphs we
9 change the layout to default before letting DEPM do its thing.
11 * paragraph_funcs.C (breakParagraph): dont reset the layout on
14 * text.C (setCursorFromCoordinates): add a debug statement
16 * text2.C (getColumnNearX): bug 1825 make sure that we don't
17 return a pos that is not on the row
19 * output_latex.C (TeXDeeper): get rid of potential dereferencing
20 of past the end iterator
22 2005-07-14 André Pönitz <poenitz@gmx.net>
24 * undo.C (recordUndoFullBuffer): implement undo for
27 2005-07-14 André Pönitz <poenitz@gmx.net>
29 * cursor.C (setSelection): open insets when selection is set there
30 to avoid crashs with cold coord cache
32 2005-07-14 André Pönitz <poenitz@gmx.net>
34 * trans_mgr.C (insert): move cursor to the right after inserting
37 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
39 * BufferView_pimpl.C (update): dampen some of the debug blabbering
40 * factory.C (readInset): ditto
41 * text.C, text2.C: ditto
43 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * buffer.C: format incremented to 242. There is no file format per
46 se, but the "frenchb" language has been removed from lib/language
47 and has to be translated to "french" by lyx2lyx.
49 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
51 * cursor_slice.h, dociterator.h: add some documentation
52 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
54 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
56 * text.C (leftMargin): do not add identation to display() style
57 insets, because they are always centered (bug 1293).
59 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
61 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
62 formatted_time methods in support/lyxtime.
64 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
66 * toc.[Ch]: new method getGuiName, which is used by the frontends
67 to set the toc combo (fixes bug 1870). Make TOC string translatable.
69 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
71 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
72 StableDocIterator const &)
73 * undo.C (recordUndo): use the above instead of cell.size() comparison
74 (fixes bug 1808; instructed by André).
76 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
79 * dociterator.h: Fix the assert when copying rows/cols in math
81 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
85 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
87 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
88 (findInset): new functions, refactored from goto Inset that return
89 the position of a certain inset without setting the buffer's cursor
91 (gotoInset): rewrite to call findInset and then set the cursor
94 2005-06-16 Angus Leeming <leeming@lyx.org>
96 * lyxrc.C (output, read): wrap all input and output of paths with
97 calls to os::internal_path and os::external_path, respectively.
98 (output): wrap bind_file inside quotes.
100 * format.C (view): enable the viewer to use the '$$s' placeholder.
102 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * LColor.[Ch] (getFromLaTeXName): new
106 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
108 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
110 2005-06-14 Angus Leeming <leeming@lyx.org>
112 * lyx_main.C (init): ensure that the LyX binary dir is the first
113 element in the PATH on non-POSIX builds.
115 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
117 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
119 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * rowpainter.C (paintInset, paintHebrewComposeChar)
122 (paintArabicComposeChar, paintChars): add a LyXFont argument.
123 (paintChars): use getFontSpan to reduce calls to getFont to a
124 minimum; use Paragraph::lookupChange instead of isXXXText.
125 (paintForeignMark): rename LyXFont argument.
126 (paintFromPos): pass a LyXFont object to the various paintXXX
129 * FontIterator.C (FontIterator, operator++): use
130 Paragraph::getFontSpan
132 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
133 version that returns the font span as a pair.
135 2005-06-09 Angus Leeming <leeming@lyx.org>
137 * converter.C (convert): Don't forget "outfile = real_outfile" as
138 the final step in a conversion where the input and output file names
139 are the same. Otherwise, future conversion steps won't work...
141 2005-06-09 Angus Leeming <leeming@lyx.org>
143 * lyxsocket.C: remove stub code as it isn't needed by
144 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
146 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
149 effectively disabled -x
151 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
153 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
154 when it actually makes sense.
156 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
158 * BufferView_pimpl.C: revert to showCursor in connection with
159 Lars's front-end stack
161 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
163 * text.C (redoParagraph): move cursor right after a bibitem
166 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
168 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * buffer_funcs.C (bufferErrors): fix computation of the end of an
173 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
175 * BufferView.[Ch] (update):
176 * BufferView_pimpl.[Ch] (update, metrics):
177 * dimension.h (operator==):
178 * lyxfunc.C (dispatch):
179 * metricsinfo.h (ViewMetricsInfo):
180 * rowpainter.C (paintText):
182 * text.C (redoParagraph):
183 * text3.C (dispatch): Make LyX only repaint current paragraph in
184 case of character insert --> speedup. Also fix cursor draw
187 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
190 avoid a crash (bug 1891)
192 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * text2.C (getStringToIndex): constify cur argument.
198 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
199 argument has been given
200 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
201 try to invoke LFUN_INSET_APPLY).
203 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
204 if no inset was created by doInsertInset
205 (doInsertInset): return true if an inset has been inserted.
207 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
209 * vspace.C (asGUIName): new method. A version of the space
210 suitable for showing on screen.
212 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
215 * lyxrc.C: rename "ASCII" to "Plain Text"
217 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
219 * buffer_funcs.C (expandLabel): take a Buffer as argument;
220 translate the labelstring.
221 (setCounter): translate labelstring as needed.
223 * output_docbook.C (makeCommand): fix expandLabel invokation
225 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
227 * BufferView.C: fix dialog title
229 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
231 * lyx_main.C (priv_exec): fix logic error with help from Angus
232 * lyx_main.C (parse_execute): set is_gui = false and remove now
233 obsolete comment about a segfault
235 2005-05-18 Angus Leeming <leeming@lyx.org>
237 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
239 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
241 * tabular.[hC]: added setCellInset to fix tabular paste.
243 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
245 * buffer.C (save): check if destination is writable before trying
248 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
250 * BufferView_pimpl.C (update): fix processEvents -caused update
253 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * buffer_funcs.C (setCounter): fix test for numbering of
258 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
259 depth correctly; use optional argument when it exists
261 * lyxtextclass.C: remove unused MaxCounterTags enum
262 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
263 (max_toclevel, min_toclevel): new methods.
265 * MenuBackend.C (expandToc2): fix case where depth is smaller than
266 the smallest depth in toc.
268 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
269 layouts that should not appear in a table of contents.
271 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
273 * cursor.h (undispatched, noUpdate): add comments from André
275 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
279 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
281 2005-05-07 André Pönitz <poenitz@gmx.net>
283 * cursor.[Ch] (leaveInset): new function
285 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
287 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
289 2005-05-04 Angus Leeming <leeming@lyx.org>
291 * lyxfunc.C (getStatus): disable the spell checker dialog if
292 none of USE_[AIP]SPELL are defined.
294 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
296 * tabular.C (setWidthOfCell): remove obsolete comment
298 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
300 * paragraph.C (bibitem):
301 * buffer_funcs.C (setCounter):
302 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
304 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
306 * text3.C (getStatus): immediately return after setOnOff
308 * rowpainter.C: fix drawing of appendix start
310 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
312 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
313 SwitchBetweenClasses and remove the unused return value.
314 Handle character styles, too
316 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
318 * factory.C (createInset): handle undefined character styles
320 2005-05-02 Angus Leeming <leeming@lyx.org>
322 * buffer.C: protect the #include of utime.h with a preprocessor
325 2005-05-02 Angus Leeming <leeming@lyx.org>
327 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
328 function so that auto-saving works, albeit in a blocking manner.
330 * Makefile.am: make compilation of the client sub directory, of
331 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
332 on conditionals set at configure time.
334 * SpellBase.[Ch]: no longer an abstract base class. Instead,
335 it can be compiled in its own right but has no-op functionality.
337 * aspell.C, pspell.C: remove preprocessor guards. The files should
338 be compiled only if the necessary functionality exists.
340 * lyxserver.C, lyxsocket.C: disable on Windows.
342 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
344 * text.C (leftMargin): Fix the parindent use bug (1764)
347 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
349 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
352 2005-04-25 Angus Leeming <leeming@lyx.org>
360 include <config.h> in .C files, not .h ones.
362 protect headers inside preprocessor guards.
364 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
366 * FuncStatus.h (StatusCodes): document
368 2005-04-21 André Pönitz <poenitz@gmx.net>
370 * FuncStatus.h (enabled, onoff): document
372 2005-04-19 Angus Leeming <leeming@lyx.org>
374 * BufferView_pimpl.C (cursorToggle): no longer test whether
375 any child processes have been reaped before calling
376 handleCompletedProcesses().
378 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
380 * text3.C (dispatch): fix, finally fix, the language problem in
381 new lyxtexts, without disabling on-the-fly font changes (Helge's
384 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
386 * text3.C (dispatch): set cursor on double/triple click events
389 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
392 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
394 * rowpainter.C (paintFirst): simplify the code a little bit. In
395 particular, remove the test for secnumdepth.
396 * text.C (setHeightOfRow): only allocate space for chapter number
397 when updateCounters provided an actual label, instead of looking
398 at secnumdepth directly.
400 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
402 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
403 paragraphs when secnumdepth is large enough or, for environments,
404 when they are not the first in a sequence.
406 2005-04-17 Angus Leeming <leeming@lyx.org>
408 * buffer.C (makeLaTeXFile): replace code to manipulate a path
409 containing space and '~' characters with a call to latex_path().
411 2005-04-17 Angus Leeming <leeming@lyx.org>
413 * converter.C (convert): protect all args of convertDefault.sh
416 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
418 * text3.C (dispatch): change the layout to "Caption" after inserting
421 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
423 * text3.C (dispatch): fix language problem in newly created
424 textinsets (and main text) in non-english docs
426 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
428 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
429 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
430 * text3.C (getStatus): disable LFUN_INSET_MODIFY
432 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
437 * rowpainter.C (getFont): Fix metrics bug introduced by inset
440 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
442 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
443 output of \item arguments without trailing text.
445 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
447 * FontIterator.C (operator*): avoid a copy of the font.
449 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
451 * rowpainter.C (getFont): fix language bug from previous fix
453 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
455 * rowpainter.C (RowPainter, getFont): fix font inside inset
458 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
460 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
461 preventing inserted font, deco, delim insets jumping to start of
464 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
466 * lyxfunc.C (dispatch): translate message before sending it to the
469 2005-03-29 Angus Leeming <leeming@lyx.org>
471 * lyx_main.C (priv_exec): call os::internal_path on each file passed
472 to LyX on the command line.
474 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
476 * vc-backend.C: use QuoteName to protect file names wherever
479 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
482 * BranchList.h: fix bugs 1844,1845: document settings don't
485 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
487 * lyxrc.C (setDefaults, read, output, getDescription): add support
488 for tex_allows_spaces.
490 * exporter.C (Export): allows files in directory containing spaces
491 if tex_allows_spaces is true.
493 * buffer.C (makeLaTeXFile): if the document path contains spaces,
494 output it in double quotes.
496 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
498 * rowpainter.C: use default text height for drawing change tracker
501 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
503 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
505 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
508 directory is missing.
510 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
512 * text2.C: fixed the fix, extended to other case.
514 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
516 * text2.C: fix for cursor up/down stuck in math [bug 1792]
518 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
520 * text2.C (cursorUp): get rid of a crash
521 * text.C (x2pos): add an assert
523 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * lyxfunc.C (getStatus): fix warning when assertions are disabled
529 * dociterator.C: include <boost/current_function.hpp>, which is
530 needed when assertions are disabled.
532 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
534 * text2.C: fix for stuck cursor when traversing two
535 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
537 2005-02-25 Andreas Vox <avox@arcor.de>
539 * output_docbook.C (makeParagraph): suppress trailing newline
540 after a run of paragraphs
542 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
544 * paragraph.C: fix for confused change tracker when pasting
545 text that begins with a lineseparator. [bug 1827]
546 (setChange(0, Change::INSERTED);)
548 * paragraph_funcs.C: fix for lost changes on triple-paste
549 in change tracking mode [bug 1827] (par.setChange()).
551 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
553 * text2.C (updateCounters, setCounter, expandLabel): move to
556 * buffer_funcs.C (updateCounters): turn into a free standing
557 function and add a buffer parameter. Remove dead code for tracking
559 (setCounter): change into a free-standing function which gets a
560 dociterator as argument. Use this iterator to fix captions in a
561 simple way. When no float is found above the caption, use the
562 labelstring of the caption layout as default.
564 * text.C (breakParagraph, backspace):
565 * text2.C (init, setLayout, changeDepth):
566 * text3.C (dispatch):
567 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
570 * dociterator.C (forwardPar): make it much faster by calling
571 forwardPos() only when really necessary.
573 * output_docbook.C (makeCommand): adapt to expandLabel move.
575 * cursor.C: remove unused variable
577 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
579 * paragraph_funcs.C: fix crash when pasting insets in change
580 tracking mode [bug 1277] (honour change type in moveItem).
582 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
584 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
586 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
588 * BufferView.C (setCursor): change to use a DocIterator.
589 (gotoLabel): use BufferView::setCursor (other part of bug 781).
590 (putSelectionAt): adapt to BufferView::setCursor change.
592 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
593 moved here from LyXText and rewritten to use proper cursor
594 methods. Fixes bug 1787, 616 and 835.
596 * BufferView_pimpl.C (restorePosition): set the cursor correctly
597 when inside an inset (part of bug 781).
598 (dispatch): adapt to change of BufferView::setCursor.
599 (getStatus, dispatch): handle LFUN_GOTOERROR,
600 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
602 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
603 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
604 * text3.C (gotoNextInset, gotoInset): removed.
606 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
608 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
610 2005-02-15 Angus Leeming <leeming@lyx.org>
612 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
613 can be used meaningfully in a comparison.
615 2005-02-13 André Pönitz <poenitz@gmx.net>
617 * bufferview_funcs.C (coordOffset): improve cursor drawing
619 2005-02-13 André Pönitz <poenitz@gmx.net>
621 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
622 * Cursor.C (dispatch): use fixIfBroken
623 * lyxfunc.C (getStatus): use fixIfBroken
625 2005-02-15 Angus Leeming <leeming@lyx.org>
627 * lyx_main.C (error_handler):
629 * lyxrc.C (setDefaults):
631 #include "environment.h".
633 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
635 2005-02-15 Angus Leeming <leeming@lyx.org>
637 * lyxserver.C (startPipe): squash MSVC warning "local variable
638 'fd' used without having been initialized".
640 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
642 * BufferView_pimpl.C: revert accidental commit.
644 2005-02-14 André Pönitz <poenitz@gmx.net>
646 * dociterator.[Ch]: new member forwardPosNoDescent(),
647 which doesn't enter nested insets.
648 * text2.C (setFont): use forwardPosNoDescent() instead
649 of ForwardPos() (fixes crash on font change).
651 2005-02-13 Angus Leeming <leeming@lyx.org>
653 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
654 only if lyxrc.path_prefix is not empty.
656 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
658 * bufferparams.C (readGraphicsDriver): prevent crash
660 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
662 * text2.C (setCounter): check for inInset() == 0
664 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
666 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
667 but use update() to get correct screen display; use convert
668 instead of istringstream.
669 (getStatus): handle LFUN_GOTO_PARAGRAPH
671 * lyxfunc.C (dispatch, getStatus): do not handle
672 LFUN_GOTO_PARAGRAPH here.
674 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
676 * text3.C (dispatch): size() -> depth()
678 * text2.C: remove some debug output
680 * paragraph.C: ws changes only
682 * lyxfunc.C (getStatus): size() -> depth()
684 * dociterator.h (clear, push_back, pop_back, internalData,
685 operator[], resize, empty): new functions
686 Make StableDocIterator and operator== be friends. Don't inherit
687 from std::vector use a privat class variable slices_ instead.
690 * dociterator.C: update because of not inheriting from std::vector
691 anymore. Call explictly to slices_ instead. Use depth() instead of
692 size() and top() instead of back()
694 * cursor.C: chagne size() -> depth and back() -> top(). Also
695 remove some direct operator[](i) calls in favour of foo[i]
696 (getFont): remove some dead code
698 * bufferview_funcs.C (coordOffset): size() -> depth()
700 * buffer.C: ws changes only
702 * CutAndPaste.C (eraseSelection): back() -> top()
704 * BufferView_pimpl.C (selectionRequested): back() -> top()
706 * BufferView.C (setCursor): size() -> depth()
708 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
710 * text3.C (cursorPrevious): return true if depm changed something
712 (dispatch): rename sl to oldTopSlice, remove moving use the new
713 NoUpdate func attrib instead. Make sure that needsUpdate is set
714 for function that have NoUpdate, but where depm might have changed
717 * text2.C (cursorLeft): make us return true if depm changed
720 (cursorUpParagraph): ditto
721 (curosrDownParagraph): ditto
722 (cursorUp, cursorDown): ditto, make sure to read comments in code
723 (deleteEmptyParagraphMechanism): remove an assert, also return
724 true if just a single char was deleted.
726 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
727 cursor that we modify, to avoid modifying an active cursor before
728 we call setCursor. This allows depm to run. Also return true if
729 depm deleted something.
731 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
732 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
733 cursorDownParagraph, cursorPrevious and cursorNext, return true if
734 something was changed in the buffer because of them (ie. depm run)
736 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
737 debug messages. Make update by default be false. Make sure that
738 the result of update is retained throught several calls down to
741 * LyXAction.h: add a new func_attrib: NoUpdate
743 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
744 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
745 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
747 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
749 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
751 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
752 bv_->owner(), bv_->buffer() by direct references to the private
754 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
755 (getStatus): isSavedPosition() is in BufferView::Pimpl.
756 (fitCursor): center() is in BufferView::Pimpl.
757 (getStatus, trackChanges, dispatch): no need for a temporary buf
759 (fitCursor, workAreaDispatch): use workarea().workheight()
761 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
763 * CutAndPaste.C (pasteSelectionHelper): fix a crash
765 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
767 * buffer.C: format up to 241.
768 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
769 break if pasting into ERT
770 * lyxfunc.C (getStatus): suppress mathpanel and
771 LFUN_DIALOG_SHOW_NEW_INSET in ERT
773 2005-02-01 Angus Leeming <leeming@lyx.org>
775 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
777 2005-02-01 Angus Leeming <leeming@lyx.org>
779 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
780 calling fs::is_directory().
782 2005-01-31 Angus Leeming <leeming@lyx.org>
784 * lyx_main.C (priv_exec): specify explicitly the relative location
785 of the top level build directory when run in-place.
787 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
789 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
790 LyXText containing the cursor, not the top-level one.
792 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
794 (insertStringAsLines): rename par to pit; use temporary variable
795 par to hold a Paragraph; do not store par.layout() in a variable,
796 since the pointer may die when breaking paragraphs; pass pars to
797 breakParagraph() instead of Buffer::paragraphs().
799 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
801 * lyxlex_pimpl.h: #include <fstream>.
803 * BufferView.[Ch] (getLyXText): add a const version.
805 * BufferView_pimpl.C: add debug aids.
810 * paragraph_funcs.h: add commentary explaining what the class does.
813 * coordcache.[Ch]: add lots of commentary.
814 (startUpdating, doneUpdating): debug aids.
815 (arrays, insets, parPos, getParPos): accessors to private data.
817 * cursor_slice.[Ch] (text): add a const version.
818 * dociterator.[Ch] (text, innerText): add const versions.
820 * lyxtext.h (breakParagraph): change the keep_layout arg to a
823 * paragraph.C (getRow, pos2ros): add asserts.
825 * paragraph.h: add commentary. Lots of.
827 * paragraph.[Ch] (metrucs, draw): removed.
830 * rowpainter.[Ch]: const-correct changes.
832 * text.C: various obvious clean-ups. Removal of ancient cruft.
835 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
837 * vc-backend.C (find_file): rewrite to use boost.filesystem
840 * main.C (main): set default name check for boost.filesystem to
843 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
846 (actOnUpdatedPrefs): ditto
848 * lyx_main.C (init): rewrite to use boost.filesystem
849 (queryUserLyXDir): ditto
851 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
852 (getContentsOfAsciiFile): ditto
854 * lastfiles.C (readFile): rewrite to use boost.filesystem
856 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
858 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
861 * buffer.C (Buffer): adjust for destroydir
862 (getLogName): rewrite to use boost.filesystem
864 (save): use fs::copy_file (from fs_extras)
866 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
868 * LaTeX.C (run): rewrite to use boost.filesystem
869 (scanAuxFiles): ditto
870 (handleFoundFile): ditto
872 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
874 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
876 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
878 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
880 * lyxlayout.[Ch]: change some vars from float to double
882 * buffer.C (readFile): make a local var const
884 * Several files: use convert<> instead of atoi,strToXXX and friends
886 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
888 * LaTeXFeatures.[Ch]: Add a static list packages_ that
889 holds the contents of packages.lst. New functions getAvailable
890 and isAvailable to parse and check that list, resp.
894 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
896 * bufferparams.[Ch]: new param output_changes.
898 * Buffer.C: increase file format to 240.
899 Use output_changes and isVailable.
903 * paragraph_pimpl.C: Use output_changes and isVailable.
905 2005-01-23 Angus Leeming <leeming@lyx.org>
907 * output_latex.C: #include "insetbibitem.h", rather than
908 forward declare function bibitemWidest.
910 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
912 * lyx_main.C (init): make it compile on the Mac.
914 2005-01-20 Angus Leeming <leeming@lyx.org>
916 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
917 (setLyXMisc): (char string literal) != (char string literal) is
918 performing a comparison on the addresses. Convert one operand
919 explicitly to string to guarantee expected behaviour.
922 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
925 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
927 * output_plaintext.C: remove unneeded #include gzstream.h.
929 2005-01-20 Angus Leeming <leeming@lyx.org>
931 * SpellBase.h: rename some of the elements of the Result enum.
938 * pspell.C (check): ditto
940 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
942 * buffer.C: add #include <fstream>.
944 * lyx_main.C (init): Compile fix.
946 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
948 2005-01-20 Angus Leeming <leeming@lyx.org>
950 * mover.h: change commentary to reflect the changed meaning of
953 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
955 * output_linuxdoc.C (linuxdocParagraphs): silence warning
957 * lyxfind.C (MatchString::operator()): remove bogus semicolon
959 2005-01-20 Angus Leeming <leeming@lyx.org>
961 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
962 printing diagnostic data by not dereferecing an iterator past the
965 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
967 * buffer.C (readHeader): use "&&" rather than "and".
969 * lyxserver.h (inPipeName, outPipeName): make these const.
971 2005-01-19 Angus Leeming <leeming@lyx.org>
973 * lyx_main.C (error_handler, init): protect SIGHUP with
974 #ifdef SIGHUP guards.
976 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
978 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
980 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
982 * text.C (setHeightOfRow): add a margin at the top and bottom of
983 the document (bug 1761)
985 2005-01-17 Angus Leeming <leeming@lyx.org>
987 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
988 with "python ". Workaround for a brain-dead Windows.
990 2005-01-16 Angus Leeming <leeming@lyx.org>
992 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
993 for MacOSX and Windows to use prependEnvPath.
994 Strip out the hard-coded block to add elements to the PATH for
995 MacOSX and replace it with a call to prependEnvPath using the
996 contents of LyXRC::path_prefix.
997 (queryUserLyXDir): strip out the code to run reconfigure, instead
998 returning a boolean indicating the necessity to do so.
999 (reconfigureUserLyXDir): contains the code to reconfigure the
1000 user support directory. Is now called after the various LyXRC data
1001 files have been read.
1003 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1005 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1007 * converter.[Ch] (convert): take a new parameter try_default. Use
1008 a default converter (imagemagick) if try_default is true.
1010 2005-01-13 Angus Leeming <leeming@lyx.org>
1012 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1013 os::cygwin_path_fix.
1014 (write): output LyXRC::cygwin_path_fix as necessary.
1016 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1019 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1021 2005-01-12 Angus Leeming <leeming@lyx.org>
1023 * lyx_main.C (init): set the PATH variable to include the
1024 directory containing the LyX binary when running on Mac or Windows.
1026 2005-01-12 Angus Leeming <leeming@lyx.org>
1028 * lyx_main.C (init): remove cruft that purports to set the locale
1029 dir. It doesn't and is not needed anyway.
1031 2005-01-10 Angus Leeming <leeming@lyx.org>
1033 * Makefile.am: remove the lyx_main.C special casing.
1035 * BufferView_pimpl.C:
1041 * messages.C: use support/package.h to provide the paths to the
1042 various directories used by LyX.
1044 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1046 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1047 layout if pasting into an empty paragraph)
1049 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1051 * tex-accent.C: add <string>
1053 2005-01-06 José Matos <jamatos@lyx.org>
1055 * ParagraphParameters.C (write): put every parameter in its own line.
1056 * paragraph.C (write): reduce number of consecutive empty lines exported.
1057 * buffer.C (LYX_FORMAT): increase file format to 239.
1059 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1061 * everywhere: change support/tostr.h -> support/convert.h
1063 * tabular.C: make all write_attributes templates, tostr -> convert
1065 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1066 (emptyTag): and -> &&, and fix type for ret from getChar
1067 (getFirstWord): fix type for ret from getChar
1068 (onlyText): and -> &&
1069 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1072 * toc.C (goTo, action):
1073 * text3.C (dispatch):
1074 * text.C (currentState):
1075 * tex-accent.C (DoAccent):
1078 * lyxfunc.C (menuNew):
1079 * lyxfinc.C (replace):
1080 * counters.C (laberItem):
1081 * bufferview_funcs.C (font2string):
1082 * bufferparams.C (writeFile):
1083 * buffer.C (readFile):
1085 * MenuBackend.C: tostr -> convert
1087 * LaTeX.C (runMessage): fix format
1088 (scanAuxFiles): tostr -> convert
1090 * BufferView_pimpl.C (savePosition): fix format
1091 (restorePosition): ditto
1094 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1096 * Spacing.[Ch]: New method getValueAsString().
1100 * ParagraphParameters.C:
1103 * text3.C: store/read spacing value as string.
1105 * rowpainter.C: change float value (spacing_val) to double.
1107 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1108 broken custom document spacing).
1110 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1112 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1113 namespace, also more use of temp references and const
1115 * cursor.[Ch] (getStatus): move to lyxfunc.C
1117 * bufferparams.C: reformat slightly
1119 * bufferview_funcs.C (font2string): constify arg
1125 * buffer_funcs.C: (many funcs): constify arg on function
1126 definitions, also make more local vars const, also add ASSERTS on
1129 * buffer.C (LYX_FORMAT): put const in correct place
1130 (many funcs): constify arg on function definitions, also make
1131 more local vars const
1133 * aspell_local.h: remove "struct" from typdef setup
1135 * aspell.C (check): make word_ok const
1136 (nextMiss): simplify slightly
1139 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1141 * lyxrc.[Ch]: store all float values as strings.
1142 use int (not float) for lyxrc.dpi.
1144 2005-01-04 Angus Leeming <leeming@lyx.org>
1146 * lyx_cb.C (Reconfigure):
1147 * lyx_main.C (queryUserLyXDir):
1148 to run the <system_lyxdir>/configure correctly on Windows, prefix
1149 the path to the script with "sh " when generating the string that
1150 is passed to system().
1152 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1154 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1156 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1158 * lyxlength.C (asLatexString): get rid of setprecision
1160 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1162 * text2.C (setLayout): remove unused variable endpit.
1163 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1165 * paragraph.C (onlyText): remove unused variable style.
1167 * cursor.C (bruteFind): remove unused variables beg and end.
1169 * Makefile.am (dist_noinset_DATA): not needed anymore
1171 * cheaders/*: remove.
1173 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1175 * text3.C: fix LFUN_MATH_MODE.
1177 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1179 * buffer_funcs.C (countWords): new function. Counts words between
1182 * BufferView_pimpl.C (getStatus, dispatch): handle
1185 * LyXAction.C (init):
1186 * lfuns.h: add LFUN_WORDS_COUNT.
1188 2004-12-19 Angus Leeming <leeming@lyx.org>
1190 * buffer.C (save): s/slashify_path/internal_path/.
1192 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1194 * lyxfind.C (findChange): do not search for end of pars, because
1195 the change tracker cannot handle this (fixes bug 1719).
1197 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1199 * paragraph.[Ch] (autoBreakRows): remove
1201 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1203 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1204 avoid using the paragraph one
1206 * text2.C (LyXText, insertStringAsLines): adjust
1208 2004-12-16 Angus Leeming <leeming@lyx.org>
1212 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1214 2004-12-14 Angus Leeming <leeming@lyx.org>
1216 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1218 * bufferlist.C (emergencyWrite):
1219 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1222 2004-12-14 Angus Leeming <leeming@lyx.org>
1224 * main.C: (main): no longer pass pointers to os::init.
1226 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1228 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1229 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1231 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1234 * text3.C: remove selection_possible global flag
1236 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1238 * text2.C (getSelectionSpan): remove
1239 (changeDepth, changeDepthAllowed): adjust
1241 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1243 * Makefile.am (BOOST_LIBS): use boost variables
1245 2004-12-03 José Matos <jamatos@lyx.org>
1247 * buffer.C: format up to 238.
1249 2004-12-03 José Matos <jamatos@lyx.org>
1251 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1253 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1255 * cursor.C (goUpDown): remove call to idxUpDown2
1257 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1259 * tabular.[Ch]: use size_t-like types for cell, row and column
1262 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1264 * lyxfunc.C (getStatus): do not lose previous information when
1265 calling BufferView::getStatus; do not set a default "Command
1266 disabled" message at the beginning, but just before returning.
1268 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1270 * cursor.h (getStatus): add better comment from src/cursor.C
1272 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1274 * text3.C (getStatus): return false when the lfun is not handled
1276 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1278 * broken_headers.h: remove
1280 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1282 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1284 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1285 offset_ref accessors
1287 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1288 top_y_, merge fitcursor with update
1289 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1291 (metrics): introduce
1292 (workAreaDispatch): adapt to new coord scheme
1293 (redoCurrentBuffer): remove
1295 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1297 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1300 * coordcache.[Ch]: add paragraph cache and helpers
1302 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1305 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1306 (targetX, setTargetX): introduce
1308 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1309 baseline -> ascent, as the rest of lyx
1311 * lyxtext.h: remove redoParagraphs, updateParPositions,
1312 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1313 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1314 have ascent/descent (ascent is ascent of first par)
1316 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1319 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1321 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1323 * pariterator.C: fix infinite loop introduced in par->pit renaming
1325 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1326 in insets and LyXText, draw two off-screen paragraphs using
1327 NullPainter, and adapt to new coord scheme
1331 * text3.C: adapt lfun handlers to the new coord scheme, which
1332 means: there's only guaranteed coord information for onscreen pars
1333 plus one above and one below. This implies that one can do search
1334 from y coordinates in the range [-1,workHeight]
1336 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1338 * rename a lot of InsetOld to InsetBase
1340 2004-11-25 Angus Leeming <leeming@lyx.org>
1342 * BufferView_pimpl.C:
1344 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1346 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1348 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1349 call BufferView::getStatus if LCursor::getStatus did nothing
1350 (setStatusMessage, getStatusMessage): removed.
1352 * FuncStatus.C (message): new methods. Used to provide an error
1353 message indicating why a command is disabled.
1354 (clear, |=, FuncStatus): update for message.
1356 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1358 * lyxfunc.C (dispatch): always call sendDispatchMessage
1360 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1363 * BufferView_pimpl.C:
1368 * cursor_slice.[Ch]:
1371 * paragraph_funcs.C:
1377 * undo.C: par->pit renaming
1379 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1381 * tabular.C (cellstruct): use initialization, store a shared_ptr
1382 to insettext instead of the insettext directly, adjust to fit.
1383 (operator=): new function
1384 (swap): new function
1385 (rowstruct): use initialization
1386 (columnstruct): use initialization
1387 (ltType): use initialization
1390 * lyxlength.h (swap): new function
1392 * LColor.[Ch] (operator=): use the common semantics
1394 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1396 * lyxfind.C (findNextChange): update the bufferview after setting
1399 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1401 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1402 number of InsetOptArgs has already been inserted.
1404 * output_latex.C (latexOptArgInsets): new method. This outputs all
1405 the optarg insets, up to the limit defined in the layout file.
1406 (optArgInset): removed
1407 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1409 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1411 * paragraph.C (isLetter): remove special spellchecker-related
1412 code; return true also for digits
1413 (isWord, isKomma): remove
1415 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1416 * lyxfind.C (MatchString()): use isLetter instead of isWord
1418 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1420 * pariterator.h (operatir=): comment out un-implemented member
1423 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1426 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1428 * lyxfont.h: include LColor.h to satisfy concept checks.
1430 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1432 * pariterator.h: add typdefs for value_type, difference_type,
1433 pointer and reference to satisfy concept checks. Also add default
1434 constructor for same reason.
1436 * pariterator.C (operator++): add post-increment operator to
1437 satisfy concept checks.
1439 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1442 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1444 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1445 checks. Also rename base_type to BaseType to follow naming
1448 * FloatList.h: include Floating.h to satisfy concept checks.
1450 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1452 * lyxfunc.C (getStatus): when the origin of the request is menu or
1453 toolbar, and the LyXView does not have focus, do as if there was
1454 no buffer (bug 1720)
1456 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1457 FuncRequest to individual entries of LFUN_SEQUENCE
1459 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1461 * output_latex.C (TeXOnePar): override runparams.moving_arg
1462 according to the needprotect value of the current paragraph (bug
1465 * paragraph.C (simpleTeXOnePar): no need to override
1466 runparams.moving_args here
1468 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1470 * vspace.C: fix off-by-one-error, related to fix #1682
1472 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1474 * lengthcommon.C: a more general fix for bug 1682
1476 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1478 * text.C (backspace): fix crash
1480 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1482 * format.[Ch] (getFormatFromFile): new method
1483 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1485 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1487 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1489 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1491 * lyxfunc.C (dispatch): remove the verbose argument
1492 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1495 * kbmap.C (defkey): set the origin of func to KEYBOARD
1497 * MenuBackend.C (MenuItem):
1498 * ToolbarBackend.C (add): set the origin of func to UI
1500 * funcrequest.[Ch]: add origin member, which indicates which part
1501 of LyX requests an action
1503 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1505 * converter.C (move): don't lie in the error message
1506 * converter.h (isReachable, move): document
1508 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1510 * buffer.C: remove unused using lyx::support::atoi
1511 * paragraph_funcs.C: ditto
1513 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1515 * bufferlist.C (exists): use bind and equal_to instead of
1518 * lyxtextclasslist.C (NumberOfClass): ditto
1520 * cursor.C (insert): use for_each instead of explicit for loop
1522 * bufferlist.C (getFileNames): use std::transform and
1523 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1525 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1528 * buffer.C (changeLanguage): use for_each instead of explicit for
1530 (hasParWithID): implement using getParFromID
1532 * LaTeXFeatures.C: ws change only
1534 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1537 * BufferView_pimpl.C (trackChanges): use for_each instead of
1540 2004-11-04 André Pönitz <poenitz@gmx.net>
1543 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1545 * dociterator.C (asDocIterator): use hard assert again.
1547 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1549 * lyxlength.C (asLatexString): rewrite so that it does not use
1552 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1554 * text3.C (specialChar, dispatch): make sure cursor moves to the
1555 right after inserting an inset
1557 2004-11-02 José Matos <jamatos@lyx.org>
1559 * output_docbook.C (docbook):
1560 * paragraph.C (getID):
1561 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1562 garantee that the output is always legal.
1564 * tabular.C (docbook):
1565 * outputprams.[Ch]: remove mixed contents.
1567 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1569 * text2.C (setCounter): prevent endless loop
1571 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1573 * exporter.C (copyFile): use the mover instead of support::copy()
1574 * exporter.C (Export): pass format and latex name to copyFile()
1575 * exporter.h (addExternalFile): document
1576 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1578 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1580 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1582 2004-10-30 José Matos <jamatos@lyx.org>
1584 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1585 text and no inset or font change. This allows to use CDATA
1586 sections just for the whole paragraph.
1588 2004-10-30 José Matos <jamatos@lyx.org>
1590 * paragraph.C (getFirstWord): remove unused variable.
1592 2004-10-30 José Matos <jamatos@lyx.org>
1594 * paragraph.C (getFirstWord): the content should always be escaped
1596 (simpleDocBookOnePar):
1597 * output_docbook.C (makeEnvironment): replace reference to CDATA
1600 2004-10-30 José Matos <jamatos@lyx.org>
1602 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1604 2004-10-30 José Matos <jamatos@lyx.org>
1606 * output_docbook.C (makeParagraphs):
1607 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1608 standard paragraph has only a given type of content drop the wrapper.
1610 2004-10-29 José Matos <jamatos@lyx.org>
1612 * output_docbook.C (makeEnvironment):
1614 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1616 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1618 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1619 (cleanID): sanitize any id.
1621 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1623 * buffer.C, lyxlex_pimpl.C:
1624 * lyxlex_pimpl.C (setFile):
1625 s/getExtFromContents/getFormatFromContents/
1627 2004-10-28 José Matos <jamatos@lyx.org>
1629 * output_docbook.C (makeEnvironment): move id to broadest possible
1632 * sgml.C (openTag): apply substitution of <> for all attributes.
1634 2004-10-28 José Matos <jamatos@lyx.org>
1636 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1637 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1638 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1640 * sgml.[Ch]: new version for open and closeTag for paragraph and
1641 for strings. Now they handle the ids of paragraphs.
1643 2004-10-26 Angus Leeming <leeming@lyx.org>
1645 * Makefile.am: add mover.[Ch].
1647 * converter.C (convert, move): use the new Movers to move external
1648 files to the temp directory.
1650 * lyx_main.C (init): ensure that the global system_movers data
1653 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1656 * mover.[Ch]: new files, defining a Mover as a utility to move an
1657 external file between directories and, if necessary, manipulate this
1658 file using a helper script.
1660 2004-10-25 José Matos <jamatos@lyx.org>
1662 * output_docbook.C (makeCommand): merge two if's that tested the
1665 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1667 * sgml.C (escapeString): fix warning in a better way
1669 2004-10-25 José Matos <jamatos@lyx.org>
1671 * sgml.C (escapeString): import the require boosts header file for
1672 tie, and avoid a signed unsigned comparison.
1674 2004-10-25 José Matos <jamatos@lyx.org>
1676 * sgml.h: add #include <string>
1678 2004-10-25 José Matos <jamatos@lyx.org>
1680 * sgml.[Ch] (escapeString): new function to escape all the string.
1682 2004-10-24 José Matos <jamatos@lyx.org>
1684 * paragraph.[Ch] (getFirstWord): new function to get the first
1685 word. Useful for description.
1686 (simpleDocBookOnePar): remove depth argument, add another that
1687 says where to start the paragraph.
1689 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1690 use the new functions to fix cleanly the support for descriptions.
1692 2004-10-24 José Matos <jamatos@lyx.org>
1694 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1695 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1696 * output_linuxdoc.C (linuxdocParagraphs):
1697 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1698 add buffer as argument.
1700 2004-10-24 José Matos <jamatos@lyx.org>
1702 * output_docbook.C (makeEnvironment, searchEnvironment): place
1703 CDATA inside paragraphs and fix scope for listitems.
1705 2004-10-24 José Matos <jamatos@lyx.org>
1707 * output_docbook.C: remove using statement for stack.
1709 2004-10-23 José Matos <jamatos@lyx.org>
1711 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1712 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1713 docbook. The new scheme is recursive and makes use of iterators, the
1714 same as latex export works.
1715 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1716 directly with the paragraph contents. This code was moved up to
1717 output_docbook.C (docbookParagraphs).
1718 * sgml.C (openTag, closeTag): removed unneeded newlines.
1719 (closeEnvTags) removed.
1721 2004-10-23 André Pönitz <poenitz@gmx.net>
1723 * undo.C (textUndoOrRedo):
1724 * dociterator.C (asDocIterator): work around crash
1726 * cursor.C (getStatus): replace ASSERT by more verbose error message
1727 and manual correction of the problem. Should increase stability
1728 while providing more sensible information.
1730 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1732 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1734 * bufferlist.C (previous, next): new methods
1737 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1739 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1741 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1742 entities to preamble.
1744 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1746 * messages.C (Pimpl): strip off translation context information
1748 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1750 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1751 the cursor is correct (bug 1694)
1753 2004-10-13 José Matos <jamatos@lyx.org>
1755 * output_docbook.C (docbookParagraphs): fix closing tags in the
1756 end of the document.
1758 2004-10-09 José Matos <jamatos@lyx.org>
1760 * buffer.C: format up to 237.
1761 * bufferparams.C (write): use tostr to convert booleans to strings.
1763 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1765 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1767 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1769 * LaTeX.C: implement use of babel language in xindy.
1771 2004-10-05 José Matos <jamatos@lyx.org>
1773 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1774 Add new translators to help reading and writing the lyx file.
1776 2004-10-05 José Matos <jamatos@lyx.org>
1778 * ParagraphParameters.C (read):
1779 * text.C (readParToken): replace nexToken by more appropriate lex
1782 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1784 * LaTeX.C (runMakeIndex):
1785 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1786 (usually 'makeindex') configurable.
1788 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1789 with a variable rather than with a number.
1791 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1793 * output_latex.C (TeXOnePar): make sure font setting is the first
1794 thing that gets output (and the last at the end). Should fix bug
1797 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1799 * pch.h: use proper signal include
1801 * LaTeX.h: Use preferred calling of Boost.Signal
1804 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1806 * pch.h: dont include <boost/function/function0.hpp>
1808 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1810 * paragraph_pimpl.h: remove usage of ShareContainer
1812 * paragraph_pimpl.C: remove initialization of ShareContainer.
1814 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1818 * BufferView.C (putSelectionAt): change the semantics when
1819 backwards == true: now, this just swaps cursor and anchor wrt the
1822 * BufferView.h (putSelectionAt): add some documentation
1824 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1825 make sure backwardChar is done at least once (to avoid getting
1827 (findNextChange): use putSelectionAt in the forward direction
1828 (operator()): use Paragraph::isWord
1830 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1832 * Spacing.C (set): c_str fix
1834 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1836 * lyx_cb.C (Reconfigure): quote the name of configure script in
1837 case it contains spaces
1839 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1843 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1844 (BOOST_LIBS): use top_buildir when looking for the file
1846 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1848 * pch.h: do not use include boost/format.hpp, multiple symbols
1849 will result (gcc bug)
1852 2004-08-23 José Matos <jamatos@lyx.org>
1854 * bufferparams.C (readToken): fix reading of the author field.
1856 2004-08-20 José Matos <jamatos@lyx.org>
1858 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1860 2004-08-20 José Matos <jamatos@lyx.org>
1862 * lyxlex.[Ch] (findToken): remove function.
1864 * ParagraphParameters.C (findToken):
1865 * bufferparams.C (findToken): replace call for previous function
1866 with local copy. This local function has one more argument, the
1867 read string argument.
1869 2004-08-16 José Matos <jamatos@lyx.org>
1871 * ParagraphParameters.C (write):
1872 * Spacing.C (writeFile):
1873 * bufferparams.C (writeLaTeX):
1874 * lyx_cb.C (Reconfigure):
1875 * paragraph.C (write):
1876 * tabular.C (write): remove unnecessary space at end of line.
1879 2004-08-16 José Matos <jamatos@lyx.org>
1881 * text.C (readParagraph): remove debug message.
1883 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1885 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1888 * output_plaintext.C (asciiParagraph): set depth correctly
1890 * outputparams.h: add member depth
1892 * paragraph_funcs.C (ownerPar): remove.
1894 * text2.C (setCounter): remove first_pit; comment out some
1895 non-working code that uses ownerPar
1897 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1900 2004-08-16 José Matos <jamatos@lyx.org>
1902 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1903 For the same level of importance use the same chanel to report problems.
1904 (read): add code to deal with \begin_body and \end_body.
1907 2004-08-15 José Matos <jamatos@lyx.org>
1909 * lyxlex.C (getString): fix comment, buffer::readBody is now
1910 buffer:readDocument.
1912 * tex-strings.C (string_papersize): Default -> default,
1913 Custom -> custom, for consistency with other options.
1915 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1919 * Makefile.am: support pch
1921 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1923 * text.C (readParToken): remove the static LyXFont variable and
1924 pass it as a parameter instead. This fixes a nasty bug where an
1925 inset will be inserted with a bad font in some situations
1926 (readParagraph): adapt
1928 * text2.C (setCounter): reduce number of calls to pars_[pit]
1930 * text.C (singleWidth): add an assert, fix a test
1932 * rowpainter.C (paintText): reduce number of calls to singleWidth
1934 * paragraph.C (isHfill):
1935 (isNewline): ws only
1937 2004-08-14 André Pönitz <poenitz@gmx.net>
1942 * lyxtext.h (several functions): use a Paragraph & argument
1945 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1947 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1949 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1951 * text.C (singleWidth): remove useless test
1953 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * tabular.h: remove bogus comments
1957 * tabular.C (getDescentOfRow):
1958 (isPartOfMultiColumn): add assertions
1960 * lyxlength.C (inPixels): remove #warning
1962 2004-08-14 André Pönitz <poenitz@gmx.net>
1964 * paragraph.h: inline getChar()
1966 * BufferView.h: remove unused declarations
1968 2004-08-14 José Matos <jamatos@lyx.org>
1970 * Buffer.[Ch] (readDocument): new name for old readBody.
1971 * Buffer.C: new file format, new keywords: \begin_document,
1972 \begin_header, \begin_body, \end_body.
1974 * bufferparams.C (readToken): replace all calls to lex.nextToken
1975 by lex.next(). Do the same to eatLine except where really needed.
1977 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1978 line when writing to the lyx file.
1980 * output_plaintext.C (asciiParagraph): fix Bibliography style
1983 * text.C (read): fix end of file handling.
1985 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * MenuBackend.C (Menu::operator[]): new method to access
1988 individual menu items
1989 (Menu::hasFunc): new method. search for an item that corresponds
1991 (MenuBackend::specialMenu): new method
1992 (MenuBackend::expand): if a special menu has been set, skip
1993 entries whose func() appears in this menu
1995 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1997 * text3.C: use Debug::DEBUG a bit more
1999 * text.C (leftMargin): try to simplify a tiny bit change var x to
2000 l_margin. Dont output the wide margins always.
2001 (rightMargin): no margin in inner texts
2003 * rowpainter.h (nestMargin): new func
2004 (changebarMargin): new func
2005 (rightMargin): new func
2007 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2011 * factory.C (createInset): modify setDrawFrame
2013 * cursor.C: use Debug::DEBUG a bit more
2015 2004-08-14 André Pönitz <poenitz@gmx.net>
2018 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2019 cache for all insets in (at least partially) visible (top-level)
2022 * BufferView_pimpl.C: reset external coord cache before every update.
2023 This means the coord cache only contains valid entries.
2025 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2028 * BufferView_pimpl.C (getInsetByCode): move function out of class
2029 and change in to a template in anon namespace. Also fix to do what
2032 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2035 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2037 (breakParagraph): rename par to par_offset and use a local
2038 reference. Add code to keep the language over a rebreak.
2039 (breakParagraphConservative): rename par to par_offset, use a
2041 (mergeParagraph): ditto
2043 (isFirstInSequence): ditto
2044 (outerFont): rename pit to par_offset
2046 * paragraph.C: ws change
2047 * paragraph.h: ditto
2051 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2053 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2056 * paragraph.C (simpleTeXOnePar): when we have a \item with
2057 optional argument, enclose the argument with curly brackets (in
2058 case it contains a closing square bracket)
2062 * text3.C (checkInsetHit): constify
2064 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2067 documents (bug 1629)
2069 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2071 Fix toggling of collapsable insets with the mouse (bug 1558)
2073 * lyxfunc.C (dispatch): adapt to LCursor changes
2075 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2076 make sure that dispatch is not invoked twice
2078 * cursor.C (needsUpdate): new method
2079 (dispatch): return void
2080 (result): new method, to access the DispatchResult of the cursor.
2082 2004-08-13 José Matos <jamatos@lyx.org>
2084 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2086 2004-08-13 André Pönitz <poenitz@gmx.net>
2088 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2090 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2093 2004-08-12 André Pönitz <poenitz@gmx.net>
2095 * text3.C: take out the 'cursor right' form insertInset and only
2096 do it in those places when it is really needed. Fixes crash on
2099 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2101 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2103 * BufferView_pimpl.C (setBuffer): initialize the current font of
2104 the underlying LyXText
2106 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2108 * kbsequence.C (print): use UI native formatting for menu
2111 * text.C (insertChar): call Paragraph::insertChar with a font
2114 * paragraph.C (insertInset, insertChar): the version that takes a
2115 LyXFont argument is now a wrapper around the other one (the
2116 opposite used to be true).
2118 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2119 argument. Font setting is done in Paragraph now.
2121 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2123 * outputparams.h: add new members intitle and lang.
2125 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2126 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2128 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2130 * text3.C (dispatch): remove special handling of button 4 and 5,
2131 it is now taken care of in the frontend code.
2133 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2135 * Spacing.h: add <string> (STLPort compile fix)
2137 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2139 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2141 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2143 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2146 * converter.C (showMessage): inherit from unary_function, make
2149 * buffer.C (writeFile): initialize retval
2151 * InsetList.h: rename private variable list to list_
2152 * InsetList.[Ch]: adjust accordingly.
2154 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2156 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2157 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2158 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2159 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2160 * ParagraphParameters.C, LaTeXFeatures.C: replace
2161 "support/std_sstream.h" with <sstream>
2163 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2165 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2166 * lyxsocket.C (LyXServerSocket): ditto
2167 (serverCallback): ditto
2169 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2171 * LaTeXFeatures.C: check release date when loading jurabib.
2173 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2175 * lyxserver.C (startPipe): call register_socket_callback
2176 (endPipe): call unregister_socket_callback
2178 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2180 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2181 (LyXServerSocket): register the callback
2182 (LyXServerSocket): unregister the callback
2183 (fd): delete function
2184 (serverCallback): improve error checking and setup the callbacks.
2185 (dataCallback): change arg to fd.
2186 (writeln): new func (copied fro the client socket) used for server
2188 (LyXDataSocket): simplify
2189 (~LyXDataSocket): close ann unregiser callback
2190 (server): delete function
2191 (fd): delete function
2192 (readln): small changes, improve some std::string usage
2193 (writeln): constify a bit
2195 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2197 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2200 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2202 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2203 after it has been populated
2205 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2207 * text2.C (insertInset): move cursor when inserting inset.
2209 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2211 * kbmap.C (findbindings): a couple of new methods. returns a
2212 container of kb_sequence objects. The real work is done by the
2213 private recursive version
2214 (printbindings): uses findbindings to print out a bracketed list
2215 of bindings (renamed from findbinding).
2217 * MenuBackend.C (binding): use kb_keymap::findbindings
2219 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2221 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2223 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2225 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2227 * paragraph.C (isWord): return true on insets that report
2230 * text.C (getWord): use Paragraph::isWord to decide what is in a
2231 word and what is not; fix bug 1609.
2233 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2235 * tex-strings.C: add "none" to string_paperpackages[], fixes
2236 off-by-one-error in the paperpackage selection.
2239 * tex-strings.[Ch]: char const * string[n]
2240 -> char const * const string[]
2242 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2244 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2245 command, return early.
2247 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2249 * debug.h: add DEBUG to enum and fix size of ANY.
2251 * debug.C: add support for Debug::DEBUG
2252 (showTags): cast errorTags.level to unsigned int
2254 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2255 (redoCurrentBuffer): ditto
2256 (updateScrollbar): ditto
2257 * cursor.C (dispatch): ditto
2258 * text2.C (setLayout): ditto
2260 (updateCounters): ditto
2262 (deleteEmptyParagraphMechanism): ditto
2264 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2266 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2267 annotations to cleanup the Makefile slightly.
2269 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2271 * lyxrc.C: do not set user_email to a default value but use empty
2272 instead. The entry used to be translated, which does not work
2273 since at the point where lyxrc is constructed there is no
2274 translation service available
2276 * messages.C (getLocaleDir): remove and use directly
2277 lyx_localedir() instead
2279 2004-06-02 Angus Leeming <leeming@lyx.org>
2281 Fix crash caused by dereferencing null pointer 'exportdata' in
2282 OutputParams by creating a new ExportData variable on the heap,
2283 storing it in a boost::shared_ptr.
2284 The crash was triggered when generating an Instant Preview
2285 of an external inset.
2287 * Makefile.am: add outputparams.C
2289 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2290 (c-tor): allocate memory to it.
2292 * exporter.C (c-tor): associated changes.
2294 2004-06-01 Angus Leeming <leeming@lyx.org>
2296 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2297 contains data before calling isInset(0). (Bug 1513.)
2299 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2301 * exporter.C (checkOverwrite): new method
2302 * exporter.C (copyFile): new method
2303 * exporter.C (Export): copy referenced files to the document dir
2304 * exporter.[Ch]: new class ExportedFile
2305 * exporter.[Ch]: new class ExportData. Contains currently the
2306 names of referenced external files
2307 * outputparams.h: add exportdata member.
2309 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2311 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2314 2004-05-19 Angus Leeming <leeming@lyx.org>
2319 * lyxfunc.C: small changes due to the introduction of namespace
2320 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2322 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2324 * text3.C (dispatch): supress update when only moving the cursor
2325 * cursor.C (selHandle): remove commented code
2327 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2329 * paragraph.C (startTeXParParams): correct column count
2330 * CutAndPaste.C (pasteSelection): remove const_cast
2331 * output_docbook.C (docbookParagraphs): remove const_cast
2332 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2333 const_cast and return ParagraphList::const_iterator
2334 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2335 * output_plaintext.C (writeFileAscii): remove const_cast
2336 * paragraph.[Ch] (simpleTeXOnePar): make const
2337 * paragraph_funcs.C (outerPar): use const iterators
2338 * paragraph_pimpl.C (validate): use const iterators
2339 * text.C (setHeightOfRow): use const iterators
2341 2004-05-17 Angus Leeming <leeming@lyx.org>
2344 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2346 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2347 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2348 if the citation engine has changed.
2350 2004-05-14 José Matos <jamatos@lyx.org>
2352 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2353 if the textclass does not provide it. Have it different for sgml and
2355 support the language of document.
2356 * output_docbook.C (docbookParagraphs):
2357 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2358 first anchor as the id of the paragraph, remove special case code.
2359 * sgml.C (escapeChar): escape only < & >.
2361 2004-05-14 Angus Leeming <leeming@lyx.org>
2363 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2364 dependencies on src/frontends/controllers/biblio.h. Define a
2365 CiteEngine_enum wrapper class to enable the enum to be forward
2368 2004-05-12 Angus Leeming <leeming@lyx.org>
2370 * buffer.C: up LYX_FORMAT to 234.
2371 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2372 use_numerical_citations with a single biblio::CiteEngine cite_engine
2374 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2376 2004-05-13 José Matos <jamatos@lyx.org>
2379 * converter.C (Converter, readFlags): add xml member.
2380 * outputparams.h: add XML flavor.
2381 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2383 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2385 * lyxfunc.C (dispatch):
2386 (getStatus): fix handling of LFUN_SEQUENCE
2388 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2390 * debug.C (showLevel): do not forget the end-of-line marker
2392 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2394 * kbmap.C (read): do not stop parsing a bind file when an error
2397 2004-04-29 Angus Leeming <leeming@lyx.org>
2402 * text2.C: wrap a bunch of #warning statements
2403 inside #ifdef WITH_WARNINGS blocks.
2405 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2407 * buffer.C: increment format to 233.
2409 2004-04-28 Angus Leeming <leeming@lyx.org>
2411 * BufferView_pimpl.C:
2414 s/updateToolbar()/updateToolbars()/
2415 s/Toolbar.h/Toolbars.h/
2417 2004-04-28 Angus Leeming <leeming@lyx.org>
2419 * BufferView.[Ch] (c-tor):
2420 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2421 No longer passes these data to the WorkArea generator.
2423 2004-04-28 Angus Leeming <leeming@lyx.org>
2425 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2427 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2429 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2431 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * output_latex.C (TeXEnvironment): make sure that there is a line
2434 break before \end{foo} for the last paragraph of a document
2435 (TeXOnePar): if the paragraph is at the end of the document (or
2436 inset) and the language has to be reset, then make sure that the
2437 line break is _before_ the language command, not after (fixes bug
2438 1225); also make sure that the language reset command is the first
2439 thing after the paragraph (to ensure proper nesting of
2440 environments and thus fix bug 1404)
2442 2004-04-21 John Levon <levon@movementarian.org>
2445 * ToolbarBackend.C: make "name" be a programmatic name
2446 and a gui_name field.
2448 * lyxfunc.C: display the minibuffer on M-x
2450 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2452 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2455 2004-04-19 Angus Leeming <leeming@lyx.org>
2457 * BufferView_pimpl.C (setBuffer): changed preview interface.
2459 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2462 2004-04-19 John Levon <levon@movementarian.org>
2464 * BufferView_pimpl.C:
2465 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2467 2004-04-05 Angus Leeming <leeming@lyx.org>
2469 * text.C (redoParagraphs): add call to updateCounters(), thereby
2470 fixing the missing "Figure #:" label from the caption of a
2473 2004-04-13 Angus Leeming <leeming@lyx.org>
2475 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2476 cursor is clicked out of an inset.
2478 2004-04-13 Angus Leeming <leeming@lyx.org>
2480 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2481 than an InsetOld one.
2483 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2485 * format.[Ch]: add editor to Format
2486 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2487 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2489 2004-04-08 André Pönitz <poenitz@gmx.net>
2491 * metricsinfo.h: remove PainterInfo::width member
2493 2004-04-08 Angus Leeming <leeming@lyx.org>
2495 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2496 "\providecommand" rather than "\newcommand", thereby preventing
2497 clashes with packages that define "\boldsymbol" themselves.
2500 2004-04-08 Angus Leeming <leeming@lyx.org>
2502 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2503 thereby squashing an unnecessary warning.
2505 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2507 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2510 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2512 * BufferView.C (setCursor): call redoParagraph (some insets could
2514 (putSelectionAt): remove the 'double update' trick
2516 * BufferView_pimpl.C (fitCursor): call refreshPar
2517 (workAreaDispatch): remove an uneeded update call
2518 (dispatch): remove some manual update calls
2520 * cursor.[Ch]: remove cached_y_, updatePos
2521 (selHandle): set noUpdate when appropriate
2523 * lyxfunc.C (dispatch): track if we need an update
2525 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2527 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2528 (paintSelection): cheap optimization, do not call cursorX when not
2530 (paintPars): change signature
2533 (paintTextInset): adjust
2537 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2539 * lengthcommon.C: compilation fix: remove explicit array size from
2540 unit_name[] and friends
2542 2004-04-05 Angus Leeming <leeming@lyx.org>
2544 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2546 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2547 present only for the preferences dialog.
2548 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2550 2004-04-05 Angus Leeming <leeming@lyx.org>
2552 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2553 to enable the frontends to export changes to lyxrc correctly.
2555 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2557 2004-04-07 André Pönitz <poenitz@gmx.net>
2559 * cursor.[Ch] (selClear, adjust): remove math
2561 * cursor_slice.C: more agressive assert
2564 * BufferView_pimpl.C: rework mouse event dispatch
2571 2004-04-05 André Pönitz <poenitz@gmx.net>
2573 * cursor.[Ch] (valign, halign...): remove unneeded functions
2575 2004-04-05 Angus Leeming <leeming@lyx.org>
2577 * lyxlength.[Ch] (unit_name et al.): const-correct.
2579 2004-04-05 Angus Leeming <leeming@lyx.org>
2581 * BufferView_pimpl.C:
2590 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2592 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2594 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2596 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2598 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2599 * BufferView_pimpl.[Ch] (getStatus)
2600 * BufferView.[Ch] (getStatus): add
2601 * lyxfunc.C (getStatus): move lfuns handled in
2602 BufferView::dispatch to te function above
2603 * Cursor.C (setSelection): set selection() = true
2605 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2607 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2609 2004-03-31 Angus Leeming <leeming@lyx.org>
2611 * lyxfunc.C (dispatch): Fall through to the generic
2612 Dialogs::show("preamble").
2614 2004-03-31 Angus Leeming <leeming@lyx.org>
2616 * lyxfunc.C (dispatch): Fall through to the generic
2617 Dialogs::show("spellchecker").
2619 2004-03-31 Angus Leeming <leeming@lyx.org>
2621 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2624 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2629 * insetiterator.[Ch]:
2634 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2636 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2638 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2639 insets where we are putting the cursor.
2641 2004-03-31 Angus Leeming <leeming@lyx.org>
2644 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2646 * lyxrc.[Ch] (read, write): overloaded member functions taking
2647 a std::[io]stream arguments.
2649 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2651 2004-03-31 Angus Leeming <leeming@lyx.org>
2653 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2654 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2656 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2657 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2659 2004-03-31 Angus Leeming <leeming@lyx.org>
2661 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2662 the LFUN_ALL_INSETS_TOGGLE code.
2664 2004-03-30 Angus Leeming <leeming@lyx.org>
2666 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2667 has died. Fall through to the generic Dialogs::show("document").
2669 2004-03-30 Angus Leeming <leeming@lyx.org>
2672 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2673 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2675 * lyxfunc.C (getStatus, dispatch): define the actions for these
2676 lfuns. Little more than a cut and pste job from ControlDocument.C
2678 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2680 2004-03-30 Angus Leeming <leeming@lyx.org>
2683 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2684 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2686 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2687 open/closed state of ollapsable insets. Usage:
2689 all-inset-toggle <state> <name>, where
2690 <state> == "open" || "closed" || "toggle" and
2691 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2693 * lyxtext.h, text2.C (toggleInset): removed.
2695 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2696 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2697 now passes LFUN_INSET_TOGGLE to the found inset.
2699 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2700 is now invoked as "all-insets-toggle toggle branch".
2702 2004-03-30 Angus Leeming <leeming@lyx.org>
2706 * pariterator.[Ch]: added/corrected header blurb.
2708 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2710 * dociterator.[Ch]: add an inset_ member
2711 (backwardPos): implemented
2712 (backwardPos, forwardPos): use inset_ when the stack is empty.
2713 (doc_iterator_begin, doc_iterator_end): implemented
2714 * pariterator.[Ch]: adjust, add begin, end
2715 * insetiterator.[Ch]: adjust, add begin, end
2719 * BufferView_pimpl.C:
2720 * CutAndPaste.C: adjust
2722 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2724 * buffer.C: increment file format to 232.
2725 * LaTeXFeatures.C: add bibtopic package.
2726 * bufferparams.[Ch]: param \use_bibtopic.
2728 * lyxrc.[Ch]: add lyxrc bibtex_command
2729 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2731 * buffer.C: increment file format to 231.
2733 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2735 * dociterator.C: implement forwardPar
2736 * iterators.[Ch]: remove, replaced by
2737 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2739 * BufferView_pimpl.C:
2742 * bufferview_funcs.C:
2748 * Makefile.am: adjust
2750 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2752 * CutAndPaste.C (pasteSelection): fix 2 crashes
2753 (eraseSelection): fix a crash
2754 * paragraph_funcs.C: remove a warning
2756 2004-03-28 Angus Leeming <leeming@lyx.org>
2759 * LyXAction.C (init): new LFUN_PRINT.
2761 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2763 2004-03-27 Angus Leeming <leeming@lyx.org>
2766 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2768 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2770 2004-03-27 Angus Leeming <leeming@lyx.org>
2772 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2773 insetlist always contains non-null pointers to insets.
2775 2004-03-26 Angus Leeming <leeming@lyx.org>
2777 * src/BufferView_pimpl.C:
2778 * src/CutAndPaste.C:
2781 * src/output_plaintext.C:
2782 * src/outputparams.h:
2783 * src/paragraph_funcs.C:
2787 * src/frontends/controllers/ControlErrorList.C:
2788 * src/frontends/gtk/FileDialogPrivate.C:
2789 * src/frontends/gtk/GPainter.C:
2790 * src/frontends/gtk/GToolbar.C:
2791 * src/frontends/qt2/QRef.C:
2792 * src/mathed/math_scriptinset.C: squash compiler warnings.
2794 2004-03-26 Angus Leeming <leeming@lyx.org>
2796 * ispell.C (LaunchIspell::start):
2797 * lyx_cb.C (AutoSaveBuffer::start):
2798 invoke run(DontWait) rather than runNonBlocking().
2800 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2802 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2804 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2806 * kbsequence.C (print): adjust
2808 * kbmap.C (printKeySym): rename and change signature
2809 (printKey): use LyXKeySym::print()
2811 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2813 * undo.C: add using std::advance to compile for stlport
2815 2004-03-24 Angus Leeming <leeming@lyx.org>
2817 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2818 it leads to a crash when no buffer is present.
2820 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2821 Martin Vermeer <martin.vermeer@hut.fi>
2823 * lyxfunc.C (dispatch):
2824 * bufferparams.C (readToken): use the new LColor::setColor
2826 * LColor.[Ch] (setColor): new version that takes two strings as
2827 argument and creates a new color entry if necessary
2829 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2831 * buffer.C (makeLaTeXFile): if the main latex file that is
2832 processed is usually a subdocument of some master, then pretend
2833 for a while that it is actually the master
2835 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2837 * buffer.C (getLabelList):
2838 (getBibkeyList): use getMasterBuffer()
2839 (getMasterBuffer): new method. Returns the main document in the
2840 case where one is using included documents.
2842 2004-03-25 André Pönitz <poenitz@gmx.net>
2846 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2848 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2850 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2851 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2853 * ParameterStruct.h: merge with ParagraphParameters
2855 * lyxtext.h: remove LyXText::parOffset() and getPar()
2857 * text3.C: Remove all 'manual' update calls. We do now one per user
2858 interaction which is completely sufficient.
2862 * BufferView_pimpl.C:
2863 * FontIterator.[Ch]:
2865 * ParagraphParameters.[Ch]:
2870 * cursor_slice.[Ch]:
2877 * output_docbook.[Ch]:
2878 * output_latex.[Ch]:
2879 * output_linuxdoc.[Ch]:
2880 * output_plaintext.[Ch]:
2882 * paragraph_funcs.[Ch]:
2883 * paragraph_pimpl.[Ch]:
2891 * frontends/controllers/ControlDocument.C:
2892 * frontends/controllers/ControlErrorList.C:
2893 * frontends/controllers/ControlSpellchecker.C:
2896 * insets/insetbase.h:
2897 * insets/insetbibitem.C:
2898 * insets/insetbox.C:
2899 * insets/insetbranch.C:
2900 * insets/insetcaption.C:
2901 * insets/insetcharstyle.C:
2902 * insets/insetcharstyle.h:
2903 * insets/insetcollapsable.C:
2904 * insets/insetcollapsable.h:
2905 * insets/insetert.C:
2906 * insets/insetfloat.C:
2907 * insets/insetfoot.C:
2908 * insets/insetmarginal.C:
2909 * insets/insetnote.C:
2910 * insets/insetoptarg.C:
2911 * insets/insettabular.C:
2912 * insets/insettext.C:
2913 * insets/insettext.h:
2914 * insets/insetwrap.C:
2915 * mathed/math_mboxinset.C:
2916 * mathed/math_nestinset.C:
2917 * mathed/math_scriptinset.C:
2918 * mathed/math_scriptinset.h:
2921 2004-03-24 Angus Leeming <leeming@lyx.org>
2923 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2924 deal with any child processes that have finished but are waiting to
2925 communicate this fact to the rest of LyX.
2927 2004-03-24 Angus Leeming <leeming@lyx.org>
2929 64-bit compile fixes.
2931 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2932 (c-tor): pass lyx::pos_types rather than ints.
2934 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2937 * text.C (Delete): compile fix.
2938 (getPar): ensure that function declaration is the same as that in
2941 2004-03-23 Angus Leeming <leeming@lyx.org>
2943 * ispell.C (LaunchIspell):
2944 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2945 a boost::shred_ptr rather than a std::auto_ptr.
2947 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2949 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2950 handle LFUN_FILE_INSERT_*
2952 * lyxrc.C (setDefaults, getDescription, output, read):
2953 * lyxrc.h: remove ps_command
2955 2004-03-22 Angus Leeming <leeming@lyx.org>
2957 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2958 Ensure that error_handler is processed once only and that all data
2959 is saved before attempting to output any warning messages.
2961 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2963 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2965 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2967 2004-03-19 André Pönitz <poenitz@gmx.net>
2969 * cursor.[Ch] (reset): take main text inset as argument
2971 * BufferView: adjust
2972 * BufferView_pimpl.C: adjust
2974 * paragraph.[Ch]: fix completely broken operator=()
2976 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2978 * LColor.C (getFromLyXName): make sure that the color name is used
2981 2004-03-17 Angus Leeming <leeming@lyx.org>
2984 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2986 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2987 dialog and to kill a forked process.
2989 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2991 * text2.C (setCursorFromCoordinates): fix font problem
2993 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2995 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2996 bogus "rebuild cursor" code
2998 2004-03-11 André Pönitz <poenitz@gmx.net>
3000 * buffer.[Ch]: use InsetText instead of LyXText as container for
3003 * dociterator.[Ch]: drop the BufferView * member which is not needed
3004 anymore after the change to buffer.C
3006 * paragraph_funcs.C:
3010 * BufferView_pimpl.[Ch]:
3012 * cursor_slice.[Ch]: adjust
3014 * text3.C: fix bug in mathDispatch
3016 2004-03-08 André Pönitz <poenitz@gmx.net>
3018 * undo.[Ch]: use 'StableDocumentIterator' as base for
3021 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3024 * bufferparams.[Ch]: add jurabib support and param.
3026 * LaTeX.C: add FIXME/comment.
3028 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3030 * buffer.C: increment file format to 230.
3032 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3034 * cursor.C (dispatch): avoid infinite loops
3036 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3038 * rowpainter.C (paintSelection): fix x coordinates
3040 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3042 * text.C (rowBreakPoint): fix breaking before displayed insets
3044 2004-03-01 André Pönitz <poenitz@gmx.net>
3046 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3048 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3052 * BufferView_pimpl.C:
3060 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3066 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3067 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3069 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3071 * Bidi.[Ch] (computeTables): const correctness
3072 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3073 fill_hfill, fill_label_hfill and x from Row
3074 * lyxtext.h: prepareToPrint returns a RowMetrics
3075 * rowPainter.C: adjust
3076 * text.C (prepareToPrint): use width, not textWidth. adjust
3077 (redoParagraphInternal, cursorX): adjust
3078 * text2.C (getColumnNearX): adjust
3079 (init): put a default value to the top LyXText::width
3081 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3083 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3085 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3087 * lyxtext.h: add FontIterator class
3089 * text.C (FontIterator, operator*, operator->, operator++): add
3090 (rowBreakPoint, setRowWidth): adjust (fixing a
3093 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3095 * BufferView_pimpl.C (workAreaDispatch): allow also
3096 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3098 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3100 * text.C (rowBreakPoint): fix a bug showing with very large insets
3102 2004-02-25 André Pönitz <poenitz@gmx.net>
3105 * cursor.[Ch]: move some mathed specific code to mathed
3107 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3109 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3110 use_tempdir in preferences
3111 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3113 * lyx_main.C: ensure that tempdir is valid
3114 * lyxlex.h: correct typo
3115 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3116 * paragraph.[Ch] (isMultiLingual): make const
3117 * cursor.[Ch] (openable): make const
3119 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3121 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3123 2004-02-20 André Pönitz <poenitz@gmx.net>
3125 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3127 * cursor.[Ch]: prepare for localized getStatus()
3133 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3135 2004-02-20 André Pönitz <poenitz@gmx.net>
3137 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3139 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3141 * text2.C (setCursorFromCoordinates): switch to absolute coords
3143 (cursorDown): adjust
3144 * text3.C (dispatch): adjust
3146 2004-02-16 André Pönitz <poenitz@gmx.net>
3148 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3151 * cursor_slice.[Ch]: remove unneeded acessor function
3153 * lyxtext.h: rename rtl() to isRTL()
3161 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3163 * rowpainter.C (paintSelection): coord fix
3165 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3167 * Spacing.C: compile fix
3169 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3171 * cursor.C (dispatch): restore current_ before returning
3173 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3175 * text2.C (cursorUp, cursorDown): fix coords
3178 2004-02-12 André Pönitz <poenitz@gmx.net>
3183 * text3.C: add LCursor & parameter to most cursor movement functions
3184 remove usage of LyXText::cursorRow() and cursorPar()
3186 * cursor.[Ch]: add textRow() needed members
3189 * BufferView_pimpl.C:
3192 * BufferView_pimpl.C: adjust
3194 2004-02-11 André Pönitz <poenitz@gmx.net>
3198 * BufferView_pimpl.C: shift undo/redo handling
3200 * cursor.[Ch]: fix mathed crash
3203 * lyxtext.h: move selectionAsText to LCursor
3211 * rowpainter.C: fix excessive drawing
3213 2004-02-06 André Pönitz <poenitz@gmx.net>
3216 * BufferView_pimpl.[Ch]:
3217 * text3.C: move some text specific LFUN handling
3219 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3221 * text3.C (checkInsetHit): adjust coords
3222 * text2.C (getColumnNearX): adjust coords
3223 (edit): adjust coords
3224 * text.C (getRowNearY): add two asserts
3226 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3229 * format.C: add using std::distance to compile on gcc 2.95/stlport
3231 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3233 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3235 2004-02-04 André Pönitz <poenitz@gmx.net>
3237 * BufferView.[Ch] (insertInset):
3238 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3243 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3245 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3246 on the default clause of the switch
3247 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3248 wasn't catched by LCursor::dispatch
3250 2004-02-03 André Pönitz <poenitz@gmx.net>
3253 * cursor.[Ch]: some additional asserts
3255 * undo.[Ch]: remove LyXText dependency in interface
3259 * lyxtext.h (firstPar, lastPar): remove dead functions
3264 * paragraph.[Ch]: adjust
3266 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3268 * lyxfind.C (find): fix argument order in call to ::find
3270 2004-02-02 André Pönitz <poenitz@gmx.net>
3272 * cursor.[Ch]: remove direct access to anchor
3274 * text.C: remove findText() hack
3276 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3278 * iterators.[Ch] (lockPath): remove in favour of...
3279 * BufferView.[Ch] (setCursor): this addition
3280 * BufferView.C (putSelectionAt): adjust
3281 * undo.C (performUndoOrRedo): adjust
3282 * lyxfunc.C (dispatch): adjust
3284 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3286 * iterators.C (lockPath): add a missing slice
3287 * undo.C (performUndoOrRedo): remove redundant positioning code
3289 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3291 * vc-backend.C (scanMaster): ";" -> ';'
3293 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3295 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3296 std::binary_function
3298 * lyxtextclass.C (compare_name): rename to...
3299 (LayoutNamesEqual): ...this
3301 * lyxlex_pimpl.C (compare_tags): inherit from
3302 std::binary_function, put back into anon namespace
3304 * lyxfind.C (MatchString): inherig from std::binary_function
3305 (findChange): use empty() istead of !size()
3307 * format.C (FormatNamesEqual): new functor
3314 * converter.C (compare_Converter): rename to...
3315 (ConverterEqual): ...this, and fixup a bit.
3316 (getConverter): use it, and make function const
3317 (getNumber): use it, and make function const
3321 * bufferlist.C: add using boost::bind
3323 * MenuBackend.C (MenuNamesEqual): new functor
3324 (hasMenu): use it, and make function const
3325 (hasSubmenu): use nested bind to get rid of compare_memfun.
3327 2004-01-30 André Pönitz <poenitz@gmx.net>
3329 * BufferView_pimpl.C:
3332 * cursor_slice.[Ch]:
3335 * paragraph_funcs.C:
3336 * paragraph_funcs.h:
3340 * text3.C: move some of the edit(x,y) handling to the insets
3341 some coordinate changes.
3343 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3345 * text.C: add using statements for std::advance and std::distance
3347 * paragraph.C: add using statement for std::distance
3349 * lyxfind.C: add using statement for std::advance
3351 * cursor.C (region): remove std:: from swap
3352 (openable): use nucleus in stead of operator->
3354 * BufferView.C: add using statements for std::distance and std::swap
3356 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3358 * iterators.C: Remove the pimple, move the needed structures to
3359 the header file. Create accessor for the positions stack.
3360 (asPosIterator): remove function
3362 * PosIterator.C (PosIterator): move constructors to top of file
3363 (PosIterator): reimplement the constructor taking a ParIterator in
3365 (setFrom): new function
3366 (operator!=): inline it
3368 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3370 * lyxfind.C (replaceAll): use std::advance
3372 * iterators.h: inherit from std::iterator.
3374 * PosIterator.C (advance, distance): remove
3375 * PosIterator.h: interit from std::iterator.
3377 2004-01-26 André Pönitz <poenitz@gmx.net>
3380 * BufferView_pimpl.[Ch]:
3384 * bufferview_funcs.C:
3394 * output_linuxdoc.C:
3395 * output_plaintext.C:
3397 * paragraph_funcs.[Ch]:
3398 * paragraph_pimpl.[Ch]:
3404 * text3.C: more IU: dumps most of the rest of the mathcursor
3405 implementation into cursor.[Ch]; "globalize" a bit of it.
3407 2004-01-25 Angus Leeming <leeming@lyx.org>
3409 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3411 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3413 * LaTeXFeatures.h: add nice_ and nice() const
3414 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3416 2004-01-20 André Pönitz <poenitz@gmx.net>
3419 * BufferView_pimpl.C:
3421 * bufferview_funcs.C:
3423 * cursor_slice.[Ch]:
3434 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3435 LCursor and mathcursor parts to LCursor and InsetBase.
3437 2004-01-15 André Pönitz <poenitz@gmx.net>
3439 * cursor_slice.[Ch]: add a few covienience functions
3441 * funcrequest.[Ch]: remove BufferView * member
3443 * BufferView_pimpl.C:
3450 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3452 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3454 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3455 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3457 2004-01-13 André Pönitz <poenitz@gmx.net>
3460 * lyxtext.h: hide cursor and selection anchor behind accessor function
3463 * BufferView_pimpl.[Ch]:
3465 * bufferview_funcs.C:
3475 * cursor_slice.[Ch]: some integer type changes for inset unification
3477 * lyxcursor.[hC]: remove, it's CursorSlice now.
3480 * BufferView_pimpl.[Ch]:
3481 * bufferview_funcs.C:
3487 * textcursor.[Ch]: adjust
3489 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3491 * text2.C (undoSpan): add and use
3492 * text.C (breakParagraph): use undoSpan (fix bug 578)
3495 2004-01-08 Angus Leeming <leeming@lyx.org>
3497 * BufferView_pimpl.C (MenuInsertLyXFile):
3498 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3499 * lyxfunc.C (menuNew, open, doImport):
3500 FileFilterList change to the FileDialog open and save functions.
3502 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3504 * ShareContainer.h: make isEqual and isUnique adaptable
3506 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3508 2004-01-07 Angus Leeming <leeming@lyx.org>
3511 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3513 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3515 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3516 functions replacing find, replace and replaceAll.
3518 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3519 LFUN_WORDFIND(FORWARD|BACKWARD).
3521 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3523 * text.C (breakParagraph): remove an outdated #warning
3525 2004-01-07 André Pönitz <poenitz@gmx.net>
3527 * lyxfind.C: somewhat clearer logic
3529 * text.C: prevent crash in cursorX on unitialized row cache
3531 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3533 * lyxcursor.[Ch] (operator>): add
3534 * textcursor.C (selStart, selEnd): use std::min and std::max
3536 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3538 * Chktex.C: include boost/format.hpp
3540 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3542 * InsetList.C: replace functor MathcIt with adaptable functor
3544 (insetIterator): modify accordingly
3546 * BranchList.h: move the BranchNamesEqual functor here from...
3547 * BranchList.C: ... to here
3549 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3551 (add): replace a finding loop with std::find_if.
3553 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3555 * output_docbook.C: moving LatexParam functionality into
3558 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3560 * buffer.C: increment format to 229.
3562 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3565 * lyx_sty.[Ch]: remove minipageindent_def
3571 * text3.C: remove LFUN_INSET_MINIPAGE
3573 2003-12-28 Angus Leeming <leeming@lyx.org>
3575 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3577 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3579 * text2.C (setParagraph): fix off-by-one crash
3581 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3583 * output_docbook.C: header stuff for AGU
3585 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3587 * text2.C (redoCursor): remove
3590 * BufferView_pimpl.C: remove calls to redoCursor and
3591 setCursor(cursor.par(), cursor.pos()) all around
3593 2003-12-15 Angus Leeming <leeming@lyx.org>
3595 * buffer.C: up the format to 228.
3597 2003-12-15 André Pönitz <poenitz@gmx.net>
3599 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3604 * BufferView_pimpl.C:
3613 2003-12-15 Angus Leeming <leeming@lyx.org>
3615 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3616 than getFromGUIName to manipulate the color.
3618 2003-12-14 Angus Leeming <leeming@lyx.org>
3620 * BranchList.[Ch]: minimize the API.
3621 (Branch::getBranch, getColor): now return a 'const &'.
3622 (Branch::setSelected) now returns a bool set to true if the
3623 selection status changes.
3624 (BranchList::clear, size, getColor, setColor, setSelected,
3625 allBranches, allSelected, separator): removed.
3626 (BranchList::find): new functions, returning the Branch with
3628 (BranchList::add, remove): return a bool indicating that
3629 the operation was successful.
3631 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3632 new InsetBranch::isBranchSlected member function.
3634 * LColor.[Ch]: mimimize the API.
3635 (fill): renamed as addColor and made private.
3636 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3637 versions of these functions taking a string arg have been removed.
3639 * bufferparams.C (readToken):
3640 * lyxfunc.C (dispatch):
3641 * lyxrc.C (read): changes due to the altered BranchList and
3644 * factory.C (createInset, readInset): changes due to altered
3647 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3650 * lyxfunc.C: remove insetminipage. "minipage-insert"
3651 now produces a frameless minipage box inset.
3653 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3655 * textcursor.[Ch] (selStart,selEnd): add new methods
3656 remove selection::start, end, use LyXCursor::operator<
3657 * lyxcursor.[Ch] (operator<): add
3658 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3659 * BufferView.[Ch] (unsetXSel): add
3660 * text2.C (clearSelection): use unsetXSel,adjust
3663 * rowpainter.C: adjust
3664 * bufferview_funcs.C (put_selection_at): adjust
3666 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3668 * BufferView_pimpl.C: small coord. correction
3670 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3672 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3673 dragging over the splash screen.
3675 2003-12-11 Angus Leeming <leeming@lyx.org>
3677 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3678 as it is now handled in LyXText::dispatch.
3680 * text3.C (doInsertInset): remove a level of nesting.
3682 2003-12-11 Angus Leeming <leeming@lyx.org>
3684 * factory.C (createInset): changes due to the changed interface to
3685 InsetCommandMailer::string2params.
3687 2003-12-10 Angus Leeming <leeming@lyx.org>
3689 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3690 'dialog-show-new-inset <inset name>'
3692 2003-12-10 Angus Leeming <leeming@lyx.org>
3694 * buffer.C: up the format to 227.
3696 * factory.C: the box inset is now identified simply by 'Box'.
3698 2003-12-10 Angus Leeming <leeming@lyx.org>
3700 * buffer.C: up the format to 226.
3702 * factory.C: the note inset is now identified simply by 'Note'.
3704 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3706 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3707 when a pit is enough. Standarize a couple of loops.
3709 2003-12-05 Angus Leeming <leeming@lyx.org>
3711 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3712 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3713 data to the re-worked "log" dialog.
3715 2003-12-03 André Pönitz <poenitz@gmx.net>
3721 * paragraph_funcs.C:
3723 * text2.C: use Inset::getText instead of Inset::getParagraph
3725 2003-12-03 André Pönitz <poenitz@gmx.net>
3729 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3730 InsetText::read() as LyXText::read()
3732 2003-12-02 Angus Leeming <leeming@lyx.org>
3734 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3735 type. Add a comment in the implementation that the function uses
3736 the stream's bad() function rather than fail() as the std::streams
3739 2003-12-02 André Pönitz <poenitz@gmx.net>
3741 * lyxlex.[Ch]: make interface more similar to std::stream
3743 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3745 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3747 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3749 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3751 * vspace.[Ch]: remove VSpace::NONE
3753 2003-12-01 André Pönitz <poenitz@gmx.net>
3756 * lyxtext.h: move ParagraphList member to LyXText
3757 rename LyXText::ownerParagraphs to LyXText::paragraph
3760 * bufferview_funcs.C:
3770 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3772 * undo.C: fix cursor positioning
3774 2003-12-01 John Levon <levon@movementarian.org>
3776 * BufferView_pimpl.C: fix a crash on exit with
3779 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3781 * BranchList.C: fix setSelected() method.
3783 2003-11-28 André Pönitz <poenitz@gmx.net>
3785 * ParagraphParameters.[Ch]:
3786 * ParameterStruct.h: remove space above/below from Paragraph to
3789 * BufferView_pimpl.C:
3795 * paragraph_funcs.C:
3801 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3803 * factory.C: Syntax change for CharStyles
3805 2003-11-28 André Pönitz <poenitz@gmx.net>
3810 * buffer.[Ch]: move LyXText member
3812 2003-11-28 André Pönitz <poenitz@gmx.net>
3814 * BufferView.[Ch]: make LyXText * text a private member
3816 * BufferView_pimpl.C:
3827 * output_plaintext.C: cleanup
3829 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3832 * lyxtextclass.[Ch]: parametrize SGML document header
3834 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3837 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3840 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3842 * text2.C (setFont): rework using PosIterator (no more recursive)
3843 (setCharFont): no more needed
3844 (setLayout): no more selection cursors fiddling (done by redoCursor)
3845 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3846 destroy remaining ones)
3848 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3850 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3852 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3855 * text3.C: adjust + re-allow multi par depth changes
3856 * textcursor.C: simplify a bit
3858 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3864 * src/output_docbook.C:
3865 * src/output_latex.C:
3870 * src/text2.C: Introducing a number of tags parametrizing various
3871 XML formats that we may want to support
3873 2003-11-25 André Pönitz <poenitz@gmx.net>
3875 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3877 * lyxtext.h (leftMargin/rightMargin): simplify interface
3884 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3886 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3887 master file to any child files. Fixes bug 546.
3889 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3891 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3893 2003-11-24 André Pönitz <poenitz@gmx.net>
3895 * rowpainter.C: simplification
3897 * text2.C (updateCounters): remove call to redoParagraph on
3898 changed labels as this is far too expensive.
3900 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3902 * converter.C (convert): fix a crash: this function gets
3903 called with buffer == 0 from importer code.
3905 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3907 * text3.C (cursorPrevious): make sure that we do not compare
3908 iterators form different containers.
3911 * rowpainter.C (paintSelection): make sure that we do not compare
3912 iterators from different containers.
3914 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3915 iterators from different ParagraphList containers.
3918 * text2.C (LyXText): change order of initialization slightly
3919 (operator=): new function. copy all variables except cache_par_
3920 (moveUp): make sure that we do not compare iterators from
3921 different ParagraphList constainers.
3924 * text.C (firstPar): new function
3925 (lastPar): new function
3926 (endPar): new function
3928 * lyxtext.h: move things around and group public functions, public
3929 variables, private functions, private variables
3931 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3933 * factory.C: change call to InsetERT constructor to avoid
3934 additional invocation of method status
3935 * text2.C (toggleInset): remove redundant update() call
3936 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3937 instead of a Bufferview pointer
3939 2003-11-21 André Pönitz <poenitz@gmx.net>
3941 * rowpainter.C: simplification
3943 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3945 * text3.C (dispatch): make possible to extend a word/row selection
3948 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3950 * lyxtext.h: x0_,y0_ -> xo_,yo_
3951 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3952 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3953 * rowpainter.C (paintRows): paint full paragraphs
3955 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3957 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3960 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3962 * lyxtext.h: add x0_, y0_
3963 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3964 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3966 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3968 * text2.C (setCursorIntern): move the x_target update here *
3969 * text3.C: change some bv() to true/false in calls to
3970 cursorUp/Down/Right/Left
3971 * cursor.C: use helper function.
3973 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3975 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3976 * paragraph_funcs.[Ch]: correct comment
3977 * rowpainter.C: do not paint selections away from bv->cursor()
3978 Fix a long standing selection painting bug.
3979 * text3.C: generalize mouse-selection code to LyXTexts other that
3981 * textcursor.C: do not use y coords if we can use par offsets
3983 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3985 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3986 cursor position after e.g. inset insert)
3988 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3990 * lyxfind.C (replace): adjust to locking removal + some
3993 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3995 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3998 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4001 * output_docbook.C: XML sanitation: new layout
4002 parameters InnerTag and CommandDepth
4004 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4006 * BufferView_pimpl.C:
4008 * text3.C: Fix the insertion and modification of button-style
4011 2003-11-13 André Pönitz <poenitz@gmx.net>
4013 * InsetList.[Ch]: remove deleteLyXText
4015 * paragraph.[Ch]: cache beginOfBody position
4020 * text3.C: remove superfluous update() calls
4024 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4026 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4027 * BufferView.C (fitLockedInsetCursor): remove
4028 * cursor.[Ch] (getDim): add
4029 * text.C (getRowNearY): add faster version
4030 * text3.C: remove some update calls
4032 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4044 * text3.C: The Character Style /XML short element patch.
4046 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4049 * factory.C: Small step to solving 'unable to insert some insets'
4052 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4054 * cursor.[Ch] (updatePos): new function for updating the y
4055 position of the tip inset
4056 * bufferview_funcs.C (put_selection_at):
4057 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4059 2003-11-11 André Pönitz <poenitz@gmx.net>
4061 * text.C: remove big comment on invalid Paragraph pointers as it is
4064 2003-11-11 André Pönitz <poenitz@gmx.net>
4066 * text_funcs.[Ch]: merge with ...
4074 * Makefile.am: remove text_funcs.[Ch]
4076 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4078 * cursor.C (getPos): return absolute cached y coord
4080 * BufferView_pimpl.C (fitCursor): new simplistic code
4081 (workAreaDispatch): add a fitCursor call
4083 2003-11-10 André Pönitz <poenitz@gmx.net>
4086 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4088 2003-11-10 André Pönitz <poenitz@gmx.net>
4090 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4091 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4092 indicate that the cursor needs to leave an inset
4094 * lyxtext.h: remove inset locking
4096 * cursor.[Ch]: re-implement functionality provided by inset locking
4099 * BufferView_pimpl.[Ch]:
4101 * bufferview_funcs.[Ch]:
4113 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4115 * PosIterator.[Ch]: replace the stack with a vector, add inset
4117 * iterators.[C]: adjust
4119 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4121 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4123 * paragraph_funcs.C (readParToken): put the correct id in the
4124 error item, not the id of the top paragraph
4126 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4128 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4129 * bufferview_funcs.C (put_selection_at): use the above
4131 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4133 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4135 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4137 * output_linuxdoc.h:
4138 * output_plaintext.h:
4140 * output_docbook.h: add #include statements
4142 2003-11-05 José Matos <jamatos@lyx.org>
4144 * output_docbook.[Ch]:
4145 * output_latex.[Ch]:
4146 * output_linuxdoc.[Ch]:
4147 * output_plaintext.[Ch]: New files for output formats.
4148 * output.[Ch]: New file for helper functions.
4151 * paragraph_funcs.[Ch]: output functions moved to new files.
4153 * outputparams.h: rename of latexrunparams.h
4161 * paragraph_funcs.[Ch]:
4162 * paragraph_pimpl.[Ch]:
4163 * tabular.[Ch]: rename ascii to plaintext
4164 and LatexRunParams to OutputParams.
4166 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4168 * iterators.[Ch] (text): require bv argument
4169 * undo.C (recordUndo):
4170 * lyxfunc.C (dispatch):
4171 * bufferview_funcs.C (put_selection_at): adjust
4173 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4175 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4177 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4179 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4182 2003-11-04 André Pönitz <poenitz@gmx.net>
4184 * cursor.[Ch]: restructure
4187 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4189 * iterators.[Ch] (asCursor): remove
4191 * lfuns.h: remove LFUN_INSET_EDIT
4197 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4199 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4201 * lyxfind.[Ch]: complete overhaul
4202 * BufferView_pimpl.C:
4204 * paragraph.[Ch] (insert): add
4206 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4210 * text.C: remove dead spellcheck code
4212 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * dispatchresult.h: add a val setter
4216 * cursor.C (dispatch): use a tempvar for data_[i]
4218 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4220 * PosIterator.[Ch]: compile fix
4222 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4224 * text.C (cursorPar): deactivate the cursor cache
4226 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4228 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4230 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4232 * text3.C (dispatch): adjust for new DisptchResult semantics.
4234 * lyxfunc.C (dispatch): handle update when return from
4235 Cursor::dispatch, adjust for new DispatchResult semantics.
4237 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4238 DispatchResult(true) mean to not update. Add class functions for
4239 setting dispatched and update, as well as reading.
4241 * cursor.C (dispatch): don't handle update here
4243 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4246 * trans_mgr.C: adjust
4248 * paragraph_funcs.C (readParToken): exception safety
4250 * lyxvc.h: store the vcs pointer in a scoped_ptr
4253 * lyxsocket.C (serverCallback): exception safety
4255 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4257 * ispell.C (clone): make it return a auto_ptr
4259 * factory.C (createInset): exception safety
4260 (readInset): exception safety
4262 * bufferlist.C (newBuffer): exception safety
4264 * Thesaurus.C (Thesaurus): use initialization for aik_
4266 * MenuBackend.C (expandToc): exception safety.
4268 2003-11-03 André Pönitz <poenitz@gmx.net>
4272 * bufferview_funcs.C: remove getInsetFromId()
4275 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4281 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4283 * PosIterator.C (distance, advance): new
4284 * bufferview_funcs.[Ch] (put_selection_at): new
4285 * iterators.[Ch] (lockPath): new
4287 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4289 * iterators.[Ch] (asPosIterator): added
4290 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4291 * PosIterator.[Ch]: added
4293 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * cursor.C (dispatch):
4298 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4300 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4301 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4302 contructor, add a class function dispatched. Remove operator>=
4304 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * debug.C: only use the default constructor for debugstream
4309 * main.C (main): include debug.h and setup the lyxerr streambuf
4312 2003-10-31 José Matos <jamatos@lyx.org>
4314 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4316 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4317 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4318 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4319 * paragraph_pimpl.C (simpleTeXSpecialC):
4320 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4321 add LatexRunParams argument.
4323 * exporter.C (Export): change call accordingly.
4325 * latexrunparams.h: add new member to take care of the other backends.
4326 2003-10-30 José Matos <jamatos@lyx.org>
4328 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4329 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4330 factorise code for paragraph output.
4332 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4335 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * text3.C (dispatch):
4338 * lyxfunc.C (dispatch):
4339 * cursor.C (dispatch):
4340 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4342 * dispatchresult.h: make the dispatch_result_t ctor explicit
4344 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4347 * buffer.C: small refactoring of docbook stuff
4349 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4354 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4357 operator dispatch_result_t, and operators for == != and >=
4359 * cursor.C (dispatch): adjust for operator dispatch_result_t
4360 removal. comment out call to update
4362 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4364 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4375 * dispatchresult.h: new file, DispatchResult broken out of
4378 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4380 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4382 * text.C (rowBreakPoint): put a hack inside #if 0
4384 2003-10-28 André Pönitz <poenitz@gmx.net>
4388 * paragraph_funcs.C:
4391 * text2.C: general cleanup (lots of small stuff)
4393 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4395 * text2.C (cursorEnd): simple fix to the "end key goes to one
4396 before the end on last row" bug
4398 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4400 * text.C (backspace): fix the "zombie characters"
4402 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4404 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4406 2003-10-27 André Pönitz <poenitz@gmx.net>
4408 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4410 * factory.C: handle new InsetPagebreak, InsetLine
4412 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4413 and move handling into new InsetPagebreak, InsetLine
4415 * BufferView_pimpl.C:
4417 * ParagraphParameters.C:
4418 * ParameterStruct.h:
4423 * paragraph_funcs.C:
4424 * paragraph_pimpl.C:
4430 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4433 * lyxrow_funcs.[Ch]:
4439 * text3.C: remove lastPos uses in favour of Row::endpos
4441 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4443 * undo.C (performUndoOrRedo): fix two crashes by setting a
4444 cursor by hand and reordering some calls. Use bv->lockInset instead
4445 of inset->edit because the latter loses cursor information
4447 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4449 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4451 (rowBreakPoint): fix width. change point to point + 1.
4452 Add a missing check.
4454 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4457 * lyxfunc.C: fix (at least partly) the problems
4458 with the Nav menu and headers inside branch insets
4461 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4463 * paragraph.C (getChar): add strong asserts
4465 * lyxrow_funcs.C (lastPos): remove hideous hack
4467 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4468 (fill): adjust to that (avoid an infinite loop)
4470 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4472 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4474 2003-10-23 André Pönitz <poenitz@gmx.net>
4476 * RowList_fwd.h: change list<> to vector<> to gain speed
4477 after suggestion from Alfredo
4479 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4481 * lyxtext.h: move the bidi stuff from here...
4484 * Bidi.[Ch]: ... to here
4486 2003-10-23 André Pönitz <poenitz@gmx.net>
4489 * text.C (isLastRow, isFirstRow): new functions
4491 * paragraph.h: new width cache member
4493 * rowpainter.C: replace RowList::iterator with Row & where possible
4495 * lyxfunc.C: replace several view()->text with a single call
4497 * toc.C: fix 'unused' warning
4499 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4501 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4502 when woring with stream::pos_type
4503 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4505 2003-10-22 André Pönitz <poenitz@gmx.net>
4508 * text.C: use Row & instead of RowList::iterator
4510 * lyxrow.h: rename end() to endpos()
4516 2003-10-22 Angus Leeming <leeming@lyx.org>
4518 * buffer.[Ch] (fully_loaded): new member function, returning true
4519 only when the file has been loaded fully.
4520 Used to prevent the premature generation of previews and by the
4521 citation inset to prevent computation of the natbib-style label.
4523 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4524 templates are all set up.
4526 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4528 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4530 * text.C: fixed an "oops" in the "is a bit silly"
4533 2003-10-21 André Pönitz <poenitz@gmx.net>
4535 * FuncStatus.[Ch]: small stuff, whitespace
4537 * lyxfont.[Ch]: operator<<() for debug reasons
4541 * lyxtext.h: whitespace, spelling
4543 * paragraph.C: naming of variables
4546 * text2.C: small stuff
4549 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4551 * text.C: (1) finish off the inset display() work;
4552 (2) fix the "is a bit silly" bug (accessing char
4555 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4557 * text.C: re-introduce display() for insets, fixing the
4558 various bugs (stretch of line above, math inset
4561 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4563 * text.C (rightMargin): remove spurious semicolon
4565 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4568 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4570 * text3.C: fix one crash due to wrong cursor def
4572 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * vc-backend.C (scanMaster): make the regex static
4576 * LaTeX.C (scanAuxFile): make the regexs static
4578 * text3.C (doInsertInset, dispatch, dispatch):
4579 * text2.C (cursorUp, cursorDown):
4580 * text.C (selectNextWordToSpellcheck):
4581 * BufferView_pimpl.C (dispatch):
4582 * lyxfunc.C (dispatch): localDispatch -> dispatch
4584 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4586 * lyxsocket.C: include <cerrno>
4588 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4590 * lyxfunc.C (dispatch): remove textcache stuff
4592 * bufferlist.C (release): remove textcache stuff
4595 * TextCache.C: delete file
4596 * TextCache.h: delete file
4598 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4600 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4601 delete of the bv_->text.
4602 (resizeCurrentBuffer): remove texcache stuff
4603 (workAreaResize): ditto
4605 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4607 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4610 2003-10-16 André Pönitz <poenitz@gmx.net>
4617 * text3.C: speed up by storing y positions per paragraph plus per-row
4618 offset instead of having a 'full' y position in the row.
4620 2003-10-15 André Pönitz <poenitz@gmx.net>
4624 * undo.[Ch]: make undo aware of inner insets
4626 2003-10-14 Angus Leeming <leeming@lyx.org>
4628 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4629 static member functions LyX::ref() and LyX::cref.
4630 (lastfiles): new accessor functions for the new lastfiles_ member var.
4631 (addLyXView, views_): add a new LyXView to the list of views_.
4632 (updateInset): loop over all LyXViews to call their own updateInset
4633 member function, returning a pointer to the Buffer owning the inset.
4635 * BufferView_pimpl.C (loadLyXFile):
4636 * MenuBackend.C (expandLastfiles):
4637 * bufferlist.C (MenuWrite, QuitLyX):
4638 lastfiles is no longer a global variable.
4639 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4641 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4642 static function. Access through LyX::cref().emergencyCleanup().
4644 2003-10-14 André Pönitz <poenitz@gmx.net>
4646 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4648 * undo.[Ch]: restoring part of 'undo in insets'
4651 * undo_funcs.[Ch]: merge with undo.[Ch]
4653 * tabular.C: small cleansing stuff
4655 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4657 * paragraph_funcs.C (readParToken): report unknown insets as error
4658 boxes. Use the outer paragraph as location (also for unknown
4661 * factory.C (readInset): do not abort on reading an unknown inset.
4662 Eat it and return 0.
4664 2003-10-13 Angus Leeming <leeming@lyx.org>
4666 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4668 * lyxrc.C: displayTranslator is now a function,
4669 declared in GraphicsTypes.h.
4671 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4673 * format.C: new placeholder $$a to pass the socket address.
4675 * bufferlist.[Ch]: new function getBufferFromTmp.
4677 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4678 files in the temporary dir.
4680 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4682 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4684 * Makefile.am: add lyxsocket.[Ch].
4686 * lyx_main.C (error_handler): handle SIGPIPE.
4688 2003-10-13 André Pönitz <poenitz@gmx.net>
4690 * BufferView_pimpl.C:
4695 * undo_funcs.[Ch]: use paroffset_type instead of
4696 ParagraphList::iterators to prevent multiple conversion
4697 (and get a more robust interface)
4699 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4701 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4703 * text3.C (dispatch): ditto
4705 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4708 move the onlyfile, use onlyfile instead of foundfile in a couple
4711 * DepTable.C (update): flush the error stream a bit more
4713 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * lyxserver.C (callback): adjust
4717 * lyxfunc.C (getStatus): add a missing brace in commented code
4718 (ensureBufferClean): reindent
4719 (dispatch): delete version taking a string
4721 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * LaTeX.C (deplog): move found file handlig from here...
4724 (handleFoundFile): .. to new function here.
4725 (deplog): make sure to discover several files mentioned on the
4728 2003-10-10 André Pönitz <poenitz@gmx.net>
4735 * text3.C: fix some of the tabular crashes
4737 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4739 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4741 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4743 2003-10-09 André Pönitz <poenitz@gmx.net>
4745 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4748 * BufferView_pimpl.C:
4749 * bufferview_funcs.C:
4760 * undo_funcs.C: adjust
4762 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4764 * text2.C (incrementItemDepth): new function, use a backtracking
4765 algorithm to discover the correct item depth.
4766 (resetEnumCounterIfNeeded): new function, use a backtracking
4767 algorithm to discover if counter reset is needed.
4768 (setCounter): use them. Simplify a bit. Add different labels for
4769 different item depths for itemize.
4771 * paragraph.C (Paragraph): remove initialization of enumdepth
4774 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4775 enumerate and itemize. Change the type of itemdepth to signed char.
4777 2003-10-08 André Pönitz <poenitz@gmx.net>
4779 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4784 * tabular.[Ch]: fix crash after 'row-insert'
4786 2003-10-08 Angus Leeming <leeming@lyx.org>
4788 Fix doxygen warnings.
4790 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4791 Remove CutAndPaste:: prefix from header file declaration.
4793 * LColor.h (fill): remove LColor:: prefix from declaration.
4795 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4796 use lyx::depth_type rather than Paragraph::depth_type so that
4797 header file and .C file match.
4799 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4801 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4802 * aspell.C: \file aspell_local.C -> \file aspell.C
4803 * gettext.C: \file gettext.C -> \file src/gettext.C
4804 * gettext.h: \file gettext.h -> \file src/gettext.h
4805 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4806 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4807 * text.C: \file text.C -> \file src/text.C
4809 * toc.C: move comment so that doxygen is not confused.
4811 2003-10-07 Angus Leeming <leeming@lyx.org>
4813 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4815 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4818 * aspell_local.h: add forgotten std::string's.
4820 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4827 * text3.C: The Box patch. Fancybox support, minipage, parbox
4829 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4835 * ParagraphParameters.h:
4845 * lyxtextclasslist.h:
4848 * paragraph_pimpl.C:
4849 * textcursor.h: add <string> and other small fixes to make Lars'
4850 std::string patch compile with STLport.
4852 2003-10-06 Angus Leeming <leeming@lyx.org>
4854 * LColor.h: Add missing #include <string>.
4856 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * All most all file in all subdirs: Make <string> be the prefered
4859 way of getting to std::string, add using declarations.
4861 2003-10-06 André Pönitz <poenitz@gmx.net>
4863 * metricsinfo.C: initialize LyXFont before changing attribute.
4864 (fixes the 'math in \emph is upright' bug)
4866 2003-10-06 André Pönitz <poenitz@gmx.net>
4868 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4870 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4873 * paragraph_pimpl.C: Small fixes to build using STLport
4875 2003-10-02 André Pönitz <poenitz@gmx.net>
4878 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4880 2003-10-01 André Pönitz <poenitz@gmx.net>
4882 * factory.C: assert early
4884 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4886 * lyx_main.C: remove the global debug object
4888 * debug.h: adjust for new debugstream
4890 * debug.C: adjust for new debugstream and keep the global debug
4893 2003-09-22 Angus Leeming <leeming@lyx.org>
4895 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4896 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4897 an incomplete class LyXFont.
4899 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4901 * factory.C: bug fix in branches
4903 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * lyxfunc.C (processKeySym): adjust
4907 (dispatch): change arg name from ev to func, adjust
4908 (sendDispatchMessage): ditto
4910 * lyx_main.C (defaultKeyBindings): adjust keybindings
4911 (deadKeyBindings): ditto
4913 * kbsequence.C (addkey): return a FuncRequest
4915 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4917 * kbmap.C (bind): take a FuncRequest as arg, adjust
4920 (defkey): change to take a FuncRequest as arg, adjust
4921 (findbinding): take a FuncRequest as arg, adjust.
4923 * funcrequest.h (operator=): added
4925 * funcrequest.C (FuncRequest): default kb_action changed from
4926 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4928 * buffer.C (dispatch): simplify
4929 (dispatch): adjust to take a FuncRequest as arg, adjust
4931 * boost.C (assertion_failed): change assertion message slightly
4933 * ToolbarBackend.C (read): simplify
4935 * MenuBackend.C (binding): adjust call to findbinding, add a
4936 message if no binding is found.
4938 (expandToc): correct by adding a empty FuncRequest
4940 * LyXAction.C: include <boost/assert.hpp>
4941 (isPseudoAction): delete function
4942 (LookupFunc): change name to...
4943 (lookupFunc): this. change return type to FuncRequest.
4944 (getActionName): take kb_action as arg, simplify
4945 (funcHasFlag): add an assert, simplify.
4947 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * toc.C (action): return a FuncRequest, simplify
4951 * lyxfunc.C (processKeySym): adjust
4952 (getStatus): delete version that takes an int.
4954 (dispatch): delete version that takes action as int
4956 (sendDispatchMessage): simplify and adjust
4958 * funcrequest.C (getArg): take unsigned int as arg
4960 * ToolbarBackend.C (read): adjust
4961 (add): delete version that takes func as a string.
4962 (getIton): take a FuncRequest as arg
4964 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4967 * MenuBackend.C (MenuItem): add a new construct that only takes a
4968 Kind, simplify the constructor use for submenus.
4970 (expandLastfiles): adjust
4971 (expandDocuments): adjust
4972 (expandFormats): adjust
4973 (expandFloatListInsert): adjust
4974 (expandFloatInsert): adjust
4975 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4977 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4978 Remove class variables lyx_pseudo_map and lyx_arg_map
4980 * LyXAction.C (searchActionArg): delete function
4981 (getPseudoAction): delete function
4982 (retrieveActionArg): delete function
4983 (LookupFunc): make it return kb_action, simplify.
4984 (getActionName): simplify
4986 * factory.C (createInset): fix new bug
4988 2003-09-19 Angus Leeming <leeming@lyx.org>
4990 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4991 masterFilename_ parameter in the include inset.
4993 * factory.C (createInset): changes due to the changes to InsetInclude.
4995 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4997 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4999 2003-09-18 Angus Leeming <leeming@lyx.org>
5002 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5003 Inset::fillWithBibKeys.
5004 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5006 2003-09-18 Angus Leeming <leeming@lyx.org>
5008 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5010 (ctor): pass and store a 'Buffer const &'
5011 (buffer): new member function.
5013 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5014 '*this' to the LaTeXFeatures ctor.
5016 2003-09-18 Angus Leeming <leeming@lyx.org>
5022 * text.C: rename EnumLColor as LColor_color.
5024 2003-09-18 Angus Leeming <leeming@lyx.org>
5026 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5027 remove #include "insets/insetbase.h" from cursor.h.
5029 2003-09-18 Angus Leeming <leeming@lyx.org>
5031 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5032 InsetOld_code to remove #include "inset.h".
5034 * iterators.C: add #include "insets/inset.h"
5036 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5038 * BufferView.C: remove more locking stuff that apparently doesn't
5039 do anything sensible.
5041 2003-09-16 André Pönitz <poenitz@gmx.net>
5044 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5047 2003-09-16 Angus Leeming <leeming@lyx.org>
5049 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5051 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5054 * paragraph.h: remove #include "lyxfont.h". Forward declare
5057 2003-09-16 Angus Leeming <leeming@lyx.org>
5059 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5060 of support/textutils.h.
5061 (isWord): move the contents of support/textutils.h's IsWordChar here.
5067 * text2.C: add #include "paragraph.h".
5070 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5072 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5078 * LaTeX.C: use namespace alias for lyx::support::os
5080 2003-09-16 Angus Leeming <leeming@lyx.org>
5083 * bufferview_funcs.C:
5086 * paragraph_pimpl.C:
5088 * text.C: add #include "LColor.h".
5090 2003-09-16 Angus Leeming <leeming@lyx.org>
5092 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5093 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5095 Store the FontBits::color variable as an int rather than as an
5096 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5099 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5100 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5101 string calls together.
5103 * lyxrc.C: add #include "LColor.h".
5105 2003-09-15 Angus Leeming <leeming@lyx.org>
5107 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5110 2003-09-15 Angus Leeming <leeming@lyx.org>
5112 * LColor.h: add an EnumLColor wrapper for LColor::color.
5114 * lyxfont.[Ch] (color, setColor, realColor):
5115 * lyxtext.h, text.C (backgroundColor):
5116 pass EnumLColor args to/from the functions, rather than LColor::color
5120 * lyxtext.h: forward declare EnumLColor.
5122 * lyx_main.C: add #include "LColor.h".
5124 2003-09-15 Angus Leeming <leeming@lyx.org>
5126 * .cvsignore: add lyx-gtk.
5128 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5133 * ParagraphParameters.C
5137 * bufferview_funcs.C
5147 * vc-backend.C: remove usage of STRCONV
5149 2003-09-15 Angus Leeming <leeming@lyx.org>
5151 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5152 explicitly define the color passed to the painter.
5154 2003-09-15 Angus Leeming <leeming@lyx.org>
5156 * bufferparams.C (BufferParams): reorder member initializers to avoid
5159 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5161 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5162 * text.C (updateRowPositions): remove an unusual nop
5164 2003-09-12 André Pönitz <poenitz@gmx.net>
5166 * BufferView_pimpl.C:
5175 * Counters.[Ch]: finish the 'automatic counters' job
5177 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5179 * aspell.C: include <boost/assert.cpp> (compile fix)
5181 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5183 * boost.C (assertion_failed): use lyx::support::abort instead of
5186 2003-09-10 Angus Leeming <leeming@lyx.org>
5188 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5189 with their _fwd progeny.
5191 2003-09-09 Angus Leeming <leeming@lyx.org>
5193 134 files throughtout the source tree: replace 'using namespace abc;'
5194 directives with the appropriate 'using abc::xyz;' declarations.
5196 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5198 * boost.C (emergencyCleanup): moved here from LAssert.c
5199 (assertion_failed): new function, called by BOOST_ASSERT
5201 * several files: change Assert to BOOST_ASSERT
5203 2003-09-09 Angus Leeming <leeming@lyx.org>
5205 * buffer.[Ch]: Add an Impl class and move Buffer's member
5206 variables into it. As a result move several header files out of
5209 Add header files to lots of .C files all over the tree as a result.
5211 2003-09-09 Angus Leeming <leeming@lyx.org>
5213 * buffer.[Ch]: make Buffer's member variables private. Add
5216 Lots of changes all over the tree as a result.
5218 2003-09-08 Angus Leeming <leeming@lyx.org>
5220 * graph.C: #include <config.h>.
5222 2003-09-08 Angus Leeming <leeming@lyx.org>
5226 * BufferView_pimpl.C:
5255 * toc.C: remove redundant using directives.
5257 2003-09-07 Angus Leeming <leeming@lyx.org>
5259 * LaTeXFeatures.h: remove #include "support/types.h".
5260 * ToolbarBackend.h: remove #include <algorithm>.
5261 * changes.h: remove #include <ctime>.
5262 * debug.h: remove #include <iosfwd>.
5263 * graph.h: remove #include "support/std_string.h".
5264 * lyx_main.h: remove #include <csignal>.
5265 * lyxlex_pimpl.h: remove #include <fstream>.
5266 * sgml.h: remove #include <algorithm>, <utility>.
5267 * toc.h: remove #include "support/std_ostream.h".
5268 Add #include <iosfwd>.
5270 2003-09-07 Angus Leeming <leeming@lyx.org>
5272 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5274 * converter.h: forward declare LatexRunParams.
5275 * encoding.h: remove #include "lyxrc.h".
5276 * lyxtext.h: remove #include "LColor.h".
5277 * lyxtextclass.h: remove #include "support/types.h".
5278 * trans.h: remove #include "tex-accent.h".
5279 * trans_mgr.h: remove #include "tex-accent.h".
5280 * insets/inset.h: remove #include "support/types.h", <vector>.
5281 * insets/insetcollapsable.h: remove #include "LColor.h".
5282 * insets/insetinclude.h: remove #include "dimension.h".
5283 * insets/insetlatexaccent.h: remove #include "dimension.h".
5284 * insets/insetoptarg.h:: remove #include "insettext.h".
5285 * insets/insettext.h: remove #include "dimension.h",
5286 <boost/shared_ptr.hpp>
5288 * insets/renderers.h: add #include "dimension.h".
5289 * insets/updatableinset.h: add #include "support/types.h".
5291 * many .C files: Associated changes.
5293 2003-09-06 Angus Leeming <leeming@lyx.org>
5295 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5296 one, inside testInvariant.
5298 * PrinterParams.C: new file.
5299 * PrinterParams.[Ch]: move the function bodies out of line.
5301 2003-09-06 Angus Leeming <leeming@lyx.org>
5303 * ParagraphParameters.h: forward declare ParameterStruct rather than
5304 including its header file.
5305 (depth): moved out-of-line.
5307 2003-09-06 Angus Leeming <leeming@lyx.org>
5309 * BufferView_pimpl.h:
5312 * lyxfunc.h: forward declare LyXKeySym rather than
5313 #include "frontends/LyXKeySym.h".
5315 * BufferView_pimpl.C:
5318 * lyxfunc.C: associated changes.
5320 2003-09-06 Angus Leeming <leeming@lyx.org>
5322 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5323 As a result, can remove the #include "insets/inset.h" from BufferView.h
5325 2003-09-06 Angus Leeming <leeming@lyx.org>
5327 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5328 As a result, can remove the #include "insets/inset.h" from BufferView.h
5330 2003-09-06 Angus Leeming <leeming@lyx.org>
5336 * bufferview_funcs.C:
5337 * BufferView_pimpl.C:
5342 * ParagraphParameters.C:
5347 * frontends/controllers/ControlDocument.C:
5348 * insets/insetcaption.C: rearrange the #includes into some sort of
5351 * buffer.h: remove #includes ErrorList.h, undo.h
5353 2003-09-06 Angus Leeming <leeming@lyx.org>
5355 * support/types.h: add a 'depth_type' typedef, used to store the
5356 nesting depth of a paragraph.
5359 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5360 defining explicitly.
5363 * paragraph_funcs.h:
5364 * ParagraphParameters.h:
5365 * sgml.h: use lyx::depth_type rather than Paragraph or
5366 ParameterStruct's depth_type.
5369 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5372 * BufferView_pimpl.C:
5374 * ParagraphParameters.C:
5377 * bufferview_funcs.C:
5384 * frontends/LyXView.C:
5385 * frontends/controllers/ControlDocument.C:
5386 * frontends/controllers/ControlErrorList.C:
5387 * insets/insetbibitem.C:
5388 * insets/insetbranch.C:
5389 * insets/insetcaption.C:
5390 * insets/insetcollapsable.C:
5391 * insets/insetenv.C:
5392 * insets/insetert.C:
5393 * insets/insetfloat.C:
5394 * insets/insetfoot.C:
5395 * insets/insetfootlike.C:
5396 * insets/insetnewline.C:
5397 * insets/insetquotes.C:
5398 * insets/insettabular.C:
5399 * insets/insettext.C:
5400 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5402 * frontends/controllers/ControlChanges.C: #include "changes.h".
5404 2003-09-06 Angus Leeming <leeming@lyx.org>
5406 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5407 than #including paragraph.h.
5410 * RowList.h: deleted. Superfluous.
5420 * insets/insettext.h: use ParagraphList_fwd.h rather than
5423 * paragraph.h: don't forward declare ParagraphList.
5426 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5427 rather than ParagraphList.h. paragraph.h is still needed for the
5428 Paragraph::depth_type parameters.
5430 * textcursor.h: enable it to compile stand-alone in light of the
5433 * bufferview_funcs.C:
5445 * frontends/controllers/ControlParagraph.C:
5446 * frontends/controllers/ControlTabular.C:
5447 * insets/insetmarginal.C:
5448 * insets/insetminipage.C:
5449 * insets/insetnote.C:
5450 * insets/insetoptarg.C: add header files needed to compile again.
5452 2003-09-06 Angus Leeming <leeming@lyx.org>
5454 * RowList_fwd.h: new file, forward-declaring Row rather than
5455 #including lyxrow.h.
5460 * insets/insettext.h: use it instead of RowList.h
5462 * bufferview_funcs.C:
5469 * text3.C: #include "RowList.h".
5471 2003-09-05 Angus Leeming <leeming@lyx.org>
5473 * factory.C (createInset):
5474 * vspace.C (c-tor): replace sscanf call with an istringstream.
5475 * ispell.C: re-add missing HP/UX headers.
5476 * lyxserver.C: re-add missing os2 headers.
5478 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5487 * text3.C: re-add missing system headers, needed for 2.95.2.
5489 2003-09-05 Angus Leeming <leeming@lyx.org>
5491 Changes most place everywhere due to the removal of using directives
5492 from support/std_sstream.h.
5494 2003-09-05 Angus Leeming <leeming@lyx.org>
5496 Replace LString.h with support/std_string.h,
5497 Lsstream.h with support/std_sstream.h,
5498 support/LIstream.h with support/std_istream.h,
5499 support/LOstream.h with support/std_ostream.h.
5501 Changes resulting throughout the tree.
5503 2003-09-05 Angus Leeming <leeming@lyx.org>
5505 * sgml.h: ensure that the header file can be compiled stand-alone.
5506 * *.C: strip out redundant #includes. (320 in total.)
5508 2003-09-04 Angus Leeming <leeming@lyx.org>
5510 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5511 here (from getPackages).
5513 * debug.[Ch]: add a new EXTERNAL tag.
5515 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5517 * text2.C (cursorEnd): simplify
5519 (getColumnNearX): adjust
5521 * text.C (computeBidiTables): adjust
5524 * rowpainter.C (paintChars): adjust
5525 (paintSelection): adjust
5526 (paintChangeBar): adjust
5529 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5531 (numberOfSeparators): adjust
5533 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5539 * text3.C: Restricts the mouse click functionality
5540 of insets like bibtex, include, toc and floatlist to the visible
5541 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5542 up the dialogs. Cursor has to be in front of the inset (i.e.
5543 start of row) for this to function.
5545 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5547 * bufferview_funcs.C (currentState): output row information
5549 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5551 * bufferview_funcs.C (currentState): output paragraph position
5553 2003-09-04 Angus Leeming <leeming@lyx.org>
5555 * FloatList.h: move out #include "Floating.h".
5556 * LaTeX.h: move out #include "DepTable.h".
5557 * LyXAction.h: move out #include "funcrequest.h".
5558 * buffer.h: move out #include "author.h", "iterators.h".
5559 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5560 * lyx_main.h: move out #include "errorlist.h".
5561 * lyxfunc.h: move out #include "FuncStatus.h".
5562 * lyxtext: move out #include "lyxcursor.h".
5563 * paragraph_pimpl.h: move out #include "counters.h".
5565 2003-09-03 Angus Leeming <leeming@lyx.org>
5567 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5568 preamble_snippets list, enabling us to add snippets to the preamble
5569 only if the snippet was not there already.
5571 2003-09-04 Angus Leeming <leeming@lyx.org>
5573 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5575 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5580 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5582 * BranchList.C: point fix, earlier forgotten
5584 2003-09-02 Angus Leeming <leeming@lyx.org>
5586 * box.C (contains): renamed from 'contained' after a fantastic
5589 2003-09-02 John Levon <levon@movementarian.org>
5595 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5597 2003-09-02 John Levon <levon@movementarian.org>
5599 * text2.C: simplification of cursorEnd(), including partial
5602 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * buffer.C (readFile): add a space
5606 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5608 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5610 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5612 * buffer.C (readFile): new function, take a filename and a
5613 ParagraphList::iterator
5615 (readFile): adjust, make it private. don't use setStream, make
5616 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5617 always contain the filename.
5619 * BufferView.C (insertLyXFile): simplify and make it work for
5622 2003-08-30 John Levon <levon@movementarian.org>
5624 * Makefile.am: fix dist (from Kayvan)
5626 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * most files: change to use const Buffer refs
5630 2003-08-27 André Pönitz <poenitz@gmx.net>
5632 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5633 on top of ownerPar().
5635 2003-08-27 John Levon <levon@movementarian.org>
5637 * funcrequest.C: properly initialise POD members
5639 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5641 * lyxtext.h (top_y): move top_y from here
5646 * BufferView_pimpl.[Ch]: to here
5647 * frontends/screen.C:
5648 * insets/insettabular.C:
5649 * insets/insettext.C: adjust
5650 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5652 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5655 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5657 2003-08-26 André Pönitz <poenitz@gmx.net>
5659 * paragraph_func.[Ch] (outerPar): new function
5662 * paragraph_funcs.C:
5663 * paragraph_funcs.h:
5664 * paragraph_pimpl.C:
5665 * text2.C: remove Inset::par_owner
5667 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5672 * text2.C: eliminates the needFullRow/display() stuff
5673 altogether, putting the logic in metrics/draw in the insets.
5675 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5677 * text2.C (redoParagraphInternal, redoParagraphs):
5678 * text.C (redoParagraph): add a call to updateRowPositions at the
5679 end of each 'metrics-like' call. Remove all others.
5680 (getRow): remove the 'y-computing' version.
5681 (getRowNearY): do not compute nor return the real y. Solve the
5682 'y < 0' problem and simplify.
5684 2003-08-22 Angus Leeming <leeming@lyx.org>
5686 * *.[Ch]: clean-up of licence and author blurbs.
5687 Also move config.h out of a few .h files and into a few .C files.
5689 2003-08-22 André Pönitz <poenitz@gmx.net>
5691 * lyxrow.[Ch]: add x_ and *fill_ members
5696 * text2.C: adjust/remove prepareToPrint() calls
5698 2003-08-22 André Pönitz <poenitz@gmx.net>
5700 * lyxrow.[Ch]: add end_ member
5702 * lyxrow_funcs.C: use LyXRow::end_
5704 * lyxtext.h (singleWidth): add LyXFont parameter
5707 * text2.C: adjust LyXText::singleWidth() calls
5709 * text.C (redoParagraph): simplify row breaking logic
5712 2003-08-19 André Pönitz <poenitz@gmx.net>
5714 * funcrequest.C: initialize button_ member
5717 * rowpainter.[Ch]: interface consolidation
5719 2003-08-18 André Pönitz <poenitz@gmx.net>
5722 * BufferView_pimpl.C:
5724 * paragraph_funcs.C:
5726 * text3.C: remove LyXScreen::draw() and fitCursor calls
5728 * BranchList.h: remove spurious semicolons
5730 * MenuBackend.C: fix branchlist related crash
5732 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5740 * bufferparams.[Ch]:
5744 * text3.C: implements the 'branch inset'
5745 idea. This allows the output of various versions of a document
5746 from a single source version, selectively outputing or suppressing
5747 output of parts of the text.
5748 This implementation contains a 'branch list editor' in a separate
5749 tab of the document settings dialog. Branches are user definable
5750 and have a "display colour" to distinguish them on-screen.
5752 ColorHandler was somewhat cleaned up.
5753 (1) make possible a dynamically growing LColor list by allowing
5754 the graphic context cache to grow along (vector);
5755 (2) eliminate an IMHO unnecessary step in colour allocation.
5757 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5759 * BufferView_pimpl.C: compile fix
5761 2003-08-15 André Pönitz <poenitz@gmx.net>
5763 * rowpainter.C: remove extra metrics calls
5765 * lyxtext.h: merge the two constructors into a single one,
5766 pass reference to owner's par list
5768 * BufferView_pimpl.C:
5772 2003-08-15 André Pönitz <poenitz@gmx.net>
5774 * lyxrow_funcs.[Ch]:
5777 * paragraph_funcs.C:
5782 * text_funcs.C: split LyXText::rowlist_ into individual
5783 Paragraph::rows_ chunks
5786 * BufferView_pimpl.[Ch]:
5789 * text3.C: remove toggleSelection()
5791 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5793 * bufferlist.C: beautify two alerts (shorter text of buttons)
5794 * buffer.C: Remove redundant ' ' from message
5796 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5797 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5798 rename VALIGN_CENTER to VALIGN_MIDDLE
5800 2003-08-11 André Pönitz <poenitz@gmx.net>
5802 * lyxtext.h (getPar):
5803 * text.C: new function
5805 2003-08-11 André Pönitz <poenitz@gmx.net>
5808 * tracer.[Ch]: remove unneeded files
5810 * InsetList.[Ch]: remove resizeInsetsLyXText()
5815 * text3.C: merge insertParagraphs() and appendParagraph()
5816 remove breakAgain(), update()
5818 * BufferView_pimpl.[Ch]:
5819 * bufferview_funcs.[Ch]:
5823 * tabular.C: adjust after text & InsetList changes.
5825 2003-08-08 André Pönitz <poenitz@gmx.net>
5827 * text.C (insertChar, backspace): replace rowlist fiddling
5828 with rebreak of full par
5831 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5832 checkParagraph, updateInset): removed
5834 2003-08-07 André Pönitz <poenitz@gmx.net>
5837 * text3.C: merge some LFUN handlers, remove dead code
5839 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5841 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5843 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5845 * text2.C (DEPM): fix part of bug 1255 and 1256
5847 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5849 * BufferView_pimpl.C (workAreaDispatch): change to use
5850 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5851 that are no mouse related.
5853 2003-08-05 André Pönitz <poenitz@gmx.net>
5856 * BufferView_pimpl.[Ch]:
5857 * bufferview_funcs.C:
5859 * text3.C: rip out "deep update"
5861 * textcursor.[Ch] (last_sel_cursor): remove unused member
5863 2003-08-04 André Pönitz <poenitz@gmx.net>
5866 * BufferView_pimpl.[Ch]:
5867 * ParagraphParameters.C:
5868 * bufferview_funcs.C:
5874 * text3.C: replace "complicated" BufferView::update(...) calls with
5877 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5879 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5881 * Makefile.am (lyx_SOURCES): add paper.h
5883 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5885 * Makefile.am: move things around so that both lyx-qt and
5886 lyx-xforms can be built (according to --with-frontend). Then lyx
5887 is a symbolic link to lyx-[firstfrontend]
5889 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5891 * Always use std::endl with lyxerr
5893 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5895 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5897 2003-08-01 André Pönitz <poenitz@gmx.net>
5900 * BufferView_pimpl.[Ch]:
5902 * text3.C: merge BufferView::repaint() and BufferView::update()
5904 2003-08-01 José Matos <jamatos@lyx.org>
5906 * buffer.[Ch]: file_format is no longer a buffer data element.
5908 2003-08-01 André Pönitz <poenitz@gmx.net>
5913 * text2.C: make redoParagraph more independent of current cursor
5915 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5917 * text2.C: remove unneeded members
5919 2003-07-30 André Pönitz <poenitz@gmx.net>
5921 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5923 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5924 create a single function...
5926 * paragraph_funcs.C (moveItem): ... here.
5929 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5931 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5933 * LColor.[Ch]: Add comment and greyedout logical colors.
5935 2003-07-30 André Pönitz <poenitz@gmx.net>
5937 * tabular.C: don't use Assert too heavily. This crashes where it
5940 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5942 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5943 is disabled (bug 1232)
5945 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5947 * factory.C: limited 'arg' scope
5949 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5951 * factory.C: fixed Note submenu issues
5953 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5955 * factory.C: submenu for Note/Comment/Greyedout
5957 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5960 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5962 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5965 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5966 greyedout. Patch provided by Jürgen Spitzmüller.
5968 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5970 * kbmap.C (read): fix error message when reading bind files
5972 2003-07-29 Angus Leeming <leeming@lyx.org>
5974 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5975 certainly does not do what it purports to do. I am doing it, and
5976 us, a favour by killing it.
5978 2003-07-28 José Matos <jamatos@lyx.org>
5980 * buffer.C (readBody, do_writeFile):
5981 * paragraph.C(readParagraph): \end_document replaces \the_end.
5983 2003-07-29 André Pönitz <poenitz@gmx.net>
5986 * BufferView_pimpl.[Ch]:
5990 * textcursor.[Ch]: remove toggleToggle & Co
5992 2003-07-28 José Matos <jamatos@fep.up.pt>
5994 * buffer.C (readParagraph):
5995 * params_func (readParToken, readParagraph):
5996 * paragraph.C (write): \layout -> \begin_layout.
5998 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6000 * lyxlex_pimpl.C (setFile): clean up slightly.
6002 * bufferparams.h: add compressed var
6004 * buffer_funcs.C (readFile): adjust for LyXLex change
6005 (newFile): ditto + simplify
6007 * buffer.C (writeFile): handle writing of compressed files
6009 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6010 Check if the file is compressed and set a bufferparm if so.
6012 * Makefile.am (lyx_LDADD): remove explicit -lz
6014 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6016 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6017 makeDocBookFile): put the real LyX version in the first line of
6021 * version.C.in: remove lyx_docversion
6023 * tabular.C (write_attribute): add a template-based version to
6024 write enums properly
6026 2003-07-28 André Pönitz <poenitz@gmx.net>
6031 * text3.C: use doubles again for x-coordinates. They are needed.
6033 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6035 * messages.C (getLocaleDir): use lyx_localedir()
6037 * lyxlex_pimpl.C (setFile): compress stuff
6039 * buffer.C (writeFile): add some compression stuff
6040 (do_writeFile): new func, dont call expliti close... will this
6043 * Makefile.am (lyx_LDADD): add -lz
6045 2003-07-28 José Matos <jamatos@fep.up.pt>
6047 * buffer.C: increment file format.
6048 * paragraph_funcs (readParagraph, readParToken):
6049 * paragraph.C (readParagraph): add \end_layout.
6051 2003-07-27 Angus Leeming <leeming@lyx.org>
6053 * Makefile.am: remove special casing for configure-time setting of
6054 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6056 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6057 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6059 2003-07-26 André Pönitz <poenitz@gmx.net>
6061 * paragraph_func.[Ch]:
6062 * paragraph.C (realizeFont): inline it whereever it is used
6067 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6070 2003-07-26 André Pönitz <poenitz@gmx.net>
6074 * text2.C: get rid of LyXText::need_break_row
6076 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6078 * toc.[Ch]: put namespace toc inside namespace lyx
6080 * MenuBackend.C (expandToc2): adjust for lyx::toc
6083 * lyxfunc.C (dispatch): adjust for lyx::find
6085 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6086 lyx::find instead. Reorganize a bit.
6087 (LyXReplace): rename to replace
6088 (LyXFind): rename to find
6090 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6093 2003-07-26 André Pönitz <poenitz@gmx.net>
6095 * text.C (setHeightOfRow): restrict scope of temporary variable
6097 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6098 code (never has been used?)
6100 2003-07-27 Asger Alstrup <alstrup@local>
6102 * text.C (fill): Optimise algorithm to exploit that we can reuse
6103 the LyXFont for many characters.
6104 (setHeightOfRow): Same thing.
6105 (rowBreakPoint): Same thing.
6107 2003-07-26 Asger Alstrup <alstrup@local>
6109 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6111 * text.C (singleWidth): Spurious font copying in hot-spot
6112 singleWidth avoided. Reorder tests for arabic for efficiency.
6114 * text.C (fill): handle empty paragraphs better.
6116 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6119 * encoding.h: add includes
6121 * lyxrc.C: remove reading of bind files
6123 * lyx_main.C (init): setup bindings and menus only if we have a
6126 * kbmap.C (read): new method. Do the actual reading of bind
6129 * converter.C (dvipdfm_options):
6132 (output): adapt PAPER_* enums.
6134 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6136 * bufferparams.h: remove paper-related enums from there
6138 * paper.h: New file. A trivial header file to hold paper-related
6139 enums. It should later expand to contain many paper-related
6142 * lyxrc.C: declare extern displayTranslator
6144 2003-07-27 José Matos <jamatos@fep.up.pt>
6146 * tabular.[Ch] (linuxdoc): add support for tables and figures
6149 2003-07-27 José Matos <jamatos@fep.up.pt>
6151 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6152 consistency in both functions.
6153 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6155 2003-07-26 Asger Alstrup <alstrup@local>
6157 * rowpainter.C (paintRows): Change algorithm to work directly on
6158 the insets rather than asking every character in the document
6159 whether its an inset.
6161 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6163 * buffer.C (openFileWrite): factorize some code
6165 2003-07-26 Angus Leeming <leeming@lyx.org>
6168 * lyx_main.[Ch]: replace occurances of system_tempdir with
6171 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * rename Inset to InsetOld
6175 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6177 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6178 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6179 which I think is a bit clearer. EDIT is gone, since it was
6180 premature optimisation, and broken for mathed anyway.
6181 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6182 with cursor positioning in insets as well (math insets still do not
6183 work, but that's a different story anyway.) It mysteriously
6184 crashes sometimes with undo in the first paragraph, but I'm fairly
6185 confident that this is a compiler bug.
6187 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6189 * paragraph.C (Paragraph): adjust for new clone return type
6191 (copyIntoMinibuffer): ditto
6193 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6195 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6196 by not having a special case, and always doing a full rebreak of
6197 the document after undo.
6199 2003-07-23 Angus Leeming <leeming@lyx.org>
6201 * factory.C (createInset): InsetExternal::setParams now takes a
6204 2003-07-23 Angus Leeming <leeming@lyx.org>
6206 * factory.C (createInset): changed interface to the external and
6207 graphics mailers' string2params functions.
6209 2003-07-23 Angus Leeming <leeming@lyx.org>
6211 * factory.C (createInset): pass a
6212 Buffer const * parameter to InsetExternalMailer's string2params.
6214 2003-07-22 John Levon <levon@movementarian.org>
6216 * Thesaurus.h: include the right aiksaurus header
6218 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6220 * MenuBackend.C (expand): check menu shortcuts unconditionally
6222 2003-07-21 Angus Leeming <leeming@lyx.org>
6224 * factory.C (createInset): pass a
6225 buffer_path parameter to InsetGraphicsMailer's string2params.
6227 2003-07-21 Angus Leeming <leeming@lyx.org>
6229 * BufferView_pimpl.C (buffer):
6232 * lyxfunc.C (dispatch):
6233 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6234 rather than the grfx shortcut.
6236 2003-07-21 André Pönitz <poenitz@gmx.net>
6238 * rowpainter.C: remove unused variables
6241 * tabular_funcs.h: move to tabular.C
6242 * Makefile.am: adjust
6244 * tabular.[Ch]: basic optical cleaning
6246 * author.h: pass references, not values
6248 2003-07-18 André Pönitz <poenitz@gmx.net>
6256 * text3.C: two-phase drawing for InsetText and InsetTabular
6257 some float -> int changes.
6259 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6261 * lyx_main.C: fix the fix
6263 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6265 * lyx_main.C: fix a crash in batch mode if no files specified
6268 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6270 * format.[Ch] (papersize): moved to BufferParams
6271 * converter.[Ch] (dvips_options): moved to BufferParams
6272 (dvipdfm_options): moved to anon namespace
6273 * bufferparams.[Ch]: added above functions.
6275 2003-07-17 André Pönitz <poenitz@gmx.net>
6279 * text2.C: don't call inset->update() anymore
6281 * metricsinfo.[Ch]: add convenience constructor
6283 2003-07-16 André Pönitz <poenitz@gmx.net>
6288 * text2.C: replace the LyXCursor::irow_ member with
6289 on-demand computation of the value
6291 2003-07-16 John Levon <levon@movementarian.org>
6293 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6295 2003-07-15 André Pönitz <poenitz@gmx.net>
6298 * text2.C: remove no more needed refresh_row
6300 2003-07-15 André Pönitz <poenitz@gmx.net>
6305 * text3.C: refresh_status tristate -> need_update bool
6307 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6309 * lyxtext.h (init): remove reinit argument (act as if always true)
6310 * text2.C: adjust to that
6312 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6314 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6315 * text3.C: use it to delete selections in some cases
6316 (bugs 441, 673, 702, 954).
6318 2003-07-14 André Pönitz <poenitz@gmx.net>
6320 * rowpainter.[Ch]: reduce interface
6322 2003-07-14 André Pönitz <poenitz@gmx.net>
6324 * BufferView_pimpl.C:
6325 * text2.C: adjust after removing unused BufferView * argument
6327 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6329 * text2.C (init): fix a crash fired on resize
6331 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6333 * buffer.[Ch]: added new closing signal
6334 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6335 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6336 BufferView::Pimpl via the closing the signal
6338 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6340 * buffer.[Ch]: take out all bv-related from buffer
6342 * BufferView_pimpl.[Ch]: connect to new signals
6343 * CutAndPaste.C: removed useless asserts
6344 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6347 * lyxfunc.C: moved view-related funciontality from vc here
6348 * paragraph.C: removed outdated comments
6351 2003-07-10 André Pönitz <poenitz@gmx.net>
6353 * BufferView_pimpl.C:
6357 * text2.C: remove InsetText::InnerCache, clean up consequences
6359 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6361 * ispell.C: fix two typos in error messages
6363 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6365 * Extend Note inset to other forms of annotation like Comment
6366 and Greyedout. Right button click gives dialog.
6368 Files modified or added (+):
6372 * ControlNote.[Ch] +
6374 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6375 frontends/controllers
6379 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6381 * aspell.C: add missing namespace lyx::support
6383 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6385 * BufferView.[Ch] (newFile): Add
6386 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6387 * LaTeX.[Ch] (message): added this signal and use it
6388 * buffer.[Ch] (busy, message): added these signals and use them
6389 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6393 * importer.C: use buffer signals instead of direct bv calling
6394 * lyx_cb.[Ch] (ShowMessage): removed
6397 * paragraph_funcs.C:
6398 * text2.C: use buffer signals
6400 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * introduce namespace lyx::graphics
6404 2003-07-02 André Pönitz <poenitz@gmx.net>
6406 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6408 2003-07-01 André Pönitz <poenitz@gmx.net>
6415 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6416 text*.C to text_func.C
6418 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6420 * introduce namespace lyx::support
6422 2003-06-30 André Pönitz <poenitz@gmx.net>
6427 * text.C: re-enable --with-included-string
6429 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6431 * textcursor.C: add <config.h>
6433 * text.C (getWord): remove const from word_location arg
6435 * lyxvc.C (getLogFile): fix const type order
6437 * lyxtext.h: remove const from word_location arg, add arg name
6439 * lyxlayout.h: currect type on labeltype.
6441 * importer.C: correct \file
6443 * converter.C (intToFormat): use std:: on ret val, ws changes
6445 * bufferlist.h: correct \file
6447 * buffer.C (makeLinuxDocFile): fix const type order
6448 (makeDocBookFile): ditto
6449 (fillWithBibKeys): use std:: on stdlib args.
6451 * CutAndPaste.C: fix authors.
6452 (availableSelections): use std:: on return vector
6454 2003-06-27 André Pönitz <poenitz@gmx.net>
6456 * BufferView_pimpl.C:
6457 * bufferview_funcs.C:
6465 * text3.C: remove LyXCursor::row_ member
6468 * text.C: rename fullRebreak() to partialRebreak() and implement
6469 a fullRebreak() that really bereks fully
6471 * textcursor.h: new struct for cursor-related data
6473 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6475 * lyx_main.C (LyX): get full path of document loaded on the
6478 2003-06-26 André Pönitz <poenitz@gmx.net>
6480 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6481 remove unused/broken operator>,<,>=.
6483 * text.C: remove only use of broken operator<= in an Assert().
6485 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6487 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6488 moved errorlist_.clear to showErrorList
6490 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6492 * converter.C (scanLog, runLaTeX):
6493 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6494 move the bv->showErrorList call to the callers
6495 * lyxfunc.C: i.e. here...
6497 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6498 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6499 namespace, the second to...
6500 * buffer_funcs (BufferFormat, parseErrors): added
6501 * errorlist.C (ErrorList(TeXErrors const &)): removed
6503 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6505 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6507 2003-06-24 "Garst R. Reese" <reese@isn.net>
6511 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6513 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6515 * version.C.in: change docversion to 1.4
6517 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6519 * buffer.C: fix a bug just introduced
6521 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6523 * buffer.[Ch]: added the parseError signal and use it, removed
6525 * BufferView.[Ch] (addError): moved to ...
6526 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6527 to the Buffer::parseError signal to catch (guess what) parse errors
6528 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6530 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6532 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6533 ability to create a buffer and to return an existing one from
6534 the list. Moved these functions to...
6535 * buffer_funcs.[Ch]: added
6536 * BufferView.[Ch] (loadLyXFile): added
6537 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6538 job removed from bufferlist::loadLyXFile.
6539 * buffer.C (setReadOnly): make it work without view
6540 (i.e added an if (users))
6542 2003-06-19 Angus Leeming <leeming@lyx.org>
6545 * LyXAction.C (init):
6546 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6547 with LFUN_DIALOG_SHOW <name> <data>.
6549 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6551 * CutAndPaste.C (availableSelections): small compilation fix for
6552 ancient (gcc 2.9x) compilers
6554 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6556 * text3.C (cursorNext): add tmp var
6558 * text2.C (updateCounters): for function calling out of for clause
6559 (replaceSelectionWithString): ditto
6560 (insertStringAsParagraphs): ditto
6561 (getColumnNearX): add tmp var
6562 (setCursorFromCoordinates): add tmp var
6563 (cursorDownParagraph): add tmp var
6564 (deleteEmptyParagraphMechanism): add tmp var
6566 * text.C (insertChar): add tmp var
6568 * rowpainter.C (paintDepthBar): add tmp var
6570 * CutAndPaste.C (availableSelections): potentially check all
6571 paragraphs in a cut to fill the shown strings.
6573 2003-06-18 André Pönitz <poenitz@gmx.net>
6575 * kbmap.[Ch]: use vector<> instead of list<>
6577 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6579 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6580 pasteSelection with index
6582 * text2.C (pasteSelection): modify, call pasteSelection with index
6584 * paragraph.C (asString): reimplement version with no interval to
6585 call the one with interval.
6587 * lyxtext.h: add index arg to pasteSelection
6589 * MenuBackend.C (MenuItem): handle PasteRecent
6590 (Menu::read::Menutags): add md_pasterecent
6592 (expandPasteRecent): new function
6595 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6597 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6599 (availableSelections): new function
6601 2003-06-17 Angus Leeming <leeming@lyx.org>
6603 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6605 2003-06-17 Angus Leeming <leeming@lyx.org>
6608 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6610 * lyxfunc.C (dispatch): invoke it.
6612 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6614 * iterators.C (operator++, ParPosition): reintroduce some
6615 const_cast for the benefit of older compilers.
6617 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6619 * text3.C (dispatch): do not modify clipboard when doing
6620 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6621 LFUN_DELETE_SKIP on a selection selection
6623 2003-06-16 André Pönitz <poenitz@gmx.net>
6629 * tabular.[Ch]: IU of clone() and getLabelList();
6631 2003-06-13 André Pönitz <poenitz@gmx.net>
6633 * tabular.h: compactification
6635 2003-06-12 André Pönitz <poenitz@gmx.net>
6639 * tabular_funcs.h: some renaming plus whitespace
6641 2003-06-12 André Pönitz <poenitz@gmx.net>
6644 * BufferView_pimpl.C:
6650 * toc.C: Return a Paragraph & for ParIterator::operator*()
6652 2003-06-11 John Levon <levon@movementarian.org>
6656 * ToolbarBackend.C: add "Toolbars" section and
6659 2003-06-10 Angus Leeming <leeming@lyx.org>
6662 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6664 * lyxfunc.C (dispatch): invoke it.
6666 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6668 * main.C: protect <ios> with HAVE_IOS
6669 (main): protect sync_with_stdio with HAVE_IOS
6671 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6673 * text2.C (cutSelection): adjust
6674 (pasteSelection): adjust
6676 * messages.C: handle get of empty string
6678 * main.C (main): use sync_with_stdio(false)
6680 * lyxfunc.C (dispatch): adjust
6682 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6683 (WriteAs): remove unneeded BufferView arg.
6685 * bufferparams.h: use correct types on papersize, papersize2 and
6688 * bufferparams.C (readToken): adjust for type
6689 (writeLaTeX): add missing cases to switch.
6691 * bufferlist.C (quitWriteBuffer): adjust
6694 * buffer.C (asciiParagraph): remove some commented code.
6696 * CutAndPaste.C: remove current_view extern variable.
6697 (cutSelection): add BufferParams arg.
6698 (eraseSelection): add BufferParams arg.
6699 (pasteSelection): add Buffer const & arg
6701 2003-06-07 John Levon <levon@movementarian.org>
6704 * paragraph_funcs.C:
6705 * paragraph_pimpl.C:
6709 * paragraph.C: allow InsetERT to freely space lines,
6710 and some consolidation of code
6712 2003-06-06 José Matos <jamatos@fep.up.pt>
6714 * buffer.C (makeDocBookFile): fix bug #821
6716 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6718 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6720 2003-06-04 Angus Leeming <leeming@lyx.org>
6722 * buffer.C: bump format to 224.
6724 2003-06-05 André Pönitz <poenitz@gmx.net>
6726 * text2.C (redoParagraphs): remove two const_cast<>
6728 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6730 * ParagraphList.h: remove last remnants of NO_STD_LIST
6732 2003-06-03 Angus Leeming <leeming@lyx.org>
6734 * factory.C (createInset): small change to the way InsetExternal's params
6737 2003-06-04 André Pönitz <poenitz@gmx.net>
6739 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6741 * paragraph_pimpl.h:
6742 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6744 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6746 * undo_funcs.C: make some simple cases of undo work again
6748 2003-06-03 John Levon <levon@movementarian.org>
6750 * ispell.C: HPUX doesn't have sys/select.h
6753 2003-06-03 John Levon <levon@movementarian.org>
6755 * CutAndPaste.C: update tabular and include inset
6760 * paragraph.C: remove owningBuffer(), don't pass Buffer
6763 * factory.C: insetGraphicsParams changed
6765 2003-06-02 John Levon <levon@movementarian.org>
6771 * text3.C: remove insetparent
6773 2003-06-02 John Levon <levon@movementarian.org>
6776 * buffer.C: fix inset_iterator.end(), move out of line
6779 2003-06-01 John Levon <levon@movementarian.org>
6781 * text3.C: use a proper cut/paste when doing inset
6782 insert (from Jürgen Spitzmüller)
6784 2003-06-01 John Levon <levon@movementarian.org>
6786 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6788 2003-05-30 André Pönitz <poenitz@gmx.net>
6790 * rowpainter.C: unify second drawing phase
6792 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6794 * trans_mgr.C: remove one case of current_view
6796 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6798 * paragraph_funcs.h: remove paragraph.h include
6800 * paragraph.h: delete NO_STD_LIST stuff
6802 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6804 * buffer.h: remove paragraph.h include
6806 * ParagraphList.C: delete file
6808 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6810 * toc.C (getTocList): adjust
6812 * paragraph_pimpl.C (validate): adjust
6814 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6816 * paragraph.C (Paragraph): adjust
6817 (getPositionOfInset): use const_iterator, adjust
6818 (bibitem): use const_iterator, adjust
6819 (setInsetOwner): adjust
6821 * iterators.C (operator++): adjust
6823 * InsetList.[Ch]: Replace selfmade iterator with standard
6824 vector::iterator also introduce const_iterator. Remove getPos,
6825 getInset and setInset from InsetTable. Adjust accordingly.
6827 * BufferView.C (lockInset): adjust
6828 (ChangeInsets): adjust
6830 * tabular.[Ch]: delete commented same_id functions
6832 2003-05-28 John Levon <levon@movementarian.org>
6834 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6836 2003-05-28 André Pönitz <poenitz@gmx.net>
6838 * metricsinfo.[Ch]: remove 'fullredraw' member
6840 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6842 * lyxtextclass.C (operator): remove caching.
6844 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6848 * text2.C (cursorBottom): adjust
6849 (setCounter): use ParagraphList::find, adjust
6851 * text.C (workWidth): use ParagraphList::find, adjust
6853 * lyxcursor.C (LyXCursor): adjust
6855 * buffer.C (inset_iterator): adjust
6857 * ParagraphList.h: make iterator(value_type) private, make
6858 ParagraphList a friend of iterator.
6860 * ParagraphList.C (find): new function
6862 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6864 2003-05-27 André Pönitz <poenitz@gmx.net>
6866 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6868 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6870 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6872 2003-05-26 John Levon <levon@movementarian.org>
6874 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6876 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6878 * remove same_id from function signatures, adjust.
6880 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6884 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6886 * paragraph.C (Paragraph): get rid of same_ids parameter
6888 * ParagraphList.C (insert): adjust
6891 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6893 * paragraph_funcs.C (breakParagraph): adjust
6894 (breakParagraphConservative): adjust
6896 * buffer.C (readParagraph): adjust
6898 * ParagraphList.C (insert): take a reference instead of a pointer
6901 * paragraph.[Ch] (id): new function
6903 * bufferlist.C (newFile): adjust
6905 * ParagraphList.C (ParagraphList): adjust
6907 (push_back): take a reference instead of a pointer.
6909 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6911 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6914 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6915 set else use old code.
6917 * ParagraphList.C: remove all NO_NEXT code and only compile this
6918 code of NO_STD_LIST is set.
6920 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6922 * BufferView_pimpl.C:
6932 * graphics/GraphicsConverter.C:
6933 * graphics/PreviewLoader.C: header adjustment
6935 2003-05-23 Angus Leeming <leeming@lyx.org>
6937 * LaTeXFeatures.[Ch] (useBabel): new method.
6938 * bufferparams.C (writeLaTeX): use it.
6940 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6942 * ParagraphList.h (set): remove unused function.
6944 2003-05-23 André Pönitz <poenitz@gmx.net>
6947 * BufferView_pimpl.C:
6951 * undo_funcs.C: setUndo reworked
6953 * iterators.[Ch]: add access to topmost ParagraphList
6955 * lyxtext.[Ch] (workWidth): add a const
6957 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6959 * texrow.[Ch] (increasePos): remove function
6960 * exporter.C (export): removed unused var and outdated comment
6962 2003-05-23 Angus Leeming <leeming@lyx.org>
6964 * latexrunparams.h: rename fragile as moving_arg.
6965 * paragraph.C (simpleTeXOnePar): ditto.
6966 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6968 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6972 (textUndoOrRedo): comment out a currently unused var.
6974 * paragraph.h (NO_NEXT): enable NO_NEXT
6976 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6978 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6980 * exporter.C (Export): adjust for removeAutoInsets removal.
6982 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6984 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6986 * BufferView.[Ch] (removeAutoInsets): delete function
6988 2003-05-22 Angus Leeming <leeming@lyx.org>
6990 * latexrunparams.h: add a free_spacing variable.
6992 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6993 to pass moving_arg, as the data is stored in runparams.fragile.
6995 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6996 to Inset::latexOptional or to simpleTeXOnePar.
6998 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6999 free_spacing arg to Inset::latexOptional.
7001 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7004 2003-05-22 Angus Leeming <leeming@lyx.org>
7006 * latexrunparams.h: add fragile and use_babel variables.
7008 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7009 * buffer.C (makeLaTeXFile): store this returned value in
7010 runparams.use_babel, thus passing it to the inset::latex methods.
7012 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7013 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7015 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7016 longer has a fragile arg, as it is stored in runparams.fragile.
7018 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7019 moving_arg parameter as the data is stored in runparams.fragile.
7021 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7022 a fragile parameter as the data is stored in runparams.fragile.
7024 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7026 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7028 2003-05-22 Angus Leeming <leeming@lyx.org>
7030 * latexrunparams.h: add a 'bool nice' which defaults to false.
7032 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7033 now encapsulated within runparams.
7035 * bufferlist.C (updateIncludedTeXfiles):
7036 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7038 2003-05-22 Angus Leeming <leeming@lyx.org>
7040 * latexrunparams.h: new file containing struct LatexRunParams.
7041 * Makefile.am: add new file.
7043 * LaTeX.[Ch] (c-tor, run):
7044 * buffer.[Ch] (makeLaTeXFile):
7045 * bufferlist.[Ch] (updateIncludedTeXfiles):
7046 * converter.C (convert, scanLog):
7047 * converter.[Ch] (runLaTeX):
7048 * exporter.C (Export):
7049 * paragraph.[Ch] (simpleTeXOnePar):
7050 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7051 * paragraph_funcs.[Ch] (latexParagraphs):
7052 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7053 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7054 pass around a LatexRunParams parameter.
7056 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * paragraph.[Ch]: remove unused constructor
7060 * ParagraphList.C (erase): new function, taking two iterators
7062 2003-05-22 André Pönitz <poenitz@gmx.net>
7064 * undo_funcs.C: remove duplicated code
7066 * iterator.[Ch]: operator=
7068 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7070 * tabular.C (SetMultiColumn): ws changes
7072 * rowpainter.C (paintFirst): get rid of a ->previous
7074 * lyx_cb.C (getPossibleLabel): parlist simplification
7076 * BufferView.C (ChangeInsets): simplify slightly.
7078 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7080 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7081 * lfuns.h: new LFUN_SPACE
7082 * lyxfunc.C: protected space has a new lfun
7083 * paragraph_funcs.C: read new space insets
7085 * factory.C: handle new space insets
7087 2003-05-22 André Pönitz <poenitz@gmx.net>
7090 * BufferView_pimpl.C:
7093 * undo_funcs.C: return a ParIterator from getParFromID.
7095 * iterators.[Ch]: add two const's
7097 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7099 * toc.C (getTocList): adjust
7101 * iterators.[Ch]: rework for parlist
7103 * buffer.C (par_iterator_begin): adjust
7104 (par_iterator_end): adjust
7106 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7108 * BufferView.C (removeAutoInsets): adjust
7109 (ChangeInsets): adjust
7111 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7113 * text.C (top_y): fix bug 1110
7115 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7117 * errorlist.[Ch]: added
7120 * BufferView_pimpl.C:
7121 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7124 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7126 * Makefile.am: ensure that lyx is relinked upon changes to the
7127 various "convenience" libs.
7129 2003-05-20 Angus Leeming <leeming@lyx.org>
7131 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7132 files are compiled in alphabetical order again.
7134 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7136 2003-05-19 Angus Leeming <leeming@lyx.org>
7138 * gettext.[Ch]: remove "char const * _(char const *)".
7140 2003-05-19 André Pönitz <poenitz@gmx.net>
7142 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7151 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7153 2003-05-19 André Pönitz <poenitz@gmx.net>
7157 * lyxtextclass.[Ch]:
7159 * paragraph_funcs.[Ch]:
7161 * text3.C: more insetenv work
7163 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7165 * ParagraphParameters.C (params2string): small bug fixed
7167 2003-05-16 André Pönitz <poenitz@gmx.net>
7170 * bufferview_funcs.C: patch from Kornel Benko to prevent
7171 crash when _(...) is called twice in a statement
7173 2003-05-16 André Pönitz <poenitz@gmx.net>
7180 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7182 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7184 * lyx_main.C (init): remove spurious static_cast
7186 2003-05-14 André Pönitz <poenitz@gmx.net>
7188 * BufferView.C: fix format string
7190 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7192 * BufferView.[Ch] (insertErrors): removed
7193 * BufferView.[Ch] (showErrorList): added
7194 * buffer.C (runChkTeX):
7195 * converter.C (scanLog): call showErrorList instead of inserterrors
7197 2003-05-13 André Pönitz <poenitz@gmx.net>
7199 * BufferView_pimpl.C:
7201 * bufferview_func.C:
7208 * tabular_funcs.h: tostr() from its own header
7210 * ParagraphParameters.C:
7215 * text3.C: STRCONV()
7217 2003-05-12 André Pönitz <poenitz@gmx.net>
7220 * BufferView_pimpl.C:
7224 * ParagraphParameters.C:
7228 * bufferview_funcs.C:
7241 * paragraph_funcs.C:
7245 * text3.C: boost::format -> bformat all over the place
7248 2003-05-09 André Pönitz <poenitz@gmx.net>
7250 * LColor.[Ch]: Pimpl the #include <map> away
7252 2003-05-09 John Levon <levon@movementarian.org>
7254 * bufferlist.C: never remove emergency saves
7256 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7258 * Makefile.am: better lib building
7260 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7262 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7264 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7265 (simpleTeXSpecialChars): adjust
7266 (simpleTeXSpecialChars): adjust
7267 * paragraph.C (simpleTeXOnePar): adjust
7268 * buffer.C (makeLaTeXFile): adjust
7270 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7272 * text2.C (changeDepth): parlist cleanup
7273 (getColumnNearX): ditto
7275 * rowpainter.C (getLabelFont): parlist cleanup
7277 * bufferlist.C (newFile): parlist cleanup
7279 * CutAndPaste.C (eraseSelection): parlist cleanup
7281 * BufferView_pimpl.C (trackChanges): parlist cleanup
7284 * BufferView.C (lockInset): parlist cleanup.
7285 (ChangeInsets): ditto
7287 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7289 * CutAndPaste.h: Update file header.
7291 * CutAndPaste.C: Update file header.
7292 Store the parts cut out of the Document in a limited_stack.
7293 (copySelection): adjust
7294 (pasteSelection): new function, takes the index in the limited stack.
7295 (nrOfParagraphs): adjust
7296 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7297 simplify error inset insertion.
7298 (checkPastePossible): adjust
7300 2003-05-06 John Levon <levon@movementarian.org>
7302 * text2.C: don't cast wrap inset to float
7304 2003-05-05 André Pönitz <poenitz@gmx.net>
7307 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7309 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7310 few naked Paragraph *.
7312 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7314 * bufferparams.C: Output warning if a document with missing
7315 TeX document class is loaded
7316 * exporter.C: Disable TeX exports if the document class is missing
7319 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7320 isTeXClassAvailable()
7322 2003-05-03 John Levon <levon@movementarian.org>
7325 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7326 explicit cursor show/hide
7328 * BufferView_pimpl.h:
7329 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7330 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7332 * lyxfunc.C: hide cursor before dispatching.
7337 * text3.C: remove explicit cursor hides
7339 2003-05-02 André Pönitz <poenitz@gmx.net>
7341 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7344 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7347 * text2.C: tiny whitespace
7349 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7351 * undo_funcs.C: almost only ws changes.
7353 * ParagraphList.C (splice): just return if pl is empty.
7355 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7357 * ParagraphList.C (splice): new function.
7359 * CutAndPaste.C (pasteSelection): use it
7361 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7363 * CutAndPaste.C (pasteSelection): remove the last next and
7364 previous from this file.
7366 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7368 * CutAndPaste.C (pasteSelection): more clean up, user proper
7369 ParagraphList functions for pasteing.
7371 * ParagraphList.C (insert): new function, three arg insert
7373 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7375 * ParagraphList.C (insert): new function, three arg insert
7377 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7380 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7384 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7386 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7388 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7390 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7391 (copySelection): clean up a bit.
7392 (pasteSelection): use make_pair
7394 * ParagraphList.C (ParagraphList): implement copy constructor
7395 (operator=): implement, base on copy constructor.
7398 * paragraph.C (erase): return a bool
7400 * paragraph_pimpl.C (erasePos): remove function, move contents...
7401 (erase): ... here. Return a bool.
7402 (erase): call erase instead of erasePos.
7404 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7406 * ParagraphList.h: define PitPosPair
7407 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7408 ParagraphList, fix a bug on pasting multiple pars
7409 * text2.C: change interface to C&P
7411 2003-04-30 André Pönitz <poenitz@gmx.net>
7413 * undo_func.C: revert part of yesterday's patch 2
7415 2003-04-30 John Levon <levon@movementarian.org>
7417 * LColor.C: s/tabular/table/
7419 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7421 * text3.C (dispatch): do not convert iterator -> pointer
7422 * undo_funcs.C (setCursorParUndo): ditto
7423 * text_funcs.C (transposeChars): ditto
7425 * text2.C (setLayout): ws changes only
7427 * text.C (breakParagraph): do not convert iterator -> pointer
7429 (acceptChange): ditto
7430 (rejectChange): ditto
7435 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7438 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7440 * text3.C (gotoInset): YABG (yet another bad getChar)
7442 2003-04-29 André Pönitz <poenitz@gmx.net>
7444 * paragraph.h: make operator= private unimplemented as long as
7447 * ParagraphList.C: whitespace
7450 * paragraph_pimpl.[Ch]:
7451 * paragraph_funcs.C:
7453 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7456 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7458 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7460 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7461 * paragraph.[Ch] (erase):
7462 * paragraph_pimpl.[Ch] (erase): change return type and value
7463 * text2.C (cutSelection): some rework
7465 2003-04-28 John Levon <levon@movementarian.org>
7467 * bufferlist.C: changes for unsaved changes dialog
7469 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7471 * bufferlist.C (newFile): set language (messages_) for new
7474 * buffer.C (readFile): ws changes only.
7476 2003-04-28 André Pönitz <poenitz@gmx.net>
7481 * BufferView_pimpl.C:
7482 * BufferView.C: getParFromID related ParagraphList::iterator changes
7484 2003-04-28 André Pönitz <poenitz@gmx.net>
7486 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7489 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7491 * messages.C: remove one more localedir class variable.
7493 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7495 * messages.C (getLocaleDir): singleton generation function
7497 (Messages): add a default constructor.
7499 * main.C (main): do not setup localedir here, do not call
7502 * gettext.C (_): use it.
7503 (gettext_init): delete funciton
7505 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7507 * gettext.C (getLyXMessages): new singleton generating function.
7509 * buffer.C (updateDocLang): adjust
7511 * Makefile.am (messages.o): add target
7512 (main.o): remove target
7514 2003-04-27 John Levon <levon@movementarian.org>
7519 * lyxvc.C: specify cancel button in Alert::prompt
7521 2003-04-26 John Levon <levon@movementarian.org>
7526 * LyXAction.C: add LFUN_INSET_SETTINGS
7528 * lyxfunc.C: don't enable tabular-feature when there's
7529 just any locking inset
7531 2003-04-26 John Levon <levon@movementarian.org>
7533 * bufferlist.C: re-add Cancel to buffer close question
7535 * lyxfunc.C: fix import UI a bit
7537 2003-04-25 John Levon <levon@movementarian.org>
7539 * gettext.C: remove the broken asserts for now
7541 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7543 * messages.C: make case where setlocale cannot comply work better.
7545 * buffer.C (updateDocLang): new function
7546 (changeLanguage): use it
7549 * text2.C (setCounter): use B_ a bit.
7551 * lyxlayout.C (Read): be sure to trim the label strings.
7553 * messages.C (Messages): fix typo in comment
7555 * buffer.C (readFile): set message_ after file is loaded.
7556 (makeDocBookFile): remove double return
7557 (changeLanguage): reset message_ upon language change.
7558 (B_): new func, use this to get translated buffer strings.
7560 * main.C: add myself and Jean Marc as authors.
7562 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7564 * messages.[hC]: pimplify Messages, and three different pimpls to be
7565 used in different circumstances.
7567 * gettext.[Ch]: change for use with new message code.
7569 2003-04-24 André Pönitz <poenitz@gmx.net>
7571 * factory.C: support for eqref
7573 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7575 * messages.[Ch]: add missing char
7577 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7579 * messages.[Ch]: New files
7581 2003-04-18 John Levon <levon@movementarian.org>
7585 * BufferView_pimpl.C:
7589 * text2.C: remove layout-copy/paste (bug 778)
7591 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7593 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7595 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7597 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7598 if they succeed. Act accordingly.
7600 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7602 * text2.C (setCharFont): adjust
7603 (setCounter): adjust
7604 (insertStringAsLines): adjust
7606 * text.C (leftMargin): adjust
7607 (setHeightOfRow): adjust
7609 * rowpainter.C (paintFirst): adjust
7612 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7614 (isFirstInSequence): ditto
7615 (getEndLabel): ditto
7618 * paragraph.C (getParLanguage): comment out some hard stuff.
7620 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7622 (simpleDocBookOnePar): ditto
7623 (makeDocBookFile): use ParagraphList::iterator
7625 * CutAndPaste.C (pasteSelection): adjust
7627 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7629 * text2.C (getFont): adjust
7630 (getLayoutFont): adjust
7631 (getLabelFont): adjust
7633 * paragraph_funcs.C (TeXOnePar): adjust
7635 * buffer.C (simpleLinuxDocOnePar): adjust
7636 (simpleDocBookOnePar): adjust
7638 * CutAndPaste.C (pasteSelection): adjust
7640 * BufferView.C (getEncoding): adjust
7642 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7644 2003-04-16 John Levon <levon@movementarian.org>
7646 * lyxfind.C: use parlist stuff for search/changes
7648 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7652 * text2.C (deleteEmptyParagraphMechanism): adjust
7654 * text2.[Ch] (ownerParagraph): delete func (both of them
7656 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7660 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * ParagraphList.C: prepare for NO_NEXT
7664 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7666 * text2.C (getFont): adjust
7667 (getLayoutFont): adjust
7668 (getLabelFont): adjust
7670 * paragraph.C (getFont): adjust
7671 (getLabelFont): adjust
7672 (getLayoutFont): adjust
7674 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7676 2003-04-15 John Levon <levon@movementarian.org>
7680 * lyx_main.C: handle Include in .ui files
7682 2003-04-15 John Levon <levon@movementarian.org>
7684 * MenuBackend.C: make the doc files length shorter
7687 * ToolbarBackend.C: handle toolbar placement flags,
7690 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7692 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7695 * paragraph_funcs.C (TeXOnePar): adjust
7697 * paragraph.C (getLabelFont): add outerfont arg, adjust
7698 (getLayoutFont): ditto
7699 (simpleTeXOnePar): adjust
7701 * paragraph_pimpl.C (realizeFont): delete func
7703 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7705 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7706 row argument, constify cur argument.
7708 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7710 * text2.C (getFont): adjust
7711 (getLayoutFont): adjust
7712 (getLabelFont): adjust
7714 * paragraph_funcs.C (TeXOnePar): adjust
7715 (outerFont): new func...
7716 (realizeFont): ...moved out from here, changed this to facilitate
7719 * paragraph.C (getFont): take outerfont as arg, adjust
7720 (simpleTeXOnePar): add outerfont arg, adjust
7722 * buffer.C (simpleLinuxDocOnePar): adjust
7723 (simpleDocBookOnePar): adjust
7725 * CutAndPaste.C (pasteSelection): adjust
7727 * BufferView.C (getEncoding): adjust
7729 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * text2.C (setCharFont): adjust
7732 (setCounter): adjust
7734 * text.C (leftMargin): adjust
7735 (setHeightOfRow): adjust
7737 * rowpainter.C (paintFirst): adjust
7740 * paragraph_pimpl.C (realizeFont): adjust
7742 * paragraph.C (isFirstInSequence): move from here...
7743 * paragraph_funcs.C (isFirstInSequence): ...to here
7745 * paragraph.C (outerHook): move from here...
7746 * paragraph_funcs.C (outerHook): ...to here
7748 * paragraph.C (depthHook): move from here...
7749 * paragraph_funcs.C (depthHook): ...to here
7751 * paragraph.C (getEndLabel): move from here...
7752 * paragraph_funcs.C (getEndLabel): ...to here
7754 * text2.C (realizeFont): move from here...
7755 * paragraph_funcs.C (realizeFont): ...to here
7757 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7761 2003-04-14 Angus Leeming <leeming@lyx.org>
7763 * LColor.[Ch]: scrap LColor mathcursor.
7765 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * lyxlex.[Ch] (text): delete function
7768 * trans.C (Load): adjust
7769 * paragraph_funcs.C (readParToken): adjust
7771 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7773 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7774 vector<char> instead of a char[].
7776 * lyxlex_pimpl.C (getString): adjust
7778 (lex): use getString
7782 * lyxlex.C (text): use pimpl_->getString()
7786 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7788 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7789 (makeFontEntriesLayoutSpecific): temp var for par.size()
7790 (setLayout): temp var for ownerParagraphs().end()
7791 (fullRebreak): temp var for rows().end()
7792 (selectionAsString): temp var for boost::next(startpit), realize
7793 that the while really is a regular for loop.
7794 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7795 setCursor in one place.
7796 (setParagraph): temp vr for ownerParagraphs().end()
7797 (updateCounters): make the while loop a for loop
7798 (cutSelection): temp var for ownerParagraphs().end()
7799 (updateInset): make the do {} while() a regular for loop
7800 (getCursorX): use temp vars
7801 (setCurrentFont): use temp vars
7802 (getColumnNearX): use temp vars
7804 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * text.C (transformChar): use temp var for getChar
7807 (computeBidiTables): use temp var for row->par()
7808 (fill): move temp vars for row->par() and pit->layout() earlier in
7810 (labelFill): use temp var for row->par()
7811 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7812 asc and desc, realize that pit never changes and that firstpit is
7813 just a duplicate and not needed. Exchange rit->par() with pit in a
7815 (breakAgain): use a temp var for boost::next(rit)
7816 (breakAgainOneRow): ditto
7817 (breakParagraph): use a temp var for rows().begin()
7818 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7819 (cursorRightOneWord): use temp var for cursor.par() and
7820 cursor.pos(), remove usage of tmpcursor.
7821 (cursorLeftOneWord): use temp var for cursor.par() and
7822 cursor.pos() only set cur at end of function.
7824 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7826 * text.C, text2.C: exchange all usage of Paragraph::next with
7827 boost::next(ParagraphList::iterator)
7829 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7831 * text2.C (cursorTop): simplify implementation
7832 (cursorBottom): ditto
7833 (setParagraph): use ParagraphList::iterator
7834 (setCurrentFont): adjust
7835 (getColumnNearX): adjust
7836 (cursorRight): adjust
7837 (cursorLeft): remove usage of Paragraph::previous
7838 (cursorUpParagraph): ditto
7839 (deleteEmptyParagraphMechanism): slight cleanup
7841 * text.C (isBoundary): take a Paragraph const & instead of a
7843 (addressBreakPoint): ditto
7844 (leftMargin): remove usage of Paragraph::previous.
7845 (setHeightOfRow): ditto
7846 (cursorLeftOneWord): ditto
7847 (selectNextWordToSpellcheck): ditto
7850 (breakParagraph): remove one usage of Paragraph::next
7851 (redoParagraph): ditto
7852 (acceptChange): ditto
7853 (insertChar): adjust
7854 (rowBreakPoint): adjust
7856 * bufferview_funcs.C (toggleAndShow): adjust
7858 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7860 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7861 methods to access it.
7863 * text.C: Added updateRowPositions to compute all row positions.
7864 Make top_y and getRowNearY() to use the cached y position
7866 2003-04-11 John Levon <levon@movementarian.org>
7868 * text.C (rowBreakPoint): reintroduce the labelEnd
7869 checks, code copied from the row fill stuff. Deep voodoo.
7871 * text.C (fill): add a comment and debugging for the
7874 2003-04-11 John Levon <levon@movementarian.org>
7876 * text.C: make sure fullrow insets get wrapped to the next line,
7877 even when they're in a manual label
7879 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * text2.C (insertParagraph): make it take ParagraphList::iterator
7883 (setLayout): make it return ParagraphList::iterator
7884 (redoParagraphs): ditto
7886 (checkParagraph): ditto
7888 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7890 * text2.C: adjust several funcs.
7891 (realizeFont): take a ParagraphList::iterator as arg.
7892 (getLayoutFont): ditto
7893 (getLabelFont): ditto
7894 (setCharFont): ditto
7896 * text.C: adjust several funcs.
7898 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7900 * text.C (selectNextWordToSpellcheck): don't accidentally
7903 2003-04-10 John Levon <levon@movementarian.org>
7905 * ToolbarBackend.C (getIcon): special handling for
7908 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7910 * text2.C (cursorRight): a getChar assert fixed
7912 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * text2.C (getFont): change to take a ParagraphList::iterator
7915 instead of Paragraph*
7916 Adjust several functions.
7918 * text.C (transformChar): change to take a ParagraphList::iterator
7919 instead of Paragraph*
7920 (singleWidth): ditto
7921 Adjust several functions.
7923 * rowpainter.C: adjust several functions
7924 * rowpainter.h:store a ParagraphList::iterator and not a
7928 2003-04-09 John Levon <levon@movementarian.org>
7933 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7934 and the "help" bits as well
7936 2003-04-09 John Levon <levon@movementarian.org>
7939 * ToolbarBackend.C: allow multiple toolbars
7941 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7943 * undo_funcs.C (setCursorParUndo): adjust
7945 * text_funcs.C (transposeChars): adjust
7947 * text3.C (gotoNextInset): adjust
7950 * text2.C (setLayout): adjust
7951 (changeDepth): adjust
7953 (redoParagraphs): adjust
7954 (selectionAsString): adjust
7955 (setParagraph): adjust
7956 (insertInset): adjust
7957 (cutSelection): adjust
7958 (copySelection): adjust
7959 (pasteSelection): adjust
7960 (insertStringAsLines): adjust
7961 (updateInset): adjust
7962 (setCursor): change to take a ParagraphList::iterator parameter
7963 (setCursorIntern): change to take a ParagraphList::iterator parameter
7964 (setCurrentFont): adjust
7965 (cursorLeft): adjust
7966 (cursorRight): adjust
7967 (deleteEmptyParagraphMechanism): adjust
7969 * text.C (breakParagraph): adjust
7970 (insertChar): adjust
7971 (acceptChange): adjust
7972 (rejectChange): adjust
7973 (selectNextWordToSpellcheck): adjust
7974 (changeCase): adjust
7978 * lyxfind.C (SearchForward): adjust
7979 (SearchBackward): adjust
7980 (nextChange): adjust
7982 * lyxcursor.C (par): adjust
7984 * lyxcursor.h: store a ParagraphList::iterator instead of a
7987 * lyx_cb.C (getPossibleLabel): adjust
7989 * bufferview_funcs.C (toggleAndShow): adjust
7991 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7994 * BufferView.C (removeAutoInsets): adjust
7995 (lockedInsetStoreUndo): adjust
7997 2003-04-09 John Levon <levon@movementarian.org>
7999 * ToolbarBackend.C: try icon without argument
8000 if with argument fails
8002 2003-04-08 John Levon <levon@movementarian.org>
8005 * ToolbarBackend.C: add getIcon(), handle tooltip,
8006 and change from "Icon" to "Item".
8008 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8010 * BufferView.C (lockInset): another bad getchar crunched
8012 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8014 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8017 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8019 * lyxfind.C (searchForward, searchBackwards): bug 782
8021 2003-04-07 John Levon <levon@movementarian.org>
8023 * paragraph.C: remove dead comment
8025 * text.C: remove troublesome depth-fiddling code
8026 in leftMargin() and rightMargin() (bug 1017)
8028 * text.C: fix breaking of rows in nested lists
8031 * text2.C (updateCounters): fix up depth values
8034 2003-04-07 John Levon <levon@movementarian.org>
8036 * BufferView_pimpl.C: clear message when doc finishes resizing,
8037 and after a mouse event
8039 * lyxfunc.C: clear message after exiting inset
8041 2003-04-07 John Levon <levon@movementarian.org>
8043 * bufferview_funcs.C: show math status not outside
8044 status in the statusbar
8046 2003-04-07 John Levon <levon@movementarian.org>
8048 * lyxfunc.C: note status changed after a depth change
8050 2003-04-04 Angus Leeming <leeming@lyx.org>
8052 * LaTeX.h: move AuxInfo operator==, != out of line.
8053 Remove LaTeX virtual destructor; nothing derives from it.
8054 Move operator()() out of public area and rename it startscript().
8055 Change protected for private.
8057 2003-04-04 Angus Leeming <leeming@lyx.org>
8060 * text2.C: remove unneeded #includes.
8062 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8064 * text2.C (dEPM): fix the heigth of the next row
8066 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8068 * text.C: squashed an invalid getChar requester + some ws changes
8070 2003-04-03 John Levon <levon@movementarian.org>
8072 * bufferview_funcs.h:
8073 * bufferview_funcs.C:
8076 * text2.C: make getStatus work for the env depth lfuns
8078 2003-04-03 John Levon <levon@movementarian.org>
8080 * bufferview_funcs.h:
8081 * bufferview_funcs.C:
8084 * text2.C: parlistize decDepth(), by merging it with incDepth()
8086 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8088 * lyxrow.h: store a ParagraphList::iterator instead of a
8089 Paragraph* and adjust other class functions to suit.
8091 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8094 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8096 * text2.C (setCursor): do not anchor to cursor row for the time being
8098 2003-04-02 John Levon <levon@movementarian.org>
8105 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8107 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8109 * paragraph.h: make ParagraphList and ParagraphList::iterator
8110 friends of Paragraph.
8112 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8114 * ParagraphList.C: Use the private next_ and previous_ from
8117 2003-04-01 John Levon <levon@movementarian.org>
8121 * Makefile.am: rename, remove defaults gunk
8124 * MenuBackend.C: remove defaults gunk
8127 * Languages.C: remove defaults gunk
8130 * lyx_main.C: error out if files couldn't be found.
8132 2003-04-02 John Levon <levon@movementarian.org>
8134 * text2.C: make incDepth() use parlist
8136 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8138 * undo_funcs.C (firstUndoParagraph): adjust
8140 * text3.C (gotoInset): adjust
8141 (dispatch): adjust, and rewrite loop.
8143 * text2.C (init): adjust, and rewrite loop.
8144 (redoParagraphs): adjust
8145 (updateInset): adjust, and rewrite loop.
8146 (deleteEmptyParagraphMechanism): adjust
8148 * tabular.C (LyXTabular): adjust
8149 (SetMultiColumn): adjust
8152 * lyxtext.[Ch] (ownerParagraph): delete function
8153 (ownerParagraphs): new function returns a ParagraphList.
8155 * BufferView.C (removeAutoInsets): adjust
8156 (insertErrors): adjust
8157 (setCursorFromRow): adjust
8159 2003-04-01 Angus Leeming <leeming@lyx.org>
8161 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8164 2003-04-02 John Levon <levon@movementarian.org>
8170 * text_funcs.C: make transposeChars a free function
8172 * lyxrow_funcs.C: remove wrong comment
8174 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8177 * rowpainter.C: adjust
8182 * lyxrow_funcs. [Ch]: new files
8184 * lyxrow.[Ch]: remove next and previous pointers
8185 (next,previous): remove accessor functions
8186 (isParEnd): move to lyxrow_funcs
8187 (lastPos): move to lyxrow_funcs
8188 (nextRowIsAllInset): move to lyxrow_funcs
8189 (lastPrintablePos): move to lyxrow_funcs
8190 (numberOfSeparators): move to lyxrow_funcs
8191 (numberOfHfills): move to lyxrow_funcs
8192 (numberOfLabelHfills): move to lyxrow_funcs
8193 (hfillExpansion): move to lyxrow_funcs
8197 * bufferview_funcs.C (toggleAndShow): adjust
8199 * RowList.h: Remove class RowList from file leave just a
8202 * RowList.C: delete file
8204 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8207 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * text3.C (cursorPrevious): adjust
8210 (cursorNext): adjust
8213 * text2.C (redoHeightOfParagraph): adjust
8214 (redoDrawingOfParagraph): adjust
8217 * text.C (breakParagraph): adjust
8218 (insertChar): adjust
8221 * rowpainter.C (RowPainter): adjust
8222 (leftMargin): simplify and adjust
8223 (most rowpainter functions): adjust.
8225 * rowpainter.h: store the row as RowList::iterator not as Row*
8227 * lyxcursor.C (row): taka RowList::iterator as arg
8230 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8233 2003-04-01 Angus Leeming <leeming@lyx.org>
8235 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8236 stuff like bool Bool.
8238 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8240 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8243 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8245 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8248 * lyxtext.h (rows): drop one version and leve a const variant that
8249 returns a RowList::iterator.
8251 2003-03-31 Angus Leeming <leeming@lyx.org>
8253 * text.C (fill): ensure that the signature is the same as that in the
8256 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * text2.C (redoParagraphs): adjust
8259 (updateCounters): adjust
8260 (checkParagraph): adjust
8261 (getColumnNearX): adjust and reformat a bit.
8263 * text.C (top_y): adjust
8265 (leftMargin): adjust
8266 (prepareToPrint): adjust
8268 (getRowNearY): adjust
8270 * lyxtext.h: make rowlist_ mutable.
8272 * RowList.h: add const_iterator
8273 * RowList.C: adjust for RowList::const_iterator.
8275 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8278 2003-03-31 John Levon <levon@movementarian.org>
8281 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8283 * lyx_main.C: set default fonts from using lyx_gui funcs
8285 * exporter.C: pdf_mode moved from lyxrc
8288 * lyxfunc.C: changes from above
8290 2003-03-31 John Levon <levon@movementarian.org>
8292 * lyx_main.C: fix to the last fix
8294 2003-03-31 John Levon <levon@movementarian.org>
8296 * bufferlist.C: "Load original" -> "Load Original"
8302 * format.C: more Alert cleanups
8304 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8306 * text2.C (removeParagraph): make it take a RowList::iterator as
8308 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8309 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8311 * text.C (anchor_row): make it take a RowList::iterator as arg,
8313 (computeBidiTables): make it take a const reference to Row instead
8314 of Row pointer, adjust.
8315 (leftMargin): make it take a RowList::iterator as arg, adjust.
8316 (rowBreakPoint): adjust
8317 (breakAgainOneRow): make it take a RowList::iterator as arg,
8319 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8321 * bufferview_funcs.C (toggleAndShow): adjust
8323 2003-03-30 John Levon <levon@movementarian.org>
8327 * boost-inst.C: moved to support
8329 * several files: changes as a result
8331 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8333 * text2.C (LyXText): adjust.
8335 (removeRow): make it take a RowList::iterator as arg, adjust.
8336 (fullRebreak): adjust
8337 (deleteEmptyParagraphMechanism): adjust
8338 (clearPaint): adjust
8341 * text.C (top_y): adjust
8342 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8343 (breakAgain): make it take a RowList::iterator as arg, adjust.
8344 (breakParagraph): adjust
8345 (insertChar): adjust
8348 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8349 need_break_row, and refresh_row.
8351 * text3.C (dispatch): adjust
8353 * text2.C (checkParagraph): adjust
8355 (setCursorFromCoordinates): adjust
8357 * text.C (top_y): adjust
8359 (getRow): make it return a RowList::iterator, adjust
8360 (getRowNearY): make it return a RowList::iterator, adjust
8362 * text2.C (init): adjust
8363 (insertRow): remove function
8364 (insertParagraph): adjust
8365 (redoParagraphs): adjust
8366 (fullRebreak): adjust
8367 (updateCounters): adjust
8369 * text.C (top_y): rewrite to use RowList iterators.
8371 (setHeightOfRow): rewrite to sue RowList iterators.
8372 (appendParagraph): adjust
8373 (breakAgain): adjust
8374 (breakAgainOneRow): adjust
8375 (breakParagraph): adjust
8377 (getRowNearY): adjust, and remove commented code.
8379 * lyxtext.h (firstRow): delete function
8380 (lastRow): delete function
8381 (rows): new function (const and non-const versions.)
8382 (insertRow): delete function
8384 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8386 2003-03-29 John Levon <levon@movementarian.org>
8388 * BufferView_pimpl.C: always update scrollbar top
8389 because pasting text when we're anchored could mean we
8390 miss an update altogether
8392 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8394 * text2.C (init): use rowlist_.end() and not 0.
8395 (insertRow): change to take a RowList::iterator as arg, adjust
8397 (insertParagraph): change to take a RowList::iterator as arg,
8399 (redoParagraphs): remove some debug msgs.
8401 * text.C (appendParagraph): change to take a RowList::iterator
8402 arg, adjust for this.
8403 (breakAgain): add an assert
8404 (breakAgainOneRow): ditto
8406 2003-03-29 John Levon <levon@movementarian.org>
8408 * text2.C: do not clear selection after inc/decDepth
8411 2003-03-29 John Levon <levon@movementarian.org>
8414 * buffer.C: fix broken strerrors according to Lars
8416 2003-03-29 John Levon <levon@movementarian.org>
8418 * converters.C: more Alert cleanups
8420 2003-03-29 John Levon <levon@movementarian.org>
8422 * bufferview_funcs.C: remove pointless Alert
8424 * buffer.C: fix confusing error message when
8425 a template is chmoded 000
8427 2003-03-29 John Levon <levon@movementarian.org>
8431 * BufferView_pimpl.C: Alert fixes
8435 * tabular-old.C: remove unused table compat reading
8437 2003-03-29 John Levon <levon@movementarian.org>
8442 * lyx_cb.C: more Alert cleanups
8444 * lyxfunc.C: don't allow chktex if not latex document
8446 2003-03-29 John Levon <levon@movementarian.org>
8450 * buffer.C: warnings pushed down from support/,
8453 2003-03-29 John Levon <levon@movementarian.org>
8455 * lyxfunc.C: safety check for C-r (revert)
8457 2003-03-29 John Levon <levon@movementarian.org>
8460 * bufferlist.C: several UI fixes using Alert::prompt.
8461 Fix the pointless looping quit code. Fix stupid revert
8466 * lyx_cb.C: use Alert::prompt
8468 * lyx_main.C: remove a silly question
8470 * lyxfunc.C: remove a couple of silly questions,
8473 2003-03-28 John Levon <levon@movementarian.org>
8475 * text2.C: fix bug 974 (End on empty par)
8477 2003-03-28 John Levon <levon@movementarian.org>
8479 * BufferView_pimpl.C:
8481 * lfuns.h: remove do-nothing math greek lfuns
8483 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8485 * lyxgluelength.h (isValidGlueLength): add default arg on
8486 parameter 2. Remove default arg from friend in class.
8488 * lyxlength.h (isValidLength): add default arg on parameter 2.
8489 Remove default arg from friend in class.
8491 * text2.C (LyXText): adjust, initialize refresh_row.
8495 (insertParagraph): adjst
8496 (redoParagraphs): adjust
8497 (fullRebreak): adjust
8498 (updateCounters): adjust
8499 (deleteEmptyParagraphMechanism): first attempt at fixing a
8502 * text.C (top_y): adjust
8503 (setHeightOfRow): adjust
8505 (getRowNearY): adjust
8507 * lyxtext.h: include RowList.h
8508 (~LyXText): not needed anymore, deleted.
8509 (firstRow): modify for RowList
8510 (lastRow): new function
8511 Delete firstrow and lastrow class variables, add a Rowlist
8512 rowlist_ class variable.
8514 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8517 * RowList.C (insert): fix case where it == begin().
8519 2003-03-26 Angus Leeming <leeming@lyx.org>
8521 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8522 the thesaurus dialog.
8524 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8526 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8528 * RowList.[Ch]: new files
8530 * ParagraphList.C (erase): handle the case where it == begin
8533 2003-03-25 John Levon <levon@movementarian.org>
8537 * aspell.C: add new aspell support
8540 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8543 2003-03-25 Angus Leeming <leeming@lyx.org>
8546 * LyXAction.C (init): new LFUN_INSET_INSERT.
8548 * BufferView_pimpl.C (dispatch): split out part of the
8549 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8551 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8554 2003-03-25 Angus Leeming <leeming@lyx.org>
8556 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8558 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8561 * text3.C: remove useless row->height(0)
8563 2003-03-25 John Levon <levon@movementarian.org>
8567 * text3.C: rename the refreshing stuff to better names
8569 2003-03-24 John Levon <levon@movementarian.org>
8571 * BufferView_pimpl.h:
8572 * BufferView_pimpl.C: update layout choice on a mouse
8575 2003-03-23 John Levon <levon@movementarian.org>
8577 * Makefile.am: fix commandtags.h reference
8579 2003-03-22 John Levon <levon@movementarian.org>
8581 * BufferView_pimpl.C:
8586 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8588 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8591 * text.C: take the rtl methods out of line
8593 2003-03-21 André Pönitz <poenitz@gmx.net>
8595 * metricsinfo.[Ch]: new files containing structures to be passed around
8596 during the two-phase-drawing...
8598 2003-03-21 André Pönitz <poenitz@gmx.net>
8600 * lyxtextclass.C: read 'environment' tag.
8602 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8604 * text2.C (removeRow): fix bug 964
8606 2003-03-20 John Levon <levon@movementarian.org>
8610 * text2.C: paint cleanups. Inset::update() dropped font
8613 2003-03-19 John Levon <levon@movementarian.org>
8615 * lyxfunc.C: only fitcursor/markDirty if available()
8617 2003-03-19 John Levon <levon@movementarian.org>
8619 * commandtags.h: rename to ...
8621 * lfuns.h: ... this, and renumber / cleanup
8623 2003-03-19 John Levon <levon@movementarian.org>
8625 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8626 fit the cursor after an lfun
8630 * BufferView_pimpl.h:
8631 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8633 * LyXAction.C: layout-character should have ReadOnly
8635 * ParagraphParameters.C:
8637 * bufferview_funcs.C:
8644 * undo_funcs.C: changes from above
8646 2003-03-18 John Levon <levon@movementarian.org>
8648 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8649 remove it from update()
8651 * lyxfunc.C: update layout choice after an lfun
8653 * text3.C: remove extra updateLayoutChoice()s
8655 2003-03-18 John Levon <levon@movementarian.org>
8657 * text.C: top_y change means full repaint, fix
8658 a drawing bug with cursor movement
8660 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8664 * text2.C: anchor row on setCursor
8666 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8668 * lyxtext.h: remove almost all mutable keywords
8671 * text3.C: remove const keywords accordingly
8673 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8675 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8677 (TeXEnvironment): ditto
8680 2003-03-17 John Levon <levon@movementarian.org>
8682 * text.C (rowBreakPoint): remove attempt to fix displayed
8683 math insets inside a manual label
8685 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8687 * lyxtext.h: remove BufferView* as first arg from almost all class
8689 * other files: adjust.
8691 2003-03-17 John Levon <levon@movementarian.org>
8695 * text2.C: more paint cleanups
8697 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8700 * rowpainter.C: remove "smart" background painting code
8702 2003-03-16 John Levon <levon@movementarian.org>
8707 * text3.C: add helper functions for setting refresh_row/y
8709 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8711 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8712 newline inset which *can* get inserted in the pass_thru layouts.
8713 This is primarily for literate documents.
8715 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8717 * buffer.C: increment LYX_FORMAT to 223
8719 2003-03-14 André Pönitz <poenitz@gmx.net>
8721 * textclass.h: prepare for environment handling, ws changes
8722 * lyxlayout.C: read latexheader and latexfooter tags
8724 2003-03-14 John Levon <levon@movementarian.org>
8726 * text2.C: rewrite ::status() a bit
8728 2003-03-13 John Levon <levon@movementarian.org>
8730 * lyxtext.h: add some docs
8732 2003-03-13 John Levon <levon@movementarian.org>
8737 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8739 2003-03-13 John Levon <levon@movementarian.org>
8741 * text3.C: fix appendix redrawing
8743 2003-03-13 John Levon <levon@movementarian.org>
8745 * text.C (setHeightOfRow):
8747 * rowpainter.C: make appendix mark have the text
8748 "Appendix" so the user knows what it is
8751 * LColor.C: s/appendixline/appendix/ from above
8753 2003-03-13 John Levon <levon@movementarian.org>
8755 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8757 * text.C: fix a getChar(pos) bug properly
8759 2003-03-13 Angus Leeming <leeming@lyx.org>
8762 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8763 Probably only temporary. Let's see how things pan out.
8765 * BufferView.C (unlockInset):
8766 * BufferView_pimpl.C (fitCursor):
8767 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8769 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8770 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8772 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8773 new functions that convert ParagraphParameters to and from a string.
8775 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8776 BufferView::Pimpl's dispatch.
8777 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8779 2003-03-13 André Pönitz <poenitz@gmx.net>
8783 * factory.C: make it aware of InsetEnv
8785 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8787 * text2.C (setCursor): never ask for one past last
8788 (setCursor): add some debugging messages.
8790 * text.C (singleWidth): never ask for one past last
8791 (singleWidth): ditto
8793 (rightMargin): ditto
8794 (rowBreakPoint): ditto
8795 (setHeightOfRow): ditto
8796 (prepareToPrint): ditto
8798 * rowpainter.C (paintBackground): never ask for one past last
8799 (paintText): never ask for one past last
8801 * paragraph_pimpl.C (getChar): make the assert stricter, never
8802 allow the one past last pos to be taken
8804 * paragraph.C (getChar): ws changes only
8806 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8807 (numberOfSeparators): ditto
8808 (numberOfHfills): ditto
8810 2003-03-12 John Levon <levon@movementarian.org>
8816 * paragraph_funcs.C: fix per-buffer authorlists
8818 2003-03-12 John Levon <levon@movementarian.org>
8820 * text.C: fix newline in right address
8822 2003-03-12 Angus Leeming <leeming@lyx.org>
8824 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8825 duplicate those in LyXFunc::dispatch.
8829 * ToolbarDefaults.C:
8830 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8831 Add LFUN_FONTFREE_UPDATE.
8833 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8834 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8836 * bufferview_func.[Ch]: several new functions to facilliate
8837 transfer of data to and from the character dialog.
8839 2003-03-12 John Levon <levon@movementarian.org>
8844 * paragraph_funcs.C:
8845 * paragraph_pimpl.C:
8849 * text3.C: remove META_NEWLINE in favour of an inset
8852 * rowpainter.C: remove paintNewline (done by inset)
8854 2003-03-12 John Levon <levon@movementarian.org>
8856 * paragraph_pimpl.C: complain about bad getChar()s
8857 for a while at least
8859 2003-03-12 John Levon <levon@movementarian.org>
8862 * buffer.C: move paragraph read into a separate function,
8863 a little renaming to reflect that.
8866 * bufferparams.C: remove the author_ids map, not necessary now
8869 * factory.C: moved Buffer::readInset to here
8871 * paragraph_funcs.h:
8872 * paragraph_funcs.C: readParagraph free function moved from
8875 * tabular.C: name change
8877 2003-03-12 John Levon <levon@movementarian.org>
8880 * ParagraphParameters.C: move par params input to
8883 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8884 behave like a normal read from the stream wrt reading
8885 a line vs. a \\token
8887 2003-03-12 John Levon <levon@movementarian.org>
8890 * ParagraphParameters.h:
8891 * ParagraphParameters.C: move output code to a
8894 2003-03-12 John Levon <levon@movementarian.org>
8896 * BufferView.C (insertLyXFile):
8899 * tabular.C: use a parlist iterator for creating the
8902 2003-03-12 John Levon <levon@movementarian.org>
8904 * buffer.C: make current_change static local not
8907 2003-03-12 John Levon <levon@movementarian.org>
8909 * buffer.C: fix insertStringAsLines for change tracking
8911 2003-03-12 John Levon <levon@movementarian.org>
8918 * bufferparams.C: move author list into params. Rename some
8919 functions. Move the header reading into a separate token
8920 loop. Move the header token reading into BufferParams.
8922 2003-03-12 John Levon <levon@movementarian.org>
8924 * changes.C: put debug inside lyxerr.debugging() checks
8926 2003-03-11 André Pönitz <poenitz@gmx.net>
8928 * factory.C: make it aware of InsetHFill
8930 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8932 * buffer.C (latexParagraphs): move function from here...
8933 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8936 2003-03-10 Angus Leeming <leeming@lyx.org>
8938 * LyXAction.C (init): fix bug in poplating array with multiple entries
8939 with the same LFUN (spotted by JMarc).
8941 2003-03-10 John Levon <levon@movementarian.org>
8944 * text2.C: move getColumnNearX() near its
8947 2003-03-10 John Levon <levon@movementarian.org>
8949 * text.C: fix break before a minipage
8951 2003-03-10 John Levon <levon@movementarian.org>
8953 * text.C: fix the last commit
8955 2003-03-09 John Levon <levon@movementarian.org>
8959 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8960 bug 365 (don't break before insets unless needed). Don't
8961 return a value > last under any circumstances.
8963 2003-03-09 Angus Leeming <leeming@lyx.org>
8965 * BufferView_pimpl.C (trackChanges, dispatch): call
8966 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8968 2003-03-09 Angus Leeming <leeming@lyx.org>
8970 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8971 than Dialogs::showAboutlyx().
8973 2003-03-09 Angus Leeming <leeming@lyx.org>
8975 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8976 than Dialogs::showTabularCreate().
8978 2003-03-09 John Levon <levon@movementarian.org>
8982 * text2.C: 3rd arg to nextBreakPoint was always the same.
8985 2003-03-08 John Levon <levon@movementarian.org>
8992 * text2.C: Remove the "main" bit from the "main body"
8995 2003-03-08 John Levon <levon@movementarian.org>
8997 * text.C (leftMargin): The left margin of an empty
8998 manual label paragraph should not include the label width
9001 * text.C (prepareToPrint): don't attempt to measure hfills
9002 for empty manual label paragraphs - the answer should be 0
9004 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9006 * CutAndPaste.C: remove commented code and reindent.
9008 2003-03-08 John Levon <levon@movementarian.org>
9011 * lyxfunc.C: move reloadBuffer()
9014 * BufferView.C: to here
9016 * lyxvc.C: add comment
9019 * vc-backend.C: call bv->reload() to avoid
9020 getStatus() check on MENURELOAD
9022 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9024 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9025 to an old format .dep file.
9027 2003-03-07 Angus Leeming <leeming@lyx.org>
9029 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9030 when the LFUN_MOUSE_RELEASE should have been handled by
9031 inset->localDispatch.
9033 2003-03-07 Angus Leeming <leeming@lyx.org>
9035 * BufferView_pimpl.C (dispatch):
9036 * LyXAction.C (init):
9037 * ToolbarDefaults.C (init):
9039 * lyxfunc.C (getStatus):
9040 remove LFUN_INSET_GRAPHICS.
9042 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9044 2003-03-07 Angus Leeming <leeming@lyx.org>
9047 * LyXAction.C (init):
9048 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9050 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9053 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9055 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9056 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9058 2003-03-07 Angus Leeming <leeming@lyx.org>
9060 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9063 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9065 * ParagraphList.C (front): new function
9068 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9070 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9071 and top_row_offset_. removed var first_y.
9073 * text2.C (LyXText, removeRow):
9075 * BufferView_pimpl.C:
9076 use these methods instead of using first_y
9078 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9080 * text2.C (pasteSelection): adjust for checkPastePossible
9082 * CutAndPaste.C: remove Paragraph * buf and replace with
9083 ParagraphList paragraphs.
9084 (DeleteBuffer): delete
9085 (cutSelection): change the tc type to textclass_type
9086 (copySelection): change the tc type to textclass_type
9087 (copySelection): adjust for ParagraphList
9088 (pasteSelection): change the tc type to textclass_type
9089 (pasteSelection): adjust for Paragraphlist
9090 (nrOfParagraphs): simplify for ParagraphList
9091 (checkPastePossible): simplify for ParagraphList
9092 (checkPastePossible): remove unused arg
9094 * ParagraphList.C (insert): handle the case where there are no
9097 * CutAndPaste.h: make CutAndPaste a namespace.
9099 * text3.C (dispatch): adjust
9101 * text.C (breakParagraph): add a ParagraphList as arg
9103 * paragraph_funcs.C (breakParagraph): change to take a
9104 BufferParams and a ParagraphList as args.
9105 (breakParagraphConservative): ditto
9106 (mergeParagraph): ditto
9107 (TeXDeeper): add a ParagraphList arg
9108 (TeXEnvironment): ditto
9111 * buffer.C (readLyXformat2): adjust
9112 (insertStringAsLines): adjust
9113 (latexParagraphs): adjust
9115 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9116 (cutSelection): adjust
9117 (pasteSelection): adjust
9119 * BufferView_pimpl.C (insertInset): adjust
9121 2003-03-05 Angus Leeming <leeming@lyx.org>
9124 * LyXAction.C (init):
9125 * BufferView_pimpl.C (dispatch):
9126 * lyxfunc.C (getStatus):
9127 remove LFUN_CHILD_INSERT.
9129 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9131 2003-03-05 Angus Leeming <leeming@lyx.org>
9134 * LyXAction.C (init):
9135 * src/factory.C (createInset):
9136 * lyxfunc.C (getStatus):
9137 * text3.C (dispatch):
9138 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9140 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9142 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9144 * ParagraphList.C (insert): handle insert right before end()
9145 (erase): fix cases where it can be first or last paragraph.
9147 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9149 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9150 Paragraph::next and Paragraph::previous
9153 * text.C (breakParagraph): adjust
9155 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9156 BufferParams& as arg.
9157 (breakParagraph): use ParagraphList::insert
9158 (breakParagraphConservative): take a Buffer* instead of a
9159 BufferParams& as arg.
9160 (breakParagraphConservative): use ParagraphList::insert.
9162 * buffer.C (insertStringAsLines): un-const it
9163 (insertStringAsLines): adjust
9165 * ParagraphList.C (insert): new function
9167 * CutAndPaste.C (pasteSelection): adjust
9169 * text.C (backspace): adjust
9171 * tabular.C (SetMultiColumn): adjust
9173 * CutAndPaste.C (cutSelection): adjust
9174 (pasteSelection): adjust
9176 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9177 Buffer const * as arg
9179 * ParagraphList.C (erase): new function
9180 * paragraph_funcs.C (mergeParagraph): use it
9181 (mergeParagraph): make it take a Buffer* instead of a
9182 BufferParams* as arg
9184 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9186 (breakParagraphConservative): ditto
9188 * paragraph.h: remove the breakParagraph friend
9190 * paragraph.C (eraseIntern): new function
9191 (setChange): new function
9193 * paragraph_funcs.C (mergeParagraph): make it take a
9194 ParagraphList::iterator instead of a Paragraph *, adjust
9197 * paragraph.h: move an #endif so that the change tracking stuff
9198 also works in the NO_NEXT case.
9200 2003-03-04 Angus Leeming <leeming@lyx.org>
9203 * LyXAction.C: new LFUN_INSET_MODIFY.
9205 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9206 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9208 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9210 * several files: ws changes only
9212 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9213 (TeXEnvironment): ditto
9216 * buffer.C (makeLaTeXFile): adjust
9217 (latexParagraphs): make it take ParagraphList::iterator as args
9219 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9221 * buffer.C (latexParagraphs): adjust
9223 * paragraph.C (TeXOnePar): move function...
9224 (optArgInset): move function...
9225 (TeXEnvironment): move function...
9226 * paragraph_pimpl.C (TeXDeeper): move function...
9227 * paragraph_funcs.C: ...here
9229 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9231 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9233 * buffer.C (readInset): remove compability code for old Figure and
9236 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9238 * buffer.C: ws changes
9241 * BufferView_pimpl.C: ditto
9244 * bufferlist.h: ditto
9248 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9250 * converter.[Ch]: split into itself +
9253 * Makefile.am: += graph.[Ch] + format.[Ch]
9260 * lyxrc.C: added #include "format.h"
9262 2003-02-27 Angus Leeming <leeming@lyx.org>
9264 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9267 * factory.C (createInset): add "label" to the factory.
9269 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9270 string and do no more.
9272 2003-02-27 Angus Leeming <leeming@lyx.org>
9275 * LyXAction.C (init):
9276 * factory.C (createInset):
9277 * BufferView_pimpl.C (dispatch):
9278 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9280 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9282 * lyxfunc.C (dispatch):
9283 * text3.C (dispatch): pass name to params2string.
9285 2003-02-26 Angus Leeming <leeming@lyx.org>
9287 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9289 Rearrange the ~includes. Strip out the unnecessary ones.
9291 * factory.C (createInset): reformat.
9292 create new insets for the various LFUN_XYZ_APPLY lfuns.
9294 2003-02-26 John Levon <levon@movementarian.org>
9297 * lyxrow.C: add isParStart,isParEnd helpers
9299 * paragraph.h: make isInserted/DeletedText take refs
9301 * paragraph_funcs.h:
9302 * paragraph_funcs.C: remove #if 0'd code
9307 * text.C: use lyxrow helpers above.
9308 Move draw and paint routines to RowPainter.
9309 Make several methods use refs not pointers.
9310 Make backgroundColor() const.
9311 Add markChangeInDraw(), isInInset().
9312 Merge changeRegionCase into changeCase.
9313 Make workWidth() shouldn't-happen code into an Assert.
9316 * rowpainter.C: new class for painting a row.
9319 * vspace.C: make inPixels take a ref
9321 2003-02-26 Angus Leeming <leeming@lyx.org>
9323 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9326 2003-02-25 John Levon <levon@movementarian.org>
9328 * ispell.C: give the forked command a more accurate name
9330 2003-02-22 John Levon <levon@movementarian.org>
9333 * toc.C: make TocItem store an id not a Paragraph *
9336 2003-02-21 Angus Leeming <leeming@lyx.org>
9338 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9339 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9340 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9341 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9342 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9343 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9345 * BufferView_pimpl.C (dispatch):
9346 * LyXAction.C (init):
9347 * factory.C (createInset):
9348 * lyxfunc.C (getStatus, dispatch):
9349 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9351 2003-02-21 Angus Leeming <leeming@lyx.org>
9353 * BufferView_pimpl.C (MenuInsertLyXFile):
9354 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9355 * lyxfunc.C (menuNew, open, doImport):
9356 no longer pass a LyXView & to fileDlg.
9358 2003-02-21 Angus Leeming <leeming@lyx.org>
9360 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9361 * LyXAction.C: change, BIBKEY to BIBITEM.
9362 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9363 Change InsetBibKey to InsetBibitem.
9364 Change BIBKEY_CODE to BIBITEM_CODE.
9365 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9366 * factory.C: replace insetbib.h with insetbibitem.h.
9367 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9368 * paragraph.C: replace insetbib.h with insetbibitem.h.
9369 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9370 Change bibkey() to bibitem().
9371 * text.C: remove insetbib.h.
9372 * text2.C: replace insetbib.h with insetbibitem.h.
9373 change bibkey() to bibitem().
9374 * text3.C: remove insetbib.h.
9375 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9377 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9379 * lyxrc.C (output): enclose user email in quotes (in case there are
9382 2003-02-18 John Levon <levon@movementarian.org>
9384 * buffer.h: add std::
9386 2003-02-17 John Levon <levon@movementarian.org>
9392 * pspell.C: reworking. Especially in ispell, a large
9393 number of clean ups and bug fixes.
9395 * lyxfunc.C: fix revert to behave sensibly
9397 2003-02-17 André Pönitz <poenitz@gmx.net>
9400 * commandtags.h: new LFUN_INSERT_BIBKEY
9410 * paragraph_func.C: remove special bibkey handling
9412 2003-02-17 John Levon <levon@movementarian.org>
9414 * text.C (Delete): fix case where delete at the end of
9415 the very first paragraph would not merge the pars
9417 2003-02-17 John Levon <levon@movementarian.org>
9419 * lyxrow.C: fix lastPrintablePos()
9421 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9423 * bufferparams.C (writeLaTeX): add a std:here
9425 * buffer.C: and remove a using directive there
9427 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9429 * buffer.C (makeLaTeXFile): move the code that generates the
9432 * bufferparams.C (writeLaTeX): ... in this new method
9434 * LaTeXFeatures.C (getEncodingSet): make const
9435 (getLanguages): make const
9437 * MenuBackend.C (binding): returns the binding associated to this
9439 (add): sets the status of each item by calling getStatus. Adds
9441 (read): add support for OptSubMenu
9442 (expand): remove extra separator at the end of expanded menu
9444 2003-02-15 John Levon <levon@movementarian.org>
9447 * BufferView_pimpl.C:
9449 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9450 inset code that had no actual effect. Remove unneeded status
9453 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9455 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9458 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9460 * text.C (drawLengthMarker): also draw an arrow marker for
9461 symbolic lengths (medskip...)
9463 2003-02-14 John Levon <levon@movementarian.org>
9466 * tabular.C: better method names
9468 2003-02-14 John Levon <levon@movementarian.org>
9470 * BufferView_pimpl.C:
9475 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9476 it's a more accurate name. Remove some pointless uses.
9478 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9480 * text2.C (LyXText): change order of initilizers to shut off
9483 2003-02-14 John Levon <levon@movementarian.org>
9485 * buffer.C: use ParIterator for getParFromID()
9489 * paragraph_pimpl.h:
9490 * paragraph_pimpl.C: remove unused getParFromID()
9492 2003-02-14 John Levon <levon@movementarian.org>
9494 * buffer.C: remove some very old #if 0'd parse code
9496 2003-02-13 John Levon <levon@movementarian.org>
9500 * text2.C: move hfillExpansion(), numberOfSeparators(),
9501 rowLast(), rowLastPrintable(), numberofHfills(),
9502 numberOfLabelHfills() ...
9505 * lyxrow.C: ... to member functions here.
9510 * text.C: remove LyXText::beginningOfMainBody(), and call
9511 p->beginningOfMainBody() directly. Move the check for
9512 LABEL_MANUAL into the latter.
9519 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9525 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9526 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9528 2003-02-13 John Levon <levon@movementarian.org>
9530 * CutAndPaste.C: remove debug
9532 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9534 * paragraph.C (asString): remove two unused variables
9536 * lyxtextclass.C (readTitleType):
9538 (LyXTextClass): handle new members titletype_ and titlename_
9540 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9542 2003-02-09 John Levon <levon@movementarian.org>
9545 * buffer.C: replace hand-coded list with a map for the dep clean
9547 2003-02-08 John Levon <levon@movementarian.org>
9549 * LaTeX.C: consolidate code into showRunMessage() helper
9551 2003-02-08 John Levon <levon@movementarian.org>
9556 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9557 and pass the size in explicitly
9559 * BufferView_pimpl.h:
9560 * BufferView_pimpl.C:
9562 * BufferView.C: add getCurrentChange()
9564 * BufferView_pimpl.h:
9565 * BufferView_pimpl.C: handle change lfuns
9567 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9568 for changes. Mark pasted paragraphs as new.
9570 * support/lyxtime.h:
9571 * support/lyxtime.C:
9572 * DepTable.C: abstract time_t as lyx::time_type
9575 * LColor.C: add colours for new text, deleted text, changebars
9577 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9578 package use "usenames" option.
9582 * LyXAction.C: add change lfuns
9586 * author.C: author handling
9589 * buffer.C: add a per-buffer author list, with first entry as
9590 current author. Handle new .lyx tokens for change tracking. Output
9591 author list to .lyx file. Output dvipost stuff to .tex preamble.
9592 Bump lyx format to 222.
9595 * bufferlist.C: add setCurrentAuthor() to reset current author details
9599 * bufferparams.C: add param for tracking
9601 * bufferview_funcs.C: output change info in minibuffer
9605 * changes.C: add change-tracking structure
9608 * debug.C: add CHANGES debug flag
9611 * lyxfind.C: add code for finding the next change piece
9614 * lyxrc.C: add user_name and user_email
9617 * lyxrow.C: add a metric for the top of the text line
9620 * text.C: implement accept/rejectChange()
9623 * text.C: paint changebars. Paint new/deleted text in the chosen
9624 colours. Strike through deleted text.
9628 * paragraph_pimpl.h:
9629 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9630 in the current change to the insert functions. Rework erase to
9631 mark text as deleted, adding an eraseIntern() and a range-based
9632 erase(). Implement per-paragraph change lookup and
9635 * paragraph_funcs.C: Fixup paste for change tracking.
9637 * tabular.C: mark added row/columns as new.
9639 * text.C: fix rowLast() to never return -1. Don't allow
9640 spellchecking of deleted text. Track transpose changes. Don't
9641 allow paragraph break or merge where appropriate.
9643 * text2.C: leave cursor at end of selection after a cut.
9645 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9647 * text.C (getLengthMarkerHeight):
9648 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9649 visible on screen too.
9651 2003-02-07 John Levon <levon@movementarian.org>
9653 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9655 2003-02-05 Angus Leeming <leeming@lyx.org>
9657 * lyxserver.C (read_ready): revert my patch of 11 September last year
9658 as it sends PC cpu through the roof. Presumably this means that
9659 the lyxserver will no longer run on an Alpha...
9661 2003-01-30 Angus Leeming <leeming@lyx.org>
9663 * factory.C (createInset): create an InsetCommandParam of type "index"
9664 and use it to 'do the right thing'.
9666 * text2.C (getStringToIndex): ensure that cursor position is always
9667 reset to the reset_cursor position.
9669 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9671 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9674 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9678 * lyxfunc.C: Output messages with identical spelling, punctuation,
9681 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9683 * MenuBackend.C (expandFormats): List only viewable export formats
9686 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9689 * lyxfunc.C (getStatus): Make sure that formats other than
9690 "fax" can also be disabled
9692 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9694 * text3.C (dispatch): put the lfuns that insert insets in 3
9695 groups, and call doInsertInset with appropriate arguments.
9696 (doInsertInset): new function, that creates an inset and inserts
9697 it according to some boolean parameters.
9699 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9701 * buffer.C (readFile): remember to pass on 'par' when calling
9702 readFile recursively.
9704 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9706 * MenuBackend.C (expandFormats): add "..." to import formats.
9708 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9710 * paragraph.C (asString): Remove XForms RTL hacks.
9712 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9713 * buffer.C: fix typo
9715 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9717 * Makefile.am (LIBS): delete var
9718 (lyx_LDADD): add @LIBS@ here instead.
9720 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9722 * Clarify the meaning of "wheel mouse jump"
9724 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9729 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9731 * importer.C (Loaders): do not preallocate 3 elements in the
9732 vector, since one ends up with 6 elements otherwise
9734 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9736 * DepTable.C (write): write the file name as last element of the
9737 .dep file (because it may contain spaces)
9738 (read): read info in the right order
9740 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9742 * paragraph_pimpl.C (simpleTeXBlanks):
9743 (simpleTeXSpecialChars):
9744 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9746 * tabular.C (latex): add some missing case statements. Reindent.
9748 * MenuBackend.C (expandToc): remove unused variable.
9750 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9759 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9762 2003-01-05 John Levon <levon@movementarian.org>
9765 * BufferView.C: add getEncoding()
9768 * kbsequence.C: do not store last keypress
9771 * lyxfunc.C: store last keypress here instead. Pass encoding
9774 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9776 * lyx_main.C (init): remove annoying error message when following
9777 symbolic links (bug #780)
9779 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9781 * text.C (insertChar):
9782 * lyxrc.C (getDescription): remove extra spaces
9784 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9786 * lyxrc.C (getDescription): remove extra spaces
9788 2002-12-20 John Levon <levon@movementarian.org>
9790 * text3.C: hack fix for page up/down across tall rows
9792 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9794 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9797 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9799 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9800 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9801 thesaurus is not compiled in
9803 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9805 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9807 2002-12-16 Angus Leeming <leeming@lyx.org>
9810 * lyx_main.C (init): remove override_x_deadkeys stuff.
9812 2002-12-12 John Levon <levon@movementarian.org>
9814 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9815 insert. Only remove shift modifier under strict
9818 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9820 * MenuBackend.C (expandToc): fix crash.
9822 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9824 * MenuBackend.C (expandToc): gettext on float names.
9826 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9828 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9829 implement bool empty() [bug 490]
9831 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9833 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9835 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9837 * several files: ws changes
9839 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9841 * text2.C (setCounter): clean up a bit, use boost.format.
9842 (updateCounters): initialize par upon declaration.
9844 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9845 if the layout exists. We do not just store the layout any more.
9846 (SwitchLayoutsBetweenClasses): use boost.format
9848 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9850 * converter.C (convert): if from and to files are the same, use a
9851 temporary files as intermediary
9853 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9856 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9858 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9860 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9862 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9864 * tabular.C (asciiPrintCell): use string(size, char) instead of
9867 * sgml.C (openTag): fix order of arguments to string constructor
9870 * lyxfunc.C (dispatch): use boost.format
9872 * lots of files: change "c" -> 'c'
9874 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9876 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9878 2002-11-25 Angus Leeming <leeming@lyx.org>
9880 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9882 * lyx_main.C (init): compile fix.
9884 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9886 * lyx_cb.C (start): boost.formatify
9887 do not include <iostream>
9889 * lengthcommon.C: ws only
9891 * boost-inst.C,BoostFormat.h: add more explict instantations
9893 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9895 * lots of files: handle USE_BOOST_FORMAT
9897 2002-11-21 John Levon <levon@movementarian.org>
9899 * pspell.C: fix compile
9901 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9903 * lyxfunc.C (dispatch): use boost::format
9907 * lyxfont.C (stateText): use boost::format
9909 * lyx_main.C (LyX): use boost::format
9911 (queryUserLyXDir): ditto
9914 (typedef boost::function): use the recommened syntax.
9916 * importer.C (Import): use boost::format
9918 * debug.C (showLevel): use boost::format
9920 * converter.C (view): use boost::format
9925 * bufferview_funcs.C (currentState): use boost::format
9927 * bufferlist.C (emergencyWrite): use boost::format
9929 * buffer.C (readLyXformat2): use boost::format
9930 (parseSingleLyXformat2Token): ditto
9932 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9934 * LaTeX.C (run): use boost::format
9936 * Chktex.C (scanLogFile): use boost::format
9938 * BufferView_pimpl.C (savePosition): use boost::format
9939 (restorePosition): ditto
9940 (MenuInsertLyXFile): ditto
9942 * BoostFormat.h: help file for explicit instation.
9944 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9946 * tabular.C (latex): Support for block alignment in fixed width
9949 2002-11-17 John Levon <levon@movementarian.org>
9951 * BufferView_pimpl.C:
9953 * lyxfunc.C: split filedialog into open/save
9955 2002-11-08 Juergen Vigna <jug@sad.it>
9957 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9958 by my last patch (hopefully).
9960 2002-11-08 John Levon <levon@movementarian.org>
9969 * toc.C: ParConstIterator, and use it (from Lars)
9971 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9973 * lyxtextclass.[Ch]: revise and add doxygen comments
9975 2002-11-07 John Levon <levon@movementarian.org>
9977 * text.C: fix progress value for spellchecker
9979 * toc.C: fix navigate menu for insetwrap inside minipage
9981 * paragraph_funcs.C: added FIXME for suspect code
9983 2002-11-07 John Levon <levon@movementarian.org>
9985 * BufferView_pimpl.C: fix redrawing of insets
9988 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9990 * text2.C (updateCounters): fix bug 668
9992 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9994 * text3.C (dispatch): Do not make the buffer dirty when moving the
9997 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9999 * vc-backend.C: STRCONV
10000 (scanMaster): ditto
10002 * text2.C (setCounter): STRCONV
10004 * paragraph.C (asString): STRCONV
10006 * lyxlength.C (asString): STRCONV
10007 (asLatexString): ditto
10009 * lyxgluelength.C (asString): STRCONV
10010 (asLatexString): ditto
10012 * lyxfunc.C (dispatch): STRCONV
10015 * lyxfont.C (stateText): STRCONV
10017 * importer.C (Import): STRCONV
10019 * counters.C (labelItem): STRCONV
10020 (numberLabel): ditto
10021 (numberLabel): remove unused ostringstream o
10026 * bufferview_funcs.C (currentState): STRCONV
10028 * buffer.C (readFile): STRCONV
10029 (asciiParagraph): ditto
10030 (makeLaTeXFile): ditto
10032 * Spacing.C (writeEnvirBegin): STRCONV
10034 * LaTeXFeatures.C (getLanguages): STRCONV
10035 (getPackages): ditto
10037 (getBabelOptions): ditto
10038 (getTClassPreamble): ditto
10039 (getLyXSGMLEntities): ditto
10040 (getIncludedFiles): ditto
10044 (scanAuxFile): ditto
10047 * LString.h: add the STRCONV macros
10049 * BufferView_pimpl.C (savePosition): STRCONV
10050 (restorePosition): ditto
10051 (MenuInsertLyXFile): ditto
10053 * vc-backend.C (scanMaster): change from submatch[...] to
10056 * funcrequest.C: include config.h
10058 * factory.C: include config.h
10060 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10062 * box.C: include config.h
10064 * LaTeX.C (scanAuxFile): change from submatch[...] to
10068 2002-10-25 Angus Leeming <leeming@lyx.org>
10070 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10072 * ispell.[Ch] (setError): new method.
10073 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10074 Use setError() insetead of goto END.
10076 * lyx_cb.C (AutoSave): move out child process into new class
10079 2002-10-30 John Levon <levon@movementarian.org>
10081 * text3.C: make start appendix undoable
10083 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10085 * lyxlength.C (inPixels): Fix returned value.
10087 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10090 2002-10-24 Angus Leeming <leeming@lyx.org>
10092 * lyxgluelength.h: no need to forward declare BufferParams
10093 or BufferView, so don't.
10095 2002-10-21 John Levon <levon@movementarian.org>
10097 * BufferView.C: menuUndo ->undo, redo
10099 * BufferView.h: document, remove dead, make some methods private
10101 * paragraph_funcs.h:
10102 * paragraph_funcs.C:
10103 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10108 * sgml.C: move sgml open/close tag into sgml.C
10110 * bufferview_funcs.h: unused prototype
10113 * lyxfunc.C: remove unused
10116 * text.C: remove unused
10118 2002-10-21 John Levon <levon@movementarian.org>
10122 * BufferView_pimpl.h:
10123 * BufferView_pimpl.C: fix mouse wheel handling based on
10124 patch from Darren Freeman
10126 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10128 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10130 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10132 * lyxlength.C (inPixels): Fix hanfling of negative length.
10133 Fix LyXLength::MU case.
10135 2002-10-16 John Levon <levon@movementarian.org>
10137 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10139 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10141 * converter.C (view): add support for $$i (file name) and $$p
10142 (file path) for the viewer command. If $$i is not specified, then
10143 it is appended to the command (for compatibility with old syntax)
10145 2002-10-14 Juergen Vigna <jug@sad.it>
10147 * undo_funcs.C (textHandleUndo): alter the order in which the
10148 new undopar is added to the LyXText, as we have to set first
10149 the right prev/next and then add it as otherwise the rebuild of
10150 LyXText is not correct. Also reset the cursor to the right paragraph,
10151 with this IMO we could remove the hack in "redoParagraphs()".
10153 2002-10-09 Angus Leeming <leeming@lyx.org>
10155 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10156 to turn off an optimisation if a new inset is to be inserted.
10158 2002-10-11 André Pönitz <poenitz@gmx.net>
10160 * lyxtext.h: make some functions public to allow access
10161 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10163 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10165 * text3.C (dispatch): when changing layout, avoid an infinite loop
10168 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10170 * lyxrc.C (read): treat a viewer or converter command of "none" as
10173 * MenuBackend.C (expandFormats): for an update, also allow the
10174 formats that are not viewable
10176 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10177 script if it is newer than the lyxrc.defaults in user directory
10179 2002-10-07 André Pönitz <poenitz@gmx.net>
10181 * text.C: Vitaly Lipatov's small i18n fix
10183 2002-09-25 Angus Leeming <leeming@lyx.org>
10185 * ispell.h: doxygen fix.
10187 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10189 * buffer.h (readFile): Add a new argument to the method, to allow
10190 reading of old-format templates.
10192 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10194 * toc.C (getTocList): Get TOC from InsetWrap.
10196 2002-09-16 John Levon <levon@movementarian.org>
10198 * lyxfunc.C: check tabular for cut/copy too
10200 2002-09-12 John Levon <levon@movementarian.org>
10202 * LyXAction.C: tidy
10205 * factory.C: add header
10207 * paragraph_funcs.h:
10208 * paragraph_funcs.C: cleanup
10210 2002-09-11 John Levon <levon@movementarian.org>
10212 * PrinterParams.h: odd/even default to true
10214 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10216 * PrinterParams.h: update printer parameters for new xforms dialog
10218 2002-09-11 Angus Leeming <leeming@lyx.org>
10220 * lyxserver.C (read_ready): re-write to make it more transparent
10221 and to make it work in coherent fashion under Tru64 Unix.
10223 2002-09-11 André Pönitz <poenitz@gmx.net>
10227 * text3.C: implement LFUN_WORDSEL
10229 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10231 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10232 make floatlist_ a boost::shared_ptr<FloatList>
10234 * lyxtextclass.C: include FloatList.h
10235 (LyXTextClass): initialize floatlist_
10236 (TextClassTags): add TC_NOFLOAT
10237 (Read): match "nofloat" to TC_NOFLOAT and use it.
10238 (readFloat): modify call to floatlist_
10242 * FloatList.[Ch] (FloatList): remove commented out float
10244 (erase): new function
10246 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10248 * MenuBackend.C (expandToc): fix crash when there is no document
10251 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10253 * many files: Add insetwrap.
10255 2002-09-09 John Levon <levon@movementarian.org>
10257 * text2.C: remove confusing and awkward depth wraparound
10259 2002-09-09 John Levon <levon@movementarian.org>
10261 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10264 * buffer.C: remove getIncludeonlyList()
10267 * lyxfunc.C: remove headers
10269 2002-09-09 Juergen Vigna <jug@sad.it>
10271 * text.C (getColumnNearX): fix form Michael this is most
10272 probably a cut&paste bug.
10274 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10276 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10278 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10279 references, ws changes.
10281 * text2.C (init): update counters after init
10282 (insertParagraph): no need to set counter on idividual paragraphs.
10283 (setCounter): access the counters object in the textclass object
10284 on in the buffer object.
10285 (updateCounters): ditto
10287 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10288 shared_ptr<Counters> to avoid loading counters.h in all
10290 (LyXTextClass): initialize ctrs_
10291 (TextClassTags): add TC_COUNTER, and ...
10292 (Read): use it here.
10293 (CounterTags): new tags
10294 (readCounter): new function
10295 (counters): new funtion
10296 (defaultLayoutName): return a const reference
10298 * counters.C (Counters): remove contructor
10299 (newCounter): remove a couple of unneeded statements.
10300 (newCounter): simplify a bit.
10301 (numberLabel): some small formatting changes.
10303 * buffer.[Ch]: remove all traces of counters, move the Counters
10304 object to the LyXTextClass.
10306 2002-09-06 Alain Castera <castera@in2p3.fr>
10308 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10309 package to set the horizontal alignment on fixed width columns.
10312 * lyx_sty.h: added tabularnewline macro def.
10314 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10316 2002-09-06 John Levon <levon@movementarian.org>
10318 * LyXAction.C: tooltips for sub/superscript
10320 * MenuBackend.C: a bit more verbose
10322 * lyxfunc.C: tiny clean
10324 * undo_funcs.C: document undo_frozen
10326 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10328 * counters.C (Counters): add missing algorithm counter.
10330 * text2.C (setCounter): lookup the counter with layouts latexname
10331 instead of by section number.
10332 (setCounter): use a hackish way to lookup the correct enum
10334 a float name->type change
10335 reset enum couners with counter name directly instead of depth value.
10337 * counters.C (Counters): remove the push_backs, change to use the
10338 float type not the float name.
10339 (labelItem): remove unused string, float name->type change
10341 * counters.h: don't include vector, loose the enums and sects vectors
10343 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10345 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10346 (Read): add float->TC_FLOAT to textclassTags
10347 (Read): and handle it in the switch
10348 (readFloat): new function
10350 * FloatList.C (FloatList): comment out the hardcoded float
10353 * lyxlayout.h: ws change.
10355 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10357 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10359 2002-09-03 Angus Leeming <leeming@lyx.org>
10361 * BufferView_pimpl.h: qualified name is not allowed in member
10362 declaration: WorkArea & Pimpl::workarea() const;
10364 * factory.C: added using std::endl directive.
10366 * text3.C: added using std::find and std::vector directives.
10368 2002-08-29 André Pönitz <poenitz@gmx.net>
10371 * text2.C: remove unused member number_of_rows
10374 * BufferView2.C: remove file, move contents to...
10375 * BufferView.C: ... here
10377 * BufferView_pimpl.C:
10378 * factory.C: move more inset creation to factory
10380 * vspace.C: avoid direct usage of LyXText, ws changes
10383 don't provide direct access to WorkArea, use two simple
10384 acessors haveSelction() and workHeight() instead
10387 2002-08-29 John Levon <levon@movementarian.org>
10389 * BufferView_pimpl.C (dispatch): do not continue when
10392 2002-08-28 André Pönitz <poenitz@gmx.net>
10394 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10397 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10399 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10401 * buffer.C: increment LYX_FORMAT to 221
10403 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10404 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10406 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10408 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10410 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * factory.C (createInset): use LyXTextClass::floats
10414 * MenuBackend.C (expandFloatListInsert):
10415 (expandFloatInsert):
10418 * text2.C (setCounter):
10420 * LaTeXFeatures.C (useFloat):
10421 (getFloatDefinitions):
10423 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10425 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10426 floatlist_, with accessor floats().
10428 * FloatList.h: remove global FloatList
10430 2002-08-26 André Pönitz <poenitz@gmx.net>
10432 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10436 * BufferView_pimpl.C:
10437 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10439 2002-08-25 John Levon <levon@movementarian.org>
10441 * LyXAction.C: fix margin note description
10443 2002-08-24 John Levon <levon@movementarian.org>
10447 * bufferview_funcs.C:
10449 * undo_funcs.C: cleanups
10451 * lyxfunc.C: disable CUT/COPY when no selection
10453 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10455 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10456 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10458 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10459 Add backward compatibility to "mono", "gray" and "no".
10461 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10463 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10464 (and file_format >= 200).
10466 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10468 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10470 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10472 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10474 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10476 * BufferView_pimpl.C:
10483 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10484 inset and code to make it work with the paragraph code. The inset
10485 can be anywhere in the paragraph, but will only do the expected
10486 thing in LaTeX if the layout file contains the parameter line
10488 (or more generally, a nonzero value) for that layout.
10490 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10492 * paragraph.h: remove the declaration of undefined counters class
10495 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10497 * text2.C (setCounter): fixed enumeration mis-count as reported by
10498 Dr. Richard Hawkins.
10500 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10502 * paragraph_funcs.h: remove some unneeded includes
10504 * text.C (backspace): pasteParagraph now in global scipe
10506 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10507 (pasteSelection): ditto
10509 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10510 * paragraph_funcs.C (pasteParagraph): ... here
10512 2002-08-20 André Pönitz <poenitz@gmx.net>
10514 * commandtags.h: new LFUNs for swapping/copying table row/colums
10517 * lyxfunc.C: support for new lfuns
10519 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10522 * buffer.[Ch]: remove NO_COMPABILITY stuff
10524 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10526 * boost.C (throw_exception): new file, with helper function for
10527 boost compiled without exceptions.
10532 * ParameterStruct.h:
10533 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10535 * bufferlist.C (emergencyWriteAll): use boost bind
10537 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10539 * text.C: include paragraph_funcs.h
10540 (breakParagraph): breakParagraph is now in global scope
10542 * paragraph_funcs.[Ch]: new files
10544 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10547 * buffer.C: include paragraph_funcs.h
10548 (insertStringAsLines): breakParagraph is now in global scope
10550 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10553 * CutAndPaste.C: include paragraph_funcs.h
10554 (cutSelection): breakParagraphConservative is now in global scope
10555 (pasteSelection): ditto
10557 * buffer.h: declare oprator== and operator!= for
10558 Buffer::inset_iterator
10560 * bufferlist.C (emergencyWrite): don't use fmt(...)
10562 * text3.C: add using std::endl
10564 * BufferView.C (moveCursorUpdate): remove default arg
10566 2002-08-20 André Pönitz <poenitz@gmx.net>
10568 * buffer.[Ch]: move inline functions to .C
10571 * BufferView_pimpl.C:
10573 * buffer.[Ch]: use improved inset_iterator
10576 * paragraph.[Ch]: write one paragraph at a time
10578 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10580 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10581 style if style is not specified.
10583 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10585 * text2.C (setCounter): when searching for right label for a
10586 caption, make sure to recurse to parent insets (so that a caption
10587 in a minipage in a figure float works) (bug #568)
10589 2002-08-20 André Pönitz <poenitz@gmx.net>
10591 * text3.C: new file for LyXText::dispatch() and helpers
10593 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10595 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10597 2002-08-19 André Pönitz <poenitz@gmx.net>
10600 * text.C: new LyXText::dispatch()
10602 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10604 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10606 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10608 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10611 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10613 * Makefile.am: use $(variables) instead of @substitutions@
10615 2002-08-15 André Pönitz <poenitz@gmx.net>
10618 * BufferView_pimpl.C: streamlining mathed <-> outer world
10622 * LyXAction.C: remove unused LFUN_MATH
10624 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10626 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10628 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10630 * paragraph.C (Paragraph): reformat a bit
10631 (cutIntoMinibuffer): use builtin InsetList function instad of
10635 * buffer.C: include boost/bind.hpp, add using std::for_each
10636 (writeFileAscii): use ParagraphList iterators
10637 (validate): use for_each for validate traversal of paragraphs
10638 (getBibkeyList): use ParagraphList iterators
10639 (resizeInsets): use for_each to resizeInsetsLyXText for all
10641 (getParFromID): use ParagraphList iterators
10643 * BufferView2.C (lockInset): use paragraph list and iterators
10645 2002-08-14 John Levon <levon@movementarian.org>
10647 * lyxserver.C: remove spurious xforms include
10649 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10651 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10653 2002-08-13 André Pönitz <poenitz@gmx.net>
10656 * lyxfunc.C: further cleaning
10658 2002-08-13 André Pönitz <poenitz@gmx.net>
10660 * funcrequest.h: new constructor
10662 * funcrequest.C: move stuff here from .h
10665 * BufferView_pimpl.C:
10668 * lyxfunc.C: subsequent changes
10670 * lyxfunc.h: new view() member function
10672 * lyxfunc.C: subsequent changes
10674 2002-08-13 Angus Leeming <leeming@lyx.org>
10677 * BufferView_pimpl.C:
10685 changes due to the changed LyXView interface that now returns references
10686 to member variables not pointers.
10688 2002-08-13 Angus Leeming <leeming@lyx.org>
10690 * WordLangTuple (word, lang_code): return references to strings,
10695 * lyxtext.h: forward-declare WordLangTuple.
10700 * text.C: #include "WordLangTuple.h".
10703 * text.C: (selectNextWordToSpellcheck): constify return type.
10705 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10711 * paragraph_pimpl.h:
10714 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10715 suggested by Angus.
10716 Made updateCounter always count from start of buffer, and removed
10717 second argument (par).
10718 Reverted floats number display to '#'. Perhaps I'll try again when the
10719 code base is sanitized a bit.
10721 2002-08-12 Angus Leeming <leeming@lyx.org>
10723 * buffer.[Ch] (getLabelList): constify.
10725 2002-08-07 André Pönitz <poenitz@gmx.net>
10727 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10729 * funcrequest.h: extension to keep mouse (x,y) position
10731 2002-08-12 Juergen Vigna <jug@sad.it>
10733 * BufferView2.C (insertErrors): forbid undo when inserting error
10736 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10738 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10740 * ParagraphList.[Ch]: new files
10742 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10744 * BufferView2.C (lockInset): ParagraphList changes
10747 * bufferlist.C: ditto
10751 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10753 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10754 unused class variable counter_,
10756 * paragraph.[Ch] (getFirstCounter): delete unused function
10758 * counters.C: include LAssert.h
10759 (reset): add a new function with no arg, change other version to
10760 not have def. arg and to not allow empty arg.
10762 * text2.C (setCounter): remove empty arg from call to Counters::reset
10764 2002-08-11 John Levon <levon@movementarian.org>
10766 * Makefile.am: add WordLangTuple.h
10768 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10770 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10771 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10773 * insets/insettext.C: InsetList changes
10775 * graphics/GraphicsSupport.C (operator()): InsetList changes
10777 * toc.C (getTocList): InsetList changes
10779 * paragraph_pimpl.[Ch]: InsetList changes
10781 * paragraph.[Ch]: InsetList changes
10783 * buffer.C (inset_iterator): InsetList changes
10784 (setParagraph): ditto
10785 * buffer.h (inset_iterator): ditto
10786 * iterators.C (operator++): ditto
10787 * iterators.h: ditto
10789 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10791 * InsetList.[Ch]: new files, most InsetList handling moved out of
10794 * BufferView2.C (removeAutoInsets): InsetList changes
10796 (ChangeInsets): ditto
10798 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10800 * paragraph_pimpl.h (empty): new function
10802 * paragraph.[Ch] (empty): new function
10804 * other files: use the new Paragraph::empty function
10806 2002-08-09 John Levon <levon@movementarian.org>
10808 * lyxtext.h: remove unused refresh_height
10810 2002-08-09 John Levon <levon@movementarian.org>
10817 * paragraph.C: move sgml char escaping out of paragraph
10820 * paragraph.C: remove id setter
10824 * paragraph_pimpl.C: remove dead tex_code_break_column
10826 * bufferview_funcs.C: small cleanup
10828 * lyxfunc.C: remove dead proto
10830 * lyxtext.h: make some stuff private. Remove some dead stuff.
10832 * lyxgluelength.C: make as[LyX]String() readable
10834 2002-08-08 John Levon <levon@movementarian.org>
10839 * ToolbarDefaults.C:
10842 * toc.C: lyxaction cleanup
10844 2002-08-08 John Levon <levon@movementarian.org>
10846 * BufferView2.C: small cleanup
10849 * lyxfind.C: move unnecessary header into the .C
10851 2002-08-08 John Levon <levon@movementarian.org>
10853 * funcrequest.h: just tedious nonsense
10856 * lyx_main.C: cleanups
10859 * vspace.C: remove dead header lyx_main.h
10861 2002-08-07 Angus Leeming <leeming@lyx.org>
10864 * paragraph_pimpl.h:
10865 Forward declare class Counters in paragraph.h by moving the ctrs member
10866 variable into Paragraph::Pimpl.
10867 (counters): new method, returning a reference to pimpl_->ctrs.
10869 * text2.C: ensuing changes.
10871 2002-08-07 John Levon <levon@movementarian.org>
10873 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10875 * BufferView_pimpl.C: announce X selection on double/triple
10878 * lyx_main.C: use correct bool in batch dispatch
10880 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10882 2002-08-07 André Pönitz <poenitz@gmx.net>
10884 * funcrequest.h: new class to wrap a kb_action and its argument
10887 * BufferView_pimpl[Ch]:
10891 * lyxrc.C: subsequent changes
10894 2002-08-07 John Levon <levon@movementarian.org>
10896 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10897 document options change.
10899 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10904 * makefile.am: move counters functionality over from
10905 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10907 2002-08-06 John Levon <levon@movementarian.org>
10909 * WordLangTuple.h: new file for word + language code tuple
10920 * BufferView2.C: use WordLangTuple
10923 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10925 2002-08-06 John Levon <levon@movementarian.org>
10927 * lyx_main.C: fix cmdline batch handling
10929 2002-08-06 André Pönitz <poenitz@gmx.net>
10931 * lyxrc.C: set default for show_banner to true
10933 2002-08-06 John Levon <levon@movementarian.org>
10935 * pspell.C: fix a crash, and allow new aspell to work
10937 2002-08-06 John Levon <levon@movementarian.org>
10940 * kbmap.C: small cleanup
10943 * vspace.C: add const
10945 2002-08-05 John Levon <levon@movementarian.org>
10947 * LyXAction.C: back to tabular-insert
10949 2002-08-04 John Levon <levon@movementarian.org>
10952 * BufferView.C: cosmetic change
10954 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10964 * BufferView2.C: purge all "Lyx" not "LyX" strings
10967 * lyxcursor.C: attempt to add some documentation
10972 * ToolbarDefaults.C:
10973 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10974 merge with LFUN_TABULAR_INSERT
10981 * pspell.C: split up i/pspell implementations into separate
10982 files, many cleanups
10984 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10986 * text2.C: some cleanup
10988 * lyxfunc.C: don't check for isp_command == "none" any more, it
10989 didn't make any sense
10991 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10996 * makefile.am: move counters functionality over
10997 from text2.C/paragraph.[Ch] to counters.[Ch], and
10999 2002-08-02 John Levon <levon@movementarian.org>
11001 * buffer.C: s/lyxconvert/lyx2lyx/
11003 2002-08-02 Angus Leeming <leeming@lyx.org>
11005 * lyxlex.C: revert John's change as it breaks reading of the user
11008 2002-08-02 Angus Leeming <leeming@lyx.org>
11010 * importer.C (Import):
11011 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11012 changes due to LyXView::view() now returning a boost::shared_ptr.
11014 2002-08-02 John Levon <levon@movementarian.org>
11016 * lyxlex.C: small cleanup
11018 2002-08-02 John Levon <levon@movementarian.org>
11020 * text2.C (status): small cleanup, no logic change
11022 2002-08-01 John Levon <levon@movementarian.org>
11025 * buffer.C (writeFile): don't output alerts, caller
11029 * lyx_cb.C: from above
11031 * lyxfunc.C: allow to open non-existent files
11033 2002-07-31 John Levon <levon@movementarian.org>
11035 * lyxserver.C: don't let incidental errors get
11038 2002-07-30 John Levon <levon@movementarian.org>
11040 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11042 2002-07-30 John Levon <levon@movementarian.org>
11045 * lyxserver.C: remove I/O callback too
11047 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11049 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11052 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11054 * many files: strip,frontStrip -> trim,ltrim,rtrim
11056 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11058 * PrinterParams.h: remove extern containsOnly, and include
11059 support/lstrings.h instead.
11061 * LaTeX.C (scanAuxFile): modify because of strip changes
11063 * buffer.C (makeLaTeXFile): ditto
11064 * bufferparams.C (writeFile): ditt
11065 * lyxfont.C (stateText): ditto
11066 * lyxserver.C (read_ready): ditto
11067 * vc-backend.C (scanMaster): ditto
11069 * BufferView_pimpl.h: ws changes
11071 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11073 2002-07-26 André Pönitz <poenitz@gmx.net>
11075 * kb_sequence.C: remove unnedred usings
11077 2002-07-26 Juergen Vigna <jug@sad.it>
11079 * lyxfind.C (LyXReplace): we have to check better if the returned
11080 text is not of theLockingInset()->getLockingInset().
11082 2002-07-25 Juergen Vigna <jug@sad.it>
11084 * lyxfind.C (LyXReplace): don't replace if we don't get the
11087 * undo_funcs.C (createUndo): remove debugging code.
11089 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11091 * buffer.C (parseSingleLyXformat2Token): Use default placement
11092 when reading old floats.
11094 * FloatList.C (FloatList): Change the default placement of figure
11095 and tables to "tbp".
11097 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11099 * MenuBackend.C: using std::max
11101 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11103 * MenuBackend.C (expandToc):
11104 (expandToc2): code moved from xforms menu frontend. It is now
11105 generic and TOCs are transparent to menu frontends.
11107 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11109 * toc.C (getTocList): protect against buf=0
11111 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11112 Menu as first parameter. Now, this calls itself recursively to
11113 expand a whole tree (this will be useful for TOC handling)
11114 (expandFloatInsert): remove 'wide' version of floats
11116 * MenuBackend.h (submenuname): returns the name of the submenu.
11117 (submenu): returns the submenu itself, provided it has been
11118 created by MenuBackend::expand
11120 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11122 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11123 insets which have noFontChange == true. (bug #172)
11125 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * BufferView_pimpl.C: add connection objects and use them...
11130 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11132 * MenuBackend.C (expandLastfiles):
11135 (expandFloatListInsert):
11136 (expandFloatInsert):
11137 (expand): split expand in parts
11139 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11141 * lyx_gui.C: use lyx_gui::exit()
11143 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11145 * LyXAction.C: show the failing pseudo action
11147 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11149 * buffer.C (readFile): Run the lyxconvert script in order to read
11152 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11156 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11158 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11162 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11164 2002-07-22 Herbert Voss <voss@lyx.org>
11167 * lyxlength.[Ch]: add support for the vertical lengths
11169 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11171 * toc.[Ch]: std:: fixes
11173 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11175 * lyxrc.C: do not include lyx_main.h
11177 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11183 * BufferView2.C: include "lyxlex.h"
11186 * bufferparams.h: do not #include "lyxlex.h"
11188 * lyxtextclasslist.C (Add): remove method
11189 (classlist): renamed to classlist_
11191 * paragraph_pimpl.C:
11195 * bufferview_funcs.C:
11200 * toc.C (getTocList): use BufferParams::getLyXTextClass
11202 * toc.C (getTocList): use InsetFloat::addToToc
11204 * toc.[Ch]: new files, containing helper functions to handle table
11207 * lyxfunc.C (dispatch): no need to remove spaces around command
11209 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11210 first command of the sequence; it is not very clever, but I do not
11211 have a better idea, actually
11213 * LyXAction.C (LookupFunc): make sure to remove space at the
11214 beginning and end of the command
11216 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11218 * MenuBackend.C (getMenubar): new method: return the menubar of
11220 (read): treat differently reading of menu and menubar (in
11221 particular, the menubar has no name now)
11222 (Menu::menubar): remove
11224 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11227 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11229 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11230 a bibitem inset in a RTL paragraph.
11232 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11234 * paragraph_pimpl.C: constify
11236 * BufferView_pimpl.C:
11238 * lyxfunc.C: fix dispatch in a nicer way
11240 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11242 * lyxfunc.C (dispatch):
11243 * BufferView_pimpl.C:
11244 * BufferView_pimpl.h:
11246 * BufferView.h: rename Dispatch() to dispatch()
11248 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11250 * lyxlayout.C (Read): honor DependsOn tag
11252 * lyxlayout.[Ch] (depends_on): new method
11254 * version.C.in: update lyx_docversion
11256 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11258 * paragraph.C (validate): remove from here...
11259 * paragraph_pimpl.C (validate): ... and move here
11260 (isTextAt): make it const
11262 * buffer.C (getLists): ws cleanup
11264 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11266 * language.C (read): Use iso8859-1 encoding in latex_lang
11267 (this prevents LyX from crashing when using iso10646-1 encoding).
11269 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11271 * text2.C (toggleInset): if cursor is inside an inset, close the
11272 inset and leave cursor _after_ it
11274 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11276 * lyxfunc.C: move minibuffer completion handling out of here
11278 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11280 * BufferView_pimpl.C:
11281 * LaTeX.C: fix dispatch calls
11283 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11285 * text.C (drawChars): Fix Arabic text rendering.
11287 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11291 * lyxfunc.C: remove message-push/pop
11295 * lyxfunc.C: rationalise some code by removing verboseDispatch
11296 in favour of a bool argument to dispatch()
11298 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11300 * lyx_main.C (init): make sure to read symlinks as absolute paths
11302 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11305 * lyxfunc.C: no need for commandshortcut to be a member
11307 2002-07-15 André Pönitz <poenitz@gmx.net>
11309 * converter.C: add support for $$s (scripts from lib/scripts dir)
11310 * lyx_main.C: white space
11312 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11316 * lyxrc.C: remove second exit confirmation
11318 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11323 * BufferView_pimpl.h:
11324 * BufferView_pimpl.C:
11325 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11327 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11329 * MenuBackend.C (expand): add numeric shortcuts to document menu
11331 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11333 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11335 * lyxfont.C (setLyXFamily):
11342 * buffer.C (asciiParagraph): use ascii_lowercase
11344 2002-07-15 Mike Fabian <mfabian@suse.de>
11346 * lyxlex_pimpl.C (search_kw):
11347 * lyxlex.C (getLongString):
11348 * converter.h (operator<):
11349 * converter.C (operator<):
11350 * buffer.C (parseSingleLyXformat2Token):
11352 * ToolbarDefaults.C (read):
11353 * MenuBackend.C (checkShortcuts):
11355 * LColor.C (getFromGUIName):
11356 (getFromLyXName): use the compare_ascii_no_case instead of
11357 compare_no_case, because in turkish, 'i' is not the lowercase
11358 version of 'I', and thus turkish locale breaks parsing of tags.
11360 2002-07-16 Angus Leeming <leeming@lyx.org>
11362 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11363 now takes a Buffer const & argument.
11365 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11367 * BufferView.C (resize): check there's a buffer to resize
11369 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11371 * lyxfunc.C: remove dead code
11374 * lyxserver.C: use lyx_guii::set_read_callback
11376 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11378 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11379 an inset in a RTL paragraph.
11381 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11383 * lyxfunc.C: repaint after a font size update
11385 2002-07-15 André Pönitz <poenitz@gmx.net>
11387 * lyxlength.C: inBP should be able to return negative values
11389 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11391 * lyxfunc.C: use lyx_gui::update_fonts()
11393 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11395 * lyxfunc.C: use lyx_gui::update_color()
11397 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11403 * lyxrc.C: remove file->new asks for name option, and let
11404 buffer-new take an argument
11406 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11408 * BufferView_pimpl.C: remove unneeded extra repaint()
11410 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11412 * LyXAction.C: allow command-sequence with NoBuffer
11414 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11416 2002-07-10 Angus Leeming <leeming@lyx.org>
11418 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11420 2002-07-09 Angus Leeming <leeming@lyx.org>
11422 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11424 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11426 * lengthcommon.h: whitespace
11428 * lyxfunc.C: update scrollbar after goto paragraph
11430 * lyxtext.h: factor out page break drawing, and fix it so
11431 page break/added space paints as selected nicely
11433 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11435 * BufferView_pimpl.C: add FIXMEs, clean up a little
11437 2002-07-09 André Pönitz <poenitz@gmx.net>
11439 * lyxfont.[Ch]: support for wasy symbols
11441 2002-07-08 André Pönitz <poenitz@gmx.net>
11443 * BufferView_pimpl.C: apply John's patch for #93.
11445 2002-07-05 Angus Leeming <leeming@lyx.org>
11447 * BufferView_pimpl.C (buffer): generate previews if desired.
11449 * LColor.h: add "preview" to the color enum.
11451 * LColor.C (LColor): add a corresponding entry to the items array.
11453 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11456 2002-07-05 Angus Leeming <leeming@lyx.org>
11458 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11459 The body of the code is now in the method that is passed an ostream &
11460 rather than a file name.
11461 Pass an additional only_preamble parameter, useful for the forthcoming
11464 2002-07-03 André Pönitz <poenitz@gmx.net>
11466 * lyxfunc.C: simplify getStatus() a bit for math stuff
11468 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11470 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11472 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11474 * text.C (changeRegionCase): do not change case of all the
11475 document when region ends at paragraph end (bug #461)
11477 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11479 * paragraph.C (startTeXParParams):
11480 (endTeXParParams): add \protect when necessary
11482 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11484 * BufferView_pimpl.C (workAreaExpose): remove warning
11486 2002-06-27 Angus Leeming <leeming@lyx.org>
11488 * Makefile.am: add lyxlayout_ptr_fwd.h.
11490 2002-06-26 André Pönitz <poenitz@gmx.net>
11492 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11494 2002-06-25 Angus Leeming <leeming@lyx.org>
11496 * lyxfunc.C (dispatch): Comment out the call to
11497 grfx::GCache::changeDisplay. The method no longer exists now that the
11498 pixmap generation part of the graphics loader has been moved into
11501 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11503 * text2.C: layout as layout
11505 * text.C: layout as layout
11507 * tabular.C (OldFormatRead): layout as layout
11509 * paragraph_pimpl.C (TeXDeeper): layout as layout
11510 (realizeFont): layout as layout
11512 * paragraph.C (writeFile): layout as layout
11513 (validate): layout as layout
11514 (getFont): layout as layout
11515 (getLabelFont): layout as layout
11516 (getLayoutFont): layout as layout
11517 (breakParagraph): layout as layout
11518 (stripLeadingSpaces): layout as layout
11519 (getEndLabel): layout as layout
11520 (getMaxDepthAfter): layout as layout
11521 (applyLayout): layout as layout
11522 (TeXOnePar): layout as layout
11523 (simpleTeXOnePar): layout as layout
11524 (TeXEnvironment): layout as layout
11525 (layout): layout as layout
11526 (layout): layout as layout
11528 * lyxtextclass.C (compare_name): new functor to work with
11529 shared_ptr, layout as layout
11530 (Read): layout as layout
11531 (hasLayout): layout as layout
11532 (operator): layout as layout
11533 (delete_layout): layout as layout
11534 (defaultLayout): layout as layout
11536 * lyxlayout_ptr_fwd.h: new file
11538 * lyxlayout.C (Read): layout as layout
11540 * lyx_cb.C (MenuInsertLabel): layout as layout
11542 * bufferlist.C (newFile): layout as layout
11544 * buffer.C (readLyXformat2): layout as layout
11545 (parseSingleLyXformat2Token): layout as layout
11546 (insertStringAsLines): layout as layout
11547 (asciiParagraph): layout as layout
11548 (latexParagraphs): layout as layout
11549 (makeLinuxDocFile): layout as layout
11550 (simpleLinuxDocOnePar): layout as layout
11551 (makeDocBookFile): layout as layout
11552 (simpleDocBookOnePar): layout as layout
11553 (getLists): layout as layout
11555 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11557 * CutAndPaste.C (cutSelection): layout as layout
11558 (pasteSelection): layout as layout
11559 (SwitchLayoutsBetweenClasses): layout as layout
11561 * BufferView_pimpl.C (Dispatch): layout as layout
11562 (smartQuote): layout as layout
11564 * BufferView2.C (unlockInset): layout as layout
11566 2002-06-24 André Pönitz <poenitz@gmx.net>
11568 * lyxfunc.C: fix #487
11570 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11574 * lyxfunc.C: remove display_shortcuts, show_banner
11576 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11578 * Buffer_pimpl.C: oops, update on resize
11580 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11587 * BufferView.C: use repaint()
11589 * BufferView_pimpl.h:
11590 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11591 as it's a clearer description. Remove superfluous
11594 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11596 * text.C: fix bug 488. Not ideal, but getting
11597 getWord() to work properly for the insets that
11598 matter is more difficult ...
11600 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11602 * BufferView_pimpl.C:
11605 * lyxfunc.C: remove the six million index lyxfuncs to just
11606 one, and DTRT (bug 458)
11608 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11612 * BufferView_pimpl.h:
11613 * BufferView_pimpl.C: clean up resize() stuff,
11614 and unnecessary updateScreen()s
11616 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11620 * BufferView_pimpl.h:
11621 * BufferView_pimpl.C:
11624 * minibuffer.C: remove focus management of workarea,
11625 not needed. Use screen's greyOut()
11627 2002-06-17 Herbert Voss <voss@lyx.org>
11629 * converter.C: (convert) do not post a message, when converting
11630 fails, let the calling function decide what to do in this case
11632 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11634 * lyxfunc.C: tidy up a little
11636 2002-06-16 <alstrup@diku.dk>
11638 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11639 Got rid of FORMS_H_LOCATION include. Now we are
11642 2002-06-15 LyX Development team <lyx@rilke>
11644 * buffer.[Ch] (sgmlOpenTag):
11645 (sgmlCloseTag): Added support for avoiding pernicious mixed
11646 content. Return number of lines written.
11648 (makeLinuxDocFile):
11649 (makeDocBookFile): Fixed calls to sgml*Tag.
11650 Simple white space clean.
11652 (simpleDocBookOnePar): Simple white space clean.
11654 * tabular.[Ch] (docBook): Renamed to docbook and got another
11655 argument to related with the pernicious mixed content.
11657 (docbookRow): Fixed calls for docbook inset method.
11659 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11661 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11662 so it's X11 independent.
11666 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11668 2002-06-15 Lyx Development team <lyx@electronia>
11670 * intl.h: Renamed getTrans to getTransManager.
11672 2002-06-14 Angus Leeming <leeming@lyx.org>
11674 * Makefile.am: nuke forgotten stl_string_fwd.h.
11676 2002-06-12 Angus Leeming <leeming@lyx.org>
11678 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11680 2002-06-13 Angus Leeming <leeming@lyx.org>
11683 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11685 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11687 * kbmap.C (getiso): add support for cyrillic and greek
11689 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11693 * BufferView_pimpl.h:
11694 * BufferView_pimpl.C: move bogus scrolling logic
11697 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11700 * BufferView_pimpl.C: view->resize() change
11702 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11704 * BufferView_pimpl.C: topCursorVisible
11707 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11711 * lyx_gui.C: move to frontends/
11715 * lyx_main.C: changes from above
11717 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11724 * lyx_main.C: minor tidy
11726 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11728 * BufferView_pimpl.h:
11729 * BufferView_pimpl.C:
11731 * BufferView.C: make painter() const,
11734 * BufferView2.C: use screen() accessor
11737 * lyx_main.C: some minor cleanup
11739 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11741 * BufferView_pimpl.h:
11742 * BufferView_pimpl.C: remove enter/leaveView,
11745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11750 * BufferView_pimpl.h:
11751 * BufferView_pimpl.C: only construct screen once,
11754 * lyxrc.C: remove pointless comment
11756 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11759 * BufferView.C: remove active() and belowMouse()
11761 * BufferView_pimpl.h:
11762 * BufferView_pimpl.C: use workarea() not workarea_,
11763 and make it use a scoped_ptr instead
11765 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11767 * lyx_gui.C: add debug message on BadWindow
11769 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11771 * sp_spell.C: fdopen is not part of the C++ standard.
11773 * paragraph.C (InsetIterator): use >= instead of ==
11775 2002-06-07 Angus Leeming <leeming@lyx.org>
11777 Fixes needed to compile with Compaq cxx 6.5.
11778 * BufferView_pimpl.C:
11785 * lyxtextclasslist.C:
11790 all c-library variables have been moved into namespace std. Wrap
11791 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11796 Add a using std::abs declaration.
11798 * kbmap.h (modifier_pair):
11799 * paragraph.h (InsetTable, InsetList):
11800 * lyxfont.h (FontBits):
11801 type definition made public.
11803 * bufferlist.C (emergencyWriteAll): the compiler complains that
11804 there is more than one possible lyx::class_fun template to choose from.
11805 I re-named the void specialisation as lyx::void_class_fun.
11807 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11809 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11810 the compiler is is unable to find tostr in write_attribute.
11812 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11814 * buffer.C (sgmlError): hide #warning
11816 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11818 * xtl/*: get rid of xtl, which is not in use anyway
11820 * LyXAction.C (init):
11821 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11822 were unimplemented xtl experimentation
11824 2002-06-04 André Pönitz <poenitz@gmx.net>
11826 * lyxfunc.C: disable array operation on simple formulae
11828 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11830 * converter.C: constify a bit
11832 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11834 * lyx_gui.C: check xforms version correctly
11836 2002-04-30 Herbert Voss <voss@lyx.org>
11838 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11841 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11843 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11844 attempt to register it with a VCS)
11846 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11848 * lyx_main.C (init): honor variables LYX_DIR_13x and
11851 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11855 * lyx_main.C: fix a crash on bad command line,
11856 and give a useful exit status on error
11858 * lyxfunc.C (doImport): allow -i lyx to work
11860 2002-03-30 André Pönitz <poenitz@gmx.net>
11862 * lyxfunc.C: mathed font changes
11864 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11879 * trans_mgr.h: srcdocs, and some minor cleanups
11881 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11883 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11884 call getFont all the time)
11886 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11888 * switch from SigC signals to boost::signals
11890 2002-05-29 André Pönitz <poenitz@gmx.net>
11892 * paragraph_pimpl.C (getChar): don't call size() too often...
11894 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11896 * paragraph_pimpl.C (insertChar): do not try to update tables when
11897 appending (pos == size())
11899 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11900 in order to reduce drastically the number of comparisons needed to
11901 parse a large document
11903 2002-05-29 André Pönitz <poenitz@gmx.net>
11909 * textclasslist.[Ch]:
11910 * sp_ispell.h: whitespace change
11912 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11914 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11915 lyxaction directly now.
11917 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11921 * lyxvc.C: remove unused headers
11923 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11930 * undo_funcs.C: some cleanups. Use shared_ptr
11931 and a template for the undo stacks.
11933 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11935 * BufferView_pimpl.h:
11936 * BufferView_pimpl.C:
11943 * text2.C: use key_state/mouse_state
11945 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11950 * chset.C: change include order
11951 (loadFile): use boost regex and get rid of LRegex and LSubstring
11953 * Makefile.am (BOOST_LIBS): new variable
11954 (lyx_LDADD): use it
11956 * LaTeX.C: change include order.
11957 (scanAuxFile): use boost regex and get rid of LRegex and
11961 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11966 * FontInfo.C: moved to frontends/xforms/
11969 * FontLoader.C: moved into frontends for GUIIzation
11974 * lyxfunc.C: changes from above
11976 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11978 * LColor.C: remove spurious X include
11980 * BufferView_pimpl.C:
11985 * text2.C: move font metrics to frontends/
11987 2002-05-24 Juergen Vigna <jug@sad.it>
11989 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11990 setting the undo_cursor.
11992 * ParagraphParameters.h: include local includes first.
11994 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11996 * BufferView_pimpl.C:
11997 * BufferView_pimpl.h:
12001 * screen.C: move WorkArea into frontends/
12007 * BufferView2.C: move LyXScreen into frontends/
12011 * lyx_gui.C: move lyxlookup into frontends/xforms/
12013 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12016 * BufferView_pimpl.C:
12026 * bufferview_funcs.C:
12039 * vc-backend.C: move LyX/XFormsView into frontends/
12041 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12053 * text2.C: move Painter to frontends/
12055 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12057 * buffer.C: comment out some some code that depend upon lyx_format
12060 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12061 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12063 * buffer.h (NO_COMPABILITY): turn off compability
12065 * ColorHandler.C: include scoped_array.hpp
12067 * font.C: Use more specific smart_ptr header.
12070 * ShareContainer.h: ditto
12071 * lyx_main.h: ditto
12073 * FontInfo.h: ditto
12074 * BufferView_pimpl.h: ditto
12075 * ColorHandler.h: ditto
12077 * kbmap.C (defkey): change call to shared_ptr::reset
12079 2002-05-21 Juergen Vigna <jug@sad.it>
12081 * buffer.C (insertErtContents): fix to insert ert asis if it is
12082 non empty. Skip it completely if it contains only whitespaces.
12084 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12086 * BufferView_pimpl.C:
12087 * BufferView2.C: clear selection on paste (bug 393)
12089 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12091 * DepTable.C: include ctime
12093 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12095 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12097 2002-05-14 Juergen Vigna <jug@sad.it>
12099 * text.C (breakParagraph): fixed function to honor the keepempty
12100 layout in the right maner and also to permit the right breaking
12101 algorithm on empty or non empyt keepempty paragraphs.
12103 * paragraph.C (breakParagraph): we have to check also if the par
12104 is really empty (!size()) for isempty otherwise we do the wrong
12107 2002-05-10 Juergen Vigna <jug@sad.it>
12109 * buffer.[Ch] : The following are only changes to the ert
12110 compatibility read reading old LaTeX layout and font stuff and
12111 convert it to ERTInsets.
12113 * buffer.h: added isErtInset().
12115 * buffer.C (struct ErtComp): add a fromlayout bool to check
12116 if we're inside a LaTeX layout.
12117 (isErtInset): new helper function.
12118 (insertErtContents): look for other ert insets before this one
12119 and insert the contents there, so that we don't have subsequent
12120 ERT insets with nothing between them. This way we create only one
12121 inset with multiple paragraphs. Also check if we don't insert only
12122 spaces ' ' as they are ignored anyway afterwards in the .tex file
12123 so if we have only spaces we will ignore this latex part in the
12125 (parseSingleLyXformat2Token \\layout): better compatibility when
12126 reading layout-latex stuff.
12127 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12129 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12130 stuff after reading the inset only get the information back from
12133 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12135 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12137 * LaTeXFeatures.C (getBabelOptions): New method.
12139 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * BufferView_pimpl.C (Dispatch): work around missing argument for
12144 2002-05-08 Juergen Vigna <jug@sad.it>
12146 * text.C (leftMargin): handle paragraph leftindent.
12148 * paragraph.C (writeFile): write the new \\leftindent tag.
12149 (validate): handle leftindent code.
12150 (TeXEnvironment): handle paragraphleftindent code again.
12152 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12154 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12155 for paragrap_extra indent code and new token \\leftindent.
12156 (latexParagraphs): handle the leftindent as environment.
12158 * ParameterStruct.h: added leftindent support.
12160 * ParagraphParameters.C (leftIndent): added support functions for
12161 the paragraph left indent.
12163 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12166 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12168 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12171 * text.C (computeBidiTables): No bidi in insetERT.
12173 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12176 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12178 * version.C.in: pre 5
12180 2002-05-02 José Matos <jamatos@fep.up.pt>
12181 * buffer.C (makeDocBookFile): white space changes, add newline to
12183 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12185 * tabular.C (docBook): fix typo.
12187 2002-05-03 Juergen Vigna <jug@sad.it>
12189 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12190 change in LyXText as we can not be sure it was not freed.
12191 (drawOneRow): remove unused code.
12193 * text.C (drawInset): redo the calculation of the need_break_row as
12194 it could have a row which was already freed.
12195 (draw): look at the return value of drawInset and return false if
12196 it also returned false.
12197 (paintRowText): look at the return value of draw and return false if
12198 it also returned false.
12200 * lyxtext.h: added bool return type to drawInset() and draw() so that
12201 if we have a change in the row so that the rowbreak has to be redone
12202 we abort drawing as it will be called again.
12204 2002-05-02 Juergen Vigna <jug@sad.it>
12206 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12207 a change in the maintext also if we're inside an inset.
12208 (Dispatch): set the cursor again after a break line and after the
12209 screen has been updated as it could be we're in a different row.
12211 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12212 to set the cursor behind the pargraph with > size().
12213 (setCursor): check also for the same paragraph when checking where
12214 to put the cursor if we have a NFR inset.
12216 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12217 parts of layout read further up as it still was in the wrong
12220 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12222 * screen.C (drawFromTo): change sine fullRebreak always return
12225 * buffer.C (parseSingleLyXformat2Token): reindent some
12227 * BufferView_pimpl.C (update): change since fullRebreak always
12229 (Dispatch): git rid of the last hardcoded "Standard"s.
12231 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12233 * text2.[Ch] (fullRebreak): make it return void now that we always
12236 2002-04-30 Juergen Vigna <jug@sad.it>
12238 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12239 ert compatibility check for "latex" layout.
12241 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12243 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12244 minipages: use col% instead of p%, and also use the current font.
12245 (makeLaTeXFile): Fix use babel condition.
12246 (parseSingleLyXformat2Token): Correct font when reading old floats.
12248 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12250 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12251 inserting list of floats.
12253 2002-04-25 Herbert Voss <voss@lyx.org>
12255 * MenuBackend.C (expand): don't add the graphics extensions to the
12258 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12260 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12261 non-existing layout, do not complain if it was the default layout
12262 of the original class (bug #342)
12264 2002-04-24 Juergen Vigna <jug@sad.it>
12266 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12267 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12269 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12271 * buffer.C (getBibkeyList): If using \bibliography, return the
12272 option field with the reference itself. Enables us to provide natbib
12273 support when using \bibliography.
12275 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12277 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12279 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12280 natbib is provided by the LaTeX class.
12282 2002-04-23 Juergen Vigna <jug@sad.it>
12284 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12287 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12289 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12291 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12293 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12294 ensuremath around textordmasculine, textordfeminine and
12297 2002-04-19 Juergen Vigna <jug@sad.it>
12299 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12300 reinitializing the buffer otherwise row-dimensions may be wrong.
12301 (update): reset also the selection cursors if they do exits otherwise
12302 their x/y positions may be wrong.
12304 * text2.C (cursorDown): don't enter the inset if we came from a row
12305 above and are one row over the inset.
12307 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12308 really leaving an inset.
12310 2002-04-18 Juergen Vigna <jug@sad.it>
12312 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12313 of the selected paragraph does not have the selected layout also if
12316 * text2.C (setLayout): fixed bug which did not change last selected
12319 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12320 changed the read and substituted \\end_float with \\end_inset!
12322 * BufferView_pimpl.C (cursorPrevious):
12323 (cursorNext): fixed to make it work with rows heigher than the work
12324 area without moving the cursor only the draw of the row.
12325 (workAreaMotionNotify): fix jumping over high rows.
12327 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12332 2002-04-16 Juergen Vigna <jug@sad.it>
12334 * text2.C (setCursor): set also the irow().
12335 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12337 (cursorDown): support for locking an inset if the x_fix value goes
12338 inside it. That way I can transverse insets too with cursor up/down.
12340 * lyxrow.h: added irow helper function same as other (i) functions.
12342 * BufferView_pimpl.C (cursorPrevious):
12343 (cursorNext): fixed for insets!
12345 2002-04-15 Juergen Vigna <jug@sad.it>
12347 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12348 position otherwise it is wrong in some cases.
12350 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12351 inside the inset before the call.
12353 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12355 * buffer.[Ch] (getBibkeyList): make it const.
12357 2002-04-12 Juergen Vigna <jug@sad.it>
12359 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12361 * text2.C (getCursorX): new helper function
12362 (setCursor): compute also ix_
12363 (setCursorFromCoordinates): set also ix.
12365 * lyxcursor.h: added ix_ and helper functions.
12367 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12369 * buffer.C (insertStringAsLines): dont break paragraph if the this
12370 paragraph is inside an inset which does not permit it!
12372 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12373 also with no chars on this paragraph.
12374 (paintRowText): only paint stuff if it's inside the workarea!
12376 * paragraph.C (breakParagraph): honor keepempty flag and break the
12377 paragraph always below not above.
12379 * BufferView2.C (unlockInset): update the paragraph layout on inset
12380 unlock as we changed paragraph in such a case.
12382 * lyxfind.C (LyXFind): clear the former selection if not found!
12384 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12385 again called in insertChar().
12387 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12388 an inset which uses the whole row!
12389 (rightMargin): ditto.
12390 (insertChar): force a rebreak if we inserted an inset!
12392 2002-03-28 Herbert Voss <voss@lyx.org>
12394 * lyxlength.[Ch]: add inBP() to get the right PS-point
12395 units (BigPoint). With inPixels we have rounding errors
12397 2002-04-11 Juergen Vigna <jug@sad.it>
12399 * text2.C (setCursorFromCoordinates): set iy to the right value.
12400 (setCursor): add check if row->previous exists!
12402 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12403 an old float_type as this was the case in the old code!
12405 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12407 * BufferView2.C (showLockedInsetCursor): use iy
12408 (fitLockedInsetCursor): ditto
12410 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12411 locked insets as there we have the right value now.
12413 * lyxcursor.C: added iy_ variable and iy functions to set to the
12414 baseline of cursor-y of the locked inset.
12416 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12417 (setCursor): fixed for insets which need a full row.
12419 * text.C (rowLastPrintable): don't ignore the last space when before
12420 an inset which needs a full row.
12421 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12422 as last character of a row when before a inset which needs a full row.
12424 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12426 * version.C.in: update date
12428 * text2.C (fullRebreak): try to always return true and see what
12431 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12433 * MenuBackend.C (expand): use Floating::listName
12435 * FloatList.C (FloatList): add listName argument to the built-in
12438 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12439 text associated with the float.
12441 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12443 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12445 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12447 * ShareContainer.h: add a couple of missing typenames.
12449 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12451 * lyxrc.C (getDescription): use _() correctly rather than N_().
12453 2002-03-28 Herbert Voss <voss@lyx.org>
12455 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12456 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12458 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12460 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12461 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12463 2002-03-29 Juergen Vigna <jug@sad.it>
12465 * lyxfunc.C (dispatch): add a missing fitCursor call.
12467 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12468 it was scrolled by a cursor move, so return the bool status.
12470 * BufferView.C (fitCursor): return the bool flag also to the outside
12471 world as this is needed.
12473 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12475 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12476 call the edit() as it is not needed (and wrong) IMO.
12477 (workAreaButtonPress): set the screen_first variable before evt.
12478 unlock the inset as this may change screen_first and then we have
12479 a wrong y position for the click!
12481 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12483 * MenuBackend.C (expand): another translation that I missed
12485 2002-03-28 Juergen Vigna <jug@sad.it>
12487 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12489 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12491 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12493 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12495 * MenuBackend.C (expand): fix export/view/update when there is no
12498 2002-03-27 Herbert Voss <voss@lyx.org>
12500 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12503 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12505 * bufferview_funcs.C (currentState): only show paragraph number
12506 for is DEVEL_VERSION is set.
12508 * lyxfunc.C (dispatch): put warning in INFO channel
12510 * MenuBackend.C (expand): translate the name of floats
12512 * FloatList.C (FloatList): mark the float names for translation
12514 * converter.C (convert): use LibScriptSearch
12516 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12518 * MenuBackend.C (defaults): fix default menu (we might as well get
12521 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12526 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12528 * lyxvc.C: reorder includes.
12530 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12532 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12535 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12537 * CutAndPaste.C: change layouts earlier on paste
12538 to avoid crashing when calling getFont()
12540 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12542 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12545 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * WorkArea.C: remove 'Pending' debug message.
12549 * most files: ws cleanup
12551 * buffer.[Ch]: ws changes
12553 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12555 2002-03-21 Juergen Vigna <jug@sad.it>
12557 * tabular.C (SetMultiColumn): collapse also the contents of the
12558 cells and set the last border right. Added a Buffer const * param.
12560 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12562 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12565 2002-03-19 Juergen Vigna <jug@sad.it>
12567 * text2.C (clearSelection): reset also xsel_cache.
12569 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12570 where it needs to be called (John tells us to do so too :)
12571 (selectionLost): reset sel_cache.
12573 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12575 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12577 * text2.C (setCursorIntern): put debuging code in INSETS channel
12579 2002-03-19 André Pönitz <poenitz@gmx.net>
12581 * lyxfunc.C: tiny whitespace change
12583 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12585 * ToolbarDefaults.C (init):
12586 * LyXAction.C (init):
12588 * BufferView_pimpl.C (Dispatch):
12589 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12591 2002-03-19 Allan Rae <rae@lyx.org>
12593 * exporter.C (Export): removeAutoInsets before doing anything else.
12594 While I've just introduced a dependency on BufferView this really is
12595 the best place to clean the buffer otherwise you need to cleanup in
12596 a dozen places before calling export or cleanup in a dozen functions
12599 * converter.C (runLaTeX):
12600 (scanLog): Better handling of removeAutoInsets and screen updates.
12602 * lyxfunc.C (dispatch): small whitespace changes
12604 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12606 * WorkArea.C (C_WorkAreaEvent): return a value.
12607 (event_cb): return 1 if we handled the event, 0 otherwise.
12609 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12611 2002-03-18 Juergen Vigna <jug@sad.it>
12613 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12614 (GetAdditionalWidth): ditto.
12615 (RightLine): ditto.
12618 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12619 inset if we're there actually (probably not used right now but this
12620 is the direction to go for unifying code).
12621 (paste): disable code to clear the selection.
12623 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12624 inside an InsetText and move the check further up as it is in the
12627 * text2.C (pasteSelection): set a selection over the pasted text.
12629 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12631 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12632 and libgraphics to build on Cygwin.
12634 2002-03-15 Juergen Vigna <jug@sad.it>
12636 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12637 inserting an Inset into the paragraph. I know this is not the best
12638 fix but we already use current_view in CutAndPaste so we will remove
12639 all of it's using at the same time.
12641 * buffer.C (sgmlError): deactivated function till it is rewritten in
12642 the right mode, now it can create problems.
12644 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12645 before accessing it.
12647 2002-03-14 Juergen Vigna <jug@sad.it>
12649 * undo_funcs.C (textHandleUndo): do the right thing when updating
12650 the inset after the undo/redo.
12652 * text2.C (setCursor): just some testcode for #44 not ready yet.
12654 * undo_funcs.C (textHandleUndo): set the next() and previous()
12655 pointers of the paragraph to 0 before deleting otherwise we have
12656 problems with the Paragraph::[destructor].
12658 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12659 on a paragraph insertion.
12661 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12663 * buffer.C (asciiParagraph): use += operator for char append to
12666 * paragraph.C (getFontSettings): compare >= not just >
12667 (highestFontInRange): ditto
12670 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12672 * paragraph.C: change several algorithm to be more appripriate for
12673 the problem domain. This is lookip in FontList and in the InsetList.
12675 2002-03-13 André Pönitz <poenitz@gmx.net>
12678 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12680 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12685 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12687 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12689 * Painter.C (display): anon helper function, adjust code for this
12691 (pixmap): remove function.
12693 * Painter.h: remove private display variable.
12695 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12697 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12699 * WorkArea.[Ch]: remove figinset_canvas cruft.
12701 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * lyxtextclass.C (operator): add one item cache optimization.
12705 * bufferlist.h: doxy changes
12707 * bufferlist.C: ws changes
12709 * DepTable.[Ch] (ext_exist): place const in the right spot.
12711 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12713 (workAreaExpose): call resizeInsets when the with BufferView changes.
12714 (Dispatch): adjust for protectedBlank removal
12715 (specialChar): call updateInset if the insert went ok.
12717 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12718 specialChar instead.
12720 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12722 * BufferView.h: doxy change
12724 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12726 * lyxtextclass.C (operator[]): remove non-const version
12727 (defaultLayout): remove non-const version
12729 2002-03-12 Juergen Vigna <jug@sad.it>
12731 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12732 did resize the LyXText too.
12734 * buffer.C (readLyXformat2): set layout information on newly allocated
12737 * tabular.C (OldFormatRead): set layout information on the paragraph.
12739 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12741 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12743 2002-03-11 Juergen Vigna <jug@sad.it>
12745 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12747 (resizeCurrentBuffer): force also the insets to resize themselfes.
12748 (moveCursorUpdate): fixed up for InsetText.
12750 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12753 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12754 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12755 value of Dialogs::tooltipsEnabled().
12756 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12758 2002-03-08 Juergen Vigna <jug@sad.it>
12760 * BufferView_pimpl.C (updateInset): update inset inside inset also
12761 if it isn't inside theLockingInset().
12763 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * buffer.C (asciiParagraph): redo some of the word and line length
12767 (getLists): look for Caption instead of caption.
12769 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12771 * buffer.C (Buffer): initialize niceFile to true
12773 (makeLinuxDocFile):
12774 (makeDocBookFile): make sure niceFile is true on exit
12776 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12778 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12780 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12782 * LyXSendto.C: remove.
12783 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12784 * lyx_gui.C: remove now-redundant comment.
12785 * ColorHandler.h: remove forward declaration of class WorkArea.
12786 * lyxfunc.C: remove #include "WorkArea.h".
12788 2002-03-07 Juergen Vigna <jug@sad.it>
12790 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12791 got moved away with the DEPM and also set the inset_owner always
12792 right which before could have been omitted.
12794 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12797 wanted layout is not found.
12799 2002-03-07 Juergen Vigna <jug@sad.it>
12801 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12803 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * paragraph.C (breakParagraph): use default layout not layout of
12807 (Paragraph): clear ParagraphParameters.
12809 2002-03-06 Juergen Vigna <jug@sad.it>
12811 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12812 otherwise it would not be a valid lenght. Fixed a special case in
12813 the minipage compatibility read where we end the document with a
12816 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12817 was set as it could be 0 for InsetTexts first entry.
12819 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12821 * paragraph.C (writeFile): if layout is empty write out
12822 defaultLayoutName().
12824 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12825 file without named layout we set layout to defaultLayoutName().
12827 2002-03-06 Juergen Vigna <jug@sad.it>
12829 * CutAndPaste.C (copySelection): set layout for new paragraph.
12831 * text.C (prepareToPrint): leave ERT inset left aligned
12832 (leftMargin): don't indent paragraphs inside ERT insets
12834 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * paragraph.C (breakParagraph): dont call clear do the work manually
12838 * paragraph.[Ch] (clear): remove function
12840 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * paragraph.C (Paragraph): dont call clear, the work has already
12845 * lyxtextclass.C (operator): assert if n is empty
12847 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12848 work manually instead.
12850 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12852 * BufferView_pimpl.C: protect selectionLost against text == 0
12854 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12856 * text.C (breakParagraph): fix a setting layout to '0' problem.
12858 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12860 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12861 final location of file, for the included files, and graphics.
12863 2002-03-05 Juergen Vigna <jug@sad.it>
12865 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12867 2002-03-04 Juergen Vigna <jug@sad.it>
12869 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12871 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12872 last column of multicolumn cells.
12873 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12875 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12877 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12878 file if it doesn't go to a temporary file.
12880 * buffer.C (sgmlOpenTag):
12881 (sgmlCloseTag): remove extra newline insertion.
12883 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12885 * text.C (getRowNearY): comment out debug msg
12887 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12889 * text2.C: first -> first_y
12891 * text.C (getRowNearY): add some attemts at a possible
12892 optimization, not working.
12894 * tabular.[Ch]: add BufferParams to several function so that newly
12895 created paragraph can be initialized to he default layotu for the
12898 * tabular-old.C (ReadOld): add buf->params to call of Init
12900 * screen.C: rename text->first to text->first_y
12902 * paragraph.C (breakParagraph): always set layout in the broken
12905 * lyxtextclass.C (Read): remove lowercase
12908 (delete_layout): ditto
12910 * lyxtext.h: rename first -> first_y
12912 * lyxlayout.C (Read): remove lowercase
12915 (obsoleted_by): ditto
12917 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12919 * buffer.C (insertErtContents): add params are to InsetERT
12920 (parseSingleLyXformat2Token): add code to check if a paragraphs
12921 layout really exist.
12922 (parseSingleLyXformat2Token): add params to several inset
12924 (asciiParagraph): remove lowercase, do the layout comparisons with
12927 * BufferView_pimpl.C (cursorNext): first -> first_y
12928 (resizeCurrentBuffer): first -> first_y
12929 (updateScrollbar): first -> first_y
12930 (scrollCB): first -> first_y
12931 (workAreaMotionNotify): first -> first_y
12932 (workAreaButtonPress): first -> first_y
12933 (checkInsetHit): first -> first_y
12934 (cursorPrevious): first -> first_y
12935 (cursorNext): first -> first_y
12936 (Dispatch): add buffer_->params to severl inset contructors
12938 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12940 * lyxlayout.C (Read): remove some debug info that I forgot.
12942 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12943 clean up the code slightly.
12944 (makeLinuxDocFile): ditto
12945 (makeDocBookFile): ditto
12947 * text2.C: layout as string
12949 * text.C: layout as string
12951 * paragraph_pimpl.C: layout as string
12953 * paragraph.[Ch]: layout as string
12955 * lyxtextclasslist.[Ch]: layout as string
12957 * lyxtextclass.[Ch]: layout as string
12959 * lyxtext.h: layout as string
12961 * lyxlayout.[Ch]: layout as string
12963 * lyx_cb.C: layout as string
12965 * bufferview_funcs.C: layout as string
12967 * bufferparams.C: layout as string
12969 * buffer.C: layout as string
12971 * LyXView.[Ch]: layout as string
12973 * LaTeXFeatures.[Ch]: layout as string
12975 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12977 * BufferView_pimpl.C: change current_layout to string, remove
12982 (workAreaButtonRelease): layout as string
12984 * BufferView2.C (unlockInset): adjust
12986 * vspace.C (asLatexCommand): use an explict temp variable.
12988 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12990 * Makefile.am: use FRONTEND_*
12992 2002-03-01 Juergen Vigna <jug@sad.it>
12994 * tabular.C (SetWidthOfMulticolCell): changed to something better
12995 I hope but still work in progress.
12996 (recalculateMulticolumnsOfColumn): renamed function from
12997 recalculateMulticolCells as it is more appropriate now.
12998 (SetWidthOfCell): calculate multicols better.
13000 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13002 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13004 * lyxfunc.C (processKeySym): print sequence also if it is
13005 `deleted' (complete)
13007 * kbsequence.C (print): print sequence even if it is deleted
13008 (complete would be a better word, actually).
13010 * lyxfunc.C (dispatch): print complete options after a prefix key
13012 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13014 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13016 * text2.C (setCharFont): eliminate setCharFont code duplication.
13018 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13020 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13021 LFUN_TABULAR_FEATURE (bug #177)
13023 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13025 * Makefile.am: remove figure.h
13027 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13029 * Bufferview_pimpl.C:
13041 * text2.C: remove #include "lyx_gui_misc.h".
13043 * LaTeX.C: added #include <cstdio>
13045 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13047 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13048 that the paragraph following this one can have.
13050 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13052 * vspace.C (asLatexCommand): fix bogus gcc warning
13054 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13056 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13058 * text2.C (setLayout): get rid of redundant code
13060 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13062 * text2.C (incDepth): make sure depth cannot be increased beyond
13065 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13067 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13068 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13070 * PainterBase.h (image):
13071 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13072 a LyXImage const *.
13074 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13078 * BufferView_pimpl.C:
13079 * BufferView_pimpl.h:
13099 * sp_spell.C: remove fig inset, and the crap house of
13100 cards that follows it
13102 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13107 * os2_errortable.h:
13108 * nt_defines.h: move .h into support/
13110 * vms_defines.h: remove
13112 * WorkArea.C: add space in debug output
13116 * buffer.C: add WITH_WARNINGS
13120 * bufferlist.C: s/retrive/retrieve/, add docs
13129 * chset.C: add docs
13131 * lyxgui.C: add ID to X error handler
13133 * lyxtestclass.c: fix typo
13135 2002-02-26 Juergen Vigna <jug@sad.it>
13137 * tabular_funcs.C (write_attribute): changed so that some default
13138 attributes are not written at all.
13139 (getTokenValue): set default values before trying to read the
13140 value so we have the return value always set as default if we don't
13141 find the token we search for.
13143 * tabular.C (Write): write bools as bools not as strings!
13145 2002-02-22 Juergen Vigna <jug@sad.it>
13147 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13148 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13150 * text.C (leftMargin): don't add an indent for paragraphs inside
13151 tabular cells (fix #208).
13153 2002-02-21 José Matos <jamatos@fep.up.pt>
13155 * tabular.C (docBook): fixed support for long tables.
13157 2002-02-20 Juergen Vigna <jug@sad.it>
13159 * text2.C (getFont): get the drawing font of the Inset if this
13160 paragraph is inside an inset (only important for InsetERT for now).
13162 * buffer.C (insertErtContents): use new lanugage params in ERT
13165 * CutAndPaste.C: commenting out seemingly uneeded code.
13167 2002-02-19 Allan Rae <rae@lyx.org>
13169 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13170 Iterators might be simple to use but they also get invalidated.
13171 (removeAutoInsets): renamed saved cursor tracking variables and added
13172 some comments to clarify what everything does.
13174 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13181 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13182 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13185 * vc-backend.h: remove #include "support/syscall.h"
13189 * converter.C: rearrange #includes in Lars' approved fashion.
13191 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13192 forward declare class Timeout in the header file.
13194 * XFormsView.C: changes due to the above.
13196 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13197 similar to LyXView.
13199 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13200 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13202 2002-02-18 José Matos <jamatos@fep.up.pt>
13204 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13207 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13209 * a lot of small ws changes
13210 * add a lot of using std::XXX
13211 * use std construcs some places where approp.
13212 * use some exisint stuff from lyxfunctional where approp.
13213 * Make file changes to use partial linking (lets test this now...)
13215 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13219 remove #include "support/syscontr.h" as it's redundant. Always has been.
13227 change Systemcalls::System to Systemcalls::Wait and
13228 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13229 No change of functionality, just reflects the stripped down Systemcalls
13232 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13234 * debug.[Ch]: add a GRAPHICS type to the enum.
13236 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13238 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13240 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13243 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13245 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13246 match the changes below.
13248 * text2.C (toggleInset): if there is not editable inset at cursor
13249 position, try to see if cursor is _inside_ a collapsable inset
13252 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13254 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13255 document menu has a nice checkbox
13257 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13259 * lyxlength.C (asLatexString): change PW to output as percent of
13262 * lengthcommon.C: change '%' to 't%'
13264 * lyxfunc.C (dispatch): a few comments from Martin
13266 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13270 * BufferView_pimpl.h:
13271 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13274 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13276 * vspace.C (inPixels): fix compiler warning
13278 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13280 * lyxfunc.C (getStatus): fix status message for disabled commands.
13282 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13284 * BufferView_pimpl.C: fix crash on close buffer
13285 during selection (#227)
13287 2002-01-27 Herbert Voss <voss@lyx.org>
13289 * buffer.C: link old Figure to new graphic inset
13291 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13293 * FontLoader.C (getFontinfo): Change the latex font names in order
13294 to match the names of type1inst.
13296 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13298 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13300 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13301 (extchanged): ditto
13303 (remove_files_with_extension): ditto
13304 (remove_file): ditto
13307 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13308 document is smaller than the work area height. Do not initialize
13309 static variables to 0.
13311 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13313 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13315 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13316 LFUN_LAYOUT_PARAGRAPHS.
13318 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13319 tabular. It is possible to provide a possible cell, which will
13320 typically be the actcell from the corresponding insettabular
13322 * lyxfunc.C (getStatus): small cleanup; disable
13323 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13326 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13328 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13330 * paragraph.C (startTeXParParams):
13331 (endTeXParParams): new methods. The LaTeX code to
13332 start/end paragraph formatting
13333 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13334 empty (fixes bug #200)
13336 * vspace.C (inPixels): adapt to the change below
13337 (inPixels): [later] more cleanups (remove unused variables)
13339 * lyxlength.C (inPixels): change to use a width and a height as
13342 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13344 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13345 Replaced with \paperwidth
13347 * DepTable.C (insert): add std:: qualifier
13349 2002-01-18 Allan Rae <rae@lyx.org>
13351 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13354 * text.C (drawInset): Turned out I didn't know enough about how
13355 rebreaking worked. This fixes most of the redraw problems. I see
13356 an occasional cursor trail when a line is broken now and the cursor
13357 placement can seem out by a few pixels also after a rebreak.
13359 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13361 * buffer.C (parseSingleLyXformat2Token): update because minipage
13362 width is now a LyXLength
13364 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13366 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13369 2002-01-17 Juergen Vigna <jug@sad.it>
13371 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13373 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13374 is set correctly and the inset is updated correctly.
13376 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13378 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13379 the beginning of the loop.
13381 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13383 * lyxrc.C: improve help for use_scalable_fonts
13385 2002-01-17 Allan Rae <rae@lyx.org>
13387 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13389 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13391 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13392 make sure to set their inset_owner to the right value (bug #171)
13394 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13397 * DepTable.C: Implement mtime checking to reduce time spent doing
13400 2002-01-16 Juergen Vigna <jug@sad.it>
13402 * tabular.C (GetAdditionalHeight): one of error fixed.
13404 * lyxrc.C (output): small fix in writing use_pspell.
13406 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13408 * sp_base.h: #include LString.h
13410 2002-01-16 Allan Rae <rae@lyx.org>
13412 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13413 Can someone check this please?
13415 * text.C (drawInset): It was possible that p.row would be removed by
13416 breakAgainOneRow upsetting a few other settings. There may be another
13417 small tweak possible by setting need_break_row = 0 when p.row has been
13418 removed but I don't know enough about the logic here.
13420 2002-01-15 Allan Rae <rae@lyx.org>
13422 * text.C (insertChar): removed conditional truism.
13424 * BufferView2.C (removeAutoInsets): More tweaks.
13425 cur_par_prev could be a stray pointer. Check for trailing empty line
13426 in case last line was cur_par and only had an error inset on it.
13428 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13430 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13433 * vc-backend.C (most methods):
13434 * exporter.C (Export):
13435 * converter.C (convert):
13437 * LyXSendto.C (SendtoApplyCB):
13438 * lyxfunc.C (dispatch):
13442 * lyx_cb.C (AutoSave):
13444 * BufferView_pimpl.C (MenuInsertLyXFile):
13445 * buffer.C (runChktex): use Buffer::filePath().
13447 * buffer.h: rename filename to filename_; rename filepath to
13448 filepath_ and make it private
13449 (filePath): new method
13451 * buffer.C (writeFile): use fileName()
13454 * lyx_main.C (init): fix starting of LyX when the binary is a
13455 link from so,ewhere else.
13457 * minibuffer.C: include <cctype> for isprint
13459 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13461 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13462 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13463 name clash with InsetCollapsable's width function.
13465 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * lastfiles.C: include <iterator>
13469 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13471 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13474 * buffer.C (makeLaTeXFile): ditto.
13475 Also make loop operation more transparent.
13477 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13479 * ToolbarDefaults.C: remove trailing comma closing namespace.
13481 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13483 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13486 * trans.C (Load): comment out unused variable, allowed.
13488 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13490 * minibuffer.[Ch] (append_char): new method to recieve input from the
13491 drop-down completion browser. If a key was pressed, then recieve this
13492 char and append it to the existing string.
13493 (peek_event): modify the positioning data passed to the completion
13494 browser so that it can be placed above the minibuffer rather than below.
13495 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * LyXAction.C (init): alloe error-next for readonly documents.
13499 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13502 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13504 * bufferlist.C (readFile): create the buffer _after_ checking that
13507 * lyxfunc.C (verboseDispatch): fix handling of arguments
13509 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13511 * lyxrc.C: use string::erase() instead of initializing to "".
13514 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13516 * BufferView_pimpl.h:
13517 * BufferView_pimpl.C:
13520 * text2.C: tell X when we have made a selection for copying
13522 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13524 * BufferView_pimpl.C (MenuInsertLyXFile):
13525 * lyxfunc.C (menuNew):
13527 (doImport): add shortcuts to directory buttons
13529 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13532 * lyxfunc.C (setStatusMessage):
13533 (getStatusMessage): new methods
13534 (getStatus):use setStatusMessage instead of setErrorMessage
13535 (dispatch): when function is disabled, set error message here
13536 [instead of in getStatus previously]
13538 * BufferView_pimpl.C (workAreaButtonRelease): update
13539 toolbar/menubar here too.
13541 2002-01-13 Allan Rae <rae@lyx.org>
13543 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13544 Now seems indestructible. Remaining task is to audit all other
13545 code affected by deleteEmptyParagraphMechanism. One small quirk
13546 left is that an empty document with an error in the preamble can
13547 be made to report an error but no error box appears. I don't know
13549 (removeAutoInsets): Improved comments.
13551 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13554 * Thesaurus.C: update for Aiksaurus 0.14
13556 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13558 * text2.C (firstParagraph): removed member function, all uses
13559 replaces with ownerParagraph
13560 (redoParagraphs): here
13561 (updateInset): here
13562 (toggleAppendix): here
13563 * BufferView2.C (insertErrors): here
13564 (setCursorFromRow): here
13566 2002-01-13 Allan Rae <rae@lyx.org>
13568 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13569 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13570 There is still a way to segfault this although you may have to do this
13571 multiple times: Have an InsetERT with an unknown command in it.
13572 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13573 <down-arrow>, <Enter> again, View->DVI, BANG!
13575 * text2.C (setCursor):
13576 (deleteEmptyParagraphMechanism):
13577 * lyxtext.h (setCursor):
13578 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13579 Making use of the return value may help fix other bugs.
13581 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13583 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13585 * LyXView.C (updateMenubar): call MenuBar::update here
13586 (updateToolbar): but not here
13587 (showState): do not update toolbar/menubar
13589 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13590 should need to care about that.
13592 * lyxfunc.C (verboseDispatch): simplify a bit
13593 (getStatus): have a version which takes a pseudoaction, and
13594 another which requires a (kb_action,string).
13596 * LyXAction.C (retrieveActionArg): make it work also when action
13597 is not a pseudo-action.
13598 (getActionName): simplify a bit
13601 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13603 * lyxfunc.C (verboseDispatch): new families of methods with
13604 several ways to specify a command and a bool to indicate whether
13605 the command name and shortcut should be displayed in minibuffer
13606 (eventually, we could extend that to a finer bitmask like
13607 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13608 (dispatch): the pristine dispatch command which just, well,
13609 dispatchs! Note it still sets its result to minibuffer; I'm not
13612 * lyxfunc.h: remove setHintMessage
13614 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13616 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13618 * BufferView_pimpl.C (specialChar): delete new inset if we have
13619 not been able to insert it.
13621 * kbmap.C: revert to using int instead of kb_action, since all we
13622 are dealing with is pseudo-actions.
13624 * LyXAction.C (searchActionArg): change to return int instead of
13625 kb_action, since the result is a pseudoaction.
13627 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13629 * buffer.C (insertErtContents): Fix (partially) the font bug.
13631 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13633 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13634 as the other one is broken on my machine!
13636 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13639 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13641 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13643 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13644 reflect their actual use. Provide compatibility code for older lyxrc
13647 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13649 change names of popup font variables in line with the changes to lyxrc.C
13651 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13653 * buffer.C (asciiParagraph): avoid outputing a word twice after
13656 * lyxrc.C (getDescription): document that document_path and
13657 template_path can be empty.
13659 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13661 * LaTeXFeatures.C (getMacros):
13662 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13664 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13666 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13668 (getPackages): rename feature "floats" to "float". Use an array to
13669 iterate over 'simple' features (i.e. just a \usepackage). Add
13670 handling of "amsmath" (renamed from "amsstyle").
13672 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13674 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13677 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13679 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13680 FuncStaus::FuncStatus & FuncStaus::some_method().
13682 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13684 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13685 of the func_satus stuff. Edited and massaged in various ways by
13688 * lyxfunc.C (getStatus): use FuncStatus
13690 2002-01-08 Juergen Vigna <jug@sad.it>
13692 * text.C (nextBreakPoint): use function Inset::isChar().
13694 * paragraph.C (TeXOnePar): use function
13695 Inset::forceDefaultParagraphs.
13697 * buffer.C (latexParagraphs): use function
13698 Inset::forceDefaultParagraphs.
13700 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13702 * lyx_gui.C (init): set the style of the menu popups to
13703 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13705 2002-01-07 Juergen Vigna <jug@sad.it>
13707 * text.C (setHeightOfRow): small fix
13708 (prepareToPrint): don't look at alignment if we don't have the place
13711 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13713 * box.C: New file. Move the Box methods and functions out of box.h,
13714 following Lars' suggestion.
13716 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13718 * box.h: #include "support/LOstream.h", needed for inlined function.
13721 * lyxtextclasslist.C: added some using std declarations.
13723 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13725 * box.h: make signed dimensions to allow insets wider than
13726 the screen (bug #162)
13728 * BufferView_pimpl.C: add some insetHit debug
13730 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13732 * vc-backend.C: add FIXME
13734 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13736 * lyxfunc.C (getStatus): enable code for showing math font status
13739 2002-01-07 Juergen Vigna <jug@sad.it>
13741 * text.C (nextBreakPoint): removed debug output not needed anymore.
13743 2002-01-06 Juergen Vigna <jug@sad.it>
13745 * text.C (nextBreakPoint): fixed up this function we had this bug
13746 since ever but now hopefully we break row better.
13747 (insertChar): we have to check if an inset is the next char as it
13748 could now happen that a large inset is causing a break.
13750 2002-01-05 Juergen Vigna <jug@sad.it>
13752 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13753 if it doesn't like to be drawed.
13755 2002-01-04 Juergen Vigna <jug@sad.it>
13757 * BufferView2.C (lockInset): forgot to set a cursor.
13759 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13761 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13763 * FormMathsPanel.C:
13766 * form_maths_panel.C:
13767 * form_maths_panel.h:
13768 * form_maths_panel.fd: implemented sub- and super- buttons in math
13771 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13772 (or ^ space) to be used as in TeX (req'd by André).
13774 * lyxfunc.C: Allow ^ and _ again to be used both as
13775 super/subscript (mathed) and as themselves (in text).
13777 2002-01-03 Allan Rae <rae@lyx.org>
13779 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13780 "LyX" or the filename of the current buffer if it has one. This is a
13781 modified form of John Levon's patch.
13783 * XFormsView.C (setWindowTitle): also set icon title.
13785 * LyXView.h (setWindowTitle): signature changed.
13786 * XFormsView.h (setWindowTitle): ditto.
13788 2002-01-02 Juergen Vigna <jug@sad.it>
13790 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13792 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13794 * screen.C (topCursorVisible): introduce a temp var for
13795 text->cursor.row(), handle the case where this row is null. (kindo
13798 * text2.C (setCursor): add a couple of asserts.
13800 * paragraph.h (inset_iterator): add -> operator
13802 * paragraph.[Ch] (autoDeleteInsets): remove member function
13804 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13805 cursor pos correctly and handle inset deletion by itself.
13806 (insertErrors): move iterator declaration out of for expression
13808 * lyxtextclass.C: add <algorithm>
13810 * Makefile.am: added the new files to sources, removed layout.C
13812 * layout.C: removed file
13814 * layout.h: remove LYX_DUMMY_LAYOUT
13816 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13820 * lyxtextclass.[Ch]:
13821 * lyxtextclasslist.[Ch]: new files
13823 * include order changes to a lot of files, also changes because of
13826 2001-12-27 Juergen Vigna <jug@sad.it>
13828 * buffer.C (asciiParagraph): more fixes.
13830 * tabular.C (ascii): make ascii export support export of only the
13831 data separated by a column-delimiter.
13832 (ascii): better support for ascii export.
13834 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13836 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13838 * tabular_funcs.C: use a "using std::getline" instead of the
13839 previous fix from Angus (necessary for cxx + lyxstring)
13841 2001-12-24 Juergen Vigna <jug@sad.it>
13843 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13845 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13846 problems. First check a minipage also if we have some ert-contents
13847 (not only on par->size(), second set the right depth of the paragraph
13848 on the relink to the root-paragraph-list!
13850 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13851 which then did not anymore update the main paragraphs on undo/redo!
13853 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13855 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13856 code. Support all font-changing funcs (even those which are not in
13857 menu currently). Support for reporting font settings in
13858 mathed (disabled until Andre provides a function on mathed's side).
13860 * func_status.h (toggle): small helper function to set toggle
13863 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13865 * tabular_funcs.C: getline -> std::getline
13867 2001-12-21 Juergen Vigna <jug@sad.it>
13869 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13870 accessed and could be 0 (I couldn't generate this but it seems
13873 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13875 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13876 * tabular_funcs.h: here and include iosfwd
13878 2001-12-20 Juergen Vigna <jug@sad.it>
13880 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13881 inside inset but undo_par was.
13883 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13885 * Thesaurus.C: always include <config.h> in sources.
13889 * box.h: do not include <config.h> in header files
13891 * text.C (paintLastRow): remove unused variable
13893 * text.C (transformChar):
13895 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13897 * Painter.C (text):
13898 * font.C (width): rewrite to use uppercase() instead of
13901 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13903 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13905 * lyxfind.C: clean up of find failure position change
13907 2001-12-20 Juergen Vigna <jug@sad.it>
13909 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13911 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13912 (TeXRow): added to LaTeX a single tabular row.
13913 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13914 (Latex): simplified and finally good LT-h/f support.
13915 (various_functions): just small adaptions for LT-h/f support.
13917 * tabular_funcs.[hC]: added and moved here all not classfunctions
13920 2001-12-19 Juergen Vigna <jug@sad.it>
13922 * tabular.[Ch]: better support for longtabular options (not finished
13925 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13927 * text.C (paintLastRow): use the label font instead of the font of
13928 the last character to compute the size of *_BOX. This makes more
13929 sense and avoids a crash with empty paragraphs.
13930 Use Painter::rectangle to draw EMPTY_BOX.
13932 2001-12-19 Juergen Vigna <jug@sad.it>
13934 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13935 the paragraphs if the replaced paragraph is not the first one!
13936 Tried to delete not used paragraphs but does not work yet so for
13937 now it's inside #ifdef's and by default off!
13939 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13941 * MenuBackend.C: include "lyx_main.h" instead of declaring
13942 lastfiles (actually was declared as LastFiles* instead of a
13945 2001-12-17 Juergen Vigna <jug@sad.it>
13947 * tabular.C (AppendColumn): applied John's fix
13949 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13953 * BufferView_pimpl.h:
13954 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13957 * box.h: new start of class for above
13959 * lyxfunc.C: ignore space-only minibuffer dispatches.
13960 Show the command name when it doesn't exist
13962 * minibuffer.C: don't add empty lines to the history
13964 * minibuffer.C: add a space on dropdown completion
13966 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13968 * text.C: fix line above/below drawing in insets
13970 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13972 * lyxlength.C (LyXLength): Initialize private variables.
13974 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13976 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13977 when inserting error insets.
13979 2001-12-13 Juergen Vigna <jug@sad.it>
13981 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13982 actually sometimes the before-paragraph.
13983 (setUndo): don't clear the redostack if we're not actually undoing!
13985 2001-12-06 Juergen Vigna <jug@sad.it>
13987 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13988 and fixed redoing of main paragraph, so we can use it now ;)
13990 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13992 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13994 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13997 2001-12-13 André Pönitz <poenitz@gmx.net>
14000 * undo_func.C: minor cleanup
14002 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14004 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14005 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14006 font in urw-fonts package which is marked as -urw-fontspecific and
14007 does not work (incidentally, changing the encoding in the
14008 fonts.dir of this package to -adobe-fontspecific fixes the
14011 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14012 is a crash when undoing first paragraph (Juergen, please take a
14013 look). THis does not mean the undo fix is wrong, just that it
14016 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14017 the (Paragraph*) version when needed instead of duplicating the
14020 * text.C (workWidth): use Inset::parOwner to find out where the
14021 inset has been inserted. This is a huge performance gain for large
14022 documents with lots of insets. If Inset::parOwner is not set, fall
14023 back on the brute force method
14025 * paragraph_pimpl.C (insertInset):
14026 * paragraph.C (Paragraph):
14027 (cutIntoMinibuffer): set parOwner of insets when
14028 inserting/removing them
14030 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14032 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14038 * mathed/formulabase.C:
14039 * mathed/math_cursor.[Ch]:
14040 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14043 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14045 * lyxlength.[Ch] (operator!=): new function
14047 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14049 * text.C (workWidth): use Inset::parOwner to find out where the
14050 inset has been inserted. This is a huge performance gain for large
14051 documents with lots of insets. If Inset::parOwner is not set, fall
14052 back on the brute force method
14054 * paragraph_pimpl.C (insertInset):
14055 * paragraph.C (Paragraph):
14056 (cutIntoMinibuffer): set parOwner of insets when
14057 inserting/removing them
14059 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14061 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14063 * tabular-old.C (getTokenValue):
14064 * tabular.C (getTokenValue):
14065 (write_attribute): new versions for LyXLength
14066 (everywhere): adjust the use of widths
14068 * tabular.h: change the type of widths from string to LyXLength
14070 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14072 * paragraph.C: fixed missing line number count when exporting
14073 Environments to LaTeX file
14075 * buffer.C: added informational message for checking line numbers.
14077 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14079 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14080 paragraph, do the 'double space' part, but not the 'empty
14083 * text.C (workWidth): small optimization
14084 (getLengthMarkerHeight): use minimal size for negative lengths.
14086 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14088 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14090 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14092 2001-12-11 André Pönitz <poenitz@gmx.net>
14095 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14097 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14099 * text2.C: keep selection on a setFont()
14101 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14103 * lyx_cb.C: another bv->text misuse, from insert label
14105 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14108 * kbsequence.C: re-instate nmodifier mask
14110 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14112 * lyx_main.h: make lyxGUI private.
14114 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14116 * lyxfind.C: place the cursor correctly on failed search
14118 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14120 * text.C (getLengthMarkerHeight): for small heights, the arrows
14121 are not always on top/bottom of the text
14122 (drawLengthMarker): smaller arrows; take the left margin in
14123 account; draw also vfills.
14125 (paintLastRow): remove special code for vfill and standard spaces,
14126 since everything is handled in drawLengthMarker now.
14128 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14130 * buffer.C (insertErtContents): try to handle font and language
14131 interaction a bit better.g
14133 * ColorHandler.C (updateColor): change the hash to cover the whole
14134 LColor enum, ws cleanup
14135 (getGCLinepars): ditto
14136 (getGCLinepars): only lookup in the linecache once.
14138 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14140 * iterators.C (operator++): Make the iterator more robust
14142 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14144 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14146 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14149 * text.C: better added space drawing
14151 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14154 * BufferView2.C: fix layout combo update on inset unlock
14156 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14158 * Makefile.am: don't compile unused files
14160 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14164 * LyXAction.C: remove old LFUN_LAYOUTNO
14166 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14168 * paragraph_pimpl.h:
14169 * paragraph_pimpl.C: isTextAt() doesn't need font param
14171 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14174 * lyxlex.C: little cleanup
14176 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14178 * BufferView_pimpl.C: fix insertAscii for insets
14180 2001-12-05 Juergen Vigna <jug@sad.it>
14182 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14183 set the right font on the "multi" paragraph paste!
14185 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14191 * lyxlength.C: remove out-commented code.
14193 * BufferView_pimpl:
14207 * vc-backend.C: change "while(" to "while ("
14209 * lyxlength.[Ch]: add zero function to check if length is zero or
14211 * lyxgluelength.C: use it
14213 2001-12-05 Allan Rae <rae@lyx.org>
14215 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14216 Works for 2.95.3, from what I understand of Garst's reports this should
14217 work for other g++ versions. We're screwed if the abs(int) definition
14218 changed between bugfix releases of gcc.
14220 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14222 * text.C: fix chapter label offset !
14224 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14227 * text.C: fix hfill at end of line, clean up
14229 2001-12-04 Juergen Vigna <jug@sad.it>
14231 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14232 that we force an update of the inset and it's owners if neccessary.
14234 2001-12-03 Juergen Vigna <jug@sad.it>
14236 * text.C (rowLast): simplified code
14238 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14240 * lyxfunc.C: fix show options on timeout
14242 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14244 * screen.C (topCursorVisible): scroll half a page when the cursor
14245 reached top of bottom of screen
14247 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14249 * minibuffer.C: deactivate on loss of focus
14251 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14253 * vspace.[Ch] (operator!=): add operator.
14255 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14257 * BufferView_pimpl.C: refuse to open an inset when
14258 there's a selection.
14260 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14262 * BufferView_pimpl.C: allow to click on RHS of full row insets
14264 2001-11-30 Juergen Vigna <jug@sad.it>
14266 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14267 insets for undo reasons.
14269 2001-11-28 André Pönitz <poenitz@gmx.net>
14271 * vspace.[Ch]: cosmetical changes
14273 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14283 * kbsequence.C: part re-write of old kb code
14286 * WorkArea.C: remove Lgb_bug_find_hack
14288 2001-11-30 José Matos <jamatos@fep.up.pt>
14290 * buffer.C (makeDocBookFile): add a comment to point a hack.
14291 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14292 Fixed a double write of labels.
14294 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14297 * LaTeX.h Fixed bug in LaTeX class where it would not
14298 re-run latex if no depfiles were changed, but the .dvi was removed.
14300 2001-11-28 André Pönitz <poenitz@gmx.net>
14302 * all the files from the change on 2001/11/26:
14303 use lyx::layout_type instead of LyXTextClass::size_type
14304 use lyx::textclass_type instead of LyXTextClassList::size_type
14306 2001-11-29 Juergen Vigna <jug@sad.it>
14308 * text.C: added support for paragraph::isFreeSpacing()
14310 * buffer.C: same as above
14312 * paragraph.h: inserted isFreeSpacing() function to enable
14313 FreeSpacing inside InsetERT.
14315 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14316 of the paragraph's in the cut/copy buffer to 0!
14318 * text2.C (removeRow): remove the assert as it can!
14320 * lyxtext.h: added helper function firstRow returning firstrow and
14321 made firstrow private again.
14323 * BufferView2.C (lockInset): don't relock if we're already locked!
14325 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14326 the only paragraph.
14327 (removeRow): added Assert::(firstrow)
14329 * debug.C: forgot to add INSETTEXT here.
14331 2001-11-28 Juergen Vigna <jug@sad.it>
14333 * sp_spell.C (initialize): changed error text to more general
14334 spellchecker command use (not only ispell!)
14336 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14338 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14340 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14342 * vspace.C: initialise lyxgluelength on failure
14344 2001-11-28 Allan Rae <rae@lyx.org>
14346 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14347 declaration & definition that looks like a function declaration.
14349 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14351 * BufferView2.C (copy):
14352 (copyEnvironment): do not clear the selection when doing a copy.
14354 * text.C (paintFirstRow): compilation fix
14356 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14358 * tabular.C (Latex): correct line count when writing latex.
14360 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14362 * paragraph_pimpl.h:
14363 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14366 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14370 * LColor.C: change vfillline->added_space
14372 * text.C: add markers and text for added space
14374 * vspace.C: fix comment
14376 2001-11-28 André Pönitz <poenitz@gmx.net>
14378 * paragraph.C: whitespace changes
14379 * all the other files from the change on 2001/11/26:
14380 change *::pos_type into lyx::pos_type
14382 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14384 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14385 language of the document when inserting error insets.
14387 2001-11-26 André Pönitz <poenitz@gmx.net>
14389 * BufferView_pimpl.[Ch]:
14397 * paragraph_pimpl.[Ch]:
14400 * text2.C: reduce header dependencies, introduce type for positions
14402 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14404 * <various>: change to use Alert.h
14406 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14408 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14409 when encountering an unknown token.
14410 (readLyXformat2): Show an error message if there were unknown tokens.
14412 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14415 * BufferView_pimpl.C:
14419 * text2.C: use par->isInset()
14421 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14423 * paragraph_pimpl.h:
14424 * paragraph_pimpl.C: cleanup
14426 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14428 * text2.C (removeRow):
14429 * text.C (setHeightOfRow): remove useless (and costly) call to
14432 2001-11-20 Allan Rae <rae@lyx.org>
14434 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14435 Now need Inset*::checkInsertChar() to return true for appropriate
14436 cases so that the characters in the minibuffer will actually be
14439 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14441 * text.C: change the order of the includes.
14442 (workWidth): initialize it at once.
14443 (workWidth): make maxw unsigned
14444 (setHeightOfRow): remove unused variable (inset)
14445 (selectSelectedWord): remove unused variable (inset)
14446 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14448 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14450 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14451 server is not running.
14453 (closeConnection): add debug info when server is disabled.
14455 * ColorHandler.C (getGCForeground): send debug message to GUI
14458 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14460 * kbmap.C (bind): modify because return conventions of
14461 kb_sequence::parse have changed.
14463 * kbsequence.C (parse): only ignore spaces and not any stupid
14464 control character. This avoids tests like s[i] <= ' ', which are
14465 guaranteed to fail with 8bit characters and signed chars.
14466 Change return code to string::npos when there have been no error
14467 (0 was a bad idea when error is at first character)
14469 2001-11-14 José Matos <jamatos@fep.up.pt>
14472 * buffer.C (simpleDocBookOnePar): removed unused argument.
14474 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14476 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14477 insets which are part of a word. Paragraph::isLetter takes care of
14478 that now. Use Paragraph::isInset to identify insets.
14479 (selectSelectedWord): do not test for hyphenation break.
14481 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14482 that protected spaces are considered as spaces.
14484 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14487 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14490 * lyxserver.C: fix it. and small cleanup.
14492 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14494 * BufferView_pimpl.C: use inline helpers
14497 * LaTeXFeatures.C: fix typos
14500 * Spacing.C: move spacing_string into class
14502 * ToolbarDefaults.C: move stuff into namespace anon
14504 * layout.h: update enum
14506 * lyxfunc.C: use better debug
14508 * minibuffer.h: fix typo
14512 * WorkArea.C: add and use Debug::WORKAREA
14516 * text2.C: code re-organisation, inline helpers
14518 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14520 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14521 std::vector.empty().
14523 2001-11-09 Allan Rae <rae@lyx.org>
14525 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14526 '\n's after tables. Tabular and ERT inset work now makes this no
14529 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14532 * minibuffer.C: fix crash, improve drop-down completion
14534 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14537 * lyxserver.C: invalidate fd's when doing endPipe()
14539 2001-11-08 José Matos <jamatos@fep.up.pt>
14541 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14542 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14545 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14547 2001-11-07 José Matos <jamatos@fep.up.pt>
14550 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14553 * buffer.C (sgmlOpenTag):
14554 * buffer.C (sgmlCloseTag): removed debug info.
14556 * buffer.h (sgmlOpenTag):
14557 * buffer.h (sgmlCloseTag): made public.
14559 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14561 * buffer.C (saveParamsAsDefaults):
14562 * lyx_cb.C (MenuLayoutSave): remove
14564 * LyXAction.C (init):
14566 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14568 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14570 * buffer.C (setPaperStuff): removed from here...
14572 * bufferparams.C (setPaperStuff): ... and moved there.
14574 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14578 * XFormsView.C: add support for drop-down completion
14580 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14582 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14585 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14587 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14590 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14592 * lyx_main.C: change ref to known bugs
14594 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14596 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14597 to work around older babel problems.
14599 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14601 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14603 2001-10-24 Juergen Vigna <jug@sad.it>
14605 * tabular-old.C (ReadOld): below variable changes reflected.
14607 * tabular.[Ch]: added ltType struct for longtable header/footer
14608 defines and changed all instances where they are used. Added
14609 future support for double top/bottom rows.
14611 2001-10-24 José Matos <jamatos@fep.up.pt>
14613 * buffer.h (docbookHandleCaption):
14614 * buffer.C (docbookHandleCaption): removed unused function.
14615 (makeDocBookFile): moved docbook supported version to v4.1.
14617 2001-10-24 José Matos <jamatos@fep.up.pt>
14620 * tabular.C (docbookRow): new function to export docbook code of a row.
14621 (DocBook): now honors the longtable flags.
14623 2001-10-23 José Matos <jamatos@fep.up.pt>
14626 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14627 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14629 * buffer.C (makeLinuxDocFile):
14630 (makeDocBookFile): reworked the preamble, more clean, and with
14631 support for lyx defined entities. Changed the document declaration
14632 to be more XML friendly.
14634 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14635 if we need to output XML that should be done with a filter.
14637 2001-10-22 Juergen Vigna <jug@sad.it>
14639 * sp_pspell.h (class PSpell): add alive function needed in the
14640 controller to see if the spellchecker could be started.
14642 2001-10-22 Juergen Vigna <jug@sad.it>
14644 * buffer.C (insertStringAsLines): modify the font for inserting
14645 chars in certain conditions by calling checkInsertChar(font).
14647 2001-10-19 Juergen Vigna <jug@sad.it>
14649 * text.C (workWidth): use getRow instead of wrong algorithm.
14650 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14652 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14657 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14659 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14661 * text.C (workWidth): do not search for the exact row when
14662 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14663 optimization for big documents.
14665 2001-10-18 Juergen Vigna <jug@sad.it>
14667 * text.C (workWidth): new function with added Inset * parameter.
14669 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14671 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14673 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14674 change return type of getColumnNearX.
14677 * text.C (changeRegionCase): use uppercase/lowercase instead of
14680 (rightMargin): simplify code by factoring out the uses of
14685 (appendParagraph): use Paragraph::size_type
14687 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14689 * vspace.C (asLatexString): add a missing break
14691 2001-10-15 Herbert Voss <voss@perce.de>
14693 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14695 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14697 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14700 2001-10-10 André Pönitz <poenitz@gmx.net>
14702 * lyxfunc.C: removed greek_kb_flag.
14704 2001-10-10 Herbert Voss <voss@perce.de>
14706 * lyx_main.C: delete global string help_lyxdir.
14708 2001-10-09 Herbert Voss <voss@perce.de>
14710 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14712 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14714 * lyx_main.C: added global string help_lyxdir.
14716 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14718 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14720 * lyxrc.C (set_font_norm_type): support iso8859-4
14722 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14724 * LaTeX.C (deplog): add another regex for MikTeX
14726 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14728 * lyxrc.C (set_font_norm_type): support iso8859-3
14730 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14732 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14734 * LaTeXFeatures.C: remove special case of french and index
14736 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14737 before \begin{document}). This solves several incompatibilities.
14739 2001-10-03 Garst Reese <reese@isn.net>
14741 * lyx_cb.C: change CheckTex error msg.
14743 2001-10-03 José Matos <jamatos@fep.up.pt>
14745 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14747 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14749 * .cvsignore: update
14751 * lyx_main.C (commandLineVersionInfo): use new style version info.
14753 * buffer.C (writeFile):
14755 (makeLinuxDocFile):
14756 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14758 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14760 * version.h: update to use stuff in version.C
14762 * version.C.in: new file. Contains version information determined
14763 at compile time. This is a merging of version.h and
14766 2001-10-03 Juergen Vigna <jug@sad.it>
14768 * BufferView_pimpl.C (update): don't change "dirty" status in
14771 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14773 * WorkArea.C (c-tor): re-position version string slightly.
14775 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14777 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14778 revert to previous code.
14780 WorkArea.[Ch]: (show, destroySplash): methods removed.
14782 WorkArea.C: rework code so that it's an amalgam of the codes before and
14783 after the splash screen was moved to WorkArea.
14785 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14788 * vspace.C (inPixels):
14791 * buffer.C (insertStringAsLines):
14792 (asciiParagraph): fix types to be large enough
14794 * lyxlex_pimpl.h: change member status from short to int
14796 * layout.h: fix type of endlabeltype
14799 * kbsequence.C (parse): change return type to string::size_type
14801 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14804 * Bullet.C (bulletSize):
14805 (bulletEntry): do not use short ints as parameters
14807 * BufferView2.C (insertLyXFile): change a char to an int.
14809 * WorkArea.C (WorkArea): remove unneeded floats in computation
14811 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14813 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14815 * paragraph.C (asString): Do not ignore newline/hfill chars when
14816 copying to the clipboard.
14818 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14820 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14821 after a multi-line inset.
14823 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14825 * paragraph.C (validate): Set NeedLyXFootnoteCode
14827 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14829 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14830 and decrease-error to decrease.
14832 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14834 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14835 it more readable (should be equivalent)
14837 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14839 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14841 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14843 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14844 of a cursor (row, etc.) after a character has been deleted
14845 (deleteEmptyParagraphMechanism): call the method above on _all_
14846 cursors held by the LyXText when a double space has been
14849 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14851 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14853 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14855 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14856 background. Use greyOut() and the new show() methods to toggle between
14857 the foreground and background. Add code to remove the splash after
14858 its initial showing.
14860 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14861 (create_forms): no longer call Dialogs::showSplash.
14863 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14865 * .cvsignore: add version_info.h
14867 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14869 * version_info.h.in: new file
14871 * Makefile.am: add version_info.h.in
14873 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14874 version_info.h instead of VERSION_INFO
14876 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14878 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14879 The ERT inset now returns string().
14881 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14883 * lyxtext.h, text.C (selectNextWord): renamed as
14884 selectNextWordToSpellcheck.
14886 * text.C (selectNextWordToSpellcheck): Modified to not select
14887 words inside an ERT inset.
14889 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14891 * lyx_cb.C (MenuLayoutSave): change a bit the question
14893 * sp_base.h: include <sys/types.h>
14895 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14897 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14899 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14901 * several files: fix typos in user-visible strings
14903 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14905 * text2.C (pasteSelection): do not set the selection, since it
14906 will be cleared later. Actually, the intent was to fix the way the
14907 selection was set, but I figured rmoving the code was just as good.
14909 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14911 * FontLoader.C (available): Check if font is available without
14914 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14916 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14918 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14920 * lyxrc.[Ch]: added display_graphics variable and associated code.
14922 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14924 * bufferparams.C (hasClassDefaults): new method. Returns true if
14925 the buffer parameters correspond to known class defaults
14927 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14929 * XFormsView.C (show): set minimum size to the main window.
14931 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14933 * text2.C (copySelection):
14935 * lyxfind.C (LyXReplace):
14936 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14937 LyXText::selectionAsString.
14939 * paragraph.C (asString): add "label" argument to the second form
14941 * text2.C (selectionAsString): add "label" argument and pass it to
14942 Paragraph::asString.
14944 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14946 * lyx_main.C (commandLineHelp): remove version information
14948 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14950 * lyx_main.C: add -version commandline option
14952 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14954 * paragraph.h: make the optional constructor arg required instead.
14955 some modifications to other files because of this.
14957 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14959 * lyxserver.C (C_LyXComm_callback): make it static
14961 * lyx_main.C (error_handler): make it static
14963 * lyx_gui.C (LyX_XErrHandler): make it static
14965 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14967 * WorkArea.C: make the extern "C" methods static.
14969 * Makefile.am (lyx_LDADD): simplify
14971 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14973 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14974 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14976 * LyXAction.C (init):
14977 * lyxfunc.C (dispatch): associated code removal.
14979 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14981 * lyxfont.h (isSymbolFont): shut off warning
14983 * text.C (setHeightOfRow):
14984 (getVisibleRow): fix crash with empty paragraphs which have a
14987 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14989 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14992 2001-09-04 José Matos <jamatos@fep.up.pt>
14995 * tabular.C (docbook): rename docBook method to docbook.
14997 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14999 * Makefile.am: add dependencies to main.o.
15001 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15003 * FontLoader.C (available): Return false if !lyxrc.use_gui
15005 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15007 * FontInfo.C (query):
15008 * converter.C (view):
15009 * importer.C (Import):
15010 * exporter.C (Export): Can not -> cannot.
15012 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15014 * BufferView_pimpl.C: allow to create index inset even if
15017 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15019 * buffer.C (getLists): replace boost::tie code with an explicit pair
15020 as boost::tie can break some compilers.
15022 * iterators.h: Added a std:: declaration to the return type of
15025 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15027 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15030 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15032 * iterators.[Ch]: New files. Provide paragraph iterators.
15034 * buffer.C (changeLanguage): Use paragraph iterators.
15035 (isMultiLingual): ditto
15037 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15039 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15041 * FontLoader.C: Support for cmr font.
15043 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15045 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15046 (available): New method.
15048 * FontInfo.C (getFontname): Use scalable fonts even when
15049 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15052 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15054 * converter.C (Formats::view): reverted! Incorrect fix.
15056 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15058 * converter.C (Formats::view): only output the -paper option
15059 if the dvi viewer is xdvi, thereby fixing bug #233429.
15061 2001-08-23 Herbert Voss <voss@perce>
15063 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15065 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15067 * Spacing.h (Spacing): Set space to Default on in the default
15070 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15072 * vc-backend.h (RCS::versionString): add RCS to version
15073 (CVS::versionString): add CVS to version
15075 * vc-backend.C (scanMaster): do not add CVS to version.
15076 (scanMaster): do not add RCS to version
15078 * lyxvc.C (versionString): new method
15080 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15082 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15084 * Spacing.C (set): initialize fval
15086 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15088 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15091 2001-08-16 Juergen Vigna <jug@sad.it>
15093 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15095 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15097 * BufferView_pimpl.C:
15100 * text2.C: setParagraph takes linespacing now
15102 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15104 * LyxAction.C: add internal LFUN_CITATION_INSERT
15106 * LyXView.C: actually apply fix
15108 * bufferlist.C: fix open non-existent file
15110 * lyxfind.C: fix indentation
15112 * lyxfunc.C: remove unneeded assert, fix typo
15114 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15116 * MenuBackend.C: use "Floatname List"
15118 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15120 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15121 when converting LaTeX layout to insetERT.
15122 Generate a non-collapsed float when reading old float
15124 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15126 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15129 2001-08-13 Juergen Vigna <jug@sad.it>
15131 * text.C (fill): return 0 instead of 20 as this seems to be the more
15134 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15136 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15139 2001-08-13 Juergen Vigna <jug@sad.it>
15141 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15143 (SearchBackward): comment out the unlocking of the inset_owner this
15144 should not be needed!
15146 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15148 * Many files: Remove inherit_language, and add latex_language
15150 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15151 collapsible insets.
15153 2001-08-10 Juergen Vigna <jug@sad.it>
15155 * text.C (prepareToPrint): fixed hfill-width in draw!
15157 * BufferView2.C (selectLastWord): save the selection cursor as this
15158 now is cleared in the function LyXText::clearSelection!
15160 2001-08-08 Juergen Vigna <jug@sad.it>
15162 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15163 BACKSPACE type functions.
15165 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15166 is only cutted from the document but not put in the cut-buffer, where
15167 still the old stuff should be.
15169 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15171 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15173 * tabular.C (SetWidthOfCell): fixed special case where the width
15175 (LeftLine): handle '|' in align_special.
15177 (LeftAlreadyDrawed): ditto
15178 (SetWidthOfCell): ditto
15180 2001-08-07 Juergen Vigna <jug@sad.it>
15182 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15184 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15186 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15187 * lyxlex.[hC]: ditto
15189 2001-08-06 Juergen Vigna <jug@sad.it>
15191 * text.C (getVisibleRow): fix up row clearing a bit.
15193 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15195 * minibuffer.C: make sure the X server sees the changes in the input.
15197 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15199 * paragraph.C (getFont): split into...
15200 (getLabelFont): this
15201 (getLayoutFont): and this
15202 * paragraph_pimpl.C (realizeFont): calling this
15204 * text2.C (getFont): split into...
15205 (getLayoutFont): this
15206 (getLabelFont): and this
15207 (realizeFont): all three calling this
15209 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15212 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15214 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15216 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15218 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15219 layouts from the Quote inset insertion.
15221 2001-08-03 Juergen Vigna <jug@sad.it>
15223 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15225 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15226 only if status not is already CHANGED_IN_DRAW (second level).
15228 * text.C (draw): don't set the need_break_row when inside an
15231 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15233 * buffer.C (parseSingleLyXformat2Token): handle more latex
15236 * bufferview_funcs.[hC]: change function names to
15237 begin with small char, adjust other files.
15239 2001-08-02 André Pönitz <poenitz@gmx.net>
15242 BufferView_pimpl.C: remove broken special code for math-greek
15244 2001-08-02 Juergen Vigna <jug@sad.it>
15246 * BufferView_pimpl.C (update): redone this function so that we
15247 update the text again if there was a CHANGE_IN_DRAW.
15249 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15250 (drawFromTo): added a new internal bool which is used by draw() and
15252 (general): some cursor drawing problems fixed.
15254 2001-08-01 Juergen Vigna <jug@sad.it>
15256 * lyxfind.C (LyXFind): fixed
15257 (SearchForward): ditto
15258 (SearchBackward): ditto
15260 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15261 spurius drawing of the cursor in the main area.
15263 * text2.C (status): small fix which could lead to a segfault!
15264 (clearSelection): remove unneeded BufferView param.
15266 2001-08-01 André Pönitz <poenitz@gmx.net>
15268 * lyxfunc.C: small change due to changed mathed interface
15270 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15272 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15274 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15276 * lyxfunc.c: fail gracefully if file doesn't exist
15281 * BufferView_pimpl.C: IsDirWriteable() proto changed
15283 * LyXView.C: fix updateWindowTitle() to store the last title
15285 2001-07-31 Juergen Vigna <jug@sad.it>
15287 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15288 the font (wrong since using of Paragraph::highestFontInRange).
15290 * paragraph.C (highestFontInRange): added a default_size parameter.
15292 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15293 (setHeightOfRow): reformat
15295 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15297 * converter.[hC] + affected files: move to (inital-char)lowercase
15300 * ParagraphParameters.C (ParagraphParameters): remove commented code
15302 * PainterBase.[Ch]: remove commented code
15304 * LaTeXFeatures.h: add "bool floats" for float.sty
15306 * LaTeXFeatures.C (LaTeXFeatures): init floats
15307 (require): handle float
15308 (getPackages): do it with floats
15310 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15312 * BufferView_pimpl.C (Dispatch): improve handling of
15313 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15315 * commandtags.h: #include lyxfont.h here temporarily to avoid
15318 * bufferlist.h: include LString.h here.
15320 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15322 * text2.C (getStringToIndex): new method.
15324 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15326 * *: Reduced header file dependencies all over.
15328 2001-07-30 Baruch Even <baruch@lyx.org>
15330 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15332 2001-07-29 Baruch Even <baruch@lyx.org>
15334 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15336 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15338 * ParameterStruct.h (endif): add a default constructor to make
15339 sure that all variables is initialized.
15341 * ParagraphParameters.C (ParagraphParameters): adjust
15343 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15345 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15346 index; also, check that there is something to index, and that it
15347 does not span over several paragraphs.
15348 (doubleClick): use WHOLE_WORD_STRICT for double click.
15350 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15352 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15355 2001-07-26 Baruch Even <baruch@lyx.org>
15357 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15358 an InsetFig figure, backwards compatible reading of old figure code.
15360 2001-07-27 Juergen Vigna <jug@sad.it>
15362 * text2.C: font.realize function adaption.
15364 * text.C (draw): add a warnings lyxerr text if needed.
15366 * layout.C: font.realize function adaption.
15368 * language.C: add inherit_language and implement it's handlings
15370 * bufferview_funcs.C (StyleReset): remove language parameter from
15371 font creation (should be language_inherit now).
15373 * bufferparams.C (writeFile): handle ignore_language.
15375 * paragraph.C (getFontSettings): the language has to be resolved
15376 otherwise we have problems in LyXFont!
15378 * lyxfont.C (lyxWriteChanges): added document_language parameter
15379 (update): removed unneeded language parameter
15381 * paragraph.C (validate): fixed wrong output of color-package when
15382 using interface colors for certain fonts in certain environments,
15383 which should not seen as that on the final output.
15385 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15387 * BufferView_pimpl.C:
15392 * LyXAction.C: add thesaurus support
15395 * lyxfind.C: add "once" parameter, for thesaurus, to not
15396 move to the next match
15398 2001-07-26 Juergen Vigna <jug@sad.it>
15400 * lyxfont.C (realize): honor ignore_language too!
15403 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15405 * text.C (draw): one place more for ignore_language to not draw
15408 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15410 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15412 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15414 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15415 the minipage conversion problem.
15417 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15419 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15422 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15424 * BufferView.h: don't forward declare WorkArea
15426 * BufferView.C: don't include WorkArea.h
15428 2001-07-25 André Pönitz <poenitz@gmx.net>
15432 * lyxfunc.C: new LFUN 'math-space'
15434 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15436 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15438 * text2.C (toggleInset): call open/close
15440 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15442 * lyxfunc.C (dispatch): add debug for the disabled case
15444 * font.C (buttonText): make similar to rectText
15446 * buffer.C (readInset): comment out parsing of insetlist and
15449 * PainterBase.C (rectText): small correction
15451 * BufferView_pimpl.C: comment out insettheorem and insetlist
15452 * LyXAction.C: ditto
15453 * commandtags.h: ditto
15455 2001-07-24 Juergen Vigna <jug@sad.it>
15457 * text.C (draw): honor the ignore_language.
15459 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15461 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15463 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15466 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15468 * lyxtext.h: remove unused (and unimplemented) methods
15470 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15472 * text.C (getVisibleRow): honor background color
15475 * Painter.h: remove default color argument for fillRectangle
15477 * text.C (backgroundColor): new method
15479 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15481 * text.C (getVisibleRow): adjust
15483 * font.[Ch] (rectText): new method, metrics
15484 (buttonText): new method, metrics
15486 * PainterBase.[hC]: make rectText and buttonText always draw and take
15489 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15491 * ToolbarDefaults.C (read):
15492 * MenuBackend.C (read): allow escaping in all strings
15494 * BufferView_pimpl.C (insertAndEditInset): new method.
15495 (Dispatch): use insertAndEditInset whenever appropriate.
15497 * BufferView_pimpl.C (insertNote): removed
15499 * BufferView_pimpl.C (smartQuote): new method, moved from
15500 BufferView; if an insetquote cannot be inserted, insert a '"'
15503 * BufferView2.C: remove insertCorrectQuote();
15505 * lyxfunc.C (getStatus): Add support for all remaingin
15506 inset-insert lfuns.
15508 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15510 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15511 command (necessary to pass " as parameter of self-insert.
15513 * text.C (selectWordWhenUnderCursor):
15514 (selectWord): add word_location parameter
15515 (selectWordWhenUnderCursor): same + remove special code for word
15517 (selectNextWord): use kind() to guess type of insetspecialchar,
15520 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15521 (insertErtContents): create ert insets as collapsed.
15522 (readInset): better compatibility code for Info inset.
15524 2001-07-20 Juergen Vigna <jug@sad.it>
15526 * lyxfunc.C (dispatch): use always LyXFind now!
15528 * text2.C (init): add a reinit flag so that the LyXText can be
15529 reinited instead of deleted and reallocated (used in InsetText).
15531 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15537 2001-07-18 Juergen Vigna <jug@sad.it>
15539 * text.C (selectNextWord): handle insets inside inset by calling
15540 always the bv->text functions so that we can go up the_locking_inset!
15542 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15543 in strange locations when inside an inset!
15545 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15546 handling to include insets.
15548 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15550 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15552 * LyXAction.C (init):
15554 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15555 LIGATURE_BREAK, since the name is so stupid.
15557 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15559 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15562 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15564 * sp_form.[Ch]: remove.
15566 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15568 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15571 * src/buffer.C (readInset): ditto.
15573 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15575 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15576 menuSeparator(), endOfSentenceDot(), ldots() and
15577 hyphenationPoint(), which are therefore removed.
15578 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15580 * LyXAction.C (init):
15581 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15583 * paragraph.C (getWord): removed.
15585 * BufferView_pimpl.C (Dispatch): use last word or selection for
15586 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15588 * lyx_main.C (queryUserLyXDir): do not ask before creating
15589 user_dir, except if it has been named explicitely.
15591 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15593 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15594 a document of zero size.
15596 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15598 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15599 approriately in the c-tor and in require().
15600 (getPackages): output the appropriate LaTeX for natbib support.
15602 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15603 variables "use_natbib" and "use_numerical_citations" when reading the
15605 (readInset): read the various natbib cite commands.
15606 (validate): white-space change.
15608 * bufferparams.[Ch]: new variables "bool use_natbib" and
15609 "bool use_numerical_citations".
15610 (writeFile): output them in the LyX file.
15612 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15614 * lyxfunc.C (getStatus): add support for all the inset insertion
15617 * text2.C (insertInset):
15618 * paragraph.C (insetAllowed):
15619 * BufferView_pimpl.C (insertInset): update to take in account the
15620 renaming of insertInsetAllowed
15622 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15624 * text2.C (getInset): new method. returns inset at cursor position.
15626 * BufferView_pimpl.C (Dispatch): changes because of this.
15628 * LyXAction.C (init): rename open-stuff to inset-toggle.
15630 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15632 * text2.C (toggleInset): renamed from openStuff; use
15635 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15637 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15639 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15641 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15643 * buffer.C (readLyXformat2): Add filename to the error dialog
15645 2001-07-18 Juergen Vigna <jug@sad.it>
15647 * tabular.C (GetCellNumber): put an assert here instead of the check!
15649 2001-07-17 Juergen Vigna <jug@sad.it>
15651 * BufferView_pimpl.C (toggleSelection): adapted too.
15653 * text.C (selectNextWord): adapted for use with insets.
15654 (selectSelectedWord): ditto
15656 2001-07-17 Juergen Vigna <jug@sad.it>
15658 * sp_spell.C (PSpell): fix initialitation order.
15660 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15662 * paragraph.C: spacing
15664 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15666 * sp_spell.C: repair language selection for pspell
15668 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15670 * lyxfunc.h: change more methods to begin with lower char.
15672 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15674 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15675 for unknown layouts.
15677 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15679 * buffer.C (readLyXformat2): Generate an error dialog if there are
15682 2001-07-16 Juergen Vigna <jug@sad.it>
15684 * sp_spell.C: always compile ISpell part.
15686 * lyxrc.C: added use_pspell entry and it's handling.
15688 2001-07-13 Juergen Vigna <jug@sad.it>
15690 * sp_spell.C: removed double includes.
15692 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15694 Consistent use of Lsstream.h:
15695 * Lsstream.h: added using std::stringstream for consistencies sake.
15697 * buffer.C: removed using std::stringstream
15699 * lyxfont.C (stateText):
15700 * paragraph.C (asString):
15701 * text.C (selectNextWord, selectSelectedWord):
15702 * text2.C (setCounter):
15703 * vspace.C (asString, asLatexString):
15704 std::ostringstream -> ostringstream.
15706 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15708 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15709 * commandtags.h: add LFUN_HELP_ABOUTLYX
15710 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15712 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15714 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15716 * lyx_gui_misc.C: remove spellchecker
15717 * lyxfunc.C: showSpellchecker
15719 * sp_ispell.h: added
15720 * sp_pspell.h: added
15721 * sp_spell.C: added
15722 * sp_form.[Ch]: removed
15723 * spellchecker.[Ch]: removed
15725 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15727 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15729 (simpleTeXSpecialChars): Simply print the input character without
15730 any special translation if pass_thru is set.
15732 * layout.h: Added bool pass_thru to layout class for being able to
15733 implement pass through of a paragraph for Literate Programming.
15735 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15736 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15737 * layout.C (Read): add "passthru" to list of layout tags and add
15738 code to set the pass_thru boolean when it is read.
15740 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15742 * trans_decl.h: remove allowed from KmodInfo
15744 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15745 remove allowed code
15748 * paragraph_pimpl.C (erase): use boost::prior
15750 * Painter.C (text): use data() instead of c_str() when length is
15752 * WorkArea.C (putClipboard): ditto
15753 * font.h (width): ditto
15755 * BufferView2.C: use it-> instead of (*it). for iterators
15757 * paragraph_pimpl.C: ditto
15758 * paragraph.C: ditto
15759 * minibuffer.C: ditto
15760 * language.C: ditto
15762 * encoding.C: ditto
15763 * counters.C: ditto
15764 * converter.C: ditto
15766 * Variables.C: ditto
15767 * TextCache.C: ditto
15768 * MenuBackend.C: ditto
15769 * LyXAction.C: ditto
15771 * FloatList.C: ditto
15772 * DepTable.C: ditto
15773 * ColorHandler.C (LyXColorHandler): ditto
15775 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15777 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15779 * text2.C (openStuff): reintroduce this method (which had been
15780 nuked in NEW_INSETS frenzy).
15782 * lyxfunc.C (Dispatch): when an action has not been handled, use
15783 its name in the error message, not its number.
15785 * paragraph.C (inInset): change method name to begin with lowercase.
15788 * text2.C: updates because of this.
15790 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15792 * ToolbarDefaults.C (add): add spaces in error message
15794 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15796 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15797 (readLyXformat2): rename return_par to first_par, use lyxlex's
15798 pushToken and remove the manual push handling.
15799 (parseSingleLyXformat2Token): add another ert comp. variable:
15800 in_tabular, rename return_par to first_par. handle newlines better
15802 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15804 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15806 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15808 * text2.C (getParFromID): removed
15810 * buffer.C (getParFromID): new method moved form lyxtext.
15811 * BufferView2.C (insertErrors): adjust
15812 (setCursorFromRow): adjust
15813 * BufferView_pimpl.C (restorePosition): adjust
15814 * lyxfunc.C (Dispatch): adjust
15815 * undo_funcs.C (textUndo): adjust
15817 (textHandleUndo): adjust
15818 (textHandleUndo): adjust
15820 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15822 * buffer.C: up' the LYX_FORMAT
15824 * lyxfont.h: turn NO_LATEX on as default
15826 * buffer.C (insertErtContents): new methods of tex style compability.
15827 (parseSingleLyXformat2Token): use it several places.
15828 * tabular.C (OldFormatRead): and here
15830 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15832 * text2.C: remove some commented code.
15835 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15836 * trans.C: changes because of the above.
15838 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15840 * text2.C (setCounter): Fix counters bug with bibliography layout.
15842 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15844 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15845 own member functions
15846 (simpleTeXSpecialChars): ditto
15848 2001-07-06 Juergen Vigna <jug@sad.it>
15850 * a lot of files: changed the access to LyXText::status and the
15851 call of undo-functions.
15853 * undo.[Ch]: added a inset_id to the undo informations.
15855 * undo_funcs.[Ch]: added and moved here all undo functions.
15857 * lyxtext.h: give the status enum a weight, made status_ a private
15858 variable and made accessor functions for it, removed the whole bunch
15859 of undo-functions as they are now in their own file, make some
15860 functions publically available. Added function ownerParagraph with
15863 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15864 made InInset() a const function, added getParFromID() function.
15866 * buffer.[Ch]: added const version for inset_iterator functions,
15867 added getInsetFromID() function.
15869 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15870 changed undo functions for new version.
15872 2001-07-05 Juergen Vigna <jug@sad.it>
15874 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15875 unknow mechanism does not call the proper constructor but only this
15876 one also if I request the other!?
15878 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15880 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15882 * text2.C (LyXText): use initialization lists.
15884 * lyxtext.h (Selection): initialize set_ and mark_
15885 (init): remove method
15887 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15889 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15891 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15893 * screen.[Ch]: change method names to begin with lowercase
15895 * BufferView_pimpl.C (updateScrollbar): simplify further and
15896 hopefully make it a bit faster.
15898 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15900 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15901 calling directly xforms functions.
15903 * Painter.C (Painter):
15904 * lyx_cb.C (MenuWrite):
15905 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15908 * lyx_gui.C: remove bogus guiruntime extern declaration.
15910 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15912 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15914 (redoDrawingOfParagraph): ditto
15915 (redoParagraphs): ditto
15916 (cutSelection): don't create a object for CutAndPaste use the
15917 static method directly
15918 (pasteSelection): ditto
15920 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15923 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15925 * modifications to some other files because of this.
15927 * Makefile.am (lyx_SOURCES): add XFormsView
15929 * XFormsView.[Ch]: new files
15931 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15932 the main window. Move the gui dependent stuff to XFormsView
15934 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15936 * tabular.C (GetCellInset): update cur_cell also in the row/col
15937 version of this function.
15939 * lyxfunc.C: no need to include figure_form.h here.
15945 * lyxvc.C: no need to include forms.h here.
15947 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15949 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15951 * lyxfunc.C (Dispatch):
15953 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15954 constructor argument.
15956 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15958 * paragraph.C (Paragraph): dont't clear, and just set layout.
15959 (makeSameLayout): use params's copy contructor.
15961 * ParagraphParameters.[Ch] (makeSame): delete method
15963 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15965 * Variables.[Ch]: fix indentation, rename set to isSet
15967 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15969 * lyxfunc.C (Dispatch): fix typo
15971 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15973 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15976 * bufferlist.C: include assert.h for emergencyWrite().
15978 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15980 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15981 give up at last (bug #425202) !
15983 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15989 * spellchecker.C: strip spellchecker options and bring up
15990 preferences tab instead
15992 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15994 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15995 the istringstream constructor
15997 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15999 * paragraph.C (getLayout): fix return value
16001 * paragraph.h: do not declare getLayout as inline.
16003 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16005 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16007 * lyxcursor.h (operator<): new func
16008 (operator>): new func
16009 (operator>=): new func
16010 (operator<=): new func
16012 * text.C (changeCase): use selection.start and selection.end
16013 (changeRegionCase): require from to be <= to. Require par to be a
16016 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16018 2001-06-27 Juergen Vigna <jug@sad.it>
16020 * text.C (cursorLeftOneWord): changed to return the cursor and added
16021 overlay with BufferView * parameter which calls this one.
16023 (selectWord): use new getWord function.
16024 (changeCase): renamed from changeWordCase as and extended to work
16025 also on selections.
16027 * lyxtext.h: added enum word_location
16029 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16030 changeCase as this operates now also on selections.
16032 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16034 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16036 * many files: send debug output to Debug::INFO instead of
16039 * converter.C (View):
16041 (Move): send debug output to Debug::FILES instead of console.
16043 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16045 * lyxfunc.C (getStatus): use func_status
16047 * func_status.h: new header, describing the results of
16048 LyXFunc::getStatus;
16050 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16053 2001-06-25 The LyX Project <jug@sad.it>
16055 * buffer.C (sgmlOpenTag):
16057 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16059 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16061 * text2.C: remove some dead code
16063 * tabular.C (GetCellInset): store the last cell checked (gotten)
16065 * tabular.h: add the helper for the speedup
16067 * lyxtext.h: remove some dead code
16069 2001-06-26 The LyX Project <Asger>
16071 * paragraph.C: Change export to LaTeX of alignment to
16072 \begin{center} and family for better roundtrip work with reLyX.
16074 * Tune the math drawing a bit.
16076 2001-06-25 The LyX Project <Asger>
16078 * LColor.C (LColor): New color for math background. New color
16081 2001-06-25 The LyX Project <jug@sad.it>
16083 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16085 * lyxfunc.C (Open):
16086 * bufferlist.C (newFile): do not restrict to files ending with
16089 * BufferView_pimpl.C (MenuInsertLyXFile):
16091 2001-06-24 The LyX Project <jug@sad.it>
16093 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16096 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16098 * lyxtext.h: rename most methods to begin with a small char.
16099 Lots of changes because of this.
16101 * paragraph.C (Paragraph): do not call fitToSize
16102 (erase): call Pimpl::erase
16103 (insertChar): call Pimpl::insertChar
16104 (insertInset): call Pipl::insertInset
16105 (breakParagraph): do not call fitToSize
16106 (breakParagraphConservative): do not call fitToSize
16107 (fitToSize): remove method
16109 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16111 2001-06-24 The LyX Project <Asger>
16113 * Fix Qt compilation^2
16115 2001-06-24 The LyX Project <jug@sad.it>
16117 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16118 depthHook(getDepth()-1).
16121 * ParagraphParameters.h:
16122 * ParameterStruct.h: change type of depth to unsigned int ==
16123 depth_type. Many adaptations to other files before of that.
16125 2001-06-24 The LyX Project <Asger>
16127 * Fix Qt compilation.
16129 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16131 * paragraph.h: renamed several methods to begin with small letter.
16132 several changes to many parts of the code because of this.
16134 2001-06-23 The LyX Project <jug@sad.it>
16136 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16137 rewritten to discard all double spaces when KeepEmpty is off
16138 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16139 to only handle newlines but not fiddle with spaces and friends.
16141 * lyxfunc.C (MenuNew): when doing 'new from template', use
16142 template_path as default directory
16144 2001-06-23 The LyX Project <Asger>
16146 * Clean-up of header file includes all over
16147 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16149 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16151 * paragraph.h: renamed from lyxparagraph.h
16153 2001-06-23 Asger <lyx@violet.home.sad.it>
16155 * Buffer.h: Removed Buffer::resize
16156 * BufferList.h: Removed BufferList::resize
16157 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16158 the document lazily when we change the width, or the font settings.
16160 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16162 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16164 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16166 * buffer.h: remove out of date comment
16168 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16171 * screen.C: fix "theoretical" GC leak
16173 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16175 * LaTeX.C (scanAuxFile):
16176 (deplog): remove trailing \r when reading stream (useful under
16179 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16181 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16182 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16183 and BufferView::theLockingInset(Inset*), so should use them and not
16184 access bv_->text->the_locking_inset directly.
16186 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16188 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16191 * tex-defs.h: remove old unused file
16193 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16195 * BufferView_pimpl.C: fix typo, remove minibuffer message
16196 when buffer has loaded
16198 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16200 * lyxfunc.C (Dispatch): use stringstream
16201 (MenuNew): use stringstream
16202 (Open): use stringstream
16204 * importer.C (Import): use stringstream
16206 * bufferview_funcs.C (CurrentState): use stringstream
16208 * LaTeX.C (run): use stringstream
16210 * BufferView_pimpl.C (savePosition): use stringstream
16211 (restorePosition): use stringstream
16212 (MenuInsertLyXFile): use stringstream
16214 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16227 * vspace.C: removed // -*- C++ -*- as first line.
16230 * version.h: added // -*- C++ -*- as first line.
16232 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16234 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16236 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16239 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16241 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16244 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16246 * gettext.C: include LString.h even when --disable-nls is on.
16248 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16250 * converter.h (Get): changed argument type from int to
16251 FormatList::size_type to avoid unnecessary conversion.
16253 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16256 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16258 * gettext.h: include LString.h even when --disable-nls is on.
16260 2001-06-07 Juergen Vigna <jug@sad.it>
16262 * text.C (BreakAgain): subst spaces with tabs.
16264 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16265 (resizeInsetsLyXText): set force on resizeLyXText.
16267 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16269 * gettext.h (gettext_init):
16270 (locale_init): use a real definition instead of a macro
16272 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16274 * Bufferview_pimpl.C:
16276 * LColor.C: further lcolor tidies
16278 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16280 * BufferView_pimpl.C (updateScrollbar): simplify.
16282 * BufferView2.C: don't include insets/insetinfo.h, change
16283 prototype for insertInset and call the Pimpl version. let
16284 updateInset call Pimpl version.
16286 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16287 gotoInset to BufferView::Pimpl
16289 2001-06-01 Juergen Vigna <jug@sad.it>
16291 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16292 inside a LockingInset (is the update needed at all?).
16294 2001-05-31 Juergen Vigna <jug@sad.it>
16296 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16297 here not the old one otherwise how should we compare it afterwards
16300 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16305 * FontInfo.C: bring C functions into global namespace when
16308 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16310 * LString.h: make sure config.h has been loaded before LString.h.
16312 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16313 (one for each char read by EatLine!).
16315 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16318 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16320 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16321 to the same as the par we break from
16323 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16325 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16327 * MenuBackend.C (expand): also create menu entries for wide
16328 versions of the floats.
16330 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16332 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16334 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16335 frontends/Makefile.am
16341 * tabular.C (getTokenValue): add std::
16343 * tabular-old.C (getTokenValue): add std::
16344 (getTokenValue): ditto
16345 (getTokenValue): ditto
16347 * screen.C (ToggleSelection): adjust
16349 * lyxtext.h: put selection cursors inside a Selection struct.
16351 * lyxfunc.C (moveCursorUpdate): adjust
16353 * lyxfont.C (latexWriteStartChanges): add std::
16355 * lyxfind.C: adjust
16357 * font.h: delete with(char const *, LyXFont const &)
16359 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16361 * FontInfo.C (getFontname): add std::
16363 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16364 (workAreaButtonPress): adjust
16365 (tripleClick): adjust
16367 (moveCursorUpdate): adjust
16370 * BufferView2.C (gotoInset): adjust
16372 2001-05-30 Juergen Vigna <jug@sad.it>
16374 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16375 to check pspell I add this as default as I now have new pspell
16376 libraries and they seem to use this.
16378 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16380 * text2.C (CutSelection): make the cursor valid before the call to
16383 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16385 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16386 relied on 0 terminated strings and other horrors. Bug found due to
16387 the new assert in lyxstring!
16389 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16392 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16394 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16397 * lyxfunc.C (processKeySym): change method of getting to the
16400 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16401 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16402 * BufferView_pimpl.[Ch]: here as private methods.
16404 2001-05-28 Juergen Vigna <jug@sad.it>
16406 * text.C (SetHeightOfRow): added the update() call again as it is
16407 needed to initialize inset dimensions!
16409 2001-05-16 Juergen Vigna <jug@sad.it>
16411 * text2.C (SetCharFont): Add new function with BufferView * and
16412 bool toggleall parameters for setting insets internal fonts.
16413 (SetFont): Freeze the undo as we may change fonts in Insets and
16414 all this change should be inside only one Undo!
16416 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16417 setting font's in insets as for them we have the SetFont function!
16419 2001-05-15 Juergen Vigna <jug@sad.it>
16421 * text2.C (ClearSelection): to be sure we REALLY don't have any
16424 * tabular.C (TeXCellPreamble): fixed the left border problem for
16427 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16429 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16432 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16434 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16435 LFUN_BREAKPARAGRAPH.
16437 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16438 help test to "internal only", similar for LFUN_INSERT_URL
16440 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16441 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16442 auto_region_delete and deadkeys.
16444 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16447 * LColor.C: remove some dead entries, tidy a little
16449 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16451 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16453 (Dispatch): implement LFUN_ESCAPE
16455 * commandtags.h: add LFUN_ESCAPE
16457 * LyXAction.C (init): add entry for LFUN_ESCAPE
16459 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16460 Remove commented code.
16461 (insertNote): moved here
16462 (open_new_inset): moved here
16464 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16467 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16469 * kbmap.C (findbinding): clean it up and make it work correctly.
16471 * lyx_main.C (init): do not pass argc and argv as parameters
16473 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16475 * buffer.C: fix path for OS/2 & Win32
16479 * lyx_main.C: Added os:: class.
16481 * os2_defines.h: update
16483 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16485 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16486 better by trying again with reduced state.
16488 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16490 * lyxrc.C (read): print error about invalid key sequence only when
16491 debugging (because not all latinX keysyms are known to some X
16494 * kbsequence.C (getiso): add a few std:: qualifiers
16495 (getiso): comment out extra return statement.
16497 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16499 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16501 (Dispatch): enhance the accent inset a bit. (not perfect)
16503 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16505 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16507 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16509 * bufferlist.C (emergencyWrite): fix assert() call
16511 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16513 * text.C (InsertChar): Added trivial patch to only send the "you
16514 can not do multiple spaces this way" message once during a
16517 2001-05-08 Baruch Even <baruch@lyx.org>
16519 * Makefile.am: Changed order of libraries to get LyX to link properly
16520 with the gnome frontend.
16522 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16524 * LaTeXFeatures.h: add a std:: qualifier
16526 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16528 * paragraph.C (String): use stringstream
16530 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16532 * paragraph.C (writeFile): remove footflag arg
16534 * buffer.C (makeLaTeXFile): use stringstream
16535 (latexParagraphs): remove footnot gurba
16537 * LaTeXFeatures.C (getPackages): use stringstream
16538 (getMacros): likewise
16539 (getTClassPreamble): likewise
16540 (getFloatDefinitions): new method
16542 * paragraph.C (writeFile): reindent
16545 * WorkArea.h: revert the xpos + etc changes.
16547 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16549 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16551 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16552 (pasteSelection): likewise
16553 * text2.C (CreateUndo): likewise
16555 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16557 * minibuffer.C (peek_event): temporarily reduce the functionality
16558 of the minibuffer (to allow args on lfuns)
16560 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16561 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16563 * buffer.C (readInset): add compability reading of old float
16564 lists, add reading of new style float list.
16565 (readInset): avoid reevaluation of inscmd.getCmdName()
16566 (getLists): reindent
16568 * MenuBackend.C (MenuItem): implement parsing of
16569 md_floatlistinsert and md_floatinsert.
16570 (expand::LastFiles): move initalizaton of iterators out of loop,
16571 avoid reevaluation.
16572 (expand::Documents): introduce typdedef vector<string> Strings,
16574 (expand::ExportFormats): introduce typedef vector<Format const *>
16575 Formats, and use it.
16576 (expand): implement FloatListInsert and FloatInsert.
16578 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16579 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16580 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16582 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16584 (Dispatch::LFUN_FLOAT_LIST): implement
16586 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16588 * LaTeX.C (run): Fix problem with --export code.
16590 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16592 * BufferView.[Ch] (workarea): removed.
16593 (getClipboard) new method; wrapper for workarea()->getClipboard()
16595 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16598 * WorkArea.h (width, height, xpos, ypos): These methods all
16599 returned the dimensions of the work_area sub-area of WorkArea,
16600 resulting in a position error if the WorkArea were resized. Now
16601 return the dimensions of the entire WorkArea.
16603 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16605 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16607 * LaTeX.C (deplog): correct the syntax of regex reg1
16609 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16611 * undo.C: remove !NEW_INSETS cruft
16613 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16615 * text2.C: remove !NEW_INSETS cruft
16617 * text.C: remove !NEW_INSETS cruft
16619 * tabular.C: remove !NEW_INSETS cruft
16621 * spellchecker.C: remove !NEW_INSETS cruft
16623 * lyxtext.h: remove !NEW_INSETS cruft
16625 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16627 * lyxfunc.C: remove !NEW_INSETS cruft
16629 * lyxfind.C: remove !NEW_INSETS cruft
16631 * lyx_cb.C: remove !NEW_INSETS cruft
16633 * figureForm.C: remove !NEW_INSETS cruft
16635 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16637 * buffer.[Ch]: remove !NEW_INSETS cruft
16639 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16641 * CutAndPaste.C: remove !NEW_INSETS cruft
16643 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16645 * BufferView2.C: remove !NEW_INSETS cruft
16647 * BufferView.h: remove !NEW_INSETS cruft
16649 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16651 * Lsstream.h: include LString.h before the sstream headers to
16652 fix problem with gcc 2.95.3 and lyxstring
16654 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16656 * lyx_main.C: add using directives when needed for C functions
16657 declared in std:: namespace.
16659 2001-04-27 Juergen Vigna <jug@sad.it>
16661 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16662 (SetHeightOfRow): comment out the update call should not be needed!
16664 2001-04-13 Juergen Vigna <jug@sad.it>
16666 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16667 (LyXTabular): tried to minimize operator= operations (and realized
16668 hopfully Lars wish).
16670 2001-04-27 Juergen Vigna <jug@sad.it>
16672 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16674 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16676 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16678 * buffer.C (readInset): hack to make listof algorithm work
16680 * BufferView_pimpl.C: hack to make listof algorithm work
16682 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16684 * LyXAction.C: removed all !NEW_INSETS cruft
16685 (init): moved lfun_item in method
16687 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16689 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16691 * BufferView2.C (theLockingInset): white space.
16693 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16695 * minibuffer.C: include <iostream>
16697 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16699 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16701 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16703 * text.[Ch] (TransposeChars): new method
16705 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16707 * call message directly through LyXView instead of through LyXFunc
16708 * BufferView2.C: adjust
16709 * BufferView_pimpl.C: adjust
16710 * FontLoader.C: adjust
16712 * bufferview_funcs.C: adjust
16713 * converter.C: adjust
16714 * figureForm.C: adjust
16715 * importer.C: adjust
16717 * lyx_gui_misc.C: adjust
16718 * lyxfunc.C: adjust
16721 + more files in subdirs
16723 * lyxparagraph.h (size): move up int file
16726 * adjust all uses of Assert to lyx::Assert.
16728 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16729 lyxfunctional in namespace lyx
16730 * layout.C (hasLayout): ditto
16733 (delete_layout): ditto
16734 (NumberOfClass): ditto
16735 * converter.C (GetFormat): ditto
16740 * bufferlist.C (getFileNames): ditto
16741 (emergencyWriteAll): ditto
16744 * MenuBackend.C (hasSubmenu): ditto
16747 * BufferView_pimpl.C (getInsetByCode): ditto
16749 2001-04-18 Juergen Vigna <jug@sad.it>
16751 * vspace.C (asLatexString): fixed the 100% problem.
16753 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16755 * lyxfunc.C (Dispatch):
16757 * minibuffer.h: add a few std:: qualifiers
16759 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16761 * minibuffer.[Ch]: reimplement so that commands is initiated and
16762 run from lyxfunc, simplified som handling, and made the completion
16763 and history code for complete. wip.
16765 * lyxfunc.C (processKeySym): call message
16766 (miniDispatch): new temporary method
16767 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16768 (LFUN_MESSAGE): implement
16769 (LFUN_MESSAGE_PUSH): implement
16770 (LFUN_MESSAGE_POP): implement
16771 (initMiniBuffer): the initial/defualt minibuffer message.
16773 * lyxfont.[Ch]: inline some more getters
16775 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16777 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16779 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16780 (AutoSave): use LFUN_MESSAGE
16781 (Reconfigure): ditto
16783 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16785 * figureForm.C: use LFUN_MESSAGE
16787 * converter.C (runLaTeX): use LFUN_MESSAGE
16789 * bufferview_funcs.C: use LFUN_MESSAGE
16791 (changeDepth): ditto
16793 * bufferparams.h: use boost::
16795 * bufferlist.h: inherit privately from noncopyable
16797 * bufferlist.C (loadLyXFile): remove some commented code.
16799 * buffer.C (runChktex): use LFUN_MESSAGE
16801 * ShareContainer.h: inherit privately from noncopyable
16803 * ParagraphParameters.[hC] (depth): inline it.
16805 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16807 (message): new method
16808 (messagePush): ditto
16809 (messagePop): ditto
16810 (show): init minibuffer
16811 (showState): direct call
16813 * LaTeX.[Ch]: inherit privately from noncopyable
16814 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16815 instead of WriteStatus.
16817 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16819 * BufferView_pimpl.C (buffer): don't init minibuffer
16820 (workAreaButtonPress): use LFUN_MESSAGE
16821 (workAreaButtonRelease): ditto
16822 (savePosition): ditto
16823 (restorePosition): ditto
16824 (MenuInsertLyXFile): ditto
16825 (workAreaExpose): don't init minibuffer
16826 (update): remove commented code, simplify
16828 * BufferView2.C (openStuff): use LFUN_MESSAGE
16829 (toggleFloat): ditto
16832 (copyEnvironment): ditto
16833 (pasteEnvironment): ditto
16838 (updateInset): remove some commented code
16840 * lastfiles.h: inherit privately from noncopyable
16843 * lyx_main.h: ditto
16845 * lyxlex_pimpl.h: ditto
16847 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16848 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16849 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16851 * LyXAction.h: inherit privately from noncopyable, add methods
16852 func_begin, func_end, returning iterators to the func map.
16854 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16855 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16856 (func_begin): new method
16857 (func_end): new method
16859 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16861 (copySelection): ditto
16862 (pasteSelection): ditto
16864 * BufferView.C: whitespace change
16865 * BufferView.h: inherit privately from noncopyable
16867 2001-04-16 Allan Rae <rae@lyx.org>
16869 * tabular-old.C (l_getline):
16870 * spellchecker.C (sc_check_word):
16871 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16872 an unrecognised preprocessor directive. So ensure they're wrapped.
16874 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16876 * src/exporter.C (Export): Give an error message when path to file
16879 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16881 * LaTeX.C (deplog): Always check that foundfile exists.
16883 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16886 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16888 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16890 * tabular.[Ch] (getLabelList): implement new method
16892 * minibuffer.h: comment ouf setTiimer
16894 * minibuffer.C (ExecutingCB): constify res
16895 (peek_event): constify s
16896 (Set): constify ntext
16897 (Init): constify nicename
16899 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16901 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16902 (savePosition): use two params to Minibuffer::Set
16903 (restorePosition): ditto
16905 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16907 * lyx_main.C: include language.h
16909 * Makefile.am (lyx_main.o): add language.h
16911 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16917 * CutAndPaste.C: include gettext.h
16919 * lyxfont.h: remove old hack with ON and OFF.
16922 * lyxfont.h: do not include language.h...
16927 * bufferview_funcs.C:
16933 * paragraph.C: ... but do it here instead
16935 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16937 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16939 * tabular.C: small reformat
16941 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16944 (BreakParagraph): ditto
16945 (SetOnlyLayout): ditto
16948 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16951 * lastfiles.C: removed most using decl, add std:: where needed
16953 * buffer.C: ws changes
16955 * MenuBackend.C (class compare_format): put into anon namespace
16956 (expand): constify label, names, action, action2
16959 * text.C (SingleWidth): constify font
16960 (IsBoundary): constify rtl2
16961 (GetVisibleRow): constify ww
16963 * LaTeX.C (deplog): constify logfile
16965 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16967 (workAreaExpose): constify widthChange, heightChange
16969 * lyxrow.C (par): moved
16972 * lyxrow.h: as inlines here
16974 * lyxfont.h (shape): moved from lyxfont.C
16975 (emph): moved from lyxfont.C
16977 * lyxfont.C (LyXFont): use initialization list for all
16979 (shape): move to lyxfont.h as inline
16980 (emph): move to lyxfont.h as inline
16983 2001-04-04 Juergen Vigna <jug@sad.it>
16985 * vspace.C: had to include stdio.h for use of sscanf
16987 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16990 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16991 independent of xforms.
16993 2001-04-02 Juergen Vigna <jug@sad.it>
16995 * spellchecker.C: fixed namespace placing!
16997 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16999 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17000 the LyXParagraph * is 0.
17002 2001-03-29 Juergen Vigna <jug@sad.it>
17004 * vspace.C: added support for %, c%, p%, l%.
17005 (stringFromUnit): added helper function.
17006 (asLatexString): changed to give right results for the %-values.
17008 * buffer.C: convert the widthp in a width%.
17010 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17012 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17015 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17016 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17018 * lyx_cb.[Ch]: see above.
17020 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17024 * lyx.[Ch]: replaced by figure_form.[Ch].
17028 * lyxfunc.C: changed headers associated with above changes.
17030 2001-03-27 Juergen Vigna <jug@sad.it>
17032 * BufferView_pimpl.C: set the temporary cursor right!
17034 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17036 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17038 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17040 * LString.h: removed "using std::getline"!
17042 * BufferView_pimpl.C (Dispatch): changes due to changes in
17043 InsetInclude::Params.
17045 * buffer.C (tag_name): removed redundant break statements as they were
17046 producing lots of warnings with my compiler.
17048 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17050 * LString.h: add "using std::getline" when using the real <string>.
17052 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17054 * buffer.C: removed bitset usage.
17055 PAR_TAG moved to an anonymous name space.
17056 (tag_name): new funtion, also in the anonymous namespace.
17057 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17058 (makeDocBookFile): clean code. Completed transition from string arrays
17060 (SimpleDocBookOnePar): code clean.
17062 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17064 * tabular.C: add some comments.
17066 2001-03-22 Juergen Vigna <jug@sad.it>
17068 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17069 compatibility read a bit and fixed bug with minipage in different
17072 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17074 * buffer.C (pop_tag): removed.
17075 (push_tag): removed.
17076 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17077 array replaced with vector. Added support for CDATA sections.
17078 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17080 (makeDocBookFile): XML conformant declaration of CDATA section,
17081 fixed bug related to <emphasis> in the first paragraph char.
17082 (sgmlOpenTag): exclude empty tags.
17083 (sgmlCloseTag): ditto.
17085 * buffer.h (pop_tag): removed.
17086 (push_tag): removed.
17088 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17090 * language.h (Languages): added size_type and size().
17092 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17094 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17095 response on compability reading of minipages. One probliem is that
17096 the old usage of minipages was «flertydig»
17098 * several files here and in subdirs: don't use static at file
17099 scope use anon namespaces instead.
17101 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17103 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17104 LaTeX output. This is necessary for Literate document
17107 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17109 * buffer.C: insert hfill when needed.
17111 * tabular.C (l_getline): use string::erase, small whitespace change.
17113 * BufferView_pimpl.C: try the anon namespace.
17114 * WorkArea.C: ditto
17116 2001-03-16 Juergen Vigna <jug@sad.it>
17118 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17119 otherwise it won't open options-dialogs.
17121 * buffer.C: honor pextraWidth(p) on converting minipages.
17123 * tabular.C (l_getline): changed the functions to strip trailing \r.
17125 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17127 * BufferView_pimpl.C:
17128 * minibuffer..C: added "using SigC::slot" declaration.
17130 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17132 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17138 * paragraph.C: ditto
17140 * lyxtext.h: NO_PEXTRA
17142 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17144 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17145 * ParameterStruct.h: ditto
17146 * ParagraphParameters.h: ditto
17147 * lyxparagraph.h: ditto
17149 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17151 * buffer.C: add compability for minipage alignment.
17152 (latexParagraphs): remove unwanted pextra check.
17154 * several files: remove CXX_WORKING_NAMESPACES
17156 * buffer.C (pop_tag): tie is in namespace boost
17158 * BufferView.h: noncopyable is in namespace boost
17160 * lyx_main.h: ditto
17163 * lastfiles.h: ditto
17164 * bufferlist.h: ditto
17165 * ShareContainer.h: ditto
17167 * LyXAction.h: ditto
17170 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17172 * Merging changes from BRANCH_MVC back into HEAD.
17174 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17176 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17178 * BufferView_pimpl.C: change from intl.C
17182 * Makefile.am: move combox.*
17188 * intl.C: remove dialog (covered by prefs)
17190 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17192 * lyxfunc.C (Dispatch): removed redundant break statement.
17194 2001-03-14 Juergen Vigna <jug@sad.it>
17196 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17198 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17200 * buffer.C: add hack to fix compability reading of minipages.
17202 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17204 * buffer.C (getLists): Cleanup.
17206 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17208 * lyxfont.C (update): don't honor toggleall on font size.
17210 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17214 * Makefile.am: moved to frontends/xforms/
17218 * BufferView_pimpl.C: changes for moved mathpanel
17220 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17222 * gettext.h: fix gettext_init() in --disable-nls
17224 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17226 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17228 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17231 * lyx.h: strip external form
17233 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17235 * BufferView_pimpl.C: add comment, destroySplash()
17237 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17239 * BufferView_pimpl.C:
17243 * lyxfunc.C: use re-worked insetinclude
17245 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17247 * buffer.C: add using std::stringstream.
17249 * lyx_cb.C: readd using std::ios.
17251 * buffer.C: add using std::map.
17253 * BufferView_pimpl.C: add using std::vector.
17255 * ShareContainer.h: add std:: to swap.
17257 * buffer.h: add some typedefs
17258 * buffer.C (getLists): use them
17259 (getLists): renamed from getTocList.
17260 add a counter for the different float types and use it in the
17262 (getLists): use the same counter for the NEW_INSETS and the "non"
17265 * lyx_cb.h: remove unused items, includes, using etc.
17267 * ShareContainer.h: remove some commented code, add more comments
17268 and "documentation".
17270 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17272 * buffer.C (getTocList): make the list also when NEW_INSETS is
17275 * buffer.h: remove TocType
17277 * buffer.C (getTocList): change to return a map<string,
17278 vector<TocItem> >, implement for dynamic number of list.
17280 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17281 * text2.C (PasteSelection): adjust
17282 * CutAndPaste.C (pasteSelection): adjust
17284 * FloatList.C (FloatList): update from the new_insets branch.
17285 * Floating.[Ch]: ditto
17286 * LaTeXFeatures.C: ditto
17288 * lyxlex_pimpl.C: ditto
17290 * paragraph.C (Last): remove when NEW_INSETS is defined.
17292 * other file: changes because of the above.
17294 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17296 * lyxparagraph.h: rename next to next_, previous to previous_,
17297 make them private for NEW_INSETS. Rename Next() to next(),
17298 Previous() to previous().
17300 * other files: changes because of the above.
17302 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17305 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17308 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17310 * main.C (main): pass lyx_localedir to gettext_init().
17312 * gettext.h: remove locale_init and gettext_init macros
17314 * gettext.C (locale_init): new function
17315 (gettext_init): new function
17317 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17320 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17322 * Moved credits to frontends:
17323 * credits.[Ch]: removed
17324 * credits_form.[Ch]: removed
17325 * lyx_gui_misc.C: remove credits stuff
17328 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17330 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17332 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17333 unneeded destructor.
17335 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17336 a standalone pointer again.
17338 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17340 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17346 * ToolbarDefaults.C:
17355 * BufferView_pimpl.C: use new file dialog in GUII
17358 * lyx_cb.C: remove LayoutsCB to Toolbar
17360 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17362 * ShareContainer.h (get): add std:: qualifier
17364 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17366 * ShareContainer.h: define a proper ShareContainer::value_type
17367 type (and use typename to please compaq cxx)
17369 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17371 * lyxparagraph.h: move serveral local vars to
17372 ParameterStruct/ParagraphParameters., use ShareContainer in
17373 FontTable., make vars in FontTable private and add getter and
17376 * paragraph.C: changes because of the above.
17378 * lyxfont.h: remove copy constructor and copy assignment. (the
17379 default ones is ok), move number inside FontBits. move inlines to
17382 * lyxfont.C: add number to initializaton of statics, move several
17383 inlines here. constify several local vars. some whitespace
17384 cleanup. Dont hide outerscope variables.
17386 * Spacing.h: add two new constructors to match the set methods.
17388 * ShareContainer.h: new file, will perhaps be moved to support
17390 * ParameterStruct.h: new file
17392 * ParagraphParameters.h: new file
17394 * ParagraphParameters.C: new file
17396 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17397 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17399 * BufferView_pimpl.C: ParagraphParameter changes.
17400 * buffer.C: Likewise.
17401 * bufferview_funcs.C: Likewise.
17402 * text.C: Likewise.
17403 * text2.C: Likewise.
17405 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17407 * lyxfind.C (LyXReplace): do not redefine default argument in
17409 (IsStringInText): ditto
17410 (SearchForward): ditto
17411 (SearchBackward): ditto
17413 2001-03-06 Juergen Vigna <jug@sad.it>
17415 * lyxfind.C (IsStringInText): put parentes around expressions.
17417 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17419 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17421 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17423 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17425 * stl_string_fwd.h: add comment
17427 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17430 * tabular.C: remove unused DocBook methods
17436 killed DO_USE_DEFAULT_LANGUAGE
17438 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17440 * lyx_gui.C: do not include language.h.
17442 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17443 arguments in function implementation.
17445 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17447 * BufferView_pimpl.C: add <ctime>
17449 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17451 * BufferView_pimpl.C: add using std::find_if
17453 2001-02-27 José Matos <jamatos@fep.up.pt>
17455 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17458 2001-02-11 José Matos <jamatos@fep.up.pt>
17460 * buffer.C (makeDocBookFile): command styles now have a parameter as
17461 "title" by default.
17463 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17465 * layout_forms.[Ch]: removed
17466 * lyx_cb.[Ch]: out character
17467 * lyx_gui.C: out character
17468 * lyx_gui_misc.C: out character
17469 * bufferview_funcs.C: : out character,
17470 added toggleall as parameter in ToggleAndShow
17472 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17474 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17476 * text2.C (SetCurrentFont): Disable number property at boundary.
17478 2001-02-26 Juergen Vigna <jug@sad.it>
17480 * lyxfunc.C (getStatus): added a string argument override function so
17481 that this is correctly called from LyXFunc::Dispatch if it contains a
17482 do_not_use_argument which is used!
17483 (Dispatch): added check for "custom" export and call appropriate func.
17485 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17487 * lyxrc.C: Add language_command_local, language_use_babel and
17488 language_global_options.
17490 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17492 * buffer.C (makeLaTeXFile): Use language_use_babel and
17493 language_global_options.
17495 2001-02-23 Juergen Vigna <jug@sad.it>
17497 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17498 which works with LyXText and putted it inside BufferView. Here now we
17499 only call for that part the BufferView::Dispatch() function.
17501 * BufferView.C (Dispatch): added.
17503 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17504 functions which needs to use a LyXText over from LyXFunc.
17505 (MenuInsertLyXFile): added
17506 (getInsetByCode): added
17507 (moveCursorUpdate): added
17508 (static TEXT): added
17510 2001-02-22 Juergen Vigna <jug@sad.it>
17512 * BufferView_pimpl.C (update): call a status update to see if LyXText
17515 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17517 * vc-backend.C (revert): implement for CVS
17518 (getLog): implement for CVS
17520 2001-02-20 Juergen Vigna <jug@sad.it>
17522 * text2.C (ClearSelection): added BufferView param for inset_owner call
17524 * lyxfunc.C (TEXT): added this function and use it instead of
17525 directly owner->view()-text of getLyXText().
17527 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17529 * src/layout_forms.C: out preamble
17530 * src/layout_forms.h: out preamble
17531 * src/lyx_cb.C: out preamble
17532 * src/lyx_cb.h: out preamble
17533 * src/lyx_gui.C: out preamble
17534 * src/lyx_gui_misc.C: out preamble
17535 * src/lyxfunc.C: connect with guii preamble
17537 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17539 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17541 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17543 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17544 whether to run bibtex.
17546 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17548 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17550 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17552 * Makefile.am (lyx_SOURCES): removed bibforms.h
17554 * vspace.h: doxygen
17556 * text.C (GetVisibleRow): make several local vars const
17558 * tabular.C: small cleanup.
17560 * lyxserver.C (callback): use compare instead of strncmp
17562 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17563 inlines to after class or to paragraph.C
17565 * lyxfont.h: remove friend operator!=
17567 * converter.h: move friend bool operator< to non friend and after
17570 * combox.h: small cleanup
17572 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17573 to inlines after class def.
17575 * buffer.C (pop_tag): use string operations instead of strcmp
17577 * bmtable.c: doxygen, small cleanup
17579 * LaTeX.h: remove friend operator==
17581 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17593 * BufferView_pimpl.C:
17594 * BufferView.[Ch]: remove cruft
17596 2001-02-14 Juergen Vigna <jug@sad.it>
17598 * lyxfunc.C: removed #if 0 unused code
17600 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17602 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17604 * text2.C (SetSelection): added a BufferView * parameter
17606 2001-02-13 Juergen Vigna <jug@sad.it>
17608 * lyxfunc.C (Dispatch): fixed protected blank problem.
17609 * BufferView2.C (protectedBlank): added LyxText * parameter.
17611 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17612 (AppendColumn): same as above for column_info.
17614 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17615 (moveCursorUpdate): use a LyXText param for support of InsetText.
17617 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17618 (tripleClick): ditto
17620 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17622 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17624 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17626 * text2.C (SetSelection): set correct update status if inset_owner
17627 (ToggleFree): ditto
17629 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17631 * tabular.C: remove some commented code.
17633 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17635 * BufferView_pimpl.C: call hideSplash()
17637 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17640 * bibforms.h: remove
17643 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17644 add LFUN_CHILD_CREATE
17646 * counters.h: fix tiny typo
17651 * lyx.C: move splash to frontends/xforms/
17653 * lyx_gui_misc.C: move Include and Bibform to frontends
17655 * lyxvc.h: clarify comment
17657 * vspace.C: tiny housekeeping
17659 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17661 * text.C (PrepareToPrint): RTL Fix.
17663 * paragraph.C (GetUChar): New method.
17664 (String): Use GetUChar.
17666 * buffer.C (asciiParagraph): Use GetUChar.
17668 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17670 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17672 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17675 * buffer.C: rename to getLogName(), handle
17676 build log / latex log nicely
17678 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17681 * MenuBackend.h: remove support for reference menuitem type.
17683 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17685 * BufferView_pimpl.C: housekeeping
17686 * BufferView_pimpl.h:
17691 * minibuffer.h: move Timeout GUI-I
17693 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17695 * lyxrc.C (read): Update converters data-structures.
17697 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17699 * LaTeX.h (operator!=): add operator != for Aux_Info
17701 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17703 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17705 * LaTeXLog.C: deleted, useful code moved to Buffer
17708 * buffer.C: new function getLatexLogName()
17714 * lyxfunc.C: use frontends for LaTeX and VC logs
17716 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17718 * LaTeX.h: yet another std:: that Allan forgot.
17720 * Variables.C (set): renamed from isset(), because this clashes
17721 with some HP-UX macros (grr).
17723 2001-02-06 Allan Rae <rae@lyx.org>
17725 * LaTeX.h: Another bug fix. Missing std:: this time.
17727 2001-02-04 Allan Rae <rae@lyx.org>
17729 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17730 floats problem. I've left it commented out because it's not quite
17731 correct. It should also test that the current object is a table or
17732 figure inset. But I haven't gotten around to figuring out how to do
17733 that. I *think* it'll be something like: "table" == inset.type()
17735 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17738 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17740 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17741 all the citation/databases/styles in the auxilary file.
17742 (run): Rerun latex if there was a babel language error.
17744 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17746 * text.C (Backspace): Preserve the font when changing newline char
17748 (BreakParagraph): If the cursor is before a space, delete the space.
17750 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17752 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17754 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17755 new argument (code).
17756 (ChangeCitationsIfUnique): New method.
17758 * paragraph.C (GetPositionOfInset): Handle bibkey.
17760 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17762 * BufferView_pimpl.h: change type of Position::par_pos to
17763 LyXParagraph::size_type.
17765 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17767 * BufferView_pimpl.C (savePosition, restorePosition): Write
17768 messages to minibuffer.
17770 2001-01-28 José Matos <jamatos@fep.up.pt>
17772 * buffer.C (makeDocBookFile): adds support for document language.
17773 A silly restriction on the name of LatexCommand types where removed.
17774 Added support for CDATA sections, allows to chars unescaped, used
17775 among others in code, to avoid escape < and >.
17777 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17779 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17780 saved positions instrad of a stack. Furthermore, a position is
17781 stored using paragraph id/paragraph position.
17783 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17784 Remove LFUN_REF_BACK.
17786 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17788 * converter.C (dvipdfm_options): New method.
17790 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17792 * vspace.C (isValidLength): Fix for empty input string.
17794 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17796 * LyXAction.C (init): change description of LFUN_FIGURE to
17799 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17801 * LaTeX.C: add using directive
17803 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17805 * MenuBackend.C (expand): Fix the sorting of the formats.
17807 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17809 * lyx_main.C: tiny error message fix
17811 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17813 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17814 calling fl_initialize(). This fixes the problem with ',' as
17815 decimal separator in text files.
17817 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17819 * trans.C (process): Fix the keymap bug.
17821 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17823 * LaTeX.C (scanAuxFiles): New method. Provides support for
17824 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17825 (scanLogFile) Scan for "run BibTeX" messages.
17827 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17828 OT1 font encoding. Also, load the aecompl package if the ae
17831 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17833 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17835 * texrow.C (increasePos): turn two error messages into debug
17838 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17840 * LaTeX.C (scanAux): Handle the \@input macro.
17841 (runBibTeX): Use scanAux().
17843 * language.C (latex_options_): New field.
17845 * LaTeXFeatures.C (getMacros): Add language macros.
17847 * buffer.C (makeLaTeXFile): Small fix.
17849 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17851 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17853 * text2.C: add a using directive.
17855 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17860 * lyxfunc.C: kill LyXBell.
17862 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17864 * text.C (IsBoundary): Remove the error message
17866 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17868 * lyxrc.C (setDefaults): Correct initialization value for
17871 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17873 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17876 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17877 and GotoNextNote().
17879 * src/LyXAction.C: Added reference-next.
17881 * text.C (InsertChar): Use contains instead of strchr.
17883 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17885 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17887 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17888 alignment commands (when needed).
17890 * text.C (InsertChar): Add ':' to number separator chars.