1 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
4 formatted_time methods in support/lyxtime.
6 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * toc.[Ch]: new method getGuiName, which is used by the frontends
9 to set the toc combo (fixes bug 1870). Make TOC string translatable.
11 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
14 StableDocIterator const &)
15 * undo.C (recordUndo): use the above instead of cell.size() comparison
16 (fixes bug 1808; instructed by André).
18 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
21 * dociterator.h: Fix the assert when copying rows/cols in math
23 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
27 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
29 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
30 (findInset): new functions, refactored from goto Inset that return
31 the position of a certain inset without setting the buffer's cursor
33 (gotoInset): rewrite to call findInset and then set the cursor
36 2005-06-16 Angus Leeming <leeming@lyx.org>
38 * lyxrc.C (output, read): wrap all input and output of paths with
39 calls to os::internal_path and os::external_path, respectively.
40 (output): wrap bind_file inside quotes.
42 * format.C (view): enable the viewer to use the '$$s' placeholder.
44 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
46 * LColor.[Ch] (getFromLaTeXName): new
48 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
50 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
52 2005-06-14 Angus Leeming <leeming@lyx.org>
54 * lyx_main.C (init): ensure that the LyX binary dir is the first
55 element in the PATH on non-POSIX builds.
57 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
59 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
61 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * rowpainter.C (paintInset, paintHebrewComposeChar)
64 (paintArabicComposeChar, paintChars): add a LyXFont argument.
65 (paintChars): use getFontSpan to reduce calls to getFont to a
66 minimum; use Paragraph::lookupChange instead of isXXXText.
67 (paintForeignMark): rename LyXFont argument.
68 (paintFromPos): pass a LyXFont object to the various paintXXX
71 * FontIterator.C (FontIterator, operator++): use
72 Paragraph::getFontSpan
74 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
75 version that returns the font span as a pair.
77 2005-06-09 Angus Leeming <leeming@lyx.org>
79 * converter.C (convert): Don't forget "outfile = real_outfile" as
80 the final step in a conversion where the input and output file names
81 are the same. Otherwise, future conversion steps won't work...
83 2005-06-09 Angus Leeming <leeming@lyx.org>
85 * lyxsocket.C: remove stub code as it isn't needed by
86 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
88 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
90 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
91 effectively disabled -x
93 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
95 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
96 when it actually makes sense.
98 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
100 * BufferView_pimpl.C: revert to showCursor in connection with
101 Lars's front-end stack
103 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
105 * text.C (redoParagraph): move cursor right after a bibitem
108 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
110 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * buffer_funcs.C (bufferErrors): fix computation of the end of an
115 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
117 * BufferView.[Ch] (update):
118 * BufferView_pimpl.[Ch] (update, metrics):
119 * dimension.h (operator==):
120 * lyxfunc.C (dispatch):
121 * metricsinfo.h (ViewMetricsInfo):
122 * rowpainter.C (paintText):
124 * text.C (redoParagraph):
125 * text3.C (dispatch): Make LyX only repaint current paragraph in
126 case of character insert --> speedup. Also fix cursor draw
129 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
131 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
132 avoid a crash (bug 1891)
134 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
138 * text2.C (getStringToIndex): constify cur argument.
140 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
141 argument has been given
142 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
143 try to invoke LFUN_INSET_APPLY).
145 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
146 if no inset was created by doInsertInset
147 (doInsertInset): return true if an inset has been inserted.
149 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * vspace.C (asGUIName): new method. A version of the space
152 suitable for showing on screen.
154 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
157 * lyxrc.C: rename "ASCII" to "Plain Text"
159 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * buffer_funcs.C (expandLabel): take a Buffer as argument;
162 translate the labelstring.
163 (setCounter): translate labelstring as needed.
165 * output_docbook.C (makeCommand): fix expandLabel invokation
167 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
169 * BufferView.C: fix dialog title
171 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
173 * lyx_main.C (priv_exec): fix logic error with help from Angus
174 * lyx_main.C (parse_execute): set is_gui = false and remove now
175 obsolete comment about a segfault
177 2005-05-18 Angus Leeming <leeming@lyx.org>
179 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
181 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
183 * tabular.[hC]: added setCellInset to fix tabular paste.
185 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
187 * buffer.C (save): check if destination is writable before trying
190 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
192 * BufferView_pimpl.C (update): fix processEvents -caused update
195 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * buffer_funcs.C (setCounter): fix test for numbering of
200 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
201 depth correctly; use optional argument when it exists
203 * lyxtextclass.C: remove unused MaxCounterTags enum
204 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
205 (max_toclevel, min_toclevel): new methods.
207 * MenuBackend.C (expandToc2): fix case where depth is smaller than
208 the smallest depth in toc.
210 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
211 layouts that should not appear in a table of contents.
213 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
215 * cursor.h (undispatched, noUpdate): add comments from André
217 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
221 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
223 2005-05-07 André Pönitz <poenitz@gmx.net>
225 * cursor.[Ch] (leaveInset): new function
227 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
229 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
231 2005-05-04 Angus Leeming <leeming@lyx.org>
233 * lyxfunc.C (getStatus): disable the spell checker dialog if
234 none of USE_[AIP]SPELL are defined.
236 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
238 * tabular.C (setWidthOfCell): remove obsolete comment
240 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
242 * paragraph.C (bibitem):
243 * buffer_funcs.C (setCounter):
244 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
246 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
248 * text3.C (getStatus): immediately return after setOnOff
250 * rowpainter.C: fix drawing of appendix start
252 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
254 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
255 SwitchBetweenClasses and remove the unused return value.
256 Handle character styles, too
258 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
260 * factory.C (createInset): handle undefined character styles
262 2005-05-02 Angus Leeming <leeming@lyx.org>
264 * buffer.C: protect the #include of utime.h with a preprocessor
267 2005-05-02 Angus Leeming <leeming@lyx.org>
269 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
270 function so that auto-saving works, albeit in a blocking manner.
272 * Makefile.am: make compilation of the client sub directory, of
273 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
274 on conditionals set at configure time.
276 * SpellBase.[Ch]: no longer an abstract base class. Instead,
277 it can be compiled in its own right but has no-op functionality.
279 * aspell.C, pspell.C: remove preprocessor guards. The files should
280 be compiled only if the necessary functionality exists.
282 * lyxserver.C, lyxsocket.C: disable on Windows.
284 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
286 * text.C (leftMargin): Fix the parindent use bug (1764)
289 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
291 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
294 2005-04-25 Angus Leeming <leeming@lyx.org>
302 include <config.h> in .C files, not .h ones.
304 protect headers inside preprocessor guards.
306 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
308 * FuncStatus.h (StatusCodes): document
310 2005-04-21 André Pönitz <poenitz@gmx.net>
312 * FuncStatus.h (enabled, onoff): document
314 2005-04-19 Angus Leeming <leeming@lyx.org>
316 * BufferView_pimpl.C (cursorToggle): no longer test whether
317 any child processes have been reaped before calling
318 handleCompletedProcesses().
320 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
322 * text3.C (dispatch): fix, finally fix, the language problem in
323 new lyxtexts, without disabling on-the-fly font changes (Helge's
326 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
328 * text3.C (dispatch): set cursor on double/triple click events
331 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
334 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
336 * rowpainter.C (paintFirst): simplify the code a little bit. In
337 particular, remove the test for secnumdepth.
338 * text.C (setHeightOfRow): only allocate space for chapter number
339 when updateCounters provided an actual label, instead of looking
340 at secnumdepth directly.
342 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
344 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
345 paragraphs when secnumdepth is large enough or, for environments,
346 when they are not the first in a sequence.
348 2005-04-17 Angus Leeming <leeming@lyx.org>
350 * buffer.C (makeLaTeXFile): replace code to manipulate a path
351 containing space and '~' characters with a call to latex_path().
353 2005-04-17 Angus Leeming <leeming@lyx.org>
355 * converter.C (convert): protect all args of convertDefault.sh
358 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * text3.C (dispatch): change the layout to "Caption" after inserting
363 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
365 * text3.C (dispatch): fix language problem in newly created
366 textinsets (and main text) in non-english docs
368 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
370 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
371 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
372 * text3.C (getStatus): disable LFUN_INSET_MODIFY
374 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
379 * rowpainter.C (getFont): Fix metrics bug introduced by inset
382 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
384 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
385 output of \item arguments without trailing text.
387 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * FontIterator.C (operator*): avoid a copy of the font.
391 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
393 * rowpainter.C (getFont): fix language bug from previous fix
395 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
397 * rowpainter.C (RowPainter, getFont): fix font inside inset
400 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
402 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
403 preventing inserted font, deco, delim insets jumping to start of
406 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
408 * lyxfunc.C (dispatch): translate message before sending it to the
411 2005-03-29 Angus Leeming <leeming@lyx.org>
413 * lyx_main.C (priv_exec): call os::internal_path on each file passed
414 to LyX on the command line.
416 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
418 * vc-backend.C: use QuoteName to protect file names wherever
421 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
424 * BranchList.h: fix bugs 1844,1845: document settings don't
427 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
429 * lyxrc.C (setDefaults, read, output, getDescription): add support
430 for tex_allows_spaces.
432 * exporter.C (Export): allows files in directory containing spaces
433 if tex_allows_spaces is true.
435 * buffer.C (makeLaTeXFile): if the document path contains spaces,
436 output it in double quotes.
438 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
440 * rowpainter.C: use default text height for drawing change tracker
443 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
445 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
447 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
450 directory is missing.
452 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
454 * text2.C: fixed the fix, extended to other case.
456 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
458 * text2.C: fix for cursor up/down stuck in math [bug 1792]
460 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
462 * text2.C (cursorUp): get rid of a crash
463 * text.C (x2pos): add an assert
465 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
467 * lyxfunc.C (getStatus): fix warning when assertions are disabled
471 * dociterator.C: include <boost/current_function.hpp>, which is
472 needed when assertions are disabled.
474 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
476 * text2.C: fix for stuck cursor when traversing two
477 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
479 2005-02-25 Andreas Vox <avox@arcor.de>
481 * output_docbook.C (makeParagraph): suppress trailing newline
482 after a run of paragraphs
484 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
486 * paragraph.C: fix for confused change tracker when pasting
487 text that begins with a lineseparator. [bug 1827]
488 (setChange(0, Change::INSERTED);)
490 * paragraph_funcs.C: fix for lost changes on triple-paste
491 in change tracking mode [bug 1827] (par.setChange()).
493 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * text2.C (updateCounters, setCounter, expandLabel): move to
498 * buffer_funcs.C (updateCounters): turn into a free standing
499 function and add a buffer parameter. Remove dead code for tracking
501 (setCounter): change into a free-standing function which gets a
502 dociterator as argument. Use this iterator to fix captions in a
503 simple way. When no float is found above the caption, use the
504 labelstring of the caption layout as default.
506 * text.C (breakParagraph, backspace):
507 * text2.C (init, setLayout, changeDepth):
508 * text3.C (dispatch):
509 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
512 * dociterator.C (forwardPar): make it much faster by calling
513 forwardPos() only when really necessary.
515 * output_docbook.C (makeCommand): adapt to expandLabel move.
517 * cursor.C: remove unused variable
519 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
521 * paragraph_funcs.C: fix crash when pasting insets in change
522 tracking mode [bug 1277] (honour change type in moveItem).
524 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
526 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
528 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
530 * BufferView.C (setCursor): change to use a DocIterator.
531 (gotoLabel): use BufferView::setCursor (other part of bug 781).
532 (putSelectionAt): adapt to BufferView::setCursor change.
534 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
535 moved here from LyXText and rewritten to use proper cursor
536 methods. Fixes bug 1787, 616 and 835.
538 * BufferView_pimpl.C (restorePosition): set the cursor correctly
539 when inside an inset (part of bug 781).
540 (dispatch): adapt to change of BufferView::setCursor.
541 (getStatus, dispatch): handle LFUN_GOTOERROR,
542 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
544 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
545 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
546 * text3.C (gotoNextInset, gotoInset): removed.
548 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
552 2005-02-15 Angus Leeming <leeming@lyx.org>
554 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
555 can be used meaningfully in a comparison.
557 2005-02-13 André Pönitz <poenitz@gmx.net>
559 * bufferview_funcs.C (coordOffset): improve cursor drawing
561 2005-02-13 André Pönitz <poenitz@gmx.net>
563 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
564 * Cursor.C (dispatch): use fixIfBroken
565 * lyxfunc.C (getStatus): use fixIfBroken
567 2005-02-15 Angus Leeming <leeming@lyx.org>
569 * lyx_main.C (error_handler):
571 * lyxrc.C (setDefaults):
573 #include "environment.h".
575 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
577 2005-02-15 Angus Leeming <leeming@lyx.org>
579 * lyxserver.C (startPipe): squash MSVC warning "local variable
580 'fd' used without having been initialized".
582 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
584 * BufferView_pimpl.C: revert accidental commit.
586 2005-02-14 André Pönitz <poenitz@gmx.net>
588 * dociterator.[Ch]: new member forwardPosNoDescent(),
589 which doesn't enter nested insets.
590 * text2.C (setFont): use forwardPosNoDescent() instead
591 of ForwardPos() (fixes crash on font change).
593 2005-02-13 Angus Leeming <leeming@lyx.org>
595 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
596 only if lyxrc.path_prefix is not empty.
598 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
600 * bufferparams.C (readGraphicsDriver): prevent crash
602 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
604 * text2.C (setCounter): check for inInset() == 0
606 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
608 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
609 but use update() to get correct screen display; use convert
610 instead of istringstream.
611 (getStatus): handle LFUN_GOTO_PARAGRAPH
613 * lyxfunc.C (dispatch, getStatus): do not handle
614 LFUN_GOTO_PARAGRAPH here.
616 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
618 * text3.C (dispatch): size() -> depth()
620 * text2.C: remove some debug output
622 * paragraph.C: ws changes only
624 * lyxfunc.C (getStatus): size() -> depth()
626 * dociterator.h (clear, push_back, pop_back, internalData,
627 operator[], resize, empty): new functions
628 Make StableDocIterator and operator== be friends. Don't inherit
629 from std::vector use a privat class variable slices_ instead.
632 * dociterator.C: update because of not inheriting from std::vector
633 anymore. Call explictly to slices_ instead. Use depth() instead of
634 size() and top() instead of back()
636 * cursor.C: chagne size() -> depth and back() -> top(). Also
637 remove some direct operator[](i) calls in favour of foo[i]
638 (getFont): remove some dead code
640 * bufferview_funcs.C (coordOffset): size() -> depth()
642 * buffer.C: ws changes only
644 * CutAndPaste.C (eraseSelection): back() -> top()
646 * BufferView_pimpl.C (selectionRequested): back() -> top()
648 * BufferView.C (setCursor): size() -> depth()
650 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
652 * text3.C (cursorPrevious): return true if depm changed something
654 (dispatch): rename sl to oldTopSlice, remove moving use the new
655 NoUpdate func attrib instead. Make sure that needsUpdate is set
656 for function that have NoUpdate, but where depm might have changed
659 * text2.C (cursorLeft): make us return true if depm changed
662 (cursorUpParagraph): ditto
663 (curosrDownParagraph): ditto
664 (cursorUp, cursorDown): ditto, make sure to read comments in code
665 (deleteEmptyParagraphMechanism): remove an assert, also return
666 true if just a single char was deleted.
668 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
669 cursor that we modify, to avoid modifying an active cursor before
670 we call setCursor. This allows depm to run. Also return true if
671 depm deleted something.
673 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
674 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
675 cursorDownParagraph, cursorPrevious and cursorNext, return true if
676 something was changed in the buffer because of them (ie. depm run)
678 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
679 debug messages. Make update by default be false. Make sure that
680 the result of update is retained throught several calls down to
683 * LyXAction.h: add a new func_attrib: NoUpdate
685 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
686 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
687 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
689 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
691 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
694 bv_->owner(), bv_->buffer() by direct references to the private
696 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
697 (getStatus): isSavedPosition() is in BufferView::Pimpl.
698 (fitCursor): center() is in BufferView::Pimpl.
699 (getStatus, trackChanges, dispatch): no need for a temporary buf
701 (fitCursor, workAreaDispatch): use workarea().workheight()
703 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
705 * CutAndPaste.C (pasteSelectionHelper): fix a crash
707 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
709 * buffer.C: format up to 241.
710 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
711 break if pasting into ERT
712 * lyxfunc.C (getStatus): suppress mathpanel and
713 LFUN_DIALOG_SHOW_NEW_INSET in ERT
715 2005-02-01 Angus Leeming <leeming@lyx.org>
717 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
719 2005-02-01 Angus Leeming <leeming@lyx.org>
721 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
722 calling fs::is_directory().
724 2005-01-31 Angus Leeming <leeming@lyx.org>
726 * lyx_main.C (priv_exec): specify explicitly the relative location
727 of the top level build directory when run in-place.
729 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
731 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
732 LyXText containing the cursor, not the top-level one.
734 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
736 (insertStringAsLines): rename par to pit; use temporary variable
737 par to hold a Paragraph; do not store par.layout() in a variable,
738 since the pointer may die when breaking paragraphs; pass pars to
739 breakParagraph() instead of Buffer::paragraphs().
741 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
743 * lyxlex_pimpl.h: #include <fstream>.
745 * BufferView.[Ch] (getLyXText): add a const version.
747 * BufferView_pimpl.C: add debug aids.
752 * paragraph_funcs.h: add commentary explaining what the class does.
755 * coordcache.[Ch]: add lots of commentary.
756 (startUpdating, doneUpdating): debug aids.
757 (arrays, insets, parPos, getParPos): accessors to private data.
759 * cursor_slice.[Ch] (text): add a const version.
760 * dociterator.[Ch] (text, innerText): add const versions.
762 * lyxtext.h (breakParagraph): change the keep_layout arg to a
765 * paragraph.C (getRow, pos2ros): add asserts.
767 * paragraph.h: add commentary. Lots of.
769 * paragraph.[Ch] (metrucs, draw): removed.
772 * rowpainter.[Ch]: const-correct changes.
774 * text.C: various obvious clean-ups. Removal of ancient cruft.
777 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
779 * vc-backend.C (find_file): rewrite to use boost.filesystem
782 * main.C (main): set default name check for boost.filesystem to
785 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
788 (actOnUpdatedPrefs): ditto
790 * lyx_main.C (init): rewrite to use boost.filesystem
791 (queryUserLyXDir): ditto
793 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
794 (getContentsOfAsciiFile): ditto
796 * lastfiles.C (readFile): rewrite to use boost.filesystem
798 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
800 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
803 * buffer.C (Buffer): adjust for destroydir
804 (getLogName): rewrite to use boost.filesystem
806 (save): use fs::copy_file (from fs_extras)
808 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
810 * LaTeX.C (run): rewrite to use boost.filesystem
811 (scanAuxFiles): ditto
812 (handleFoundFile): ditto
814 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
816 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
818 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
820 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
822 * lyxlayout.[Ch]: change some vars from float to double
824 * buffer.C (readFile): make a local var const
826 * Several files: use convert<> instead of atoi,strToXXX and friends
828 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
830 * LaTeXFeatures.[Ch]: Add a static list packages_ that
831 holds the contents of packages.lst. New functions getAvailable
832 and isAvailable to parse and check that list, resp.
836 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
838 * bufferparams.[Ch]: new param output_changes.
840 * Buffer.C: increase file format to 240.
841 Use output_changes and isVailable.
845 * paragraph_pimpl.C: Use output_changes and isVailable.
847 2005-01-23 Angus Leeming <leeming@lyx.org>
849 * output_latex.C: #include "insetbibitem.h", rather than
850 forward declare function bibitemWidest.
852 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
854 * lyx_main.C (init): make it compile on the Mac.
856 2005-01-20 Angus Leeming <leeming@lyx.org>
858 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
859 (setLyXMisc): (char string literal) != (char string literal) is
860 performing a comparison on the addresses. Convert one operand
861 explicitly to string to guarantee expected behaviour.
864 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
867 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
869 * output_plaintext.C: remove unneeded #include gzstream.h.
871 2005-01-20 Angus Leeming <leeming@lyx.org>
873 * SpellBase.h: rename some of the elements of the Result enum.
880 * pspell.C (check): ditto
882 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
884 * buffer.C: add #include <fstream>.
886 * lyx_main.C (init): Compile fix.
888 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
890 2005-01-20 Angus Leeming <leeming@lyx.org>
892 * mover.h: change commentary to reflect the changed meaning of
895 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
897 * output_linuxdoc.C (linuxdocParagraphs): silence warning
899 * lyxfind.C (MatchString::operator()): remove bogus semicolon
901 2005-01-20 Angus Leeming <leeming@lyx.org>
903 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
904 printing diagnostic data by not dereferecing an iterator past the
907 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
909 * buffer.C (readHeader): use "&&" rather than "and".
911 * lyxserver.h (inPipeName, outPipeName): make these const.
913 2005-01-19 Angus Leeming <leeming@lyx.org>
915 * lyx_main.C (error_handler, init): protect SIGHUP with
916 #ifdef SIGHUP guards.
918 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
920 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
922 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
924 * text.C (setHeightOfRow): add a margin at the top and bottom of
925 the document (bug 1761)
927 2005-01-17 Angus Leeming <leeming@lyx.org>
929 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
930 with "python ". Workaround for a brain-dead Windows.
932 2005-01-16 Angus Leeming <leeming@lyx.org>
934 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
935 for MacOSX and Windows to use prependEnvPath.
936 Strip out the hard-coded block to add elements to the PATH for
937 MacOSX and replace it with a call to prependEnvPath using the
938 contents of LyXRC::path_prefix.
939 (queryUserLyXDir): strip out the code to run reconfigure, instead
940 returning a boolean indicating the necessity to do so.
941 (reconfigureUserLyXDir): contains the code to reconfigure the
942 user support directory. Is now called after the various LyXRC data
943 files have been read.
945 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
947 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
949 * converter.[Ch] (convert): take a new parameter try_default. Use
950 a default converter (imagemagick) if try_default is true.
952 2005-01-13 Angus Leeming <leeming@lyx.org>
954 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
956 (write): output LyXRC::cygwin_path_fix as necessary.
958 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
961 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
963 2005-01-12 Angus Leeming <leeming@lyx.org>
965 * lyx_main.C (init): set the PATH variable to include the
966 directory containing the LyX binary when running on Mac or Windows.
968 2005-01-12 Angus Leeming <leeming@lyx.org>
970 * lyx_main.C (init): remove cruft that purports to set the locale
971 dir. It doesn't and is not needed anyway.
973 2005-01-10 Angus Leeming <leeming@lyx.org>
975 * Makefile.am: remove the lyx_main.C special casing.
977 * BufferView_pimpl.C:
983 * messages.C: use support/package.h to provide the paths to the
984 various directories used by LyX.
986 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
988 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
989 layout if pasting into an empty paragraph)
991 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
993 * tex-accent.C: add <string>
995 2005-01-06 José Matos <jamatos@lyx.org>
997 * ParagraphParameters.C (write): put every parameter in its own line.
998 * paragraph.C (write): reduce number of consecutive empty lines exported.
999 * buffer.C (LYX_FORMAT): increase file format to 239.
1001 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1003 * everywhere: change support/tostr.h -> support/convert.h
1005 * tabular.C: make all write_attributes templates, tostr -> convert
1007 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1008 (emptyTag): and -> &&, and fix type for ret from getChar
1009 (getFirstWord): fix type for ret from getChar
1010 (onlyText): and -> &&
1011 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1014 * toc.C (goTo, action):
1015 * text3.C (dispatch):
1016 * text.C (currentState):
1017 * tex-accent.C (DoAccent):
1020 * lyxfunc.C (menuNew):
1021 * lyxfinc.C (replace):
1022 * counters.C (laberItem):
1023 * bufferview_funcs.C (font2string):
1024 * bufferparams.C (writeFile):
1025 * buffer.C (readFile):
1027 * MenuBackend.C: tostr -> convert
1029 * LaTeX.C (runMessage): fix format
1030 (scanAuxFiles): tostr -> convert
1032 * BufferView_pimpl.C (savePosition): fix format
1033 (restorePosition): ditto
1036 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1038 * Spacing.[Ch]: New method getValueAsString().
1042 * ParagraphParameters.C:
1045 * text3.C: store/read spacing value as string.
1047 * rowpainter.C: change float value (spacing_val) to double.
1049 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1050 broken custom document spacing).
1052 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1054 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1055 namespace, also more use of temp references and const
1057 * cursor.[Ch] (getStatus): move to lyxfunc.C
1059 * bufferparams.C: reformat slightly
1061 * bufferview_funcs.C (font2string): constify arg
1067 * buffer_funcs.C: (many funcs): constify arg on function
1068 definitions, also make more local vars const, also add ASSERTS on
1071 * buffer.C (LYX_FORMAT): put const in correct place
1072 (many funcs): constify arg on function definitions, also make
1073 more local vars const
1075 * aspell_local.h: remove "struct" from typdef setup
1077 * aspell.C (check): make word_ok const
1078 (nextMiss): simplify slightly
1081 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1083 * lyxrc.[Ch]: store all float values as strings.
1084 use int (not float) for lyxrc.dpi.
1086 2005-01-04 Angus Leeming <leeming@lyx.org>
1088 * lyx_cb.C (Reconfigure):
1089 * lyx_main.C (queryUserLyXDir):
1090 to run the <system_lyxdir>/configure correctly on Windows, prefix
1091 the path to the script with "sh " when generating the string that
1092 is passed to system().
1094 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1096 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1098 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1100 * lyxlength.C (asLatexString): get rid of setprecision
1102 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1104 * text2.C (setLayout): remove unused variable endpit.
1105 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1107 * paragraph.C (onlyText): remove unused variable style.
1109 * cursor.C (bruteFind): remove unused variables beg and end.
1111 * Makefile.am (dist_noinset_DATA): not needed anymore
1113 * cheaders/*: remove.
1115 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1117 * text3.C: fix LFUN_MATH_MODE.
1119 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1121 * buffer_funcs.C (countWords): new function. Counts words between
1124 * BufferView_pimpl.C (getStatus, dispatch): handle
1127 * LyXAction.C (init):
1128 * lfuns.h: add LFUN_WORDS_COUNT.
1130 2004-12-19 Angus Leeming <leeming@lyx.org>
1132 * buffer.C (save): s/slashify_path/internal_path/.
1134 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1136 * lyxfind.C (findChange): do not search for end of pars, because
1137 the change tracker cannot handle this (fixes bug 1719).
1139 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1141 * paragraph.[Ch] (autoBreakRows): remove
1143 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1145 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1146 avoid using the paragraph one
1148 * text2.C (LyXText, insertStringAsLines): adjust
1150 2004-12-16 Angus Leeming <leeming@lyx.org>
1154 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1156 2004-12-14 Angus Leeming <leeming@lyx.org>
1158 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1160 * bufferlist.C (emergencyWrite):
1161 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1164 2004-12-14 Angus Leeming <leeming@lyx.org>
1166 * main.C: (main): no longer pass pointers to os::init.
1168 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1170 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1171 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1173 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1176 * text3.C: remove selection_possible global flag
1178 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1180 * text2.C (getSelectionSpan): remove
1181 (changeDepth, changeDepthAllowed): adjust
1183 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1185 * Makefile.am (BOOST_LIBS): use boost variables
1187 2004-12-03 José Matos <jamatos@lyx.org>
1189 * buffer.C: format up to 238.
1191 2004-12-03 José Matos <jamatos@lyx.org>
1193 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1195 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1197 * cursor.C (goUpDown): remove call to idxUpDown2
1199 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1201 * tabular.[Ch]: use size_t-like types for cell, row and column
1204 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1206 * lyxfunc.C (getStatus): do not lose previous information when
1207 calling BufferView::getStatus; do not set a default "Command
1208 disabled" message at the beginning, but just before returning.
1210 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1212 * cursor.h (getStatus): add better comment from src/cursor.C
1214 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1216 * text3.C (getStatus): return false when the lfun is not handled
1218 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1220 * broken_headers.h: remove
1222 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1224 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1226 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1227 offset_ref accessors
1229 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1230 top_y_, merge fitcursor with update
1231 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1233 (metrics): introduce
1234 (workAreaDispatch): adapt to new coord scheme
1235 (redoCurrentBuffer): remove
1237 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1239 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1242 * coordcache.[Ch]: add paragraph cache and helpers
1244 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1247 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1248 (targetX, setTargetX): introduce
1250 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1251 baseline -> ascent, as the rest of lyx
1253 * lyxtext.h: remove redoParagraphs, updateParPositions,
1254 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1255 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1256 have ascent/descent (ascent is ascent of first par)
1258 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1261 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1263 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1265 * pariterator.C: fix infinite loop introduced in par->pit renaming
1267 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1268 in insets and LyXText, draw two off-screen paragraphs using
1269 NullPainter, and adapt to new coord scheme
1273 * text3.C: adapt lfun handlers to the new coord scheme, which
1274 means: there's only guaranteed coord information for onscreen pars
1275 plus one above and one below. This implies that one can do search
1276 from y coordinates in the range [-1,workHeight]
1278 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1280 * rename a lot of InsetOld to InsetBase
1282 2004-11-25 Angus Leeming <leeming@lyx.org>
1284 * BufferView_pimpl.C:
1286 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1288 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1290 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1291 call BufferView::getStatus if LCursor::getStatus did nothing
1292 (setStatusMessage, getStatusMessage): removed.
1294 * FuncStatus.C (message): new methods. Used to provide an error
1295 message indicating why a command is disabled.
1296 (clear, |=, FuncStatus): update for message.
1298 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1300 * lyxfunc.C (dispatch): always call sendDispatchMessage
1302 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1305 * BufferView_pimpl.C:
1310 * cursor_slice.[Ch]:
1313 * paragraph_funcs.C:
1319 * undo.C: par->pit renaming
1321 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1323 * tabular.C (cellstruct): use initialization, store a shared_ptr
1324 to insettext instead of the insettext directly, adjust to fit.
1325 (operator=): new function
1326 (swap): new function
1327 (rowstruct): use initialization
1328 (columnstruct): use initialization
1329 (ltType): use initialization
1332 * lyxlength.h (swap): new function
1334 * LColor.[Ch] (operator=): use the common semantics
1336 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1338 * lyxfind.C (findNextChange): update the bufferview after setting
1341 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1344 number of InsetOptArgs has already been inserted.
1346 * output_latex.C (latexOptArgInsets): new method. This outputs all
1347 the optarg insets, up to the limit defined in the layout file.
1348 (optArgInset): removed
1349 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1351 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1353 * paragraph.C (isLetter): remove special spellchecker-related
1354 code; return true also for digits
1355 (isWord, isKomma): remove
1357 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1358 * lyxfind.C (MatchString()): use isLetter instead of isWord
1360 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1362 * pariterator.h (operatir=): comment out un-implemented member
1365 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1368 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1370 * lyxfont.h: include LColor.h to satisfy concept checks.
1372 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1374 * pariterator.h: add typdefs for value_type, difference_type,
1375 pointer and reference to satisfy concept checks. Also add default
1376 constructor for same reason.
1378 * pariterator.C (operator++): add post-increment operator to
1379 satisfy concept checks.
1381 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1384 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1386 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1387 checks. Also rename base_type to BaseType to follow naming
1390 * FloatList.h: include Floating.h to satisfy concept checks.
1392 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1394 * lyxfunc.C (getStatus): when the origin of the request is menu or
1395 toolbar, and the LyXView does not have focus, do as if there was
1396 no buffer (bug 1720)
1398 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1399 FuncRequest to individual entries of LFUN_SEQUENCE
1401 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1403 * output_latex.C (TeXOnePar): override runparams.moving_arg
1404 according to the needprotect value of the current paragraph (bug
1407 * paragraph.C (simpleTeXOnePar): no need to override
1408 runparams.moving_args here
1410 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1412 * vspace.C: fix off-by-one-error, related to fix #1682
1414 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1416 * lengthcommon.C: a more general fix for bug 1682
1418 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1420 * text.C (backspace): fix crash
1422 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1424 * format.[Ch] (getFormatFromFile): new method
1425 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1427 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1429 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1431 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1433 * lyxfunc.C (dispatch): remove the verbose argument
1434 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1437 * kbmap.C (defkey): set the origin of func to KEYBOARD
1439 * MenuBackend.C (MenuItem):
1440 * ToolbarBackend.C (add): set the origin of func to UI
1442 * funcrequest.[Ch]: add origin member, which indicates which part
1443 of LyX requests an action
1445 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1447 * converter.C (move): don't lie in the error message
1448 * converter.h (isReachable, move): document
1450 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1452 * buffer.C: remove unused using lyx::support::atoi
1453 * paragraph_funcs.C: ditto
1455 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1457 * bufferlist.C (exists): use bind and equal_to instead of
1460 * lyxtextclasslist.C (NumberOfClass): ditto
1462 * cursor.C (insert): use for_each instead of explicit for loop
1464 * bufferlist.C (getFileNames): use std::transform and
1465 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1467 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1470 * buffer.C (changeLanguage): use for_each instead of explicit for
1472 (hasParWithID): implement using getParFromID
1474 * LaTeXFeatures.C: ws change only
1476 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1479 * BufferView_pimpl.C (trackChanges): use for_each instead of
1482 2004-11-04 André Pönitz <poenitz@gmx.net>
1485 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1487 * dociterator.C (asDocIterator): use hard assert again.
1489 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1491 * lyxlength.C (asLatexString): rewrite so that it does not use
1494 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1496 * text3.C (specialChar, dispatch): make sure cursor moves to the
1497 right after inserting an inset
1499 2004-11-02 José Matos <jamatos@lyx.org>
1501 * output_docbook.C (docbook):
1502 * paragraph.C (getID):
1503 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1504 garantee that the output is always legal.
1506 * tabular.C (docbook):
1507 * outputprams.[Ch]: remove mixed contents.
1509 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1511 * text2.C (setCounter): prevent endless loop
1513 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1515 * exporter.C (copyFile): use the mover instead of support::copy()
1516 * exporter.C (Export): pass format and latex name to copyFile()
1517 * exporter.h (addExternalFile): document
1518 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1520 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1522 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1524 2004-10-30 José Matos <jamatos@lyx.org>
1526 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1527 text and no inset or font change. This allows to use CDATA
1528 sections just for the whole paragraph.
1530 2004-10-30 José Matos <jamatos@lyx.org>
1532 * paragraph.C (getFirstWord): remove unused variable.
1534 2004-10-30 José Matos <jamatos@lyx.org>
1536 * paragraph.C (getFirstWord): the content should always be escaped
1538 (simpleDocBookOnePar):
1539 * output_docbook.C (makeEnvironment): replace reference to CDATA
1542 2004-10-30 José Matos <jamatos@lyx.org>
1544 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1546 2004-10-30 José Matos <jamatos@lyx.org>
1548 * output_docbook.C (makeParagraphs):
1549 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1550 standard paragraph has only a given type of content drop the wrapper.
1552 2004-10-29 José Matos <jamatos@lyx.org>
1554 * output_docbook.C (makeEnvironment):
1556 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1558 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1560 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1561 (cleanID): sanitize any id.
1563 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1565 * buffer.C, lyxlex_pimpl.C:
1566 * lyxlex_pimpl.C (setFile):
1567 s/getExtFromContents/getFormatFromContents/
1569 2004-10-28 José Matos <jamatos@lyx.org>
1571 * output_docbook.C (makeEnvironment): move id to broadest possible
1574 * sgml.C (openTag): apply substitution of <> for all attributes.
1576 2004-10-28 José Matos <jamatos@lyx.org>
1578 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1579 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1580 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1582 * sgml.[Ch]: new version for open and closeTag for paragraph and
1583 for strings. Now they handle the ids of paragraphs.
1585 2004-10-26 Angus Leeming <leeming@lyx.org>
1587 * Makefile.am: add mover.[Ch].
1589 * converter.C (convert, move): use the new Movers to move external
1590 files to the temp directory.
1592 * lyx_main.C (init): ensure that the global system_movers data
1595 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1598 * mover.[Ch]: new files, defining a Mover as a utility to move an
1599 external file between directories and, if necessary, manipulate this
1600 file using a helper script.
1602 2004-10-25 José Matos <jamatos@lyx.org>
1604 * output_docbook.C (makeCommand): merge two if's that tested the
1607 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1609 * sgml.C (escapeString): fix warning in a better way
1611 2004-10-25 José Matos <jamatos@lyx.org>
1613 * sgml.C (escapeString): import the require boosts header file for
1614 tie, and avoid a signed unsigned comparison.
1616 2004-10-25 José Matos <jamatos@lyx.org>
1618 * sgml.h: add #include <string>
1620 2004-10-25 José Matos <jamatos@lyx.org>
1622 * sgml.[Ch] (escapeString): new function to escape all the string.
1624 2004-10-24 José Matos <jamatos@lyx.org>
1626 * paragraph.[Ch] (getFirstWord): new function to get the first
1627 word. Useful for description.
1628 (simpleDocBookOnePar): remove depth argument, add another that
1629 says where to start the paragraph.
1631 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1632 use the new functions to fix cleanly the support for descriptions.
1634 2004-10-24 José Matos <jamatos@lyx.org>
1636 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1637 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1638 * output_linuxdoc.C (linuxdocParagraphs):
1639 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1640 add buffer as argument.
1642 2004-10-24 José Matos <jamatos@lyx.org>
1644 * output_docbook.C (makeEnvironment, searchEnvironment): place
1645 CDATA inside paragraphs and fix scope for listitems.
1647 2004-10-24 José Matos <jamatos@lyx.org>
1649 * output_docbook.C: remove using statement for stack.
1651 2004-10-23 José Matos <jamatos@lyx.org>
1653 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1654 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1655 docbook. The new scheme is recursive and makes use of iterators, the
1656 same as latex export works.
1657 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1658 directly with the paragraph contents. This code was moved up to
1659 output_docbook.C (docbookParagraphs).
1660 * sgml.C (openTag, closeTag): removed unneeded newlines.
1661 (closeEnvTags) removed.
1663 2004-10-23 André Pönitz <poenitz@gmx.net>
1665 * undo.C (textUndoOrRedo):
1666 * dociterator.C (asDocIterator): work around crash
1668 * cursor.C (getStatus): replace ASSERT by more verbose error message
1669 and manual correction of the problem. Should increase stability
1670 while providing more sensible information.
1672 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1674 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1676 * bufferlist.C (previous, next): new methods
1679 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1681 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1683 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1684 entities to preamble.
1686 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1688 * messages.C (Pimpl): strip off translation context information
1690 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1692 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1693 the cursor is correct (bug 1694)
1695 2004-10-13 José Matos <jamatos@lyx.org>
1697 * output_docbook.C (docbookParagraphs): fix closing tags in the
1698 end of the document.
1700 2004-10-09 José Matos <jamatos@lyx.org>
1702 * buffer.C: format up to 237.
1703 * bufferparams.C (write): use tostr to convert booleans to strings.
1705 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1707 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1709 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1711 * LaTeX.C: implement use of babel language in xindy.
1713 2004-10-05 José Matos <jamatos@lyx.org>
1715 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1716 Add new translators to help reading and writing the lyx file.
1718 2004-10-05 José Matos <jamatos@lyx.org>
1720 * ParagraphParameters.C (read):
1721 * text.C (readParToken): replace nexToken by more appropriate lex
1724 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1726 * LaTeX.C (runMakeIndex):
1727 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1728 (usually 'makeindex') configurable.
1730 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1731 with a variable rather than with a number.
1733 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1735 * output_latex.C (TeXOnePar): make sure font setting is the first
1736 thing that gets output (and the last at the end). Should fix bug
1739 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1741 * pch.h: use proper signal include
1743 * LaTeX.h: Use preferred calling of Boost.Signal
1746 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1748 * pch.h: dont include <boost/function/function0.hpp>
1750 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1752 * paragraph_pimpl.h: remove usage of ShareContainer
1754 * paragraph_pimpl.C: remove initialization of ShareContainer.
1756 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1760 * BufferView.C (putSelectionAt): change the semantics when
1761 backwards == true: now, this just swaps cursor and anchor wrt the
1764 * BufferView.h (putSelectionAt): add some documentation
1766 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1767 make sure backwardChar is done at least once (to avoid getting
1769 (findNextChange): use putSelectionAt in the forward direction
1770 (operator()): use Paragraph::isWord
1772 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1774 * Spacing.C (set): c_str fix
1776 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1778 * lyx_cb.C (Reconfigure): quote the name of configure script in
1779 case it contains spaces
1781 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1785 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1786 (BOOST_LIBS): use top_buildir when looking for the file
1788 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1790 * pch.h: do not use include boost/format.hpp, multiple symbols
1791 will result (gcc bug)
1794 2004-08-23 José Matos <jamatos@lyx.org>
1796 * bufferparams.C (readToken): fix reading of the author field.
1798 2004-08-20 José Matos <jamatos@lyx.org>
1800 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1802 2004-08-20 José Matos <jamatos@lyx.org>
1804 * lyxlex.[Ch] (findToken): remove function.
1806 * ParagraphParameters.C (findToken):
1807 * bufferparams.C (findToken): replace call for previous function
1808 with local copy. This local function has one more argument, the
1809 read string argument.
1811 2004-08-16 José Matos <jamatos@lyx.org>
1813 * ParagraphParameters.C (write):
1814 * Spacing.C (writeFile):
1815 * bufferparams.C (writeLaTeX):
1816 * lyx_cb.C (Reconfigure):
1817 * paragraph.C (write):
1818 * tabular.C (write): remove unnecessary space at end of line.
1821 2004-08-16 José Matos <jamatos@lyx.org>
1823 * text.C (readParagraph): remove debug message.
1825 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1827 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1830 * output_plaintext.C (asciiParagraph): set depth correctly
1832 * outputparams.h: add member depth
1834 * paragraph_funcs.C (ownerPar): remove.
1836 * text2.C (setCounter): remove first_pit; comment out some
1837 non-working code that uses ownerPar
1839 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1842 2004-08-16 José Matos <jamatos@lyx.org>
1844 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1845 For the same level of importance use the same chanel to report problems.
1846 (read): add code to deal with \begin_body and \end_body.
1849 2004-08-15 José Matos <jamatos@lyx.org>
1851 * lyxlex.C (getString): fix comment, buffer::readBody is now
1852 buffer:readDocument.
1854 * tex-strings.C (string_papersize): Default -> default,
1855 Custom -> custom, for consistency with other options.
1857 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1861 * Makefile.am: support pch
1863 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1865 * text.C (readParToken): remove the static LyXFont variable and
1866 pass it as a parameter instead. This fixes a nasty bug where an
1867 inset will be inserted with a bad font in some situations
1868 (readParagraph): adapt
1870 * text2.C (setCounter): reduce number of calls to pars_[pit]
1872 * text.C (singleWidth): add an assert, fix a test
1874 * rowpainter.C (paintText): reduce number of calls to singleWidth
1876 * paragraph.C (isHfill):
1877 (isNewline): ws only
1879 2004-08-14 André Pönitz <poenitz@gmx.net>
1884 * lyxtext.h (several functions): use a Paragraph & argument
1887 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1889 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1891 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1893 * text.C (singleWidth): remove useless test
1895 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1897 * tabular.h: remove bogus comments
1899 * tabular.C (getDescentOfRow):
1900 (isPartOfMultiColumn): add assertions
1902 * lyxlength.C (inPixels): remove #warning
1904 2004-08-14 André Pönitz <poenitz@gmx.net>
1906 * paragraph.h: inline getChar()
1908 * BufferView.h: remove unused declarations
1910 2004-08-14 José Matos <jamatos@lyx.org>
1912 * Buffer.[Ch] (readDocument): new name for old readBody.
1913 * Buffer.C: new file format, new keywords: \begin_document,
1914 \begin_header, \begin_body, \end_body.
1916 * bufferparams.C (readToken): replace all calls to lex.nextToken
1917 by lex.next(). Do the same to eatLine except where really needed.
1919 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1920 line when writing to the lyx file.
1922 * output_plaintext.C (asciiParagraph): fix Bibliography style
1925 * text.C (read): fix end of file handling.
1927 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1929 * MenuBackend.C (Menu::operator[]): new method to access
1930 individual menu items
1931 (Menu::hasFunc): new method. search for an item that corresponds
1933 (MenuBackend::specialMenu): new method
1934 (MenuBackend::expand): if a special menu has been set, skip
1935 entries whose func() appears in this menu
1937 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1939 * text3.C: use Debug::DEBUG a bit more
1941 * text.C (leftMargin): try to simplify a tiny bit change var x to
1942 l_margin. Dont output the wide margins always.
1943 (rightMargin): no margin in inner texts
1945 * rowpainter.h (nestMargin): new func
1946 (changebarMargin): new func
1947 (rightMargin): new func
1949 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1953 * factory.C (createInset): modify setDrawFrame
1955 * cursor.C: use Debug::DEBUG a bit more
1957 2004-08-14 André Pönitz <poenitz@gmx.net>
1960 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1961 cache for all insets in (at least partially) visible (top-level)
1964 * BufferView_pimpl.C: reset external coord cache before every update.
1965 This means the coord cache only contains valid entries.
1967 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1970 * BufferView_pimpl.C (getInsetByCode): move function out of class
1971 and change in to a template in anon namespace. Also fix to do what
1974 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1977 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1979 (breakParagraph): rename par to par_offset and use a local
1980 reference. Add code to keep the language over a rebreak.
1981 (breakParagraphConservative): rename par to par_offset, use a
1983 (mergeParagraph): ditto
1985 (isFirstInSequence): ditto
1986 (outerFont): rename pit to par_offset
1988 * paragraph.C: ws change
1989 * paragraph.h: ditto
1993 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1995 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1998 * paragraph.C (simpleTeXOnePar): when we have a \item with
1999 optional argument, enclose the argument with curly brackets (in
2000 case it contains a closing square bracket)
2004 * text3.C (checkInsetHit): constify
2006 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2008 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2009 documents (bug 1629)
2011 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2013 Fix toggling of collapsable insets with the mouse (bug 1558)
2015 * lyxfunc.C (dispatch): adapt to LCursor changes
2017 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2018 make sure that dispatch is not invoked twice
2020 * cursor.C (needsUpdate): new method
2021 (dispatch): return void
2022 (result): new method, to access the DispatchResult of the cursor.
2024 2004-08-13 José Matos <jamatos@lyx.org>
2026 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2028 2004-08-13 André Pönitz <poenitz@gmx.net>
2030 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2032 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2035 2004-08-12 André Pönitz <poenitz@gmx.net>
2037 * text3.C: take out the 'cursor right' form insertInset and only
2038 do it in those places when it is really needed. Fixes crash on
2041 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2043 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2045 * BufferView_pimpl.C (setBuffer): initialize the current font of
2046 the underlying LyXText
2048 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2050 * kbsequence.C (print): use UI native formatting for menu
2053 * text.C (insertChar): call Paragraph::insertChar with a font
2056 * paragraph.C (insertInset, insertChar): the version that takes a
2057 LyXFont argument is now a wrapper around the other one (the
2058 opposite used to be true).
2060 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2061 argument. Font setting is done in Paragraph now.
2063 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2065 * outputparams.h: add new members intitle and lang.
2067 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2068 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2070 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2072 * text3.C (dispatch): remove special handling of button 4 and 5,
2073 it is now taken care of in the frontend code.
2075 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2077 * Spacing.h: add <string> (STLPort compile fix)
2079 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2081 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2083 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2085 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2088 * converter.C (showMessage): inherit from unary_function, make
2091 * buffer.C (writeFile): initialize retval
2093 * InsetList.h: rename private variable list to list_
2094 * InsetList.[Ch]: adjust accordingly.
2096 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2098 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2099 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2100 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2101 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2102 * ParagraphParameters.C, LaTeXFeatures.C: replace
2103 "support/std_sstream.h" with <sstream>
2105 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2107 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2108 * lyxsocket.C (LyXServerSocket): ditto
2109 (serverCallback): ditto
2111 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2113 * LaTeXFeatures.C: check release date when loading jurabib.
2115 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2117 * lyxserver.C (startPipe): call register_socket_callback
2118 (endPipe): call unregister_socket_callback
2120 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2122 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2123 (LyXServerSocket): register the callback
2124 (LyXServerSocket): unregister the callback
2125 (fd): delete function
2126 (serverCallback): improve error checking and setup the callbacks.
2127 (dataCallback): change arg to fd.
2128 (writeln): new func (copied fro the client socket) used for server
2130 (LyXDataSocket): simplify
2131 (~LyXDataSocket): close ann unregiser callback
2132 (server): delete function
2133 (fd): delete function
2134 (readln): small changes, improve some std::string usage
2135 (writeln): constify a bit
2137 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2139 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2142 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2144 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2145 after it has been populated
2147 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * text2.C (insertInset): move cursor when inserting inset.
2151 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * kbmap.C (findbindings): a couple of new methods. returns a
2154 container of kb_sequence objects. The real work is done by the
2155 private recursive version
2156 (printbindings): uses findbindings to print out a bracketed list
2157 of bindings (renamed from findbinding).
2159 * MenuBackend.C (binding): use kb_keymap::findbindings
2161 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2163 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2165 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2167 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2169 * paragraph.C (isWord): return true on insets that report
2172 * text.C (getWord): use Paragraph::isWord to decide what is in a
2173 word and what is not; fix bug 1609.
2175 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2177 * tex-strings.C: add "none" to string_paperpackages[], fixes
2178 off-by-one-error in the paperpackage selection.
2181 * tex-strings.[Ch]: char const * string[n]
2182 -> char const * const string[]
2184 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2186 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2187 command, return early.
2189 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2191 * debug.h: add DEBUG to enum and fix size of ANY.
2193 * debug.C: add support for Debug::DEBUG
2194 (showTags): cast errorTags.level to unsigned int
2196 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2197 (redoCurrentBuffer): ditto
2198 (updateScrollbar): ditto
2199 * cursor.C (dispatch): ditto
2200 * text2.C (setLayout): ditto
2202 (updateCounters): ditto
2204 (deleteEmptyParagraphMechanism): ditto
2206 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2208 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2209 annotations to cleanup the Makefile slightly.
2211 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2213 * lyxrc.C: do not set user_email to a default value but use empty
2214 instead. The entry used to be translated, which does not work
2215 since at the point where lyxrc is constructed there is no
2216 translation service available
2218 * messages.C (getLocaleDir): remove and use directly
2219 lyx_localedir() instead
2221 2004-06-02 Angus Leeming <leeming@lyx.org>
2223 Fix crash caused by dereferencing null pointer 'exportdata' in
2224 OutputParams by creating a new ExportData variable on the heap,
2225 storing it in a boost::shared_ptr.
2226 The crash was triggered when generating an Instant Preview
2227 of an external inset.
2229 * Makefile.am: add outputparams.C
2231 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2232 (c-tor): allocate memory to it.
2234 * exporter.C (c-tor): associated changes.
2236 2004-06-01 Angus Leeming <leeming@lyx.org>
2238 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2239 contains data before calling isInset(0). (Bug 1513.)
2241 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2243 * exporter.C (checkOverwrite): new method
2244 * exporter.C (copyFile): new method
2245 * exporter.C (Export): copy referenced files to the document dir
2246 * exporter.[Ch]: new class ExportedFile
2247 * exporter.[Ch]: new class ExportData. Contains currently the
2248 names of referenced external files
2249 * outputparams.h: add exportdata member.
2251 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2253 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2256 2004-05-19 Angus Leeming <leeming@lyx.org>
2261 * lyxfunc.C: small changes due to the introduction of namespace
2262 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2264 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2266 * text3.C (dispatch): supress update when only moving the cursor
2267 * cursor.C (selHandle): remove commented code
2269 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2271 * paragraph.C (startTeXParParams): correct column count
2272 * CutAndPaste.C (pasteSelection): remove const_cast
2273 * output_docbook.C (docbookParagraphs): remove const_cast
2274 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2275 const_cast and return ParagraphList::const_iterator
2276 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2277 * output_plaintext.C (writeFileAscii): remove const_cast
2278 * paragraph.[Ch] (simpleTeXOnePar): make const
2279 * paragraph_funcs.C (outerPar): use const iterators
2280 * paragraph_pimpl.C (validate): use const iterators
2281 * text.C (setHeightOfRow): use const iterators
2283 2004-05-17 Angus Leeming <leeming@lyx.org>
2286 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2288 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2289 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2290 if the citation engine has changed.
2292 2004-05-14 José Matos <jamatos@lyx.org>
2294 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2295 if the textclass does not provide it. Have it different for sgml and
2297 support the language of document.
2298 * output_docbook.C (docbookParagraphs):
2299 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2300 first anchor as the id of the paragraph, remove special case code.
2301 * sgml.C (escapeChar): escape only < & >.
2303 2004-05-14 Angus Leeming <leeming@lyx.org>
2305 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2306 dependencies on src/frontends/controllers/biblio.h. Define a
2307 CiteEngine_enum wrapper class to enable the enum to be forward
2310 2004-05-12 Angus Leeming <leeming@lyx.org>
2312 * buffer.C: up LYX_FORMAT to 234.
2313 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2314 use_numerical_citations with a single biblio::CiteEngine cite_engine
2316 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2318 2004-05-13 José Matos <jamatos@lyx.org>
2321 * converter.C (Converter, readFlags): add xml member.
2322 * outputparams.h: add XML flavor.
2323 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2325 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2327 * lyxfunc.C (dispatch):
2328 (getStatus): fix handling of LFUN_SEQUENCE
2330 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2332 * debug.C (showLevel): do not forget the end-of-line marker
2334 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2336 * kbmap.C (read): do not stop parsing a bind file when an error
2339 2004-04-29 Angus Leeming <leeming@lyx.org>
2344 * text2.C: wrap a bunch of #warning statements
2345 inside #ifdef WITH_WARNINGS blocks.
2347 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2349 * buffer.C: increment format to 233.
2351 2004-04-28 Angus Leeming <leeming@lyx.org>
2353 * BufferView_pimpl.C:
2356 s/updateToolbar()/updateToolbars()/
2357 s/Toolbar.h/Toolbars.h/
2359 2004-04-28 Angus Leeming <leeming@lyx.org>
2361 * BufferView.[Ch] (c-tor):
2362 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2363 No longer passes these data to the WorkArea generator.
2365 2004-04-28 Angus Leeming <leeming@lyx.org>
2367 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2369 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2371 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2373 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2375 * output_latex.C (TeXEnvironment): make sure that there is a line
2376 break before \end{foo} for the last paragraph of a document
2377 (TeXOnePar): if the paragraph is at the end of the document (or
2378 inset) and the language has to be reset, then make sure that the
2379 line break is _before_ the language command, not after (fixes bug
2380 1225); also make sure that the language reset command is the first
2381 thing after the paragraph (to ensure proper nesting of
2382 environments and thus fix bug 1404)
2384 2004-04-21 John Levon <levon@movementarian.org>
2387 * ToolbarBackend.C: make "name" be a programmatic name
2388 and a gui_name field.
2390 * lyxfunc.C: display the minibuffer on M-x
2392 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2394 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2397 2004-04-19 Angus Leeming <leeming@lyx.org>
2399 * BufferView_pimpl.C (setBuffer): changed preview interface.
2401 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2404 2004-04-19 John Levon <levon@movementarian.org>
2406 * BufferView_pimpl.C:
2407 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2409 2004-04-05 Angus Leeming <leeming@lyx.org>
2411 * text.C (redoParagraphs): add call to updateCounters(), thereby
2412 fixing the missing "Figure #:" label from the caption of a
2415 2004-04-13 Angus Leeming <leeming@lyx.org>
2417 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2418 cursor is clicked out of an inset.
2420 2004-04-13 Angus Leeming <leeming@lyx.org>
2422 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2423 than an InsetOld one.
2425 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2427 * format.[Ch]: add editor to Format
2428 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2429 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2431 2004-04-08 André Pönitz <poenitz@gmx.net>
2433 * metricsinfo.h: remove PainterInfo::width member
2435 2004-04-08 Angus Leeming <leeming@lyx.org>
2437 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2438 "\providecommand" rather than "\newcommand", thereby preventing
2439 clashes with packages that define "\boldsymbol" themselves.
2442 2004-04-08 Angus Leeming <leeming@lyx.org>
2444 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2445 thereby squashing an unnecessary warning.
2447 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2449 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2452 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2454 * BufferView.C (setCursor): call redoParagraph (some insets could
2456 (putSelectionAt): remove the 'double update' trick
2458 * BufferView_pimpl.C (fitCursor): call refreshPar
2459 (workAreaDispatch): remove an uneeded update call
2460 (dispatch): remove some manual update calls
2462 * cursor.[Ch]: remove cached_y_, updatePos
2463 (selHandle): set noUpdate when appropriate
2465 * lyxfunc.C (dispatch): track if we need an update
2467 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2469 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2470 (paintSelection): cheap optimization, do not call cursorX when not
2472 (paintPars): change signature
2475 (paintTextInset): adjust
2479 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2481 * lengthcommon.C: compilation fix: remove explicit array size from
2482 unit_name[] and friends
2484 2004-04-05 Angus Leeming <leeming@lyx.org>
2486 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2488 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2489 present only for the preferences dialog.
2490 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2492 2004-04-05 Angus Leeming <leeming@lyx.org>
2494 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2495 to enable the frontends to export changes to lyxrc correctly.
2497 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2499 2004-04-07 André Pönitz <poenitz@gmx.net>
2501 * cursor.[Ch] (selClear, adjust): remove math
2503 * cursor_slice.C: more agressive assert
2506 * BufferView_pimpl.C: rework mouse event dispatch
2513 2004-04-05 André Pönitz <poenitz@gmx.net>
2515 * cursor.[Ch] (valign, halign...): remove unneeded functions
2517 2004-04-05 Angus Leeming <leeming@lyx.org>
2519 * lyxlength.[Ch] (unit_name et al.): const-correct.
2521 2004-04-05 Angus Leeming <leeming@lyx.org>
2523 * BufferView_pimpl.C:
2532 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2534 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2536 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2538 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2540 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2541 * BufferView_pimpl.[Ch] (getStatus)
2542 * BufferView.[Ch] (getStatus): add
2543 * lyxfunc.C (getStatus): move lfuns handled in
2544 BufferView::dispatch to te function above
2545 * Cursor.C (setSelection): set selection() = true
2547 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2549 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2551 2004-03-31 Angus Leeming <leeming@lyx.org>
2553 * lyxfunc.C (dispatch): Fall through to the generic
2554 Dialogs::show("preamble").
2556 2004-03-31 Angus Leeming <leeming@lyx.org>
2558 * lyxfunc.C (dispatch): Fall through to the generic
2559 Dialogs::show("spellchecker").
2561 2004-03-31 Angus Leeming <leeming@lyx.org>
2563 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2566 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2571 * insetiterator.[Ch]:
2576 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2578 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2580 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2581 insets where we are putting the cursor.
2583 2004-03-31 Angus Leeming <leeming@lyx.org>
2586 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2588 * lyxrc.[Ch] (read, write): overloaded member functions taking
2589 a std::[io]stream arguments.
2591 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2593 2004-03-31 Angus Leeming <leeming@lyx.org>
2595 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2596 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2598 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2599 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2601 2004-03-31 Angus Leeming <leeming@lyx.org>
2603 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2604 the LFUN_ALL_INSETS_TOGGLE code.
2606 2004-03-30 Angus Leeming <leeming@lyx.org>
2608 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2609 has died. Fall through to the generic Dialogs::show("document").
2611 2004-03-30 Angus Leeming <leeming@lyx.org>
2614 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2615 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2617 * lyxfunc.C (getStatus, dispatch): define the actions for these
2618 lfuns. Little more than a cut and pste job from ControlDocument.C
2620 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2622 2004-03-30 Angus Leeming <leeming@lyx.org>
2625 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2626 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2628 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2629 open/closed state of ollapsable insets. Usage:
2631 all-inset-toggle <state> <name>, where
2632 <state> == "open" || "closed" || "toggle" and
2633 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2635 * lyxtext.h, text2.C (toggleInset): removed.
2637 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2638 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2639 now passes LFUN_INSET_TOGGLE to the found inset.
2641 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2642 is now invoked as "all-insets-toggle toggle branch".
2644 2004-03-30 Angus Leeming <leeming@lyx.org>
2648 * pariterator.[Ch]: added/corrected header blurb.
2650 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2652 * dociterator.[Ch]: add an inset_ member
2653 (backwardPos): implemented
2654 (backwardPos, forwardPos): use inset_ when the stack is empty.
2655 (doc_iterator_begin, doc_iterator_end): implemented
2656 * pariterator.[Ch]: adjust, add begin, end
2657 * insetiterator.[Ch]: adjust, add begin, end
2661 * BufferView_pimpl.C:
2662 * CutAndPaste.C: adjust
2664 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2666 * buffer.C: increment file format to 232.
2667 * LaTeXFeatures.C: add bibtopic package.
2668 * bufferparams.[Ch]: param \use_bibtopic.
2670 * lyxrc.[Ch]: add lyxrc bibtex_command
2671 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2673 * buffer.C: increment file format to 231.
2675 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2677 * dociterator.C: implement forwardPar
2678 * iterators.[Ch]: remove, replaced by
2679 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2681 * BufferView_pimpl.C:
2684 * bufferview_funcs.C:
2690 * Makefile.am: adjust
2692 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2694 * CutAndPaste.C (pasteSelection): fix 2 crashes
2695 (eraseSelection): fix a crash
2696 * paragraph_funcs.C: remove a warning
2698 2004-03-28 Angus Leeming <leeming@lyx.org>
2701 * LyXAction.C (init): new LFUN_PRINT.
2703 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2705 2004-03-27 Angus Leeming <leeming@lyx.org>
2708 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2710 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2712 2004-03-27 Angus Leeming <leeming@lyx.org>
2714 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2715 insetlist always contains non-null pointers to insets.
2717 2004-03-26 Angus Leeming <leeming@lyx.org>
2719 * src/BufferView_pimpl.C:
2720 * src/CutAndPaste.C:
2723 * src/output_plaintext.C:
2724 * src/outputparams.h:
2725 * src/paragraph_funcs.C:
2729 * src/frontends/controllers/ControlErrorList.C:
2730 * src/frontends/gtk/FileDialogPrivate.C:
2731 * src/frontends/gtk/GPainter.C:
2732 * src/frontends/gtk/GToolbar.C:
2733 * src/frontends/qt2/QRef.C:
2734 * src/mathed/math_scriptinset.C: squash compiler warnings.
2736 2004-03-26 Angus Leeming <leeming@lyx.org>
2738 * ispell.C (LaunchIspell::start):
2739 * lyx_cb.C (AutoSaveBuffer::start):
2740 invoke run(DontWait) rather than runNonBlocking().
2742 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2744 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2746 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2748 * kbsequence.C (print): adjust
2750 * kbmap.C (printKeySym): rename and change signature
2751 (printKey): use LyXKeySym::print()
2753 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2755 * undo.C: add using std::advance to compile for stlport
2757 2004-03-24 Angus Leeming <leeming@lyx.org>
2759 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2760 it leads to a crash when no buffer is present.
2762 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2763 Martin Vermeer <martin.vermeer@hut.fi>
2765 * lyxfunc.C (dispatch):
2766 * bufferparams.C (readToken): use the new LColor::setColor
2768 * LColor.[Ch] (setColor): new version that takes two strings as
2769 argument and creates a new color entry if necessary
2771 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2773 * buffer.C (makeLaTeXFile): if the main latex file that is
2774 processed is usually a subdocument of some master, then pretend
2775 for a while that it is actually the master
2777 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2779 * buffer.C (getLabelList):
2780 (getBibkeyList): use getMasterBuffer()
2781 (getMasterBuffer): new method. Returns the main document in the
2782 case where one is using included documents.
2784 2004-03-25 André Pönitz <poenitz@gmx.net>
2788 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2790 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2792 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2793 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2795 * ParameterStruct.h: merge with ParagraphParameters
2797 * lyxtext.h: remove LyXText::parOffset() and getPar()
2799 * text3.C: Remove all 'manual' update calls. We do now one per user
2800 interaction which is completely sufficient.
2804 * BufferView_pimpl.C:
2805 * FontIterator.[Ch]:
2807 * ParagraphParameters.[Ch]:
2812 * cursor_slice.[Ch]:
2819 * output_docbook.[Ch]:
2820 * output_latex.[Ch]:
2821 * output_linuxdoc.[Ch]:
2822 * output_plaintext.[Ch]:
2824 * paragraph_funcs.[Ch]:
2825 * paragraph_pimpl.[Ch]:
2833 * frontends/controllers/ControlDocument.C:
2834 * frontends/controllers/ControlErrorList.C:
2835 * frontends/controllers/ControlSpellchecker.C:
2838 * insets/insetbase.h:
2839 * insets/insetbibitem.C:
2840 * insets/insetbox.C:
2841 * insets/insetbranch.C:
2842 * insets/insetcaption.C:
2843 * insets/insetcharstyle.C:
2844 * insets/insetcharstyle.h:
2845 * insets/insetcollapsable.C:
2846 * insets/insetcollapsable.h:
2847 * insets/insetert.C:
2848 * insets/insetfloat.C:
2849 * insets/insetfoot.C:
2850 * insets/insetmarginal.C:
2851 * insets/insetnote.C:
2852 * insets/insetoptarg.C:
2853 * insets/insettabular.C:
2854 * insets/insettext.C:
2855 * insets/insettext.h:
2856 * insets/insetwrap.C:
2857 * mathed/math_mboxinset.C:
2858 * mathed/math_nestinset.C:
2859 * mathed/math_scriptinset.C:
2860 * mathed/math_scriptinset.h:
2863 2004-03-24 Angus Leeming <leeming@lyx.org>
2865 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2866 deal with any child processes that have finished but are waiting to
2867 communicate this fact to the rest of LyX.
2869 2004-03-24 Angus Leeming <leeming@lyx.org>
2871 64-bit compile fixes.
2873 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2874 (c-tor): pass lyx::pos_types rather than ints.
2876 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2879 * text.C (Delete): compile fix.
2880 (getPar): ensure that function declaration is the same as that in
2883 2004-03-23 Angus Leeming <leeming@lyx.org>
2885 * ispell.C (LaunchIspell):
2886 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2887 a boost::shred_ptr rather than a std::auto_ptr.
2889 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2891 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2892 handle LFUN_FILE_INSERT_*
2894 * lyxrc.C (setDefaults, getDescription, output, read):
2895 * lyxrc.h: remove ps_command
2897 2004-03-22 Angus Leeming <leeming@lyx.org>
2899 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2900 Ensure that error_handler is processed once only and that all data
2901 is saved before attempting to output any warning messages.
2903 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2905 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2907 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2909 2004-03-19 André Pönitz <poenitz@gmx.net>
2911 * cursor.[Ch] (reset): take main text inset as argument
2913 * BufferView: adjust
2914 * BufferView_pimpl.C: adjust
2916 * paragraph.[Ch]: fix completely broken operator=()
2918 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2920 * LColor.C (getFromLyXName): make sure that the color name is used
2923 2004-03-17 Angus Leeming <leeming@lyx.org>
2926 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2928 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2929 dialog and to kill a forked process.
2931 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2933 * text2.C (setCursorFromCoordinates): fix font problem
2935 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2937 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2938 bogus "rebuild cursor" code
2940 2004-03-11 André Pönitz <poenitz@gmx.net>
2942 * buffer.[Ch]: use InsetText instead of LyXText as container for
2945 * dociterator.[Ch]: drop the BufferView * member which is not needed
2946 anymore after the change to buffer.C
2948 * paragraph_funcs.C:
2952 * BufferView_pimpl.[Ch]:
2954 * cursor_slice.[Ch]: adjust
2956 * text3.C: fix bug in mathDispatch
2958 2004-03-08 André Pönitz <poenitz@gmx.net>
2960 * undo.[Ch]: use 'StableDocumentIterator' as base for
2963 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2966 * bufferparams.[Ch]: add jurabib support and param.
2968 * LaTeX.C: add FIXME/comment.
2970 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2972 * buffer.C: increment file format to 230.
2974 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2976 * cursor.C (dispatch): avoid infinite loops
2978 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2980 * rowpainter.C (paintSelection): fix x coordinates
2982 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2984 * text.C (rowBreakPoint): fix breaking before displayed insets
2986 2004-03-01 André Pönitz <poenitz@gmx.net>
2988 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2990 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2994 * BufferView_pimpl.C:
3002 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3008 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3009 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3011 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3013 * Bidi.[Ch] (computeTables): const correctness
3014 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3015 fill_hfill, fill_label_hfill and x from Row
3016 * lyxtext.h: prepareToPrint returns a RowMetrics
3017 * rowPainter.C: adjust
3018 * text.C (prepareToPrint): use width, not textWidth. adjust
3019 (redoParagraphInternal, cursorX): adjust
3020 * text2.C (getColumnNearX): adjust
3021 (init): put a default value to the top LyXText::width
3023 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3025 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3027 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3029 * lyxtext.h: add FontIterator class
3031 * text.C (FontIterator, operator*, operator->, operator++): add
3032 (rowBreakPoint, setRowWidth): adjust (fixing a
3035 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3037 * BufferView_pimpl.C (workAreaDispatch): allow also
3038 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3040 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3042 * text.C (rowBreakPoint): fix a bug showing with very large insets
3044 2004-02-25 André Pönitz <poenitz@gmx.net>
3047 * cursor.[Ch]: move some mathed specific code to mathed
3049 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3051 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3052 use_tempdir in preferences
3053 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3055 * lyx_main.C: ensure that tempdir is valid
3056 * lyxlex.h: correct typo
3057 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3058 * paragraph.[Ch] (isMultiLingual): make const
3059 * cursor.[Ch] (openable): make const
3061 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3063 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3065 2004-02-20 André Pönitz <poenitz@gmx.net>
3067 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3069 * cursor.[Ch]: prepare for localized getStatus()
3075 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3077 2004-02-20 André Pönitz <poenitz@gmx.net>
3079 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3081 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3083 * text2.C (setCursorFromCoordinates): switch to absolute coords
3085 (cursorDown): adjust
3086 * text3.C (dispatch): adjust
3088 2004-02-16 André Pönitz <poenitz@gmx.net>
3090 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3093 * cursor_slice.[Ch]: remove unneeded acessor function
3095 * lyxtext.h: rename rtl() to isRTL()
3103 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3105 * rowpainter.C (paintSelection): coord fix
3107 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3109 * Spacing.C: compile fix
3111 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3113 * cursor.C (dispatch): restore current_ before returning
3115 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3117 * text2.C (cursorUp, cursorDown): fix coords
3120 2004-02-12 André Pönitz <poenitz@gmx.net>
3125 * text3.C: add LCursor & parameter to most cursor movement functions
3126 remove usage of LyXText::cursorRow() and cursorPar()
3128 * cursor.[Ch]: add textRow() needed members
3131 * BufferView_pimpl.C:
3134 * BufferView_pimpl.C: adjust
3136 2004-02-11 André Pönitz <poenitz@gmx.net>
3140 * BufferView_pimpl.C: shift undo/redo handling
3142 * cursor.[Ch]: fix mathed crash
3145 * lyxtext.h: move selectionAsText to LCursor
3153 * rowpainter.C: fix excessive drawing
3155 2004-02-06 André Pönitz <poenitz@gmx.net>
3158 * BufferView_pimpl.[Ch]:
3159 * text3.C: move some text specific LFUN handling
3161 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3163 * text3.C (checkInsetHit): adjust coords
3164 * text2.C (getColumnNearX): adjust coords
3165 (edit): adjust coords
3166 * text.C (getRowNearY): add two asserts
3168 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3171 * format.C: add using std::distance to compile on gcc 2.95/stlport
3173 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3175 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3177 2004-02-04 André Pönitz <poenitz@gmx.net>
3179 * BufferView.[Ch] (insertInset):
3180 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3185 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3187 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3188 on the default clause of the switch
3189 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3190 wasn't catched by LCursor::dispatch
3192 2004-02-03 André Pönitz <poenitz@gmx.net>
3195 * cursor.[Ch]: some additional asserts
3197 * undo.[Ch]: remove LyXText dependency in interface
3201 * lyxtext.h (firstPar, lastPar): remove dead functions
3206 * paragraph.[Ch]: adjust
3208 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3210 * lyxfind.C (find): fix argument order in call to ::find
3212 2004-02-02 André Pönitz <poenitz@gmx.net>
3214 * cursor.[Ch]: remove direct access to anchor
3216 * text.C: remove findText() hack
3218 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3220 * iterators.[Ch] (lockPath): remove in favour of...
3221 * BufferView.[Ch] (setCursor): this addition
3222 * BufferView.C (putSelectionAt): adjust
3223 * undo.C (performUndoOrRedo): adjust
3224 * lyxfunc.C (dispatch): adjust
3226 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3228 * iterators.C (lockPath): add a missing slice
3229 * undo.C (performUndoOrRedo): remove redundant positioning code
3231 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3233 * vc-backend.C (scanMaster): ";" -> ';'
3235 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3237 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3238 std::binary_function
3240 * lyxtextclass.C (compare_name): rename to...
3241 (LayoutNamesEqual): ...this
3243 * lyxlex_pimpl.C (compare_tags): inherit from
3244 std::binary_function, put back into anon namespace
3246 * lyxfind.C (MatchString): inherig from std::binary_function
3247 (findChange): use empty() istead of !size()
3249 * format.C (FormatNamesEqual): new functor
3256 * converter.C (compare_Converter): rename to...
3257 (ConverterEqual): ...this, and fixup a bit.
3258 (getConverter): use it, and make function const
3259 (getNumber): use it, and make function const
3263 * bufferlist.C: add using boost::bind
3265 * MenuBackend.C (MenuNamesEqual): new functor
3266 (hasMenu): use it, and make function const
3267 (hasSubmenu): use nested bind to get rid of compare_memfun.
3269 2004-01-30 André Pönitz <poenitz@gmx.net>
3271 * BufferView_pimpl.C:
3274 * cursor_slice.[Ch]:
3277 * paragraph_funcs.C:
3278 * paragraph_funcs.h:
3282 * text3.C: move some of the edit(x,y) handling to the insets
3283 some coordinate changes.
3285 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3287 * text.C: add using statements for std::advance and std::distance
3289 * paragraph.C: add using statement for std::distance
3291 * lyxfind.C: add using statement for std::advance
3293 * cursor.C (region): remove std:: from swap
3294 (openable): use nucleus in stead of operator->
3296 * BufferView.C: add using statements for std::distance and std::swap
3298 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3300 * iterators.C: Remove the pimple, move the needed structures to
3301 the header file. Create accessor for the positions stack.
3302 (asPosIterator): remove function
3304 * PosIterator.C (PosIterator): move constructors to top of file
3305 (PosIterator): reimplement the constructor taking a ParIterator in
3307 (setFrom): new function
3308 (operator!=): inline it
3310 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3312 * lyxfind.C (replaceAll): use std::advance
3314 * iterators.h: inherit from std::iterator.
3316 * PosIterator.C (advance, distance): remove
3317 * PosIterator.h: interit from std::iterator.
3319 2004-01-26 André Pönitz <poenitz@gmx.net>
3322 * BufferView_pimpl.[Ch]:
3326 * bufferview_funcs.C:
3336 * output_linuxdoc.C:
3337 * output_plaintext.C:
3339 * paragraph_funcs.[Ch]:
3340 * paragraph_pimpl.[Ch]:
3346 * text3.C: more IU: dumps most of the rest of the mathcursor
3347 implementation into cursor.[Ch]; "globalize" a bit of it.
3349 2004-01-25 Angus Leeming <leeming@lyx.org>
3351 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3353 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3355 * LaTeXFeatures.h: add nice_ and nice() const
3356 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3358 2004-01-20 André Pönitz <poenitz@gmx.net>
3361 * BufferView_pimpl.C:
3363 * bufferview_funcs.C:
3365 * cursor_slice.[Ch]:
3376 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3377 LCursor and mathcursor parts to LCursor and InsetBase.
3379 2004-01-15 André Pönitz <poenitz@gmx.net>
3381 * cursor_slice.[Ch]: add a few covienience functions
3383 * funcrequest.[Ch]: remove BufferView * member
3385 * BufferView_pimpl.C:
3392 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3394 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3396 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3397 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3399 2004-01-13 André Pönitz <poenitz@gmx.net>
3402 * lyxtext.h: hide cursor and selection anchor behind accessor function
3405 * BufferView_pimpl.[Ch]:
3407 * bufferview_funcs.C:
3417 * cursor_slice.[Ch]: some integer type changes for inset unification
3419 * lyxcursor.[hC]: remove, it's CursorSlice now.
3422 * BufferView_pimpl.[Ch]:
3423 * bufferview_funcs.C:
3429 * textcursor.[Ch]: adjust
3431 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3433 * text2.C (undoSpan): add and use
3434 * text.C (breakParagraph): use undoSpan (fix bug 578)
3437 2004-01-08 Angus Leeming <leeming@lyx.org>
3439 * BufferView_pimpl.C (MenuInsertLyXFile):
3440 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3441 * lyxfunc.C (menuNew, open, doImport):
3442 FileFilterList change to the FileDialog open and save functions.
3444 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3446 * ShareContainer.h: make isEqual and isUnique adaptable
3448 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3450 2004-01-07 Angus Leeming <leeming@lyx.org>
3453 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3455 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3457 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3458 functions replacing find, replace and replaceAll.
3460 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3461 LFUN_WORDFIND(FORWARD|BACKWARD).
3463 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3465 * text.C (breakParagraph): remove an outdated #warning
3467 2004-01-07 André Pönitz <poenitz@gmx.net>
3469 * lyxfind.C: somewhat clearer logic
3471 * text.C: prevent crash in cursorX on unitialized row cache
3473 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3475 * lyxcursor.[Ch] (operator>): add
3476 * textcursor.C (selStart, selEnd): use std::min and std::max
3478 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3480 * Chktex.C: include boost/format.hpp
3482 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3484 * InsetList.C: replace functor MathcIt with adaptable functor
3486 (insetIterator): modify accordingly
3488 * BranchList.h: move the BranchNamesEqual functor here from...
3489 * BranchList.C: ... to here
3491 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3493 (add): replace a finding loop with std::find_if.
3495 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3497 * output_docbook.C: moving LatexParam functionality into
3500 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3502 * buffer.C: increment format to 229.
3504 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3507 * lyx_sty.[Ch]: remove minipageindent_def
3513 * text3.C: remove LFUN_INSET_MINIPAGE
3515 2003-12-28 Angus Leeming <leeming@lyx.org>
3517 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3519 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3521 * text2.C (setParagraph): fix off-by-one crash
3523 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3525 * output_docbook.C: header stuff for AGU
3527 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3529 * text2.C (redoCursor): remove
3532 * BufferView_pimpl.C: remove calls to redoCursor and
3533 setCursor(cursor.par(), cursor.pos()) all around
3535 2003-12-15 Angus Leeming <leeming@lyx.org>
3537 * buffer.C: up the format to 228.
3539 2003-12-15 André Pönitz <poenitz@gmx.net>
3541 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3546 * BufferView_pimpl.C:
3555 2003-12-15 Angus Leeming <leeming@lyx.org>
3557 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3558 than getFromGUIName to manipulate the color.
3560 2003-12-14 Angus Leeming <leeming@lyx.org>
3562 * BranchList.[Ch]: minimize the API.
3563 (Branch::getBranch, getColor): now return a 'const &'.
3564 (Branch::setSelected) now returns a bool set to true if the
3565 selection status changes.
3566 (BranchList::clear, size, getColor, setColor, setSelected,
3567 allBranches, allSelected, separator): removed.
3568 (BranchList::find): new functions, returning the Branch with
3570 (BranchList::add, remove): return a bool indicating that
3571 the operation was successful.
3573 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3574 new InsetBranch::isBranchSlected member function.
3576 * LColor.[Ch]: mimimize the API.
3577 (fill): renamed as addColor and made private.
3578 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3579 versions of these functions taking a string arg have been removed.
3581 * bufferparams.C (readToken):
3582 * lyxfunc.C (dispatch):
3583 * lyxrc.C (read): changes due to the altered BranchList and
3586 * factory.C (createInset, readInset): changes due to altered
3589 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3592 * lyxfunc.C: remove insetminipage. "minipage-insert"
3593 now produces a frameless minipage box inset.
3595 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3597 * textcursor.[Ch] (selStart,selEnd): add new methods
3598 remove selection::start, end, use LyXCursor::operator<
3599 * lyxcursor.[Ch] (operator<): add
3600 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3601 * BufferView.[Ch] (unsetXSel): add
3602 * text2.C (clearSelection): use unsetXSel,adjust
3605 * rowpainter.C: adjust
3606 * bufferview_funcs.C (put_selection_at): adjust
3608 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3610 * BufferView_pimpl.C: small coord. correction
3612 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3614 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3615 dragging over the splash screen.
3617 2003-12-11 Angus Leeming <leeming@lyx.org>
3619 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3620 as it is now handled in LyXText::dispatch.
3622 * text3.C (doInsertInset): remove a level of nesting.
3624 2003-12-11 Angus Leeming <leeming@lyx.org>
3626 * factory.C (createInset): changes due to the changed interface to
3627 InsetCommandMailer::string2params.
3629 2003-12-10 Angus Leeming <leeming@lyx.org>
3631 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3632 'dialog-show-new-inset <inset name>'
3634 2003-12-10 Angus Leeming <leeming@lyx.org>
3636 * buffer.C: up the format to 227.
3638 * factory.C: the box inset is now identified simply by 'Box'.
3640 2003-12-10 Angus Leeming <leeming@lyx.org>
3642 * buffer.C: up the format to 226.
3644 * factory.C: the note inset is now identified simply by 'Note'.
3646 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3648 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3649 when a pit is enough. Standarize a couple of loops.
3651 2003-12-05 Angus Leeming <leeming@lyx.org>
3653 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3654 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3655 data to the re-worked "log" dialog.
3657 2003-12-03 André Pönitz <poenitz@gmx.net>
3663 * paragraph_funcs.C:
3665 * text2.C: use Inset::getText instead of Inset::getParagraph
3667 2003-12-03 André Pönitz <poenitz@gmx.net>
3671 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3672 InsetText::read() as LyXText::read()
3674 2003-12-02 Angus Leeming <leeming@lyx.org>
3676 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3677 type. Add a comment in the implementation that the function uses
3678 the stream's bad() function rather than fail() as the std::streams
3681 2003-12-02 André Pönitz <poenitz@gmx.net>
3683 * lyxlex.[Ch]: make interface more similar to std::stream
3685 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3687 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3689 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3691 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3693 * vspace.[Ch]: remove VSpace::NONE
3695 2003-12-01 André Pönitz <poenitz@gmx.net>
3698 * lyxtext.h: move ParagraphList member to LyXText
3699 rename LyXText::ownerParagraphs to LyXText::paragraph
3702 * bufferview_funcs.C:
3712 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3714 * undo.C: fix cursor positioning
3716 2003-12-01 John Levon <levon@movementarian.org>
3718 * BufferView_pimpl.C: fix a crash on exit with
3721 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3723 * BranchList.C: fix setSelected() method.
3725 2003-11-28 André Pönitz <poenitz@gmx.net>
3727 * ParagraphParameters.[Ch]:
3728 * ParameterStruct.h: remove space above/below from Paragraph to
3731 * BufferView_pimpl.C:
3737 * paragraph_funcs.C:
3743 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3745 * factory.C: Syntax change for CharStyles
3747 2003-11-28 André Pönitz <poenitz@gmx.net>
3752 * buffer.[Ch]: move LyXText member
3754 2003-11-28 André Pönitz <poenitz@gmx.net>
3756 * BufferView.[Ch]: make LyXText * text a private member
3758 * BufferView_pimpl.C:
3769 * output_plaintext.C: cleanup
3771 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3774 * lyxtextclass.[Ch]: parametrize SGML document header
3776 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3779 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3782 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3784 * text2.C (setFont): rework using PosIterator (no more recursive)
3785 (setCharFont): no more needed
3786 (setLayout): no more selection cursors fiddling (done by redoCursor)
3787 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3788 destroy remaining ones)
3790 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3792 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3794 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3797 * text3.C: adjust + re-allow multi par depth changes
3798 * textcursor.C: simplify a bit
3800 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3806 * src/output_docbook.C:
3807 * src/output_latex.C:
3812 * src/text2.C: Introducing a number of tags parametrizing various
3813 XML formats that we may want to support
3815 2003-11-25 André Pönitz <poenitz@gmx.net>
3817 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3819 * lyxtext.h (leftMargin/rightMargin): simplify interface
3826 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3828 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3829 master file to any child files. Fixes bug 546.
3831 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3833 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3835 2003-11-24 André Pönitz <poenitz@gmx.net>
3837 * rowpainter.C: simplification
3839 * text2.C (updateCounters): remove call to redoParagraph on
3840 changed labels as this is far too expensive.
3842 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3844 * converter.C (convert): fix a crash: this function gets
3845 called with buffer == 0 from importer code.
3847 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3849 * text3.C (cursorPrevious): make sure that we do not compare
3850 iterators form different containers.
3853 * rowpainter.C (paintSelection): make sure that we do not compare
3854 iterators from different containers.
3856 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3857 iterators from different ParagraphList containers.
3860 * text2.C (LyXText): change order of initialization slightly
3861 (operator=): new function. copy all variables except cache_par_
3862 (moveUp): make sure that we do not compare iterators from
3863 different ParagraphList constainers.
3866 * text.C (firstPar): new function
3867 (lastPar): new function
3868 (endPar): new function
3870 * lyxtext.h: move things around and group public functions, public
3871 variables, private functions, private variables
3873 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3875 * factory.C: change call to InsetERT constructor to avoid
3876 additional invocation of method status
3877 * text2.C (toggleInset): remove redundant update() call
3878 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3879 instead of a Bufferview pointer
3881 2003-11-21 André Pönitz <poenitz@gmx.net>
3883 * rowpainter.C: simplification
3885 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3887 * text3.C (dispatch): make possible to extend a word/row selection
3890 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3892 * lyxtext.h: x0_,y0_ -> xo_,yo_
3893 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3894 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3895 * rowpainter.C (paintRows): paint full paragraphs
3897 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3899 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3902 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3904 * lyxtext.h: add x0_, y0_
3905 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3906 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3908 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3910 * text2.C (setCursorIntern): move the x_target update here *
3911 * text3.C: change some bv() to true/false in calls to
3912 cursorUp/Down/Right/Left
3913 * cursor.C: use helper function.
3915 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3917 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3918 * paragraph_funcs.[Ch]: correct comment
3919 * rowpainter.C: do not paint selections away from bv->cursor()
3920 Fix a long standing selection painting bug.
3921 * text3.C: generalize mouse-selection code to LyXTexts other that
3923 * textcursor.C: do not use y coords if we can use par offsets
3925 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3927 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3928 cursor position after e.g. inset insert)
3930 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3932 * lyxfind.C (replace): adjust to locking removal + some
3935 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3937 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3940 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3943 * output_docbook.C: XML sanitation: new layout
3944 parameters InnerTag and CommandDepth
3946 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3948 * BufferView_pimpl.C:
3950 * text3.C: Fix the insertion and modification of button-style
3953 2003-11-13 André Pönitz <poenitz@gmx.net>
3955 * InsetList.[Ch]: remove deleteLyXText
3957 * paragraph.[Ch]: cache beginOfBody position
3962 * text3.C: remove superfluous update() calls
3966 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3968 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3969 * BufferView.C (fitLockedInsetCursor): remove
3970 * cursor.[Ch] (getDim): add
3971 * text.C (getRowNearY): add faster version
3972 * text3.C: remove some update calls
3974 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3986 * text3.C: The Character Style /XML short element patch.
3988 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3991 * factory.C: Small step to solving 'unable to insert some insets'
3994 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3996 * cursor.[Ch] (updatePos): new function for updating the y
3997 position of the tip inset
3998 * bufferview_funcs.C (put_selection_at):
3999 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4001 2003-11-11 André Pönitz <poenitz@gmx.net>
4003 * text.C: remove big comment on invalid Paragraph pointers as it is
4006 2003-11-11 André Pönitz <poenitz@gmx.net>
4008 * text_funcs.[Ch]: merge with ...
4016 * Makefile.am: remove text_funcs.[Ch]
4018 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4020 * cursor.C (getPos): return absolute cached y coord
4022 * BufferView_pimpl.C (fitCursor): new simplistic code
4023 (workAreaDispatch): add a fitCursor call
4025 2003-11-10 André Pönitz <poenitz@gmx.net>
4028 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4030 2003-11-10 André Pönitz <poenitz@gmx.net>
4032 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4033 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4034 indicate that the cursor needs to leave an inset
4036 * lyxtext.h: remove inset locking
4038 * cursor.[Ch]: re-implement functionality provided by inset locking
4041 * BufferView_pimpl.[Ch]:
4043 * bufferview_funcs.[Ch]:
4055 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4057 * PosIterator.[Ch]: replace the stack with a vector, add inset
4059 * iterators.[C]: adjust
4061 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4063 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4065 * paragraph_funcs.C (readParToken): put the correct id in the
4066 error item, not the id of the top paragraph
4068 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4070 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4071 * bufferview_funcs.C (put_selection_at): use the above
4073 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4075 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4077 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4079 * output_linuxdoc.h:
4080 * output_plaintext.h:
4082 * output_docbook.h: add #include statements
4084 2003-11-05 José Matos <jamatos@lyx.org>
4086 * output_docbook.[Ch]:
4087 * output_latex.[Ch]:
4088 * output_linuxdoc.[Ch]:
4089 * output_plaintext.[Ch]: New files for output formats.
4090 * output.[Ch]: New file for helper functions.
4093 * paragraph_funcs.[Ch]: output functions moved to new files.
4095 * outputparams.h: rename of latexrunparams.h
4103 * paragraph_funcs.[Ch]:
4104 * paragraph_pimpl.[Ch]:
4105 * tabular.[Ch]: rename ascii to plaintext
4106 and LatexRunParams to OutputParams.
4108 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4110 * iterators.[Ch] (text): require bv argument
4111 * undo.C (recordUndo):
4112 * lyxfunc.C (dispatch):
4113 * bufferview_funcs.C (put_selection_at): adjust
4115 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4117 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4119 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4121 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4124 2003-11-04 André Pönitz <poenitz@gmx.net>
4126 * cursor.[Ch]: restructure
4129 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4131 * iterators.[Ch] (asCursor): remove
4133 * lfuns.h: remove LFUN_INSET_EDIT
4139 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4141 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4143 * lyxfind.[Ch]: complete overhaul
4144 * BufferView_pimpl.C:
4146 * paragraph.[Ch] (insert): add
4148 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4152 * text.C: remove dead spellcheck code
4154 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4156 * dispatchresult.h: add a val setter
4158 * cursor.C (dispatch): use a tempvar for data_[i]
4160 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4162 * PosIterator.[Ch]: compile fix
4164 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4166 * text.C (cursorPar): deactivate the cursor cache
4168 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4170 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4172 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4174 * text3.C (dispatch): adjust for new DisptchResult semantics.
4176 * lyxfunc.C (dispatch): handle update when return from
4177 Cursor::dispatch, adjust for new DispatchResult semantics.
4179 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4180 DispatchResult(true) mean to not update. Add class functions for
4181 setting dispatched and update, as well as reading.
4183 * cursor.C (dispatch): don't handle update here
4185 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4187 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4188 * trans_mgr.C: adjust
4190 * paragraph_funcs.C (readParToken): exception safety
4192 * lyxvc.h: store the vcs pointer in a scoped_ptr
4195 * lyxsocket.C (serverCallback): exception safety
4197 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4199 * ispell.C (clone): make it return a auto_ptr
4201 * factory.C (createInset): exception safety
4202 (readInset): exception safety
4204 * bufferlist.C (newBuffer): exception safety
4206 * Thesaurus.C (Thesaurus): use initialization for aik_
4208 * MenuBackend.C (expandToc): exception safety.
4210 2003-11-03 André Pönitz <poenitz@gmx.net>
4214 * bufferview_funcs.C: remove getInsetFromId()
4217 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4223 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4225 * PosIterator.C (distance, advance): new
4226 * bufferview_funcs.[Ch] (put_selection_at): new
4227 * iterators.[Ch] (lockPath): new
4229 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4231 * iterators.[Ch] (asPosIterator): added
4232 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4233 * PosIterator.[Ch]: added
4235 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * cursor.C (dispatch):
4240 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4242 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4243 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4244 contructor, add a class function dispatched. Remove operator>=
4246 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * debug.C: only use the default constructor for debugstream
4251 * main.C (main): include debug.h and setup the lyxerr streambuf
4254 2003-10-31 José Matos <jamatos@lyx.org>
4256 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4258 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4259 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4260 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4261 * paragraph_pimpl.C (simpleTeXSpecialC):
4262 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4263 add LatexRunParams argument.
4265 * exporter.C (Export): change call accordingly.
4267 * latexrunparams.h: add new member to take care of the other backends.
4268 2003-10-30 José Matos <jamatos@lyx.org>
4270 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4271 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4272 factorise code for paragraph output.
4274 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4277 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4279 * text3.C (dispatch):
4280 * lyxfunc.C (dispatch):
4281 * cursor.C (dispatch):
4282 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4284 * dispatchresult.h: make the dispatch_result_t ctor explicit
4286 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4289 * buffer.C: small refactoring of docbook stuff
4291 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4296 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4299 operator dispatch_result_t, and operators for == != and >=
4301 * cursor.C (dispatch): adjust for operator dispatch_result_t
4302 removal. comment out call to update
4304 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4306 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4317 * dispatchresult.h: new file, DispatchResult broken out of
4320 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4322 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4324 * text.C (rowBreakPoint): put a hack inside #if 0
4326 2003-10-28 André Pönitz <poenitz@gmx.net>
4330 * paragraph_funcs.C:
4333 * text2.C: general cleanup (lots of small stuff)
4335 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4337 * text2.C (cursorEnd): simple fix to the "end key goes to one
4338 before the end on last row" bug
4340 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4342 * text.C (backspace): fix the "zombie characters"
4344 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4346 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4348 2003-10-27 André Pönitz <poenitz@gmx.net>
4350 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4352 * factory.C: handle new InsetPagebreak, InsetLine
4354 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4355 and move handling into new InsetPagebreak, InsetLine
4357 * BufferView_pimpl.C:
4359 * ParagraphParameters.C:
4360 * ParameterStruct.h:
4365 * paragraph_funcs.C:
4366 * paragraph_pimpl.C:
4372 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4375 * lyxrow_funcs.[Ch]:
4381 * text3.C: remove lastPos uses in favour of Row::endpos
4383 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4385 * undo.C (performUndoOrRedo): fix two crashes by setting a
4386 cursor by hand and reordering some calls. Use bv->lockInset instead
4387 of inset->edit because the latter loses cursor information
4389 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4391 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4393 (rowBreakPoint): fix width. change point to point + 1.
4394 Add a missing check.
4396 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4399 * lyxfunc.C: fix (at least partly) the problems
4400 with the Nav menu and headers inside branch insets
4403 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4405 * paragraph.C (getChar): add strong asserts
4407 * lyxrow_funcs.C (lastPos): remove hideous hack
4409 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4410 (fill): adjust to that (avoid an infinite loop)
4412 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4414 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4416 2003-10-23 André Pönitz <poenitz@gmx.net>
4418 * RowList_fwd.h: change list<> to vector<> to gain speed
4419 after suggestion from Alfredo
4421 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4423 * lyxtext.h: move the bidi stuff from here...
4426 * Bidi.[Ch]: ... to here
4428 2003-10-23 André Pönitz <poenitz@gmx.net>
4431 * text.C (isLastRow, isFirstRow): new functions
4433 * paragraph.h: new width cache member
4435 * rowpainter.C: replace RowList::iterator with Row & where possible
4437 * lyxfunc.C: replace several view()->text with a single call
4439 * toc.C: fix 'unused' warning
4441 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4443 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4444 when woring with stream::pos_type
4445 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4447 2003-10-22 André Pönitz <poenitz@gmx.net>
4450 * text.C: use Row & instead of RowList::iterator
4452 * lyxrow.h: rename end() to endpos()
4458 2003-10-22 Angus Leeming <leeming@lyx.org>
4460 * buffer.[Ch] (fully_loaded): new member function, returning true
4461 only when the file has been loaded fully.
4462 Used to prevent the premature generation of previews and by the
4463 citation inset to prevent computation of the natbib-style label.
4465 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4466 templates are all set up.
4468 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4470 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4472 * text.C: fixed an "oops" in the "is a bit silly"
4475 2003-10-21 André Pönitz <poenitz@gmx.net>
4477 * FuncStatus.[Ch]: small stuff, whitespace
4479 * lyxfont.[Ch]: operator<<() for debug reasons
4483 * lyxtext.h: whitespace, spelling
4485 * paragraph.C: naming of variables
4488 * text2.C: small stuff
4491 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4493 * text.C: (1) finish off the inset display() work;
4494 (2) fix the "is a bit silly" bug (accessing char
4497 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4499 * text.C: re-introduce display() for insets, fixing the
4500 various bugs (stretch of line above, math inset
4503 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4505 * text.C (rightMargin): remove spurious semicolon
4507 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4510 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4512 * text3.C: fix one crash due to wrong cursor def
4514 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4516 * vc-backend.C (scanMaster): make the regex static
4518 * LaTeX.C (scanAuxFile): make the regexs static
4520 * text3.C (doInsertInset, dispatch, dispatch):
4521 * text2.C (cursorUp, cursorDown):
4522 * text.C (selectNextWordToSpellcheck):
4523 * BufferView_pimpl.C (dispatch):
4524 * lyxfunc.C (dispatch): localDispatch -> dispatch
4526 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4528 * lyxsocket.C: include <cerrno>
4530 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4532 * lyxfunc.C (dispatch): remove textcache stuff
4534 * bufferlist.C (release): remove textcache stuff
4537 * TextCache.C: delete file
4538 * TextCache.h: delete file
4540 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4542 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4543 delete of the bv_->text.
4544 (resizeCurrentBuffer): remove texcache stuff
4545 (workAreaResize): ditto
4547 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4549 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4552 2003-10-16 André Pönitz <poenitz@gmx.net>
4559 * text3.C: speed up by storing y positions per paragraph plus per-row
4560 offset instead of having a 'full' y position in the row.
4562 2003-10-15 André Pönitz <poenitz@gmx.net>
4566 * undo.[Ch]: make undo aware of inner insets
4568 2003-10-14 Angus Leeming <leeming@lyx.org>
4570 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4571 static member functions LyX::ref() and LyX::cref.
4572 (lastfiles): new accessor functions for the new lastfiles_ member var.
4573 (addLyXView, views_): add a new LyXView to the list of views_.
4574 (updateInset): loop over all LyXViews to call their own updateInset
4575 member function, returning a pointer to the Buffer owning the inset.
4577 * BufferView_pimpl.C (loadLyXFile):
4578 * MenuBackend.C (expandLastfiles):
4579 * bufferlist.C (MenuWrite, QuitLyX):
4580 lastfiles is no longer a global variable.
4581 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4583 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4584 static function. Access through LyX::cref().emergencyCleanup().
4586 2003-10-14 André Pönitz <poenitz@gmx.net>
4588 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4590 * undo.[Ch]: restoring part of 'undo in insets'
4593 * undo_funcs.[Ch]: merge with undo.[Ch]
4595 * tabular.C: small cleansing stuff
4597 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4599 * paragraph_funcs.C (readParToken): report unknown insets as error
4600 boxes. Use the outer paragraph as location (also for unknown
4603 * factory.C (readInset): do not abort on reading an unknown inset.
4604 Eat it and return 0.
4606 2003-10-13 Angus Leeming <leeming@lyx.org>
4608 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4610 * lyxrc.C: displayTranslator is now a function,
4611 declared in GraphicsTypes.h.
4613 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4615 * format.C: new placeholder $$a to pass the socket address.
4617 * bufferlist.[Ch]: new function getBufferFromTmp.
4619 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4620 files in the temporary dir.
4622 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4624 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4626 * Makefile.am: add lyxsocket.[Ch].
4628 * lyx_main.C (error_handler): handle SIGPIPE.
4630 2003-10-13 André Pönitz <poenitz@gmx.net>
4632 * BufferView_pimpl.C:
4637 * undo_funcs.[Ch]: use paroffset_type instead of
4638 ParagraphList::iterators to prevent multiple conversion
4639 (and get a more robust interface)
4641 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4643 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4645 * text3.C (dispatch): ditto
4647 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4650 move the onlyfile, use onlyfile instead of foundfile in a couple
4653 * DepTable.C (update): flush the error stream a bit more
4655 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * lyxserver.C (callback): adjust
4659 * lyxfunc.C (getStatus): add a missing brace in commented code
4660 (ensureBufferClean): reindent
4661 (dispatch): delete version taking a string
4663 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * LaTeX.C (deplog): move found file handlig from here...
4666 (handleFoundFile): .. to new function here.
4667 (deplog): make sure to discover several files mentioned on the
4670 2003-10-10 André Pönitz <poenitz@gmx.net>
4677 * text3.C: fix some of the tabular crashes
4679 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4681 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4683 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4685 2003-10-09 André Pönitz <poenitz@gmx.net>
4687 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4690 * BufferView_pimpl.C:
4691 * bufferview_funcs.C:
4702 * undo_funcs.C: adjust
4704 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * text2.C (incrementItemDepth): new function, use a backtracking
4707 algorithm to discover the correct item depth.
4708 (resetEnumCounterIfNeeded): new function, use a backtracking
4709 algorithm to discover if counter reset is needed.
4710 (setCounter): use them. Simplify a bit. Add different labels for
4711 different item depths for itemize.
4713 * paragraph.C (Paragraph): remove initialization of enumdepth
4716 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4717 enumerate and itemize. Change the type of itemdepth to signed char.
4719 2003-10-08 André Pönitz <poenitz@gmx.net>
4721 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4726 * tabular.[Ch]: fix crash after 'row-insert'
4728 2003-10-08 Angus Leeming <leeming@lyx.org>
4730 Fix doxygen warnings.
4732 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4733 Remove CutAndPaste:: prefix from header file declaration.
4735 * LColor.h (fill): remove LColor:: prefix from declaration.
4737 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4738 use lyx::depth_type rather than Paragraph::depth_type so that
4739 header file and .C file match.
4741 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4743 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4744 * aspell.C: \file aspell_local.C -> \file aspell.C
4745 * gettext.C: \file gettext.C -> \file src/gettext.C
4746 * gettext.h: \file gettext.h -> \file src/gettext.h
4747 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4748 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4749 * text.C: \file text.C -> \file src/text.C
4751 * toc.C: move comment so that doxygen is not confused.
4753 2003-10-07 Angus Leeming <leeming@lyx.org>
4755 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4757 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4760 * aspell_local.h: add forgotten std::string's.
4762 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4769 * text3.C: The Box patch. Fancybox support, minipage, parbox
4771 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4777 * ParagraphParameters.h:
4787 * lyxtextclasslist.h:
4790 * paragraph_pimpl.C:
4791 * textcursor.h: add <string> and other small fixes to make Lars'
4792 std::string patch compile with STLport.
4794 2003-10-06 Angus Leeming <leeming@lyx.org>
4796 * LColor.h: Add missing #include <string>.
4798 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * All most all file in all subdirs: Make <string> be the prefered
4801 way of getting to std::string, add using declarations.
4803 2003-10-06 André Pönitz <poenitz@gmx.net>
4805 * metricsinfo.C: initialize LyXFont before changing attribute.
4806 (fixes the 'math in \emph is upright' bug)
4808 2003-10-06 André Pönitz <poenitz@gmx.net>
4810 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4812 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4815 * paragraph_pimpl.C: Small fixes to build using STLport
4817 2003-10-02 André Pönitz <poenitz@gmx.net>
4820 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4822 2003-10-01 André Pönitz <poenitz@gmx.net>
4824 * factory.C: assert early
4826 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4828 * lyx_main.C: remove the global debug object
4830 * debug.h: adjust for new debugstream
4832 * debug.C: adjust for new debugstream and keep the global debug
4835 2003-09-22 Angus Leeming <leeming@lyx.org>
4837 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4838 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4839 an incomplete class LyXFont.
4841 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4843 * factory.C: bug fix in branches
4845 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4847 * lyxfunc.C (processKeySym): adjust
4849 (dispatch): change arg name from ev to func, adjust
4850 (sendDispatchMessage): ditto
4852 * lyx_main.C (defaultKeyBindings): adjust keybindings
4853 (deadKeyBindings): ditto
4855 * kbsequence.C (addkey): return a FuncRequest
4857 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4859 * kbmap.C (bind): take a FuncRequest as arg, adjust
4862 (defkey): change to take a FuncRequest as arg, adjust
4863 (findbinding): take a FuncRequest as arg, adjust.
4865 * funcrequest.h (operator=): added
4867 * funcrequest.C (FuncRequest): default kb_action changed from
4868 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4870 * buffer.C (dispatch): simplify
4871 (dispatch): adjust to take a FuncRequest as arg, adjust
4873 * boost.C (assertion_failed): change assertion message slightly
4875 * ToolbarBackend.C (read): simplify
4877 * MenuBackend.C (binding): adjust call to findbinding, add a
4878 message if no binding is found.
4880 (expandToc): correct by adding a empty FuncRequest
4882 * LyXAction.C: include <boost/assert.hpp>
4883 (isPseudoAction): delete function
4884 (LookupFunc): change name to...
4885 (lookupFunc): this. change return type to FuncRequest.
4886 (getActionName): take kb_action as arg, simplify
4887 (funcHasFlag): add an assert, simplify.
4889 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * toc.C (action): return a FuncRequest, simplify
4893 * lyxfunc.C (processKeySym): adjust
4894 (getStatus): delete version that takes an int.
4896 (dispatch): delete version that takes action as int
4898 (sendDispatchMessage): simplify and adjust
4900 * funcrequest.C (getArg): take unsigned int as arg
4902 * ToolbarBackend.C (read): adjust
4903 (add): delete version that takes func as a string.
4904 (getIton): take a FuncRequest as arg
4906 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4909 * MenuBackend.C (MenuItem): add a new construct that only takes a
4910 Kind, simplify the constructor use for submenus.
4912 (expandLastfiles): adjust
4913 (expandDocuments): adjust
4914 (expandFormats): adjust
4915 (expandFloatListInsert): adjust
4916 (expandFloatInsert): adjust
4917 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4919 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4920 Remove class variables lyx_pseudo_map and lyx_arg_map
4922 * LyXAction.C (searchActionArg): delete function
4923 (getPseudoAction): delete function
4924 (retrieveActionArg): delete function
4925 (LookupFunc): make it return kb_action, simplify.
4926 (getActionName): simplify
4928 * factory.C (createInset): fix new bug
4930 2003-09-19 Angus Leeming <leeming@lyx.org>
4932 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4933 masterFilename_ parameter in the include inset.
4935 * factory.C (createInset): changes due to the changes to InsetInclude.
4937 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4939 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4941 2003-09-18 Angus Leeming <leeming@lyx.org>
4944 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4945 Inset::fillWithBibKeys.
4946 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4948 2003-09-18 Angus Leeming <leeming@lyx.org>
4950 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4952 (ctor): pass and store a 'Buffer const &'
4953 (buffer): new member function.
4955 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4956 '*this' to the LaTeXFeatures ctor.
4958 2003-09-18 Angus Leeming <leeming@lyx.org>
4964 * text.C: rename EnumLColor as LColor_color.
4966 2003-09-18 Angus Leeming <leeming@lyx.org>
4968 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4969 remove #include "insets/insetbase.h" from cursor.h.
4971 2003-09-18 Angus Leeming <leeming@lyx.org>
4973 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4974 InsetOld_code to remove #include "inset.h".
4976 * iterators.C: add #include "insets/inset.h"
4978 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4980 * BufferView.C: remove more locking stuff that apparently doesn't
4981 do anything sensible.
4983 2003-09-16 André Pönitz <poenitz@gmx.net>
4986 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4989 2003-09-16 Angus Leeming <leeming@lyx.org>
4991 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4993 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4996 * paragraph.h: remove #include "lyxfont.h". Forward declare
4999 2003-09-16 Angus Leeming <leeming@lyx.org>
5001 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5002 of support/textutils.h.
5003 (isWord): move the contents of support/textutils.h's IsWordChar here.
5009 * text2.C: add #include "paragraph.h".
5012 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5014 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5020 * LaTeX.C: use namespace alias for lyx::support::os
5022 2003-09-16 Angus Leeming <leeming@lyx.org>
5025 * bufferview_funcs.C:
5028 * paragraph_pimpl.C:
5030 * text.C: add #include "LColor.h".
5032 2003-09-16 Angus Leeming <leeming@lyx.org>
5034 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5035 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5037 Store the FontBits::color variable as an int rather than as an
5038 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5041 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5042 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5043 string calls together.
5045 * lyxrc.C: add #include "LColor.h".
5047 2003-09-15 Angus Leeming <leeming@lyx.org>
5049 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5052 2003-09-15 Angus Leeming <leeming@lyx.org>
5054 * LColor.h: add an EnumLColor wrapper for LColor::color.
5056 * lyxfont.[Ch] (color, setColor, realColor):
5057 * lyxtext.h, text.C (backgroundColor):
5058 pass EnumLColor args to/from the functions, rather than LColor::color
5062 * lyxtext.h: forward declare EnumLColor.
5064 * lyx_main.C: add #include "LColor.h".
5066 2003-09-15 Angus Leeming <leeming@lyx.org>
5068 * .cvsignore: add lyx-gtk.
5070 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5075 * ParagraphParameters.C
5079 * bufferview_funcs.C
5089 * vc-backend.C: remove usage of STRCONV
5091 2003-09-15 Angus Leeming <leeming@lyx.org>
5093 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5094 explicitly define the color passed to the painter.
5096 2003-09-15 Angus Leeming <leeming@lyx.org>
5098 * bufferparams.C (BufferParams): reorder member initializers to avoid
5101 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5103 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5104 * text.C (updateRowPositions): remove an unusual nop
5106 2003-09-12 André Pönitz <poenitz@gmx.net>
5108 * BufferView_pimpl.C:
5117 * Counters.[Ch]: finish the 'automatic counters' job
5119 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5121 * aspell.C: include <boost/assert.cpp> (compile fix)
5123 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5125 * boost.C (assertion_failed): use lyx::support::abort instead of
5128 2003-09-10 Angus Leeming <leeming@lyx.org>
5130 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5131 with their _fwd progeny.
5133 2003-09-09 Angus Leeming <leeming@lyx.org>
5135 134 files throughtout the source tree: replace 'using namespace abc;'
5136 directives with the appropriate 'using abc::xyz;' declarations.
5138 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5140 * boost.C (emergencyCleanup): moved here from LAssert.c
5141 (assertion_failed): new function, called by BOOST_ASSERT
5143 * several files: change Assert to BOOST_ASSERT
5145 2003-09-09 Angus Leeming <leeming@lyx.org>
5147 * buffer.[Ch]: Add an Impl class and move Buffer's member
5148 variables into it. As a result move several header files out of
5151 Add header files to lots of .C files all over the tree as a result.
5153 2003-09-09 Angus Leeming <leeming@lyx.org>
5155 * buffer.[Ch]: make Buffer's member variables private. Add
5158 Lots of changes all over the tree as a result.
5160 2003-09-08 Angus Leeming <leeming@lyx.org>
5162 * graph.C: #include <config.h>.
5164 2003-09-08 Angus Leeming <leeming@lyx.org>
5168 * BufferView_pimpl.C:
5197 * toc.C: remove redundant using directives.
5199 2003-09-07 Angus Leeming <leeming@lyx.org>
5201 * LaTeXFeatures.h: remove #include "support/types.h".
5202 * ToolbarBackend.h: remove #include <algorithm>.
5203 * changes.h: remove #include <ctime>.
5204 * debug.h: remove #include <iosfwd>.
5205 * graph.h: remove #include "support/std_string.h".
5206 * lyx_main.h: remove #include <csignal>.
5207 * lyxlex_pimpl.h: remove #include <fstream>.
5208 * sgml.h: remove #include <algorithm>, <utility>.
5209 * toc.h: remove #include "support/std_ostream.h".
5210 Add #include <iosfwd>.
5212 2003-09-07 Angus Leeming <leeming@lyx.org>
5214 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5216 * converter.h: forward declare LatexRunParams.
5217 * encoding.h: remove #include "lyxrc.h".
5218 * lyxtext.h: remove #include "LColor.h".
5219 * lyxtextclass.h: remove #include "support/types.h".
5220 * trans.h: remove #include "tex-accent.h".
5221 * trans_mgr.h: remove #include "tex-accent.h".
5222 * insets/inset.h: remove #include "support/types.h", <vector>.
5223 * insets/insetcollapsable.h: remove #include "LColor.h".
5224 * insets/insetinclude.h: remove #include "dimension.h".
5225 * insets/insetlatexaccent.h: remove #include "dimension.h".
5226 * insets/insetoptarg.h:: remove #include "insettext.h".
5227 * insets/insettext.h: remove #include "dimension.h",
5228 <boost/shared_ptr.hpp>
5230 * insets/renderers.h: add #include "dimension.h".
5231 * insets/updatableinset.h: add #include "support/types.h".
5233 * many .C files: Associated changes.
5235 2003-09-06 Angus Leeming <leeming@lyx.org>
5237 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5238 one, inside testInvariant.
5240 * PrinterParams.C: new file.
5241 * PrinterParams.[Ch]: move the function bodies out of line.
5243 2003-09-06 Angus Leeming <leeming@lyx.org>
5245 * ParagraphParameters.h: forward declare ParameterStruct rather than
5246 including its header file.
5247 (depth): moved out-of-line.
5249 2003-09-06 Angus Leeming <leeming@lyx.org>
5251 * BufferView_pimpl.h:
5254 * lyxfunc.h: forward declare LyXKeySym rather than
5255 #include "frontends/LyXKeySym.h".
5257 * BufferView_pimpl.C:
5260 * lyxfunc.C: associated changes.
5262 2003-09-06 Angus Leeming <leeming@lyx.org>
5264 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5265 As a result, can remove the #include "insets/inset.h" from BufferView.h
5267 2003-09-06 Angus Leeming <leeming@lyx.org>
5269 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5270 As a result, can remove the #include "insets/inset.h" from BufferView.h
5272 2003-09-06 Angus Leeming <leeming@lyx.org>
5278 * bufferview_funcs.C:
5279 * BufferView_pimpl.C:
5284 * ParagraphParameters.C:
5289 * frontends/controllers/ControlDocument.C:
5290 * insets/insetcaption.C: rearrange the #includes into some sort of
5293 * buffer.h: remove #includes ErrorList.h, undo.h
5295 2003-09-06 Angus Leeming <leeming@lyx.org>
5297 * support/types.h: add a 'depth_type' typedef, used to store the
5298 nesting depth of a paragraph.
5301 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5302 defining explicitly.
5305 * paragraph_funcs.h:
5306 * ParagraphParameters.h:
5307 * sgml.h: use lyx::depth_type rather than Paragraph or
5308 ParameterStruct's depth_type.
5311 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5314 * BufferView_pimpl.C:
5316 * ParagraphParameters.C:
5319 * bufferview_funcs.C:
5326 * frontends/LyXView.C:
5327 * frontends/controllers/ControlDocument.C:
5328 * frontends/controllers/ControlErrorList.C:
5329 * insets/insetbibitem.C:
5330 * insets/insetbranch.C:
5331 * insets/insetcaption.C:
5332 * insets/insetcollapsable.C:
5333 * insets/insetenv.C:
5334 * insets/insetert.C:
5335 * insets/insetfloat.C:
5336 * insets/insetfoot.C:
5337 * insets/insetfootlike.C:
5338 * insets/insetnewline.C:
5339 * insets/insetquotes.C:
5340 * insets/insettabular.C:
5341 * insets/insettext.C:
5342 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5344 * frontends/controllers/ControlChanges.C: #include "changes.h".
5346 2003-09-06 Angus Leeming <leeming@lyx.org>
5348 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5349 than #including paragraph.h.
5352 * RowList.h: deleted. Superfluous.
5362 * insets/insettext.h: use ParagraphList_fwd.h rather than
5365 * paragraph.h: don't forward declare ParagraphList.
5368 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5369 rather than ParagraphList.h. paragraph.h is still needed for the
5370 Paragraph::depth_type parameters.
5372 * textcursor.h: enable it to compile stand-alone in light of the
5375 * bufferview_funcs.C:
5387 * frontends/controllers/ControlParagraph.C:
5388 * frontends/controllers/ControlTabular.C:
5389 * insets/insetmarginal.C:
5390 * insets/insetminipage.C:
5391 * insets/insetnote.C:
5392 * insets/insetoptarg.C: add header files needed to compile again.
5394 2003-09-06 Angus Leeming <leeming@lyx.org>
5396 * RowList_fwd.h: new file, forward-declaring Row rather than
5397 #including lyxrow.h.
5402 * insets/insettext.h: use it instead of RowList.h
5404 * bufferview_funcs.C:
5411 * text3.C: #include "RowList.h".
5413 2003-09-05 Angus Leeming <leeming@lyx.org>
5415 * factory.C (createInset):
5416 * vspace.C (c-tor): replace sscanf call with an istringstream.
5417 * ispell.C: re-add missing HP/UX headers.
5418 * lyxserver.C: re-add missing os2 headers.
5420 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5429 * text3.C: re-add missing system headers, needed for 2.95.2.
5431 2003-09-05 Angus Leeming <leeming@lyx.org>
5433 Changes most place everywhere due to the removal of using directives
5434 from support/std_sstream.h.
5436 2003-09-05 Angus Leeming <leeming@lyx.org>
5438 Replace LString.h with support/std_string.h,
5439 Lsstream.h with support/std_sstream.h,
5440 support/LIstream.h with support/std_istream.h,
5441 support/LOstream.h with support/std_ostream.h.
5443 Changes resulting throughout the tree.
5445 2003-09-05 Angus Leeming <leeming@lyx.org>
5447 * sgml.h: ensure that the header file can be compiled stand-alone.
5448 * *.C: strip out redundant #includes. (320 in total.)
5450 2003-09-04 Angus Leeming <leeming@lyx.org>
5452 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5453 here (from getPackages).
5455 * debug.[Ch]: add a new EXTERNAL tag.
5457 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5459 * text2.C (cursorEnd): simplify
5461 (getColumnNearX): adjust
5463 * text.C (computeBidiTables): adjust
5466 * rowpainter.C (paintChars): adjust
5467 (paintSelection): adjust
5468 (paintChangeBar): adjust
5471 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5473 (numberOfSeparators): adjust
5475 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5481 * text3.C: Restricts the mouse click functionality
5482 of insets like bibtex, include, toc and floatlist to the visible
5483 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5484 up the dialogs. Cursor has to be in front of the inset (i.e.
5485 start of row) for this to function.
5487 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5489 * bufferview_funcs.C (currentState): output row information
5491 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5493 * bufferview_funcs.C (currentState): output paragraph position
5495 2003-09-04 Angus Leeming <leeming@lyx.org>
5497 * FloatList.h: move out #include "Floating.h".
5498 * LaTeX.h: move out #include "DepTable.h".
5499 * LyXAction.h: move out #include "funcrequest.h".
5500 * buffer.h: move out #include "author.h", "iterators.h".
5501 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5502 * lyx_main.h: move out #include "errorlist.h".
5503 * lyxfunc.h: move out #include "FuncStatus.h".
5504 * lyxtext: move out #include "lyxcursor.h".
5505 * paragraph_pimpl.h: move out #include "counters.h".
5507 2003-09-03 Angus Leeming <leeming@lyx.org>
5509 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5510 preamble_snippets list, enabling us to add snippets to the preamble
5511 only if the snippet was not there already.
5513 2003-09-04 Angus Leeming <leeming@lyx.org>
5515 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5517 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5522 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5524 * BranchList.C: point fix, earlier forgotten
5526 2003-09-02 Angus Leeming <leeming@lyx.org>
5528 * box.C (contains): renamed from 'contained' after a fantastic
5531 2003-09-02 John Levon <levon@movementarian.org>
5537 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5539 2003-09-02 John Levon <levon@movementarian.org>
5541 * text2.C: simplification of cursorEnd(), including partial
5544 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5546 * buffer.C (readFile): add a space
5548 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5550 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5552 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5554 * buffer.C (readFile): new function, take a filename and a
5555 ParagraphList::iterator
5557 (readFile): adjust, make it private. don't use setStream, make
5558 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5559 always contain the filename.
5561 * BufferView.C (insertLyXFile): simplify and make it work for
5564 2003-08-30 John Levon <levon@movementarian.org>
5566 * Makefile.am: fix dist (from Kayvan)
5568 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * most files: change to use const Buffer refs
5572 2003-08-27 André Pönitz <poenitz@gmx.net>
5574 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5575 on top of ownerPar().
5577 2003-08-27 John Levon <levon@movementarian.org>
5579 * funcrequest.C: properly initialise POD members
5581 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5583 * lyxtext.h (top_y): move top_y from here
5588 * BufferView_pimpl.[Ch]: to here
5589 * frontends/screen.C:
5590 * insets/insettabular.C:
5591 * insets/insettext.C: adjust
5592 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5594 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5597 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5599 2003-08-26 André Pönitz <poenitz@gmx.net>
5601 * paragraph_func.[Ch] (outerPar): new function
5604 * paragraph_funcs.C:
5605 * paragraph_funcs.h:
5606 * paragraph_pimpl.C:
5607 * text2.C: remove Inset::par_owner
5609 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5614 * text2.C: eliminates the needFullRow/display() stuff
5615 altogether, putting the logic in metrics/draw in the insets.
5617 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5619 * text2.C (redoParagraphInternal, redoParagraphs):
5620 * text.C (redoParagraph): add a call to updateRowPositions at the
5621 end of each 'metrics-like' call. Remove all others.
5622 (getRow): remove the 'y-computing' version.
5623 (getRowNearY): do not compute nor return the real y. Solve the
5624 'y < 0' problem and simplify.
5626 2003-08-22 Angus Leeming <leeming@lyx.org>
5628 * *.[Ch]: clean-up of licence and author blurbs.
5629 Also move config.h out of a few .h files and into a few .C files.
5631 2003-08-22 André Pönitz <poenitz@gmx.net>
5633 * lyxrow.[Ch]: add x_ and *fill_ members
5638 * text2.C: adjust/remove prepareToPrint() calls
5640 2003-08-22 André Pönitz <poenitz@gmx.net>
5642 * lyxrow.[Ch]: add end_ member
5644 * lyxrow_funcs.C: use LyXRow::end_
5646 * lyxtext.h (singleWidth): add LyXFont parameter
5649 * text2.C: adjust LyXText::singleWidth() calls
5651 * text.C (redoParagraph): simplify row breaking logic
5654 2003-08-19 André Pönitz <poenitz@gmx.net>
5656 * funcrequest.C: initialize button_ member
5659 * rowpainter.[Ch]: interface consolidation
5661 2003-08-18 André Pönitz <poenitz@gmx.net>
5664 * BufferView_pimpl.C:
5666 * paragraph_funcs.C:
5668 * text3.C: remove LyXScreen::draw() and fitCursor calls
5670 * BranchList.h: remove spurious semicolons
5672 * MenuBackend.C: fix branchlist related crash
5674 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5682 * bufferparams.[Ch]:
5686 * text3.C: implements the 'branch inset'
5687 idea. This allows the output of various versions of a document
5688 from a single source version, selectively outputing or suppressing
5689 output of parts of the text.
5690 This implementation contains a 'branch list editor' in a separate
5691 tab of the document settings dialog. Branches are user definable
5692 and have a "display colour" to distinguish them on-screen.
5694 ColorHandler was somewhat cleaned up.
5695 (1) make possible a dynamically growing LColor list by allowing
5696 the graphic context cache to grow along (vector);
5697 (2) eliminate an IMHO unnecessary step in colour allocation.
5699 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5701 * BufferView_pimpl.C: compile fix
5703 2003-08-15 André Pönitz <poenitz@gmx.net>
5705 * rowpainter.C: remove extra metrics calls
5707 * lyxtext.h: merge the two constructors into a single one,
5708 pass reference to owner's par list
5710 * BufferView_pimpl.C:
5714 2003-08-15 André Pönitz <poenitz@gmx.net>
5716 * lyxrow_funcs.[Ch]:
5719 * paragraph_funcs.C:
5724 * text_funcs.C: split LyXText::rowlist_ into individual
5725 Paragraph::rows_ chunks
5728 * BufferView_pimpl.[Ch]:
5731 * text3.C: remove toggleSelection()
5733 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5735 * bufferlist.C: beautify two alerts (shorter text of buttons)
5736 * buffer.C: Remove redundant ' ' from message
5738 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5739 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5740 rename VALIGN_CENTER to VALIGN_MIDDLE
5742 2003-08-11 André Pönitz <poenitz@gmx.net>
5744 * lyxtext.h (getPar):
5745 * text.C: new function
5747 2003-08-11 André Pönitz <poenitz@gmx.net>
5750 * tracer.[Ch]: remove unneeded files
5752 * InsetList.[Ch]: remove resizeInsetsLyXText()
5757 * text3.C: merge insertParagraphs() and appendParagraph()
5758 remove breakAgain(), update()
5760 * BufferView_pimpl.[Ch]:
5761 * bufferview_funcs.[Ch]:
5765 * tabular.C: adjust after text & InsetList changes.
5767 2003-08-08 André Pönitz <poenitz@gmx.net>
5769 * text.C (insertChar, backspace): replace rowlist fiddling
5770 with rebreak of full par
5773 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5774 checkParagraph, updateInset): removed
5776 2003-08-07 André Pönitz <poenitz@gmx.net>
5779 * text3.C: merge some LFUN handlers, remove dead code
5781 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5783 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5785 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5787 * text2.C (DEPM): fix part of bug 1255 and 1256
5789 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5791 * BufferView_pimpl.C (workAreaDispatch): change to use
5792 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5793 that are no mouse related.
5795 2003-08-05 André Pönitz <poenitz@gmx.net>
5798 * BufferView_pimpl.[Ch]:
5799 * bufferview_funcs.C:
5801 * text3.C: rip out "deep update"
5803 * textcursor.[Ch] (last_sel_cursor): remove unused member
5805 2003-08-04 André Pönitz <poenitz@gmx.net>
5808 * BufferView_pimpl.[Ch]:
5809 * ParagraphParameters.C:
5810 * bufferview_funcs.C:
5816 * text3.C: replace "complicated" BufferView::update(...) calls with
5819 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5821 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5823 * Makefile.am (lyx_SOURCES): add paper.h
5825 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5827 * Makefile.am: move things around so that both lyx-qt and
5828 lyx-xforms can be built (according to --with-frontend). Then lyx
5829 is a symbolic link to lyx-[firstfrontend]
5831 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5833 * Always use std::endl with lyxerr
5835 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5837 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5839 2003-08-01 André Pönitz <poenitz@gmx.net>
5842 * BufferView_pimpl.[Ch]:
5844 * text3.C: merge BufferView::repaint() and BufferView::update()
5846 2003-08-01 José Matos <jamatos@lyx.org>
5848 * buffer.[Ch]: file_format is no longer a buffer data element.
5850 2003-08-01 André Pönitz <poenitz@gmx.net>
5855 * text2.C: make redoParagraph more independent of current cursor
5857 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5859 * text2.C: remove unneeded members
5861 2003-07-30 André Pönitz <poenitz@gmx.net>
5863 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5865 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5866 create a single function...
5868 * paragraph_funcs.C (moveItem): ... here.
5871 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5873 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5875 * LColor.[Ch]: Add comment and greyedout logical colors.
5877 2003-07-30 André Pönitz <poenitz@gmx.net>
5879 * tabular.C: don't use Assert too heavily. This crashes where it
5882 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5884 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5885 is disabled (bug 1232)
5887 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5889 * factory.C: limited 'arg' scope
5891 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5893 * factory.C: fixed Note submenu issues
5895 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5897 * factory.C: submenu for Note/Comment/Greyedout
5899 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5902 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5904 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5907 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5908 greyedout. Patch provided by Jürgen Spitzmüller.
5910 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5912 * kbmap.C (read): fix error message when reading bind files
5914 2003-07-29 Angus Leeming <leeming@lyx.org>
5916 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5917 certainly does not do what it purports to do. I am doing it, and
5918 us, a favour by killing it.
5920 2003-07-28 José Matos <jamatos@lyx.org>
5922 * buffer.C (readBody, do_writeFile):
5923 * paragraph.C(readParagraph): \end_document replaces \the_end.
5925 2003-07-29 André Pönitz <poenitz@gmx.net>
5928 * BufferView_pimpl.[Ch]:
5932 * textcursor.[Ch]: remove toggleToggle & Co
5934 2003-07-28 José Matos <jamatos@fep.up.pt>
5936 * buffer.C (readParagraph):
5937 * params_func (readParToken, readParagraph):
5938 * paragraph.C (write): \layout -> \begin_layout.
5940 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5942 * lyxlex_pimpl.C (setFile): clean up slightly.
5944 * bufferparams.h: add compressed var
5946 * buffer_funcs.C (readFile): adjust for LyXLex change
5947 (newFile): ditto + simplify
5949 * buffer.C (writeFile): handle writing of compressed files
5951 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5952 Check if the file is compressed and set a bufferparm if so.
5954 * Makefile.am (lyx_LDADD): remove explicit -lz
5956 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5958 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5959 makeDocBookFile): put the real LyX version in the first line of
5963 * version.C.in: remove lyx_docversion
5965 * tabular.C (write_attribute): add a template-based version to
5966 write enums properly
5968 2003-07-28 André Pönitz <poenitz@gmx.net>
5973 * text3.C: use doubles again for x-coordinates. They are needed.
5975 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * messages.C (getLocaleDir): use lyx_localedir()
5979 * lyxlex_pimpl.C (setFile): compress stuff
5981 * buffer.C (writeFile): add some compression stuff
5982 (do_writeFile): new func, dont call expliti close... will this
5985 * Makefile.am (lyx_LDADD): add -lz
5987 2003-07-28 José Matos <jamatos@fep.up.pt>
5989 * buffer.C: increment file format.
5990 * paragraph_funcs (readParagraph, readParToken):
5991 * paragraph.C (readParagraph): add \end_layout.
5993 2003-07-27 Angus Leeming <leeming@lyx.org>
5995 * Makefile.am: remove special casing for configure-time setting of
5996 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5998 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5999 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6001 2003-07-26 André Pönitz <poenitz@gmx.net>
6003 * paragraph_func.[Ch]:
6004 * paragraph.C (realizeFont): inline it whereever it is used
6009 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6012 2003-07-26 André Pönitz <poenitz@gmx.net>
6016 * text2.C: get rid of LyXText::need_break_row
6018 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6020 * toc.[Ch]: put namespace toc inside namespace lyx
6022 * MenuBackend.C (expandToc2): adjust for lyx::toc
6025 * lyxfunc.C (dispatch): adjust for lyx::find
6027 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6028 lyx::find instead. Reorganize a bit.
6029 (LyXReplace): rename to replace
6030 (LyXFind): rename to find
6032 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6035 2003-07-26 André Pönitz <poenitz@gmx.net>
6037 * text.C (setHeightOfRow): restrict scope of temporary variable
6039 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6040 code (never has been used?)
6042 2003-07-27 Asger Alstrup <alstrup@local>
6044 * text.C (fill): Optimise algorithm to exploit that we can reuse
6045 the LyXFont for many characters.
6046 (setHeightOfRow): Same thing.
6047 (rowBreakPoint): Same thing.
6049 2003-07-26 Asger Alstrup <alstrup@local>
6051 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6053 * text.C (singleWidth): Spurious font copying in hot-spot
6054 singleWidth avoided. Reorder tests for arabic for efficiency.
6056 * text.C (fill): handle empty paragraphs better.
6058 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6061 * encoding.h: add includes
6063 * lyxrc.C: remove reading of bind files
6065 * lyx_main.C (init): setup bindings and menus only if we have a
6068 * kbmap.C (read): new method. Do the actual reading of bind
6071 * converter.C (dvipdfm_options):
6074 (output): adapt PAPER_* enums.
6076 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6078 * bufferparams.h: remove paper-related enums from there
6080 * paper.h: New file. A trivial header file to hold paper-related
6081 enums. It should later expand to contain many paper-related
6084 * lyxrc.C: declare extern displayTranslator
6086 2003-07-27 José Matos <jamatos@fep.up.pt>
6088 * tabular.[Ch] (linuxdoc): add support for tables and figures
6091 2003-07-27 José Matos <jamatos@fep.up.pt>
6093 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6094 consistency in both functions.
6095 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6097 2003-07-26 Asger Alstrup <alstrup@local>
6099 * rowpainter.C (paintRows): Change algorithm to work directly on
6100 the insets rather than asking every character in the document
6101 whether its an inset.
6103 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6105 * buffer.C (openFileWrite): factorize some code
6107 2003-07-26 Angus Leeming <leeming@lyx.org>
6110 * lyx_main.[Ch]: replace occurances of system_tempdir with
6113 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * rename Inset to InsetOld
6117 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6119 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6120 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6121 which I think is a bit clearer. EDIT is gone, since it was
6122 premature optimisation, and broken for mathed anyway.
6123 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6124 with cursor positioning in insets as well (math insets still do not
6125 work, but that's a different story anyway.) It mysteriously
6126 crashes sometimes with undo in the first paragraph, but I'm fairly
6127 confident that this is a compiler bug.
6129 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6131 * paragraph.C (Paragraph): adjust for new clone return type
6133 (copyIntoMinibuffer): ditto
6135 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6137 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6138 by not having a special case, and always doing a full rebreak of
6139 the document after undo.
6141 2003-07-23 Angus Leeming <leeming@lyx.org>
6143 * factory.C (createInset): InsetExternal::setParams now takes a
6146 2003-07-23 Angus Leeming <leeming@lyx.org>
6148 * factory.C (createInset): changed interface to the external and
6149 graphics mailers' string2params functions.
6151 2003-07-23 Angus Leeming <leeming@lyx.org>
6153 * factory.C (createInset): pass a
6154 Buffer const * parameter to InsetExternalMailer's string2params.
6156 2003-07-22 John Levon <levon@movementarian.org>
6158 * Thesaurus.h: include the right aiksaurus header
6160 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6162 * MenuBackend.C (expand): check menu shortcuts unconditionally
6164 2003-07-21 Angus Leeming <leeming@lyx.org>
6166 * factory.C (createInset): pass a
6167 buffer_path parameter to InsetGraphicsMailer's string2params.
6169 2003-07-21 Angus Leeming <leeming@lyx.org>
6171 * BufferView_pimpl.C (buffer):
6174 * lyxfunc.C (dispatch):
6175 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6176 rather than the grfx shortcut.
6178 2003-07-21 André Pönitz <poenitz@gmx.net>
6180 * rowpainter.C: remove unused variables
6183 * tabular_funcs.h: move to tabular.C
6184 * Makefile.am: adjust
6186 * tabular.[Ch]: basic optical cleaning
6188 * author.h: pass references, not values
6190 2003-07-18 André Pönitz <poenitz@gmx.net>
6198 * text3.C: two-phase drawing for InsetText and InsetTabular
6199 some float -> int changes.
6201 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6203 * lyx_main.C: fix the fix
6205 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6207 * lyx_main.C: fix a crash in batch mode if no files specified
6210 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6212 * format.[Ch] (papersize): moved to BufferParams
6213 * converter.[Ch] (dvips_options): moved to BufferParams
6214 (dvipdfm_options): moved to anon namespace
6215 * bufferparams.[Ch]: added above functions.
6217 2003-07-17 André Pönitz <poenitz@gmx.net>
6221 * text2.C: don't call inset->update() anymore
6223 * metricsinfo.[Ch]: add convenience constructor
6225 2003-07-16 André Pönitz <poenitz@gmx.net>
6230 * text2.C: replace the LyXCursor::irow_ member with
6231 on-demand computation of the value
6233 2003-07-16 John Levon <levon@movementarian.org>
6235 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6237 2003-07-15 André Pönitz <poenitz@gmx.net>
6240 * text2.C: remove no more needed refresh_row
6242 2003-07-15 André Pönitz <poenitz@gmx.net>
6247 * text3.C: refresh_status tristate -> need_update bool
6249 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6251 * lyxtext.h (init): remove reinit argument (act as if always true)
6252 * text2.C: adjust to that
6254 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6256 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6257 * text3.C: use it to delete selections in some cases
6258 (bugs 441, 673, 702, 954).
6260 2003-07-14 André Pönitz <poenitz@gmx.net>
6262 * rowpainter.[Ch]: reduce interface
6264 2003-07-14 André Pönitz <poenitz@gmx.net>
6266 * BufferView_pimpl.C:
6267 * text2.C: adjust after removing unused BufferView * argument
6269 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6271 * text2.C (init): fix a crash fired on resize
6273 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6275 * buffer.[Ch]: added new closing signal
6276 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6277 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6278 BufferView::Pimpl via the closing the signal
6280 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6282 * buffer.[Ch]: take out all bv-related from buffer
6284 * BufferView_pimpl.[Ch]: connect to new signals
6285 * CutAndPaste.C: removed useless asserts
6286 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6289 * lyxfunc.C: moved view-related funciontality from vc here
6290 * paragraph.C: removed outdated comments
6293 2003-07-10 André Pönitz <poenitz@gmx.net>
6295 * BufferView_pimpl.C:
6299 * text2.C: remove InsetText::InnerCache, clean up consequences
6301 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6303 * ispell.C: fix two typos in error messages
6305 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6307 * Extend Note inset to other forms of annotation like Comment
6308 and Greyedout. Right button click gives dialog.
6310 Files modified or added (+):
6314 * ControlNote.[Ch] +
6316 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6317 frontends/controllers
6321 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6323 * aspell.C: add missing namespace lyx::support
6325 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6327 * BufferView.[Ch] (newFile): Add
6328 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6329 * LaTeX.[Ch] (message): added this signal and use it
6330 * buffer.[Ch] (busy, message): added these signals and use them
6331 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6335 * importer.C: use buffer signals instead of direct bv calling
6336 * lyx_cb.[Ch] (ShowMessage): removed
6339 * paragraph_funcs.C:
6340 * text2.C: use buffer signals
6342 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6344 * introduce namespace lyx::graphics
6346 2003-07-02 André Pönitz <poenitz@gmx.net>
6348 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6350 2003-07-01 André Pönitz <poenitz@gmx.net>
6357 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6358 text*.C to text_func.C
6360 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * introduce namespace lyx::support
6364 2003-06-30 André Pönitz <poenitz@gmx.net>
6369 * text.C: re-enable --with-included-string
6371 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6373 * textcursor.C: add <config.h>
6375 * text.C (getWord): remove const from word_location arg
6377 * lyxvc.C (getLogFile): fix const type order
6379 * lyxtext.h: remove const from word_location arg, add arg name
6381 * lyxlayout.h: currect type on labeltype.
6383 * importer.C: correct \file
6385 * converter.C (intToFormat): use std:: on ret val, ws changes
6387 * bufferlist.h: correct \file
6389 * buffer.C (makeLinuxDocFile): fix const type order
6390 (makeDocBookFile): ditto
6391 (fillWithBibKeys): use std:: on stdlib args.
6393 * CutAndPaste.C: fix authors.
6394 (availableSelections): use std:: on return vector
6396 2003-06-27 André Pönitz <poenitz@gmx.net>
6398 * BufferView_pimpl.C:
6399 * bufferview_funcs.C:
6407 * text3.C: remove LyXCursor::row_ member
6410 * text.C: rename fullRebreak() to partialRebreak() and implement
6411 a fullRebreak() that really bereks fully
6413 * textcursor.h: new struct for cursor-related data
6415 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6417 * lyx_main.C (LyX): get full path of document loaded on the
6420 2003-06-26 André Pönitz <poenitz@gmx.net>
6422 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6423 remove unused/broken operator>,<,>=.
6425 * text.C: remove only use of broken operator<= in an Assert().
6427 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6429 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6430 moved errorlist_.clear to showErrorList
6432 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6434 * converter.C (scanLog, runLaTeX):
6435 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6436 move the bv->showErrorList call to the callers
6437 * lyxfunc.C: i.e. here...
6439 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6440 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6441 namespace, the second to...
6442 * buffer_funcs (BufferFormat, parseErrors): added
6443 * errorlist.C (ErrorList(TeXErrors const &)): removed
6445 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6447 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6449 2003-06-24 "Garst R. Reese" <reese@isn.net>
6453 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6455 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6457 * version.C.in: change docversion to 1.4
6459 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6461 * buffer.C: fix a bug just introduced
6463 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6465 * buffer.[Ch]: added the parseError signal and use it, removed
6467 * BufferView.[Ch] (addError): moved to ...
6468 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6469 to the Buffer::parseError signal to catch (guess what) parse errors
6470 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6472 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6474 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6475 ability to create a buffer and to return an existing one from
6476 the list. Moved these functions to...
6477 * buffer_funcs.[Ch]: added
6478 * BufferView.[Ch] (loadLyXFile): added
6479 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6480 job removed from bufferlist::loadLyXFile.
6481 * buffer.C (setReadOnly): make it work without view
6482 (i.e added an if (users))
6484 2003-06-19 Angus Leeming <leeming@lyx.org>
6487 * LyXAction.C (init):
6488 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6489 with LFUN_DIALOG_SHOW <name> <data>.
6491 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6493 * CutAndPaste.C (availableSelections): small compilation fix for
6494 ancient (gcc 2.9x) compilers
6496 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6498 * text3.C (cursorNext): add tmp var
6500 * text2.C (updateCounters): for function calling out of for clause
6501 (replaceSelectionWithString): ditto
6502 (insertStringAsParagraphs): ditto
6503 (getColumnNearX): add tmp var
6504 (setCursorFromCoordinates): add tmp var
6505 (cursorDownParagraph): add tmp var
6506 (deleteEmptyParagraphMechanism): add tmp var
6508 * text.C (insertChar): add tmp var
6510 * rowpainter.C (paintDepthBar): add tmp var
6512 * CutAndPaste.C (availableSelections): potentially check all
6513 paragraphs in a cut to fill the shown strings.
6515 2003-06-18 André Pönitz <poenitz@gmx.net>
6517 * kbmap.[Ch]: use vector<> instead of list<>
6519 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6521 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6522 pasteSelection with index
6524 * text2.C (pasteSelection): modify, call pasteSelection with index
6526 * paragraph.C (asString): reimplement version with no interval to
6527 call the one with interval.
6529 * lyxtext.h: add index arg to pasteSelection
6531 * MenuBackend.C (MenuItem): handle PasteRecent
6532 (Menu::read::Menutags): add md_pasterecent
6534 (expandPasteRecent): new function
6537 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6539 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6541 (availableSelections): new function
6543 2003-06-17 Angus Leeming <leeming@lyx.org>
6545 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6547 2003-06-17 Angus Leeming <leeming@lyx.org>
6550 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6552 * lyxfunc.C (dispatch): invoke it.
6554 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6556 * iterators.C (operator++, ParPosition): reintroduce some
6557 const_cast for the benefit of older compilers.
6559 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6561 * text3.C (dispatch): do not modify clipboard when doing
6562 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6563 LFUN_DELETE_SKIP on a selection selection
6565 2003-06-16 André Pönitz <poenitz@gmx.net>
6571 * tabular.[Ch]: IU of clone() and getLabelList();
6573 2003-06-13 André Pönitz <poenitz@gmx.net>
6575 * tabular.h: compactification
6577 2003-06-12 André Pönitz <poenitz@gmx.net>
6581 * tabular_funcs.h: some renaming plus whitespace
6583 2003-06-12 André Pönitz <poenitz@gmx.net>
6586 * BufferView_pimpl.C:
6592 * toc.C: Return a Paragraph & for ParIterator::operator*()
6594 2003-06-11 John Levon <levon@movementarian.org>
6598 * ToolbarBackend.C: add "Toolbars" section and
6601 2003-06-10 Angus Leeming <leeming@lyx.org>
6604 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6606 * lyxfunc.C (dispatch): invoke it.
6608 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6610 * main.C: protect <ios> with HAVE_IOS
6611 (main): protect sync_with_stdio with HAVE_IOS
6613 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6615 * text2.C (cutSelection): adjust
6616 (pasteSelection): adjust
6618 * messages.C: handle get of empty string
6620 * main.C (main): use sync_with_stdio(false)
6622 * lyxfunc.C (dispatch): adjust
6624 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6625 (WriteAs): remove unneeded BufferView arg.
6627 * bufferparams.h: use correct types on papersize, papersize2 and
6630 * bufferparams.C (readToken): adjust for type
6631 (writeLaTeX): add missing cases to switch.
6633 * bufferlist.C (quitWriteBuffer): adjust
6636 * buffer.C (asciiParagraph): remove some commented code.
6638 * CutAndPaste.C: remove current_view extern variable.
6639 (cutSelection): add BufferParams arg.
6640 (eraseSelection): add BufferParams arg.
6641 (pasteSelection): add Buffer const & arg
6643 2003-06-07 John Levon <levon@movementarian.org>
6646 * paragraph_funcs.C:
6647 * paragraph_pimpl.C:
6651 * paragraph.C: allow InsetERT to freely space lines,
6652 and some consolidation of code
6654 2003-06-06 José Matos <jamatos@fep.up.pt>
6656 * buffer.C (makeDocBookFile): fix bug #821
6658 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6660 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6662 2003-06-04 Angus Leeming <leeming@lyx.org>
6664 * buffer.C: bump format to 224.
6666 2003-06-05 André Pönitz <poenitz@gmx.net>
6668 * text2.C (redoParagraphs): remove two const_cast<>
6670 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6672 * ParagraphList.h: remove last remnants of NO_STD_LIST
6674 2003-06-03 Angus Leeming <leeming@lyx.org>
6676 * factory.C (createInset): small change to the way InsetExternal's params
6679 2003-06-04 André Pönitz <poenitz@gmx.net>
6681 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6683 * paragraph_pimpl.h:
6684 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6686 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6688 * undo_funcs.C: make some simple cases of undo work again
6690 2003-06-03 John Levon <levon@movementarian.org>
6692 * ispell.C: HPUX doesn't have sys/select.h
6695 2003-06-03 John Levon <levon@movementarian.org>
6697 * CutAndPaste.C: update tabular and include inset
6702 * paragraph.C: remove owningBuffer(), don't pass Buffer
6705 * factory.C: insetGraphicsParams changed
6707 2003-06-02 John Levon <levon@movementarian.org>
6713 * text3.C: remove insetparent
6715 2003-06-02 John Levon <levon@movementarian.org>
6718 * buffer.C: fix inset_iterator.end(), move out of line
6721 2003-06-01 John Levon <levon@movementarian.org>
6723 * text3.C: use a proper cut/paste when doing inset
6724 insert (from Jürgen Spitzmüller)
6726 2003-06-01 John Levon <levon@movementarian.org>
6728 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6730 2003-05-30 André Pönitz <poenitz@gmx.net>
6732 * rowpainter.C: unify second drawing phase
6734 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6736 * trans_mgr.C: remove one case of current_view
6738 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6740 * paragraph_funcs.h: remove paragraph.h include
6742 * paragraph.h: delete NO_STD_LIST stuff
6744 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6746 * buffer.h: remove paragraph.h include
6748 * ParagraphList.C: delete file
6750 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6752 * toc.C (getTocList): adjust
6754 * paragraph_pimpl.C (validate): adjust
6756 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6758 * paragraph.C (Paragraph): adjust
6759 (getPositionOfInset): use const_iterator, adjust
6760 (bibitem): use const_iterator, adjust
6761 (setInsetOwner): adjust
6763 * iterators.C (operator++): adjust
6765 * InsetList.[Ch]: Replace selfmade iterator with standard
6766 vector::iterator also introduce const_iterator. Remove getPos,
6767 getInset and setInset from InsetTable. Adjust accordingly.
6769 * BufferView.C (lockInset): adjust
6770 (ChangeInsets): adjust
6772 * tabular.[Ch]: delete commented same_id functions
6774 2003-05-28 John Levon <levon@movementarian.org>
6776 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6778 2003-05-28 André Pönitz <poenitz@gmx.net>
6780 * metricsinfo.[Ch]: remove 'fullredraw' member
6782 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6784 * lyxtextclass.C (operator): remove caching.
6786 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6790 * text2.C (cursorBottom): adjust
6791 (setCounter): use ParagraphList::find, adjust
6793 * text.C (workWidth): use ParagraphList::find, adjust
6795 * lyxcursor.C (LyXCursor): adjust
6797 * buffer.C (inset_iterator): adjust
6799 * ParagraphList.h: make iterator(value_type) private, make
6800 ParagraphList a friend of iterator.
6802 * ParagraphList.C (find): new function
6804 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6806 2003-05-27 André Pönitz <poenitz@gmx.net>
6808 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6810 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6812 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6814 2003-05-26 John Levon <levon@movementarian.org>
6816 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6818 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6820 * remove same_id from function signatures, adjust.
6822 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6824 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6826 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6828 * paragraph.C (Paragraph): get rid of same_ids parameter
6830 * ParagraphList.C (insert): adjust
6833 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * paragraph_funcs.C (breakParagraph): adjust
6836 (breakParagraphConservative): adjust
6838 * buffer.C (readParagraph): adjust
6840 * ParagraphList.C (insert): take a reference instead of a pointer
6843 * paragraph.[Ch] (id): new function
6845 * bufferlist.C (newFile): adjust
6847 * ParagraphList.C (ParagraphList): adjust
6849 (push_back): take a reference instead of a pointer.
6851 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6853 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6856 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6857 set else use old code.
6859 * ParagraphList.C: remove all NO_NEXT code and only compile this
6860 code of NO_STD_LIST is set.
6862 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6864 * BufferView_pimpl.C:
6874 * graphics/GraphicsConverter.C:
6875 * graphics/PreviewLoader.C: header adjustment
6877 2003-05-23 Angus Leeming <leeming@lyx.org>
6879 * LaTeXFeatures.[Ch] (useBabel): new method.
6880 * bufferparams.C (writeLaTeX): use it.
6882 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * ParagraphList.h (set): remove unused function.
6886 2003-05-23 André Pönitz <poenitz@gmx.net>
6889 * BufferView_pimpl.C:
6893 * undo_funcs.C: setUndo reworked
6895 * iterators.[Ch]: add access to topmost ParagraphList
6897 * lyxtext.[Ch] (workWidth): add a const
6899 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6901 * texrow.[Ch] (increasePos): remove function
6902 * exporter.C (export): removed unused var and outdated comment
6904 2003-05-23 Angus Leeming <leeming@lyx.org>
6906 * latexrunparams.h: rename fragile as moving_arg.
6907 * paragraph.C (simpleTeXOnePar): ditto.
6908 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6910 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6912 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6914 (textUndoOrRedo): comment out a currently unused var.
6916 * paragraph.h (NO_NEXT): enable NO_NEXT
6918 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6920 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6922 * exporter.C (Export): adjust for removeAutoInsets removal.
6924 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6926 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6928 * BufferView.[Ch] (removeAutoInsets): delete function
6930 2003-05-22 Angus Leeming <leeming@lyx.org>
6932 * latexrunparams.h: add a free_spacing variable.
6934 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6935 to pass moving_arg, as the data is stored in runparams.fragile.
6937 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6938 to Inset::latexOptional or to simpleTeXOnePar.
6940 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6941 free_spacing arg to Inset::latexOptional.
6943 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6946 2003-05-22 Angus Leeming <leeming@lyx.org>
6948 * latexrunparams.h: add fragile and use_babel variables.
6950 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6951 * buffer.C (makeLaTeXFile): store this returned value in
6952 runparams.use_babel, thus passing it to the inset::latex methods.
6954 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6955 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6957 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6958 longer has a fragile arg, as it is stored in runparams.fragile.
6960 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6961 moving_arg parameter as the data is stored in runparams.fragile.
6963 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6964 a fragile parameter as the data is stored in runparams.fragile.
6966 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6968 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6970 2003-05-22 Angus Leeming <leeming@lyx.org>
6972 * latexrunparams.h: add a 'bool nice' which defaults to false.
6974 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6975 now encapsulated within runparams.
6977 * bufferlist.C (updateIncludedTeXfiles):
6978 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6980 2003-05-22 Angus Leeming <leeming@lyx.org>
6982 * latexrunparams.h: new file containing struct LatexRunParams.
6983 * Makefile.am: add new file.
6985 * LaTeX.[Ch] (c-tor, run):
6986 * buffer.[Ch] (makeLaTeXFile):
6987 * bufferlist.[Ch] (updateIncludedTeXfiles):
6988 * converter.C (convert, scanLog):
6989 * converter.[Ch] (runLaTeX):
6990 * exporter.C (Export):
6991 * paragraph.[Ch] (simpleTeXOnePar):
6992 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6993 * paragraph_funcs.[Ch] (latexParagraphs):
6994 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6995 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6996 pass around a LatexRunParams parameter.
6998 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7000 * paragraph.[Ch]: remove unused constructor
7002 * ParagraphList.C (erase): new function, taking two iterators
7004 2003-05-22 André Pönitz <poenitz@gmx.net>
7006 * undo_funcs.C: remove duplicated code
7008 * iterator.[Ch]: operator=
7010 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7012 * tabular.C (SetMultiColumn): ws changes
7014 * rowpainter.C (paintFirst): get rid of a ->previous
7016 * lyx_cb.C (getPossibleLabel): parlist simplification
7018 * BufferView.C (ChangeInsets): simplify slightly.
7020 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7022 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7023 * lfuns.h: new LFUN_SPACE
7024 * lyxfunc.C: protected space has a new lfun
7025 * paragraph_funcs.C: read new space insets
7027 * factory.C: handle new space insets
7029 2003-05-22 André Pönitz <poenitz@gmx.net>
7032 * BufferView_pimpl.C:
7035 * undo_funcs.C: return a ParIterator from getParFromID.
7037 * iterators.[Ch]: add two const's
7039 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7041 * toc.C (getTocList): adjust
7043 * iterators.[Ch]: rework for parlist
7045 * buffer.C (par_iterator_begin): adjust
7046 (par_iterator_end): adjust
7048 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7050 * BufferView.C (removeAutoInsets): adjust
7051 (ChangeInsets): adjust
7053 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7055 * text.C (top_y): fix bug 1110
7057 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7059 * errorlist.[Ch]: added
7062 * BufferView_pimpl.C:
7063 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7066 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7068 * Makefile.am: ensure that lyx is relinked upon changes to the
7069 various "convenience" libs.
7071 2003-05-20 Angus Leeming <leeming@lyx.org>
7073 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7074 files are compiled in alphabetical order again.
7076 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7078 2003-05-19 Angus Leeming <leeming@lyx.org>
7080 * gettext.[Ch]: remove "char const * _(char const *)".
7082 2003-05-19 André Pönitz <poenitz@gmx.net>
7084 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7093 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7095 2003-05-19 André Pönitz <poenitz@gmx.net>
7099 * lyxtextclass.[Ch]:
7101 * paragraph_funcs.[Ch]:
7103 * text3.C: more insetenv work
7105 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7107 * ParagraphParameters.C (params2string): small bug fixed
7109 2003-05-16 André Pönitz <poenitz@gmx.net>
7112 * bufferview_funcs.C: patch from Kornel Benko to prevent
7113 crash when _(...) is called twice in a statement
7115 2003-05-16 André Pönitz <poenitz@gmx.net>
7122 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7124 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7126 * lyx_main.C (init): remove spurious static_cast
7128 2003-05-14 André Pönitz <poenitz@gmx.net>
7130 * BufferView.C: fix format string
7132 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7134 * BufferView.[Ch] (insertErrors): removed
7135 * BufferView.[Ch] (showErrorList): added
7136 * buffer.C (runChkTeX):
7137 * converter.C (scanLog): call showErrorList instead of inserterrors
7139 2003-05-13 André Pönitz <poenitz@gmx.net>
7141 * BufferView_pimpl.C:
7143 * bufferview_func.C:
7150 * tabular_funcs.h: tostr() from its own header
7152 * ParagraphParameters.C:
7157 * text3.C: STRCONV()
7159 2003-05-12 André Pönitz <poenitz@gmx.net>
7162 * BufferView_pimpl.C:
7166 * ParagraphParameters.C:
7170 * bufferview_funcs.C:
7183 * paragraph_funcs.C:
7187 * text3.C: boost::format -> bformat all over the place
7190 2003-05-09 André Pönitz <poenitz@gmx.net>
7192 * LColor.[Ch]: Pimpl the #include <map> away
7194 2003-05-09 John Levon <levon@movementarian.org>
7196 * bufferlist.C: never remove emergency saves
7198 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * Makefile.am: better lib building
7202 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7204 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7206 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7207 (simpleTeXSpecialChars): adjust
7208 (simpleTeXSpecialChars): adjust
7209 * paragraph.C (simpleTeXOnePar): adjust
7210 * buffer.C (makeLaTeXFile): adjust
7212 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7214 * text2.C (changeDepth): parlist cleanup
7215 (getColumnNearX): ditto
7217 * rowpainter.C (getLabelFont): parlist cleanup
7219 * bufferlist.C (newFile): parlist cleanup
7221 * CutAndPaste.C (eraseSelection): parlist cleanup
7223 * BufferView_pimpl.C (trackChanges): parlist cleanup
7226 * BufferView.C (lockInset): parlist cleanup.
7227 (ChangeInsets): ditto
7229 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7231 * CutAndPaste.h: Update file header.
7233 * CutAndPaste.C: Update file header.
7234 Store the parts cut out of the Document in a limited_stack.
7235 (copySelection): adjust
7236 (pasteSelection): new function, takes the index in the limited stack.
7237 (nrOfParagraphs): adjust
7238 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7239 simplify error inset insertion.
7240 (checkPastePossible): adjust
7242 2003-05-06 John Levon <levon@movementarian.org>
7244 * text2.C: don't cast wrap inset to float
7246 2003-05-05 André Pönitz <poenitz@gmx.net>
7249 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7251 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7252 few naked Paragraph *.
7254 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7256 * bufferparams.C: Output warning if a document with missing
7257 TeX document class is loaded
7258 * exporter.C: Disable TeX exports if the document class is missing
7261 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7262 isTeXClassAvailable()
7264 2003-05-03 John Levon <levon@movementarian.org>
7267 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7268 explicit cursor show/hide
7270 * BufferView_pimpl.h:
7271 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7272 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7274 * lyxfunc.C: hide cursor before dispatching.
7279 * text3.C: remove explicit cursor hides
7281 2003-05-02 André Pönitz <poenitz@gmx.net>
7283 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7286 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7289 * text2.C: tiny whitespace
7291 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * undo_funcs.C: almost only ws changes.
7295 * ParagraphList.C (splice): just return if pl is empty.
7297 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7299 * ParagraphList.C (splice): new function.
7301 * CutAndPaste.C (pasteSelection): use it
7303 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7305 * CutAndPaste.C (pasteSelection): remove the last next and
7306 previous from this file.
7308 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * CutAndPaste.C (pasteSelection): more clean up, user proper
7311 ParagraphList functions for pasteing.
7313 * ParagraphList.C (insert): new function, three arg insert
7315 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7317 * ParagraphList.C (insert): new function, three arg insert
7319 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7322 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7324 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7326 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7328 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7330 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7333 (copySelection): clean up a bit.
7334 (pasteSelection): use make_pair
7336 * ParagraphList.C (ParagraphList): implement copy constructor
7337 (operator=): implement, base on copy constructor.
7340 * paragraph.C (erase): return a bool
7342 * paragraph_pimpl.C (erasePos): remove function, move contents...
7343 (erase): ... here. Return a bool.
7344 (erase): call erase instead of erasePos.
7346 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7348 * ParagraphList.h: define PitPosPair
7349 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7350 ParagraphList, fix a bug on pasting multiple pars
7351 * text2.C: change interface to C&P
7353 2003-04-30 André Pönitz <poenitz@gmx.net>
7355 * undo_func.C: revert part of yesterday's patch 2
7357 2003-04-30 John Levon <levon@movementarian.org>
7359 * LColor.C: s/tabular/table/
7361 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7363 * text3.C (dispatch): do not convert iterator -> pointer
7364 * undo_funcs.C (setCursorParUndo): ditto
7365 * text_funcs.C (transposeChars): ditto
7367 * text2.C (setLayout): ws changes only
7369 * text.C (breakParagraph): do not convert iterator -> pointer
7371 (acceptChange): ditto
7372 (rejectChange): ditto
7377 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7380 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7382 * text3.C (gotoInset): YABG (yet another bad getChar)
7384 2003-04-29 André Pönitz <poenitz@gmx.net>
7386 * paragraph.h: make operator= private unimplemented as long as
7389 * ParagraphList.C: whitespace
7392 * paragraph_pimpl.[Ch]:
7393 * paragraph_funcs.C:
7395 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7398 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7400 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7402 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7403 * paragraph.[Ch] (erase):
7404 * paragraph_pimpl.[Ch] (erase): change return type and value
7405 * text2.C (cutSelection): some rework
7407 2003-04-28 John Levon <levon@movementarian.org>
7409 * bufferlist.C: changes for unsaved changes dialog
7411 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7413 * bufferlist.C (newFile): set language (messages_) for new
7416 * buffer.C (readFile): ws changes only.
7418 2003-04-28 André Pönitz <poenitz@gmx.net>
7423 * BufferView_pimpl.C:
7424 * BufferView.C: getParFromID related ParagraphList::iterator changes
7426 2003-04-28 André Pönitz <poenitz@gmx.net>
7428 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7431 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * messages.C: remove one more localedir class variable.
7435 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7437 * messages.C (getLocaleDir): singleton generation function
7439 (Messages): add a default constructor.
7441 * main.C (main): do not setup localedir here, do not call
7444 * gettext.C (_): use it.
7445 (gettext_init): delete funciton
7447 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7449 * gettext.C (getLyXMessages): new singleton generating function.
7451 * buffer.C (updateDocLang): adjust
7453 * Makefile.am (messages.o): add target
7454 (main.o): remove target
7456 2003-04-27 John Levon <levon@movementarian.org>
7461 * lyxvc.C: specify cancel button in Alert::prompt
7463 2003-04-26 John Levon <levon@movementarian.org>
7468 * LyXAction.C: add LFUN_INSET_SETTINGS
7470 * lyxfunc.C: don't enable tabular-feature when there's
7471 just any locking inset
7473 2003-04-26 John Levon <levon@movementarian.org>
7475 * bufferlist.C: re-add Cancel to buffer close question
7477 * lyxfunc.C: fix import UI a bit
7479 2003-04-25 John Levon <levon@movementarian.org>
7481 * gettext.C: remove the broken asserts for now
7483 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7485 * messages.C: make case where setlocale cannot comply work better.
7487 * buffer.C (updateDocLang): new function
7488 (changeLanguage): use it
7491 * text2.C (setCounter): use B_ a bit.
7493 * lyxlayout.C (Read): be sure to trim the label strings.
7495 * messages.C (Messages): fix typo in comment
7497 * buffer.C (readFile): set message_ after file is loaded.
7498 (makeDocBookFile): remove double return
7499 (changeLanguage): reset message_ upon language change.
7500 (B_): new func, use this to get translated buffer strings.
7502 * main.C: add myself and Jean Marc as authors.
7504 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * messages.[hC]: pimplify Messages, and three different pimpls to be
7507 used in different circumstances.
7509 * gettext.[Ch]: change for use with new message code.
7511 2003-04-24 André Pönitz <poenitz@gmx.net>
7513 * factory.C: support for eqref
7515 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7517 * messages.[Ch]: add missing char
7519 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7521 * messages.[Ch]: New files
7523 2003-04-18 John Levon <levon@movementarian.org>
7527 * BufferView_pimpl.C:
7531 * text2.C: remove layout-copy/paste (bug 778)
7533 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7535 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7537 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7539 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7540 if they succeed. Act accordingly.
7542 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7544 * text2.C (setCharFont): adjust
7545 (setCounter): adjust
7546 (insertStringAsLines): adjust
7548 * text.C (leftMargin): adjust
7549 (setHeightOfRow): adjust
7551 * rowpainter.C (paintFirst): adjust
7554 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7556 (isFirstInSequence): ditto
7557 (getEndLabel): ditto
7560 * paragraph.C (getParLanguage): comment out some hard stuff.
7562 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7564 (simpleDocBookOnePar): ditto
7565 (makeDocBookFile): use ParagraphList::iterator
7567 * CutAndPaste.C (pasteSelection): adjust
7569 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7571 * text2.C (getFont): adjust
7572 (getLayoutFont): adjust
7573 (getLabelFont): adjust
7575 * paragraph_funcs.C (TeXOnePar): adjust
7577 * buffer.C (simpleLinuxDocOnePar): adjust
7578 (simpleDocBookOnePar): adjust
7580 * CutAndPaste.C (pasteSelection): adjust
7582 * BufferView.C (getEncoding): adjust
7584 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7586 2003-04-16 John Levon <levon@movementarian.org>
7588 * lyxfind.C: use parlist stuff for search/changes
7590 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7592 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7594 * text2.C (deleteEmptyParagraphMechanism): adjust
7596 * text2.[Ch] (ownerParagraph): delete func (both of them
7598 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7600 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7602 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7604 * ParagraphList.C: prepare for NO_NEXT
7606 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * text2.C (getFont): adjust
7609 (getLayoutFont): adjust
7610 (getLabelFont): adjust
7612 * paragraph.C (getFont): adjust
7613 (getLabelFont): adjust
7614 (getLayoutFont): adjust
7616 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7618 2003-04-15 John Levon <levon@movementarian.org>
7622 * lyx_main.C: handle Include in .ui files
7624 2003-04-15 John Levon <levon@movementarian.org>
7626 * MenuBackend.C: make the doc files length shorter
7629 * ToolbarBackend.C: handle toolbar placement flags,
7632 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7634 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7637 * paragraph_funcs.C (TeXOnePar): adjust
7639 * paragraph.C (getLabelFont): add outerfont arg, adjust
7640 (getLayoutFont): ditto
7641 (simpleTeXOnePar): adjust
7643 * paragraph_pimpl.C (realizeFont): delete func
7645 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7647 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7648 row argument, constify cur argument.
7650 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7652 * text2.C (getFont): adjust
7653 (getLayoutFont): adjust
7654 (getLabelFont): adjust
7656 * paragraph_funcs.C (TeXOnePar): adjust
7657 (outerFont): new func...
7658 (realizeFont): ...moved out from here, changed this to facilitate
7661 * paragraph.C (getFont): take outerfont as arg, adjust
7662 (simpleTeXOnePar): add outerfont arg, adjust
7664 * buffer.C (simpleLinuxDocOnePar): adjust
7665 (simpleDocBookOnePar): adjust
7667 * CutAndPaste.C (pasteSelection): adjust
7669 * BufferView.C (getEncoding): adjust
7671 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7673 * text2.C (setCharFont): adjust
7674 (setCounter): adjust
7676 * text.C (leftMargin): adjust
7677 (setHeightOfRow): adjust
7679 * rowpainter.C (paintFirst): adjust
7682 * paragraph_pimpl.C (realizeFont): adjust
7684 * paragraph.C (isFirstInSequence): move from here...
7685 * paragraph_funcs.C (isFirstInSequence): ...to here
7687 * paragraph.C (outerHook): move from here...
7688 * paragraph_funcs.C (outerHook): ...to here
7690 * paragraph.C (depthHook): move from here...
7691 * paragraph_funcs.C (depthHook): ...to here
7693 * paragraph.C (getEndLabel): move from here...
7694 * paragraph_funcs.C (getEndLabel): ...to here
7696 * text2.C (realizeFont): move from here...
7697 * paragraph_funcs.C (realizeFont): ...to here
7699 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7703 2003-04-14 Angus Leeming <leeming@lyx.org>
7705 * LColor.[Ch]: scrap LColor mathcursor.
7707 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7709 * lyxlex.[Ch] (text): delete function
7710 * trans.C (Load): adjust
7711 * paragraph_funcs.C (readParToken): adjust
7713 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7715 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7716 vector<char> instead of a char[].
7718 * lyxlex_pimpl.C (getString): adjust
7720 (lex): use getString
7724 * lyxlex.C (text): use pimpl_->getString()
7728 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7730 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7731 (makeFontEntriesLayoutSpecific): temp var for par.size()
7732 (setLayout): temp var for ownerParagraphs().end()
7733 (fullRebreak): temp var for rows().end()
7734 (selectionAsString): temp var for boost::next(startpit), realize
7735 that the while really is a regular for loop.
7736 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7737 setCursor in one place.
7738 (setParagraph): temp vr for ownerParagraphs().end()
7739 (updateCounters): make the while loop a for loop
7740 (cutSelection): temp var for ownerParagraphs().end()
7741 (updateInset): make the do {} while() a regular for loop
7742 (getCursorX): use temp vars
7743 (setCurrentFont): use temp vars
7744 (getColumnNearX): use temp vars
7746 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7748 * text.C (transformChar): use temp var for getChar
7749 (computeBidiTables): use temp var for row->par()
7750 (fill): move temp vars for row->par() and pit->layout() earlier in
7752 (labelFill): use temp var for row->par()
7753 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7754 asc and desc, realize that pit never changes and that firstpit is
7755 just a duplicate and not needed. Exchange rit->par() with pit in a
7757 (breakAgain): use a temp var for boost::next(rit)
7758 (breakAgainOneRow): ditto
7759 (breakParagraph): use a temp var for rows().begin()
7760 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7761 (cursorRightOneWord): use temp var for cursor.par() and
7762 cursor.pos(), remove usage of tmpcursor.
7763 (cursorLeftOneWord): use temp var for cursor.par() and
7764 cursor.pos() only set cur at end of function.
7766 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7768 * text.C, text2.C: exchange all usage of Paragraph::next with
7769 boost::next(ParagraphList::iterator)
7771 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7773 * text2.C (cursorTop): simplify implementation
7774 (cursorBottom): ditto
7775 (setParagraph): use ParagraphList::iterator
7776 (setCurrentFont): adjust
7777 (getColumnNearX): adjust
7778 (cursorRight): adjust
7779 (cursorLeft): remove usage of Paragraph::previous
7780 (cursorUpParagraph): ditto
7781 (deleteEmptyParagraphMechanism): slight cleanup
7783 * text.C (isBoundary): take a Paragraph const & instead of a
7785 (addressBreakPoint): ditto
7786 (leftMargin): remove usage of Paragraph::previous.
7787 (setHeightOfRow): ditto
7788 (cursorLeftOneWord): ditto
7789 (selectNextWordToSpellcheck): ditto
7792 (breakParagraph): remove one usage of Paragraph::next
7793 (redoParagraph): ditto
7794 (acceptChange): ditto
7795 (insertChar): adjust
7796 (rowBreakPoint): adjust
7798 * bufferview_funcs.C (toggleAndShow): adjust
7800 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7802 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7803 methods to access it.
7805 * text.C: Added updateRowPositions to compute all row positions.
7806 Make top_y and getRowNearY() to use the cached y position
7808 2003-04-11 John Levon <levon@movementarian.org>
7810 * text.C (rowBreakPoint): reintroduce the labelEnd
7811 checks, code copied from the row fill stuff. Deep voodoo.
7813 * text.C (fill): add a comment and debugging for the
7816 2003-04-11 John Levon <levon@movementarian.org>
7818 * text.C: make sure fullrow insets get wrapped to the next line,
7819 even when they're in a manual label
7821 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * text2.C (insertParagraph): make it take ParagraphList::iterator
7825 (setLayout): make it return ParagraphList::iterator
7826 (redoParagraphs): ditto
7828 (checkParagraph): ditto
7830 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7832 * text2.C: adjust several funcs.
7833 (realizeFont): take a ParagraphList::iterator as arg.
7834 (getLayoutFont): ditto
7835 (getLabelFont): ditto
7836 (setCharFont): ditto
7838 * text.C: adjust several funcs.
7840 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7842 * text.C (selectNextWordToSpellcheck): don't accidentally
7845 2003-04-10 John Levon <levon@movementarian.org>
7847 * ToolbarBackend.C (getIcon): special handling for
7850 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7852 * text2.C (cursorRight): a getChar assert fixed
7854 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7856 * text2.C (getFont): change to take a ParagraphList::iterator
7857 instead of Paragraph*
7858 Adjust several functions.
7860 * text.C (transformChar): change to take a ParagraphList::iterator
7861 instead of Paragraph*
7862 (singleWidth): ditto
7863 Adjust several functions.
7865 * rowpainter.C: adjust several functions
7866 * rowpainter.h:store a ParagraphList::iterator and not a
7870 2003-04-09 John Levon <levon@movementarian.org>
7875 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7876 and the "help" bits as well
7878 2003-04-09 John Levon <levon@movementarian.org>
7881 * ToolbarBackend.C: allow multiple toolbars
7883 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7885 * undo_funcs.C (setCursorParUndo): adjust
7887 * text_funcs.C (transposeChars): adjust
7889 * text3.C (gotoNextInset): adjust
7892 * text2.C (setLayout): adjust
7893 (changeDepth): adjust
7895 (redoParagraphs): adjust
7896 (selectionAsString): adjust
7897 (setParagraph): adjust
7898 (insertInset): adjust
7899 (cutSelection): adjust
7900 (copySelection): adjust
7901 (pasteSelection): adjust
7902 (insertStringAsLines): adjust
7903 (updateInset): adjust
7904 (setCursor): change to take a ParagraphList::iterator parameter
7905 (setCursorIntern): change to take a ParagraphList::iterator parameter
7906 (setCurrentFont): adjust
7907 (cursorLeft): adjust
7908 (cursorRight): adjust
7909 (deleteEmptyParagraphMechanism): adjust
7911 * text.C (breakParagraph): adjust
7912 (insertChar): adjust
7913 (acceptChange): adjust
7914 (rejectChange): adjust
7915 (selectNextWordToSpellcheck): adjust
7916 (changeCase): adjust
7920 * lyxfind.C (SearchForward): adjust
7921 (SearchBackward): adjust
7922 (nextChange): adjust
7924 * lyxcursor.C (par): adjust
7926 * lyxcursor.h: store a ParagraphList::iterator instead of a
7929 * lyx_cb.C (getPossibleLabel): adjust
7931 * bufferview_funcs.C (toggleAndShow): adjust
7933 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7936 * BufferView.C (removeAutoInsets): adjust
7937 (lockedInsetStoreUndo): adjust
7939 2003-04-09 John Levon <levon@movementarian.org>
7941 * ToolbarBackend.C: try icon without argument
7942 if with argument fails
7944 2003-04-08 John Levon <levon@movementarian.org>
7947 * ToolbarBackend.C: add getIcon(), handle tooltip,
7948 and change from "Icon" to "Item".
7950 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7952 * BufferView.C (lockInset): another bad getchar crunched
7954 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7956 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7959 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7961 * lyxfind.C (searchForward, searchBackwards): bug 782
7963 2003-04-07 John Levon <levon@movementarian.org>
7965 * paragraph.C: remove dead comment
7967 * text.C: remove troublesome depth-fiddling code
7968 in leftMargin() and rightMargin() (bug 1017)
7970 * text.C: fix breaking of rows in nested lists
7973 * text2.C (updateCounters): fix up depth values
7976 2003-04-07 John Levon <levon@movementarian.org>
7978 * BufferView_pimpl.C: clear message when doc finishes resizing,
7979 and after a mouse event
7981 * lyxfunc.C: clear message after exiting inset
7983 2003-04-07 John Levon <levon@movementarian.org>
7985 * bufferview_funcs.C: show math status not outside
7986 status in the statusbar
7988 2003-04-07 John Levon <levon@movementarian.org>
7990 * lyxfunc.C: note status changed after a depth change
7992 2003-04-04 Angus Leeming <leeming@lyx.org>
7994 * LaTeX.h: move AuxInfo operator==, != out of line.
7995 Remove LaTeX virtual destructor; nothing derives from it.
7996 Move operator()() out of public area and rename it startscript().
7997 Change protected for private.
7999 2003-04-04 Angus Leeming <leeming@lyx.org>
8002 * text2.C: remove unneeded #includes.
8004 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8006 * text2.C (dEPM): fix the heigth of the next row
8008 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8010 * text.C: squashed an invalid getChar requester + some ws changes
8012 2003-04-03 John Levon <levon@movementarian.org>
8014 * bufferview_funcs.h:
8015 * bufferview_funcs.C:
8018 * text2.C: make getStatus work for the env depth lfuns
8020 2003-04-03 John Levon <levon@movementarian.org>
8022 * bufferview_funcs.h:
8023 * bufferview_funcs.C:
8026 * text2.C: parlistize decDepth(), by merging it with incDepth()
8028 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8030 * lyxrow.h: store a ParagraphList::iterator instead of a
8031 Paragraph* and adjust other class functions to suit.
8033 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8036 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8038 * text2.C (setCursor): do not anchor to cursor row for the time being
8040 2003-04-02 John Levon <levon@movementarian.org>
8047 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8049 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8051 * paragraph.h: make ParagraphList and ParagraphList::iterator
8052 friends of Paragraph.
8054 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8056 * ParagraphList.C: Use the private next_ and previous_ from
8059 2003-04-01 John Levon <levon@movementarian.org>
8063 * Makefile.am: rename, remove defaults gunk
8066 * MenuBackend.C: remove defaults gunk
8069 * Languages.C: remove defaults gunk
8072 * lyx_main.C: error out if files couldn't be found.
8074 2003-04-02 John Levon <levon@movementarian.org>
8076 * text2.C: make incDepth() use parlist
8078 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8080 * undo_funcs.C (firstUndoParagraph): adjust
8082 * text3.C (gotoInset): adjust
8083 (dispatch): adjust, and rewrite loop.
8085 * text2.C (init): adjust, and rewrite loop.
8086 (redoParagraphs): adjust
8087 (updateInset): adjust, and rewrite loop.
8088 (deleteEmptyParagraphMechanism): adjust
8090 * tabular.C (LyXTabular): adjust
8091 (SetMultiColumn): adjust
8094 * lyxtext.[Ch] (ownerParagraph): delete function
8095 (ownerParagraphs): new function returns a ParagraphList.
8097 * BufferView.C (removeAutoInsets): adjust
8098 (insertErrors): adjust
8099 (setCursorFromRow): adjust
8101 2003-04-01 Angus Leeming <leeming@lyx.org>
8103 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8106 2003-04-02 John Levon <levon@movementarian.org>
8112 * text_funcs.C: make transposeChars a free function
8114 * lyxrow_funcs.C: remove wrong comment
8116 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8119 * rowpainter.C: adjust
8124 * lyxrow_funcs. [Ch]: new files
8126 * lyxrow.[Ch]: remove next and previous pointers
8127 (next,previous): remove accessor functions
8128 (isParEnd): move to lyxrow_funcs
8129 (lastPos): move to lyxrow_funcs
8130 (nextRowIsAllInset): move to lyxrow_funcs
8131 (lastPrintablePos): move to lyxrow_funcs
8132 (numberOfSeparators): move to lyxrow_funcs
8133 (numberOfHfills): move to lyxrow_funcs
8134 (numberOfLabelHfills): move to lyxrow_funcs
8135 (hfillExpansion): move to lyxrow_funcs
8139 * bufferview_funcs.C (toggleAndShow): adjust
8141 * RowList.h: Remove class RowList from file leave just a
8144 * RowList.C: delete file
8146 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8149 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8151 * text3.C (cursorPrevious): adjust
8152 (cursorNext): adjust
8155 * text2.C (redoHeightOfParagraph): adjust
8156 (redoDrawingOfParagraph): adjust
8159 * text.C (breakParagraph): adjust
8160 (insertChar): adjust
8163 * rowpainter.C (RowPainter): adjust
8164 (leftMargin): simplify and adjust
8165 (most rowpainter functions): adjust.
8167 * rowpainter.h: store the row as RowList::iterator not as Row*
8169 * lyxcursor.C (row): taka RowList::iterator as arg
8172 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8175 2003-04-01 Angus Leeming <leeming@lyx.org>
8177 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8178 stuff like bool Bool.
8180 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8182 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8185 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8187 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8190 * lyxtext.h (rows): drop one version and leve a const variant that
8191 returns a RowList::iterator.
8193 2003-03-31 Angus Leeming <leeming@lyx.org>
8195 * text.C (fill): ensure that the signature is the same as that in the
8198 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8200 * text2.C (redoParagraphs): adjust
8201 (updateCounters): adjust
8202 (checkParagraph): adjust
8203 (getColumnNearX): adjust and reformat a bit.
8205 * text.C (top_y): adjust
8207 (leftMargin): adjust
8208 (prepareToPrint): adjust
8210 (getRowNearY): adjust
8212 * lyxtext.h: make rowlist_ mutable.
8214 * RowList.h: add const_iterator
8215 * RowList.C: adjust for RowList::const_iterator.
8217 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8220 2003-03-31 John Levon <levon@movementarian.org>
8223 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8225 * lyx_main.C: set default fonts from using lyx_gui funcs
8227 * exporter.C: pdf_mode moved from lyxrc
8230 * lyxfunc.C: changes from above
8232 2003-03-31 John Levon <levon@movementarian.org>
8234 * lyx_main.C: fix to the last fix
8236 2003-03-31 John Levon <levon@movementarian.org>
8238 * bufferlist.C: "Load original" -> "Load Original"
8244 * format.C: more Alert cleanups
8246 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8248 * text2.C (removeParagraph): make it take a RowList::iterator as
8250 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8251 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8253 * text.C (anchor_row): make it take a RowList::iterator as arg,
8255 (computeBidiTables): make it take a const reference to Row instead
8256 of Row pointer, adjust.
8257 (leftMargin): make it take a RowList::iterator as arg, adjust.
8258 (rowBreakPoint): adjust
8259 (breakAgainOneRow): make it take a RowList::iterator as arg,
8261 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8263 * bufferview_funcs.C (toggleAndShow): adjust
8265 2003-03-30 John Levon <levon@movementarian.org>
8269 * boost-inst.C: moved to support
8271 * several files: changes as a result
8273 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8275 * text2.C (LyXText): adjust.
8277 (removeRow): make it take a RowList::iterator as arg, adjust.
8278 (fullRebreak): adjust
8279 (deleteEmptyParagraphMechanism): adjust
8280 (clearPaint): adjust
8283 * text.C (top_y): adjust
8284 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8285 (breakAgain): make it take a RowList::iterator as arg, adjust.
8286 (breakParagraph): adjust
8287 (insertChar): adjust
8290 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8291 need_break_row, and refresh_row.
8293 * text3.C (dispatch): adjust
8295 * text2.C (checkParagraph): adjust
8297 (setCursorFromCoordinates): adjust
8299 * text.C (top_y): adjust
8301 (getRow): make it return a RowList::iterator, adjust
8302 (getRowNearY): make it return a RowList::iterator, adjust
8304 * text2.C (init): adjust
8305 (insertRow): remove function
8306 (insertParagraph): adjust
8307 (redoParagraphs): adjust
8308 (fullRebreak): adjust
8309 (updateCounters): adjust
8311 * text.C (top_y): rewrite to use RowList iterators.
8313 (setHeightOfRow): rewrite to sue RowList iterators.
8314 (appendParagraph): adjust
8315 (breakAgain): adjust
8316 (breakAgainOneRow): adjust
8317 (breakParagraph): adjust
8319 (getRowNearY): adjust, and remove commented code.
8321 * lyxtext.h (firstRow): delete function
8322 (lastRow): delete function
8323 (rows): new function (const and non-const versions.)
8324 (insertRow): delete function
8326 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8328 2003-03-29 John Levon <levon@movementarian.org>
8330 * BufferView_pimpl.C: always update scrollbar top
8331 because pasting text when we're anchored could mean we
8332 miss an update altogether
8334 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8336 * text2.C (init): use rowlist_.end() and not 0.
8337 (insertRow): change to take a RowList::iterator as arg, adjust
8339 (insertParagraph): change to take a RowList::iterator as arg,
8341 (redoParagraphs): remove some debug msgs.
8343 * text.C (appendParagraph): change to take a RowList::iterator
8344 arg, adjust for this.
8345 (breakAgain): add an assert
8346 (breakAgainOneRow): ditto
8348 2003-03-29 John Levon <levon@movementarian.org>
8350 * text2.C: do not clear selection after inc/decDepth
8353 2003-03-29 John Levon <levon@movementarian.org>
8356 * buffer.C: fix broken strerrors according to Lars
8358 2003-03-29 John Levon <levon@movementarian.org>
8360 * converters.C: more Alert cleanups
8362 2003-03-29 John Levon <levon@movementarian.org>
8364 * bufferview_funcs.C: remove pointless Alert
8366 * buffer.C: fix confusing error message when
8367 a template is chmoded 000
8369 2003-03-29 John Levon <levon@movementarian.org>
8373 * BufferView_pimpl.C: Alert fixes
8377 * tabular-old.C: remove unused table compat reading
8379 2003-03-29 John Levon <levon@movementarian.org>
8384 * lyx_cb.C: more Alert cleanups
8386 * lyxfunc.C: don't allow chktex if not latex document
8388 2003-03-29 John Levon <levon@movementarian.org>
8392 * buffer.C: warnings pushed down from support/,
8395 2003-03-29 John Levon <levon@movementarian.org>
8397 * lyxfunc.C: safety check for C-r (revert)
8399 2003-03-29 John Levon <levon@movementarian.org>
8402 * bufferlist.C: several UI fixes using Alert::prompt.
8403 Fix the pointless looping quit code. Fix stupid revert
8408 * lyx_cb.C: use Alert::prompt
8410 * lyx_main.C: remove a silly question
8412 * lyxfunc.C: remove a couple of silly questions,
8415 2003-03-28 John Levon <levon@movementarian.org>
8417 * text2.C: fix bug 974 (End on empty par)
8419 2003-03-28 John Levon <levon@movementarian.org>
8421 * BufferView_pimpl.C:
8423 * lfuns.h: remove do-nothing math greek lfuns
8425 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8427 * lyxgluelength.h (isValidGlueLength): add default arg on
8428 parameter 2. Remove default arg from friend in class.
8430 * lyxlength.h (isValidLength): add default arg on parameter 2.
8431 Remove default arg from friend in class.
8433 * text2.C (LyXText): adjust, initialize refresh_row.
8437 (insertParagraph): adjst
8438 (redoParagraphs): adjust
8439 (fullRebreak): adjust
8440 (updateCounters): adjust
8441 (deleteEmptyParagraphMechanism): first attempt at fixing a
8444 * text.C (top_y): adjust
8445 (setHeightOfRow): adjust
8447 (getRowNearY): adjust
8449 * lyxtext.h: include RowList.h
8450 (~LyXText): not needed anymore, deleted.
8451 (firstRow): modify for RowList
8452 (lastRow): new function
8453 Delete firstrow and lastrow class variables, add a Rowlist
8454 rowlist_ class variable.
8456 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8459 * RowList.C (insert): fix case where it == begin().
8461 2003-03-26 Angus Leeming <leeming@lyx.org>
8463 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8464 the thesaurus dialog.
8466 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8468 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8470 * RowList.[Ch]: new files
8472 * ParagraphList.C (erase): handle the case where it == begin
8475 2003-03-25 John Levon <levon@movementarian.org>
8479 * aspell.C: add new aspell support
8482 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8485 2003-03-25 Angus Leeming <leeming@lyx.org>
8488 * LyXAction.C (init): new LFUN_INSET_INSERT.
8490 * BufferView_pimpl.C (dispatch): split out part of the
8491 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8493 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8496 2003-03-25 Angus Leeming <leeming@lyx.org>
8498 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8500 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8503 * text3.C: remove useless row->height(0)
8505 2003-03-25 John Levon <levon@movementarian.org>
8509 * text3.C: rename the refreshing stuff to better names
8511 2003-03-24 John Levon <levon@movementarian.org>
8513 * BufferView_pimpl.h:
8514 * BufferView_pimpl.C: update layout choice on a mouse
8517 2003-03-23 John Levon <levon@movementarian.org>
8519 * Makefile.am: fix commandtags.h reference
8521 2003-03-22 John Levon <levon@movementarian.org>
8523 * BufferView_pimpl.C:
8528 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8530 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8533 * text.C: take the rtl methods out of line
8535 2003-03-21 André Pönitz <poenitz@gmx.net>
8537 * metricsinfo.[Ch]: new files containing structures to be passed around
8538 during the two-phase-drawing...
8540 2003-03-21 André Pönitz <poenitz@gmx.net>
8542 * lyxtextclass.C: read 'environment' tag.
8544 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8546 * text2.C (removeRow): fix bug 964
8548 2003-03-20 John Levon <levon@movementarian.org>
8552 * text2.C: paint cleanups. Inset::update() dropped font
8555 2003-03-19 John Levon <levon@movementarian.org>
8557 * lyxfunc.C: only fitcursor/markDirty if available()
8559 2003-03-19 John Levon <levon@movementarian.org>
8561 * commandtags.h: rename to ...
8563 * lfuns.h: ... this, and renumber / cleanup
8565 2003-03-19 John Levon <levon@movementarian.org>
8567 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8568 fit the cursor after an lfun
8572 * BufferView_pimpl.h:
8573 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8575 * LyXAction.C: layout-character should have ReadOnly
8577 * ParagraphParameters.C:
8579 * bufferview_funcs.C:
8586 * undo_funcs.C: changes from above
8588 2003-03-18 John Levon <levon@movementarian.org>
8590 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8591 remove it from update()
8593 * lyxfunc.C: update layout choice after an lfun
8595 * text3.C: remove extra updateLayoutChoice()s
8597 2003-03-18 John Levon <levon@movementarian.org>
8599 * text.C: top_y change means full repaint, fix
8600 a drawing bug with cursor movement
8602 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8606 * text2.C: anchor row on setCursor
8608 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8610 * lyxtext.h: remove almost all mutable keywords
8613 * text3.C: remove const keywords accordingly
8615 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8617 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8619 (TeXEnvironment): ditto
8622 2003-03-17 John Levon <levon@movementarian.org>
8624 * text.C (rowBreakPoint): remove attempt to fix displayed
8625 math insets inside a manual label
8627 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8629 * lyxtext.h: remove BufferView* as first arg from almost all class
8631 * other files: adjust.
8633 2003-03-17 John Levon <levon@movementarian.org>
8637 * text2.C: more paint cleanups
8639 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8642 * rowpainter.C: remove "smart" background painting code
8644 2003-03-16 John Levon <levon@movementarian.org>
8649 * text3.C: add helper functions for setting refresh_row/y
8651 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8653 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8654 newline inset which *can* get inserted in the pass_thru layouts.
8655 This is primarily for literate documents.
8657 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8659 * buffer.C: increment LYX_FORMAT to 223
8661 2003-03-14 André Pönitz <poenitz@gmx.net>
8663 * textclass.h: prepare for environment handling, ws changes
8664 * lyxlayout.C: read latexheader and latexfooter tags
8666 2003-03-14 John Levon <levon@movementarian.org>
8668 * text2.C: rewrite ::status() a bit
8670 2003-03-13 John Levon <levon@movementarian.org>
8672 * lyxtext.h: add some docs
8674 2003-03-13 John Levon <levon@movementarian.org>
8679 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8681 2003-03-13 John Levon <levon@movementarian.org>
8683 * text3.C: fix appendix redrawing
8685 2003-03-13 John Levon <levon@movementarian.org>
8687 * text.C (setHeightOfRow):
8689 * rowpainter.C: make appendix mark have the text
8690 "Appendix" so the user knows what it is
8693 * LColor.C: s/appendixline/appendix/ from above
8695 2003-03-13 John Levon <levon@movementarian.org>
8697 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8699 * text.C: fix a getChar(pos) bug properly
8701 2003-03-13 Angus Leeming <leeming@lyx.org>
8704 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8705 Probably only temporary. Let's see how things pan out.
8707 * BufferView.C (unlockInset):
8708 * BufferView_pimpl.C (fitCursor):
8709 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8711 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8712 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8714 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8715 new functions that convert ParagraphParameters to and from a string.
8717 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8718 BufferView::Pimpl's dispatch.
8719 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8721 2003-03-13 André Pönitz <poenitz@gmx.net>
8725 * factory.C: make it aware of InsetEnv
8727 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8729 * text2.C (setCursor): never ask for one past last
8730 (setCursor): add some debugging messages.
8732 * text.C (singleWidth): never ask for one past last
8733 (singleWidth): ditto
8735 (rightMargin): ditto
8736 (rowBreakPoint): ditto
8737 (setHeightOfRow): ditto
8738 (prepareToPrint): ditto
8740 * rowpainter.C (paintBackground): never ask for one past last
8741 (paintText): never ask for one past last
8743 * paragraph_pimpl.C (getChar): make the assert stricter, never
8744 allow the one past last pos to be taken
8746 * paragraph.C (getChar): ws changes only
8748 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8749 (numberOfSeparators): ditto
8750 (numberOfHfills): ditto
8752 2003-03-12 John Levon <levon@movementarian.org>
8758 * paragraph_funcs.C: fix per-buffer authorlists
8760 2003-03-12 John Levon <levon@movementarian.org>
8762 * text.C: fix newline in right address
8764 2003-03-12 Angus Leeming <leeming@lyx.org>
8766 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8767 duplicate those in LyXFunc::dispatch.
8771 * ToolbarDefaults.C:
8772 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8773 Add LFUN_FONTFREE_UPDATE.
8775 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8776 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8778 * bufferview_func.[Ch]: several new functions to facilliate
8779 transfer of data to and from the character dialog.
8781 2003-03-12 John Levon <levon@movementarian.org>
8786 * paragraph_funcs.C:
8787 * paragraph_pimpl.C:
8791 * text3.C: remove META_NEWLINE in favour of an inset
8794 * rowpainter.C: remove paintNewline (done by inset)
8796 2003-03-12 John Levon <levon@movementarian.org>
8798 * paragraph_pimpl.C: complain about bad getChar()s
8799 for a while at least
8801 2003-03-12 John Levon <levon@movementarian.org>
8804 * buffer.C: move paragraph read into a separate function,
8805 a little renaming to reflect that.
8808 * bufferparams.C: remove the author_ids map, not necessary now
8811 * factory.C: moved Buffer::readInset to here
8813 * paragraph_funcs.h:
8814 * paragraph_funcs.C: readParagraph free function moved from
8817 * tabular.C: name change
8819 2003-03-12 John Levon <levon@movementarian.org>
8822 * ParagraphParameters.C: move par params input to
8825 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8826 behave like a normal read from the stream wrt reading
8827 a line vs. a \\token
8829 2003-03-12 John Levon <levon@movementarian.org>
8832 * ParagraphParameters.h:
8833 * ParagraphParameters.C: move output code to a
8836 2003-03-12 John Levon <levon@movementarian.org>
8838 * BufferView.C (insertLyXFile):
8841 * tabular.C: use a parlist iterator for creating the
8844 2003-03-12 John Levon <levon@movementarian.org>
8846 * buffer.C: make current_change static local not
8849 2003-03-12 John Levon <levon@movementarian.org>
8851 * buffer.C: fix insertStringAsLines for change tracking
8853 2003-03-12 John Levon <levon@movementarian.org>
8860 * bufferparams.C: move author list into params. Rename some
8861 functions. Move the header reading into a separate token
8862 loop. Move the header token reading into BufferParams.
8864 2003-03-12 John Levon <levon@movementarian.org>
8866 * changes.C: put debug inside lyxerr.debugging() checks
8868 2003-03-11 André Pönitz <poenitz@gmx.net>
8870 * factory.C: make it aware of InsetHFill
8872 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8874 * buffer.C (latexParagraphs): move function from here...
8875 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8878 2003-03-10 Angus Leeming <leeming@lyx.org>
8880 * LyXAction.C (init): fix bug in poplating array with multiple entries
8881 with the same LFUN (spotted by JMarc).
8883 2003-03-10 John Levon <levon@movementarian.org>
8886 * text2.C: move getColumnNearX() near its
8889 2003-03-10 John Levon <levon@movementarian.org>
8891 * text.C: fix break before a minipage
8893 2003-03-10 John Levon <levon@movementarian.org>
8895 * text.C: fix the last commit
8897 2003-03-09 John Levon <levon@movementarian.org>
8901 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8902 bug 365 (don't break before insets unless needed). Don't
8903 return a value > last under any circumstances.
8905 2003-03-09 Angus Leeming <leeming@lyx.org>
8907 * BufferView_pimpl.C (trackChanges, dispatch): call
8908 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8910 2003-03-09 Angus Leeming <leeming@lyx.org>
8912 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8913 than Dialogs::showAboutlyx().
8915 2003-03-09 Angus Leeming <leeming@lyx.org>
8917 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8918 than Dialogs::showTabularCreate().
8920 2003-03-09 John Levon <levon@movementarian.org>
8924 * text2.C: 3rd arg to nextBreakPoint was always the same.
8927 2003-03-08 John Levon <levon@movementarian.org>
8934 * text2.C: Remove the "main" bit from the "main body"
8937 2003-03-08 John Levon <levon@movementarian.org>
8939 * text.C (leftMargin): The left margin of an empty
8940 manual label paragraph should not include the label width
8943 * text.C (prepareToPrint): don't attempt to measure hfills
8944 for empty manual label paragraphs - the answer should be 0
8946 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8948 * CutAndPaste.C: remove commented code and reindent.
8950 2003-03-08 John Levon <levon@movementarian.org>
8953 * lyxfunc.C: move reloadBuffer()
8956 * BufferView.C: to here
8958 * lyxvc.C: add comment
8961 * vc-backend.C: call bv->reload() to avoid
8962 getStatus() check on MENURELOAD
8964 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8966 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8967 to an old format .dep file.
8969 2003-03-07 Angus Leeming <leeming@lyx.org>
8971 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8972 when the LFUN_MOUSE_RELEASE should have been handled by
8973 inset->localDispatch.
8975 2003-03-07 Angus Leeming <leeming@lyx.org>
8977 * BufferView_pimpl.C (dispatch):
8978 * LyXAction.C (init):
8979 * ToolbarDefaults.C (init):
8981 * lyxfunc.C (getStatus):
8982 remove LFUN_INSET_GRAPHICS.
8984 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8986 2003-03-07 Angus Leeming <leeming@lyx.org>
8989 * LyXAction.C (init):
8990 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8992 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8995 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8997 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8998 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9000 2003-03-07 Angus Leeming <leeming@lyx.org>
9002 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9005 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9007 * ParagraphList.C (front): new function
9010 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9012 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9013 and top_row_offset_. removed var first_y.
9015 * text2.C (LyXText, removeRow):
9017 * BufferView_pimpl.C:
9018 use these methods instead of using first_y
9020 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9022 * text2.C (pasteSelection): adjust for checkPastePossible
9024 * CutAndPaste.C: remove Paragraph * buf and replace with
9025 ParagraphList paragraphs.
9026 (DeleteBuffer): delete
9027 (cutSelection): change the tc type to textclass_type
9028 (copySelection): change the tc type to textclass_type
9029 (copySelection): adjust for ParagraphList
9030 (pasteSelection): change the tc type to textclass_type
9031 (pasteSelection): adjust for Paragraphlist
9032 (nrOfParagraphs): simplify for ParagraphList
9033 (checkPastePossible): simplify for ParagraphList
9034 (checkPastePossible): remove unused arg
9036 * ParagraphList.C (insert): handle the case where there are no
9039 * CutAndPaste.h: make CutAndPaste a namespace.
9041 * text3.C (dispatch): adjust
9043 * text.C (breakParagraph): add a ParagraphList as arg
9045 * paragraph_funcs.C (breakParagraph): change to take a
9046 BufferParams and a ParagraphList as args.
9047 (breakParagraphConservative): ditto
9048 (mergeParagraph): ditto
9049 (TeXDeeper): add a ParagraphList arg
9050 (TeXEnvironment): ditto
9053 * buffer.C (readLyXformat2): adjust
9054 (insertStringAsLines): adjust
9055 (latexParagraphs): adjust
9057 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9058 (cutSelection): adjust
9059 (pasteSelection): adjust
9061 * BufferView_pimpl.C (insertInset): adjust
9063 2003-03-05 Angus Leeming <leeming@lyx.org>
9066 * LyXAction.C (init):
9067 * BufferView_pimpl.C (dispatch):
9068 * lyxfunc.C (getStatus):
9069 remove LFUN_CHILD_INSERT.
9071 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9073 2003-03-05 Angus Leeming <leeming@lyx.org>
9076 * LyXAction.C (init):
9077 * src/factory.C (createInset):
9078 * lyxfunc.C (getStatus):
9079 * text3.C (dispatch):
9080 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9082 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9084 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9086 * ParagraphList.C (insert): handle insert right before end()
9087 (erase): fix cases where it can be first or last paragraph.
9089 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9091 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9092 Paragraph::next and Paragraph::previous
9095 * text.C (breakParagraph): adjust
9097 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9098 BufferParams& as arg.
9099 (breakParagraph): use ParagraphList::insert
9100 (breakParagraphConservative): take a Buffer* instead of a
9101 BufferParams& as arg.
9102 (breakParagraphConservative): use ParagraphList::insert.
9104 * buffer.C (insertStringAsLines): un-const it
9105 (insertStringAsLines): adjust
9107 * ParagraphList.C (insert): new function
9109 * CutAndPaste.C (pasteSelection): adjust
9111 * text.C (backspace): adjust
9113 * tabular.C (SetMultiColumn): adjust
9115 * CutAndPaste.C (cutSelection): adjust
9116 (pasteSelection): adjust
9118 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9119 Buffer const * as arg
9121 * ParagraphList.C (erase): new function
9122 * paragraph_funcs.C (mergeParagraph): use it
9123 (mergeParagraph): make it take a Buffer* instead of a
9124 BufferParams* as arg
9126 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9128 (breakParagraphConservative): ditto
9130 * paragraph.h: remove the breakParagraph friend
9132 * paragraph.C (eraseIntern): new function
9133 (setChange): new function
9135 * paragraph_funcs.C (mergeParagraph): make it take a
9136 ParagraphList::iterator instead of a Paragraph *, adjust
9139 * paragraph.h: move an #endif so that the change tracking stuff
9140 also works in the NO_NEXT case.
9142 2003-03-04 Angus Leeming <leeming@lyx.org>
9145 * LyXAction.C: new LFUN_INSET_MODIFY.
9147 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9148 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9150 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9152 * several files: ws changes only
9154 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9155 (TeXEnvironment): ditto
9158 * buffer.C (makeLaTeXFile): adjust
9159 (latexParagraphs): make it take ParagraphList::iterator as args
9161 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9163 * buffer.C (latexParagraphs): adjust
9165 * paragraph.C (TeXOnePar): move function...
9166 (optArgInset): move function...
9167 (TeXEnvironment): move function...
9168 * paragraph_pimpl.C (TeXDeeper): move function...
9169 * paragraph_funcs.C: ...here
9171 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9173 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9175 * buffer.C (readInset): remove compability code for old Figure and
9178 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9180 * buffer.C: ws changes
9183 * BufferView_pimpl.C: ditto
9186 * bufferlist.h: ditto
9190 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9192 * converter.[Ch]: split into itself +
9195 * Makefile.am: += graph.[Ch] + format.[Ch]
9202 * lyxrc.C: added #include "format.h"
9204 2003-02-27 Angus Leeming <leeming@lyx.org>
9206 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9209 * factory.C (createInset): add "label" to the factory.
9211 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9212 string and do no more.
9214 2003-02-27 Angus Leeming <leeming@lyx.org>
9217 * LyXAction.C (init):
9218 * factory.C (createInset):
9219 * BufferView_pimpl.C (dispatch):
9220 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9222 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9224 * lyxfunc.C (dispatch):
9225 * text3.C (dispatch): pass name to params2string.
9227 2003-02-26 Angus Leeming <leeming@lyx.org>
9229 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9231 Rearrange the ~includes. Strip out the unnecessary ones.
9233 * factory.C (createInset): reformat.
9234 create new insets for the various LFUN_XYZ_APPLY lfuns.
9236 2003-02-26 John Levon <levon@movementarian.org>
9239 * lyxrow.C: add isParStart,isParEnd helpers
9241 * paragraph.h: make isInserted/DeletedText take refs
9243 * paragraph_funcs.h:
9244 * paragraph_funcs.C: remove #if 0'd code
9249 * text.C: use lyxrow helpers above.
9250 Move draw and paint routines to RowPainter.
9251 Make several methods use refs not pointers.
9252 Make backgroundColor() const.
9253 Add markChangeInDraw(), isInInset().
9254 Merge changeRegionCase into changeCase.
9255 Make workWidth() shouldn't-happen code into an Assert.
9258 * rowpainter.C: new class for painting a row.
9261 * vspace.C: make inPixels take a ref
9263 2003-02-26 Angus Leeming <leeming@lyx.org>
9265 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9268 2003-02-25 John Levon <levon@movementarian.org>
9270 * ispell.C: give the forked command a more accurate name
9272 2003-02-22 John Levon <levon@movementarian.org>
9275 * toc.C: make TocItem store an id not a Paragraph *
9278 2003-02-21 Angus Leeming <leeming@lyx.org>
9280 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9281 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9282 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9283 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9284 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9285 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9287 * BufferView_pimpl.C (dispatch):
9288 * LyXAction.C (init):
9289 * factory.C (createInset):
9290 * lyxfunc.C (getStatus, dispatch):
9291 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9293 2003-02-21 Angus Leeming <leeming@lyx.org>
9295 * BufferView_pimpl.C (MenuInsertLyXFile):
9296 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9297 * lyxfunc.C (menuNew, open, doImport):
9298 no longer pass a LyXView & to fileDlg.
9300 2003-02-21 Angus Leeming <leeming@lyx.org>
9302 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9303 * LyXAction.C: change, BIBKEY to BIBITEM.
9304 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9305 Change InsetBibKey to InsetBibitem.
9306 Change BIBKEY_CODE to BIBITEM_CODE.
9307 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9308 * factory.C: replace insetbib.h with insetbibitem.h.
9309 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9310 * paragraph.C: replace insetbib.h with insetbibitem.h.
9311 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9312 Change bibkey() to bibitem().
9313 * text.C: remove insetbib.h.
9314 * text2.C: replace insetbib.h with insetbibitem.h.
9315 change bibkey() to bibitem().
9316 * text3.C: remove insetbib.h.
9317 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9319 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9321 * lyxrc.C (output): enclose user email in quotes (in case there are
9324 2003-02-18 John Levon <levon@movementarian.org>
9326 * buffer.h: add std::
9328 2003-02-17 John Levon <levon@movementarian.org>
9334 * pspell.C: reworking. Especially in ispell, a large
9335 number of clean ups and bug fixes.
9337 * lyxfunc.C: fix revert to behave sensibly
9339 2003-02-17 André Pönitz <poenitz@gmx.net>
9342 * commandtags.h: new LFUN_INSERT_BIBKEY
9352 * paragraph_func.C: remove special bibkey handling
9354 2003-02-17 John Levon <levon@movementarian.org>
9356 * text.C (Delete): fix case where delete at the end of
9357 the very first paragraph would not merge the pars
9359 2003-02-17 John Levon <levon@movementarian.org>
9361 * lyxrow.C: fix lastPrintablePos()
9363 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9365 * bufferparams.C (writeLaTeX): add a std:here
9367 * buffer.C: and remove a using directive there
9369 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9371 * buffer.C (makeLaTeXFile): move the code that generates the
9374 * bufferparams.C (writeLaTeX): ... in this new method
9376 * LaTeXFeatures.C (getEncodingSet): make const
9377 (getLanguages): make const
9379 * MenuBackend.C (binding): returns the binding associated to this
9381 (add): sets the status of each item by calling getStatus. Adds
9383 (read): add support for OptSubMenu
9384 (expand): remove extra separator at the end of expanded menu
9386 2003-02-15 John Levon <levon@movementarian.org>
9389 * BufferView_pimpl.C:
9391 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9392 inset code that had no actual effect. Remove unneeded status
9395 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9397 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9400 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9402 * text.C (drawLengthMarker): also draw an arrow marker for
9403 symbolic lengths (medskip...)
9405 2003-02-14 John Levon <levon@movementarian.org>
9408 * tabular.C: better method names
9410 2003-02-14 John Levon <levon@movementarian.org>
9412 * BufferView_pimpl.C:
9417 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9418 it's a more accurate name. Remove some pointless uses.
9420 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9422 * text2.C (LyXText): change order of initilizers to shut off
9425 2003-02-14 John Levon <levon@movementarian.org>
9427 * buffer.C: use ParIterator for getParFromID()
9431 * paragraph_pimpl.h:
9432 * paragraph_pimpl.C: remove unused getParFromID()
9434 2003-02-14 John Levon <levon@movementarian.org>
9436 * buffer.C: remove some very old #if 0'd parse code
9438 2003-02-13 John Levon <levon@movementarian.org>
9442 * text2.C: move hfillExpansion(), numberOfSeparators(),
9443 rowLast(), rowLastPrintable(), numberofHfills(),
9444 numberOfLabelHfills() ...
9447 * lyxrow.C: ... to member functions here.
9452 * text.C: remove LyXText::beginningOfMainBody(), and call
9453 p->beginningOfMainBody() directly. Move the check for
9454 LABEL_MANUAL into the latter.
9461 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9467 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9468 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9470 2003-02-13 John Levon <levon@movementarian.org>
9472 * CutAndPaste.C: remove debug
9474 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9476 * paragraph.C (asString): remove two unused variables
9478 * lyxtextclass.C (readTitleType):
9480 (LyXTextClass): handle new members titletype_ and titlename_
9482 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9484 2003-02-09 John Levon <levon@movementarian.org>
9487 * buffer.C: replace hand-coded list with a map for the dep clean
9489 2003-02-08 John Levon <levon@movementarian.org>
9491 * LaTeX.C: consolidate code into showRunMessage() helper
9493 2003-02-08 John Levon <levon@movementarian.org>
9498 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9499 and pass the size in explicitly
9501 * BufferView_pimpl.h:
9502 * BufferView_pimpl.C:
9504 * BufferView.C: add getCurrentChange()
9506 * BufferView_pimpl.h:
9507 * BufferView_pimpl.C: handle change lfuns
9509 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9510 for changes. Mark pasted paragraphs as new.
9512 * support/lyxtime.h:
9513 * support/lyxtime.C:
9514 * DepTable.C: abstract time_t as lyx::time_type
9517 * LColor.C: add colours for new text, deleted text, changebars
9519 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9520 package use "usenames" option.
9524 * LyXAction.C: add change lfuns
9528 * author.C: author handling
9531 * buffer.C: add a per-buffer author list, with first entry as
9532 current author. Handle new .lyx tokens for change tracking. Output
9533 author list to .lyx file. Output dvipost stuff to .tex preamble.
9534 Bump lyx format to 222.
9537 * bufferlist.C: add setCurrentAuthor() to reset current author details
9541 * bufferparams.C: add param for tracking
9543 * bufferview_funcs.C: output change info in minibuffer
9547 * changes.C: add change-tracking structure
9550 * debug.C: add CHANGES debug flag
9553 * lyxfind.C: add code for finding the next change piece
9556 * lyxrc.C: add user_name and user_email
9559 * lyxrow.C: add a metric for the top of the text line
9562 * text.C: implement accept/rejectChange()
9565 * text.C: paint changebars. Paint new/deleted text in the chosen
9566 colours. Strike through deleted text.
9570 * paragraph_pimpl.h:
9571 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9572 in the current change to the insert functions. Rework erase to
9573 mark text as deleted, adding an eraseIntern() and a range-based
9574 erase(). Implement per-paragraph change lookup and
9577 * paragraph_funcs.C: Fixup paste for change tracking.
9579 * tabular.C: mark added row/columns as new.
9581 * text.C: fix rowLast() to never return -1. Don't allow
9582 spellchecking of deleted text. Track transpose changes. Don't
9583 allow paragraph break or merge where appropriate.
9585 * text2.C: leave cursor at end of selection after a cut.
9587 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9589 * text.C (getLengthMarkerHeight):
9590 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9591 visible on screen too.
9593 2003-02-07 John Levon <levon@movementarian.org>
9595 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9597 2003-02-05 Angus Leeming <leeming@lyx.org>
9599 * lyxserver.C (read_ready): revert my patch of 11 September last year
9600 as it sends PC cpu through the roof. Presumably this means that
9601 the lyxserver will no longer run on an Alpha...
9603 2003-01-30 Angus Leeming <leeming@lyx.org>
9605 * factory.C (createInset): create an InsetCommandParam of type "index"
9606 and use it to 'do the right thing'.
9608 * text2.C (getStringToIndex): ensure that cursor position is always
9609 reset to the reset_cursor position.
9611 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9613 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9616 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9620 * lyxfunc.C: Output messages with identical spelling, punctuation,
9623 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9625 * MenuBackend.C (expandFormats): List only viewable export formats
9628 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9631 * lyxfunc.C (getStatus): Make sure that formats other than
9632 "fax" can also be disabled
9634 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9636 * text3.C (dispatch): put the lfuns that insert insets in 3
9637 groups, and call doInsertInset with appropriate arguments.
9638 (doInsertInset): new function, that creates an inset and inserts
9639 it according to some boolean parameters.
9641 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9643 * buffer.C (readFile): remember to pass on 'par' when calling
9644 readFile recursively.
9646 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9648 * MenuBackend.C (expandFormats): add "..." to import formats.
9650 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9652 * paragraph.C (asString): Remove XForms RTL hacks.
9654 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9655 * buffer.C: fix typo
9657 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9659 * Makefile.am (LIBS): delete var
9660 (lyx_LDADD): add @LIBS@ here instead.
9662 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9664 * Clarify the meaning of "wheel mouse jump"
9666 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9668 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9671 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9673 * importer.C (Loaders): do not preallocate 3 elements in the
9674 vector, since one ends up with 6 elements otherwise
9676 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * DepTable.C (write): write the file name as last element of the
9679 .dep file (because it may contain spaces)
9680 (read): read info in the right order
9682 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9684 * paragraph_pimpl.C (simpleTeXBlanks):
9685 (simpleTeXSpecialChars):
9686 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9688 * tabular.C (latex): add some missing case statements. Reindent.
9690 * MenuBackend.C (expandToc): remove unused variable.
9692 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9701 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9704 2003-01-05 John Levon <levon@movementarian.org>
9707 * BufferView.C: add getEncoding()
9710 * kbsequence.C: do not store last keypress
9713 * lyxfunc.C: store last keypress here instead. Pass encoding
9716 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9718 * lyx_main.C (init): remove annoying error message when following
9719 symbolic links (bug #780)
9721 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9723 * text.C (insertChar):
9724 * lyxrc.C (getDescription): remove extra spaces
9726 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9728 * lyxrc.C (getDescription): remove extra spaces
9730 2002-12-20 John Levon <levon@movementarian.org>
9732 * text3.C: hack fix for page up/down across tall rows
9734 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9736 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9739 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9741 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9742 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9743 thesaurus is not compiled in
9745 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9747 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9749 2002-12-16 Angus Leeming <leeming@lyx.org>
9752 * lyx_main.C (init): remove override_x_deadkeys stuff.
9754 2002-12-12 John Levon <levon@movementarian.org>
9756 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9757 insert. Only remove shift modifier under strict
9760 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9762 * MenuBackend.C (expandToc): fix crash.
9764 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9766 * MenuBackend.C (expandToc): gettext on float names.
9768 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9770 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9771 implement bool empty() [bug 490]
9773 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9775 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9777 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9779 * several files: ws changes
9781 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9783 * text2.C (setCounter): clean up a bit, use boost.format.
9784 (updateCounters): initialize par upon declaration.
9786 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9787 if the layout exists. We do not just store the layout any more.
9788 (SwitchLayoutsBetweenClasses): use boost.format
9790 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9792 * converter.C (convert): if from and to files are the same, use a
9793 temporary files as intermediary
9795 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9798 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9800 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9802 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9804 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9806 * tabular.C (asciiPrintCell): use string(size, char) instead of
9809 * sgml.C (openTag): fix order of arguments to string constructor
9812 * lyxfunc.C (dispatch): use boost.format
9814 * lots of files: change "c" -> 'c'
9816 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9818 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9820 2002-11-25 Angus Leeming <leeming@lyx.org>
9822 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9824 * lyx_main.C (init): compile fix.
9826 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9828 * lyx_cb.C (start): boost.formatify
9829 do not include <iostream>
9831 * lengthcommon.C: ws only
9833 * boost-inst.C,BoostFormat.h: add more explict instantations
9835 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9837 * lots of files: handle USE_BOOST_FORMAT
9839 2002-11-21 John Levon <levon@movementarian.org>
9841 * pspell.C: fix compile
9843 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9845 * lyxfunc.C (dispatch): use boost::format
9849 * lyxfont.C (stateText): use boost::format
9851 * lyx_main.C (LyX): use boost::format
9853 (queryUserLyXDir): ditto
9856 (typedef boost::function): use the recommened syntax.
9858 * importer.C (Import): use boost::format
9860 * debug.C (showLevel): use boost::format
9862 * converter.C (view): use boost::format
9867 * bufferview_funcs.C (currentState): use boost::format
9869 * bufferlist.C (emergencyWrite): use boost::format
9871 * buffer.C (readLyXformat2): use boost::format
9872 (parseSingleLyXformat2Token): ditto
9874 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9876 * LaTeX.C (run): use boost::format
9878 * Chktex.C (scanLogFile): use boost::format
9880 * BufferView_pimpl.C (savePosition): use boost::format
9881 (restorePosition): ditto
9882 (MenuInsertLyXFile): ditto
9884 * BoostFormat.h: help file for explicit instation.
9886 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9888 * tabular.C (latex): Support for block alignment in fixed width
9891 2002-11-17 John Levon <levon@movementarian.org>
9893 * BufferView_pimpl.C:
9895 * lyxfunc.C: split filedialog into open/save
9897 2002-11-08 Juergen Vigna <jug@sad.it>
9899 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9900 by my last patch (hopefully).
9902 2002-11-08 John Levon <levon@movementarian.org>
9911 * toc.C: ParConstIterator, and use it (from Lars)
9913 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9915 * lyxtextclass.[Ch]: revise and add doxygen comments
9917 2002-11-07 John Levon <levon@movementarian.org>
9919 * text.C: fix progress value for spellchecker
9921 * toc.C: fix navigate menu for insetwrap inside minipage
9923 * paragraph_funcs.C: added FIXME for suspect code
9925 2002-11-07 John Levon <levon@movementarian.org>
9927 * BufferView_pimpl.C: fix redrawing of insets
9930 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9932 * text2.C (updateCounters): fix bug 668
9934 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9936 * text3.C (dispatch): Do not make the buffer dirty when moving the
9939 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9941 * vc-backend.C: STRCONV
9944 * text2.C (setCounter): STRCONV
9946 * paragraph.C (asString): STRCONV
9948 * lyxlength.C (asString): STRCONV
9949 (asLatexString): ditto
9951 * lyxgluelength.C (asString): STRCONV
9952 (asLatexString): ditto
9954 * lyxfunc.C (dispatch): STRCONV
9957 * lyxfont.C (stateText): STRCONV
9959 * importer.C (Import): STRCONV
9961 * counters.C (labelItem): STRCONV
9962 (numberLabel): ditto
9963 (numberLabel): remove unused ostringstream o
9968 * bufferview_funcs.C (currentState): STRCONV
9970 * buffer.C (readFile): STRCONV
9971 (asciiParagraph): ditto
9972 (makeLaTeXFile): ditto
9974 * Spacing.C (writeEnvirBegin): STRCONV
9976 * LaTeXFeatures.C (getLanguages): STRCONV
9977 (getPackages): ditto
9979 (getBabelOptions): ditto
9980 (getTClassPreamble): ditto
9981 (getLyXSGMLEntities): ditto
9982 (getIncludedFiles): ditto
9986 (scanAuxFile): ditto
9989 * LString.h: add the STRCONV macros
9991 * BufferView_pimpl.C (savePosition): STRCONV
9992 (restorePosition): ditto
9993 (MenuInsertLyXFile): ditto
9995 * vc-backend.C (scanMaster): change from submatch[...] to
9998 * funcrequest.C: include config.h
10000 * factory.C: include config.h
10002 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10004 * box.C: include config.h
10006 * LaTeX.C (scanAuxFile): change from submatch[...] to
10010 2002-10-25 Angus Leeming <leeming@lyx.org>
10012 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10014 * ispell.[Ch] (setError): new method.
10015 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10016 Use setError() insetead of goto END.
10018 * lyx_cb.C (AutoSave): move out child process into new class
10021 2002-10-30 John Levon <levon@movementarian.org>
10023 * text3.C: make start appendix undoable
10025 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10027 * lyxlength.C (inPixels): Fix returned value.
10029 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10032 2002-10-24 Angus Leeming <leeming@lyx.org>
10034 * lyxgluelength.h: no need to forward declare BufferParams
10035 or BufferView, so don't.
10037 2002-10-21 John Levon <levon@movementarian.org>
10039 * BufferView.C: menuUndo ->undo, redo
10041 * BufferView.h: document, remove dead, make some methods private
10043 * paragraph_funcs.h:
10044 * paragraph_funcs.C:
10045 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10050 * sgml.C: move sgml open/close tag into sgml.C
10052 * bufferview_funcs.h: unused prototype
10055 * lyxfunc.C: remove unused
10058 * text.C: remove unused
10060 2002-10-21 John Levon <levon@movementarian.org>
10064 * BufferView_pimpl.h:
10065 * BufferView_pimpl.C: fix mouse wheel handling based on
10066 patch from Darren Freeman
10068 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10070 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10072 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10074 * lyxlength.C (inPixels): Fix hanfling of negative length.
10075 Fix LyXLength::MU case.
10077 2002-10-16 John Levon <levon@movementarian.org>
10079 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10081 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10083 * converter.C (view): add support for $$i (file name) and $$p
10084 (file path) for the viewer command. If $$i is not specified, then
10085 it is appended to the command (for compatibility with old syntax)
10087 2002-10-14 Juergen Vigna <jug@sad.it>
10089 * undo_funcs.C (textHandleUndo): alter the order in which the
10090 new undopar is added to the LyXText, as we have to set first
10091 the right prev/next and then add it as otherwise the rebuild of
10092 LyXText is not correct. Also reset the cursor to the right paragraph,
10093 with this IMO we could remove the hack in "redoParagraphs()".
10095 2002-10-09 Angus Leeming <leeming@lyx.org>
10097 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10098 to turn off an optimisation if a new inset is to be inserted.
10100 2002-10-11 André Pönitz <poenitz@gmx.net>
10102 * lyxtext.h: make some functions public to allow access
10103 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10105 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10107 * text3.C (dispatch): when changing layout, avoid an infinite loop
10110 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10112 * lyxrc.C (read): treat a viewer or converter command of "none" as
10115 * MenuBackend.C (expandFormats): for an update, also allow the
10116 formats that are not viewable
10118 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10119 script if it is newer than the lyxrc.defaults in user directory
10121 2002-10-07 André Pönitz <poenitz@gmx.net>
10123 * text.C: Vitaly Lipatov's small i18n fix
10125 2002-09-25 Angus Leeming <leeming@lyx.org>
10127 * ispell.h: doxygen fix.
10129 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10131 * buffer.h (readFile): Add a new argument to the method, to allow
10132 reading of old-format templates.
10134 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10136 * toc.C (getTocList): Get TOC from InsetWrap.
10138 2002-09-16 John Levon <levon@movementarian.org>
10140 * lyxfunc.C: check tabular for cut/copy too
10142 2002-09-12 John Levon <levon@movementarian.org>
10144 * LyXAction.C: tidy
10147 * factory.C: add header
10149 * paragraph_funcs.h:
10150 * paragraph_funcs.C: cleanup
10152 2002-09-11 John Levon <levon@movementarian.org>
10154 * PrinterParams.h: odd/even default to true
10156 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10158 * PrinterParams.h: update printer parameters for new xforms dialog
10160 2002-09-11 Angus Leeming <leeming@lyx.org>
10162 * lyxserver.C (read_ready): re-write to make it more transparent
10163 and to make it work in coherent fashion under Tru64 Unix.
10165 2002-09-11 André Pönitz <poenitz@gmx.net>
10169 * text3.C: implement LFUN_WORDSEL
10171 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10173 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10174 make floatlist_ a boost::shared_ptr<FloatList>
10176 * lyxtextclass.C: include FloatList.h
10177 (LyXTextClass): initialize floatlist_
10178 (TextClassTags): add TC_NOFLOAT
10179 (Read): match "nofloat" to TC_NOFLOAT and use it.
10180 (readFloat): modify call to floatlist_
10184 * FloatList.[Ch] (FloatList): remove commented out float
10186 (erase): new function
10188 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10190 * MenuBackend.C (expandToc): fix crash when there is no document
10193 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10195 * many files: Add insetwrap.
10197 2002-09-09 John Levon <levon@movementarian.org>
10199 * text2.C: remove confusing and awkward depth wraparound
10201 2002-09-09 John Levon <levon@movementarian.org>
10203 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10206 * buffer.C: remove getIncludeonlyList()
10209 * lyxfunc.C: remove headers
10211 2002-09-09 Juergen Vigna <jug@sad.it>
10213 * text.C (getColumnNearX): fix form Michael this is most
10214 probably a cut&paste bug.
10216 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10218 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10220 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10221 references, ws changes.
10223 * text2.C (init): update counters after init
10224 (insertParagraph): no need to set counter on idividual paragraphs.
10225 (setCounter): access the counters object in the textclass object
10226 on in the buffer object.
10227 (updateCounters): ditto
10229 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10230 shared_ptr<Counters> to avoid loading counters.h in all
10232 (LyXTextClass): initialize ctrs_
10233 (TextClassTags): add TC_COUNTER, and ...
10234 (Read): use it here.
10235 (CounterTags): new tags
10236 (readCounter): new function
10237 (counters): new funtion
10238 (defaultLayoutName): return a const reference
10240 * counters.C (Counters): remove contructor
10241 (newCounter): remove a couple of unneeded statements.
10242 (newCounter): simplify a bit.
10243 (numberLabel): some small formatting changes.
10245 * buffer.[Ch]: remove all traces of counters, move the Counters
10246 object to the LyXTextClass.
10248 2002-09-06 Alain Castera <castera@in2p3.fr>
10250 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10251 package to set the horizontal alignment on fixed width columns.
10254 * lyx_sty.h: added tabularnewline macro def.
10256 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10258 2002-09-06 John Levon <levon@movementarian.org>
10260 * LyXAction.C: tooltips for sub/superscript
10262 * MenuBackend.C: a bit more verbose
10264 * lyxfunc.C: tiny clean
10266 * undo_funcs.C: document undo_frozen
10268 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10270 * counters.C (Counters): add missing algorithm counter.
10272 * text2.C (setCounter): lookup the counter with layouts latexname
10273 instead of by section number.
10274 (setCounter): use a hackish way to lookup the correct enum
10276 a float name->type change
10277 reset enum couners with counter name directly instead of depth value.
10279 * counters.C (Counters): remove the push_backs, change to use the
10280 float type not the float name.
10281 (labelItem): remove unused string, float name->type change
10283 * counters.h: don't include vector, loose the enums and sects vectors
10285 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10287 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10288 (Read): add float->TC_FLOAT to textclassTags
10289 (Read): and handle it in the switch
10290 (readFloat): new function
10292 * FloatList.C (FloatList): comment out the hardcoded float
10295 * lyxlayout.h: ws change.
10297 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10299 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10301 2002-09-03 Angus Leeming <leeming@lyx.org>
10303 * BufferView_pimpl.h: qualified name is not allowed in member
10304 declaration: WorkArea & Pimpl::workarea() const;
10306 * factory.C: added using std::endl directive.
10308 * text3.C: added using std::find and std::vector directives.
10310 2002-08-29 André Pönitz <poenitz@gmx.net>
10313 * text2.C: remove unused member number_of_rows
10316 * BufferView2.C: remove file, move contents to...
10317 * BufferView.C: ... here
10319 * BufferView_pimpl.C:
10320 * factory.C: move more inset creation to factory
10322 * vspace.C: avoid direct usage of LyXText, ws changes
10325 don't provide direct access to WorkArea, use two simple
10326 acessors haveSelction() and workHeight() instead
10329 2002-08-29 John Levon <levon@movementarian.org>
10331 * BufferView_pimpl.C (dispatch): do not continue when
10334 2002-08-28 André Pönitz <poenitz@gmx.net>
10336 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10339 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10341 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10343 * buffer.C: increment LYX_FORMAT to 221
10345 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10346 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10348 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10350 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10352 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10354 * factory.C (createInset): use LyXTextClass::floats
10356 * MenuBackend.C (expandFloatListInsert):
10357 (expandFloatInsert):
10360 * text2.C (setCounter):
10362 * LaTeXFeatures.C (useFloat):
10363 (getFloatDefinitions):
10365 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10367 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10368 floatlist_, with accessor floats().
10370 * FloatList.h: remove global FloatList
10372 2002-08-26 André Pönitz <poenitz@gmx.net>
10374 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10378 * BufferView_pimpl.C:
10379 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10381 2002-08-25 John Levon <levon@movementarian.org>
10383 * LyXAction.C: fix margin note description
10385 2002-08-24 John Levon <levon@movementarian.org>
10389 * bufferview_funcs.C:
10391 * undo_funcs.C: cleanups
10393 * lyxfunc.C: disable CUT/COPY when no selection
10395 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10397 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10398 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10400 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10401 Add backward compatibility to "mono", "gray" and "no".
10403 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10405 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10406 (and file_format >= 200).
10408 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10410 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10412 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10414 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10416 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10418 * BufferView_pimpl.C:
10425 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10426 inset and code to make it work with the paragraph code. The inset
10427 can be anywhere in the paragraph, but will only do the expected
10428 thing in LaTeX if the layout file contains the parameter line
10430 (or more generally, a nonzero value) for that layout.
10432 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10434 * paragraph.h: remove the declaration of undefined counters class
10437 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10439 * text2.C (setCounter): fixed enumeration mis-count as reported by
10440 Dr. Richard Hawkins.
10442 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10444 * paragraph_funcs.h: remove some unneeded includes
10446 * text.C (backspace): pasteParagraph now in global scipe
10448 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10449 (pasteSelection): ditto
10451 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10452 * paragraph_funcs.C (pasteParagraph): ... here
10454 2002-08-20 André Pönitz <poenitz@gmx.net>
10456 * commandtags.h: new LFUNs for swapping/copying table row/colums
10459 * lyxfunc.C: support for new lfuns
10461 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10464 * buffer.[Ch]: remove NO_COMPABILITY stuff
10466 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10468 * boost.C (throw_exception): new file, with helper function for
10469 boost compiled without exceptions.
10474 * ParameterStruct.h:
10475 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10477 * bufferlist.C (emergencyWriteAll): use boost bind
10479 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10481 * text.C: include paragraph_funcs.h
10482 (breakParagraph): breakParagraph is now in global scope
10484 * paragraph_funcs.[Ch]: new files
10486 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10489 * buffer.C: include paragraph_funcs.h
10490 (insertStringAsLines): breakParagraph is now in global scope
10492 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10495 * CutAndPaste.C: include paragraph_funcs.h
10496 (cutSelection): breakParagraphConservative is now in global scope
10497 (pasteSelection): ditto
10499 * buffer.h: declare oprator== and operator!= for
10500 Buffer::inset_iterator
10502 * bufferlist.C (emergencyWrite): don't use fmt(...)
10504 * text3.C: add using std::endl
10506 * BufferView.C (moveCursorUpdate): remove default arg
10508 2002-08-20 André Pönitz <poenitz@gmx.net>
10510 * buffer.[Ch]: move inline functions to .C
10513 * BufferView_pimpl.C:
10515 * buffer.[Ch]: use improved inset_iterator
10518 * paragraph.[Ch]: write one paragraph at a time
10520 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10522 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10523 style if style is not specified.
10525 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10527 * text2.C (setCounter): when searching for right label for a
10528 caption, make sure to recurse to parent insets (so that a caption
10529 in a minipage in a figure float works) (bug #568)
10531 2002-08-20 André Pönitz <poenitz@gmx.net>
10533 * text3.C: new file for LyXText::dispatch() and helpers
10535 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10537 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10539 2002-08-19 André Pönitz <poenitz@gmx.net>
10542 * text.C: new LyXText::dispatch()
10544 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10546 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10548 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10550 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10553 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10555 * Makefile.am: use $(variables) instead of @substitutions@
10557 2002-08-15 André Pönitz <poenitz@gmx.net>
10560 * BufferView_pimpl.C: streamlining mathed <-> outer world
10564 * LyXAction.C: remove unused LFUN_MATH
10566 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10568 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10570 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10572 * paragraph.C (Paragraph): reformat a bit
10573 (cutIntoMinibuffer): use builtin InsetList function instad of
10577 * buffer.C: include boost/bind.hpp, add using std::for_each
10578 (writeFileAscii): use ParagraphList iterators
10579 (validate): use for_each for validate traversal of paragraphs
10580 (getBibkeyList): use ParagraphList iterators
10581 (resizeInsets): use for_each to resizeInsetsLyXText for all
10583 (getParFromID): use ParagraphList iterators
10585 * BufferView2.C (lockInset): use paragraph list and iterators
10587 2002-08-14 John Levon <levon@movementarian.org>
10589 * lyxserver.C: remove spurious xforms include
10591 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10593 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10595 2002-08-13 André Pönitz <poenitz@gmx.net>
10598 * lyxfunc.C: further cleaning
10600 2002-08-13 André Pönitz <poenitz@gmx.net>
10602 * funcrequest.h: new constructor
10604 * funcrequest.C: move stuff here from .h
10607 * BufferView_pimpl.C:
10610 * lyxfunc.C: subsequent changes
10612 * lyxfunc.h: new view() member function
10614 * lyxfunc.C: subsequent changes
10616 2002-08-13 Angus Leeming <leeming@lyx.org>
10619 * BufferView_pimpl.C:
10627 changes due to the changed LyXView interface that now returns references
10628 to member variables not pointers.
10630 2002-08-13 Angus Leeming <leeming@lyx.org>
10632 * WordLangTuple (word, lang_code): return references to strings,
10637 * lyxtext.h: forward-declare WordLangTuple.
10642 * text.C: #include "WordLangTuple.h".
10645 * text.C: (selectNextWordToSpellcheck): constify return type.
10647 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10653 * paragraph_pimpl.h:
10656 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10657 suggested by Angus.
10658 Made updateCounter always count from start of buffer, and removed
10659 second argument (par).
10660 Reverted floats number display to '#'. Perhaps I'll try again when the
10661 code base is sanitized a bit.
10663 2002-08-12 Angus Leeming <leeming@lyx.org>
10665 * buffer.[Ch] (getLabelList): constify.
10667 2002-08-07 André Pönitz <poenitz@gmx.net>
10669 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10671 * funcrequest.h: extension to keep mouse (x,y) position
10673 2002-08-12 Juergen Vigna <jug@sad.it>
10675 * BufferView2.C (insertErrors): forbid undo when inserting error
10678 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10680 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10682 * ParagraphList.[Ch]: new files
10684 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10686 * BufferView2.C (lockInset): ParagraphList changes
10689 * bufferlist.C: ditto
10693 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10695 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10696 unused class variable counter_,
10698 * paragraph.[Ch] (getFirstCounter): delete unused function
10700 * counters.C: include LAssert.h
10701 (reset): add a new function with no arg, change other version to
10702 not have def. arg and to not allow empty arg.
10704 * text2.C (setCounter): remove empty arg from call to Counters::reset
10706 2002-08-11 John Levon <levon@movementarian.org>
10708 * Makefile.am: add WordLangTuple.h
10710 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10712 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10713 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10715 * insets/insettext.C: InsetList changes
10717 * graphics/GraphicsSupport.C (operator()): InsetList changes
10719 * toc.C (getTocList): InsetList changes
10721 * paragraph_pimpl.[Ch]: InsetList changes
10723 * paragraph.[Ch]: InsetList changes
10725 * buffer.C (inset_iterator): InsetList changes
10726 (setParagraph): ditto
10727 * buffer.h (inset_iterator): ditto
10728 * iterators.C (operator++): ditto
10729 * iterators.h: ditto
10731 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10733 * InsetList.[Ch]: new files, most InsetList handling moved out of
10736 * BufferView2.C (removeAutoInsets): InsetList changes
10738 (ChangeInsets): ditto
10740 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10742 * paragraph_pimpl.h (empty): new function
10744 * paragraph.[Ch] (empty): new function
10746 * other files: use the new Paragraph::empty function
10748 2002-08-09 John Levon <levon@movementarian.org>
10750 * lyxtext.h: remove unused refresh_height
10752 2002-08-09 John Levon <levon@movementarian.org>
10759 * paragraph.C: move sgml char escaping out of paragraph
10762 * paragraph.C: remove id setter
10766 * paragraph_pimpl.C: remove dead tex_code_break_column
10768 * bufferview_funcs.C: small cleanup
10770 * lyxfunc.C: remove dead proto
10772 * lyxtext.h: make some stuff private. Remove some dead stuff.
10774 * lyxgluelength.C: make as[LyX]String() readable
10776 2002-08-08 John Levon <levon@movementarian.org>
10781 * ToolbarDefaults.C:
10784 * toc.C: lyxaction cleanup
10786 2002-08-08 John Levon <levon@movementarian.org>
10788 * BufferView2.C: small cleanup
10791 * lyxfind.C: move unnecessary header into the .C
10793 2002-08-08 John Levon <levon@movementarian.org>
10795 * funcrequest.h: just tedious nonsense
10798 * lyx_main.C: cleanups
10801 * vspace.C: remove dead header lyx_main.h
10803 2002-08-07 Angus Leeming <leeming@lyx.org>
10806 * paragraph_pimpl.h:
10807 Forward declare class Counters in paragraph.h by moving the ctrs member
10808 variable into Paragraph::Pimpl.
10809 (counters): new method, returning a reference to pimpl_->ctrs.
10811 * text2.C: ensuing changes.
10813 2002-08-07 John Levon <levon@movementarian.org>
10815 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10817 * BufferView_pimpl.C: announce X selection on double/triple
10820 * lyx_main.C: use correct bool in batch dispatch
10822 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10824 2002-08-07 André Pönitz <poenitz@gmx.net>
10826 * funcrequest.h: new class to wrap a kb_action and its argument
10829 * BufferView_pimpl[Ch]:
10833 * lyxrc.C: subsequent changes
10836 2002-08-07 John Levon <levon@movementarian.org>
10838 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10839 document options change.
10841 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10846 * makefile.am: move counters functionality over from
10847 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10849 2002-08-06 John Levon <levon@movementarian.org>
10851 * WordLangTuple.h: new file for word + language code tuple
10862 * BufferView2.C: use WordLangTuple
10865 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10867 2002-08-06 John Levon <levon@movementarian.org>
10869 * lyx_main.C: fix cmdline batch handling
10871 2002-08-06 André Pönitz <poenitz@gmx.net>
10873 * lyxrc.C: set default for show_banner to true
10875 2002-08-06 John Levon <levon@movementarian.org>
10877 * pspell.C: fix a crash, and allow new aspell to work
10879 2002-08-06 John Levon <levon@movementarian.org>
10882 * kbmap.C: small cleanup
10885 * vspace.C: add const
10887 2002-08-05 John Levon <levon@movementarian.org>
10889 * LyXAction.C: back to tabular-insert
10891 2002-08-04 John Levon <levon@movementarian.org>
10894 * BufferView.C: cosmetic change
10896 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10906 * BufferView2.C: purge all "Lyx" not "LyX" strings
10909 * lyxcursor.C: attempt to add some documentation
10914 * ToolbarDefaults.C:
10915 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10916 merge with LFUN_TABULAR_INSERT
10923 * pspell.C: split up i/pspell implementations into separate
10924 files, many cleanups
10926 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10928 * text2.C: some cleanup
10930 * lyxfunc.C: don't check for isp_command == "none" any more, it
10931 didn't make any sense
10933 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10938 * makefile.am: move counters functionality over
10939 from text2.C/paragraph.[Ch] to counters.[Ch], and
10941 2002-08-02 John Levon <levon@movementarian.org>
10943 * buffer.C: s/lyxconvert/lyx2lyx/
10945 2002-08-02 Angus Leeming <leeming@lyx.org>
10947 * lyxlex.C: revert John's change as it breaks reading of the user
10950 2002-08-02 Angus Leeming <leeming@lyx.org>
10952 * importer.C (Import):
10953 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10954 changes due to LyXView::view() now returning a boost::shared_ptr.
10956 2002-08-02 John Levon <levon@movementarian.org>
10958 * lyxlex.C: small cleanup
10960 2002-08-02 John Levon <levon@movementarian.org>
10962 * text2.C (status): small cleanup, no logic change
10964 2002-08-01 John Levon <levon@movementarian.org>
10967 * buffer.C (writeFile): don't output alerts, caller
10971 * lyx_cb.C: from above
10973 * lyxfunc.C: allow to open non-existent files
10975 2002-07-31 John Levon <levon@movementarian.org>
10977 * lyxserver.C: don't let incidental errors get
10980 2002-07-30 John Levon <levon@movementarian.org>
10982 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10984 2002-07-30 John Levon <levon@movementarian.org>
10987 * lyxserver.C: remove I/O callback too
10989 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10991 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10994 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10996 * many files: strip,frontStrip -> trim,ltrim,rtrim
10998 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11000 * PrinterParams.h: remove extern containsOnly, and include
11001 support/lstrings.h instead.
11003 * LaTeX.C (scanAuxFile): modify because of strip changes
11005 * buffer.C (makeLaTeXFile): ditto
11006 * bufferparams.C (writeFile): ditt
11007 * lyxfont.C (stateText): ditto
11008 * lyxserver.C (read_ready): ditto
11009 * vc-backend.C (scanMaster): ditto
11011 * BufferView_pimpl.h: ws changes
11013 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11015 2002-07-26 André Pönitz <poenitz@gmx.net>
11017 * kb_sequence.C: remove unnedred usings
11019 2002-07-26 Juergen Vigna <jug@sad.it>
11021 * lyxfind.C (LyXReplace): we have to check better if the returned
11022 text is not of theLockingInset()->getLockingInset().
11024 2002-07-25 Juergen Vigna <jug@sad.it>
11026 * lyxfind.C (LyXReplace): don't replace if we don't get the
11029 * undo_funcs.C (createUndo): remove debugging code.
11031 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11033 * buffer.C (parseSingleLyXformat2Token): Use default placement
11034 when reading old floats.
11036 * FloatList.C (FloatList): Change the default placement of figure
11037 and tables to "tbp".
11039 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11041 * MenuBackend.C: using std::max
11043 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11045 * MenuBackend.C (expandToc):
11046 (expandToc2): code moved from xforms menu frontend. It is now
11047 generic and TOCs are transparent to menu frontends.
11049 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11051 * toc.C (getTocList): protect against buf=0
11053 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11054 Menu as first parameter. Now, this calls itself recursively to
11055 expand a whole tree (this will be useful for TOC handling)
11056 (expandFloatInsert): remove 'wide' version of floats
11058 * MenuBackend.h (submenuname): returns the name of the submenu.
11059 (submenu): returns the submenu itself, provided it has been
11060 created by MenuBackend::expand
11062 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11064 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11065 insets which have noFontChange == true. (bug #172)
11067 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11069 * BufferView_pimpl.C: add connection objects and use them...
11072 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11074 * MenuBackend.C (expandLastfiles):
11077 (expandFloatListInsert):
11078 (expandFloatInsert):
11079 (expand): split expand in parts
11081 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11083 * lyx_gui.C: use lyx_gui::exit()
11085 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11087 * LyXAction.C: show the failing pseudo action
11089 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11091 * buffer.C (readFile): Run the lyxconvert script in order to read
11094 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11098 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11100 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11104 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11106 2002-07-22 Herbert Voss <voss@lyx.org>
11109 * lyxlength.[Ch]: add support for the vertical lengths
11111 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11113 * toc.[Ch]: std:: fixes
11115 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11117 * lyxrc.C: do not include lyx_main.h
11119 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11125 * BufferView2.C: include "lyxlex.h"
11128 * bufferparams.h: do not #include "lyxlex.h"
11130 * lyxtextclasslist.C (Add): remove method
11131 (classlist): renamed to classlist_
11133 * paragraph_pimpl.C:
11137 * bufferview_funcs.C:
11142 * toc.C (getTocList): use BufferParams::getLyXTextClass
11144 * toc.C (getTocList): use InsetFloat::addToToc
11146 * toc.[Ch]: new files, containing helper functions to handle table
11149 * lyxfunc.C (dispatch): no need to remove spaces around command
11151 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11152 first command of the sequence; it is not very clever, but I do not
11153 have a better idea, actually
11155 * LyXAction.C (LookupFunc): make sure to remove space at the
11156 beginning and end of the command
11158 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * MenuBackend.C (getMenubar): new method: return the menubar of
11162 (read): treat differently reading of menu and menubar (in
11163 particular, the menubar has no name now)
11164 (Menu::menubar): remove
11166 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11169 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11171 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11172 a bibitem inset in a RTL paragraph.
11174 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11176 * paragraph_pimpl.C: constify
11178 * BufferView_pimpl.C:
11180 * lyxfunc.C: fix dispatch in a nicer way
11182 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11184 * lyxfunc.C (dispatch):
11185 * BufferView_pimpl.C:
11186 * BufferView_pimpl.h:
11188 * BufferView.h: rename Dispatch() to dispatch()
11190 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11192 * lyxlayout.C (Read): honor DependsOn tag
11194 * lyxlayout.[Ch] (depends_on): new method
11196 * version.C.in: update lyx_docversion
11198 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11200 * paragraph.C (validate): remove from here...
11201 * paragraph_pimpl.C (validate): ... and move here
11202 (isTextAt): make it const
11204 * buffer.C (getLists): ws cleanup
11206 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11208 * language.C (read): Use iso8859-1 encoding in latex_lang
11209 (this prevents LyX from crashing when using iso10646-1 encoding).
11211 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11213 * text2.C (toggleInset): if cursor is inside an inset, close the
11214 inset and leave cursor _after_ it
11216 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11218 * lyxfunc.C: move minibuffer completion handling out of here
11220 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11222 * BufferView_pimpl.C:
11223 * LaTeX.C: fix dispatch calls
11225 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11227 * text.C (drawChars): Fix Arabic text rendering.
11229 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11233 * lyxfunc.C: remove message-push/pop
11237 * lyxfunc.C: rationalise some code by removing verboseDispatch
11238 in favour of a bool argument to dispatch()
11240 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11242 * lyx_main.C (init): make sure to read symlinks as absolute paths
11244 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11247 * lyxfunc.C: no need for commandshortcut to be a member
11249 2002-07-15 André Pönitz <poenitz@gmx.net>
11251 * converter.C: add support for $$s (scripts from lib/scripts dir)
11252 * lyx_main.C: white space
11254 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11258 * lyxrc.C: remove second exit confirmation
11260 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11265 * BufferView_pimpl.h:
11266 * BufferView_pimpl.C:
11267 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11269 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11271 * MenuBackend.C (expand): add numeric shortcuts to document menu
11273 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11275 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11277 * lyxfont.C (setLyXFamily):
11284 * buffer.C (asciiParagraph): use ascii_lowercase
11286 2002-07-15 Mike Fabian <mfabian@suse.de>
11288 * lyxlex_pimpl.C (search_kw):
11289 * lyxlex.C (getLongString):
11290 * converter.h (operator<):
11291 * converter.C (operator<):
11292 * buffer.C (parseSingleLyXformat2Token):
11294 * ToolbarDefaults.C (read):
11295 * MenuBackend.C (checkShortcuts):
11297 * LColor.C (getFromGUIName):
11298 (getFromLyXName): use the compare_ascii_no_case instead of
11299 compare_no_case, because in turkish, 'i' is not the lowercase
11300 version of 'I', and thus turkish locale breaks parsing of tags.
11302 2002-07-16 Angus Leeming <leeming@lyx.org>
11304 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11305 now takes a Buffer const & argument.
11307 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11309 * BufferView.C (resize): check there's a buffer to resize
11311 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11313 * lyxfunc.C: remove dead code
11316 * lyxserver.C: use lyx_guii::set_read_callback
11318 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11320 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11321 an inset in a RTL paragraph.
11323 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11325 * lyxfunc.C: repaint after a font size update
11327 2002-07-15 André Pönitz <poenitz@gmx.net>
11329 * lyxlength.C: inBP should be able to return negative values
11331 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11333 * lyxfunc.C: use lyx_gui::update_fonts()
11335 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11337 * lyxfunc.C: use lyx_gui::update_color()
11339 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11345 * lyxrc.C: remove file->new asks for name option, and let
11346 buffer-new take an argument
11348 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11350 * BufferView_pimpl.C: remove unneeded extra repaint()
11352 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11354 * LyXAction.C: allow command-sequence with NoBuffer
11356 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11358 2002-07-10 Angus Leeming <leeming@lyx.org>
11360 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11362 2002-07-09 Angus Leeming <leeming@lyx.org>
11364 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11366 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11368 * lengthcommon.h: whitespace
11370 * lyxfunc.C: update scrollbar after goto paragraph
11372 * lyxtext.h: factor out page break drawing, and fix it so
11373 page break/added space paints as selected nicely
11375 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11377 * BufferView_pimpl.C: add FIXMEs, clean up a little
11379 2002-07-09 André Pönitz <poenitz@gmx.net>
11381 * lyxfont.[Ch]: support for wasy symbols
11383 2002-07-08 André Pönitz <poenitz@gmx.net>
11385 * BufferView_pimpl.C: apply John's patch for #93.
11387 2002-07-05 Angus Leeming <leeming@lyx.org>
11389 * BufferView_pimpl.C (buffer): generate previews if desired.
11391 * LColor.h: add "preview" to the color enum.
11393 * LColor.C (LColor): add a corresponding entry to the items array.
11395 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11398 2002-07-05 Angus Leeming <leeming@lyx.org>
11400 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11401 The body of the code is now in the method that is passed an ostream &
11402 rather than a file name.
11403 Pass an additional only_preamble parameter, useful for the forthcoming
11406 2002-07-03 André Pönitz <poenitz@gmx.net>
11408 * lyxfunc.C: simplify getStatus() a bit for math stuff
11410 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11412 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11414 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11416 * text.C (changeRegionCase): do not change case of all the
11417 document when region ends at paragraph end (bug #461)
11419 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11421 * paragraph.C (startTeXParParams):
11422 (endTeXParParams): add \protect when necessary
11424 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11426 * BufferView_pimpl.C (workAreaExpose): remove warning
11428 2002-06-27 Angus Leeming <leeming@lyx.org>
11430 * Makefile.am: add lyxlayout_ptr_fwd.h.
11432 2002-06-26 André Pönitz <poenitz@gmx.net>
11434 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11436 2002-06-25 Angus Leeming <leeming@lyx.org>
11438 * lyxfunc.C (dispatch): Comment out the call to
11439 grfx::GCache::changeDisplay. The method no longer exists now that the
11440 pixmap generation part of the graphics loader has been moved into
11443 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11445 * text2.C: layout as layout
11447 * text.C: layout as layout
11449 * tabular.C (OldFormatRead): layout as layout
11451 * paragraph_pimpl.C (TeXDeeper): layout as layout
11452 (realizeFont): layout as layout
11454 * paragraph.C (writeFile): layout as layout
11455 (validate): layout as layout
11456 (getFont): layout as layout
11457 (getLabelFont): layout as layout
11458 (getLayoutFont): layout as layout
11459 (breakParagraph): layout as layout
11460 (stripLeadingSpaces): layout as layout
11461 (getEndLabel): layout as layout
11462 (getMaxDepthAfter): layout as layout
11463 (applyLayout): layout as layout
11464 (TeXOnePar): layout as layout
11465 (simpleTeXOnePar): layout as layout
11466 (TeXEnvironment): layout as layout
11467 (layout): layout as layout
11468 (layout): layout as layout
11470 * lyxtextclass.C (compare_name): new functor to work with
11471 shared_ptr, layout as layout
11472 (Read): layout as layout
11473 (hasLayout): layout as layout
11474 (operator): layout as layout
11475 (delete_layout): layout as layout
11476 (defaultLayout): layout as layout
11478 * lyxlayout_ptr_fwd.h: new file
11480 * lyxlayout.C (Read): layout as layout
11482 * lyx_cb.C (MenuInsertLabel): layout as layout
11484 * bufferlist.C (newFile): layout as layout
11486 * buffer.C (readLyXformat2): layout as layout
11487 (parseSingleLyXformat2Token): layout as layout
11488 (insertStringAsLines): layout as layout
11489 (asciiParagraph): layout as layout
11490 (latexParagraphs): layout as layout
11491 (makeLinuxDocFile): layout as layout
11492 (simpleLinuxDocOnePar): layout as layout
11493 (makeDocBookFile): layout as layout
11494 (simpleDocBookOnePar): layout as layout
11495 (getLists): layout as layout
11497 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11499 * CutAndPaste.C (cutSelection): layout as layout
11500 (pasteSelection): layout as layout
11501 (SwitchLayoutsBetweenClasses): layout as layout
11503 * BufferView_pimpl.C (Dispatch): layout as layout
11504 (smartQuote): layout as layout
11506 * BufferView2.C (unlockInset): layout as layout
11508 2002-06-24 André Pönitz <poenitz@gmx.net>
11510 * lyxfunc.C: fix #487
11512 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11516 * lyxfunc.C: remove display_shortcuts, show_banner
11518 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11520 * Buffer_pimpl.C: oops, update on resize
11522 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11529 * BufferView.C: use repaint()
11531 * BufferView_pimpl.h:
11532 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11533 as it's a clearer description. Remove superfluous
11536 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11538 * text.C: fix bug 488. Not ideal, but getting
11539 getWord() to work properly for the insets that
11540 matter is more difficult ...
11542 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11544 * BufferView_pimpl.C:
11547 * lyxfunc.C: remove the six million index lyxfuncs to just
11548 one, and DTRT (bug 458)
11550 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11554 * BufferView_pimpl.h:
11555 * BufferView_pimpl.C: clean up resize() stuff,
11556 and unnecessary updateScreen()s
11558 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11562 * BufferView_pimpl.h:
11563 * BufferView_pimpl.C:
11566 * minibuffer.C: remove focus management of workarea,
11567 not needed. Use screen's greyOut()
11569 2002-06-17 Herbert Voss <voss@lyx.org>
11571 * converter.C: (convert) do not post a message, when converting
11572 fails, let the calling function decide what to do in this case
11574 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11576 * lyxfunc.C: tidy up a little
11578 2002-06-16 <alstrup@diku.dk>
11580 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11581 Got rid of FORMS_H_LOCATION include. Now we are
11584 2002-06-15 LyX Development team <lyx@rilke>
11586 * buffer.[Ch] (sgmlOpenTag):
11587 (sgmlCloseTag): Added support for avoiding pernicious mixed
11588 content. Return number of lines written.
11590 (makeLinuxDocFile):
11591 (makeDocBookFile): Fixed calls to sgml*Tag.
11592 Simple white space clean.
11594 (simpleDocBookOnePar): Simple white space clean.
11596 * tabular.[Ch] (docBook): Renamed to docbook and got another
11597 argument to related with the pernicious mixed content.
11599 (docbookRow): Fixed calls for docbook inset method.
11601 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11603 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11604 so it's X11 independent.
11608 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11610 2002-06-15 Lyx Development team <lyx@electronia>
11612 * intl.h: Renamed getTrans to getTransManager.
11614 2002-06-14 Angus Leeming <leeming@lyx.org>
11616 * Makefile.am: nuke forgotten stl_string_fwd.h.
11618 2002-06-12 Angus Leeming <leeming@lyx.org>
11620 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11622 2002-06-13 Angus Leeming <leeming@lyx.org>
11625 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11627 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11629 * kbmap.C (getiso): add support for cyrillic and greek
11631 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11635 * BufferView_pimpl.h:
11636 * BufferView_pimpl.C: move bogus scrolling logic
11639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11642 * BufferView_pimpl.C: view->resize() change
11644 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11646 * BufferView_pimpl.C: topCursorVisible
11649 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11653 * lyx_gui.C: move to frontends/
11657 * lyx_main.C: changes from above
11659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11666 * lyx_main.C: minor tidy
11668 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11670 * BufferView_pimpl.h:
11671 * BufferView_pimpl.C:
11673 * BufferView.C: make painter() const,
11676 * BufferView2.C: use screen() accessor
11679 * lyx_main.C: some minor cleanup
11681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11683 * BufferView_pimpl.h:
11684 * BufferView_pimpl.C: remove enter/leaveView,
11687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11692 * BufferView_pimpl.h:
11693 * BufferView_pimpl.C: only construct screen once,
11696 * lyxrc.C: remove pointless comment
11698 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11701 * BufferView.C: remove active() and belowMouse()
11703 * BufferView_pimpl.h:
11704 * BufferView_pimpl.C: use workarea() not workarea_,
11705 and make it use a scoped_ptr instead
11707 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11709 * lyx_gui.C: add debug message on BadWindow
11711 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * sp_spell.C: fdopen is not part of the C++ standard.
11715 * paragraph.C (InsetIterator): use >= instead of ==
11717 2002-06-07 Angus Leeming <leeming@lyx.org>
11719 Fixes needed to compile with Compaq cxx 6.5.
11720 * BufferView_pimpl.C:
11727 * lyxtextclasslist.C:
11732 all c-library variables have been moved into namespace std. Wrap
11733 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11738 Add a using std::abs declaration.
11740 * kbmap.h (modifier_pair):
11741 * paragraph.h (InsetTable, InsetList):
11742 * lyxfont.h (FontBits):
11743 type definition made public.
11745 * bufferlist.C (emergencyWriteAll): the compiler complains that
11746 there is more than one possible lyx::class_fun template to choose from.
11747 I re-named the void specialisation as lyx::void_class_fun.
11749 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11751 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11752 the compiler is is unable to find tostr in write_attribute.
11754 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11756 * buffer.C (sgmlError): hide #warning
11758 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11760 * xtl/*: get rid of xtl, which is not in use anyway
11762 * LyXAction.C (init):
11763 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11764 were unimplemented xtl experimentation
11766 2002-06-04 André Pönitz <poenitz@gmx.net>
11768 * lyxfunc.C: disable array operation on simple formulae
11770 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11772 * converter.C: constify a bit
11774 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11776 * lyx_gui.C: check xforms version correctly
11778 2002-04-30 Herbert Voss <voss@lyx.org>
11780 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11783 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11785 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11786 attempt to register it with a VCS)
11788 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11790 * lyx_main.C (init): honor variables LYX_DIR_13x and
11793 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11797 * lyx_main.C: fix a crash on bad command line,
11798 and give a useful exit status on error
11800 * lyxfunc.C (doImport): allow -i lyx to work
11802 2002-03-30 André Pönitz <poenitz@gmx.net>
11804 * lyxfunc.C: mathed font changes
11806 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11821 * trans_mgr.h: srcdocs, and some minor cleanups
11823 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11825 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11826 call getFont all the time)
11828 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11830 * switch from SigC signals to boost::signals
11832 2002-05-29 André Pönitz <poenitz@gmx.net>
11834 * paragraph_pimpl.C (getChar): don't call size() too often...
11836 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11838 * paragraph_pimpl.C (insertChar): do not try to update tables when
11839 appending (pos == size())
11841 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11842 in order to reduce drastically the number of comparisons needed to
11843 parse a large document
11845 2002-05-29 André Pönitz <poenitz@gmx.net>
11851 * textclasslist.[Ch]:
11852 * sp_ispell.h: whitespace change
11854 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11856 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11857 lyxaction directly now.
11859 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11863 * lyxvc.C: remove unused headers
11865 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11872 * undo_funcs.C: some cleanups. Use shared_ptr
11873 and a template for the undo stacks.
11875 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11877 * BufferView_pimpl.h:
11878 * BufferView_pimpl.C:
11885 * text2.C: use key_state/mouse_state
11887 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11889 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11892 * chset.C: change include order
11893 (loadFile): use boost regex and get rid of LRegex and LSubstring
11895 * Makefile.am (BOOST_LIBS): new variable
11896 (lyx_LDADD): use it
11898 * LaTeX.C: change include order.
11899 (scanAuxFile): use boost regex and get rid of LRegex and
11903 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11908 * FontInfo.C: moved to frontends/xforms/
11911 * FontLoader.C: moved into frontends for GUIIzation
11916 * lyxfunc.C: changes from above
11918 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11920 * LColor.C: remove spurious X include
11922 * BufferView_pimpl.C:
11927 * text2.C: move font metrics to frontends/
11929 2002-05-24 Juergen Vigna <jug@sad.it>
11931 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11932 setting the undo_cursor.
11934 * ParagraphParameters.h: include local includes first.
11936 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11938 * BufferView_pimpl.C:
11939 * BufferView_pimpl.h:
11943 * screen.C: move WorkArea into frontends/
11949 * BufferView2.C: move LyXScreen into frontends/
11953 * lyx_gui.C: move lyxlookup into frontends/xforms/
11955 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11958 * BufferView_pimpl.C:
11968 * bufferview_funcs.C:
11981 * vc-backend.C: move LyX/XFormsView into frontends/
11983 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11995 * text2.C: move Painter to frontends/
11997 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11999 * buffer.C: comment out some some code that depend upon lyx_format
12002 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12003 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12005 * buffer.h (NO_COMPABILITY): turn off compability
12007 * ColorHandler.C: include scoped_array.hpp
12009 * font.C: Use more specific smart_ptr header.
12012 * ShareContainer.h: ditto
12013 * lyx_main.h: ditto
12015 * FontInfo.h: ditto
12016 * BufferView_pimpl.h: ditto
12017 * ColorHandler.h: ditto
12019 * kbmap.C (defkey): change call to shared_ptr::reset
12021 2002-05-21 Juergen Vigna <jug@sad.it>
12023 * buffer.C (insertErtContents): fix to insert ert asis if it is
12024 non empty. Skip it completely if it contains only whitespaces.
12026 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12028 * BufferView_pimpl.C:
12029 * BufferView2.C: clear selection on paste (bug 393)
12031 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12033 * DepTable.C: include ctime
12035 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12037 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12039 2002-05-14 Juergen Vigna <jug@sad.it>
12041 * text.C (breakParagraph): fixed function to honor the keepempty
12042 layout in the right maner and also to permit the right breaking
12043 algorithm on empty or non empyt keepempty paragraphs.
12045 * paragraph.C (breakParagraph): we have to check also if the par
12046 is really empty (!size()) for isempty otherwise we do the wrong
12049 2002-05-10 Juergen Vigna <jug@sad.it>
12051 * buffer.[Ch] : The following are only changes to the ert
12052 compatibility read reading old LaTeX layout and font stuff and
12053 convert it to ERTInsets.
12055 * buffer.h: added isErtInset().
12057 * buffer.C (struct ErtComp): add a fromlayout bool to check
12058 if we're inside a LaTeX layout.
12059 (isErtInset): new helper function.
12060 (insertErtContents): look for other ert insets before this one
12061 and insert the contents there, so that we don't have subsequent
12062 ERT insets with nothing between them. This way we create only one
12063 inset with multiple paragraphs. Also check if we don't insert only
12064 spaces ' ' as they are ignored anyway afterwards in the .tex file
12065 so if we have only spaces we will ignore this latex part in the
12067 (parseSingleLyXformat2Token \\layout): better compatibility when
12068 reading layout-latex stuff.
12069 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12071 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12072 stuff after reading the inset only get the information back from
12075 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12077 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12079 * LaTeXFeatures.C (getBabelOptions): New method.
12081 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12083 * BufferView_pimpl.C (Dispatch): work around missing argument for
12086 2002-05-08 Juergen Vigna <jug@sad.it>
12088 * text.C (leftMargin): handle paragraph leftindent.
12090 * paragraph.C (writeFile): write the new \\leftindent tag.
12091 (validate): handle leftindent code.
12092 (TeXEnvironment): handle paragraphleftindent code again.
12094 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12096 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12097 for paragrap_extra indent code and new token \\leftindent.
12098 (latexParagraphs): handle the leftindent as environment.
12100 * ParameterStruct.h: added leftindent support.
12102 * ParagraphParameters.C (leftIndent): added support functions for
12103 the paragraph left indent.
12105 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12108 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12110 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12113 * text.C (computeBidiTables): No bidi in insetERT.
12115 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12118 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12120 * version.C.in: pre 5
12122 2002-05-02 José Matos <jamatos@fep.up.pt>
12123 * buffer.C (makeDocBookFile): white space changes, add newline to
12125 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12127 * tabular.C (docBook): fix typo.
12129 2002-05-03 Juergen Vigna <jug@sad.it>
12131 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12132 change in LyXText as we can not be sure it was not freed.
12133 (drawOneRow): remove unused code.
12135 * text.C (drawInset): redo the calculation of the need_break_row as
12136 it could have a row which was already freed.
12137 (draw): look at the return value of drawInset and return false if
12138 it also returned false.
12139 (paintRowText): look at the return value of draw and return false if
12140 it also returned false.
12142 * lyxtext.h: added bool return type to drawInset() and draw() so that
12143 if we have a change in the row so that the rowbreak has to be redone
12144 we abort drawing as it will be called again.
12146 2002-05-02 Juergen Vigna <jug@sad.it>
12148 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12149 a change in the maintext also if we're inside an inset.
12150 (Dispatch): set the cursor again after a break line and after the
12151 screen has been updated as it could be we're in a different row.
12153 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12154 to set the cursor behind the pargraph with > size().
12155 (setCursor): check also for the same paragraph when checking where
12156 to put the cursor if we have a NFR inset.
12158 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12159 parts of layout read further up as it still was in the wrong
12162 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12164 * screen.C (drawFromTo): change sine fullRebreak always return
12167 * buffer.C (parseSingleLyXformat2Token): reindent some
12169 * BufferView_pimpl.C (update): change since fullRebreak always
12171 (Dispatch): git rid of the last hardcoded "Standard"s.
12173 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12175 * text2.[Ch] (fullRebreak): make it return void now that we always
12178 2002-04-30 Juergen Vigna <jug@sad.it>
12180 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12181 ert compatibility check for "latex" layout.
12183 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12185 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12186 minipages: use col% instead of p%, and also use the current font.
12187 (makeLaTeXFile): Fix use babel condition.
12188 (parseSingleLyXformat2Token): Correct font when reading old floats.
12190 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12192 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12193 inserting list of floats.
12195 2002-04-25 Herbert Voss <voss@lyx.org>
12197 * MenuBackend.C (expand): don't add the graphics extensions to the
12200 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12202 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12203 non-existing layout, do not complain if it was the default layout
12204 of the original class (bug #342)
12206 2002-04-24 Juergen Vigna <jug@sad.it>
12208 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12209 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12211 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12213 * buffer.C (getBibkeyList): If using \bibliography, return the
12214 option field with the reference itself. Enables us to provide natbib
12215 support when using \bibliography.
12217 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12219 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12221 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12222 natbib is provided by the LaTeX class.
12224 2002-04-23 Juergen Vigna <jug@sad.it>
12226 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12229 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12231 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12233 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12235 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12236 ensuremath around textordmasculine, textordfeminine and
12239 2002-04-19 Juergen Vigna <jug@sad.it>
12241 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12242 reinitializing the buffer otherwise row-dimensions may be wrong.
12243 (update): reset also the selection cursors if they do exits otherwise
12244 their x/y positions may be wrong.
12246 * text2.C (cursorDown): don't enter the inset if we came from a row
12247 above and are one row over the inset.
12249 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12250 really leaving an inset.
12252 2002-04-18 Juergen Vigna <jug@sad.it>
12254 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12255 of the selected paragraph does not have the selected layout also if
12258 * text2.C (setLayout): fixed bug which did not change last selected
12261 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12262 changed the read and substituted \\end_float with \\end_inset!
12264 * BufferView_pimpl.C (cursorPrevious):
12265 (cursorNext): fixed to make it work with rows heigher than the work
12266 area without moving the cursor only the draw of the row.
12267 (workAreaMotionNotify): fix jumping over high rows.
12269 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12271 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12274 2002-04-16 Juergen Vigna <jug@sad.it>
12276 * text2.C (setCursor): set also the irow().
12277 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12279 (cursorDown): support for locking an inset if the x_fix value goes
12280 inside it. That way I can transverse insets too with cursor up/down.
12282 * lyxrow.h: added irow helper function same as other (i) functions.
12284 * BufferView_pimpl.C (cursorPrevious):
12285 (cursorNext): fixed for insets!
12287 2002-04-15 Juergen Vigna <jug@sad.it>
12289 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12290 position otherwise it is wrong in some cases.
12292 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12293 inside the inset before the call.
12295 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12297 * buffer.[Ch] (getBibkeyList): make it const.
12299 2002-04-12 Juergen Vigna <jug@sad.it>
12301 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12303 * text2.C (getCursorX): new helper function
12304 (setCursor): compute also ix_
12305 (setCursorFromCoordinates): set also ix.
12307 * lyxcursor.h: added ix_ and helper functions.
12309 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12311 * buffer.C (insertStringAsLines): dont break paragraph if the this
12312 paragraph is inside an inset which does not permit it!
12314 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12315 also with no chars on this paragraph.
12316 (paintRowText): only paint stuff if it's inside the workarea!
12318 * paragraph.C (breakParagraph): honor keepempty flag and break the
12319 paragraph always below not above.
12321 * BufferView2.C (unlockInset): update the paragraph layout on inset
12322 unlock as we changed paragraph in such a case.
12324 * lyxfind.C (LyXFind): clear the former selection if not found!
12326 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12327 again called in insertChar().
12329 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12330 an inset which uses the whole row!
12331 (rightMargin): ditto.
12332 (insertChar): force a rebreak if we inserted an inset!
12334 2002-03-28 Herbert Voss <voss@lyx.org>
12336 * lyxlength.[Ch]: add inBP() to get the right PS-point
12337 units (BigPoint). With inPixels we have rounding errors
12339 2002-04-11 Juergen Vigna <jug@sad.it>
12341 * text2.C (setCursorFromCoordinates): set iy to the right value.
12342 (setCursor): add check if row->previous exists!
12344 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12345 an old float_type as this was the case in the old code!
12347 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12349 * BufferView2.C (showLockedInsetCursor): use iy
12350 (fitLockedInsetCursor): ditto
12352 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12353 locked insets as there we have the right value now.
12355 * lyxcursor.C: added iy_ variable and iy functions to set to the
12356 baseline of cursor-y of the locked inset.
12358 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12359 (setCursor): fixed for insets which need a full row.
12361 * text.C (rowLastPrintable): don't ignore the last space when before
12362 an inset which needs a full row.
12363 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12364 as last character of a row when before a inset which needs a full row.
12366 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12368 * version.C.in: update date
12370 * text2.C (fullRebreak): try to always return true and see what
12373 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12375 * MenuBackend.C (expand): use Floating::listName
12377 * FloatList.C (FloatList): add listName argument to the built-in
12380 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12381 text associated with the float.
12383 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12385 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12387 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12389 * ShareContainer.h: add a couple of missing typenames.
12391 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12393 * lyxrc.C (getDescription): use _() correctly rather than N_().
12395 2002-03-28 Herbert Voss <voss@lyx.org>
12397 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12398 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12400 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12402 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12403 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12405 2002-03-29 Juergen Vigna <jug@sad.it>
12407 * lyxfunc.C (dispatch): add a missing fitCursor call.
12409 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12410 it was scrolled by a cursor move, so return the bool status.
12412 * BufferView.C (fitCursor): return the bool flag also to the outside
12413 world as this is needed.
12415 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12417 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12418 call the edit() as it is not needed (and wrong) IMO.
12419 (workAreaButtonPress): set the screen_first variable before evt.
12420 unlock the inset as this may change screen_first and then we have
12421 a wrong y position for the click!
12423 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12425 * MenuBackend.C (expand): another translation that I missed
12427 2002-03-28 Juergen Vigna <jug@sad.it>
12429 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12431 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12433 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12435 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12437 * MenuBackend.C (expand): fix export/view/update when there is no
12440 2002-03-27 Herbert Voss <voss@lyx.org>
12442 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12445 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12447 * bufferview_funcs.C (currentState): only show paragraph number
12448 for is DEVEL_VERSION is set.
12450 * lyxfunc.C (dispatch): put warning in INFO channel
12452 * MenuBackend.C (expand): translate the name of floats
12454 * FloatList.C (FloatList): mark the float names for translation
12456 * converter.C (convert): use LibScriptSearch
12458 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12460 * MenuBackend.C (defaults): fix default menu (we might as well get
12463 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12465 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12468 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * lyxvc.C: reorder includes.
12472 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12474 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12477 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12479 * CutAndPaste.C: change layouts earlier on paste
12480 to avoid crashing when calling getFont()
12482 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12484 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12487 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12489 * WorkArea.C: remove 'Pending' debug message.
12491 * most files: ws cleanup
12493 * buffer.[Ch]: ws changes
12495 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12497 2002-03-21 Juergen Vigna <jug@sad.it>
12499 * tabular.C (SetMultiColumn): collapse also the contents of the
12500 cells and set the last border right. Added a Buffer const * param.
12502 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12504 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12507 2002-03-19 Juergen Vigna <jug@sad.it>
12509 * text2.C (clearSelection): reset also xsel_cache.
12511 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12512 where it needs to be called (John tells us to do so too :)
12513 (selectionLost): reset sel_cache.
12515 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12517 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12519 * text2.C (setCursorIntern): put debuging code in INSETS channel
12521 2002-03-19 André Pönitz <poenitz@gmx.net>
12523 * lyxfunc.C: tiny whitespace change
12525 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12527 * ToolbarDefaults.C (init):
12528 * LyXAction.C (init):
12530 * BufferView_pimpl.C (Dispatch):
12531 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12533 2002-03-19 Allan Rae <rae@lyx.org>
12535 * exporter.C (Export): removeAutoInsets before doing anything else.
12536 While I've just introduced a dependency on BufferView this really is
12537 the best place to clean the buffer otherwise you need to cleanup in
12538 a dozen places before calling export or cleanup in a dozen functions
12541 * converter.C (runLaTeX):
12542 (scanLog): Better handling of removeAutoInsets and screen updates.
12544 * lyxfunc.C (dispatch): small whitespace changes
12546 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12548 * WorkArea.C (C_WorkAreaEvent): return a value.
12549 (event_cb): return 1 if we handled the event, 0 otherwise.
12551 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12553 2002-03-18 Juergen Vigna <jug@sad.it>
12555 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12556 (GetAdditionalWidth): ditto.
12557 (RightLine): ditto.
12560 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12561 inset if we're there actually (probably not used right now but this
12562 is the direction to go for unifying code).
12563 (paste): disable code to clear the selection.
12565 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12566 inside an InsetText and move the check further up as it is in the
12569 * text2.C (pasteSelection): set a selection over the pasted text.
12571 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12573 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12574 and libgraphics to build on Cygwin.
12576 2002-03-15 Juergen Vigna <jug@sad.it>
12578 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12579 inserting an Inset into the paragraph. I know this is not the best
12580 fix but we already use current_view in CutAndPaste so we will remove
12581 all of it's using at the same time.
12583 * buffer.C (sgmlError): deactivated function till it is rewritten in
12584 the right mode, now it can create problems.
12586 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12587 before accessing it.
12589 2002-03-14 Juergen Vigna <jug@sad.it>
12591 * undo_funcs.C (textHandleUndo): do the right thing when updating
12592 the inset after the undo/redo.
12594 * text2.C (setCursor): just some testcode for #44 not ready yet.
12596 * undo_funcs.C (textHandleUndo): set the next() and previous()
12597 pointers of the paragraph to 0 before deleting otherwise we have
12598 problems with the Paragraph::[destructor].
12600 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12601 on a paragraph insertion.
12603 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * buffer.C (asciiParagraph): use += operator for char append to
12608 * paragraph.C (getFontSettings): compare >= not just >
12609 (highestFontInRange): ditto
12612 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12614 * paragraph.C: change several algorithm to be more appripriate for
12615 the problem domain. This is lookip in FontList and in the InsetList.
12617 2002-03-13 André Pönitz <poenitz@gmx.net>
12620 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12622 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12627 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12629 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * Painter.C (display): anon helper function, adjust code for this
12633 (pixmap): remove function.
12635 * Painter.h: remove private display variable.
12637 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12639 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12641 * WorkArea.[Ch]: remove figinset_canvas cruft.
12643 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * lyxtextclass.C (operator): add one item cache optimization.
12647 * bufferlist.h: doxy changes
12649 * bufferlist.C: ws changes
12651 * DepTable.[Ch] (ext_exist): place const in the right spot.
12653 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12655 (workAreaExpose): call resizeInsets when the with BufferView changes.
12656 (Dispatch): adjust for protectedBlank removal
12657 (specialChar): call updateInset if the insert went ok.
12659 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12660 specialChar instead.
12662 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12664 * BufferView.h: doxy change
12666 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12668 * lyxtextclass.C (operator[]): remove non-const version
12669 (defaultLayout): remove non-const version
12671 2002-03-12 Juergen Vigna <jug@sad.it>
12673 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12674 did resize the LyXText too.
12676 * buffer.C (readLyXformat2): set layout information on newly allocated
12679 * tabular.C (OldFormatRead): set layout information on the paragraph.
12681 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12683 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12685 2002-03-11 Juergen Vigna <jug@sad.it>
12687 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12689 (resizeCurrentBuffer): force also the insets to resize themselfes.
12690 (moveCursorUpdate): fixed up for InsetText.
12692 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12695 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12696 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12697 value of Dialogs::tooltipsEnabled().
12698 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12700 2002-03-08 Juergen Vigna <jug@sad.it>
12702 * BufferView_pimpl.C (updateInset): update inset inside inset also
12703 if it isn't inside theLockingInset().
12705 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * buffer.C (asciiParagraph): redo some of the word and line length
12709 (getLists): look for Caption instead of caption.
12711 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12713 * buffer.C (Buffer): initialize niceFile to true
12715 (makeLinuxDocFile):
12716 (makeDocBookFile): make sure niceFile is true on exit
12718 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12720 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12722 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12724 * LyXSendto.C: remove.
12725 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12726 * lyx_gui.C: remove now-redundant comment.
12727 * ColorHandler.h: remove forward declaration of class WorkArea.
12728 * lyxfunc.C: remove #include "WorkArea.h".
12730 2002-03-07 Juergen Vigna <jug@sad.it>
12732 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12733 got moved away with the DEPM and also set the inset_owner always
12734 right which before could have been omitted.
12736 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12738 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12739 wanted layout is not found.
12741 2002-03-07 Juergen Vigna <jug@sad.it>
12743 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12745 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12747 * paragraph.C (breakParagraph): use default layout not layout of
12749 (Paragraph): clear ParagraphParameters.
12751 2002-03-06 Juergen Vigna <jug@sad.it>
12753 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12754 otherwise it would not be a valid lenght. Fixed a special case in
12755 the minipage compatibility read where we end the document with a
12758 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12759 was set as it could be 0 for InsetTexts first entry.
12761 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12763 * paragraph.C (writeFile): if layout is empty write out
12764 defaultLayoutName().
12766 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12767 file without named layout we set layout to defaultLayoutName().
12769 2002-03-06 Juergen Vigna <jug@sad.it>
12771 * CutAndPaste.C (copySelection): set layout for new paragraph.
12773 * text.C (prepareToPrint): leave ERT inset left aligned
12774 (leftMargin): don't indent paragraphs inside ERT insets
12776 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12778 * paragraph.C (breakParagraph): dont call clear do the work manually
12780 * paragraph.[Ch] (clear): remove function
12782 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * paragraph.C (Paragraph): dont call clear, the work has already
12787 * lyxtextclass.C (operator): assert if n is empty
12789 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12790 work manually instead.
12792 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12794 * BufferView_pimpl.C: protect selectionLost against text == 0
12796 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12798 * text.C (breakParagraph): fix a setting layout to '0' problem.
12800 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12802 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12803 final location of file, for the included files, and graphics.
12805 2002-03-05 Juergen Vigna <jug@sad.it>
12807 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12809 2002-03-04 Juergen Vigna <jug@sad.it>
12811 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12813 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12814 last column of multicolumn cells.
12815 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12817 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12819 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12820 file if it doesn't go to a temporary file.
12822 * buffer.C (sgmlOpenTag):
12823 (sgmlCloseTag): remove extra newline insertion.
12825 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12827 * text.C (getRowNearY): comment out debug msg
12829 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12831 * text2.C: first -> first_y
12833 * text.C (getRowNearY): add some attemts at a possible
12834 optimization, not working.
12836 * tabular.[Ch]: add BufferParams to several function so that newly
12837 created paragraph can be initialized to he default layotu for the
12840 * tabular-old.C (ReadOld): add buf->params to call of Init
12842 * screen.C: rename text->first to text->first_y
12844 * paragraph.C (breakParagraph): always set layout in the broken
12847 * lyxtextclass.C (Read): remove lowercase
12850 (delete_layout): ditto
12852 * lyxtext.h: rename first -> first_y
12854 * lyxlayout.C (Read): remove lowercase
12857 (obsoleted_by): ditto
12859 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12861 * buffer.C (insertErtContents): add params are to InsetERT
12862 (parseSingleLyXformat2Token): add code to check if a paragraphs
12863 layout really exist.
12864 (parseSingleLyXformat2Token): add params to several inset
12866 (asciiParagraph): remove lowercase, do the layout comparisons with
12869 * BufferView_pimpl.C (cursorNext): first -> first_y
12870 (resizeCurrentBuffer): first -> first_y
12871 (updateScrollbar): first -> first_y
12872 (scrollCB): first -> first_y
12873 (workAreaMotionNotify): first -> first_y
12874 (workAreaButtonPress): first -> first_y
12875 (checkInsetHit): first -> first_y
12876 (cursorPrevious): first -> first_y
12877 (cursorNext): first -> first_y
12878 (Dispatch): add buffer_->params to severl inset contructors
12880 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * lyxlayout.C (Read): remove some debug info that I forgot.
12884 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12885 clean up the code slightly.
12886 (makeLinuxDocFile): ditto
12887 (makeDocBookFile): ditto
12889 * text2.C: layout as string
12891 * text.C: layout as string
12893 * paragraph_pimpl.C: layout as string
12895 * paragraph.[Ch]: layout as string
12897 * lyxtextclasslist.[Ch]: layout as string
12899 * lyxtextclass.[Ch]: layout as string
12901 * lyxtext.h: layout as string
12903 * lyxlayout.[Ch]: layout as string
12905 * lyx_cb.C: layout as string
12907 * bufferview_funcs.C: layout as string
12909 * bufferparams.C: layout as string
12911 * buffer.C: layout as string
12913 * LyXView.[Ch]: layout as string
12915 * LaTeXFeatures.[Ch]: layout as string
12917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12919 * BufferView_pimpl.C: change current_layout to string, remove
12924 (workAreaButtonRelease): layout as string
12926 * BufferView2.C (unlockInset): adjust
12928 * vspace.C (asLatexCommand): use an explict temp variable.
12930 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12932 * Makefile.am: use FRONTEND_*
12934 2002-03-01 Juergen Vigna <jug@sad.it>
12936 * tabular.C (SetWidthOfMulticolCell): changed to something better
12937 I hope but still work in progress.
12938 (recalculateMulticolumnsOfColumn): renamed function from
12939 recalculateMulticolCells as it is more appropriate now.
12940 (SetWidthOfCell): calculate multicols better.
12942 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12944 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12946 * lyxfunc.C (processKeySym): print sequence also if it is
12947 `deleted' (complete)
12949 * kbsequence.C (print): print sequence even if it is deleted
12950 (complete would be a better word, actually).
12952 * lyxfunc.C (dispatch): print complete options after a prefix key
12954 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12956 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12958 * text2.C (setCharFont): eliminate setCharFont code duplication.
12960 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12962 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12963 LFUN_TABULAR_FEATURE (bug #177)
12965 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12967 * Makefile.am: remove figure.h
12969 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12971 * Bufferview_pimpl.C:
12983 * text2.C: remove #include "lyx_gui_misc.h".
12985 * LaTeX.C: added #include <cstdio>
12987 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12989 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12990 that the paragraph following this one can have.
12992 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12994 * vspace.C (asLatexCommand): fix bogus gcc warning
12996 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12998 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13000 * text2.C (setLayout): get rid of redundant code
13002 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13004 * text2.C (incDepth): make sure depth cannot be increased beyond
13007 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13009 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13010 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13012 * PainterBase.h (image):
13013 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13014 a LyXImage const *.
13016 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13020 * BufferView_pimpl.C:
13021 * BufferView_pimpl.h:
13041 * sp_spell.C: remove fig inset, and the crap house of
13042 cards that follows it
13044 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13049 * os2_errortable.h:
13050 * nt_defines.h: move .h into support/
13052 * vms_defines.h: remove
13054 * WorkArea.C: add space in debug output
13058 * buffer.C: add WITH_WARNINGS
13062 * bufferlist.C: s/retrive/retrieve/, add docs
13071 * chset.C: add docs
13073 * lyxgui.C: add ID to X error handler
13075 * lyxtestclass.c: fix typo
13077 2002-02-26 Juergen Vigna <jug@sad.it>
13079 * tabular_funcs.C (write_attribute): changed so that some default
13080 attributes are not written at all.
13081 (getTokenValue): set default values before trying to read the
13082 value so we have the return value always set as default if we don't
13083 find the token we search for.
13085 * tabular.C (Write): write bools as bools not as strings!
13087 2002-02-22 Juergen Vigna <jug@sad.it>
13089 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13090 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13092 * text.C (leftMargin): don't add an indent for paragraphs inside
13093 tabular cells (fix #208).
13095 2002-02-21 José Matos <jamatos@fep.up.pt>
13097 * tabular.C (docBook): fixed support for long tables.
13099 2002-02-20 Juergen Vigna <jug@sad.it>
13101 * text2.C (getFont): get the drawing font of the Inset if this
13102 paragraph is inside an inset (only important for InsetERT for now).
13104 * buffer.C (insertErtContents): use new lanugage params in ERT
13107 * CutAndPaste.C: commenting out seemingly uneeded code.
13109 2002-02-19 Allan Rae <rae@lyx.org>
13111 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13112 Iterators might be simple to use but they also get invalidated.
13113 (removeAutoInsets): renamed saved cursor tracking variables and added
13114 some comments to clarify what everything does.
13116 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13123 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13124 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13127 * vc-backend.h: remove #include "support/syscall.h"
13131 * converter.C: rearrange #includes in Lars' approved fashion.
13133 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13134 forward declare class Timeout in the header file.
13136 * XFormsView.C: changes due to the above.
13138 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13139 similar to LyXView.
13141 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13142 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13144 2002-02-18 José Matos <jamatos@fep.up.pt>
13146 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13149 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13151 * a lot of small ws changes
13152 * add a lot of using std::XXX
13153 * use std construcs some places where approp.
13154 * use some exisint stuff from lyxfunctional where approp.
13155 * Make file changes to use partial linking (lets test this now...)
13157 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13161 remove #include "support/syscontr.h" as it's redundant. Always has been.
13169 change Systemcalls::System to Systemcalls::Wait and
13170 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13171 No change of functionality, just reflects the stripped down Systemcalls
13174 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13176 * debug.[Ch]: add a GRAPHICS type to the enum.
13178 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13180 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13182 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13185 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13187 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13188 match the changes below.
13190 * text2.C (toggleInset): if there is not editable inset at cursor
13191 position, try to see if cursor is _inside_ a collapsable inset
13194 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13196 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13197 document menu has a nice checkbox
13199 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13201 * lyxlength.C (asLatexString): change PW to output as percent of
13204 * lengthcommon.C: change '%' to 't%'
13206 * lyxfunc.C (dispatch): a few comments from Martin
13208 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13212 * BufferView_pimpl.h:
13213 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13216 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13218 * vspace.C (inPixels): fix compiler warning
13220 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13222 * lyxfunc.C (getStatus): fix status message for disabled commands.
13224 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13226 * BufferView_pimpl.C: fix crash on close buffer
13227 during selection (#227)
13229 2002-01-27 Herbert Voss <voss@lyx.org>
13231 * buffer.C: link old Figure to new graphic inset
13233 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13235 * FontLoader.C (getFontinfo): Change the latex font names in order
13236 to match the names of type1inst.
13238 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13240 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13242 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13243 (extchanged): ditto
13245 (remove_files_with_extension): ditto
13246 (remove_file): ditto
13249 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13250 document is smaller than the work area height. Do not initialize
13251 static variables to 0.
13253 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13255 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13257 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13258 LFUN_LAYOUT_PARAGRAPHS.
13260 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13261 tabular. It is possible to provide a possible cell, which will
13262 typically be the actcell from the corresponding insettabular
13264 * lyxfunc.C (getStatus): small cleanup; disable
13265 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13268 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13270 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13272 * paragraph.C (startTeXParParams):
13273 (endTeXParParams): new methods. The LaTeX code to
13274 start/end paragraph formatting
13275 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13276 empty (fixes bug #200)
13278 * vspace.C (inPixels): adapt to the change below
13279 (inPixels): [later] more cleanups (remove unused variables)
13281 * lyxlength.C (inPixels): change to use a width and a height as
13284 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13286 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13287 Replaced with \paperwidth
13289 * DepTable.C (insert): add std:: qualifier
13291 2002-01-18 Allan Rae <rae@lyx.org>
13293 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13296 * text.C (drawInset): Turned out I didn't know enough about how
13297 rebreaking worked. This fixes most of the redraw problems. I see
13298 an occasional cursor trail when a line is broken now and the cursor
13299 placement can seem out by a few pixels also after a rebreak.
13301 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13303 * buffer.C (parseSingleLyXformat2Token): update because minipage
13304 width is now a LyXLength
13306 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13308 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13311 2002-01-17 Juergen Vigna <jug@sad.it>
13313 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13315 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13316 is set correctly and the inset is updated correctly.
13318 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13320 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13321 the beginning of the loop.
13323 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13325 * lyxrc.C: improve help for use_scalable_fonts
13327 2002-01-17 Allan Rae <rae@lyx.org>
13329 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13331 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13333 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13334 make sure to set their inset_owner to the right value (bug #171)
13336 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13339 * DepTable.C: Implement mtime checking to reduce time spent doing
13342 2002-01-16 Juergen Vigna <jug@sad.it>
13344 * tabular.C (GetAdditionalHeight): one of error fixed.
13346 * lyxrc.C (output): small fix in writing use_pspell.
13348 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13350 * sp_base.h: #include LString.h
13352 2002-01-16 Allan Rae <rae@lyx.org>
13354 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13355 Can someone check this please?
13357 * text.C (drawInset): It was possible that p.row would be removed by
13358 breakAgainOneRow upsetting a few other settings. There may be another
13359 small tweak possible by setting need_break_row = 0 when p.row has been
13360 removed but I don't know enough about the logic here.
13362 2002-01-15 Allan Rae <rae@lyx.org>
13364 * text.C (insertChar): removed conditional truism.
13366 * BufferView2.C (removeAutoInsets): More tweaks.
13367 cur_par_prev could be a stray pointer. Check for trailing empty line
13368 in case last line was cur_par and only had an error inset on it.
13370 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13372 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13375 * vc-backend.C (most methods):
13376 * exporter.C (Export):
13377 * converter.C (convert):
13379 * LyXSendto.C (SendtoApplyCB):
13380 * lyxfunc.C (dispatch):
13384 * lyx_cb.C (AutoSave):
13386 * BufferView_pimpl.C (MenuInsertLyXFile):
13387 * buffer.C (runChktex): use Buffer::filePath().
13389 * buffer.h: rename filename to filename_; rename filepath to
13390 filepath_ and make it private
13391 (filePath): new method
13393 * buffer.C (writeFile): use fileName()
13396 * lyx_main.C (init): fix starting of LyX when the binary is a
13397 link from so,ewhere else.
13399 * minibuffer.C: include <cctype> for isprint
13401 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13403 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13404 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13405 name clash with InsetCollapsable's width function.
13407 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13409 * lastfiles.C: include <iterator>
13411 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13413 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13416 * buffer.C (makeLaTeXFile): ditto.
13417 Also make loop operation more transparent.
13419 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13421 * ToolbarDefaults.C: remove trailing comma closing namespace.
13423 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13425 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13428 * trans.C (Load): comment out unused variable, allowed.
13430 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13432 * minibuffer.[Ch] (append_char): new method to recieve input from the
13433 drop-down completion browser. If a key was pressed, then recieve this
13434 char and append it to the existing string.
13435 (peek_event): modify the positioning data passed to the completion
13436 browser so that it can be placed above the minibuffer rather than below.
13437 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13439 * LyXAction.C (init): alloe error-next for readonly documents.
13441 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13444 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13446 * bufferlist.C (readFile): create the buffer _after_ checking that
13449 * lyxfunc.C (verboseDispatch): fix handling of arguments
13451 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13453 * lyxrc.C: use string::erase() instead of initializing to "".
13456 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13458 * BufferView_pimpl.h:
13459 * BufferView_pimpl.C:
13462 * text2.C: tell X when we have made a selection for copying
13464 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13466 * BufferView_pimpl.C (MenuInsertLyXFile):
13467 * lyxfunc.C (menuNew):
13469 (doImport): add shortcuts to directory buttons
13471 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13474 * lyxfunc.C (setStatusMessage):
13475 (getStatusMessage): new methods
13476 (getStatus):use setStatusMessage instead of setErrorMessage
13477 (dispatch): when function is disabled, set error message here
13478 [instead of in getStatus previously]
13480 * BufferView_pimpl.C (workAreaButtonRelease): update
13481 toolbar/menubar here too.
13483 2002-01-13 Allan Rae <rae@lyx.org>
13485 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13486 Now seems indestructible. Remaining task is to audit all other
13487 code affected by deleteEmptyParagraphMechanism. One small quirk
13488 left is that an empty document with an error in the preamble can
13489 be made to report an error but no error box appears. I don't know
13491 (removeAutoInsets): Improved comments.
13493 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13496 * Thesaurus.C: update for Aiksaurus 0.14
13498 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13500 * text2.C (firstParagraph): removed member function, all uses
13501 replaces with ownerParagraph
13502 (redoParagraphs): here
13503 (updateInset): here
13504 (toggleAppendix): here
13505 * BufferView2.C (insertErrors): here
13506 (setCursorFromRow): here
13508 2002-01-13 Allan Rae <rae@lyx.org>
13510 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13511 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13512 There is still a way to segfault this although you may have to do this
13513 multiple times: Have an InsetERT with an unknown command in it.
13514 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13515 <down-arrow>, <Enter> again, View->DVI, BANG!
13517 * text2.C (setCursor):
13518 (deleteEmptyParagraphMechanism):
13519 * lyxtext.h (setCursor):
13520 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13521 Making use of the return value may help fix other bugs.
13523 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13525 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13527 * LyXView.C (updateMenubar): call MenuBar::update here
13528 (updateToolbar): but not here
13529 (showState): do not update toolbar/menubar
13531 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13532 should need to care about that.
13534 * lyxfunc.C (verboseDispatch): simplify a bit
13535 (getStatus): have a version which takes a pseudoaction, and
13536 another which requires a (kb_action,string).
13538 * LyXAction.C (retrieveActionArg): make it work also when action
13539 is not a pseudo-action.
13540 (getActionName): simplify a bit
13543 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13545 * lyxfunc.C (verboseDispatch): new families of methods with
13546 several ways to specify a command and a bool to indicate whether
13547 the command name and shortcut should be displayed in minibuffer
13548 (eventually, we could extend that to a finer bitmask like
13549 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13550 (dispatch): the pristine dispatch command which just, well,
13551 dispatchs! Note it still sets its result to minibuffer; I'm not
13554 * lyxfunc.h: remove setHintMessage
13556 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13558 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13560 * BufferView_pimpl.C (specialChar): delete new inset if we have
13561 not been able to insert it.
13563 * kbmap.C: revert to using int instead of kb_action, since all we
13564 are dealing with is pseudo-actions.
13566 * LyXAction.C (searchActionArg): change to return int instead of
13567 kb_action, since the result is a pseudoaction.
13569 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13571 * buffer.C (insertErtContents): Fix (partially) the font bug.
13573 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13575 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13576 as the other one is broken on my machine!
13578 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13581 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13583 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13585 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13586 reflect their actual use. Provide compatibility code for older lyxrc
13589 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13591 change names of popup font variables in line with the changes to lyxrc.C
13593 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13595 * buffer.C (asciiParagraph): avoid outputing a word twice after
13598 * lyxrc.C (getDescription): document that document_path and
13599 template_path can be empty.
13601 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13603 * LaTeXFeatures.C (getMacros):
13604 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13606 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13608 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13610 (getPackages): rename feature "floats" to "float". Use an array to
13611 iterate over 'simple' features (i.e. just a \usepackage). Add
13612 handling of "amsmath" (renamed from "amsstyle").
13614 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13616 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13619 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13621 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13622 FuncStaus::FuncStatus & FuncStaus::some_method().
13624 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13626 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13627 of the func_satus stuff. Edited and massaged in various ways by
13630 * lyxfunc.C (getStatus): use FuncStatus
13632 2002-01-08 Juergen Vigna <jug@sad.it>
13634 * text.C (nextBreakPoint): use function Inset::isChar().
13636 * paragraph.C (TeXOnePar): use function
13637 Inset::forceDefaultParagraphs.
13639 * buffer.C (latexParagraphs): use function
13640 Inset::forceDefaultParagraphs.
13642 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13644 * lyx_gui.C (init): set the style of the menu popups to
13645 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13647 2002-01-07 Juergen Vigna <jug@sad.it>
13649 * text.C (setHeightOfRow): small fix
13650 (prepareToPrint): don't look at alignment if we don't have the place
13653 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13655 * box.C: New file. Move the Box methods and functions out of box.h,
13656 following Lars' suggestion.
13658 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13660 * box.h: #include "support/LOstream.h", needed for inlined function.
13663 * lyxtextclasslist.C: added some using std declarations.
13665 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13667 * box.h: make signed dimensions to allow insets wider than
13668 the screen (bug #162)
13670 * BufferView_pimpl.C: add some insetHit debug
13672 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13674 * vc-backend.C: add FIXME
13676 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13678 * lyxfunc.C (getStatus): enable code for showing math font status
13681 2002-01-07 Juergen Vigna <jug@sad.it>
13683 * text.C (nextBreakPoint): removed debug output not needed anymore.
13685 2002-01-06 Juergen Vigna <jug@sad.it>
13687 * text.C (nextBreakPoint): fixed up this function we had this bug
13688 since ever but now hopefully we break row better.
13689 (insertChar): we have to check if an inset is the next char as it
13690 could now happen that a large inset is causing a break.
13692 2002-01-05 Juergen Vigna <jug@sad.it>
13694 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13695 if it doesn't like to be drawed.
13697 2002-01-04 Juergen Vigna <jug@sad.it>
13699 * BufferView2.C (lockInset): forgot to set a cursor.
13701 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13703 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13705 * FormMathsPanel.C:
13708 * form_maths_panel.C:
13709 * form_maths_panel.h:
13710 * form_maths_panel.fd: implemented sub- and super- buttons in math
13713 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13714 (or ^ space) to be used as in TeX (req'd by André).
13716 * lyxfunc.C: Allow ^ and _ again to be used both as
13717 super/subscript (mathed) and as themselves (in text).
13719 2002-01-03 Allan Rae <rae@lyx.org>
13721 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13722 "LyX" or the filename of the current buffer if it has one. This is a
13723 modified form of John Levon's patch.
13725 * XFormsView.C (setWindowTitle): also set icon title.
13727 * LyXView.h (setWindowTitle): signature changed.
13728 * XFormsView.h (setWindowTitle): ditto.
13730 2002-01-02 Juergen Vigna <jug@sad.it>
13732 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13734 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13736 * screen.C (topCursorVisible): introduce a temp var for
13737 text->cursor.row(), handle the case where this row is null. (kindo
13740 * text2.C (setCursor): add a couple of asserts.
13742 * paragraph.h (inset_iterator): add -> operator
13744 * paragraph.[Ch] (autoDeleteInsets): remove member function
13746 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13747 cursor pos correctly and handle inset deletion by itself.
13748 (insertErrors): move iterator declaration out of for expression
13750 * lyxtextclass.C: add <algorithm>
13752 * Makefile.am: added the new files to sources, removed layout.C
13754 * layout.C: removed file
13756 * layout.h: remove LYX_DUMMY_LAYOUT
13758 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13762 * lyxtextclass.[Ch]:
13763 * lyxtextclasslist.[Ch]: new files
13765 * include order changes to a lot of files, also changes because of
13768 2001-12-27 Juergen Vigna <jug@sad.it>
13770 * buffer.C (asciiParagraph): more fixes.
13772 * tabular.C (ascii): make ascii export support export of only the
13773 data separated by a column-delimiter.
13774 (ascii): better support for ascii export.
13776 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13778 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13780 * tabular_funcs.C: use a "using std::getline" instead of the
13781 previous fix from Angus (necessary for cxx + lyxstring)
13783 2001-12-24 Juergen Vigna <jug@sad.it>
13785 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13787 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13788 problems. First check a minipage also if we have some ert-contents
13789 (not only on par->size(), second set the right depth of the paragraph
13790 on the relink to the root-paragraph-list!
13792 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13793 which then did not anymore update the main paragraphs on undo/redo!
13795 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13797 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13798 code. Support all font-changing funcs (even those which are not in
13799 menu currently). Support for reporting font settings in
13800 mathed (disabled until Andre provides a function on mathed's side).
13802 * func_status.h (toggle): small helper function to set toggle
13805 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13807 * tabular_funcs.C: getline -> std::getline
13809 2001-12-21 Juergen Vigna <jug@sad.it>
13811 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13812 accessed and could be 0 (I couldn't generate this but it seems
13815 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13817 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13818 * tabular_funcs.h: here and include iosfwd
13820 2001-12-20 Juergen Vigna <jug@sad.it>
13822 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13823 inside inset but undo_par was.
13825 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13827 * Thesaurus.C: always include <config.h> in sources.
13831 * box.h: do not include <config.h> in header files
13833 * text.C (paintLastRow): remove unused variable
13835 * text.C (transformChar):
13837 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13839 * Painter.C (text):
13840 * font.C (width): rewrite to use uppercase() instead of
13843 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13845 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13847 * lyxfind.C: clean up of find failure position change
13849 2001-12-20 Juergen Vigna <jug@sad.it>
13851 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13853 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13854 (TeXRow): added to LaTeX a single tabular row.
13855 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13856 (Latex): simplified and finally good LT-h/f support.
13857 (various_functions): just small adaptions for LT-h/f support.
13859 * tabular_funcs.[hC]: added and moved here all not classfunctions
13862 2001-12-19 Juergen Vigna <jug@sad.it>
13864 * tabular.[Ch]: better support for longtabular options (not finished
13867 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13869 * text.C (paintLastRow): use the label font instead of the font of
13870 the last character to compute the size of *_BOX. This makes more
13871 sense and avoids a crash with empty paragraphs.
13872 Use Painter::rectangle to draw EMPTY_BOX.
13874 2001-12-19 Juergen Vigna <jug@sad.it>
13876 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13877 the paragraphs if the replaced paragraph is not the first one!
13878 Tried to delete not used paragraphs but does not work yet so for
13879 now it's inside #ifdef's and by default off!
13881 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13883 * MenuBackend.C: include "lyx_main.h" instead of declaring
13884 lastfiles (actually was declared as LastFiles* instead of a
13887 2001-12-17 Juergen Vigna <jug@sad.it>
13889 * tabular.C (AppendColumn): applied John's fix
13891 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13895 * BufferView_pimpl.h:
13896 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13899 * box.h: new start of class for above
13901 * lyxfunc.C: ignore space-only minibuffer dispatches.
13902 Show the command name when it doesn't exist
13904 * minibuffer.C: don't add empty lines to the history
13906 * minibuffer.C: add a space on dropdown completion
13908 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13910 * text.C: fix line above/below drawing in insets
13912 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13914 * lyxlength.C (LyXLength): Initialize private variables.
13916 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13918 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13919 when inserting error insets.
13921 2001-12-13 Juergen Vigna <jug@sad.it>
13923 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13924 actually sometimes the before-paragraph.
13925 (setUndo): don't clear the redostack if we're not actually undoing!
13927 2001-12-06 Juergen Vigna <jug@sad.it>
13929 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13930 and fixed redoing of main paragraph, so we can use it now ;)
13932 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13934 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13936 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13939 2001-12-13 André Pönitz <poenitz@gmx.net>
13942 * undo_func.C: minor cleanup
13944 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13946 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13947 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13948 font in urw-fonts package which is marked as -urw-fontspecific and
13949 does not work (incidentally, changing the encoding in the
13950 fonts.dir of this package to -adobe-fontspecific fixes the
13953 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13954 is a crash when undoing first paragraph (Juergen, please take a
13955 look). THis does not mean the undo fix is wrong, just that it
13958 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13959 the (Paragraph*) version when needed instead of duplicating the
13962 * text.C (workWidth): use Inset::parOwner to find out where the
13963 inset has been inserted. This is a huge performance gain for large
13964 documents with lots of insets. If Inset::parOwner is not set, fall
13965 back on the brute force method
13967 * paragraph_pimpl.C (insertInset):
13968 * paragraph.C (Paragraph):
13969 (cutIntoMinibuffer): set parOwner of insets when
13970 inserting/removing them
13972 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13974 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13980 * mathed/formulabase.C:
13981 * mathed/math_cursor.[Ch]:
13982 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13985 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13987 * lyxlength.[Ch] (operator!=): new function
13989 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13991 * text.C (workWidth): use Inset::parOwner to find out where the
13992 inset has been inserted. This is a huge performance gain for large
13993 documents with lots of insets. If Inset::parOwner is not set, fall
13994 back on the brute force method
13996 * paragraph_pimpl.C (insertInset):
13997 * paragraph.C (Paragraph):
13998 (cutIntoMinibuffer): set parOwner of insets when
13999 inserting/removing them
14001 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14003 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14005 * tabular-old.C (getTokenValue):
14006 * tabular.C (getTokenValue):
14007 (write_attribute): new versions for LyXLength
14008 (everywhere): adjust the use of widths
14010 * tabular.h: change the type of widths from string to LyXLength
14012 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14014 * paragraph.C: fixed missing line number count when exporting
14015 Environments to LaTeX file
14017 * buffer.C: added informational message for checking line numbers.
14019 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14021 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14022 paragraph, do the 'double space' part, but not the 'empty
14025 * text.C (workWidth): small optimization
14026 (getLengthMarkerHeight): use minimal size for negative lengths.
14028 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14030 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14032 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14034 2001-12-11 André Pönitz <poenitz@gmx.net>
14037 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14039 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14041 * text2.C: keep selection on a setFont()
14043 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14045 * lyx_cb.C: another bv->text misuse, from insert label
14047 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14050 * kbsequence.C: re-instate nmodifier mask
14052 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14054 * lyx_main.h: make lyxGUI private.
14056 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14058 * lyxfind.C: place the cursor correctly on failed search
14060 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14062 * text.C (getLengthMarkerHeight): for small heights, the arrows
14063 are not always on top/bottom of the text
14064 (drawLengthMarker): smaller arrows; take the left margin in
14065 account; draw also vfills.
14067 (paintLastRow): remove special code for vfill and standard spaces,
14068 since everything is handled in drawLengthMarker now.
14070 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14072 * buffer.C (insertErtContents): try to handle font and language
14073 interaction a bit better.g
14075 * ColorHandler.C (updateColor): change the hash to cover the whole
14076 LColor enum, ws cleanup
14077 (getGCLinepars): ditto
14078 (getGCLinepars): only lookup in the linecache once.
14080 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14082 * iterators.C (operator++): Make the iterator more robust
14084 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14091 * text.C: better added space drawing
14093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14096 * BufferView2.C: fix layout combo update on inset unlock
14098 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14100 * Makefile.am: don't compile unused files
14102 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14106 * LyXAction.C: remove old LFUN_LAYOUTNO
14108 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14110 * paragraph_pimpl.h:
14111 * paragraph_pimpl.C: isTextAt() doesn't need font param
14113 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14116 * lyxlex.C: little cleanup
14118 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14120 * BufferView_pimpl.C: fix insertAscii for insets
14122 2001-12-05 Juergen Vigna <jug@sad.it>
14124 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14125 set the right font on the "multi" paragraph paste!
14127 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14133 * lyxlength.C: remove out-commented code.
14135 * BufferView_pimpl:
14149 * vc-backend.C: change "while(" to "while ("
14151 * lyxlength.[Ch]: add zero function to check if length is zero or
14153 * lyxgluelength.C: use it
14155 2001-12-05 Allan Rae <rae@lyx.org>
14157 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14158 Works for 2.95.3, from what I understand of Garst's reports this should
14159 work for other g++ versions. We're screwed if the abs(int) definition
14160 changed between bugfix releases of gcc.
14162 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14164 * text.C: fix chapter label offset !
14166 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14169 * text.C: fix hfill at end of line, clean up
14171 2001-12-04 Juergen Vigna <jug@sad.it>
14173 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14174 that we force an update of the inset and it's owners if neccessary.
14176 2001-12-03 Juergen Vigna <jug@sad.it>
14178 * text.C (rowLast): simplified code
14180 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14182 * lyxfunc.C: fix show options on timeout
14184 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14186 * screen.C (topCursorVisible): scroll half a page when the cursor
14187 reached top of bottom of screen
14189 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14191 * minibuffer.C: deactivate on loss of focus
14193 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14195 * vspace.[Ch] (operator!=): add operator.
14197 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14199 * BufferView_pimpl.C: refuse to open an inset when
14200 there's a selection.
14202 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14204 * BufferView_pimpl.C: allow to click on RHS of full row insets
14206 2001-11-30 Juergen Vigna <jug@sad.it>
14208 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14209 insets for undo reasons.
14211 2001-11-28 André Pönitz <poenitz@gmx.net>
14213 * vspace.[Ch]: cosmetical changes
14215 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14225 * kbsequence.C: part re-write of old kb code
14228 * WorkArea.C: remove Lgb_bug_find_hack
14230 2001-11-30 José Matos <jamatos@fep.up.pt>
14232 * buffer.C (makeDocBookFile): add a comment to point a hack.
14233 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14234 Fixed a double write of labels.
14236 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14239 * LaTeX.h Fixed bug in LaTeX class where it would not
14240 re-run latex if no depfiles were changed, but the .dvi was removed.
14242 2001-11-28 André Pönitz <poenitz@gmx.net>
14244 * all the files from the change on 2001/11/26:
14245 use lyx::layout_type instead of LyXTextClass::size_type
14246 use lyx::textclass_type instead of LyXTextClassList::size_type
14248 2001-11-29 Juergen Vigna <jug@sad.it>
14250 * text.C: added support for paragraph::isFreeSpacing()
14252 * buffer.C: same as above
14254 * paragraph.h: inserted isFreeSpacing() function to enable
14255 FreeSpacing inside InsetERT.
14257 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14258 of the paragraph's in the cut/copy buffer to 0!
14260 * text2.C (removeRow): remove the assert as it can!
14262 * lyxtext.h: added helper function firstRow returning firstrow and
14263 made firstrow private again.
14265 * BufferView2.C (lockInset): don't relock if we're already locked!
14267 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14268 the only paragraph.
14269 (removeRow): added Assert::(firstrow)
14271 * debug.C: forgot to add INSETTEXT here.
14273 2001-11-28 Juergen Vigna <jug@sad.it>
14275 * sp_spell.C (initialize): changed error text to more general
14276 spellchecker command use (not only ispell!)
14278 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14280 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14282 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14284 * vspace.C: initialise lyxgluelength on failure
14286 2001-11-28 Allan Rae <rae@lyx.org>
14288 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14289 declaration & definition that looks like a function declaration.
14291 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14293 * BufferView2.C (copy):
14294 (copyEnvironment): do not clear the selection when doing a copy.
14296 * text.C (paintFirstRow): compilation fix
14298 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14300 * tabular.C (Latex): correct line count when writing latex.
14302 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14304 * paragraph_pimpl.h:
14305 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14308 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14312 * LColor.C: change vfillline->added_space
14314 * text.C: add markers and text for added space
14316 * vspace.C: fix comment
14318 2001-11-28 André Pönitz <poenitz@gmx.net>
14320 * paragraph.C: whitespace changes
14321 * all the other files from the change on 2001/11/26:
14322 change *::pos_type into lyx::pos_type
14324 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14326 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14327 language of the document when inserting error insets.
14329 2001-11-26 André Pönitz <poenitz@gmx.net>
14331 * BufferView_pimpl.[Ch]:
14339 * paragraph_pimpl.[Ch]:
14342 * text2.C: reduce header dependencies, introduce type for positions
14344 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14346 * <various>: change to use Alert.h
14348 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14350 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14351 when encountering an unknown token.
14352 (readLyXformat2): Show an error message if there were unknown tokens.
14354 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14357 * BufferView_pimpl.C:
14361 * text2.C: use par->isInset()
14363 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14365 * paragraph_pimpl.h:
14366 * paragraph_pimpl.C: cleanup
14368 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14370 * text2.C (removeRow):
14371 * text.C (setHeightOfRow): remove useless (and costly) call to
14374 2001-11-20 Allan Rae <rae@lyx.org>
14376 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14377 Now need Inset*::checkInsertChar() to return true for appropriate
14378 cases so that the characters in the minibuffer will actually be
14381 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14383 * text.C: change the order of the includes.
14384 (workWidth): initialize it at once.
14385 (workWidth): make maxw unsigned
14386 (setHeightOfRow): remove unused variable (inset)
14387 (selectSelectedWord): remove unused variable (inset)
14388 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14390 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14392 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14393 server is not running.
14395 (closeConnection): add debug info when server is disabled.
14397 * ColorHandler.C (getGCForeground): send debug message to GUI
14400 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14402 * kbmap.C (bind): modify because return conventions of
14403 kb_sequence::parse have changed.
14405 * kbsequence.C (parse): only ignore spaces and not any stupid
14406 control character. This avoids tests like s[i] <= ' ', which are
14407 guaranteed to fail with 8bit characters and signed chars.
14408 Change return code to string::npos when there have been no error
14409 (0 was a bad idea when error is at first character)
14411 2001-11-14 José Matos <jamatos@fep.up.pt>
14414 * buffer.C (simpleDocBookOnePar): removed unused argument.
14416 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14418 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14419 insets which are part of a word. Paragraph::isLetter takes care of
14420 that now. Use Paragraph::isInset to identify insets.
14421 (selectSelectedWord): do not test for hyphenation break.
14423 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14424 that protected spaces are considered as spaces.
14426 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14429 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14432 * lyxserver.C: fix it. and small cleanup.
14434 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14436 * BufferView_pimpl.C: use inline helpers
14439 * LaTeXFeatures.C: fix typos
14442 * Spacing.C: move spacing_string into class
14444 * ToolbarDefaults.C: move stuff into namespace anon
14446 * layout.h: update enum
14448 * lyxfunc.C: use better debug
14450 * minibuffer.h: fix typo
14454 * WorkArea.C: add and use Debug::WORKAREA
14458 * text2.C: code re-organisation, inline helpers
14460 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14462 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14463 std::vector.empty().
14465 2001-11-09 Allan Rae <rae@lyx.org>
14467 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14468 '\n's after tables. Tabular and ERT inset work now makes this no
14471 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14474 * minibuffer.C: fix crash, improve drop-down completion
14476 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14479 * lyxserver.C: invalidate fd's when doing endPipe()
14481 2001-11-08 José Matos <jamatos@fep.up.pt>
14483 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14484 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14487 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14489 2001-11-07 José Matos <jamatos@fep.up.pt>
14492 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14495 * buffer.C (sgmlOpenTag):
14496 * buffer.C (sgmlCloseTag): removed debug info.
14498 * buffer.h (sgmlOpenTag):
14499 * buffer.h (sgmlCloseTag): made public.
14501 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14503 * buffer.C (saveParamsAsDefaults):
14504 * lyx_cb.C (MenuLayoutSave): remove
14506 * LyXAction.C (init):
14508 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14510 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14512 * buffer.C (setPaperStuff): removed from here...
14514 * bufferparams.C (setPaperStuff): ... and moved there.
14516 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14520 * XFormsView.C: add support for drop-down completion
14522 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14524 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14527 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14529 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14532 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14534 * lyx_main.C: change ref to known bugs
14536 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14538 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14539 to work around older babel problems.
14541 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14543 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14545 2001-10-24 Juergen Vigna <jug@sad.it>
14547 * tabular-old.C (ReadOld): below variable changes reflected.
14549 * tabular.[Ch]: added ltType struct for longtable header/footer
14550 defines and changed all instances where they are used. Added
14551 future support for double top/bottom rows.
14553 2001-10-24 José Matos <jamatos@fep.up.pt>
14555 * buffer.h (docbookHandleCaption):
14556 * buffer.C (docbookHandleCaption): removed unused function.
14557 (makeDocBookFile): moved docbook supported version to v4.1.
14559 2001-10-24 José Matos <jamatos@fep.up.pt>
14562 * tabular.C (docbookRow): new function to export docbook code of a row.
14563 (DocBook): now honors the longtable flags.
14565 2001-10-23 José Matos <jamatos@fep.up.pt>
14568 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14569 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14571 * buffer.C (makeLinuxDocFile):
14572 (makeDocBookFile): reworked the preamble, more clean, and with
14573 support for lyx defined entities. Changed the document declaration
14574 to be more XML friendly.
14576 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14577 if we need to output XML that should be done with a filter.
14579 2001-10-22 Juergen Vigna <jug@sad.it>
14581 * sp_pspell.h (class PSpell): add alive function needed in the
14582 controller to see if the spellchecker could be started.
14584 2001-10-22 Juergen Vigna <jug@sad.it>
14586 * buffer.C (insertStringAsLines): modify the font for inserting
14587 chars in certain conditions by calling checkInsertChar(font).
14589 2001-10-19 Juergen Vigna <jug@sad.it>
14591 * text.C (workWidth): use getRow instead of wrong algorithm.
14592 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14594 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14599 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14601 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14603 * text.C (workWidth): do not search for the exact row when
14604 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14605 optimization for big documents.
14607 2001-10-18 Juergen Vigna <jug@sad.it>
14609 * text.C (workWidth): new function with added Inset * parameter.
14611 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14613 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14615 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14616 change return type of getColumnNearX.
14619 * text.C (changeRegionCase): use uppercase/lowercase instead of
14622 (rightMargin): simplify code by factoring out the uses of
14627 (appendParagraph): use Paragraph::size_type
14629 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14631 * vspace.C (asLatexString): add a missing break
14633 2001-10-15 Herbert Voss <voss@perce.de>
14635 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14637 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14639 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14642 2001-10-10 André Pönitz <poenitz@gmx.net>
14644 * lyxfunc.C: removed greek_kb_flag.
14646 2001-10-10 Herbert Voss <voss@perce.de>
14648 * lyx_main.C: delete global string help_lyxdir.
14650 2001-10-09 Herbert Voss <voss@perce.de>
14652 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14654 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14656 * lyx_main.C: added global string help_lyxdir.
14658 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14660 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14662 * lyxrc.C (set_font_norm_type): support iso8859-4
14664 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14666 * LaTeX.C (deplog): add another regex for MikTeX
14668 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14670 * lyxrc.C (set_font_norm_type): support iso8859-3
14672 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14674 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14676 * LaTeXFeatures.C: remove special case of french and index
14678 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14679 before \begin{document}). This solves several incompatibilities.
14681 2001-10-03 Garst Reese <reese@isn.net>
14683 * lyx_cb.C: change CheckTex error msg.
14685 2001-10-03 José Matos <jamatos@fep.up.pt>
14687 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14689 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14691 * .cvsignore: update
14693 * lyx_main.C (commandLineVersionInfo): use new style version info.
14695 * buffer.C (writeFile):
14697 (makeLinuxDocFile):
14698 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14700 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14702 * version.h: update to use stuff in version.C
14704 * version.C.in: new file. Contains version information determined
14705 at compile time. This is a merging of version.h and
14708 2001-10-03 Juergen Vigna <jug@sad.it>
14710 * BufferView_pimpl.C (update): don't change "dirty" status in
14713 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14715 * WorkArea.C (c-tor): re-position version string slightly.
14717 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14719 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14720 revert to previous code.
14722 WorkArea.[Ch]: (show, destroySplash): methods removed.
14724 WorkArea.C: rework code so that it's an amalgam of the codes before and
14725 after the splash screen was moved to WorkArea.
14727 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14730 * vspace.C (inPixels):
14733 * buffer.C (insertStringAsLines):
14734 (asciiParagraph): fix types to be large enough
14736 * lyxlex_pimpl.h: change member status from short to int
14738 * layout.h: fix type of endlabeltype
14741 * kbsequence.C (parse): change return type to string::size_type
14743 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14746 * Bullet.C (bulletSize):
14747 (bulletEntry): do not use short ints as parameters
14749 * BufferView2.C (insertLyXFile): change a char to an int.
14751 * WorkArea.C (WorkArea): remove unneeded floats in computation
14753 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14755 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14757 * paragraph.C (asString): Do not ignore newline/hfill chars when
14758 copying to the clipboard.
14760 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14762 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14763 after a multi-line inset.
14765 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14767 * paragraph.C (validate): Set NeedLyXFootnoteCode
14769 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14771 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14772 and decrease-error to decrease.
14774 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14776 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14777 it more readable (should be equivalent)
14779 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14781 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14783 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14785 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14786 of a cursor (row, etc.) after a character has been deleted
14787 (deleteEmptyParagraphMechanism): call the method above on _all_
14788 cursors held by the LyXText when a double space has been
14791 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14793 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14795 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14797 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14798 background. Use greyOut() and the new show() methods to toggle between
14799 the foreground and background. Add code to remove the splash after
14800 its initial showing.
14802 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14803 (create_forms): no longer call Dialogs::showSplash.
14805 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14807 * .cvsignore: add version_info.h
14809 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14811 * version_info.h.in: new file
14813 * Makefile.am: add version_info.h.in
14815 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14816 version_info.h instead of VERSION_INFO
14818 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14820 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14821 The ERT inset now returns string().
14823 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14825 * lyxtext.h, text.C (selectNextWord): renamed as
14826 selectNextWordToSpellcheck.
14828 * text.C (selectNextWordToSpellcheck): Modified to not select
14829 words inside an ERT inset.
14831 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14833 * lyx_cb.C (MenuLayoutSave): change a bit the question
14835 * sp_base.h: include <sys/types.h>
14837 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14839 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14841 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14843 * several files: fix typos in user-visible strings
14845 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14847 * text2.C (pasteSelection): do not set the selection, since it
14848 will be cleared later. Actually, the intent was to fix the way the
14849 selection was set, but I figured rmoving the code was just as good.
14851 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14853 * FontLoader.C (available): Check if font is available without
14856 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14858 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14860 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14862 * lyxrc.[Ch]: added display_graphics variable and associated code.
14864 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14866 * bufferparams.C (hasClassDefaults): new method. Returns true if
14867 the buffer parameters correspond to known class defaults
14869 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14871 * XFormsView.C (show): set minimum size to the main window.
14873 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14875 * text2.C (copySelection):
14877 * lyxfind.C (LyXReplace):
14878 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14879 LyXText::selectionAsString.
14881 * paragraph.C (asString): add "label" argument to the second form
14883 * text2.C (selectionAsString): add "label" argument and pass it to
14884 Paragraph::asString.
14886 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * lyx_main.C (commandLineHelp): remove version information
14890 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14892 * lyx_main.C: add -version commandline option
14894 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14896 * paragraph.h: make the optional constructor arg required instead.
14897 some modifications to other files because of this.
14899 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14901 * lyxserver.C (C_LyXComm_callback): make it static
14903 * lyx_main.C (error_handler): make it static
14905 * lyx_gui.C (LyX_XErrHandler): make it static
14907 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14909 * WorkArea.C: make the extern "C" methods static.
14911 * Makefile.am (lyx_LDADD): simplify
14913 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14915 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14916 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14918 * LyXAction.C (init):
14919 * lyxfunc.C (dispatch): associated code removal.
14921 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14923 * lyxfont.h (isSymbolFont): shut off warning
14925 * text.C (setHeightOfRow):
14926 (getVisibleRow): fix crash with empty paragraphs which have a
14929 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14931 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14934 2001-09-04 José Matos <jamatos@fep.up.pt>
14937 * tabular.C (docbook): rename docBook method to docbook.
14939 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14941 * Makefile.am: add dependencies to main.o.
14943 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14945 * FontLoader.C (available): Return false if !lyxrc.use_gui
14947 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14949 * FontInfo.C (query):
14950 * converter.C (view):
14951 * importer.C (Import):
14952 * exporter.C (Export): Can not -> cannot.
14954 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14956 * BufferView_pimpl.C: allow to create index inset even if
14959 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14961 * buffer.C (getLists): replace boost::tie code with an explicit pair
14962 as boost::tie can break some compilers.
14964 * iterators.h: Added a std:: declaration to the return type of
14967 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14969 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14972 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14974 * iterators.[Ch]: New files. Provide paragraph iterators.
14976 * buffer.C (changeLanguage): Use paragraph iterators.
14977 (isMultiLingual): ditto
14979 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14981 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14983 * FontLoader.C: Support for cmr font.
14985 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14987 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14988 (available): New method.
14990 * FontInfo.C (getFontname): Use scalable fonts even when
14991 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14994 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14996 * converter.C (Formats::view): reverted! Incorrect fix.
14998 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15000 * converter.C (Formats::view): only output the -paper option
15001 if the dvi viewer is xdvi, thereby fixing bug #233429.
15003 2001-08-23 Herbert Voss <voss@perce>
15005 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15007 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15009 * Spacing.h (Spacing): Set space to Default on in the default
15012 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15014 * vc-backend.h (RCS::versionString): add RCS to version
15015 (CVS::versionString): add CVS to version
15017 * vc-backend.C (scanMaster): do not add CVS to version.
15018 (scanMaster): do not add RCS to version
15020 * lyxvc.C (versionString): new method
15022 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15024 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15026 * Spacing.C (set): initialize fval
15028 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15030 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15033 2001-08-16 Juergen Vigna <jug@sad.it>
15035 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15037 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15039 * BufferView_pimpl.C:
15042 * text2.C: setParagraph takes linespacing now
15044 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15046 * LyxAction.C: add internal LFUN_CITATION_INSERT
15048 * LyXView.C: actually apply fix
15050 * bufferlist.C: fix open non-existent file
15052 * lyxfind.C: fix indentation
15054 * lyxfunc.C: remove unneeded assert, fix typo
15056 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15058 * MenuBackend.C: use "Floatname List"
15060 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15062 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15063 when converting LaTeX layout to insetERT.
15064 Generate a non-collapsed float when reading old float
15066 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15068 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15071 2001-08-13 Juergen Vigna <jug@sad.it>
15073 * text.C (fill): return 0 instead of 20 as this seems to be the more
15076 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15078 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15081 2001-08-13 Juergen Vigna <jug@sad.it>
15083 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15085 (SearchBackward): comment out the unlocking of the inset_owner this
15086 should not be needed!
15088 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15090 * Many files: Remove inherit_language, and add latex_language
15092 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15093 collapsible insets.
15095 2001-08-10 Juergen Vigna <jug@sad.it>
15097 * text.C (prepareToPrint): fixed hfill-width in draw!
15099 * BufferView2.C (selectLastWord): save the selection cursor as this
15100 now is cleared in the function LyXText::clearSelection!
15102 2001-08-08 Juergen Vigna <jug@sad.it>
15104 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15105 BACKSPACE type functions.
15107 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15108 is only cutted from the document but not put in the cut-buffer, where
15109 still the old stuff should be.
15111 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15113 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15115 * tabular.C (SetWidthOfCell): fixed special case where the width
15117 (LeftLine): handle '|' in align_special.
15119 (LeftAlreadyDrawed): ditto
15120 (SetWidthOfCell): ditto
15122 2001-08-07 Juergen Vigna <jug@sad.it>
15124 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15126 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15128 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15129 * lyxlex.[hC]: ditto
15131 2001-08-06 Juergen Vigna <jug@sad.it>
15133 * text.C (getVisibleRow): fix up row clearing a bit.
15135 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15137 * minibuffer.C: make sure the X server sees the changes in the input.
15139 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15141 * paragraph.C (getFont): split into...
15142 (getLabelFont): this
15143 (getLayoutFont): and this
15144 * paragraph_pimpl.C (realizeFont): calling this
15146 * text2.C (getFont): split into...
15147 (getLayoutFont): this
15148 (getLabelFont): and this
15149 (realizeFont): all three calling this
15151 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15154 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15156 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15158 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15160 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15161 layouts from the Quote inset insertion.
15163 2001-08-03 Juergen Vigna <jug@sad.it>
15165 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15167 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15168 only if status not is already CHANGED_IN_DRAW (second level).
15170 * text.C (draw): don't set the need_break_row when inside an
15173 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15175 * buffer.C (parseSingleLyXformat2Token): handle more latex
15178 * bufferview_funcs.[hC]: change function names to
15179 begin with small char, adjust other files.
15181 2001-08-02 André Pönitz <poenitz@gmx.net>
15184 BufferView_pimpl.C: remove broken special code for math-greek
15186 2001-08-02 Juergen Vigna <jug@sad.it>
15188 * BufferView_pimpl.C (update): redone this function so that we
15189 update the text again if there was a CHANGE_IN_DRAW.
15191 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15192 (drawFromTo): added a new internal bool which is used by draw() and
15194 (general): some cursor drawing problems fixed.
15196 2001-08-01 Juergen Vigna <jug@sad.it>
15198 * lyxfind.C (LyXFind): fixed
15199 (SearchForward): ditto
15200 (SearchBackward): ditto
15202 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15203 spurius drawing of the cursor in the main area.
15205 * text2.C (status): small fix which could lead to a segfault!
15206 (clearSelection): remove unneeded BufferView param.
15208 2001-08-01 André Pönitz <poenitz@gmx.net>
15210 * lyxfunc.C: small change due to changed mathed interface
15212 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15214 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15216 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15218 * lyxfunc.c: fail gracefully if file doesn't exist
15223 * BufferView_pimpl.C: IsDirWriteable() proto changed
15225 * LyXView.C: fix updateWindowTitle() to store the last title
15227 2001-07-31 Juergen Vigna <jug@sad.it>
15229 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15230 the font (wrong since using of Paragraph::highestFontInRange).
15232 * paragraph.C (highestFontInRange): added a default_size parameter.
15234 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15235 (setHeightOfRow): reformat
15237 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15239 * converter.[hC] + affected files: move to (inital-char)lowercase
15242 * ParagraphParameters.C (ParagraphParameters): remove commented code
15244 * PainterBase.[Ch]: remove commented code
15246 * LaTeXFeatures.h: add "bool floats" for float.sty
15248 * LaTeXFeatures.C (LaTeXFeatures): init floats
15249 (require): handle float
15250 (getPackages): do it with floats
15252 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15254 * BufferView_pimpl.C (Dispatch): improve handling of
15255 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15257 * commandtags.h: #include lyxfont.h here temporarily to avoid
15260 * bufferlist.h: include LString.h here.
15262 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15264 * text2.C (getStringToIndex): new method.
15266 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15268 * *: Reduced header file dependencies all over.
15270 2001-07-30 Baruch Even <baruch@lyx.org>
15272 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15274 2001-07-29 Baruch Even <baruch@lyx.org>
15276 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15278 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15280 * ParameterStruct.h (endif): add a default constructor to make
15281 sure that all variables is initialized.
15283 * ParagraphParameters.C (ParagraphParameters): adjust
15285 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15287 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15288 index; also, check that there is something to index, and that it
15289 does not span over several paragraphs.
15290 (doubleClick): use WHOLE_WORD_STRICT for double click.
15292 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15294 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15297 2001-07-26 Baruch Even <baruch@lyx.org>
15299 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15300 an InsetFig figure, backwards compatible reading of old figure code.
15302 2001-07-27 Juergen Vigna <jug@sad.it>
15304 * text2.C: font.realize function adaption.
15306 * text.C (draw): add a warnings lyxerr text if needed.
15308 * layout.C: font.realize function adaption.
15310 * language.C: add inherit_language and implement it's handlings
15312 * bufferview_funcs.C (StyleReset): remove language parameter from
15313 font creation (should be language_inherit now).
15315 * bufferparams.C (writeFile): handle ignore_language.
15317 * paragraph.C (getFontSettings): the language has to be resolved
15318 otherwise we have problems in LyXFont!
15320 * lyxfont.C (lyxWriteChanges): added document_language parameter
15321 (update): removed unneeded language parameter
15323 * paragraph.C (validate): fixed wrong output of color-package when
15324 using interface colors for certain fonts in certain environments,
15325 which should not seen as that on the final output.
15327 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15329 * BufferView_pimpl.C:
15334 * LyXAction.C: add thesaurus support
15337 * lyxfind.C: add "once" parameter, for thesaurus, to not
15338 move to the next match
15340 2001-07-26 Juergen Vigna <jug@sad.it>
15342 * lyxfont.C (realize): honor ignore_language too!
15345 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15347 * text.C (draw): one place more for ignore_language to not draw
15350 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15352 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15354 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15356 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15357 the minipage conversion problem.
15359 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15361 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15364 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15366 * BufferView.h: don't forward declare WorkArea
15368 * BufferView.C: don't include WorkArea.h
15370 2001-07-25 André Pönitz <poenitz@gmx.net>
15374 * lyxfunc.C: new LFUN 'math-space'
15376 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15378 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15380 * text2.C (toggleInset): call open/close
15382 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15384 * lyxfunc.C (dispatch): add debug for the disabled case
15386 * font.C (buttonText): make similar to rectText
15388 * buffer.C (readInset): comment out parsing of insetlist and
15391 * PainterBase.C (rectText): small correction
15393 * BufferView_pimpl.C: comment out insettheorem and insetlist
15394 * LyXAction.C: ditto
15395 * commandtags.h: ditto
15397 2001-07-24 Juergen Vigna <jug@sad.it>
15399 * text.C (draw): honor the ignore_language.
15401 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15403 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15405 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15408 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15410 * lyxtext.h: remove unused (and unimplemented) methods
15412 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15414 * text.C (getVisibleRow): honor background color
15417 * Painter.h: remove default color argument for fillRectangle
15419 * text.C (backgroundColor): new method
15421 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15423 * text.C (getVisibleRow): adjust
15425 * font.[Ch] (rectText): new method, metrics
15426 (buttonText): new method, metrics
15428 * PainterBase.[hC]: make rectText and buttonText always draw and take
15431 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15433 * ToolbarDefaults.C (read):
15434 * MenuBackend.C (read): allow escaping in all strings
15436 * BufferView_pimpl.C (insertAndEditInset): new method.
15437 (Dispatch): use insertAndEditInset whenever appropriate.
15439 * BufferView_pimpl.C (insertNote): removed
15441 * BufferView_pimpl.C (smartQuote): new method, moved from
15442 BufferView; if an insetquote cannot be inserted, insert a '"'
15445 * BufferView2.C: remove insertCorrectQuote();
15447 * lyxfunc.C (getStatus): Add support for all remaingin
15448 inset-insert lfuns.
15450 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15452 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15453 command (necessary to pass " as parameter of self-insert.
15455 * text.C (selectWordWhenUnderCursor):
15456 (selectWord): add word_location parameter
15457 (selectWordWhenUnderCursor): same + remove special code for word
15459 (selectNextWord): use kind() to guess type of insetspecialchar,
15462 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15463 (insertErtContents): create ert insets as collapsed.
15464 (readInset): better compatibility code for Info inset.
15466 2001-07-20 Juergen Vigna <jug@sad.it>
15468 * lyxfunc.C (dispatch): use always LyXFind now!
15470 * text2.C (init): add a reinit flag so that the LyXText can be
15471 reinited instead of deleted and reallocated (used in InsetText).
15473 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15479 2001-07-18 Juergen Vigna <jug@sad.it>
15481 * text.C (selectNextWord): handle insets inside inset by calling
15482 always the bv->text functions so that we can go up the_locking_inset!
15484 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15485 in strange locations when inside an inset!
15487 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15488 handling to include insets.
15490 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15492 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15494 * LyXAction.C (init):
15496 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15497 LIGATURE_BREAK, since the name is so stupid.
15499 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15501 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15504 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15506 * sp_form.[Ch]: remove.
15508 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15510 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15513 * src/buffer.C (readInset): ditto.
15515 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15517 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15518 menuSeparator(), endOfSentenceDot(), ldots() and
15519 hyphenationPoint(), which are therefore removed.
15520 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15522 * LyXAction.C (init):
15523 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15525 * paragraph.C (getWord): removed.
15527 * BufferView_pimpl.C (Dispatch): use last word or selection for
15528 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15530 * lyx_main.C (queryUserLyXDir): do not ask before creating
15531 user_dir, except if it has been named explicitely.
15533 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15535 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15536 a document of zero size.
15538 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15540 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15541 approriately in the c-tor and in require().
15542 (getPackages): output the appropriate LaTeX for natbib support.
15544 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15545 variables "use_natbib" and "use_numerical_citations" when reading the
15547 (readInset): read the various natbib cite commands.
15548 (validate): white-space change.
15550 * bufferparams.[Ch]: new variables "bool use_natbib" and
15551 "bool use_numerical_citations".
15552 (writeFile): output them in the LyX file.
15554 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15556 * lyxfunc.C (getStatus): add support for all the inset insertion
15559 * text2.C (insertInset):
15560 * paragraph.C (insetAllowed):
15561 * BufferView_pimpl.C (insertInset): update to take in account the
15562 renaming of insertInsetAllowed
15564 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15566 * text2.C (getInset): new method. returns inset at cursor position.
15568 * BufferView_pimpl.C (Dispatch): changes because of this.
15570 * LyXAction.C (init): rename open-stuff to inset-toggle.
15572 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15574 * text2.C (toggleInset): renamed from openStuff; use
15577 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15579 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15581 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15583 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15585 * buffer.C (readLyXformat2): Add filename to the error dialog
15587 2001-07-18 Juergen Vigna <jug@sad.it>
15589 * tabular.C (GetCellNumber): put an assert here instead of the check!
15591 2001-07-17 Juergen Vigna <jug@sad.it>
15593 * BufferView_pimpl.C (toggleSelection): adapted too.
15595 * text.C (selectNextWord): adapted for use with insets.
15596 (selectSelectedWord): ditto
15598 2001-07-17 Juergen Vigna <jug@sad.it>
15600 * sp_spell.C (PSpell): fix initialitation order.
15602 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15604 * paragraph.C: spacing
15606 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15608 * sp_spell.C: repair language selection for pspell
15610 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15612 * lyxfunc.h: change more methods to begin with lower char.
15614 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15616 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15617 for unknown layouts.
15619 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15621 * buffer.C (readLyXformat2): Generate an error dialog if there are
15624 2001-07-16 Juergen Vigna <jug@sad.it>
15626 * sp_spell.C: always compile ISpell part.
15628 * lyxrc.C: added use_pspell entry and it's handling.
15630 2001-07-13 Juergen Vigna <jug@sad.it>
15632 * sp_spell.C: removed double includes.
15634 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15636 Consistent use of Lsstream.h:
15637 * Lsstream.h: added using std::stringstream for consistencies sake.
15639 * buffer.C: removed using std::stringstream
15641 * lyxfont.C (stateText):
15642 * paragraph.C (asString):
15643 * text.C (selectNextWord, selectSelectedWord):
15644 * text2.C (setCounter):
15645 * vspace.C (asString, asLatexString):
15646 std::ostringstream -> ostringstream.
15648 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15650 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15651 * commandtags.h: add LFUN_HELP_ABOUTLYX
15652 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15654 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15656 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15658 * lyx_gui_misc.C: remove spellchecker
15659 * lyxfunc.C: showSpellchecker
15661 * sp_ispell.h: added
15662 * sp_pspell.h: added
15663 * sp_spell.C: added
15664 * sp_form.[Ch]: removed
15665 * spellchecker.[Ch]: removed
15667 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15669 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15671 (simpleTeXSpecialChars): Simply print the input character without
15672 any special translation if pass_thru is set.
15674 * layout.h: Added bool pass_thru to layout class for being able to
15675 implement pass through of a paragraph for Literate Programming.
15677 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15678 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15679 * layout.C (Read): add "passthru" to list of layout tags and add
15680 code to set the pass_thru boolean when it is read.
15682 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15684 * trans_decl.h: remove allowed from KmodInfo
15686 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15687 remove allowed code
15690 * paragraph_pimpl.C (erase): use boost::prior
15692 * Painter.C (text): use data() instead of c_str() when length is
15694 * WorkArea.C (putClipboard): ditto
15695 * font.h (width): ditto
15697 * BufferView2.C: use it-> instead of (*it). for iterators
15699 * paragraph_pimpl.C: ditto
15700 * paragraph.C: ditto
15701 * minibuffer.C: ditto
15702 * language.C: ditto
15704 * encoding.C: ditto
15705 * counters.C: ditto
15706 * converter.C: ditto
15708 * Variables.C: ditto
15709 * TextCache.C: ditto
15710 * MenuBackend.C: ditto
15711 * LyXAction.C: ditto
15713 * FloatList.C: ditto
15714 * DepTable.C: ditto
15715 * ColorHandler.C (LyXColorHandler): ditto
15717 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15719 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15721 * text2.C (openStuff): reintroduce this method (which had been
15722 nuked in NEW_INSETS frenzy).
15724 * lyxfunc.C (Dispatch): when an action has not been handled, use
15725 its name in the error message, not its number.
15727 * paragraph.C (inInset): change method name to begin with lowercase.
15730 * text2.C: updates because of this.
15732 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15734 * ToolbarDefaults.C (add): add spaces in error message
15736 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15738 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15739 (readLyXformat2): rename return_par to first_par, use lyxlex's
15740 pushToken and remove the manual push handling.
15741 (parseSingleLyXformat2Token): add another ert comp. variable:
15742 in_tabular, rename return_par to first_par. handle newlines better
15744 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15746 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15748 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15750 * text2.C (getParFromID): removed
15752 * buffer.C (getParFromID): new method moved form lyxtext.
15753 * BufferView2.C (insertErrors): adjust
15754 (setCursorFromRow): adjust
15755 * BufferView_pimpl.C (restorePosition): adjust
15756 * lyxfunc.C (Dispatch): adjust
15757 * undo_funcs.C (textUndo): adjust
15759 (textHandleUndo): adjust
15760 (textHandleUndo): adjust
15762 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15764 * buffer.C: up' the LYX_FORMAT
15766 * lyxfont.h: turn NO_LATEX on as default
15768 * buffer.C (insertErtContents): new methods of tex style compability.
15769 (parseSingleLyXformat2Token): use it several places.
15770 * tabular.C (OldFormatRead): and here
15772 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15774 * text2.C: remove some commented code.
15777 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15778 * trans.C: changes because of the above.
15780 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15782 * text2.C (setCounter): Fix counters bug with bibliography layout.
15784 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15786 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15787 own member functions
15788 (simpleTeXSpecialChars): ditto
15790 2001-07-06 Juergen Vigna <jug@sad.it>
15792 * a lot of files: changed the access to LyXText::status and the
15793 call of undo-functions.
15795 * undo.[Ch]: added a inset_id to the undo informations.
15797 * undo_funcs.[Ch]: added and moved here all undo functions.
15799 * lyxtext.h: give the status enum a weight, made status_ a private
15800 variable and made accessor functions for it, removed the whole bunch
15801 of undo-functions as they are now in their own file, make some
15802 functions publically available. Added function ownerParagraph with
15805 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15806 made InInset() a const function, added getParFromID() function.
15808 * buffer.[Ch]: added const version for inset_iterator functions,
15809 added getInsetFromID() function.
15811 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15812 changed undo functions for new version.
15814 2001-07-05 Juergen Vigna <jug@sad.it>
15816 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15817 unknow mechanism does not call the proper constructor but only this
15818 one also if I request the other!?
15820 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15822 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15824 * text2.C (LyXText): use initialization lists.
15826 * lyxtext.h (Selection): initialize set_ and mark_
15827 (init): remove method
15829 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15831 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15833 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15835 * screen.[Ch]: change method names to begin with lowercase
15837 * BufferView_pimpl.C (updateScrollbar): simplify further and
15838 hopefully make it a bit faster.
15840 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15842 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15843 calling directly xforms functions.
15845 * Painter.C (Painter):
15846 * lyx_cb.C (MenuWrite):
15847 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15850 * lyx_gui.C: remove bogus guiruntime extern declaration.
15852 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15854 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15856 (redoDrawingOfParagraph): ditto
15857 (redoParagraphs): ditto
15858 (cutSelection): don't create a object for CutAndPaste use the
15859 static method directly
15860 (pasteSelection): ditto
15862 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15865 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15867 * modifications to some other files because of this.
15869 * Makefile.am (lyx_SOURCES): add XFormsView
15871 * XFormsView.[Ch]: new files
15873 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15874 the main window. Move the gui dependent stuff to XFormsView
15876 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15878 * tabular.C (GetCellInset): update cur_cell also in the row/col
15879 version of this function.
15881 * lyxfunc.C: no need to include figure_form.h here.
15887 * lyxvc.C: no need to include forms.h here.
15889 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15891 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15893 * lyxfunc.C (Dispatch):
15895 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15896 constructor argument.
15898 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15900 * paragraph.C (Paragraph): dont't clear, and just set layout.
15901 (makeSameLayout): use params's copy contructor.
15903 * ParagraphParameters.[Ch] (makeSame): delete method
15905 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15907 * Variables.[Ch]: fix indentation, rename set to isSet
15909 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15911 * lyxfunc.C (Dispatch): fix typo
15913 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15915 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15918 * bufferlist.C: include assert.h for emergencyWrite().
15920 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15922 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15923 give up at last (bug #425202) !
15925 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15931 * spellchecker.C: strip spellchecker options and bring up
15932 preferences tab instead
15934 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15936 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15937 the istringstream constructor
15939 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15941 * paragraph.C (getLayout): fix return value
15943 * paragraph.h: do not declare getLayout as inline.
15945 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15947 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15949 * lyxcursor.h (operator<): new func
15950 (operator>): new func
15951 (operator>=): new func
15952 (operator<=): new func
15954 * text.C (changeCase): use selection.start and selection.end
15955 (changeRegionCase): require from to be <= to. Require par to be a
15958 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15960 2001-06-27 Juergen Vigna <jug@sad.it>
15962 * text.C (cursorLeftOneWord): changed to return the cursor and added
15963 overlay with BufferView * parameter which calls this one.
15965 (selectWord): use new getWord function.
15966 (changeCase): renamed from changeWordCase as and extended to work
15967 also on selections.
15969 * lyxtext.h: added enum word_location
15971 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15972 changeCase as this operates now also on selections.
15974 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15976 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15978 * many files: send debug output to Debug::INFO instead of
15981 * converter.C (View):
15983 (Move): send debug output to Debug::FILES instead of console.
15985 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15987 * lyxfunc.C (getStatus): use func_status
15989 * func_status.h: new header, describing the results of
15990 LyXFunc::getStatus;
15992 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15995 2001-06-25 The LyX Project <jug@sad.it>
15997 * buffer.C (sgmlOpenTag):
15999 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16001 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16003 * text2.C: remove some dead code
16005 * tabular.C (GetCellInset): store the last cell checked (gotten)
16007 * tabular.h: add the helper for the speedup
16009 * lyxtext.h: remove some dead code
16011 2001-06-26 The LyX Project <Asger>
16013 * paragraph.C: Change export to LaTeX of alignment to
16014 \begin{center} and family for better roundtrip work with reLyX.
16016 * Tune the math drawing a bit.
16018 2001-06-25 The LyX Project <Asger>
16020 * LColor.C (LColor): New color for math background. New color
16023 2001-06-25 The LyX Project <jug@sad.it>
16025 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16027 * lyxfunc.C (Open):
16028 * bufferlist.C (newFile): do not restrict to files ending with
16031 * BufferView_pimpl.C (MenuInsertLyXFile):
16033 2001-06-24 The LyX Project <jug@sad.it>
16035 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16038 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16040 * lyxtext.h: rename most methods to begin with a small char.
16041 Lots of changes because of this.
16043 * paragraph.C (Paragraph): do not call fitToSize
16044 (erase): call Pimpl::erase
16045 (insertChar): call Pimpl::insertChar
16046 (insertInset): call Pipl::insertInset
16047 (breakParagraph): do not call fitToSize
16048 (breakParagraphConservative): do not call fitToSize
16049 (fitToSize): remove method
16051 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16053 2001-06-24 The LyX Project <Asger>
16055 * Fix Qt compilation^2
16057 2001-06-24 The LyX Project <jug@sad.it>
16059 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16060 depthHook(getDepth()-1).
16063 * ParagraphParameters.h:
16064 * ParameterStruct.h: change type of depth to unsigned int ==
16065 depth_type. Many adaptations to other files before of that.
16067 2001-06-24 The LyX Project <Asger>
16069 * Fix Qt compilation.
16071 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16073 * paragraph.h: renamed several methods to begin with small letter.
16074 several changes to many parts of the code because of this.
16076 2001-06-23 The LyX Project <jug@sad.it>
16078 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16079 rewritten to discard all double spaces when KeepEmpty is off
16080 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16081 to only handle newlines but not fiddle with spaces and friends.
16083 * lyxfunc.C (MenuNew): when doing 'new from template', use
16084 template_path as default directory
16086 2001-06-23 The LyX Project <Asger>
16088 * Clean-up of header file includes all over
16089 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16091 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16093 * paragraph.h: renamed from lyxparagraph.h
16095 2001-06-23 Asger <lyx@violet.home.sad.it>
16097 * Buffer.h: Removed Buffer::resize
16098 * BufferList.h: Removed BufferList::resize
16099 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16100 the document lazily when we change the width, or the font settings.
16102 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16104 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16106 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16108 * buffer.h: remove out of date comment
16110 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16113 * screen.C: fix "theoretical" GC leak
16115 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16117 * LaTeX.C (scanAuxFile):
16118 (deplog): remove trailing \r when reading stream (useful under
16121 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16123 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16124 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16125 and BufferView::theLockingInset(Inset*), so should use them and not
16126 access bv_->text->the_locking_inset directly.
16128 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16130 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16133 * tex-defs.h: remove old unused file
16135 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16137 * BufferView_pimpl.C: fix typo, remove minibuffer message
16138 when buffer has loaded
16140 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16142 * lyxfunc.C (Dispatch): use stringstream
16143 (MenuNew): use stringstream
16144 (Open): use stringstream
16146 * importer.C (Import): use stringstream
16148 * bufferview_funcs.C (CurrentState): use stringstream
16150 * LaTeX.C (run): use stringstream
16152 * BufferView_pimpl.C (savePosition): use stringstream
16153 (restorePosition): use stringstream
16154 (MenuInsertLyXFile): use stringstream
16156 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16169 * vspace.C: removed // -*- C++ -*- as first line.
16172 * version.h: added // -*- C++ -*- as first line.
16174 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16176 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16178 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16181 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16183 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16186 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16188 * gettext.C: include LString.h even when --disable-nls is on.
16190 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16192 * converter.h (Get): changed argument type from int to
16193 FormatList::size_type to avoid unnecessary conversion.
16195 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16198 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16200 * gettext.h: include LString.h even when --disable-nls is on.
16202 2001-06-07 Juergen Vigna <jug@sad.it>
16204 * text.C (BreakAgain): subst spaces with tabs.
16206 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16207 (resizeInsetsLyXText): set force on resizeLyXText.
16209 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16211 * gettext.h (gettext_init):
16212 (locale_init): use a real definition instead of a macro
16214 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16216 * Bufferview_pimpl.C:
16218 * LColor.C: further lcolor tidies
16220 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16222 * BufferView_pimpl.C (updateScrollbar): simplify.
16224 * BufferView2.C: don't include insets/insetinfo.h, change
16225 prototype for insertInset and call the Pimpl version. let
16226 updateInset call Pimpl version.
16228 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16229 gotoInset to BufferView::Pimpl
16231 2001-06-01 Juergen Vigna <jug@sad.it>
16233 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16234 inside a LockingInset (is the update needed at all?).
16236 2001-05-31 Juergen Vigna <jug@sad.it>
16238 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16239 here not the old one otherwise how should we compare it afterwards
16242 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16247 * FontInfo.C: bring C functions into global namespace when
16250 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16252 * LString.h: make sure config.h has been loaded before LString.h.
16254 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16255 (one for each char read by EatLine!).
16257 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16260 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16262 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16263 to the same as the par we break from
16265 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16267 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16269 * MenuBackend.C (expand): also create menu entries for wide
16270 versions of the floats.
16272 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16274 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16276 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16277 frontends/Makefile.am
16283 * tabular.C (getTokenValue): add std::
16285 * tabular-old.C (getTokenValue): add std::
16286 (getTokenValue): ditto
16287 (getTokenValue): ditto
16289 * screen.C (ToggleSelection): adjust
16291 * lyxtext.h: put selection cursors inside a Selection struct.
16293 * lyxfunc.C (moveCursorUpdate): adjust
16295 * lyxfont.C (latexWriteStartChanges): add std::
16297 * lyxfind.C: adjust
16299 * font.h: delete with(char const *, LyXFont const &)
16301 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16303 * FontInfo.C (getFontname): add std::
16305 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16306 (workAreaButtonPress): adjust
16307 (tripleClick): adjust
16309 (moveCursorUpdate): adjust
16312 * BufferView2.C (gotoInset): adjust
16314 2001-05-30 Juergen Vigna <jug@sad.it>
16316 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16317 to check pspell I add this as default as I now have new pspell
16318 libraries and they seem to use this.
16320 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16322 * text2.C (CutSelection): make the cursor valid before the call to
16325 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16327 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16328 relied on 0 terminated strings and other horrors. Bug found due to
16329 the new assert in lyxstring!
16331 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16334 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16336 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16339 * lyxfunc.C (processKeySym): change method of getting to the
16342 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16343 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16344 * BufferView_pimpl.[Ch]: here as private methods.
16346 2001-05-28 Juergen Vigna <jug@sad.it>
16348 * text.C (SetHeightOfRow): added the update() call again as it is
16349 needed to initialize inset dimensions!
16351 2001-05-16 Juergen Vigna <jug@sad.it>
16353 * text2.C (SetCharFont): Add new function with BufferView * and
16354 bool toggleall parameters for setting insets internal fonts.
16355 (SetFont): Freeze the undo as we may change fonts in Insets and
16356 all this change should be inside only one Undo!
16358 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16359 setting font's in insets as for them we have the SetFont function!
16361 2001-05-15 Juergen Vigna <jug@sad.it>
16363 * text2.C (ClearSelection): to be sure we REALLY don't have any
16366 * tabular.C (TeXCellPreamble): fixed the left border problem for
16369 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16371 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16374 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16376 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16377 LFUN_BREAKPARAGRAPH.
16379 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16380 help test to "internal only", similar for LFUN_INSERT_URL
16382 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16383 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16384 auto_region_delete and deadkeys.
16386 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16389 * LColor.C: remove some dead entries, tidy a little
16391 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16393 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16395 (Dispatch): implement LFUN_ESCAPE
16397 * commandtags.h: add LFUN_ESCAPE
16399 * LyXAction.C (init): add entry for LFUN_ESCAPE
16401 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16402 Remove commented code.
16403 (insertNote): moved here
16404 (open_new_inset): moved here
16406 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16409 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16411 * kbmap.C (findbinding): clean it up and make it work correctly.
16413 * lyx_main.C (init): do not pass argc and argv as parameters
16415 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16417 * buffer.C: fix path for OS/2 & Win32
16421 * lyx_main.C: Added os:: class.
16423 * os2_defines.h: update
16425 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16427 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16428 better by trying again with reduced state.
16430 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16432 * lyxrc.C (read): print error about invalid key sequence only when
16433 debugging (because not all latinX keysyms are known to some X
16436 * kbsequence.C (getiso): add a few std:: qualifiers
16437 (getiso): comment out extra return statement.
16439 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16441 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16443 (Dispatch): enhance the accent inset a bit. (not perfect)
16445 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16447 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16449 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16451 * bufferlist.C (emergencyWrite): fix assert() call
16453 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16455 * text.C (InsertChar): Added trivial patch to only send the "you
16456 can not do multiple spaces this way" message once during a
16459 2001-05-08 Baruch Even <baruch@lyx.org>
16461 * Makefile.am: Changed order of libraries to get LyX to link properly
16462 with the gnome frontend.
16464 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16466 * LaTeXFeatures.h: add a std:: qualifier
16468 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16470 * paragraph.C (String): use stringstream
16472 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16474 * paragraph.C (writeFile): remove footflag arg
16476 * buffer.C (makeLaTeXFile): use stringstream
16477 (latexParagraphs): remove footnot gurba
16479 * LaTeXFeatures.C (getPackages): use stringstream
16480 (getMacros): likewise
16481 (getTClassPreamble): likewise
16482 (getFloatDefinitions): new method
16484 * paragraph.C (writeFile): reindent
16487 * WorkArea.h: revert the xpos + etc changes.
16489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16491 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16493 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16494 (pasteSelection): likewise
16495 * text2.C (CreateUndo): likewise
16497 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16499 * minibuffer.C (peek_event): temporarily reduce the functionality
16500 of the minibuffer (to allow args on lfuns)
16502 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16503 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16505 * buffer.C (readInset): add compability reading of old float
16506 lists, add reading of new style float list.
16507 (readInset): avoid reevaluation of inscmd.getCmdName()
16508 (getLists): reindent
16510 * MenuBackend.C (MenuItem): implement parsing of
16511 md_floatlistinsert and md_floatinsert.
16512 (expand::LastFiles): move initalizaton of iterators out of loop,
16513 avoid reevaluation.
16514 (expand::Documents): introduce typdedef vector<string> Strings,
16516 (expand::ExportFormats): introduce typedef vector<Format const *>
16517 Formats, and use it.
16518 (expand): implement FloatListInsert and FloatInsert.
16520 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16521 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16522 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16524 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16526 (Dispatch::LFUN_FLOAT_LIST): implement
16528 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16530 * LaTeX.C (run): Fix problem with --export code.
16532 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16534 * BufferView.[Ch] (workarea): removed.
16535 (getClipboard) new method; wrapper for workarea()->getClipboard()
16537 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16540 * WorkArea.h (width, height, xpos, ypos): These methods all
16541 returned the dimensions of the work_area sub-area of WorkArea,
16542 resulting in a position error if the WorkArea were resized. Now
16543 return the dimensions of the entire WorkArea.
16545 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16547 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16549 * LaTeX.C (deplog): correct the syntax of regex reg1
16551 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16553 * undo.C: remove !NEW_INSETS cruft
16555 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16557 * text2.C: remove !NEW_INSETS cruft
16559 * text.C: remove !NEW_INSETS cruft
16561 * tabular.C: remove !NEW_INSETS cruft
16563 * spellchecker.C: remove !NEW_INSETS cruft
16565 * lyxtext.h: remove !NEW_INSETS cruft
16567 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16569 * lyxfunc.C: remove !NEW_INSETS cruft
16571 * lyxfind.C: remove !NEW_INSETS cruft
16573 * lyx_cb.C: remove !NEW_INSETS cruft
16575 * figureForm.C: remove !NEW_INSETS cruft
16577 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16579 * buffer.[Ch]: remove !NEW_INSETS cruft
16581 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16583 * CutAndPaste.C: remove !NEW_INSETS cruft
16585 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16587 * BufferView2.C: remove !NEW_INSETS cruft
16589 * BufferView.h: remove !NEW_INSETS cruft
16591 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16593 * Lsstream.h: include LString.h before the sstream headers to
16594 fix problem with gcc 2.95.3 and lyxstring
16596 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16598 * lyx_main.C: add using directives when needed for C functions
16599 declared in std:: namespace.
16601 2001-04-27 Juergen Vigna <jug@sad.it>
16603 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16604 (SetHeightOfRow): comment out the update call should not be needed!
16606 2001-04-13 Juergen Vigna <jug@sad.it>
16608 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16609 (LyXTabular): tried to minimize operator= operations (and realized
16610 hopfully Lars wish).
16612 2001-04-27 Juergen Vigna <jug@sad.it>
16614 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16616 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16618 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16620 * buffer.C (readInset): hack to make listof algorithm work
16622 * BufferView_pimpl.C: hack to make listof algorithm work
16624 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16626 * LyXAction.C: removed all !NEW_INSETS cruft
16627 (init): moved lfun_item in method
16629 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16631 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16633 * BufferView2.C (theLockingInset): white space.
16635 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16637 * minibuffer.C: include <iostream>
16639 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16641 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16643 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16645 * text.[Ch] (TransposeChars): new method
16647 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16649 * call message directly through LyXView instead of through LyXFunc
16650 * BufferView2.C: adjust
16651 * BufferView_pimpl.C: adjust
16652 * FontLoader.C: adjust
16654 * bufferview_funcs.C: adjust
16655 * converter.C: adjust
16656 * figureForm.C: adjust
16657 * importer.C: adjust
16659 * lyx_gui_misc.C: adjust
16660 * lyxfunc.C: adjust
16663 + more files in subdirs
16665 * lyxparagraph.h (size): move up int file
16668 * adjust all uses of Assert to lyx::Assert.
16670 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16671 lyxfunctional in namespace lyx
16672 * layout.C (hasLayout): ditto
16675 (delete_layout): ditto
16676 (NumberOfClass): ditto
16677 * converter.C (GetFormat): ditto
16682 * bufferlist.C (getFileNames): ditto
16683 (emergencyWriteAll): ditto
16686 * MenuBackend.C (hasSubmenu): ditto
16689 * BufferView_pimpl.C (getInsetByCode): ditto
16691 2001-04-18 Juergen Vigna <jug@sad.it>
16693 * vspace.C (asLatexString): fixed the 100% problem.
16695 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16697 * lyxfunc.C (Dispatch):
16699 * minibuffer.h: add a few std:: qualifiers
16701 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16703 * minibuffer.[Ch]: reimplement so that commands is initiated and
16704 run from lyxfunc, simplified som handling, and made the completion
16705 and history code for complete. wip.
16707 * lyxfunc.C (processKeySym): call message
16708 (miniDispatch): new temporary method
16709 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16710 (LFUN_MESSAGE): implement
16711 (LFUN_MESSAGE_PUSH): implement
16712 (LFUN_MESSAGE_POP): implement
16713 (initMiniBuffer): the initial/defualt minibuffer message.
16715 * lyxfont.[Ch]: inline some more getters
16717 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16719 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16721 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16722 (AutoSave): use LFUN_MESSAGE
16723 (Reconfigure): ditto
16725 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16727 * figureForm.C: use LFUN_MESSAGE
16729 * converter.C (runLaTeX): use LFUN_MESSAGE
16731 * bufferview_funcs.C: use LFUN_MESSAGE
16733 (changeDepth): ditto
16735 * bufferparams.h: use boost::
16737 * bufferlist.h: inherit privately from noncopyable
16739 * bufferlist.C (loadLyXFile): remove some commented code.
16741 * buffer.C (runChktex): use LFUN_MESSAGE
16743 * ShareContainer.h: inherit privately from noncopyable
16745 * ParagraphParameters.[hC] (depth): inline it.
16747 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16749 (message): new method
16750 (messagePush): ditto
16751 (messagePop): ditto
16752 (show): init minibuffer
16753 (showState): direct call
16755 * LaTeX.[Ch]: inherit privately from noncopyable
16756 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16757 instead of WriteStatus.
16759 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16761 * BufferView_pimpl.C (buffer): don't init minibuffer
16762 (workAreaButtonPress): use LFUN_MESSAGE
16763 (workAreaButtonRelease): ditto
16764 (savePosition): ditto
16765 (restorePosition): ditto
16766 (MenuInsertLyXFile): ditto
16767 (workAreaExpose): don't init minibuffer
16768 (update): remove commented code, simplify
16770 * BufferView2.C (openStuff): use LFUN_MESSAGE
16771 (toggleFloat): ditto
16774 (copyEnvironment): ditto
16775 (pasteEnvironment): ditto
16780 (updateInset): remove some commented code
16782 * lastfiles.h: inherit privately from noncopyable
16785 * lyx_main.h: ditto
16787 * lyxlex_pimpl.h: ditto
16789 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16790 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16791 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16793 * LyXAction.h: inherit privately from noncopyable, add methods
16794 func_begin, func_end, returning iterators to the func map.
16796 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16797 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16798 (func_begin): new method
16799 (func_end): new method
16801 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16803 (copySelection): ditto
16804 (pasteSelection): ditto
16806 * BufferView.C: whitespace change
16807 * BufferView.h: inherit privately from noncopyable
16809 2001-04-16 Allan Rae <rae@lyx.org>
16811 * tabular-old.C (l_getline):
16812 * spellchecker.C (sc_check_word):
16813 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16814 an unrecognised preprocessor directive. So ensure they're wrapped.
16816 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16818 * src/exporter.C (Export): Give an error message when path to file
16821 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16823 * LaTeX.C (deplog): Always check that foundfile exists.
16825 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16828 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16830 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16832 * tabular.[Ch] (getLabelList): implement new method
16834 * minibuffer.h: comment ouf setTiimer
16836 * minibuffer.C (ExecutingCB): constify res
16837 (peek_event): constify s
16838 (Set): constify ntext
16839 (Init): constify nicename
16841 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16843 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16844 (savePosition): use two params to Minibuffer::Set
16845 (restorePosition): ditto
16847 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16849 * lyx_main.C: include language.h
16851 * Makefile.am (lyx_main.o): add language.h
16853 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16859 * CutAndPaste.C: include gettext.h
16861 * lyxfont.h: remove old hack with ON and OFF.
16864 * lyxfont.h: do not include language.h...
16869 * bufferview_funcs.C:
16875 * paragraph.C: ... but do it here instead
16877 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16879 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16881 * tabular.C: small reformat
16883 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16886 (BreakParagraph): ditto
16887 (SetOnlyLayout): ditto
16890 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16893 * lastfiles.C: removed most using decl, add std:: where needed
16895 * buffer.C: ws changes
16897 * MenuBackend.C (class compare_format): put into anon namespace
16898 (expand): constify label, names, action, action2
16901 * text.C (SingleWidth): constify font
16902 (IsBoundary): constify rtl2
16903 (GetVisibleRow): constify ww
16905 * LaTeX.C (deplog): constify logfile
16907 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16909 (workAreaExpose): constify widthChange, heightChange
16911 * lyxrow.C (par): moved
16914 * lyxrow.h: as inlines here
16916 * lyxfont.h (shape): moved from lyxfont.C
16917 (emph): moved from lyxfont.C
16919 * lyxfont.C (LyXFont): use initialization list for all
16921 (shape): move to lyxfont.h as inline
16922 (emph): move to lyxfont.h as inline
16925 2001-04-04 Juergen Vigna <jug@sad.it>
16927 * vspace.C: had to include stdio.h for use of sscanf
16929 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16932 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16933 independent of xforms.
16935 2001-04-02 Juergen Vigna <jug@sad.it>
16937 * spellchecker.C: fixed namespace placing!
16939 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16941 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16942 the LyXParagraph * is 0.
16944 2001-03-29 Juergen Vigna <jug@sad.it>
16946 * vspace.C: added support for %, c%, p%, l%.
16947 (stringFromUnit): added helper function.
16948 (asLatexString): changed to give right results for the %-values.
16950 * buffer.C: convert the widthp in a width%.
16952 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16954 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16957 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16958 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16960 * lyx_cb.[Ch]: see above.
16962 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16966 * lyx.[Ch]: replaced by figure_form.[Ch].
16970 * lyxfunc.C: changed headers associated with above changes.
16972 2001-03-27 Juergen Vigna <jug@sad.it>
16974 * BufferView_pimpl.C: set the temporary cursor right!
16976 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16978 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16980 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16982 * LString.h: removed "using std::getline"!
16984 * BufferView_pimpl.C (Dispatch): changes due to changes in
16985 InsetInclude::Params.
16987 * buffer.C (tag_name): removed redundant break statements as they were
16988 producing lots of warnings with my compiler.
16990 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16992 * LString.h: add "using std::getline" when using the real <string>.
16994 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16996 * buffer.C: removed bitset usage.
16997 PAR_TAG moved to an anonymous name space.
16998 (tag_name): new funtion, also in the anonymous namespace.
16999 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17000 (makeDocBookFile): clean code. Completed transition from string arrays
17002 (SimpleDocBookOnePar): code clean.
17004 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17006 * tabular.C: add some comments.
17008 2001-03-22 Juergen Vigna <jug@sad.it>
17010 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17011 compatibility read a bit and fixed bug with minipage in different
17014 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17016 * buffer.C (pop_tag): removed.
17017 (push_tag): removed.
17018 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17019 array replaced with vector. Added support for CDATA sections.
17020 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17022 (makeDocBookFile): XML conformant declaration of CDATA section,
17023 fixed bug related to <emphasis> in the first paragraph char.
17024 (sgmlOpenTag): exclude empty tags.
17025 (sgmlCloseTag): ditto.
17027 * buffer.h (pop_tag): removed.
17028 (push_tag): removed.
17030 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17032 * language.h (Languages): added size_type and size().
17034 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17036 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17037 response on compability reading of minipages. One probliem is that
17038 the old usage of minipages was «flertydig»
17040 * several files here and in subdirs: don't use static at file
17041 scope use anon namespaces instead.
17043 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17045 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17046 LaTeX output. This is necessary for Literate document
17049 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17051 * buffer.C: insert hfill when needed.
17053 * tabular.C (l_getline): use string::erase, small whitespace change.
17055 * BufferView_pimpl.C: try the anon namespace.
17056 * WorkArea.C: ditto
17058 2001-03-16 Juergen Vigna <jug@sad.it>
17060 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17061 otherwise it won't open options-dialogs.
17063 * buffer.C: honor pextraWidth(p) on converting minipages.
17065 * tabular.C (l_getline): changed the functions to strip trailing \r.
17067 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17069 * BufferView_pimpl.C:
17070 * minibuffer..C: added "using SigC::slot" declaration.
17072 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17074 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17080 * paragraph.C: ditto
17082 * lyxtext.h: NO_PEXTRA
17084 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17086 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17087 * ParameterStruct.h: ditto
17088 * ParagraphParameters.h: ditto
17089 * lyxparagraph.h: ditto
17091 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17093 * buffer.C: add compability for minipage alignment.
17094 (latexParagraphs): remove unwanted pextra check.
17096 * several files: remove CXX_WORKING_NAMESPACES
17098 * buffer.C (pop_tag): tie is in namespace boost
17100 * BufferView.h: noncopyable is in namespace boost
17102 * lyx_main.h: ditto
17105 * lastfiles.h: ditto
17106 * bufferlist.h: ditto
17107 * ShareContainer.h: ditto
17109 * LyXAction.h: ditto
17112 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17114 * Merging changes from BRANCH_MVC back into HEAD.
17116 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17118 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17120 * BufferView_pimpl.C: change from intl.C
17124 * Makefile.am: move combox.*
17130 * intl.C: remove dialog (covered by prefs)
17132 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17134 * lyxfunc.C (Dispatch): removed redundant break statement.
17136 2001-03-14 Juergen Vigna <jug@sad.it>
17138 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17140 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17142 * buffer.C: add hack to fix compability reading of minipages.
17144 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17146 * buffer.C (getLists): Cleanup.
17148 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17150 * lyxfont.C (update): don't honor toggleall on font size.
17152 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17156 * Makefile.am: moved to frontends/xforms/
17160 * BufferView_pimpl.C: changes for moved mathpanel
17162 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17164 * gettext.h: fix gettext_init() in --disable-nls
17166 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17168 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17170 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17173 * lyx.h: strip external form
17175 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17177 * BufferView_pimpl.C: add comment, destroySplash()
17179 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17181 * BufferView_pimpl.C:
17185 * lyxfunc.C: use re-worked insetinclude
17187 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17189 * buffer.C: add using std::stringstream.
17191 * lyx_cb.C: readd using std::ios.
17193 * buffer.C: add using std::map.
17195 * BufferView_pimpl.C: add using std::vector.
17197 * ShareContainer.h: add std:: to swap.
17199 * buffer.h: add some typedefs
17200 * buffer.C (getLists): use them
17201 (getLists): renamed from getTocList.
17202 add a counter for the different float types and use it in the
17204 (getLists): use the same counter for the NEW_INSETS and the "non"
17207 * lyx_cb.h: remove unused items, includes, using etc.
17209 * ShareContainer.h: remove some commented code, add more comments
17210 and "documentation".
17212 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17214 * buffer.C (getTocList): make the list also when NEW_INSETS is
17217 * buffer.h: remove TocType
17219 * buffer.C (getTocList): change to return a map<string,
17220 vector<TocItem> >, implement for dynamic number of list.
17222 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17223 * text2.C (PasteSelection): adjust
17224 * CutAndPaste.C (pasteSelection): adjust
17226 * FloatList.C (FloatList): update from the new_insets branch.
17227 * Floating.[Ch]: ditto
17228 * LaTeXFeatures.C: ditto
17230 * lyxlex_pimpl.C: ditto
17232 * paragraph.C (Last): remove when NEW_INSETS is defined.
17234 * other file: changes because of the above.
17236 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17238 * lyxparagraph.h: rename next to next_, previous to previous_,
17239 make them private for NEW_INSETS. Rename Next() to next(),
17240 Previous() to previous().
17242 * other files: changes because of the above.
17244 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17247 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17250 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17252 * main.C (main): pass lyx_localedir to gettext_init().
17254 * gettext.h: remove locale_init and gettext_init macros
17256 * gettext.C (locale_init): new function
17257 (gettext_init): new function
17259 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17262 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17264 * Moved credits to frontends:
17265 * credits.[Ch]: removed
17266 * credits_form.[Ch]: removed
17267 * lyx_gui_misc.C: remove credits stuff
17270 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17272 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17274 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17275 unneeded destructor.
17277 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17278 a standalone pointer again.
17280 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17282 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17288 * ToolbarDefaults.C:
17297 * BufferView_pimpl.C: use new file dialog in GUII
17300 * lyx_cb.C: remove LayoutsCB to Toolbar
17302 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17304 * ShareContainer.h (get): add std:: qualifier
17306 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17308 * ShareContainer.h: define a proper ShareContainer::value_type
17309 type (and use typename to please compaq cxx)
17311 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17313 * lyxparagraph.h: move serveral local vars to
17314 ParameterStruct/ParagraphParameters., use ShareContainer in
17315 FontTable., make vars in FontTable private and add getter and
17318 * paragraph.C: changes because of the above.
17320 * lyxfont.h: remove copy constructor and copy assignment. (the
17321 default ones is ok), move number inside FontBits. move inlines to
17324 * lyxfont.C: add number to initializaton of statics, move several
17325 inlines here. constify several local vars. some whitespace
17326 cleanup. Dont hide outerscope variables.
17328 * Spacing.h: add two new constructors to match the set methods.
17330 * ShareContainer.h: new file, will perhaps be moved to support
17332 * ParameterStruct.h: new file
17334 * ParagraphParameters.h: new file
17336 * ParagraphParameters.C: new file
17338 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17339 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17341 * BufferView_pimpl.C: ParagraphParameter changes.
17342 * buffer.C: Likewise.
17343 * bufferview_funcs.C: Likewise.
17344 * text.C: Likewise.
17345 * text2.C: Likewise.
17347 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17349 * lyxfind.C (LyXReplace): do not redefine default argument in
17351 (IsStringInText): ditto
17352 (SearchForward): ditto
17353 (SearchBackward): ditto
17355 2001-03-06 Juergen Vigna <jug@sad.it>
17357 * lyxfind.C (IsStringInText): put parentes around expressions.
17359 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17361 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17363 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17365 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17367 * stl_string_fwd.h: add comment
17369 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17372 * tabular.C: remove unused DocBook methods
17378 killed DO_USE_DEFAULT_LANGUAGE
17380 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17382 * lyx_gui.C: do not include language.h.
17384 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17385 arguments in function implementation.
17387 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17389 * BufferView_pimpl.C: add <ctime>
17391 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17393 * BufferView_pimpl.C: add using std::find_if
17395 2001-02-27 José Matos <jamatos@fep.up.pt>
17397 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17400 2001-02-11 José Matos <jamatos@fep.up.pt>
17402 * buffer.C (makeDocBookFile): command styles now have a parameter as
17403 "title" by default.
17405 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17407 * layout_forms.[Ch]: removed
17408 * lyx_cb.[Ch]: out character
17409 * lyx_gui.C: out character
17410 * lyx_gui_misc.C: out character
17411 * bufferview_funcs.C: : out character,
17412 added toggleall as parameter in ToggleAndShow
17414 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17416 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17418 * text2.C (SetCurrentFont): Disable number property at boundary.
17420 2001-02-26 Juergen Vigna <jug@sad.it>
17422 * lyxfunc.C (getStatus): added a string argument override function so
17423 that this is correctly called from LyXFunc::Dispatch if it contains a
17424 do_not_use_argument which is used!
17425 (Dispatch): added check for "custom" export and call appropriate func.
17427 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17429 * lyxrc.C: Add language_command_local, language_use_babel and
17430 language_global_options.
17432 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17434 * buffer.C (makeLaTeXFile): Use language_use_babel and
17435 language_global_options.
17437 2001-02-23 Juergen Vigna <jug@sad.it>
17439 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17440 which works with LyXText and putted it inside BufferView. Here now we
17441 only call for that part the BufferView::Dispatch() function.
17443 * BufferView.C (Dispatch): added.
17445 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17446 functions which needs to use a LyXText over from LyXFunc.
17447 (MenuInsertLyXFile): added
17448 (getInsetByCode): added
17449 (moveCursorUpdate): added
17450 (static TEXT): added
17452 2001-02-22 Juergen Vigna <jug@sad.it>
17454 * BufferView_pimpl.C (update): call a status update to see if LyXText
17457 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17459 * vc-backend.C (revert): implement for CVS
17460 (getLog): implement for CVS
17462 2001-02-20 Juergen Vigna <jug@sad.it>
17464 * text2.C (ClearSelection): added BufferView param for inset_owner call
17466 * lyxfunc.C (TEXT): added this function and use it instead of
17467 directly owner->view()-text of getLyXText().
17469 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17471 * src/layout_forms.C: out preamble
17472 * src/layout_forms.h: out preamble
17473 * src/lyx_cb.C: out preamble
17474 * src/lyx_cb.h: out preamble
17475 * src/lyx_gui.C: out preamble
17476 * src/lyx_gui_misc.C: out preamble
17477 * src/lyxfunc.C: connect with guii preamble
17479 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17481 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17483 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17485 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17486 whether to run bibtex.
17488 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17490 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17492 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17494 * Makefile.am (lyx_SOURCES): removed bibforms.h
17496 * vspace.h: doxygen
17498 * text.C (GetVisibleRow): make several local vars const
17500 * tabular.C: small cleanup.
17502 * lyxserver.C (callback): use compare instead of strncmp
17504 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17505 inlines to after class or to paragraph.C
17507 * lyxfont.h: remove friend operator!=
17509 * converter.h: move friend bool operator< to non friend and after
17512 * combox.h: small cleanup
17514 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17515 to inlines after class def.
17517 * buffer.C (pop_tag): use string operations instead of strcmp
17519 * bmtable.c: doxygen, small cleanup
17521 * LaTeX.h: remove friend operator==
17523 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17535 * BufferView_pimpl.C:
17536 * BufferView.[Ch]: remove cruft
17538 2001-02-14 Juergen Vigna <jug@sad.it>
17540 * lyxfunc.C: removed #if 0 unused code
17542 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17544 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17546 * text2.C (SetSelection): added a BufferView * parameter
17548 2001-02-13 Juergen Vigna <jug@sad.it>
17550 * lyxfunc.C (Dispatch): fixed protected blank problem.
17551 * BufferView2.C (protectedBlank): added LyxText * parameter.
17553 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17554 (AppendColumn): same as above for column_info.
17556 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17557 (moveCursorUpdate): use a LyXText param for support of InsetText.
17559 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17560 (tripleClick): ditto
17562 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17564 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17566 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17568 * text2.C (SetSelection): set correct update status if inset_owner
17569 (ToggleFree): ditto
17571 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17573 * tabular.C: remove some commented code.
17575 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17577 * BufferView_pimpl.C: call hideSplash()
17579 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17582 * bibforms.h: remove
17585 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17586 add LFUN_CHILD_CREATE
17588 * counters.h: fix tiny typo
17593 * lyx.C: move splash to frontends/xforms/
17595 * lyx_gui_misc.C: move Include and Bibform to frontends
17597 * lyxvc.h: clarify comment
17599 * vspace.C: tiny housekeeping
17601 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17603 * text.C (PrepareToPrint): RTL Fix.
17605 * paragraph.C (GetUChar): New method.
17606 (String): Use GetUChar.
17608 * buffer.C (asciiParagraph): Use GetUChar.
17610 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17612 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17614 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17617 * buffer.C: rename to getLogName(), handle
17618 build log / latex log nicely
17620 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17623 * MenuBackend.h: remove support for reference menuitem type.
17625 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17627 * BufferView_pimpl.C: housekeeping
17628 * BufferView_pimpl.h:
17633 * minibuffer.h: move Timeout GUI-I
17635 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17637 * lyxrc.C (read): Update converters data-structures.
17639 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17641 * LaTeX.h (operator!=): add operator != for Aux_Info
17643 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17645 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17647 * LaTeXLog.C: deleted, useful code moved to Buffer
17650 * buffer.C: new function getLatexLogName()
17656 * lyxfunc.C: use frontends for LaTeX and VC logs
17658 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17660 * LaTeX.h: yet another std:: that Allan forgot.
17662 * Variables.C (set): renamed from isset(), because this clashes
17663 with some HP-UX macros (grr).
17665 2001-02-06 Allan Rae <rae@lyx.org>
17667 * LaTeX.h: Another bug fix. Missing std:: this time.
17669 2001-02-04 Allan Rae <rae@lyx.org>
17671 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17672 floats problem. I've left it commented out because it's not quite
17673 correct. It should also test that the current object is a table or
17674 figure inset. But I haven't gotten around to figuring out how to do
17675 that. I *think* it'll be something like: "table" == inset.type()
17677 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17680 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17682 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17683 all the citation/databases/styles in the auxilary file.
17684 (run): Rerun latex if there was a babel language error.
17686 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17688 * text.C (Backspace): Preserve the font when changing newline char
17690 (BreakParagraph): If the cursor is before a space, delete the space.
17692 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17694 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17696 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17697 new argument (code).
17698 (ChangeCitationsIfUnique): New method.
17700 * paragraph.C (GetPositionOfInset): Handle bibkey.
17702 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17704 * BufferView_pimpl.h: change type of Position::par_pos to
17705 LyXParagraph::size_type.
17707 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17709 * BufferView_pimpl.C (savePosition, restorePosition): Write
17710 messages to minibuffer.
17712 2001-01-28 José Matos <jamatos@fep.up.pt>
17714 * buffer.C (makeDocBookFile): adds support for document language.
17715 A silly restriction on the name of LatexCommand types where removed.
17716 Added support for CDATA sections, allows to chars unescaped, used
17717 among others in code, to avoid escape < and >.
17719 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17721 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17722 saved positions instrad of a stack. Furthermore, a position is
17723 stored using paragraph id/paragraph position.
17725 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17726 Remove LFUN_REF_BACK.
17728 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17730 * converter.C (dvipdfm_options): New method.
17732 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17734 * vspace.C (isValidLength): Fix for empty input string.
17736 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17738 * LyXAction.C (init): change description of LFUN_FIGURE to
17741 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17743 * LaTeX.C: add using directive
17745 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17747 * MenuBackend.C (expand): Fix the sorting of the formats.
17749 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17751 * lyx_main.C: tiny error message fix
17753 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17755 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17756 calling fl_initialize(). This fixes the problem with ',' as
17757 decimal separator in text files.
17759 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17761 * trans.C (process): Fix the keymap bug.
17763 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17765 * LaTeX.C (scanAuxFiles): New method. Provides support for
17766 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17767 (scanLogFile) Scan for "run BibTeX" messages.
17769 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17770 OT1 font encoding. Also, load the aecompl package if the ae
17773 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17775 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17777 * texrow.C (increasePos): turn two error messages into debug
17780 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17782 * LaTeX.C (scanAux): Handle the \@input macro.
17783 (runBibTeX): Use scanAux().
17785 * language.C (latex_options_): New field.
17787 * LaTeXFeatures.C (getMacros): Add language macros.
17789 * buffer.C (makeLaTeXFile): Small fix.
17791 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17793 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17795 * text2.C: add a using directive.
17797 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17802 * lyxfunc.C: kill LyXBell.
17804 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17806 * text.C (IsBoundary): Remove the error message
17808 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17810 * lyxrc.C (setDefaults): Correct initialization value for
17813 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17815 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17818 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17819 and GotoNextNote().
17821 * src/LyXAction.C: Added reference-next.
17823 * text.C (InsertChar): Use contains instead of strchr.
17825 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17827 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17829 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17830 alignment commands (when needed).
17832 * text.C (InsertChar): Add ':' to number separator chars.