1 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * text.C (leftMargin): do not add identation to display() style
4 insets, because they are always centered (bug 1293).
6 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
9 formatted_time methods in support/lyxtime.
11 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13 * toc.[Ch]: new method getGuiName, which is used by the frontends
14 to set the toc combo (fixes bug 1870). Make TOC string translatable.
16 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
18 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
19 StableDocIterator const &)
20 * undo.C (recordUndo): use the above instead of cell.size() comparison
21 (fixes bug 1808; instructed by André).
23 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
26 * dociterator.h: Fix the assert when copying rows/cols in math
28 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
32 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
34 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
35 (findInset): new functions, refactored from goto Inset that return
36 the position of a certain inset without setting the buffer's cursor
38 (gotoInset): rewrite to call findInset and then set the cursor
41 2005-06-16 Angus Leeming <leeming@lyx.org>
43 * lyxrc.C (output, read): wrap all input and output of paths with
44 calls to os::internal_path and os::external_path, respectively.
45 (output): wrap bind_file inside quotes.
47 * format.C (view): enable the viewer to use the '$$s' placeholder.
49 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
51 * LColor.[Ch] (getFromLaTeXName): new
53 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
55 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
57 2005-06-14 Angus Leeming <leeming@lyx.org>
59 * lyx_main.C (init): ensure that the LyX binary dir is the first
60 element in the PATH on non-POSIX builds.
62 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
64 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
66 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * rowpainter.C (paintInset, paintHebrewComposeChar)
69 (paintArabicComposeChar, paintChars): add a LyXFont argument.
70 (paintChars): use getFontSpan to reduce calls to getFont to a
71 minimum; use Paragraph::lookupChange instead of isXXXText.
72 (paintForeignMark): rename LyXFont argument.
73 (paintFromPos): pass a LyXFont object to the various paintXXX
76 * FontIterator.C (FontIterator, operator++): use
77 Paragraph::getFontSpan
79 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
80 version that returns the font span as a pair.
82 2005-06-09 Angus Leeming <leeming@lyx.org>
84 * converter.C (convert): Don't forget "outfile = real_outfile" as
85 the final step in a conversion where the input and output file names
86 are the same. Otherwise, future conversion steps won't work...
88 2005-06-09 Angus Leeming <leeming@lyx.org>
90 * lyxsocket.C: remove stub code as it isn't needed by
91 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
93 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
95 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
96 effectively disabled -x
98 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
100 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
101 when it actually makes sense.
103 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
105 * BufferView_pimpl.C: revert to showCursor in connection with
106 Lars's front-end stack
108 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
110 * text.C (redoParagraph): move cursor right after a bibitem
113 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
115 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * buffer_funcs.C (bufferErrors): fix computation of the end of an
120 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
122 * BufferView.[Ch] (update):
123 * BufferView_pimpl.[Ch] (update, metrics):
124 * dimension.h (operator==):
125 * lyxfunc.C (dispatch):
126 * metricsinfo.h (ViewMetricsInfo):
127 * rowpainter.C (paintText):
129 * text.C (redoParagraph):
130 * text3.C (dispatch): Make LyX only repaint current paragraph in
131 case of character insert --> speedup. Also fix cursor draw
134 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
136 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
137 avoid a crash (bug 1891)
139 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * text2.C (getStringToIndex): constify cur argument.
145 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
146 argument has been given
147 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
148 try to invoke LFUN_INSET_APPLY).
150 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
151 if no inset was created by doInsertInset
152 (doInsertInset): return true if an inset has been inserted.
154 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * vspace.C (asGUIName): new method. A version of the space
157 suitable for showing on screen.
159 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
162 * lyxrc.C: rename "ASCII" to "Plain Text"
164 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
166 * buffer_funcs.C (expandLabel): take a Buffer as argument;
167 translate the labelstring.
168 (setCounter): translate labelstring as needed.
170 * output_docbook.C (makeCommand): fix expandLabel invokation
172 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
174 * BufferView.C: fix dialog title
176 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
178 * lyx_main.C (priv_exec): fix logic error with help from Angus
179 * lyx_main.C (parse_execute): set is_gui = false and remove now
180 obsolete comment about a segfault
182 2005-05-18 Angus Leeming <leeming@lyx.org>
184 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
186 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
188 * tabular.[hC]: added setCellInset to fix tabular paste.
190 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
192 * buffer.C (save): check if destination is writable before trying
195 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
197 * BufferView_pimpl.C (update): fix processEvents -caused update
200 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * buffer_funcs.C (setCounter): fix test for numbering of
205 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
206 depth correctly; use optional argument when it exists
208 * lyxtextclass.C: remove unused MaxCounterTags enum
209 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
210 (max_toclevel, min_toclevel): new methods.
212 * MenuBackend.C (expandToc2): fix case where depth is smaller than
213 the smallest depth in toc.
215 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
216 layouts that should not appear in a table of contents.
218 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
220 * cursor.h (undispatched, noUpdate): add comments from André
222 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
226 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
228 2005-05-07 André Pönitz <poenitz@gmx.net>
230 * cursor.[Ch] (leaveInset): new function
232 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
234 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
236 2005-05-04 Angus Leeming <leeming@lyx.org>
238 * lyxfunc.C (getStatus): disable the spell checker dialog if
239 none of USE_[AIP]SPELL are defined.
241 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
243 * tabular.C (setWidthOfCell): remove obsolete comment
245 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
247 * paragraph.C (bibitem):
248 * buffer_funcs.C (setCounter):
249 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
251 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
253 * text3.C (getStatus): immediately return after setOnOff
255 * rowpainter.C: fix drawing of appendix start
257 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
259 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
260 SwitchBetweenClasses and remove the unused return value.
261 Handle character styles, too
263 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
265 * factory.C (createInset): handle undefined character styles
267 2005-05-02 Angus Leeming <leeming@lyx.org>
269 * buffer.C: protect the #include of utime.h with a preprocessor
272 2005-05-02 Angus Leeming <leeming@lyx.org>
274 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
275 function so that auto-saving works, albeit in a blocking manner.
277 * Makefile.am: make compilation of the client sub directory, of
278 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
279 on conditionals set at configure time.
281 * SpellBase.[Ch]: no longer an abstract base class. Instead,
282 it can be compiled in its own right but has no-op functionality.
284 * aspell.C, pspell.C: remove preprocessor guards. The files should
285 be compiled only if the necessary functionality exists.
287 * lyxserver.C, lyxsocket.C: disable on Windows.
289 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
291 * text.C (leftMargin): Fix the parindent use bug (1764)
294 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
296 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
299 2005-04-25 Angus Leeming <leeming@lyx.org>
307 include <config.h> in .C files, not .h ones.
309 protect headers inside preprocessor guards.
311 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
313 * FuncStatus.h (StatusCodes): document
315 2005-04-21 André Pönitz <poenitz@gmx.net>
317 * FuncStatus.h (enabled, onoff): document
319 2005-04-19 Angus Leeming <leeming@lyx.org>
321 * BufferView_pimpl.C (cursorToggle): no longer test whether
322 any child processes have been reaped before calling
323 handleCompletedProcesses().
325 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
327 * text3.C (dispatch): fix, finally fix, the language problem in
328 new lyxtexts, without disabling on-the-fly font changes (Helge's
331 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
333 * text3.C (dispatch): set cursor on double/triple click events
336 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
339 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
341 * rowpainter.C (paintFirst): simplify the code a little bit. In
342 particular, remove the test for secnumdepth.
343 * text.C (setHeightOfRow): only allocate space for chapter number
344 when updateCounters provided an actual label, instead of looking
345 at secnumdepth directly.
347 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
349 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
350 paragraphs when secnumdepth is large enough or, for environments,
351 when they are not the first in a sequence.
353 2005-04-17 Angus Leeming <leeming@lyx.org>
355 * buffer.C (makeLaTeXFile): replace code to manipulate a path
356 containing space and '~' characters with a call to latex_path().
358 2005-04-17 Angus Leeming <leeming@lyx.org>
360 * converter.C (convert): protect all args of convertDefault.sh
363 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * text3.C (dispatch): change the layout to "Caption" after inserting
368 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
370 * text3.C (dispatch): fix language problem in newly created
371 textinsets (and main text) in non-english docs
373 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
375 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
376 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
377 * text3.C (getStatus): disable LFUN_INSET_MODIFY
379 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
384 * rowpainter.C (getFont): Fix metrics bug introduced by inset
387 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
389 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
390 output of \item arguments without trailing text.
392 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * FontIterator.C (operator*): avoid a copy of the font.
396 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
398 * rowpainter.C (getFont): fix language bug from previous fix
400 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
402 * rowpainter.C (RowPainter, getFont): fix font inside inset
405 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
407 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
408 preventing inserted font, deco, delim insets jumping to start of
411 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
413 * lyxfunc.C (dispatch): translate message before sending it to the
416 2005-03-29 Angus Leeming <leeming@lyx.org>
418 * lyx_main.C (priv_exec): call os::internal_path on each file passed
419 to LyX on the command line.
421 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
423 * vc-backend.C: use QuoteName to protect file names wherever
426 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
429 * BranchList.h: fix bugs 1844,1845: document settings don't
432 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
434 * lyxrc.C (setDefaults, read, output, getDescription): add support
435 for tex_allows_spaces.
437 * exporter.C (Export): allows files in directory containing spaces
438 if tex_allows_spaces is true.
440 * buffer.C (makeLaTeXFile): if the document path contains spaces,
441 output it in double quotes.
443 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
445 * rowpainter.C: use default text height for drawing change tracker
448 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
450 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
452 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
455 directory is missing.
457 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
459 * text2.C: fixed the fix, extended to other case.
461 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
463 * text2.C: fix for cursor up/down stuck in math [bug 1792]
465 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
467 * text2.C (cursorUp): get rid of a crash
468 * text.C (x2pos): add an assert
470 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
472 * lyxfunc.C (getStatus): fix warning when assertions are disabled
476 * dociterator.C: include <boost/current_function.hpp>, which is
477 needed when assertions are disabled.
479 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
481 * text2.C: fix for stuck cursor when traversing two
482 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
484 2005-02-25 Andreas Vox <avox@arcor.de>
486 * output_docbook.C (makeParagraph): suppress trailing newline
487 after a run of paragraphs
489 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
491 * paragraph.C: fix for confused change tracker when pasting
492 text that begins with a lineseparator. [bug 1827]
493 (setChange(0, Change::INSERTED);)
495 * paragraph_funcs.C: fix for lost changes on triple-paste
496 in change tracking mode [bug 1827] (par.setChange()).
498 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * text2.C (updateCounters, setCounter, expandLabel): move to
503 * buffer_funcs.C (updateCounters): turn into a free standing
504 function and add a buffer parameter. Remove dead code for tracking
506 (setCounter): change into a free-standing function which gets a
507 dociterator as argument. Use this iterator to fix captions in a
508 simple way. When no float is found above the caption, use the
509 labelstring of the caption layout as default.
511 * text.C (breakParagraph, backspace):
512 * text2.C (init, setLayout, changeDepth):
513 * text3.C (dispatch):
514 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
517 * dociterator.C (forwardPar): make it much faster by calling
518 forwardPos() only when really necessary.
520 * output_docbook.C (makeCommand): adapt to expandLabel move.
522 * cursor.C: remove unused variable
524 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
526 * paragraph_funcs.C: fix crash when pasting insets in change
527 tracking mode [bug 1277] (honour change type in moveItem).
529 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
531 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
533 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
535 * BufferView.C (setCursor): change to use a DocIterator.
536 (gotoLabel): use BufferView::setCursor (other part of bug 781).
537 (putSelectionAt): adapt to BufferView::setCursor change.
539 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
540 moved here from LyXText and rewritten to use proper cursor
541 methods. Fixes bug 1787, 616 and 835.
543 * BufferView_pimpl.C (restorePosition): set the cursor correctly
544 when inside an inset (part of bug 781).
545 (dispatch): adapt to change of BufferView::setCursor.
546 (getStatus, dispatch): handle LFUN_GOTOERROR,
547 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
549 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
550 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
551 * text3.C (gotoNextInset, gotoInset): removed.
553 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
555 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
557 2005-02-15 Angus Leeming <leeming@lyx.org>
559 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
560 can be used meaningfully in a comparison.
562 2005-02-13 André Pönitz <poenitz@gmx.net>
564 * bufferview_funcs.C (coordOffset): improve cursor drawing
566 2005-02-13 André Pönitz <poenitz@gmx.net>
568 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
569 * Cursor.C (dispatch): use fixIfBroken
570 * lyxfunc.C (getStatus): use fixIfBroken
572 2005-02-15 Angus Leeming <leeming@lyx.org>
574 * lyx_main.C (error_handler):
576 * lyxrc.C (setDefaults):
578 #include "environment.h".
580 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
582 2005-02-15 Angus Leeming <leeming@lyx.org>
584 * lyxserver.C (startPipe): squash MSVC warning "local variable
585 'fd' used without having been initialized".
587 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
589 * BufferView_pimpl.C: revert accidental commit.
591 2005-02-14 André Pönitz <poenitz@gmx.net>
593 * dociterator.[Ch]: new member forwardPosNoDescent(),
594 which doesn't enter nested insets.
595 * text2.C (setFont): use forwardPosNoDescent() instead
596 of ForwardPos() (fixes crash on font change).
598 2005-02-13 Angus Leeming <leeming@lyx.org>
600 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
601 only if lyxrc.path_prefix is not empty.
603 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
605 * bufferparams.C (readGraphicsDriver): prevent crash
607 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
609 * text2.C (setCounter): check for inInset() == 0
611 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
613 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
614 but use update() to get correct screen display; use convert
615 instead of istringstream.
616 (getStatus): handle LFUN_GOTO_PARAGRAPH
618 * lyxfunc.C (dispatch, getStatus): do not handle
619 LFUN_GOTO_PARAGRAPH here.
621 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
623 * text3.C (dispatch): size() -> depth()
625 * text2.C: remove some debug output
627 * paragraph.C: ws changes only
629 * lyxfunc.C (getStatus): size() -> depth()
631 * dociterator.h (clear, push_back, pop_back, internalData,
632 operator[], resize, empty): new functions
633 Make StableDocIterator and operator== be friends. Don't inherit
634 from std::vector use a privat class variable slices_ instead.
637 * dociterator.C: update because of not inheriting from std::vector
638 anymore. Call explictly to slices_ instead. Use depth() instead of
639 size() and top() instead of back()
641 * cursor.C: chagne size() -> depth and back() -> top(). Also
642 remove some direct operator[](i) calls in favour of foo[i]
643 (getFont): remove some dead code
645 * bufferview_funcs.C (coordOffset): size() -> depth()
647 * buffer.C: ws changes only
649 * CutAndPaste.C (eraseSelection): back() -> top()
651 * BufferView_pimpl.C (selectionRequested): back() -> top()
653 * BufferView.C (setCursor): size() -> depth()
655 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
657 * text3.C (cursorPrevious): return true if depm changed something
659 (dispatch): rename sl to oldTopSlice, remove moving use the new
660 NoUpdate func attrib instead. Make sure that needsUpdate is set
661 for function that have NoUpdate, but where depm might have changed
664 * text2.C (cursorLeft): make us return true if depm changed
667 (cursorUpParagraph): ditto
668 (curosrDownParagraph): ditto
669 (cursorUp, cursorDown): ditto, make sure to read comments in code
670 (deleteEmptyParagraphMechanism): remove an assert, also return
671 true if just a single char was deleted.
673 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
674 cursor that we modify, to avoid modifying an active cursor before
675 we call setCursor. This allows depm to run. Also return true if
676 depm deleted something.
678 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
679 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
680 cursorDownParagraph, cursorPrevious and cursorNext, return true if
681 something was changed in the buffer because of them (ie. depm run)
683 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
684 debug messages. Make update by default be false. Make sure that
685 the result of update is retained throught several calls down to
688 * LyXAction.h: add a new func_attrib: NoUpdate
690 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
691 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
692 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
694 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
696 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
699 bv_->owner(), bv_->buffer() by direct references to the private
701 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
702 (getStatus): isSavedPosition() is in BufferView::Pimpl.
703 (fitCursor): center() is in BufferView::Pimpl.
704 (getStatus, trackChanges, dispatch): no need for a temporary buf
706 (fitCursor, workAreaDispatch): use workarea().workheight()
708 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
710 * CutAndPaste.C (pasteSelectionHelper): fix a crash
712 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
714 * buffer.C: format up to 241.
715 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
716 break if pasting into ERT
717 * lyxfunc.C (getStatus): suppress mathpanel and
718 LFUN_DIALOG_SHOW_NEW_INSET in ERT
720 2005-02-01 Angus Leeming <leeming@lyx.org>
722 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
724 2005-02-01 Angus Leeming <leeming@lyx.org>
726 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
727 calling fs::is_directory().
729 2005-01-31 Angus Leeming <leeming@lyx.org>
731 * lyx_main.C (priv_exec): specify explicitly the relative location
732 of the top level build directory when run in-place.
734 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
736 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
737 LyXText containing the cursor, not the top-level one.
739 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
741 (insertStringAsLines): rename par to pit; use temporary variable
742 par to hold a Paragraph; do not store par.layout() in a variable,
743 since the pointer may die when breaking paragraphs; pass pars to
744 breakParagraph() instead of Buffer::paragraphs().
746 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
748 * lyxlex_pimpl.h: #include <fstream>.
750 * BufferView.[Ch] (getLyXText): add a const version.
752 * BufferView_pimpl.C: add debug aids.
757 * paragraph_funcs.h: add commentary explaining what the class does.
760 * coordcache.[Ch]: add lots of commentary.
761 (startUpdating, doneUpdating): debug aids.
762 (arrays, insets, parPos, getParPos): accessors to private data.
764 * cursor_slice.[Ch] (text): add a const version.
765 * dociterator.[Ch] (text, innerText): add const versions.
767 * lyxtext.h (breakParagraph): change the keep_layout arg to a
770 * paragraph.C (getRow, pos2ros): add asserts.
772 * paragraph.h: add commentary. Lots of.
774 * paragraph.[Ch] (metrucs, draw): removed.
777 * rowpainter.[Ch]: const-correct changes.
779 * text.C: various obvious clean-ups. Removal of ancient cruft.
782 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
784 * vc-backend.C (find_file): rewrite to use boost.filesystem
787 * main.C (main): set default name check for boost.filesystem to
790 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
793 (actOnUpdatedPrefs): ditto
795 * lyx_main.C (init): rewrite to use boost.filesystem
796 (queryUserLyXDir): ditto
798 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
799 (getContentsOfAsciiFile): ditto
801 * lastfiles.C (readFile): rewrite to use boost.filesystem
803 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
805 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
808 * buffer.C (Buffer): adjust for destroydir
809 (getLogName): rewrite to use boost.filesystem
811 (save): use fs::copy_file (from fs_extras)
813 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
815 * LaTeX.C (run): rewrite to use boost.filesystem
816 (scanAuxFiles): ditto
817 (handleFoundFile): ditto
819 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
821 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
823 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
825 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
827 * lyxlayout.[Ch]: change some vars from float to double
829 * buffer.C (readFile): make a local var const
831 * Several files: use convert<> instead of atoi,strToXXX and friends
833 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
835 * LaTeXFeatures.[Ch]: Add a static list packages_ that
836 holds the contents of packages.lst. New functions getAvailable
837 and isAvailable to parse and check that list, resp.
841 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
843 * bufferparams.[Ch]: new param output_changes.
845 * Buffer.C: increase file format to 240.
846 Use output_changes and isVailable.
850 * paragraph_pimpl.C: Use output_changes and isVailable.
852 2005-01-23 Angus Leeming <leeming@lyx.org>
854 * output_latex.C: #include "insetbibitem.h", rather than
855 forward declare function bibitemWidest.
857 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
859 * lyx_main.C (init): make it compile on the Mac.
861 2005-01-20 Angus Leeming <leeming@lyx.org>
863 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
864 (setLyXMisc): (char string literal) != (char string literal) is
865 performing a comparison on the addresses. Convert one operand
866 explicitly to string to guarantee expected behaviour.
869 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
872 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
874 * output_plaintext.C: remove unneeded #include gzstream.h.
876 2005-01-20 Angus Leeming <leeming@lyx.org>
878 * SpellBase.h: rename some of the elements of the Result enum.
885 * pspell.C (check): ditto
887 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
889 * buffer.C: add #include <fstream>.
891 * lyx_main.C (init): Compile fix.
893 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
895 2005-01-20 Angus Leeming <leeming@lyx.org>
897 * mover.h: change commentary to reflect the changed meaning of
900 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
902 * output_linuxdoc.C (linuxdocParagraphs): silence warning
904 * lyxfind.C (MatchString::operator()): remove bogus semicolon
906 2005-01-20 Angus Leeming <leeming@lyx.org>
908 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
909 printing diagnostic data by not dereferecing an iterator past the
912 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
914 * buffer.C (readHeader): use "&&" rather than "and".
916 * lyxserver.h (inPipeName, outPipeName): make these const.
918 2005-01-19 Angus Leeming <leeming@lyx.org>
920 * lyx_main.C (error_handler, init): protect SIGHUP with
921 #ifdef SIGHUP guards.
923 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
925 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
927 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
929 * text.C (setHeightOfRow): add a margin at the top and bottom of
930 the document (bug 1761)
932 2005-01-17 Angus Leeming <leeming@lyx.org>
934 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
935 with "python ". Workaround for a brain-dead Windows.
937 2005-01-16 Angus Leeming <leeming@lyx.org>
939 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
940 for MacOSX and Windows to use prependEnvPath.
941 Strip out the hard-coded block to add elements to the PATH for
942 MacOSX and replace it with a call to prependEnvPath using the
943 contents of LyXRC::path_prefix.
944 (queryUserLyXDir): strip out the code to run reconfigure, instead
945 returning a boolean indicating the necessity to do so.
946 (reconfigureUserLyXDir): contains the code to reconfigure the
947 user support directory. Is now called after the various LyXRC data
948 files have been read.
950 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
952 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
954 * converter.[Ch] (convert): take a new parameter try_default. Use
955 a default converter (imagemagick) if try_default is true.
957 2005-01-13 Angus Leeming <leeming@lyx.org>
959 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
961 (write): output LyXRC::cygwin_path_fix as necessary.
963 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
966 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
968 2005-01-12 Angus Leeming <leeming@lyx.org>
970 * lyx_main.C (init): set the PATH variable to include the
971 directory containing the LyX binary when running on Mac or Windows.
973 2005-01-12 Angus Leeming <leeming@lyx.org>
975 * lyx_main.C (init): remove cruft that purports to set the locale
976 dir. It doesn't and is not needed anyway.
978 2005-01-10 Angus Leeming <leeming@lyx.org>
980 * Makefile.am: remove the lyx_main.C special casing.
982 * BufferView_pimpl.C:
988 * messages.C: use support/package.h to provide the paths to the
989 various directories used by LyX.
991 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
993 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
994 layout if pasting into an empty paragraph)
996 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
998 * tex-accent.C: add <string>
1000 2005-01-06 José Matos <jamatos@lyx.org>
1002 * ParagraphParameters.C (write): put every parameter in its own line.
1003 * paragraph.C (write): reduce number of consecutive empty lines exported.
1004 * buffer.C (LYX_FORMAT): increase file format to 239.
1006 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1008 * everywhere: change support/tostr.h -> support/convert.h
1010 * tabular.C: make all write_attributes templates, tostr -> convert
1012 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1013 (emptyTag): and -> &&, and fix type for ret from getChar
1014 (getFirstWord): fix type for ret from getChar
1015 (onlyText): and -> &&
1016 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1019 * toc.C (goTo, action):
1020 * text3.C (dispatch):
1021 * text.C (currentState):
1022 * tex-accent.C (DoAccent):
1025 * lyxfunc.C (menuNew):
1026 * lyxfinc.C (replace):
1027 * counters.C (laberItem):
1028 * bufferview_funcs.C (font2string):
1029 * bufferparams.C (writeFile):
1030 * buffer.C (readFile):
1032 * MenuBackend.C: tostr -> convert
1034 * LaTeX.C (runMessage): fix format
1035 (scanAuxFiles): tostr -> convert
1037 * BufferView_pimpl.C (savePosition): fix format
1038 (restorePosition): ditto
1041 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1043 * Spacing.[Ch]: New method getValueAsString().
1047 * ParagraphParameters.C:
1050 * text3.C: store/read spacing value as string.
1052 * rowpainter.C: change float value (spacing_val) to double.
1054 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1055 broken custom document spacing).
1057 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1059 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1060 namespace, also more use of temp references and const
1062 * cursor.[Ch] (getStatus): move to lyxfunc.C
1064 * bufferparams.C: reformat slightly
1066 * bufferview_funcs.C (font2string): constify arg
1072 * buffer_funcs.C: (many funcs): constify arg on function
1073 definitions, also make more local vars const, also add ASSERTS on
1076 * buffer.C (LYX_FORMAT): put const in correct place
1077 (many funcs): constify arg on function definitions, also make
1078 more local vars const
1080 * aspell_local.h: remove "struct" from typdef setup
1082 * aspell.C (check): make word_ok const
1083 (nextMiss): simplify slightly
1086 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1088 * lyxrc.[Ch]: store all float values as strings.
1089 use int (not float) for lyxrc.dpi.
1091 2005-01-04 Angus Leeming <leeming@lyx.org>
1093 * lyx_cb.C (Reconfigure):
1094 * lyx_main.C (queryUserLyXDir):
1095 to run the <system_lyxdir>/configure correctly on Windows, prefix
1096 the path to the script with "sh " when generating the string that
1097 is passed to system().
1099 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1101 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1103 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1105 * lyxlength.C (asLatexString): get rid of setprecision
1107 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1109 * text2.C (setLayout): remove unused variable endpit.
1110 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1112 * paragraph.C (onlyText): remove unused variable style.
1114 * cursor.C (bruteFind): remove unused variables beg and end.
1116 * Makefile.am (dist_noinset_DATA): not needed anymore
1118 * cheaders/*: remove.
1120 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1122 * text3.C: fix LFUN_MATH_MODE.
1124 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1126 * buffer_funcs.C (countWords): new function. Counts words between
1129 * BufferView_pimpl.C (getStatus, dispatch): handle
1132 * LyXAction.C (init):
1133 * lfuns.h: add LFUN_WORDS_COUNT.
1135 2004-12-19 Angus Leeming <leeming@lyx.org>
1137 * buffer.C (save): s/slashify_path/internal_path/.
1139 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1141 * lyxfind.C (findChange): do not search for end of pars, because
1142 the change tracker cannot handle this (fixes bug 1719).
1144 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1146 * paragraph.[Ch] (autoBreakRows): remove
1148 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1150 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1151 avoid using the paragraph one
1153 * text2.C (LyXText, insertStringAsLines): adjust
1155 2004-12-16 Angus Leeming <leeming@lyx.org>
1159 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1161 2004-12-14 Angus Leeming <leeming@lyx.org>
1163 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1165 * bufferlist.C (emergencyWrite):
1166 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1169 2004-12-14 Angus Leeming <leeming@lyx.org>
1171 * main.C: (main): no longer pass pointers to os::init.
1173 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1175 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1176 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1178 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1181 * text3.C: remove selection_possible global flag
1183 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1185 * text2.C (getSelectionSpan): remove
1186 (changeDepth, changeDepthAllowed): adjust
1188 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1190 * Makefile.am (BOOST_LIBS): use boost variables
1192 2004-12-03 José Matos <jamatos@lyx.org>
1194 * buffer.C: format up to 238.
1196 2004-12-03 José Matos <jamatos@lyx.org>
1198 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1200 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1202 * cursor.C (goUpDown): remove call to idxUpDown2
1204 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1206 * tabular.[Ch]: use size_t-like types for cell, row and column
1209 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1211 * lyxfunc.C (getStatus): do not lose previous information when
1212 calling BufferView::getStatus; do not set a default "Command
1213 disabled" message at the beginning, but just before returning.
1215 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1217 * cursor.h (getStatus): add better comment from src/cursor.C
1219 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1221 * text3.C (getStatus): return false when the lfun is not handled
1223 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1225 * broken_headers.h: remove
1227 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1229 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1231 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1232 offset_ref accessors
1234 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1235 top_y_, merge fitcursor with update
1236 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1238 (metrics): introduce
1239 (workAreaDispatch): adapt to new coord scheme
1240 (redoCurrentBuffer): remove
1242 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1244 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1247 * coordcache.[Ch]: add paragraph cache and helpers
1249 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1252 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1253 (targetX, setTargetX): introduce
1255 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1256 baseline -> ascent, as the rest of lyx
1258 * lyxtext.h: remove redoParagraphs, updateParPositions,
1259 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1260 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1261 have ascent/descent (ascent is ascent of first par)
1263 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1266 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1268 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1270 * pariterator.C: fix infinite loop introduced in par->pit renaming
1272 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1273 in insets and LyXText, draw two off-screen paragraphs using
1274 NullPainter, and adapt to new coord scheme
1278 * text3.C: adapt lfun handlers to the new coord scheme, which
1279 means: there's only guaranteed coord information for onscreen pars
1280 plus one above and one below. This implies that one can do search
1281 from y coordinates in the range [-1,workHeight]
1283 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1285 * rename a lot of InsetOld to InsetBase
1287 2004-11-25 Angus Leeming <leeming@lyx.org>
1289 * BufferView_pimpl.C:
1291 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1293 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1295 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1296 call BufferView::getStatus if LCursor::getStatus did nothing
1297 (setStatusMessage, getStatusMessage): removed.
1299 * FuncStatus.C (message): new methods. Used to provide an error
1300 message indicating why a command is disabled.
1301 (clear, |=, FuncStatus): update for message.
1303 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1305 * lyxfunc.C (dispatch): always call sendDispatchMessage
1307 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1310 * BufferView_pimpl.C:
1315 * cursor_slice.[Ch]:
1318 * paragraph_funcs.C:
1324 * undo.C: par->pit renaming
1326 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1328 * tabular.C (cellstruct): use initialization, store a shared_ptr
1329 to insettext instead of the insettext directly, adjust to fit.
1330 (operator=): new function
1331 (swap): new function
1332 (rowstruct): use initialization
1333 (columnstruct): use initialization
1334 (ltType): use initialization
1337 * lyxlength.h (swap): new function
1339 * LColor.[Ch] (operator=): use the common semantics
1341 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * lyxfind.C (findNextChange): update the bufferview after setting
1346 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1348 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1349 number of InsetOptArgs has already been inserted.
1351 * output_latex.C (latexOptArgInsets): new method. This outputs all
1352 the optarg insets, up to the limit defined in the layout file.
1353 (optArgInset): removed
1354 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1356 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1358 * paragraph.C (isLetter): remove special spellchecker-related
1359 code; return true also for digits
1360 (isWord, isKomma): remove
1362 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1363 * lyxfind.C (MatchString()): use isLetter instead of isWord
1365 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1367 * pariterator.h (operatir=): comment out un-implemented member
1370 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1373 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1375 * lyxfont.h: include LColor.h to satisfy concept checks.
1377 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1379 * pariterator.h: add typdefs for value_type, difference_type,
1380 pointer and reference to satisfy concept checks. Also add default
1381 constructor for same reason.
1383 * pariterator.C (operator++): add post-increment operator to
1384 satisfy concept checks.
1386 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1389 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1391 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1392 checks. Also rename base_type to BaseType to follow naming
1395 * FloatList.h: include Floating.h to satisfy concept checks.
1397 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1399 * lyxfunc.C (getStatus): when the origin of the request is menu or
1400 toolbar, and the LyXView does not have focus, do as if there was
1401 no buffer (bug 1720)
1403 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1404 FuncRequest to individual entries of LFUN_SEQUENCE
1406 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1408 * output_latex.C (TeXOnePar): override runparams.moving_arg
1409 according to the needprotect value of the current paragraph (bug
1412 * paragraph.C (simpleTeXOnePar): no need to override
1413 runparams.moving_args here
1415 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1417 * vspace.C: fix off-by-one-error, related to fix #1682
1419 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1421 * lengthcommon.C: a more general fix for bug 1682
1423 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1425 * text.C (backspace): fix crash
1427 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1429 * format.[Ch] (getFormatFromFile): new method
1430 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1432 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1434 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1436 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1438 * lyxfunc.C (dispatch): remove the verbose argument
1439 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1442 * kbmap.C (defkey): set the origin of func to KEYBOARD
1444 * MenuBackend.C (MenuItem):
1445 * ToolbarBackend.C (add): set the origin of func to UI
1447 * funcrequest.[Ch]: add origin member, which indicates which part
1448 of LyX requests an action
1450 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1452 * converter.C (move): don't lie in the error message
1453 * converter.h (isReachable, move): document
1455 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1457 * buffer.C: remove unused using lyx::support::atoi
1458 * paragraph_funcs.C: ditto
1460 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1462 * bufferlist.C (exists): use bind and equal_to instead of
1465 * lyxtextclasslist.C (NumberOfClass): ditto
1467 * cursor.C (insert): use for_each instead of explicit for loop
1469 * bufferlist.C (getFileNames): use std::transform and
1470 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1472 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1475 * buffer.C (changeLanguage): use for_each instead of explicit for
1477 (hasParWithID): implement using getParFromID
1479 * LaTeXFeatures.C: ws change only
1481 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1484 * BufferView_pimpl.C (trackChanges): use for_each instead of
1487 2004-11-04 André Pönitz <poenitz@gmx.net>
1490 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1492 * dociterator.C (asDocIterator): use hard assert again.
1494 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1496 * lyxlength.C (asLatexString): rewrite so that it does not use
1499 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1501 * text3.C (specialChar, dispatch): make sure cursor moves to the
1502 right after inserting an inset
1504 2004-11-02 José Matos <jamatos@lyx.org>
1506 * output_docbook.C (docbook):
1507 * paragraph.C (getID):
1508 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1509 garantee that the output is always legal.
1511 * tabular.C (docbook):
1512 * outputprams.[Ch]: remove mixed contents.
1514 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1516 * text2.C (setCounter): prevent endless loop
1518 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1520 * exporter.C (copyFile): use the mover instead of support::copy()
1521 * exporter.C (Export): pass format and latex name to copyFile()
1522 * exporter.h (addExternalFile): document
1523 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1525 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1527 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1529 2004-10-30 José Matos <jamatos@lyx.org>
1531 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1532 text and no inset or font change. This allows to use CDATA
1533 sections just for the whole paragraph.
1535 2004-10-30 José Matos <jamatos@lyx.org>
1537 * paragraph.C (getFirstWord): remove unused variable.
1539 2004-10-30 José Matos <jamatos@lyx.org>
1541 * paragraph.C (getFirstWord): the content should always be escaped
1543 (simpleDocBookOnePar):
1544 * output_docbook.C (makeEnvironment): replace reference to CDATA
1547 2004-10-30 José Matos <jamatos@lyx.org>
1549 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1551 2004-10-30 José Matos <jamatos@lyx.org>
1553 * output_docbook.C (makeParagraphs):
1554 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1555 standard paragraph has only a given type of content drop the wrapper.
1557 2004-10-29 José Matos <jamatos@lyx.org>
1559 * output_docbook.C (makeEnvironment):
1561 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1563 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1565 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1566 (cleanID): sanitize any id.
1568 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1570 * buffer.C, lyxlex_pimpl.C:
1571 * lyxlex_pimpl.C (setFile):
1572 s/getExtFromContents/getFormatFromContents/
1574 2004-10-28 José Matos <jamatos@lyx.org>
1576 * output_docbook.C (makeEnvironment): move id to broadest possible
1579 * sgml.C (openTag): apply substitution of <> for all attributes.
1581 2004-10-28 José Matos <jamatos@lyx.org>
1583 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1584 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1585 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1587 * sgml.[Ch]: new version for open and closeTag for paragraph and
1588 for strings. Now they handle the ids of paragraphs.
1590 2004-10-26 Angus Leeming <leeming@lyx.org>
1592 * Makefile.am: add mover.[Ch].
1594 * converter.C (convert, move): use the new Movers to move external
1595 files to the temp directory.
1597 * lyx_main.C (init): ensure that the global system_movers data
1600 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1603 * mover.[Ch]: new files, defining a Mover as a utility to move an
1604 external file between directories and, if necessary, manipulate this
1605 file using a helper script.
1607 2004-10-25 José Matos <jamatos@lyx.org>
1609 * output_docbook.C (makeCommand): merge two if's that tested the
1612 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 * sgml.C (escapeString): fix warning in a better way
1616 2004-10-25 José Matos <jamatos@lyx.org>
1618 * sgml.C (escapeString): import the require boosts header file for
1619 tie, and avoid a signed unsigned comparison.
1621 2004-10-25 José Matos <jamatos@lyx.org>
1623 * sgml.h: add #include <string>
1625 2004-10-25 José Matos <jamatos@lyx.org>
1627 * sgml.[Ch] (escapeString): new function to escape all the string.
1629 2004-10-24 José Matos <jamatos@lyx.org>
1631 * paragraph.[Ch] (getFirstWord): new function to get the first
1632 word. Useful for description.
1633 (simpleDocBookOnePar): remove depth argument, add another that
1634 says where to start the paragraph.
1636 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1637 use the new functions to fix cleanly the support for descriptions.
1639 2004-10-24 José Matos <jamatos@lyx.org>
1641 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1642 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1643 * output_linuxdoc.C (linuxdocParagraphs):
1644 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1645 add buffer as argument.
1647 2004-10-24 José Matos <jamatos@lyx.org>
1649 * output_docbook.C (makeEnvironment, searchEnvironment): place
1650 CDATA inside paragraphs and fix scope for listitems.
1652 2004-10-24 José Matos <jamatos@lyx.org>
1654 * output_docbook.C: remove using statement for stack.
1656 2004-10-23 José Matos <jamatos@lyx.org>
1658 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1659 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1660 docbook. The new scheme is recursive and makes use of iterators, the
1661 same as latex export works.
1662 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1663 directly with the paragraph contents. This code was moved up to
1664 output_docbook.C (docbookParagraphs).
1665 * sgml.C (openTag, closeTag): removed unneeded newlines.
1666 (closeEnvTags) removed.
1668 2004-10-23 André Pönitz <poenitz@gmx.net>
1670 * undo.C (textUndoOrRedo):
1671 * dociterator.C (asDocIterator): work around crash
1673 * cursor.C (getStatus): replace ASSERT by more verbose error message
1674 and manual correction of the problem. Should increase stability
1675 while providing more sensible information.
1677 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1679 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1681 * bufferlist.C (previous, next): new methods
1684 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1686 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1688 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1689 entities to preamble.
1691 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1693 * messages.C (Pimpl): strip off translation context information
1695 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1697 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1698 the cursor is correct (bug 1694)
1700 2004-10-13 José Matos <jamatos@lyx.org>
1702 * output_docbook.C (docbookParagraphs): fix closing tags in the
1703 end of the document.
1705 2004-10-09 José Matos <jamatos@lyx.org>
1707 * buffer.C: format up to 237.
1708 * bufferparams.C (write): use tostr to convert booleans to strings.
1710 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1712 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1714 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1716 * LaTeX.C: implement use of babel language in xindy.
1718 2004-10-05 José Matos <jamatos@lyx.org>
1720 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1721 Add new translators to help reading and writing the lyx file.
1723 2004-10-05 José Matos <jamatos@lyx.org>
1725 * ParagraphParameters.C (read):
1726 * text.C (readParToken): replace nexToken by more appropriate lex
1729 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1731 * LaTeX.C (runMakeIndex):
1732 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1733 (usually 'makeindex') configurable.
1735 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1736 with a variable rather than with a number.
1738 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1740 * output_latex.C (TeXOnePar): make sure font setting is the first
1741 thing that gets output (and the last at the end). Should fix bug
1744 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1746 * pch.h: use proper signal include
1748 * LaTeX.h: Use preferred calling of Boost.Signal
1751 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1753 * pch.h: dont include <boost/function/function0.hpp>
1755 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1757 * paragraph_pimpl.h: remove usage of ShareContainer
1759 * paragraph_pimpl.C: remove initialization of ShareContainer.
1761 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1765 * BufferView.C (putSelectionAt): change the semantics when
1766 backwards == true: now, this just swaps cursor and anchor wrt the
1769 * BufferView.h (putSelectionAt): add some documentation
1771 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1772 make sure backwardChar is done at least once (to avoid getting
1774 (findNextChange): use putSelectionAt in the forward direction
1775 (operator()): use Paragraph::isWord
1777 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1779 * Spacing.C (set): c_str fix
1781 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1783 * lyx_cb.C (Reconfigure): quote the name of configure script in
1784 case it contains spaces
1786 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1790 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1791 (BOOST_LIBS): use top_buildir when looking for the file
1793 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1795 * pch.h: do not use include boost/format.hpp, multiple symbols
1796 will result (gcc bug)
1799 2004-08-23 José Matos <jamatos@lyx.org>
1801 * bufferparams.C (readToken): fix reading of the author field.
1803 2004-08-20 José Matos <jamatos@lyx.org>
1805 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1807 2004-08-20 José Matos <jamatos@lyx.org>
1809 * lyxlex.[Ch] (findToken): remove function.
1811 * ParagraphParameters.C (findToken):
1812 * bufferparams.C (findToken): replace call for previous function
1813 with local copy. This local function has one more argument, the
1814 read string argument.
1816 2004-08-16 José Matos <jamatos@lyx.org>
1818 * ParagraphParameters.C (write):
1819 * Spacing.C (writeFile):
1820 * bufferparams.C (writeLaTeX):
1821 * lyx_cb.C (Reconfigure):
1822 * paragraph.C (write):
1823 * tabular.C (write): remove unnecessary space at end of line.
1826 2004-08-16 José Matos <jamatos@lyx.org>
1828 * text.C (readParagraph): remove debug message.
1830 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1835 * output_plaintext.C (asciiParagraph): set depth correctly
1837 * outputparams.h: add member depth
1839 * paragraph_funcs.C (ownerPar): remove.
1841 * text2.C (setCounter): remove first_pit; comment out some
1842 non-working code that uses ownerPar
1844 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1847 2004-08-16 José Matos <jamatos@lyx.org>
1849 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1850 For the same level of importance use the same chanel to report problems.
1851 (read): add code to deal with \begin_body and \end_body.
1854 2004-08-15 José Matos <jamatos@lyx.org>
1856 * lyxlex.C (getString): fix comment, buffer::readBody is now
1857 buffer:readDocument.
1859 * tex-strings.C (string_papersize): Default -> default,
1860 Custom -> custom, for consistency with other options.
1862 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1866 * Makefile.am: support pch
1868 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1870 * text.C (readParToken): remove the static LyXFont variable and
1871 pass it as a parameter instead. This fixes a nasty bug where an
1872 inset will be inserted with a bad font in some situations
1873 (readParagraph): adapt
1875 * text2.C (setCounter): reduce number of calls to pars_[pit]
1877 * text.C (singleWidth): add an assert, fix a test
1879 * rowpainter.C (paintText): reduce number of calls to singleWidth
1881 * paragraph.C (isHfill):
1882 (isNewline): ws only
1884 2004-08-14 André Pönitz <poenitz@gmx.net>
1889 * lyxtext.h (several functions): use a Paragraph & argument
1892 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1894 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1896 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1898 * text.C (singleWidth): remove useless test
1900 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1902 * tabular.h: remove bogus comments
1904 * tabular.C (getDescentOfRow):
1905 (isPartOfMultiColumn): add assertions
1907 * lyxlength.C (inPixels): remove #warning
1909 2004-08-14 André Pönitz <poenitz@gmx.net>
1911 * paragraph.h: inline getChar()
1913 * BufferView.h: remove unused declarations
1915 2004-08-14 José Matos <jamatos@lyx.org>
1917 * Buffer.[Ch] (readDocument): new name for old readBody.
1918 * Buffer.C: new file format, new keywords: \begin_document,
1919 \begin_header, \begin_body, \end_body.
1921 * bufferparams.C (readToken): replace all calls to lex.nextToken
1922 by lex.next(). Do the same to eatLine except where really needed.
1924 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1925 line when writing to the lyx file.
1927 * output_plaintext.C (asciiParagraph): fix Bibliography style
1930 * text.C (read): fix end of file handling.
1932 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1934 * MenuBackend.C (Menu::operator[]): new method to access
1935 individual menu items
1936 (Menu::hasFunc): new method. search for an item that corresponds
1938 (MenuBackend::specialMenu): new method
1939 (MenuBackend::expand): if a special menu has been set, skip
1940 entries whose func() appears in this menu
1942 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1944 * text3.C: use Debug::DEBUG a bit more
1946 * text.C (leftMargin): try to simplify a tiny bit change var x to
1947 l_margin. Dont output the wide margins always.
1948 (rightMargin): no margin in inner texts
1950 * rowpainter.h (nestMargin): new func
1951 (changebarMargin): new func
1952 (rightMargin): new func
1954 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1958 * factory.C (createInset): modify setDrawFrame
1960 * cursor.C: use Debug::DEBUG a bit more
1962 2004-08-14 André Pönitz <poenitz@gmx.net>
1965 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1966 cache for all insets in (at least partially) visible (top-level)
1969 * BufferView_pimpl.C: reset external coord cache before every update.
1970 This means the coord cache only contains valid entries.
1972 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1975 * BufferView_pimpl.C (getInsetByCode): move function out of class
1976 and change in to a template in anon namespace. Also fix to do what
1979 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1982 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1984 (breakParagraph): rename par to par_offset and use a local
1985 reference. Add code to keep the language over a rebreak.
1986 (breakParagraphConservative): rename par to par_offset, use a
1988 (mergeParagraph): ditto
1990 (isFirstInSequence): ditto
1991 (outerFont): rename pit to par_offset
1993 * paragraph.C: ws change
1994 * paragraph.h: ditto
1998 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2000 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2003 * paragraph.C (simpleTeXOnePar): when we have a \item with
2004 optional argument, enclose the argument with curly brackets (in
2005 case it contains a closing square bracket)
2009 * text3.C (checkInsetHit): constify
2011 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2013 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2014 documents (bug 1629)
2016 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2018 Fix toggling of collapsable insets with the mouse (bug 1558)
2020 * lyxfunc.C (dispatch): adapt to LCursor changes
2022 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2023 make sure that dispatch is not invoked twice
2025 * cursor.C (needsUpdate): new method
2026 (dispatch): return void
2027 (result): new method, to access the DispatchResult of the cursor.
2029 2004-08-13 José Matos <jamatos@lyx.org>
2031 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2033 2004-08-13 André Pönitz <poenitz@gmx.net>
2035 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2037 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2040 2004-08-12 André Pönitz <poenitz@gmx.net>
2042 * text3.C: take out the 'cursor right' form insertInset and only
2043 do it in those places when it is really needed. Fixes crash on
2046 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2048 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2050 * BufferView_pimpl.C (setBuffer): initialize the current font of
2051 the underlying LyXText
2053 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2055 * kbsequence.C (print): use UI native formatting for menu
2058 * text.C (insertChar): call Paragraph::insertChar with a font
2061 * paragraph.C (insertInset, insertChar): the version that takes a
2062 LyXFont argument is now a wrapper around the other one (the
2063 opposite used to be true).
2065 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2066 argument. Font setting is done in Paragraph now.
2068 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2070 * outputparams.h: add new members intitle and lang.
2072 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2073 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2075 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2077 * text3.C (dispatch): remove special handling of button 4 and 5,
2078 it is now taken care of in the frontend code.
2080 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2082 * Spacing.h: add <string> (STLPort compile fix)
2084 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2086 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2088 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2090 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2093 * converter.C (showMessage): inherit from unary_function, make
2096 * buffer.C (writeFile): initialize retval
2098 * InsetList.h: rename private variable list to list_
2099 * InsetList.[Ch]: adjust accordingly.
2101 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2103 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2104 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2105 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2106 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2107 * ParagraphParameters.C, LaTeXFeatures.C: replace
2108 "support/std_sstream.h" with <sstream>
2110 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2112 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2113 * lyxsocket.C (LyXServerSocket): ditto
2114 (serverCallback): ditto
2116 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2118 * LaTeXFeatures.C: check release date when loading jurabib.
2120 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2122 * lyxserver.C (startPipe): call register_socket_callback
2123 (endPipe): call unregister_socket_callback
2125 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2127 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2128 (LyXServerSocket): register the callback
2129 (LyXServerSocket): unregister the callback
2130 (fd): delete function
2131 (serverCallback): improve error checking and setup the callbacks.
2132 (dataCallback): change arg to fd.
2133 (writeln): new func (copied fro the client socket) used for server
2135 (LyXDataSocket): simplify
2136 (~LyXDataSocket): close ann unregiser callback
2137 (server): delete function
2138 (fd): delete function
2139 (readln): small changes, improve some std::string usage
2140 (writeln): constify a bit
2142 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2144 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2147 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2150 after it has been populated
2152 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2154 * text2.C (insertInset): move cursor when inserting inset.
2156 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2158 * kbmap.C (findbindings): a couple of new methods. returns a
2159 container of kb_sequence objects. The real work is done by the
2160 private recursive version
2161 (printbindings): uses findbindings to print out a bracketed list
2162 of bindings (renamed from findbinding).
2164 * MenuBackend.C (binding): use kb_keymap::findbindings
2166 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2168 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2170 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2172 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2174 * paragraph.C (isWord): return true on insets that report
2177 * text.C (getWord): use Paragraph::isWord to decide what is in a
2178 word and what is not; fix bug 1609.
2180 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2182 * tex-strings.C: add "none" to string_paperpackages[], fixes
2183 off-by-one-error in the paperpackage selection.
2186 * tex-strings.[Ch]: char const * string[n]
2187 -> char const * const string[]
2189 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2191 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2192 command, return early.
2194 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2196 * debug.h: add DEBUG to enum and fix size of ANY.
2198 * debug.C: add support for Debug::DEBUG
2199 (showTags): cast errorTags.level to unsigned int
2201 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2202 (redoCurrentBuffer): ditto
2203 (updateScrollbar): ditto
2204 * cursor.C (dispatch): ditto
2205 * text2.C (setLayout): ditto
2207 (updateCounters): ditto
2209 (deleteEmptyParagraphMechanism): ditto
2211 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2213 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2214 annotations to cleanup the Makefile slightly.
2216 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2218 * lyxrc.C: do not set user_email to a default value but use empty
2219 instead. The entry used to be translated, which does not work
2220 since at the point where lyxrc is constructed there is no
2221 translation service available
2223 * messages.C (getLocaleDir): remove and use directly
2224 lyx_localedir() instead
2226 2004-06-02 Angus Leeming <leeming@lyx.org>
2228 Fix crash caused by dereferencing null pointer 'exportdata' in
2229 OutputParams by creating a new ExportData variable on the heap,
2230 storing it in a boost::shared_ptr.
2231 The crash was triggered when generating an Instant Preview
2232 of an external inset.
2234 * Makefile.am: add outputparams.C
2236 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2237 (c-tor): allocate memory to it.
2239 * exporter.C (c-tor): associated changes.
2241 2004-06-01 Angus Leeming <leeming@lyx.org>
2243 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2244 contains data before calling isInset(0). (Bug 1513.)
2246 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2248 * exporter.C (checkOverwrite): new method
2249 * exporter.C (copyFile): new method
2250 * exporter.C (Export): copy referenced files to the document dir
2251 * exporter.[Ch]: new class ExportedFile
2252 * exporter.[Ch]: new class ExportData. Contains currently the
2253 names of referenced external files
2254 * outputparams.h: add exportdata member.
2256 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2258 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2261 2004-05-19 Angus Leeming <leeming@lyx.org>
2266 * lyxfunc.C: small changes due to the introduction of namespace
2267 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2269 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2271 * text3.C (dispatch): supress update when only moving the cursor
2272 * cursor.C (selHandle): remove commented code
2274 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2276 * paragraph.C (startTeXParParams): correct column count
2277 * CutAndPaste.C (pasteSelection): remove const_cast
2278 * output_docbook.C (docbookParagraphs): remove const_cast
2279 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2280 const_cast and return ParagraphList::const_iterator
2281 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2282 * output_plaintext.C (writeFileAscii): remove const_cast
2283 * paragraph.[Ch] (simpleTeXOnePar): make const
2284 * paragraph_funcs.C (outerPar): use const iterators
2285 * paragraph_pimpl.C (validate): use const iterators
2286 * text.C (setHeightOfRow): use const iterators
2288 2004-05-17 Angus Leeming <leeming@lyx.org>
2291 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2293 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2294 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2295 if the citation engine has changed.
2297 2004-05-14 José Matos <jamatos@lyx.org>
2299 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2300 if the textclass does not provide it. Have it different for sgml and
2302 support the language of document.
2303 * output_docbook.C (docbookParagraphs):
2304 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2305 first anchor as the id of the paragraph, remove special case code.
2306 * sgml.C (escapeChar): escape only < & >.
2308 2004-05-14 Angus Leeming <leeming@lyx.org>
2310 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2311 dependencies on src/frontends/controllers/biblio.h. Define a
2312 CiteEngine_enum wrapper class to enable the enum to be forward
2315 2004-05-12 Angus Leeming <leeming@lyx.org>
2317 * buffer.C: up LYX_FORMAT to 234.
2318 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2319 use_numerical_citations with a single biblio::CiteEngine cite_engine
2321 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2323 2004-05-13 José Matos <jamatos@lyx.org>
2326 * converter.C (Converter, readFlags): add xml member.
2327 * outputparams.h: add XML flavor.
2328 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2330 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2332 * lyxfunc.C (dispatch):
2333 (getStatus): fix handling of LFUN_SEQUENCE
2335 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2337 * debug.C (showLevel): do not forget the end-of-line marker
2339 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2341 * kbmap.C (read): do not stop parsing a bind file when an error
2344 2004-04-29 Angus Leeming <leeming@lyx.org>
2349 * text2.C: wrap a bunch of #warning statements
2350 inside #ifdef WITH_WARNINGS blocks.
2352 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2354 * buffer.C: increment format to 233.
2356 2004-04-28 Angus Leeming <leeming@lyx.org>
2358 * BufferView_pimpl.C:
2361 s/updateToolbar()/updateToolbars()/
2362 s/Toolbar.h/Toolbars.h/
2364 2004-04-28 Angus Leeming <leeming@lyx.org>
2366 * BufferView.[Ch] (c-tor):
2367 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2368 No longer passes these data to the WorkArea generator.
2370 2004-04-28 Angus Leeming <leeming@lyx.org>
2372 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2374 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2376 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2378 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2380 * output_latex.C (TeXEnvironment): make sure that there is a line
2381 break before \end{foo} for the last paragraph of a document
2382 (TeXOnePar): if the paragraph is at the end of the document (or
2383 inset) and the language has to be reset, then make sure that the
2384 line break is _before_ the language command, not after (fixes bug
2385 1225); also make sure that the language reset command is the first
2386 thing after the paragraph (to ensure proper nesting of
2387 environments and thus fix bug 1404)
2389 2004-04-21 John Levon <levon@movementarian.org>
2392 * ToolbarBackend.C: make "name" be a programmatic name
2393 and a gui_name field.
2395 * lyxfunc.C: display the minibuffer on M-x
2397 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2399 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2402 2004-04-19 Angus Leeming <leeming@lyx.org>
2404 * BufferView_pimpl.C (setBuffer): changed preview interface.
2406 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2409 2004-04-19 John Levon <levon@movementarian.org>
2411 * BufferView_pimpl.C:
2412 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2414 2004-04-05 Angus Leeming <leeming@lyx.org>
2416 * text.C (redoParagraphs): add call to updateCounters(), thereby
2417 fixing the missing "Figure #:" label from the caption of a
2420 2004-04-13 Angus Leeming <leeming@lyx.org>
2422 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2423 cursor is clicked out of an inset.
2425 2004-04-13 Angus Leeming <leeming@lyx.org>
2427 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2428 than an InsetOld one.
2430 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2432 * format.[Ch]: add editor to Format
2433 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2434 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2436 2004-04-08 André Pönitz <poenitz@gmx.net>
2438 * metricsinfo.h: remove PainterInfo::width member
2440 2004-04-08 Angus Leeming <leeming@lyx.org>
2442 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2443 "\providecommand" rather than "\newcommand", thereby preventing
2444 clashes with packages that define "\boldsymbol" themselves.
2447 2004-04-08 Angus Leeming <leeming@lyx.org>
2449 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2450 thereby squashing an unnecessary warning.
2452 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2454 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2457 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2459 * BufferView.C (setCursor): call redoParagraph (some insets could
2461 (putSelectionAt): remove the 'double update' trick
2463 * BufferView_pimpl.C (fitCursor): call refreshPar
2464 (workAreaDispatch): remove an uneeded update call
2465 (dispatch): remove some manual update calls
2467 * cursor.[Ch]: remove cached_y_, updatePos
2468 (selHandle): set noUpdate when appropriate
2470 * lyxfunc.C (dispatch): track if we need an update
2472 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2474 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2475 (paintSelection): cheap optimization, do not call cursorX when not
2477 (paintPars): change signature
2480 (paintTextInset): adjust
2484 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2486 * lengthcommon.C: compilation fix: remove explicit array size from
2487 unit_name[] and friends
2489 2004-04-05 Angus Leeming <leeming@lyx.org>
2491 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2493 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2494 present only for the preferences dialog.
2495 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2497 2004-04-05 Angus Leeming <leeming@lyx.org>
2499 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2500 to enable the frontends to export changes to lyxrc correctly.
2502 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2504 2004-04-07 André Pönitz <poenitz@gmx.net>
2506 * cursor.[Ch] (selClear, adjust): remove math
2508 * cursor_slice.C: more agressive assert
2511 * BufferView_pimpl.C: rework mouse event dispatch
2518 2004-04-05 André Pönitz <poenitz@gmx.net>
2520 * cursor.[Ch] (valign, halign...): remove unneeded functions
2522 2004-04-05 Angus Leeming <leeming@lyx.org>
2524 * lyxlength.[Ch] (unit_name et al.): const-correct.
2526 2004-04-05 Angus Leeming <leeming@lyx.org>
2528 * BufferView_pimpl.C:
2537 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2539 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2541 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2543 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2545 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2546 * BufferView_pimpl.[Ch] (getStatus)
2547 * BufferView.[Ch] (getStatus): add
2548 * lyxfunc.C (getStatus): move lfuns handled in
2549 BufferView::dispatch to te function above
2550 * Cursor.C (setSelection): set selection() = true
2552 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2554 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2556 2004-03-31 Angus Leeming <leeming@lyx.org>
2558 * lyxfunc.C (dispatch): Fall through to the generic
2559 Dialogs::show("preamble").
2561 2004-03-31 Angus Leeming <leeming@lyx.org>
2563 * lyxfunc.C (dispatch): Fall through to the generic
2564 Dialogs::show("spellchecker").
2566 2004-03-31 Angus Leeming <leeming@lyx.org>
2568 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2571 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2576 * insetiterator.[Ch]:
2581 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2583 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2585 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2586 insets where we are putting the cursor.
2588 2004-03-31 Angus Leeming <leeming@lyx.org>
2591 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2593 * lyxrc.[Ch] (read, write): overloaded member functions taking
2594 a std::[io]stream arguments.
2596 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2598 2004-03-31 Angus Leeming <leeming@lyx.org>
2600 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2601 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2603 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2604 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2606 2004-03-31 Angus Leeming <leeming@lyx.org>
2608 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2609 the LFUN_ALL_INSETS_TOGGLE code.
2611 2004-03-30 Angus Leeming <leeming@lyx.org>
2613 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2614 has died. Fall through to the generic Dialogs::show("document").
2616 2004-03-30 Angus Leeming <leeming@lyx.org>
2619 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2620 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2622 * lyxfunc.C (getStatus, dispatch): define the actions for these
2623 lfuns. Little more than a cut and pste job from ControlDocument.C
2625 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2627 2004-03-30 Angus Leeming <leeming@lyx.org>
2630 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2631 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2633 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2634 open/closed state of ollapsable insets. Usage:
2636 all-inset-toggle <state> <name>, where
2637 <state> == "open" || "closed" || "toggle" and
2638 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2640 * lyxtext.h, text2.C (toggleInset): removed.
2642 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2643 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2644 now passes LFUN_INSET_TOGGLE to the found inset.
2646 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2647 is now invoked as "all-insets-toggle toggle branch".
2649 2004-03-30 Angus Leeming <leeming@lyx.org>
2653 * pariterator.[Ch]: added/corrected header blurb.
2655 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2657 * dociterator.[Ch]: add an inset_ member
2658 (backwardPos): implemented
2659 (backwardPos, forwardPos): use inset_ when the stack is empty.
2660 (doc_iterator_begin, doc_iterator_end): implemented
2661 * pariterator.[Ch]: adjust, add begin, end
2662 * insetiterator.[Ch]: adjust, add begin, end
2666 * BufferView_pimpl.C:
2667 * CutAndPaste.C: adjust
2669 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2671 * buffer.C: increment file format to 232.
2672 * LaTeXFeatures.C: add bibtopic package.
2673 * bufferparams.[Ch]: param \use_bibtopic.
2675 * lyxrc.[Ch]: add lyxrc bibtex_command
2676 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2678 * buffer.C: increment file format to 231.
2680 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2682 * dociterator.C: implement forwardPar
2683 * iterators.[Ch]: remove, replaced by
2684 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2686 * BufferView_pimpl.C:
2689 * bufferview_funcs.C:
2695 * Makefile.am: adjust
2697 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2699 * CutAndPaste.C (pasteSelection): fix 2 crashes
2700 (eraseSelection): fix a crash
2701 * paragraph_funcs.C: remove a warning
2703 2004-03-28 Angus Leeming <leeming@lyx.org>
2706 * LyXAction.C (init): new LFUN_PRINT.
2708 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2710 2004-03-27 Angus Leeming <leeming@lyx.org>
2713 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2715 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2717 2004-03-27 Angus Leeming <leeming@lyx.org>
2719 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2720 insetlist always contains non-null pointers to insets.
2722 2004-03-26 Angus Leeming <leeming@lyx.org>
2724 * src/BufferView_pimpl.C:
2725 * src/CutAndPaste.C:
2728 * src/output_plaintext.C:
2729 * src/outputparams.h:
2730 * src/paragraph_funcs.C:
2734 * src/frontends/controllers/ControlErrorList.C:
2735 * src/frontends/gtk/FileDialogPrivate.C:
2736 * src/frontends/gtk/GPainter.C:
2737 * src/frontends/gtk/GToolbar.C:
2738 * src/frontends/qt2/QRef.C:
2739 * src/mathed/math_scriptinset.C: squash compiler warnings.
2741 2004-03-26 Angus Leeming <leeming@lyx.org>
2743 * ispell.C (LaunchIspell::start):
2744 * lyx_cb.C (AutoSaveBuffer::start):
2745 invoke run(DontWait) rather than runNonBlocking().
2747 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2749 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2751 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2753 * kbsequence.C (print): adjust
2755 * kbmap.C (printKeySym): rename and change signature
2756 (printKey): use LyXKeySym::print()
2758 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2760 * undo.C: add using std::advance to compile for stlport
2762 2004-03-24 Angus Leeming <leeming@lyx.org>
2764 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2765 it leads to a crash when no buffer is present.
2767 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2768 Martin Vermeer <martin.vermeer@hut.fi>
2770 * lyxfunc.C (dispatch):
2771 * bufferparams.C (readToken): use the new LColor::setColor
2773 * LColor.[Ch] (setColor): new version that takes two strings as
2774 argument and creates a new color entry if necessary
2776 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2778 * buffer.C (makeLaTeXFile): if the main latex file that is
2779 processed is usually a subdocument of some master, then pretend
2780 for a while that it is actually the master
2782 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2784 * buffer.C (getLabelList):
2785 (getBibkeyList): use getMasterBuffer()
2786 (getMasterBuffer): new method. Returns the main document in the
2787 case where one is using included documents.
2789 2004-03-25 André Pönitz <poenitz@gmx.net>
2793 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2795 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2797 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2798 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2800 * ParameterStruct.h: merge with ParagraphParameters
2802 * lyxtext.h: remove LyXText::parOffset() and getPar()
2804 * text3.C: Remove all 'manual' update calls. We do now one per user
2805 interaction which is completely sufficient.
2809 * BufferView_pimpl.C:
2810 * FontIterator.[Ch]:
2812 * ParagraphParameters.[Ch]:
2817 * cursor_slice.[Ch]:
2824 * output_docbook.[Ch]:
2825 * output_latex.[Ch]:
2826 * output_linuxdoc.[Ch]:
2827 * output_plaintext.[Ch]:
2829 * paragraph_funcs.[Ch]:
2830 * paragraph_pimpl.[Ch]:
2838 * frontends/controllers/ControlDocument.C:
2839 * frontends/controllers/ControlErrorList.C:
2840 * frontends/controllers/ControlSpellchecker.C:
2843 * insets/insetbase.h:
2844 * insets/insetbibitem.C:
2845 * insets/insetbox.C:
2846 * insets/insetbranch.C:
2847 * insets/insetcaption.C:
2848 * insets/insetcharstyle.C:
2849 * insets/insetcharstyle.h:
2850 * insets/insetcollapsable.C:
2851 * insets/insetcollapsable.h:
2852 * insets/insetert.C:
2853 * insets/insetfloat.C:
2854 * insets/insetfoot.C:
2855 * insets/insetmarginal.C:
2856 * insets/insetnote.C:
2857 * insets/insetoptarg.C:
2858 * insets/insettabular.C:
2859 * insets/insettext.C:
2860 * insets/insettext.h:
2861 * insets/insetwrap.C:
2862 * mathed/math_mboxinset.C:
2863 * mathed/math_nestinset.C:
2864 * mathed/math_scriptinset.C:
2865 * mathed/math_scriptinset.h:
2868 2004-03-24 Angus Leeming <leeming@lyx.org>
2870 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2871 deal with any child processes that have finished but are waiting to
2872 communicate this fact to the rest of LyX.
2874 2004-03-24 Angus Leeming <leeming@lyx.org>
2876 64-bit compile fixes.
2878 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2879 (c-tor): pass lyx::pos_types rather than ints.
2881 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2884 * text.C (Delete): compile fix.
2885 (getPar): ensure that function declaration is the same as that in
2888 2004-03-23 Angus Leeming <leeming@lyx.org>
2890 * ispell.C (LaunchIspell):
2891 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2892 a boost::shred_ptr rather than a std::auto_ptr.
2894 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2896 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2897 handle LFUN_FILE_INSERT_*
2899 * lyxrc.C (setDefaults, getDescription, output, read):
2900 * lyxrc.h: remove ps_command
2902 2004-03-22 Angus Leeming <leeming@lyx.org>
2904 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2905 Ensure that error_handler is processed once only and that all data
2906 is saved before attempting to output any warning messages.
2908 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2910 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2912 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2914 2004-03-19 André Pönitz <poenitz@gmx.net>
2916 * cursor.[Ch] (reset): take main text inset as argument
2918 * BufferView: adjust
2919 * BufferView_pimpl.C: adjust
2921 * paragraph.[Ch]: fix completely broken operator=()
2923 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2925 * LColor.C (getFromLyXName): make sure that the color name is used
2928 2004-03-17 Angus Leeming <leeming@lyx.org>
2931 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2933 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2934 dialog and to kill a forked process.
2936 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2938 * text2.C (setCursorFromCoordinates): fix font problem
2940 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2942 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2943 bogus "rebuild cursor" code
2945 2004-03-11 André Pönitz <poenitz@gmx.net>
2947 * buffer.[Ch]: use InsetText instead of LyXText as container for
2950 * dociterator.[Ch]: drop the BufferView * member which is not needed
2951 anymore after the change to buffer.C
2953 * paragraph_funcs.C:
2957 * BufferView_pimpl.[Ch]:
2959 * cursor_slice.[Ch]: adjust
2961 * text3.C: fix bug in mathDispatch
2963 2004-03-08 André Pönitz <poenitz@gmx.net>
2965 * undo.[Ch]: use 'StableDocumentIterator' as base for
2968 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2971 * bufferparams.[Ch]: add jurabib support and param.
2973 * LaTeX.C: add FIXME/comment.
2975 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2977 * buffer.C: increment file format to 230.
2979 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2981 * cursor.C (dispatch): avoid infinite loops
2983 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2985 * rowpainter.C (paintSelection): fix x coordinates
2987 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2989 * text.C (rowBreakPoint): fix breaking before displayed insets
2991 2004-03-01 André Pönitz <poenitz@gmx.net>
2993 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2995 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2999 * BufferView_pimpl.C:
3007 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3013 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3014 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3016 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3018 * Bidi.[Ch] (computeTables): const correctness
3019 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3020 fill_hfill, fill_label_hfill and x from Row
3021 * lyxtext.h: prepareToPrint returns a RowMetrics
3022 * rowPainter.C: adjust
3023 * text.C (prepareToPrint): use width, not textWidth. adjust
3024 (redoParagraphInternal, cursorX): adjust
3025 * text2.C (getColumnNearX): adjust
3026 (init): put a default value to the top LyXText::width
3028 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3030 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3032 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3034 * lyxtext.h: add FontIterator class
3036 * text.C (FontIterator, operator*, operator->, operator++): add
3037 (rowBreakPoint, setRowWidth): adjust (fixing a
3040 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3042 * BufferView_pimpl.C (workAreaDispatch): allow also
3043 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3045 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3047 * text.C (rowBreakPoint): fix a bug showing with very large insets
3049 2004-02-25 André Pönitz <poenitz@gmx.net>
3052 * cursor.[Ch]: move some mathed specific code to mathed
3054 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3056 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3057 use_tempdir in preferences
3058 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3060 * lyx_main.C: ensure that tempdir is valid
3061 * lyxlex.h: correct typo
3062 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3063 * paragraph.[Ch] (isMultiLingual): make const
3064 * cursor.[Ch] (openable): make const
3066 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3068 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3070 2004-02-20 André Pönitz <poenitz@gmx.net>
3072 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3074 * cursor.[Ch]: prepare for localized getStatus()
3080 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3082 2004-02-20 André Pönitz <poenitz@gmx.net>
3084 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3086 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3088 * text2.C (setCursorFromCoordinates): switch to absolute coords
3090 (cursorDown): adjust
3091 * text3.C (dispatch): adjust
3093 2004-02-16 André Pönitz <poenitz@gmx.net>
3095 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3098 * cursor_slice.[Ch]: remove unneeded acessor function
3100 * lyxtext.h: rename rtl() to isRTL()
3108 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3110 * rowpainter.C (paintSelection): coord fix
3112 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3114 * Spacing.C: compile fix
3116 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3118 * cursor.C (dispatch): restore current_ before returning
3120 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3122 * text2.C (cursorUp, cursorDown): fix coords
3125 2004-02-12 André Pönitz <poenitz@gmx.net>
3130 * text3.C: add LCursor & parameter to most cursor movement functions
3131 remove usage of LyXText::cursorRow() and cursorPar()
3133 * cursor.[Ch]: add textRow() needed members
3136 * BufferView_pimpl.C:
3139 * BufferView_pimpl.C: adjust
3141 2004-02-11 André Pönitz <poenitz@gmx.net>
3145 * BufferView_pimpl.C: shift undo/redo handling
3147 * cursor.[Ch]: fix mathed crash
3150 * lyxtext.h: move selectionAsText to LCursor
3158 * rowpainter.C: fix excessive drawing
3160 2004-02-06 André Pönitz <poenitz@gmx.net>
3163 * BufferView_pimpl.[Ch]:
3164 * text3.C: move some text specific LFUN handling
3166 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3168 * text3.C (checkInsetHit): adjust coords
3169 * text2.C (getColumnNearX): adjust coords
3170 (edit): adjust coords
3171 * text.C (getRowNearY): add two asserts
3173 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3176 * format.C: add using std::distance to compile on gcc 2.95/stlport
3178 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3180 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3182 2004-02-04 André Pönitz <poenitz@gmx.net>
3184 * BufferView.[Ch] (insertInset):
3185 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3190 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3192 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3193 on the default clause of the switch
3194 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3195 wasn't catched by LCursor::dispatch
3197 2004-02-03 André Pönitz <poenitz@gmx.net>
3200 * cursor.[Ch]: some additional asserts
3202 * undo.[Ch]: remove LyXText dependency in interface
3206 * lyxtext.h (firstPar, lastPar): remove dead functions
3211 * paragraph.[Ch]: adjust
3213 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3215 * lyxfind.C (find): fix argument order in call to ::find
3217 2004-02-02 André Pönitz <poenitz@gmx.net>
3219 * cursor.[Ch]: remove direct access to anchor
3221 * text.C: remove findText() hack
3223 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3225 * iterators.[Ch] (lockPath): remove in favour of...
3226 * BufferView.[Ch] (setCursor): this addition
3227 * BufferView.C (putSelectionAt): adjust
3228 * undo.C (performUndoOrRedo): adjust
3229 * lyxfunc.C (dispatch): adjust
3231 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3233 * iterators.C (lockPath): add a missing slice
3234 * undo.C (performUndoOrRedo): remove redundant positioning code
3236 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3238 * vc-backend.C (scanMaster): ";" -> ';'
3240 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3242 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3243 std::binary_function
3245 * lyxtextclass.C (compare_name): rename to...
3246 (LayoutNamesEqual): ...this
3248 * lyxlex_pimpl.C (compare_tags): inherit from
3249 std::binary_function, put back into anon namespace
3251 * lyxfind.C (MatchString): inherig from std::binary_function
3252 (findChange): use empty() istead of !size()
3254 * format.C (FormatNamesEqual): new functor
3261 * converter.C (compare_Converter): rename to...
3262 (ConverterEqual): ...this, and fixup a bit.
3263 (getConverter): use it, and make function const
3264 (getNumber): use it, and make function const
3268 * bufferlist.C: add using boost::bind
3270 * MenuBackend.C (MenuNamesEqual): new functor
3271 (hasMenu): use it, and make function const
3272 (hasSubmenu): use nested bind to get rid of compare_memfun.
3274 2004-01-30 André Pönitz <poenitz@gmx.net>
3276 * BufferView_pimpl.C:
3279 * cursor_slice.[Ch]:
3282 * paragraph_funcs.C:
3283 * paragraph_funcs.h:
3287 * text3.C: move some of the edit(x,y) handling to the insets
3288 some coordinate changes.
3290 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3292 * text.C: add using statements for std::advance and std::distance
3294 * paragraph.C: add using statement for std::distance
3296 * lyxfind.C: add using statement for std::advance
3298 * cursor.C (region): remove std:: from swap
3299 (openable): use nucleus in stead of operator->
3301 * BufferView.C: add using statements for std::distance and std::swap
3303 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3305 * iterators.C: Remove the pimple, move the needed structures to
3306 the header file. Create accessor for the positions stack.
3307 (asPosIterator): remove function
3309 * PosIterator.C (PosIterator): move constructors to top of file
3310 (PosIterator): reimplement the constructor taking a ParIterator in
3312 (setFrom): new function
3313 (operator!=): inline it
3315 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3317 * lyxfind.C (replaceAll): use std::advance
3319 * iterators.h: inherit from std::iterator.
3321 * PosIterator.C (advance, distance): remove
3322 * PosIterator.h: interit from std::iterator.
3324 2004-01-26 André Pönitz <poenitz@gmx.net>
3327 * BufferView_pimpl.[Ch]:
3331 * bufferview_funcs.C:
3341 * output_linuxdoc.C:
3342 * output_plaintext.C:
3344 * paragraph_funcs.[Ch]:
3345 * paragraph_pimpl.[Ch]:
3351 * text3.C: more IU: dumps most of the rest of the mathcursor
3352 implementation into cursor.[Ch]; "globalize" a bit of it.
3354 2004-01-25 Angus Leeming <leeming@lyx.org>
3356 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3358 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3360 * LaTeXFeatures.h: add nice_ and nice() const
3361 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3363 2004-01-20 André Pönitz <poenitz@gmx.net>
3366 * BufferView_pimpl.C:
3368 * bufferview_funcs.C:
3370 * cursor_slice.[Ch]:
3381 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3382 LCursor and mathcursor parts to LCursor and InsetBase.
3384 2004-01-15 André Pönitz <poenitz@gmx.net>
3386 * cursor_slice.[Ch]: add a few covienience functions
3388 * funcrequest.[Ch]: remove BufferView * member
3390 * BufferView_pimpl.C:
3397 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3399 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3401 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3402 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3404 2004-01-13 André Pönitz <poenitz@gmx.net>
3407 * lyxtext.h: hide cursor and selection anchor behind accessor function
3410 * BufferView_pimpl.[Ch]:
3412 * bufferview_funcs.C:
3422 * cursor_slice.[Ch]: some integer type changes for inset unification
3424 * lyxcursor.[hC]: remove, it's CursorSlice now.
3427 * BufferView_pimpl.[Ch]:
3428 * bufferview_funcs.C:
3434 * textcursor.[Ch]: adjust
3436 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3438 * text2.C (undoSpan): add and use
3439 * text.C (breakParagraph): use undoSpan (fix bug 578)
3442 2004-01-08 Angus Leeming <leeming@lyx.org>
3444 * BufferView_pimpl.C (MenuInsertLyXFile):
3445 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3446 * lyxfunc.C (menuNew, open, doImport):
3447 FileFilterList change to the FileDialog open and save functions.
3449 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3451 * ShareContainer.h: make isEqual and isUnique adaptable
3453 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3455 2004-01-07 Angus Leeming <leeming@lyx.org>
3458 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3460 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3462 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3463 functions replacing find, replace and replaceAll.
3465 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3466 LFUN_WORDFIND(FORWARD|BACKWARD).
3468 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3470 * text.C (breakParagraph): remove an outdated #warning
3472 2004-01-07 André Pönitz <poenitz@gmx.net>
3474 * lyxfind.C: somewhat clearer logic
3476 * text.C: prevent crash in cursorX on unitialized row cache
3478 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3480 * lyxcursor.[Ch] (operator>): add
3481 * textcursor.C (selStart, selEnd): use std::min and std::max
3483 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3485 * Chktex.C: include boost/format.hpp
3487 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3489 * InsetList.C: replace functor MathcIt with adaptable functor
3491 (insetIterator): modify accordingly
3493 * BranchList.h: move the BranchNamesEqual functor here from...
3494 * BranchList.C: ... to here
3496 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3498 (add): replace a finding loop with std::find_if.
3500 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3502 * output_docbook.C: moving LatexParam functionality into
3505 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3507 * buffer.C: increment format to 229.
3509 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3512 * lyx_sty.[Ch]: remove minipageindent_def
3518 * text3.C: remove LFUN_INSET_MINIPAGE
3520 2003-12-28 Angus Leeming <leeming@lyx.org>
3522 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3524 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3526 * text2.C (setParagraph): fix off-by-one crash
3528 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3530 * output_docbook.C: header stuff for AGU
3532 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3534 * text2.C (redoCursor): remove
3537 * BufferView_pimpl.C: remove calls to redoCursor and
3538 setCursor(cursor.par(), cursor.pos()) all around
3540 2003-12-15 Angus Leeming <leeming@lyx.org>
3542 * buffer.C: up the format to 228.
3544 2003-12-15 André Pönitz <poenitz@gmx.net>
3546 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3551 * BufferView_pimpl.C:
3560 2003-12-15 Angus Leeming <leeming@lyx.org>
3562 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3563 than getFromGUIName to manipulate the color.
3565 2003-12-14 Angus Leeming <leeming@lyx.org>
3567 * BranchList.[Ch]: minimize the API.
3568 (Branch::getBranch, getColor): now return a 'const &'.
3569 (Branch::setSelected) now returns a bool set to true if the
3570 selection status changes.
3571 (BranchList::clear, size, getColor, setColor, setSelected,
3572 allBranches, allSelected, separator): removed.
3573 (BranchList::find): new functions, returning the Branch with
3575 (BranchList::add, remove): return a bool indicating that
3576 the operation was successful.
3578 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3579 new InsetBranch::isBranchSlected member function.
3581 * LColor.[Ch]: mimimize the API.
3582 (fill): renamed as addColor and made private.
3583 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3584 versions of these functions taking a string arg have been removed.
3586 * bufferparams.C (readToken):
3587 * lyxfunc.C (dispatch):
3588 * lyxrc.C (read): changes due to the altered BranchList and
3591 * factory.C (createInset, readInset): changes due to altered
3594 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3597 * lyxfunc.C: remove insetminipage. "minipage-insert"
3598 now produces a frameless minipage box inset.
3600 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3602 * textcursor.[Ch] (selStart,selEnd): add new methods
3603 remove selection::start, end, use LyXCursor::operator<
3604 * lyxcursor.[Ch] (operator<): add
3605 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3606 * BufferView.[Ch] (unsetXSel): add
3607 * text2.C (clearSelection): use unsetXSel,adjust
3610 * rowpainter.C: adjust
3611 * bufferview_funcs.C (put_selection_at): adjust
3613 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3615 * BufferView_pimpl.C: small coord. correction
3617 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3619 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3620 dragging over the splash screen.
3622 2003-12-11 Angus Leeming <leeming@lyx.org>
3624 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3625 as it is now handled in LyXText::dispatch.
3627 * text3.C (doInsertInset): remove a level of nesting.
3629 2003-12-11 Angus Leeming <leeming@lyx.org>
3631 * factory.C (createInset): changes due to the changed interface to
3632 InsetCommandMailer::string2params.
3634 2003-12-10 Angus Leeming <leeming@lyx.org>
3636 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3637 'dialog-show-new-inset <inset name>'
3639 2003-12-10 Angus Leeming <leeming@lyx.org>
3641 * buffer.C: up the format to 227.
3643 * factory.C: the box inset is now identified simply by 'Box'.
3645 2003-12-10 Angus Leeming <leeming@lyx.org>
3647 * buffer.C: up the format to 226.
3649 * factory.C: the note inset is now identified simply by 'Note'.
3651 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3653 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3654 when a pit is enough. Standarize a couple of loops.
3656 2003-12-05 Angus Leeming <leeming@lyx.org>
3658 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3659 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3660 data to the re-worked "log" dialog.
3662 2003-12-03 André Pönitz <poenitz@gmx.net>
3668 * paragraph_funcs.C:
3670 * text2.C: use Inset::getText instead of Inset::getParagraph
3672 2003-12-03 André Pönitz <poenitz@gmx.net>
3676 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3677 InsetText::read() as LyXText::read()
3679 2003-12-02 Angus Leeming <leeming@lyx.org>
3681 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3682 type. Add a comment in the implementation that the function uses
3683 the stream's bad() function rather than fail() as the std::streams
3686 2003-12-02 André Pönitz <poenitz@gmx.net>
3688 * lyxlex.[Ch]: make interface more similar to std::stream
3690 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3692 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3694 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3696 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3698 * vspace.[Ch]: remove VSpace::NONE
3700 2003-12-01 André Pönitz <poenitz@gmx.net>
3703 * lyxtext.h: move ParagraphList member to LyXText
3704 rename LyXText::ownerParagraphs to LyXText::paragraph
3707 * bufferview_funcs.C:
3717 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3719 * undo.C: fix cursor positioning
3721 2003-12-01 John Levon <levon@movementarian.org>
3723 * BufferView_pimpl.C: fix a crash on exit with
3726 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3728 * BranchList.C: fix setSelected() method.
3730 2003-11-28 André Pönitz <poenitz@gmx.net>
3732 * ParagraphParameters.[Ch]:
3733 * ParameterStruct.h: remove space above/below from Paragraph to
3736 * BufferView_pimpl.C:
3742 * paragraph_funcs.C:
3748 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3750 * factory.C: Syntax change for CharStyles
3752 2003-11-28 André Pönitz <poenitz@gmx.net>
3757 * buffer.[Ch]: move LyXText member
3759 2003-11-28 André Pönitz <poenitz@gmx.net>
3761 * BufferView.[Ch]: make LyXText * text a private member
3763 * BufferView_pimpl.C:
3774 * output_plaintext.C: cleanup
3776 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3779 * lyxtextclass.[Ch]: parametrize SGML document header
3781 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3784 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3787 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3789 * text2.C (setFont): rework using PosIterator (no more recursive)
3790 (setCharFont): no more needed
3791 (setLayout): no more selection cursors fiddling (done by redoCursor)
3792 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3793 destroy remaining ones)
3795 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3797 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3799 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3802 * text3.C: adjust + re-allow multi par depth changes
3803 * textcursor.C: simplify a bit
3805 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3811 * src/output_docbook.C:
3812 * src/output_latex.C:
3817 * src/text2.C: Introducing a number of tags parametrizing various
3818 XML formats that we may want to support
3820 2003-11-25 André Pönitz <poenitz@gmx.net>
3822 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3824 * lyxtext.h (leftMargin/rightMargin): simplify interface
3831 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3833 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3834 master file to any child files. Fixes bug 546.
3836 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3838 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3840 2003-11-24 André Pönitz <poenitz@gmx.net>
3842 * rowpainter.C: simplification
3844 * text2.C (updateCounters): remove call to redoParagraph on
3845 changed labels as this is far too expensive.
3847 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3849 * converter.C (convert): fix a crash: this function gets
3850 called with buffer == 0 from importer code.
3852 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3854 * text3.C (cursorPrevious): make sure that we do not compare
3855 iterators form different containers.
3858 * rowpainter.C (paintSelection): make sure that we do not compare
3859 iterators from different containers.
3861 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3862 iterators from different ParagraphList containers.
3865 * text2.C (LyXText): change order of initialization slightly
3866 (operator=): new function. copy all variables except cache_par_
3867 (moveUp): make sure that we do not compare iterators from
3868 different ParagraphList constainers.
3871 * text.C (firstPar): new function
3872 (lastPar): new function
3873 (endPar): new function
3875 * lyxtext.h: move things around and group public functions, public
3876 variables, private functions, private variables
3878 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3880 * factory.C: change call to InsetERT constructor to avoid
3881 additional invocation of method status
3882 * text2.C (toggleInset): remove redundant update() call
3883 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3884 instead of a Bufferview pointer
3886 2003-11-21 André Pönitz <poenitz@gmx.net>
3888 * rowpainter.C: simplification
3890 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3892 * text3.C (dispatch): make possible to extend a word/row selection
3895 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3897 * lyxtext.h: x0_,y0_ -> xo_,yo_
3898 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3899 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3900 * rowpainter.C (paintRows): paint full paragraphs
3902 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3904 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3907 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3909 * lyxtext.h: add x0_, y0_
3910 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3911 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3913 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3915 * text2.C (setCursorIntern): move the x_target update here *
3916 * text3.C: change some bv() to true/false in calls to
3917 cursorUp/Down/Right/Left
3918 * cursor.C: use helper function.
3920 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3922 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3923 * paragraph_funcs.[Ch]: correct comment
3924 * rowpainter.C: do not paint selections away from bv->cursor()
3925 Fix a long standing selection painting bug.
3926 * text3.C: generalize mouse-selection code to LyXTexts other that
3928 * textcursor.C: do not use y coords if we can use par offsets
3930 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3932 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3933 cursor position after e.g. inset insert)
3935 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3937 * lyxfind.C (replace): adjust to locking removal + some
3940 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3942 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3945 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3948 * output_docbook.C: XML sanitation: new layout
3949 parameters InnerTag and CommandDepth
3951 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3953 * BufferView_pimpl.C:
3955 * text3.C: Fix the insertion and modification of button-style
3958 2003-11-13 André Pönitz <poenitz@gmx.net>
3960 * InsetList.[Ch]: remove deleteLyXText
3962 * paragraph.[Ch]: cache beginOfBody position
3967 * text3.C: remove superfluous update() calls
3971 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3973 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3974 * BufferView.C (fitLockedInsetCursor): remove
3975 * cursor.[Ch] (getDim): add
3976 * text.C (getRowNearY): add faster version
3977 * text3.C: remove some update calls
3979 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3991 * text3.C: The Character Style /XML short element patch.
3993 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3996 * factory.C: Small step to solving 'unable to insert some insets'
3999 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4001 * cursor.[Ch] (updatePos): new function for updating the y
4002 position of the tip inset
4003 * bufferview_funcs.C (put_selection_at):
4004 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4006 2003-11-11 André Pönitz <poenitz@gmx.net>
4008 * text.C: remove big comment on invalid Paragraph pointers as it is
4011 2003-11-11 André Pönitz <poenitz@gmx.net>
4013 * text_funcs.[Ch]: merge with ...
4021 * Makefile.am: remove text_funcs.[Ch]
4023 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4025 * cursor.C (getPos): return absolute cached y coord
4027 * BufferView_pimpl.C (fitCursor): new simplistic code
4028 (workAreaDispatch): add a fitCursor call
4030 2003-11-10 André Pönitz <poenitz@gmx.net>
4033 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4035 2003-11-10 André Pönitz <poenitz@gmx.net>
4037 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4038 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4039 indicate that the cursor needs to leave an inset
4041 * lyxtext.h: remove inset locking
4043 * cursor.[Ch]: re-implement functionality provided by inset locking
4046 * BufferView_pimpl.[Ch]:
4048 * bufferview_funcs.[Ch]:
4060 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4062 * PosIterator.[Ch]: replace the stack with a vector, add inset
4064 * iterators.[C]: adjust
4066 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4068 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4070 * paragraph_funcs.C (readParToken): put the correct id in the
4071 error item, not the id of the top paragraph
4073 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4075 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4076 * bufferview_funcs.C (put_selection_at): use the above
4078 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4080 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4082 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4084 * output_linuxdoc.h:
4085 * output_plaintext.h:
4087 * output_docbook.h: add #include statements
4089 2003-11-05 José Matos <jamatos@lyx.org>
4091 * output_docbook.[Ch]:
4092 * output_latex.[Ch]:
4093 * output_linuxdoc.[Ch]:
4094 * output_plaintext.[Ch]: New files for output formats.
4095 * output.[Ch]: New file for helper functions.
4098 * paragraph_funcs.[Ch]: output functions moved to new files.
4100 * outputparams.h: rename of latexrunparams.h
4108 * paragraph_funcs.[Ch]:
4109 * paragraph_pimpl.[Ch]:
4110 * tabular.[Ch]: rename ascii to plaintext
4111 and LatexRunParams to OutputParams.
4113 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4115 * iterators.[Ch] (text): require bv argument
4116 * undo.C (recordUndo):
4117 * lyxfunc.C (dispatch):
4118 * bufferview_funcs.C (put_selection_at): adjust
4120 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4122 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4124 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4126 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4129 2003-11-04 André Pönitz <poenitz@gmx.net>
4131 * cursor.[Ch]: restructure
4134 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4136 * iterators.[Ch] (asCursor): remove
4138 * lfuns.h: remove LFUN_INSET_EDIT
4144 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4146 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4148 * lyxfind.[Ch]: complete overhaul
4149 * BufferView_pimpl.C:
4151 * paragraph.[Ch] (insert): add
4153 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4157 * text.C: remove dead spellcheck code
4159 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4161 * dispatchresult.h: add a val setter
4163 * cursor.C (dispatch): use a tempvar for data_[i]
4165 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4167 * PosIterator.[Ch]: compile fix
4169 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4171 * text.C (cursorPar): deactivate the cursor cache
4173 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4175 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4177 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * text3.C (dispatch): adjust for new DisptchResult semantics.
4181 * lyxfunc.C (dispatch): handle update when return from
4182 Cursor::dispatch, adjust for new DispatchResult semantics.
4184 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4185 DispatchResult(true) mean to not update. Add class functions for
4186 setting dispatched and update, as well as reading.
4188 * cursor.C (dispatch): don't handle update here
4190 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4193 * trans_mgr.C: adjust
4195 * paragraph_funcs.C (readParToken): exception safety
4197 * lyxvc.h: store the vcs pointer in a scoped_ptr
4200 * lyxsocket.C (serverCallback): exception safety
4202 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4204 * ispell.C (clone): make it return a auto_ptr
4206 * factory.C (createInset): exception safety
4207 (readInset): exception safety
4209 * bufferlist.C (newBuffer): exception safety
4211 * Thesaurus.C (Thesaurus): use initialization for aik_
4213 * MenuBackend.C (expandToc): exception safety.
4215 2003-11-03 André Pönitz <poenitz@gmx.net>
4219 * bufferview_funcs.C: remove getInsetFromId()
4222 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4228 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4230 * PosIterator.C (distance, advance): new
4231 * bufferview_funcs.[Ch] (put_selection_at): new
4232 * iterators.[Ch] (lockPath): new
4234 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4236 * iterators.[Ch] (asPosIterator): added
4237 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4238 * PosIterator.[Ch]: added
4240 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * cursor.C (dispatch):
4245 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4247 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4248 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4249 contructor, add a class function dispatched. Remove operator>=
4251 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * debug.C: only use the default constructor for debugstream
4256 * main.C (main): include debug.h and setup the lyxerr streambuf
4259 2003-10-31 José Matos <jamatos@lyx.org>
4261 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4263 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4264 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4265 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4266 * paragraph_pimpl.C (simpleTeXSpecialC):
4267 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4268 add LatexRunParams argument.
4270 * exporter.C (Export): change call accordingly.
4272 * latexrunparams.h: add new member to take care of the other backends.
4273 2003-10-30 José Matos <jamatos@lyx.org>
4275 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4276 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4277 factorise code for paragraph output.
4279 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4282 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * text3.C (dispatch):
4285 * lyxfunc.C (dispatch):
4286 * cursor.C (dispatch):
4287 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4289 * dispatchresult.h: make the dispatch_result_t ctor explicit
4291 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4294 * buffer.C: small refactoring of docbook stuff
4296 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4301 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4304 operator dispatch_result_t, and operators for == != and >=
4306 * cursor.C (dispatch): adjust for operator dispatch_result_t
4307 removal. comment out call to update
4309 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4311 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4322 * dispatchresult.h: new file, DispatchResult broken out of
4325 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4327 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4329 * text.C (rowBreakPoint): put a hack inside #if 0
4331 2003-10-28 André Pönitz <poenitz@gmx.net>
4335 * paragraph_funcs.C:
4338 * text2.C: general cleanup (lots of small stuff)
4340 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4342 * text2.C (cursorEnd): simple fix to the "end key goes to one
4343 before the end on last row" bug
4345 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4347 * text.C (backspace): fix the "zombie characters"
4349 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4351 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4353 2003-10-27 André Pönitz <poenitz@gmx.net>
4355 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4357 * factory.C: handle new InsetPagebreak, InsetLine
4359 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4360 and move handling into new InsetPagebreak, InsetLine
4362 * BufferView_pimpl.C:
4364 * ParagraphParameters.C:
4365 * ParameterStruct.h:
4370 * paragraph_funcs.C:
4371 * paragraph_pimpl.C:
4377 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4380 * lyxrow_funcs.[Ch]:
4386 * text3.C: remove lastPos uses in favour of Row::endpos
4388 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4390 * undo.C (performUndoOrRedo): fix two crashes by setting a
4391 cursor by hand and reordering some calls. Use bv->lockInset instead
4392 of inset->edit because the latter loses cursor information
4394 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4396 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4398 (rowBreakPoint): fix width. change point to point + 1.
4399 Add a missing check.
4401 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4404 * lyxfunc.C: fix (at least partly) the problems
4405 with the Nav menu and headers inside branch insets
4408 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4410 * paragraph.C (getChar): add strong asserts
4412 * lyxrow_funcs.C (lastPos): remove hideous hack
4414 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4415 (fill): adjust to that (avoid an infinite loop)
4417 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4419 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4421 2003-10-23 André Pönitz <poenitz@gmx.net>
4423 * RowList_fwd.h: change list<> to vector<> to gain speed
4424 after suggestion from Alfredo
4426 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4428 * lyxtext.h: move the bidi stuff from here...
4431 * Bidi.[Ch]: ... to here
4433 2003-10-23 André Pönitz <poenitz@gmx.net>
4436 * text.C (isLastRow, isFirstRow): new functions
4438 * paragraph.h: new width cache member
4440 * rowpainter.C: replace RowList::iterator with Row & where possible
4442 * lyxfunc.C: replace several view()->text with a single call
4444 * toc.C: fix 'unused' warning
4446 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4449 when woring with stream::pos_type
4450 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4452 2003-10-22 André Pönitz <poenitz@gmx.net>
4455 * text.C: use Row & instead of RowList::iterator
4457 * lyxrow.h: rename end() to endpos()
4463 2003-10-22 Angus Leeming <leeming@lyx.org>
4465 * buffer.[Ch] (fully_loaded): new member function, returning true
4466 only when the file has been loaded fully.
4467 Used to prevent the premature generation of previews and by the
4468 citation inset to prevent computation of the natbib-style label.
4470 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4471 templates are all set up.
4473 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4475 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4477 * text.C: fixed an "oops" in the "is a bit silly"
4480 2003-10-21 André Pönitz <poenitz@gmx.net>
4482 * FuncStatus.[Ch]: small stuff, whitespace
4484 * lyxfont.[Ch]: operator<<() for debug reasons
4488 * lyxtext.h: whitespace, spelling
4490 * paragraph.C: naming of variables
4493 * text2.C: small stuff
4496 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4498 * text.C: (1) finish off the inset display() work;
4499 (2) fix the "is a bit silly" bug (accessing char
4502 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4504 * text.C: re-introduce display() for insets, fixing the
4505 various bugs (stretch of line above, math inset
4508 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4510 * text.C (rightMargin): remove spurious semicolon
4512 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4515 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4517 * text3.C: fix one crash due to wrong cursor def
4519 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * vc-backend.C (scanMaster): make the regex static
4523 * LaTeX.C (scanAuxFile): make the regexs static
4525 * text3.C (doInsertInset, dispatch, dispatch):
4526 * text2.C (cursorUp, cursorDown):
4527 * text.C (selectNextWordToSpellcheck):
4528 * BufferView_pimpl.C (dispatch):
4529 * lyxfunc.C (dispatch): localDispatch -> dispatch
4531 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4533 * lyxsocket.C: include <cerrno>
4535 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * lyxfunc.C (dispatch): remove textcache stuff
4539 * bufferlist.C (release): remove textcache stuff
4542 * TextCache.C: delete file
4543 * TextCache.h: delete file
4545 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4547 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4548 delete of the bv_->text.
4549 (resizeCurrentBuffer): remove texcache stuff
4550 (workAreaResize): ditto
4552 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4554 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4557 2003-10-16 André Pönitz <poenitz@gmx.net>
4564 * text3.C: speed up by storing y positions per paragraph plus per-row
4565 offset instead of having a 'full' y position in the row.
4567 2003-10-15 André Pönitz <poenitz@gmx.net>
4571 * undo.[Ch]: make undo aware of inner insets
4573 2003-10-14 Angus Leeming <leeming@lyx.org>
4575 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4576 static member functions LyX::ref() and LyX::cref.
4577 (lastfiles): new accessor functions for the new lastfiles_ member var.
4578 (addLyXView, views_): add a new LyXView to the list of views_.
4579 (updateInset): loop over all LyXViews to call their own updateInset
4580 member function, returning a pointer to the Buffer owning the inset.
4582 * BufferView_pimpl.C (loadLyXFile):
4583 * MenuBackend.C (expandLastfiles):
4584 * bufferlist.C (MenuWrite, QuitLyX):
4585 lastfiles is no longer a global variable.
4586 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4588 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4589 static function. Access through LyX::cref().emergencyCleanup().
4591 2003-10-14 André Pönitz <poenitz@gmx.net>
4593 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4595 * undo.[Ch]: restoring part of 'undo in insets'
4598 * undo_funcs.[Ch]: merge with undo.[Ch]
4600 * tabular.C: small cleansing stuff
4602 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4604 * paragraph_funcs.C (readParToken): report unknown insets as error
4605 boxes. Use the outer paragraph as location (also for unknown
4608 * factory.C (readInset): do not abort on reading an unknown inset.
4609 Eat it and return 0.
4611 2003-10-13 Angus Leeming <leeming@lyx.org>
4613 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4615 * lyxrc.C: displayTranslator is now a function,
4616 declared in GraphicsTypes.h.
4618 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4620 * format.C: new placeholder $$a to pass the socket address.
4622 * bufferlist.[Ch]: new function getBufferFromTmp.
4624 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4625 files in the temporary dir.
4627 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4629 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4631 * Makefile.am: add lyxsocket.[Ch].
4633 * lyx_main.C (error_handler): handle SIGPIPE.
4635 2003-10-13 André Pönitz <poenitz@gmx.net>
4637 * BufferView_pimpl.C:
4642 * undo_funcs.[Ch]: use paroffset_type instead of
4643 ParagraphList::iterators to prevent multiple conversion
4644 (and get a more robust interface)
4646 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4648 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4650 * text3.C (dispatch): ditto
4652 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4655 move the onlyfile, use onlyfile instead of foundfile in a couple
4658 * DepTable.C (update): flush the error stream a bit more
4660 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * lyxserver.C (callback): adjust
4664 * lyxfunc.C (getStatus): add a missing brace in commented code
4665 (ensureBufferClean): reindent
4666 (dispatch): delete version taking a string
4668 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * LaTeX.C (deplog): move found file handlig from here...
4671 (handleFoundFile): .. to new function here.
4672 (deplog): make sure to discover several files mentioned on the
4675 2003-10-10 André Pönitz <poenitz@gmx.net>
4682 * text3.C: fix some of the tabular crashes
4684 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4686 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4688 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4690 2003-10-09 André Pönitz <poenitz@gmx.net>
4692 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4695 * BufferView_pimpl.C:
4696 * bufferview_funcs.C:
4707 * undo_funcs.C: adjust
4709 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4711 * text2.C (incrementItemDepth): new function, use a backtracking
4712 algorithm to discover the correct item depth.
4713 (resetEnumCounterIfNeeded): new function, use a backtracking
4714 algorithm to discover if counter reset is needed.
4715 (setCounter): use them. Simplify a bit. Add different labels for
4716 different item depths for itemize.
4718 * paragraph.C (Paragraph): remove initialization of enumdepth
4721 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4722 enumerate and itemize. Change the type of itemdepth to signed char.
4724 2003-10-08 André Pönitz <poenitz@gmx.net>
4726 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4731 * tabular.[Ch]: fix crash after 'row-insert'
4733 2003-10-08 Angus Leeming <leeming@lyx.org>
4735 Fix doxygen warnings.
4737 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4738 Remove CutAndPaste:: prefix from header file declaration.
4740 * LColor.h (fill): remove LColor:: prefix from declaration.
4742 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4743 use lyx::depth_type rather than Paragraph::depth_type so that
4744 header file and .C file match.
4746 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4748 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4749 * aspell.C: \file aspell_local.C -> \file aspell.C
4750 * gettext.C: \file gettext.C -> \file src/gettext.C
4751 * gettext.h: \file gettext.h -> \file src/gettext.h
4752 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4753 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4754 * text.C: \file text.C -> \file src/text.C
4756 * toc.C: move comment so that doxygen is not confused.
4758 2003-10-07 Angus Leeming <leeming@lyx.org>
4760 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4762 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4765 * aspell_local.h: add forgotten std::string's.
4767 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4774 * text3.C: The Box patch. Fancybox support, minipage, parbox
4776 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4782 * ParagraphParameters.h:
4792 * lyxtextclasslist.h:
4795 * paragraph_pimpl.C:
4796 * textcursor.h: add <string> and other small fixes to make Lars'
4797 std::string patch compile with STLport.
4799 2003-10-06 Angus Leeming <leeming@lyx.org>
4801 * LColor.h: Add missing #include <string>.
4803 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4805 * All most all file in all subdirs: Make <string> be the prefered
4806 way of getting to std::string, add using declarations.
4808 2003-10-06 André Pönitz <poenitz@gmx.net>
4810 * metricsinfo.C: initialize LyXFont before changing attribute.
4811 (fixes the 'math in \emph is upright' bug)
4813 2003-10-06 André Pönitz <poenitz@gmx.net>
4815 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4817 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4820 * paragraph_pimpl.C: Small fixes to build using STLport
4822 2003-10-02 André Pönitz <poenitz@gmx.net>
4825 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4827 2003-10-01 André Pönitz <poenitz@gmx.net>
4829 * factory.C: assert early
4831 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * lyx_main.C: remove the global debug object
4835 * debug.h: adjust for new debugstream
4837 * debug.C: adjust for new debugstream and keep the global debug
4840 2003-09-22 Angus Leeming <leeming@lyx.org>
4842 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4843 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4844 an incomplete class LyXFont.
4846 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4848 * factory.C: bug fix in branches
4850 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * lyxfunc.C (processKeySym): adjust
4854 (dispatch): change arg name from ev to func, adjust
4855 (sendDispatchMessage): ditto
4857 * lyx_main.C (defaultKeyBindings): adjust keybindings
4858 (deadKeyBindings): ditto
4860 * kbsequence.C (addkey): return a FuncRequest
4862 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4864 * kbmap.C (bind): take a FuncRequest as arg, adjust
4867 (defkey): change to take a FuncRequest as arg, adjust
4868 (findbinding): take a FuncRequest as arg, adjust.
4870 * funcrequest.h (operator=): added
4872 * funcrequest.C (FuncRequest): default kb_action changed from
4873 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4875 * buffer.C (dispatch): simplify
4876 (dispatch): adjust to take a FuncRequest as arg, adjust
4878 * boost.C (assertion_failed): change assertion message slightly
4880 * ToolbarBackend.C (read): simplify
4882 * MenuBackend.C (binding): adjust call to findbinding, add a
4883 message if no binding is found.
4885 (expandToc): correct by adding a empty FuncRequest
4887 * LyXAction.C: include <boost/assert.hpp>
4888 (isPseudoAction): delete function
4889 (LookupFunc): change name to...
4890 (lookupFunc): this. change return type to FuncRequest.
4891 (getActionName): take kb_action as arg, simplify
4892 (funcHasFlag): add an assert, simplify.
4894 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * toc.C (action): return a FuncRequest, simplify
4898 * lyxfunc.C (processKeySym): adjust
4899 (getStatus): delete version that takes an int.
4901 (dispatch): delete version that takes action as int
4903 (sendDispatchMessage): simplify and adjust
4905 * funcrequest.C (getArg): take unsigned int as arg
4907 * ToolbarBackend.C (read): adjust
4908 (add): delete version that takes func as a string.
4909 (getIton): take a FuncRequest as arg
4911 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4914 * MenuBackend.C (MenuItem): add a new construct that only takes a
4915 Kind, simplify the constructor use for submenus.
4917 (expandLastfiles): adjust
4918 (expandDocuments): adjust
4919 (expandFormats): adjust
4920 (expandFloatListInsert): adjust
4921 (expandFloatInsert): adjust
4922 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4924 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4925 Remove class variables lyx_pseudo_map and lyx_arg_map
4927 * LyXAction.C (searchActionArg): delete function
4928 (getPseudoAction): delete function
4929 (retrieveActionArg): delete function
4930 (LookupFunc): make it return kb_action, simplify.
4931 (getActionName): simplify
4933 * factory.C (createInset): fix new bug
4935 2003-09-19 Angus Leeming <leeming@lyx.org>
4937 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4938 masterFilename_ parameter in the include inset.
4940 * factory.C (createInset): changes due to the changes to InsetInclude.
4942 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4944 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4946 2003-09-18 Angus Leeming <leeming@lyx.org>
4949 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4950 Inset::fillWithBibKeys.
4951 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4953 2003-09-18 Angus Leeming <leeming@lyx.org>
4955 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4957 (ctor): pass and store a 'Buffer const &'
4958 (buffer): new member function.
4960 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4961 '*this' to the LaTeXFeatures ctor.
4963 2003-09-18 Angus Leeming <leeming@lyx.org>
4969 * text.C: rename EnumLColor as LColor_color.
4971 2003-09-18 Angus Leeming <leeming@lyx.org>
4973 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4974 remove #include "insets/insetbase.h" from cursor.h.
4976 2003-09-18 Angus Leeming <leeming@lyx.org>
4978 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4979 InsetOld_code to remove #include "inset.h".
4981 * iterators.C: add #include "insets/inset.h"
4983 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4985 * BufferView.C: remove more locking stuff that apparently doesn't
4986 do anything sensible.
4988 2003-09-16 André Pönitz <poenitz@gmx.net>
4991 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4994 2003-09-16 Angus Leeming <leeming@lyx.org>
4996 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4998 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5001 * paragraph.h: remove #include "lyxfont.h". Forward declare
5004 2003-09-16 Angus Leeming <leeming@lyx.org>
5006 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5007 of support/textutils.h.
5008 (isWord): move the contents of support/textutils.h's IsWordChar here.
5014 * text2.C: add #include "paragraph.h".
5017 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5019 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5025 * LaTeX.C: use namespace alias for lyx::support::os
5027 2003-09-16 Angus Leeming <leeming@lyx.org>
5030 * bufferview_funcs.C:
5033 * paragraph_pimpl.C:
5035 * text.C: add #include "LColor.h".
5037 2003-09-16 Angus Leeming <leeming@lyx.org>
5039 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5040 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5042 Store the FontBits::color variable as an int rather than as an
5043 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5046 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5047 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5048 string calls together.
5050 * lyxrc.C: add #include "LColor.h".
5052 2003-09-15 Angus Leeming <leeming@lyx.org>
5054 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5057 2003-09-15 Angus Leeming <leeming@lyx.org>
5059 * LColor.h: add an EnumLColor wrapper for LColor::color.
5061 * lyxfont.[Ch] (color, setColor, realColor):
5062 * lyxtext.h, text.C (backgroundColor):
5063 pass EnumLColor args to/from the functions, rather than LColor::color
5067 * lyxtext.h: forward declare EnumLColor.
5069 * lyx_main.C: add #include "LColor.h".
5071 2003-09-15 Angus Leeming <leeming@lyx.org>
5073 * .cvsignore: add lyx-gtk.
5075 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * ParagraphParameters.C
5084 * bufferview_funcs.C
5094 * vc-backend.C: remove usage of STRCONV
5096 2003-09-15 Angus Leeming <leeming@lyx.org>
5098 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5099 explicitly define the color passed to the painter.
5101 2003-09-15 Angus Leeming <leeming@lyx.org>
5103 * bufferparams.C (BufferParams): reorder member initializers to avoid
5106 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5108 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5109 * text.C (updateRowPositions): remove an unusual nop
5111 2003-09-12 André Pönitz <poenitz@gmx.net>
5113 * BufferView_pimpl.C:
5122 * Counters.[Ch]: finish the 'automatic counters' job
5124 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5126 * aspell.C: include <boost/assert.cpp> (compile fix)
5128 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5130 * boost.C (assertion_failed): use lyx::support::abort instead of
5133 2003-09-10 Angus Leeming <leeming@lyx.org>
5135 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5136 with their _fwd progeny.
5138 2003-09-09 Angus Leeming <leeming@lyx.org>
5140 134 files throughtout the source tree: replace 'using namespace abc;'
5141 directives with the appropriate 'using abc::xyz;' declarations.
5143 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5145 * boost.C (emergencyCleanup): moved here from LAssert.c
5146 (assertion_failed): new function, called by BOOST_ASSERT
5148 * several files: change Assert to BOOST_ASSERT
5150 2003-09-09 Angus Leeming <leeming@lyx.org>
5152 * buffer.[Ch]: Add an Impl class and move Buffer's member
5153 variables into it. As a result move several header files out of
5156 Add header files to lots of .C files all over the tree as a result.
5158 2003-09-09 Angus Leeming <leeming@lyx.org>
5160 * buffer.[Ch]: make Buffer's member variables private. Add
5163 Lots of changes all over the tree as a result.
5165 2003-09-08 Angus Leeming <leeming@lyx.org>
5167 * graph.C: #include <config.h>.
5169 2003-09-08 Angus Leeming <leeming@lyx.org>
5173 * BufferView_pimpl.C:
5202 * toc.C: remove redundant using directives.
5204 2003-09-07 Angus Leeming <leeming@lyx.org>
5206 * LaTeXFeatures.h: remove #include "support/types.h".
5207 * ToolbarBackend.h: remove #include <algorithm>.
5208 * changes.h: remove #include <ctime>.
5209 * debug.h: remove #include <iosfwd>.
5210 * graph.h: remove #include "support/std_string.h".
5211 * lyx_main.h: remove #include <csignal>.
5212 * lyxlex_pimpl.h: remove #include <fstream>.
5213 * sgml.h: remove #include <algorithm>, <utility>.
5214 * toc.h: remove #include "support/std_ostream.h".
5215 Add #include <iosfwd>.
5217 2003-09-07 Angus Leeming <leeming@lyx.org>
5219 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5221 * converter.h: forward declare LatexRunParams.
5222 * encoding.h: remove #include "lyxrc.h".
5223 * lyxtext.h: remove #include "LColor.h".
5224 * lyxtextclass.h: remove #include "support/types.h".
5225 * trans.h: remove #include "tex-accent.h".
5226 * trans_mgr.h: remove #include "tex-accent.h".
5227 * insets/inset.h: remove #include "support/types.h", <vector>.
5228 * insets/insetcollapsable.h: remove #include "LColor.h".
5229 * insets/insetinclude.h: remove #include "dimension.h".
5230 * insets/insetlatexaccent.h: remove #include "dimension.h".
5231 * insets/insetoptarg.h:: remove #include "insettext.h".
5232 * insets/insettext.h: remove #include "dimension.h",
5233 <boost/shared_ptr.hpp>
5235 * insets/renderers.h: add #include "dimension.h".
5236 * insets/updatableinset.h: add #include "support/types.h".
5238 * many .C files: Associated changes.
5240 2003-09-06 Angus Leeming <leeming@lyx.org>
5242 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5243 one, inside testInvariant.
5245 * PrinterParams.C: new file.
5246 * PrinterParams.[Ch]: move the function bodies out of line.
5248 2003-09-06 Angus Leeming <leeming@lyx.org>
5250 * ParagraphParameters.h: forward declare ParameterStruct rather than
5251 including its header file.
5252 (depth): moved out-of-line.
5254 2003-09-06 Angus Leeming <leeming@lyx.org>
5256 * BufferView_pimpl.h:
5259 * lyxfunc.h: forward declare LyXKeySym rather than
5260 #include "frontends/LyXKeySym.h".
5262 * BufferView_pimpl.C:
5265 * lyxfunc.C: associated changes.
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>
5274 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5275 As a result, can remove the #include "insets/inset.h" from BufferView.h
5277 2003-09-06 Angus Leeming <leeming@lyx.org>
5283 * bufferview_funcs.C:
5284 * BufferView_pimpl.C:
5289 * ParagraphParameters.C:
5294 * frontends/controllers/ControlDocument.C:
5295 * insets/insetcaption.C: rearrange the #includes into some sort of
5298 * buffer.h: remove #includes ErrorList.h, undo.h
5300 2003-09-06 Angus Leeming <leeming@lyx.org>
5302 * support/types.h: add a 'depth_type' typedef, used to store the
5303 nesting depth of a paragraph.
5306 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5307 defining explicitly.
5310 * paragraph_funcs.h:
5311 * ParagraphParameters.h:
5312 * sgml.h: use lyx::depth_type rather than Paragraph or
5313 ParameterStruct's depth_type.
5316 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5319 * BufferView_pimpl.C:
5321 * ParagraphParameters.C:
5324 * bufferview_funcs.C:
5331 * frontends/LyXView.C:
5332 * frontends/controllers/ControlDocument.C:
5333 * frontends/controllers/ControlErrorList.C:
5334 * insets/insetbibitem.C:
5335 * insets/insetbranch.C:
5336 * insets/insetcaption.C:
5337 * insets/insetcollapsable.C:
5338 * insets/insetenv.C:
5339 * insets/insetert.C:
5340 * insets/insetfloat.C:
5341 * insets/insetfoot.C:
5342 * insets/insetfootlike.C:
5343 * insets/insetnewline.C:
5344 * insets/insetquotes.C:
5345 * insets/insettabular.C:
5346 * insets/insettext.C:
5347 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5349 * frontends/controllers/ControlChanges.C: #include "changes.h".
5351 2003-09-06 Angus Leeming <leeming@lyx.org>
5353 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5354 than #including paragraph.h.
5357 * RowList.h: deleted. Superfluous.
5367 * insets/insettext.h: use ParagraphList_fwd.h rather than
5370 * paragraph.h: don't forward declare ParagraphList.
5373 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5374 rather than ParagraphList.h. paragraph.h is still needed for the
5375 Paragraph::depth_type parameters.
5377 * textcursor.h: enable it to compile stand-alone in light of the
5380 * bufferview_funcs.C:
5392 * frontends/controllers/ControlParagraph.C:
5393 * frontends/controllers/ControlTabular.C:
5394 * insets/insetmarginal.C:
5395 * insets/insetminipage.C:
5396 * insets/insetnote.C:
5397 * insets/insetoptarg.C: add header files needed to compile again.
5399 2003-09-06 Angus Leeming <leeming@lyx.org>
5401 * RowList_fwd.h: new file, forward-declaring Row rather than
5402 #including lyxrow.h.
5407 * insets/insettext.h: use it instead of RowList.h
5409 * bufferview_funcs.C:
5416 * text3.C: #include "RowList.h".
5418 2003-09-05 Angus Leeming <leeming@lyx.org>
5420 * factory.C (createInset):
5421 * vspace.C (c-tor): replace sscanf call with an istringstream.
5422 * ispell.C: re-add missing HP/UX headers.
5423 * lyxserver.C: re-add missing os2 headers.
5425 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5434 * text3.C: re-add missing system headers, needed for 2.95.2.
5436 2003-09-05 Angus Leeming <leeming@lyx.org>
5438 Changes most place everywhere due to the removal of using directives
5439 from support/std_sstream.h.
5441 2003-09-05 Angus Leeming <leeming@lyx.org>
5443 Replace LString.h with support/std_string.h,
5444 Lsstream.h with support/std_sstream.h,
5445 support/LIstream.h with support/std_istream.h,
5446 support/LOstream.h with support/std_ostream.h.
5448 Changes resulting throughout the tree.
5450 2003-09-05 Angus Leeming <leeming@lyx.org>
5452 * sgml.h: ensure that the header file can be compiled stand-alone.
5453 * *.C: strip out redundant #includes. (320 in total.)
5455 2003-09-04 Angus Leeming <leeming@lyx.org>
5457 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5458 here (from getPackages).
5460 * debug.[Ch]: add a new EXTERNAL tag.
5462 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5464 * text2.C (cursorEnd): simplify
5466 (getColumnNearX): adjust
5468 * text.C (computeBidiTables): adjust
5471 * rowpainter.C (paintChars): adjust
5472 (paintSelection): adjust
5473 (paintChangeBar): adjust
5476 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5478 (numberOfSeparators): adjust
5480 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5486 * text3.C: Restricts the mouse click functionality
5487 of insets like bibtex, include, toc and floatlist to the visible
5488 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5489 up the dialogs. Cursor has to be in front of the inset (i.e.
5490 start of row) for this to function.
5492 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5494 * bufferview_funcs.C (currentState): output row information
5496 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5498 * bufferview_funcs.C (currentState): output paragraph position
5500 2003-09-04 Angus Leeming <leeming@lyx.org>
5502 * FloatList.h: move out #include "Floating.h".
5503 * LaTeX.h: move out #include "DepTable.h".
5504 * LyXAction.h: move out #include "funcrequest.h".
5505 * buffer.h: move out #include "author.h", "iterators.h".
5506 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5507 * lyx_main.h: move out #include "errorlist.h".
5508 * lyxfunc.h: move out #include "FuncStatus.h".
5509 * lyxtext: move out #include "lyxcursor.h".
5510 * paragraph_pimpl.h: move out #include "counters.h".
5512 2003-09-03 Angus Leeming <leeming@lyx.org>
5514 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5515 preamble_snippets list, enabling us to add snippets to the preamble
5516 only if the snippet was not there already.
5518 2003-09-04 Angus Leeming <leeming@lyx.org>
5520 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5522 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5524 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5527 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5529 * BranchList.C: point fix, earlier forgotten
5531 2003-09-02 Angus Leeming <leeming@lyx.org>
5533 * box.C (contains): renamed from 'contained' after a fantastic
5536 2003-09-02 John Levon <levon@movementarian.org>
5542 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5544 2003-09-02 John Levon <levon@movementarian.org>
5546 * text2.C: simplification of cursorEnd(), including partial
5549 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5551 * buffer.C (readFile): add a space
5553 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5555 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5557 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * buffer.C (readFile): new function, take a filename and a
5560 ParagraphList::iterator
5562 (readFile): adjust, make it private. don't use setStream, make
5563 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5564 always contain the filename.
5566 * BufferView.C (insertLyXFile): simplify and make it work for
5569 2003-08-30 John Levon <levon@movementarian.org>
5571 * Makefile.am: fix dist (from Kayvan)
5573 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5575 * most files: change to use const Buffer refs
5577 2003-08-27 André Pönitz <poenitz@gmx.net>
5579 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5580 on top of ownerPar().
5582 2003-08-27 John Levon <levon@movementarian.org>
5584 * funcrequest.C: properly initialise POD members
5586 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5588 * lyxtext.h (top_y): move top_y from here
5593 * BufferView_pimpl.[Ch]: to here
5594 * frontends/screen.C:
5595 * insets/insettabular.C:
5596 * insets/insettext.C: adjust
5597 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5599 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5602 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5604 2003-08-26 André Pönitz <poenitz@gmx.net>
5606 * paragraph_func.[Ch] (outerPar): new function
5609 * paragraph_funcs.C:
5610 * paragraph_funcs.h:
5611 * paragraph_pimpl.C:
5612 * text2.C: remove Inset::par_owner
5614 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5619 * text2.C: eliminates the needFullRow/display() stuff
5620 altogether, putting the logic in metrics/draw in the insets.
5622 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5624 * text2.C (redoParagraphInternal, redoParagraphs):
5625 * text.C (redoParagraph): add a call to updateRowPositions at the
5626 end of each 'metrics-like' call. Remove all others.
5627 (getRow): remove the 'y-computing' version.
5628 (getRowNearY): do not compute nor return the real y. Solve the
5629 'y < 0' problem and simplify.
5631 2003-08-22 Angus Leeming <leeming@lyx.org>
5633 * *.[Ch]: clean-up of licence and author blurbs.
5634 Also move config.h out of a few .h files and into a few .C files.
5636 2003-08-22 André Pönitz <poenitz@gmx.net>
5638 * lyxrow.[Ch]: add x_ and *fill_ members
5643 * text2.C: adjust/remove prepareToPrint() calls
5645 2003-08-22 André Pönitz <poenitz@gmx.net>
5647 * lyxrow.[Ch]: add end_ member
5649 * lyxrow_funcs.C: use LyXRow::end_
5651 * lyxtext.h (singleWidth): add LyXFont parameter
5654 * text2.C: adjust LyXText::singleWidth() calls
5656 * text.C (redoParagraph): simplify row breaking logic
5659 2003-08-19 André Pönitz <poenitz@gmx.net>
5661 * funcrequest.C: initialize button_ member
5664 * rowpainter.[Ch]: interface consolidation
5666 2003-08-18 André Pönitz <poenitz@gmx.net>
5669 * BufferView_pimpl.C:
5671 * paragraph_funcs.C:
5673 * text3.C: remove LyXScreen::draw() and fitCursor calls
5675 * BranchList.h: remove spurious semicolons
5677 * MenuBackend.C: fix branchlist related crash
5679 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5687 * bufferparams.[Ch]:
5691 * text3.C: implements the 'branch inset'
5692 idea. This allows the output of various versions of a document
5693 from a single source version, selectively outputing or suppressing
5694 output of parts of the text.
5695 This implementation contains a 'branch list editor' in a separate
5696 tab of the document settings dialog. Branches are user definable
5697 and have a "display colour" to distinguish them on-screen.
5699 ColorHandler was somewhat cleaned up.
5700 (1) make possible a dynamically growing LColor list by allowing
5701 the graphic context cache to grow along (vector);
5702 (2) eliminate an IMHO unnecessary step in colour allocation.
5704 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5706 * BufferView_pimpl.C: compile fix
5708 2003-08-15 André Pönitz <poenitz@gmx.net>
5710 * rowpainter.C: remove extra metrics calls
5712 * lyxtext.h: merge the two constructors into a single one,
5713 pass reference to owner's par list
5715 * BufferView_pimpl.C:
5719 2003-08-15 André Pönitz <poenitz@gmx.net>
5721 * lyxrow_funcs.[Ch]:
5724 * paragraph_funcs.C:
5729 * text_funcs.C: split LyXText::rowlist_ into individual
5730 Paragraph::rows_ chunks
5733 * BufferView_pimpl.[Ch]:
5736 * text3.C: remove toggleSelection()
5738 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5740 * bufferlist.C: beautify two alerts (shorter text of buttons)
5741 * buffer.C: Remove redundant ' ' from message
5743 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5744 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5745 rename VALIGN_CENTER to VALIGN_MIDDLE
5747 2003-08-11 André Pönitz <poenitz@gmx.net>
5749 * lyxtext.h (getPar):
5750 * text.C: new function
5752 2003-08-11 André Pönitz <poenitz@gmx.net>
5755 * tracer.[Ch]: remove unneeded files
5757 * InsetList.[Ch]: remove resizeInsetsLyXText()
5762 * text3.C: merge insertParagraphs() and appendParagraph()
5763 remove breakAgain(), update()
5765 * BufferView_pimpl.[Ch]:
5766 * bufferview_funcs.[Ch]:
5770 * tabular.C: adjust after text & InsetList changes.
5772 2003-08-08 André Pönitz <poenitz@gmx.net>
5774 * text.C (insertChar, backspace): replace rowlist fiddling
5775 with rebreak of full par
5778 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5779 checkParagraph, updateInset): removed
5781 2003-08-07 André Pönitz <poenitz@gmx.net>
5784 * text3.C: merge some LFUN handlers, remove dead code
5786 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5788 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5790 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5792 * text2.C (DEPM): fix part of bug 1255 and 1256
5794 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5796 * BufferView_pimpl.C (workAreaDispatch): change to use
5797 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5798 that are no mouse related.
5800 2003-08-05 André Pönitz <poenitz@gmx.net>
5803 * BufferView_pimpl.[Ch]:
5804 * bufferview_funcs.C:
5806 * text3.C: rip out "deep update"
5808 * textcursor.[Ch] (last_sel_cursor): remove unused member
5810 2003-08-04 André Pönitz <poenitz@gmx.net>
5813 * BufferView_pimpl.[Ch]:
5814 * ParagraphParameters.C:
5815 * bufferview_funcs.C:
5821 * text3.C: replace "complicated" BufferView::update(...) calls with
5824 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5826 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5828 * Makefile.am (lyx_SOURCES): add paper.h
5830 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5832 * Makefile.am: move things around so that both lyx-qt and
5833 lyx-xforms can be built (according to --with-frontend). Then lyx
5834 is a symbolic link to lyx-[firstfrontend]
5836 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5838 * Always use std::endl with lyxerr
5840 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5842 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5844 2003-08-01 André Pönitz <poenitz@gmx.net>
5847 * BufferView_pimpl.[Ch]:
5849 * text3.C: merge BufferView::repaint() and BufferView::update()
5851 2003-08-01 José Matos <jamatos@lyx.org>
5853 * buffer.[Ch]: file_format is no longer a buffer data element.
5855 2003-08-01 André Pönitz <poenitz@gmx.net>
5860 * text2.C: make redoParagraph more independent of current cursor
5862 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5864 * text2.C: remove unneeded members
5866 2003-07-30 André Pönitz <poenitz@gmx.net>
5868 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5870 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5871 create a single function...
5873 * paragraph_funcs.C (moveItem): ... here.
5876 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5878 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5880 * LColor.[Ch]: Add comment and greyedout logical colors.
5882 2003-07-30 André Pönitz <poenitz@gmx.net>
5884 * tabular.C: don't use Assert too heavily. This crashes where it
5887 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5889 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5890 is disabled (bug 1232)
5892 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5894 * factory.C: limited 'arg' scope
5896 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5898 * factory.C: fixed Note submenu issues
5900 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5902 * factory.C: submenu for Note/Comment/Greyedout
5904 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5907 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5909 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5912 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5913 greyedout. Patch provided by Jürgen Spitzmüller.
5915 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5917 * kbmap.C (read): fix error message when reading bind files
5919 2003-07-29 Angus Leeming <leeming@lyx.org>
5921 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5922 certainly does not do what it purports to do. I am doing it, and
5923 us, a favour by killing it.
5925 2003-07-28 José Matos <jamatos@lyx.org>
5927 * buffer.C (readBody, do_writeFile):
5928 * paragraph.C(readParagraph): \end_document replaces \the_end.
5930 2003-07-29 André Pönitz <poenitz@gmx.net>
5933 * BufferView_pimpl.[Ch]:
5937 * textcursor.[Ch]: remove toggleToggle & Co
5939 2003-07-28 José Matos <jamatos@fep.up.pt>
5941 * buffer.C (readParagraph):
5942 * params_func (readParToken, readParagraph):
5943 * paragraph.C (write): \layout -> \begin_layout.
5945 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * lyxlex_pimpl.C (setFile): clean up slightly.
5949 * bufferparams.h: add compressed var
5951 * buffer_funcs.C (readFile): adjust for LyXLex change
5952 (newFile): ditto + simplify
5954 * buffer.C (writeFile): handle writing of compressed files
5956 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5957 Check if the file is compressed and set a bufferparm if so.
5959 * Makefile.am (lyx_LDADD): remove explicit -lz
5961 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5963 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5964 makeDocBookFile): put the real LyX version in the first line of
5968 * version.C.in: remove lyx_docversion
5970 * tabular.C (write_attribute): add a template-based version to
5971 write enums properly
5973 2003-07-28 André Pönitz <poenitz@gmx.net>
5978 * text3.C: use doubles again for x-coordinates. They are needed.
5980 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5982 * messages.C (getLocaleDir): use lyx_localedir()
5984 * lyxlex_pimpl.C (setFile): compress stuff
5986 * buffer.C (writeFile): add some compression stuff
5987 (do_writeFile): new func, dont call expliti close... will this
5990 * Makefile.am (lyx_LDADD): add -lz
5992 2003-07-28 José Matos <jamatos@fep.up.pt>
5994 * buffer.C: increment file format.
5995 * paragraph_funcs (readParagraph, readParToken):
5996 * paragraph.C (readParagraph): add \end_layout.
5998 2003-07-27 Angus Leeming <leeming@lyx.org>
6000 * Makefile.am: remove special casing for configure-time setting of
6001 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6003 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6004 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6006 2003-07-26 André Pönitz <poenitz@gmx.net>
6008 * paragraph_func.[Ch]:
6009 * paragraph.C (realizeFont): inline it whereever it is used
6014 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6017 2003-07-26 André Pönitz <poenitz@gmx.net>
6021 * text2.C: get rid of LyXText::need_break_row
6023 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6025 * toc.[Ch]: put namespace toc inside namespace lyx
6027 * MenuBackend.C (expandToc2): adjust for lyx::toc
6030 * lyxfunc.C (dispatch): adjust for lyx::find
6032 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6033 lyx::find instead. Reorganize a bit.
6034 (LyXReplace): rename to replace
6035 (LyXFind): rename to find
6037 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6040 2003-07-26 André Pönitz <poenitz@gmx.net>
6042 * text.C (setHeightOfRow): restrict scope of temporary variable
6044 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6045 code (never has been used?)
6047 2003-07-27 Asger Alstrup <alstrup@local>
6049 * text.C (fill): Optimise algorithm to exploit that we can reuse
6050 the LyXFont for many characters.
6051 (setHeightOfRow): Same thing.
6052 (rowBreakPoint): Same thing.
6054 2003-07-26 Asger Alstrup <alstrup@local>
6056 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6058 * text.C (singleWidth): Spurious font copying in hot-spot
6059 singleWidth avoided. Reorder tests for arabic for efficiency.
6061 * text.C (fill): handle empty paragraphs better.
6063 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6066 * encoding.h: add includes
6068 * lyxrc.C: remove reading of bind files
6070 * lyx_main.C (init): setup bindings and menus only if we have a
6073 * kbmap.C (read): new method. Do the actual reading of bind
6076 * converter.C (dvipdfm_options):
6079 (output): adapt PAPER_* enums.
6081 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6083 * bufferparams.h: remove paper-related enums from there
6085 * paper.h: New file. A trivial header file to hold paper-related
6086 enums. It should later expand to contain many paper-related
6089 * lyxrc.C: declare extern displayTranslator
6091 2003-07-27 José Matos <jamatos@fep.up.pt>
6093 * tabular.[Ch] (linuxdoc): add support for tables and figures
6096 2003-07-27 José Matos <jamatos@fep.up.pt>
6098 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6099 consistency in both functions.
6100 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6102 2003-07-26 Asger Alstrup <alstrup@local>
6104 * rowpainter.C (paintRows): Change algorithm to work directly on
6105 the insets rather than asking every character in the document
6106 whether its an inset.
6108 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6110 * buffer.C (openFileWrite): factorize some code
6112 2003-07-26 Angus Leeming <leeming@lyx.org>
6115 * lyx_main.[Ch]: replace occurances of system_tempdir with
6118 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6120 * rename Inset to InsetOld
6122 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6124 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6125 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6126 which I think is a bit clearer. EDIT is gone, since it was
6127 premature optimisation, and broken for mathed anyway.
6128 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6129 with cursor positioning in insets as well (math insets still do not
6130 work, but that's a different story anyway.) It mysteriously
6131 crashes sometimes with undo in the first paragraph, but I'm fairly
6132 confident that this is a compiler bug.
6134 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6136 * paragraph.C (Paragraph): adjust for new clone return type
6138 (copyIntoMinibuffer): ditto
6140 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6142 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6143 by not having a special case, and always doing a full rebreak of
6144 the document after undo.
6146 2003-07-23 Angus Leeming <leeming@lyx.org>
6148 * factory.C (createInset): InsetExternal::setParams now takes a
6151 2003-07-23 Angus Leeming <leeming@lyx.org>
6153 * factory.C (createInset): changed interface to the external and
6154 graphics mailers' string2params functions.
6156 2003-07-23 Angus Leeming <leeming@lyx.org>
6158 * factory.C (createInset): pass a
6159 Buffer const * parameter to InsetExternalMailer's string2params.
6161 2003-07-22 John Levon <levon@movementarian.org>
6163 * Thesaurus.h: include the right aiksaurus header
6165 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6167 * MenuBackend.C (expand): check menu shortcuts unconditionally
6169 2003-07-21 Angus Leeming <leeming@lyx.org>
6171 * factory.C (createInset): pass a
6172 buffer_path parameter to InsetGraphicsMailer's string2params.
6174 2003-07-21 Angus Leeming <leeming@lyx.org>
6176 * BufferView_pimpl.C (buffer):
6179 * lyxfunc.C (dispatch):
6180 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6181 rather than the grfx shortcut.
6183 2003-07-21 André Pönitz <poenitz@gmx.net>
6185 * rowpainter.C: remove unused variables
6188 * tabular_funcs.h: move to tabular.C
6189 * Makefile.am: adjust
6191 * tabular.[Ch]: basic optical cleaning
6193 * author.h: pass references, not values
6195 2003-07-18 André Pönitz <poenitz@gmx.net>
6203 * text3.C: two-phase drawing for InsetText and InsetTabular
6204 some float -> int changes.
6206 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6208 * lyx_main.C: fix the fix
6210 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6212 * lyx_main.C: fix a crash in batch mode if no files specified
6215 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6217 * format.[Ch] (papersize): moved to BufferParams
6218 * converter.[Ch] (dvips_options): moved to BufferParams
6219 (dvipdfm_options): moved to anon namespace
6220 * bufferparams.[Ch]: added above functions.
6222 2003-07-17 André Pönitz <poenitz@gmx.net>
6226 * text2.C: don't call inset->update() anymore
6228 * metricsinfo.[Ch]: add convenience constructor
6230 2003-07-16 André Pönitz <poenitz@gmx.net>
6235 * text2.C: replace the LyXCursor::irow_ member with
6236 on-demand computation of the value
6238 2003-07-16 John Levon <levon@movementarian.org>
6240 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6242 2003-07-15 André Pönitz <poenitz@gmx.net>
6245 * text2.C: remove no more needed refresh_row
6247 2003-07-15 André Pönitz <poenitz@gmx.net>
6252 * text3.C: refresh_status tristate -> need_update bool
6254 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6256 * lyxtext.h (init): remove reinit argument (act as if always true)
6257 * text2.C: adjust to that
6259 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6261 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6262 * text3.C: use it to delete selections in some cases
6263 (bugs 441, 673, 702, 954).
6265 2003-07-14 André Pönitz <poenitz@gmx.net>
6267 * rowpainter.[Ch]: reduce interface
6269 2003-07-14 André Pönitz <poenitz@gmx.net>
6271 * BufferView_pimpl.C:
6272 * text2.C: adjust after removing unused BufferView * argument
6274 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6276 * text2.C (init): fix a crash fired on resize
6278 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6280 * buffer.[Ch]: added new closing signal
6281 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6282 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6283 BufferView::Pimpl via the closing the signal
6285 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6287 * buffer.[Ch]: take out all bv-related from buffer
6289 * BufferView_pimpl.[Ch]: connect to new signals
6290 * CutAndPaste.C: removed useless asserts
6291 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6294 * lyxfunc.C: moved view-related funciontality from vc here
6295 * paragraph.C: removed outdated comments
6298 2003-07-10 André Pönitz <poenitz@gmx.net>
6300 * BufferView_pimpl.C:
6304 * text2.C: remove InsetText::InnerCache, clean up consequences
6306 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6308 * ispell.C: fix two typos in error messages
6310 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6312 * Extend Note inset to other forms of annotation like Comment
6313 and Greyedout. Right button click gives dialog.
6315 Files modified or added (+):
6319 * ControlNote.[Ch] +
6321 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6322 frontends/controllers
6326 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6328 * aspell.C: add missing namespace lyx::support
6330 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6332 * BufferView.[Ch] (newFile): Add
6333 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6334 * LaTeX.[Ch] (message): added this signal and use it
6335 * buffer.[Ch] (busy, message): added these signals and use them
6336 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6340 * importer.C: use buffer signals instead of direct bv calling
6341 * lyx_cb.[Ch] (ShowMessage): removed
6344 * paragraph_funcs.C:
6345 * text2.C: use buffer signals
6347 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6349 * introduce namespace lyx::graphics
6351 2003-07-02 André Pönitz <poenitz@gmx.net>
6353 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6355 2003-07-01 André Pönitz <poenitz@gmx.net>
6362 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6363 text*.C to text_func.C
6365 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6367 * introduce namespace lyx::support
6369 2003-06-30 André Pönitz <poenitz@gmx.net>
6374 * text.C: re-enable --with-included-string
6376 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6378 * textcursor.C: add <config.h>
6380 * text.C (getWord): remove const from word_location arg
6382 * lyxvc.C (getLogFile): fix const type order
6384 * lyxtext.h: remove const from word_location arg, add arg name
6386 * lyxlayout.h: currect type on labeltype.
6388 * importer.C: correct \file
6390 * converter.C (intToFormat): use std:: on ret val, ws changes
6392 * bufferlist.h: correct \file
6394 * buffer.C (makeLinuxDocFile): fix const type order
6395 (makeDocBookFile): ditto
6396 (fillWithBibKeys): use std:: on stdlib args.
6398 * CutAndPaste.C: fix authors.
6399 (availableSelections): use std:: on return vector
6401 2003-06-27 André Pönitz <poenitz@gmx.net>
6403 * BufferView_pimpl.C:
6404 * bufferview_funcs.C:
6412 * text3.C: remove LyXCursor::row_ member
6415 * text.C: rename fullRebreak() to partialRebreak() and implement
6416 a fullRebreak() that really bereks fully
6418 * textcursor.h: new struct for cursor-related data
6420 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6422 * lyx_main.C (LyX): get full path of document loaded on the
6425 2003-06-26 André Pönitz <poenitz@gmx.net>
6427 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6428 remove unused/broken operator>,<,>=.
6430 * text.C: remove only use of broken operator<= in an Assert().
6432 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6434 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6435 moved errorlist_.clear to showErrorList
6437 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6439 * converter.C (scanLog, runLaTeX):
6440 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6441 move the bv->showErrorList call to the callers
6442 * lyxfunc.C: i.e. here...
6444 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6445 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6446 namespace, the second to...
6447 * buffer_funcs (BufferFormat, parseErrors): added
6448 * errorlist.C (ErrorList(TeXErrors const &)): removed
6450 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6452 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6454 2003-06-24 "Garst R. Reese" <reese@isn.net>
6458 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6460 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6462 * version.C.in: change docversion to 1.4
6464 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6466 * buffer.C: fix a bug just introduced
6468 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6470 * buffer.[Ch]: added the parseError signal and use it, removed
6472 * BufferView.[Ch] (addError): moved to ...
6473 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6474 to the Buffer::parseError signal to catch (guess what) parse errors
6475 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6477 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6479 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6480 ability to create a buffer and to return an existing one from
6481 the list. Moved these functions to...
6482 * buffer_funcs.[Ch]: added
6483 * BufferView.[Ch] (loadLyXFile): added
6484 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6485 job removed from bufferlist::loadLyXFile.
6486 * buffer.C (setReadOnly): make it work without view
6487 (i.e added an if (users))
6489 2003-06-19 Angus Leeming <leeming@lyx.org>
6492 * LyXAction.C (init):
6493 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6494 with LFUN_DIALOG_SHOW <name> <data>.
6496 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6498 * CutAndPaste.C (availableSelections): small compilation fix for
6499 ancient (gcc 2.9x) compilers
6501 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6503 * text3.C (cursorNext): add tmp var
6505 * text2.C (updateCounters): for function calling out of for clause
6506 (replaceSelectionWithString): ditto
6507 (insertStringAsParagraphs): ditto
6508 (getColumnNearX): add tmp var
6509 (setCursorFromCoordinates): add tmp var
6510 (cursorDownParagraph): add tmp var
6511 (deleteEmptyParagraphMechanism): add tmp var
6513 * text.C (insertChar): add tmp var
6515 * rowpainter.C (paintDepthBar): add tmp var
6517 * CutAndPaste.C (availableSelections): potentially check all
6518 paragraphs in a cut to fill the shown strings.
6520 2003-06-18 André Pönitz <poenitz@gmx.net>
6522 * kbmap.[Ch]: use vector<> instead of list<>
6524 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6526 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6527 pasteSelection with index
6529 * text2.C (pasteSelection): modify, call pasteSelection with index
6531 * paragraph.C (asString): reimplement version with no interval to
6532 call the one with interval.
6534 * lyxtext.h: add index arg to pasteSelection
6536 * MenuBackend.C (MenuItem): handle PasteRecent
6537 (Menu::read::Menutags): add md_pasterecent
6539 (expandPasteRecent): new function
6542 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6544 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6546 (availableSelections): new function
6548 2003-06-17 Angus Leeming <leeming@lyx.org>
6550 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6552 2003-06-17 Angus Leeming <leeming@lyx.org>
6555 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6557 * lyxfunc.C (dispatch): invoke it.
6559 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6561 * iterators.C (operator++, ParPosition): reintroduce some
6562 const_cast for the benefit of older compilers.
6564 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6566 * text3.C (dispatch): do not modify clipboard when doing
6567 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6568 LFUN_DELETE_SKIP on a selection selection
6570 2003-06-16 André Pönitz <poenitz@gmx.net>
6576 * tabular.[Ch]: IU of clone() and getLabelList();
6578 2003-06-13 André Pönitz <poenitz@gmx.net>
6580 * tabular.h: compactification
6582 2003-06-12 André Pönitz <poenitz@gmx.net>
6586 * tabular_funcs.h: some renaming plus whitespace
6588 2003-06-12 André Pönitz <poenitz@gmx.net>
6591 * BufferView_pimpl.C:
6597 * toc.C: Return a Paragraph & for ParIterator::operator*()
6599 2003-06-11 John Levon <levon@movementarian.org>
6603 * ToolbarBackend.C: add "Toolbars" section and
6606 2003-06-10 Angus Leeming <leeming@lyx.org>
6609 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6611 * lyxfunc.C (dispatch): invoke it.
6613 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6615 * main.C: protect <ios> with HAVE_IOS
6616 (main): protect sync_with_stdio with HAVE_IOS
6618 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6620 * text2.C (cutSelection): adjust
6621 (pasteSelection): adjust
6623 * messages.C: handle get of empty string
6625 * main.C (main): use sync_with_stdio(false)
6627 * lyxfunc.C (dispatch): adjust
6629 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6630 (WriteAs): remove unneeded BufferView arg.
6632 * bufferparams.h: use correct types on papersize, papersize2 and
6635 * bufferparams.C (readToken): adjust for type
6636 (writeLaTeX): add missing cases to switch.
6638 * bufferlist.C (quitWriteBuffer): adjust
6641 * buffer.C (asciiParagraph): remove some commented code.
6643 * CutAndPaste.C: remove current_view extern variable.
6644 (cutSelection): add BufferParams arg.
6645 (eraseSelection): add BufferParams arg.
6646 (pasteSelection): add Buffer const & arg
6648 2003-06-07 John Levon <levon@movementarian.org>
6651 * paragraph_funcs.C:
6652 * paragraph_pimpl.C:
6656 * paragraph.C: allow InsetERT to freely space lines,
6657 and some consolidation of code
6659 2003-06-06 José Matos <jamatos@fep.up.pt>
6661 * buffer.C (makeDocBookFile): fix bug #821
6663 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6665 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6667 2003-06-04 Angus Leeming <leeming@lyx.org>
6669 * buffer.C: bump format to 224.
6671 2003-06-05 André Pönitz <poenitz@gmx.net>
6673 * text2.C (redoParagraphs): remove two const_cast<>
6675 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6677 * ParagraphList.h: remove last remnants of NO_STD_LIST
6679 2003-06-03 Angus Leeming <leeming@lyx.org>
6681 * factory.C (createInset): small change to the way InsetExternal's params
6684 2003-06-04 André Pönitz <poenitz@gmx.net>
6686 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6688 * paragraph_pimpl.h:
6689 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6691 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6693 * undo_funcs.C: make some simple cases of undo work again
6695 2003-06-03 John Levon <levon@movementarian.org>
6697 * ispell.C: HPUX doesn't have sys/select.h
6700 2003-06-03 John Levon <levon@movementarian.org>
6702 * CutAndPaste.C: update tabular and include inset
6707 * paragraph.C: remove owningBuffer(), don't pass Buffer
6710 * factory.C: insetGraphicsParams changed
6712 2003-06-02 John Levon <levon@movementarian.org>
6718 * text3.C: remove insetparent
6720 2003-06-02 John Levon <levon@movementarian.org>
6723 * buffer.C: fix inset_iterator.end(), move out of line
6726 2003-06-01 John Levon <levon@movementarian.org>
6728 * text3.C: use a proper cut/paste when doing inset
6729 insert (from Jürgen Spitzmüller)
6731 2003-06-01 John Levon <levon@movementarian.org>
6733 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6735 2003-05-30 André Pönitz <poenitz@gmx.net>
6737 * rowpainter.C: unify second drawing phase
6739 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6741 * trans_mgr.C: remove one case of current_view
6743 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6745 * paragraph_funcs.h: remove paragraph.h include
6747 * paragraph.h: delete NO_STD_LIST stuff
6749 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6751 * buffer.h: remove paragraph.h include
6753 * ParagraphList.C: delete file
6755 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6757 * toc.C (getTocList): adjust
6759 * paragraph_pimpl.C (validate): adjust
6761 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6763 * paragraph.C (Paragraph): adjust
6764 (getPositionOfInset): use const_iterator, adjust
6765 (bibitem): use const_iterator, adjust
6766 (setInsetOwner): adjust
6768 * iterators.C (operator++): adjust
6770 * InsetList.[Ch]: Replace selfmade iterator with standard
6771 vector::iterator also introduce const_iterator. Remove getPos,
6772 getInset and setInset from InsetTable. Adjust accordingly.
6774 * BufferView.C (lockInset): adjust
6775 (ChangeInsets): adjust
6777 * tabular.[Ch]: delete commented same_id functions
6779 2003-05-28 John Levon <levon@movementarian.org>
6781 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6783 2003-05-28 André Pönitz <poenitz@gmx.net>
6785 * metricsinfo.[Ch]: remove 'fullredraw' member
6787 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6789 * lyxtextclass.C (operator): remove caching.
6791 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6795 * text2.C (cursorBottom): adjust
6796 (setCounter): use ParagraphList::find, adjust
6798 * text.C (workWidth): use ParagraphList::find, adjust
6800 * lyxcursor.C (LyXCursor): adjust
6802 * buffer.C (inset_iterator): adjust
6804 * ParagraphList.h: make iterator(value_type) private, make
6805 ParagraphList a friend of iterator.
6807 * ParagraphList.C (find): new function
6809 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6811 2003-05-27 André Pönitz <poenitz@gmx.net>
6813 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6815 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6817 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6819 2003-05-26 John Levon <levon@movementarian.org>
6821 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6823 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6825 * remove same_id from function signatures, adjust.
6827 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6831 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6833 * paragraph.C (Paragraph): get rid of same_ids parameter
6835 * ParagraphList.C (insert): adjust
6838 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6840 * paragraph_funcs.C (breakParagraph): adjust
6841 (breakParagraphConservative): adjust
6843 * buffer.C (readParagraph): adjust
6845 * ParagraphList.C (insert): take a reference instead of a pointer
6848 * paragraph.[Ch] (id): new function
6850 * bufferlist.C (newFile): adjust
6852 * ParagraphList.C (ParagraphList): adjust
6854 (push_back): take a reference instead of a pointer.
6856 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6858 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6861 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6862 set else use old code.
6864 * ParagraphList.C: remove all NO_NEXT code and only compile this
6865 code of NO_STD_LIST is set.
6867 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6869 * BufferView_pimpl.C:
6879 * graphics/GraphicsConverter.C:
6880 * graphics/PreviewLoader.C: header adjustment
6882 2003-05-23 Angus Leeming <leeming@lyx.org>
6884 * LaTeXFeatures.[Ch] (useBabel): new method.
6885 * bufferparams.C (writeLaTeX): use it.
6887 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6889 * ParagraphList.h (set): remove unused function.
6891 2003-05-23 André Pönitz <poenitz@gmx.net>
6894 * BufferView_pimpl.C:
6898 * undo_funcs.C: setUndo reworked
6900 * iterators.[Ch]: add access to topmost ParagraphList
6902 * lyxtext.[Ch] (workWidth): add a const
6904 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6906 * texrow.[Ch] (increasePos): remove function
6907 * exporter.C (export): removed unused var and outdated comment
6909 2003-05-23 Angus Leeming <leeming@lyx.org>
6911 * latexrunparams.h: rename fragile as moving_arg.
6912 * paragraph.C (simpleTeXOnePar): ditto.
6913 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6915 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6917 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6919 (textUndoOrRedo): comment out a currently unused var.
6921 * paragraph.h (NO_NEXT): enable NO_NEXT
6923 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6925 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6927 * exporter.C (Export): adjust for removeAutoInsets removal.
6929 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6931 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6933 * BufferView.[Ch] (removeAutoInsets): delete function
6935 2003-05-22 Angus Leeming <leeming@lyx.org>
6937 * latexrunparams.h: add a free_spacing variable.
6939 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6940 to pass moving_arg, as the data is stored in runparams.fragile.
6942 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6943 to Inset::latexOptional or to simpleTeXOnePar.
6945 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6946 free_spacing arg to Inset::latexOptional.
6948 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6951 2003-05-22 Angus Leeming <leeming@lyx.org>
6953 * latexrunparams.h: add fragile and use_babel variables.
6955 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6956 * buffer.C (makeLaTeXFile): store this returned value in
6957 runparams.use_babel, thus passing it to the inset::latex methods.
6959 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6960 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6962 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6963 longer has a fragile arg, as it is stored in runparams.fragile.
6965 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6966 moving_arg parameter as the data is stored in runparams.fragile.
6968 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6969 a fragile parameter as the data is stored in runparams.fragile.
6971 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6975 2003-05-22 Angus Leeming <leeming@lyx.org>
6977 * latexrunparams.h: add a 'bool nice' which defaults to false.
6979 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6980 now encapsulated within runparams.
6982 * bufferlist.C (updateIncludedTeXfiles):
6983 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6985 2003-05-22 Angus Leeming <leeming@lyx.org>
6987 * latexrunparams.h: new file containing struct LatexRunParams.
6988 * Makefile.am: add new file.
6990 * LaTeX.[Ch] (c-tor, run):
6991 * buffer.[Ch] (makeLaTeXFile):
6992 * bufferlist.[Ch] (updateIncludedTeXfiles):
6993 * converter.C (convert, scanLog):
6994 * converter.[Ch] (runLaTeX):
6995 * exporter.C (Export):
6996 * paragraph.[Ch] (simpleTeXOnePar):
6997 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6998 * paragraph_funcs.[Ch] (latexParagraphs):
6999 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7000 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7001 pass around a LatexRunParams parameter.
7003 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * paragraph.[Ch]: remove unused constructor
7007 * ParagraphList.C (erase): new function, taking two iterators
7009 2003-05-22 André Pönitz <poenitz@gmx.net>
7011 * undo_funcs.C: remove duplicated code
7013 * iterator.[Ch]: operator=
7015 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7017 * tabular.C (SetMultiColumn): ws changes
7019 * rowpainter.C (paintFirst): get rid of a ->previous
7021 * lyx_cb.C (getPossibleLabel): parlist simplification
7023 * BufferView.C (ChangeInsets): simplify slightly.
7025 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7027 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7028 * lfuns.h: new LFUN_SPACE
7029 * lyxfunc.C: protected space has a new lfun
7030 * paragraph_funcs.C: read new space insets
7032 * factory.C: handle new space insets
7034 2003-05-22 André Pönitz <poenitz@gmx.net>
7037 * BufferView_pimpl.C:
7040 * undo_funcs.C: return a ParIterator from getParFromID.
7042 * iterators.[Ch]: add two const's
7044 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7046 * toc.C (getTocList): adjust
7048 * iterators.[Ch]: rework for parlist
7050 * buffer.C (par_iterator_begin): adjust
7051 (par_iterator_end): adjust
7053 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7055 * BufferView.C (removeAutoInsets): adjust
7056 (ChangeInsets): adjust
7058 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7060 * text.C (top_y): fix bug 1110
7062 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7064 * errorlist.[Ch]: added
7067 * BufferView_pimpl.C:
7068 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7071 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7073 * Makefile.am: ensure that lyx is relinked upon changes to the
7074 various "convenience" libs.
7076 2003-05-20 Angus Leeming <leeming@lyx.org>
7078 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7079 files are compiled in alphabetical order again.
7081 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7083 2003-05-19 Angus Leeming <leeming@lyx.org>
7085 * gettext.[Ch]: remove "char const * _(char const *)".
7087 2003-05-19 André Pönitz <poenitz@gmx.net>
7089 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7098 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7100 2003-05-19 André Pönitz <poenitz@gmx.net>
7104 * lyxtextclass.[Ch]:
7106 * paragraph_funcs.[Ch]:
7108 * text3.C: more insetenv work
7110 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7112 * ParagraphParameters.C (params2string): small bug fixed
7114 2003-05-16 André Pönitz <poenitz@gmx.net>
7117 * bufferview_funcs.C: patch from Kornel Benko to prevent
7118 crash when _(...) is called twice in a statement
7120 2003-05-16 André Pönitz <poenitz@gmx.net>
7127 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7129 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7131 * lyx_main.C (init): remove spurious static_cast
7133 2003-05-14 André Pönitz <poenitz@gmx.net>
7135 * BufferView.C: fix format string
7137 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7139 * BufferView.[Ch] (insertErrors): removed
7140 * BufferView.[Ch] (showErrorList): added
7141 * buffer.C (runChkTeX):
7142 * converter.C (scanLog): call showErrorList instead of inserterrors
7144 2003-05-13 André Pönitz <poenitz@gmx.net>
7146 * BufferView_pimpl.C:
7148 * bufferview_func.C:
7155 * tabular_funcs.h: tostr() from its own header
7157 * ParagraphParameters.C:
7162 * text3.C: STRCONV()
7164 2003-05-12 André Pönitz <poenitz@gmx.net>
7167 * BufferView_pimpl.C:
7171 * ParagraphParameters.C:
7175 * bufferview_funcs.C:
7188 * paragraph_funcs.C:
7192 * text3.C: boost::format -> bformat all over the place
7195 2003-05-09 André Pönitz <poenitz@gmx.net>
7197 * LColor.[Ch]: Pimpl the #include <map> away
7199 2003-05-09 John Levon <levon@movementarian.org>
7201 * bufferlist.C: never remove emergency saves
7203 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7205 * Makefile.am: better lib building
7207 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7209 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7211 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7212 (simpleTeXSpecialChars): adjust
7213 (simpleTeXSpecialChars): adjust
7214 * paragraph.C (simpleTeXOnePar): adjust
7215 * buffer.C (makeLaTeXFile): adjust
7217 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7219 * text2.C (changeDepth): parlist cleanup
7220 (getColumnNearX): ditto
7222 * rowpainter.C (getLabelFont): parlist cleanup
7224 * bufferlist.C (newFile): parlist cleanup
7226 * CutAndPaste.C (eraseSelection): parlist cleanup
7228 * BufferView_pimpl.C (trackChanges): parlist cleanup
7231 * BufferView.C (lockInset): parlist cleanup.
7232 (ChangeInsets): ditto
7234 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7236 * CutAndPaste.h: Update file header.
7238 * CutAndPaste.C: Update file header.
7239 Store the parts cut out of the Document in a limited_stack.
7240 (copySelection): adjust
7241 (pasteSelection): new function, takes the index in the limited stack.
7242 (nrOfParagraphs): adjust
7243 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7244 simplify error inset insertion.
7245 (checkPastePossible): adjust
7247 2003-05-06 John Levon <levon@movementarian.org>
7249 * text2.C: don't cast wrap inset to float
7251 2003-05-05 André Pönitz <poenitz@gmx.net>
7254 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7256 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7257 few naked Paragraph *.
7259 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7261 * bufferparams.C: Output warning if a document with missing
7262 TeX document class is loaded
7263 * exporter.C: Disable TeX exports if the document class is missing
7266 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7267 isTeXClassAvailable()
7269 2003-05-03 John Levon <levon@movementarian.org>
7272 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7273 explicit cursor show/hide
7275 * BufferView_pimpl.h:
7276 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7277 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7279 * lyxfunc.C: hide cursor before dispatching.
7284 * text3.C: remove explicit cursor hides
7286 2003-05-02 André Pönitz <poenitz@gmx.net>
7288 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7291 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7294 * text2.C: tiny whitespace
7296 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7298 * undo_funcs.C: almost only ws changes.
7300 * ParagraphList.C (splice): just return if pl is empty.
7302 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * ParagraphList.C (splice): new function.
7306 * CutAndPaste.C (pasteSelection): use it
7308 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * CutAndPaste.C (pasteSelection): remove the last next and
7311 previous from this file.
7313 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7315 * CutAndPaste.C (pasteSelection): more clean up, user proper
7316 ParagraphList functions for pasteing.
7318 * ParagraphList.C (insert): new function, three arg insert
7320 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7322 * ParagraphList.C (insert): new function, three arg insert
7324 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7327 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7329 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7331 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7335 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7337 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7338 (copySelection): clean up a bit.
7339 (pasteSelection): use make_pair
7341 * ParagraphList.C (ParagraphList): implement copy constructor
7342 (operator=): implement, base on copy constructor.
7345 * paragraph.C (erase): return a bool
7347 * paragraph_pimpl.C (erasePos): remove function, move contents...
7348 (erase): ... here. Return a bool.
7349 (erase): call erase instead of erasePos.
7351 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7353 * ParagraphList.h: define PitPosPair
7354 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7355 ParagraphList, fix a bug on pasting multiple pars
7356 * text2.C: change interface to C&P
7358 2003-04-30 André Pönitz <poenitz@gmx.net>
7360 * undo_func.C: revert part of yesterday's patch 2
7362 2003-04-30 John Levon <levon@movementarian.org>
7364 * LColor.C: s/tabular/table/
7366 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7368 * text3.C (dispatch): do not convert iterator -> pointer
7369 * undo_funcs.C (setCursorParUndo): ditto
7370 * text_funcs.C (transposeChars): ditto
7372 * text2.C (setLayout): ws changes only
7374 * text.C (breakParagraph): do not convert iterator -> pointer
7376 (acceptChange): ditto
7377 (rejectChange): ditto
7382 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7385 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7387 * text3.C (gotoInset): YABG (yet another bad getChar)
7389 2003-04-29 André Pönitz <poenitz@gmx.net>
7391 * paragraph.h: make operator= private unimplemented as long as
7394 * ParagraphList.C: whitespace
7397 * paragraph_pimpl.[Ch]:
7398 * paragraph_funcs.C:
7400 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7403 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7405 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7407 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7408 * paragraph.[Ch] (erase):
7409 * paragraph_pimpl.[Ch] (erase): change return type and value
7410 * text2.C (cutSelection): some rework
7412 2003-04-28 John Levon <levon@movementarian.org>
7414 * bufferlist.C: changes for unsaved changes dialog
7416 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7418 * bufferlist.C (newFile): set language (messages_) for new
7421 * buffer.C (readFile): ws changes only.
7423 2003-04-28 André Pönitz <poenitz@gmx.net>
7428 * BufferView_pimpl.C:
7429 * BufferView.C: getParFromID related ParagraphList::iterator changes
7431 2003-04-28 André Pönitz <poenitz@gmx.net>
7433 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7436 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7438 * messages.C: remove one more localedir class variable.
7440 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7442 * messages.C (getLocaleDir): singleton generation function
7444 (Messages): add a default constructor.
7446 * main.C (main): do not setup localedir here, do not call
7449 * gettext.C (_): use it.
7450 (gettext_init): delete funciton
7452 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7454 * gettext.C (getLyXMessages): new singleton generating function.
7456 * buffer.C (updateDocLang): adjust
7458 * Makefile.am (messages.o): add target
7459 (main.o): remove target
7461 2003-04-27 John Levon <levon@movementarian.org>
7466 * lyxvc.C: specify cancel button in Alert::prompt
7468 2003-04-26 John Levon <levon@movementarian.org>
7473 * LyXAction.C: add LFUN_INSET_SETTINGS
7475 * lyxfunc.C: don't enable tabular-feature when there's
7476 just any locking inset
7478 2003-04-26 John Levon <levon@movementarian.org>
7480 * bufferlist.C: re-add Cancel to buffer close question
7482 * lyxfunc.C: fix import UI a bit
7484 2003-04-25 John Levon <levon@movementarian.org>
7486 * gettext.C: remove the broken asserts for now
7488 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7490 * messages.C: make case where setlocale cannot comply work better.
7492 * buffer.C (updateDocLang): new function
7493 (changeLanguage): use it
7496 * text2.C (setCounter): use B_ a bit.
7498 * lyxlayout.C (Read): be sure to trim the label strings.
7500 * messages.C (Messages): fix typo in comment
7502 * buffer.C (readFile): set message_ after file is loaded.
7503 (makeDocBookFile): remove double return
7504 (changeLanguage): reset message_ upon language change.
7505 (B_): new func, use this to get translated buffer strings.
7507 * main.C: add myself and Jean Marc as authors.
7509 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7511 * messages.[hC]: pimplify Messages, and three different pimpls to be
7512 used in different circumstances.
7514 * gettext.[Ch]: change for use with new message code.
7516 2003-04-24 André Pönitz <poenitz@gmx.net>
7518 * factory.C: support for eqref
7520 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * messages.[Ch]: add missing char
7524 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7526 * messages.[Ch]: New files
7528 2003-04-18 John Levon <levon@movementarian.org>
7532 * BufferView_pimpl.C:
7536 * text2.C: remove layout-copy/paste (bug 778)
7538 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7540 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7542 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7544 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7545 if they succeed. Act accordingly.
7547 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7549 * text2.C (setCharFont): adjust
7550 (setCounter): adjust
7551 (insertStringAsLines): adjust
7553 * text.C (leftMargin): adjust
7554 (setHeightOfRow): adjust
7556 * rowpainter.C (paintFirst): adjust
7559 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7561 (isFirstInSequence): ditto
7562 (getEndLabel): ditto
7565 * paragraph.C (getParLanguage): comment out some hard stuff.
7567 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7569 (simpleDocBookOnePar): ditto
7570 (makeDocBookFile): use ParagraphList::iterator
7572 * CutAndPaste.C (pasteSelection): adjust
7574 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7576 * text2.C (getFont): adjust
7577 (getLayoutFont): adjust
7578 (getLabelFont): adjust
7580 * paragraph_funcs.C (TeXOnePar): adjust
7582 * buffer.C (simpleLinuxDocOnePar): adjust
7583 (simpleDocBookOnePar): adjust
7585 * CutAndPaste.C (pasteSelection): adjust
7587 * BufferView.C (getEncoding): adjust
7589 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7591 2003-04-16 John Levon <levon@movementarian.org>
7593 * lyxfind.C: use parlist stuff for search/changes
7595 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7599 * text2.C (deleteEmptyParagraphMechanism): adjust
7601 * text2.[Ch] (ownerParagraph): delete func (both of them
7603 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7605 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7607 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7609 * ParagraphList.C: prepare for NO_NEXT
7611 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * text2.C (getFont): adjust
7614 (getLayoutFont): adjust
7615 (getLabelFont): adjust
7617 * paragraph.C (getFont): adjust
7618 (getLabelFont): adjust
7619 (getLayoutFont): adjust
7621 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7623 2003-04-15 John Levon <levon@movementarian.org>
7627 * lyx_main.C: handle Include in .ui files
7629 2003-04-15 John Levon <levon@movementarian.org>
7631 * MenuBackend.C: make the doc files length shorter
7634 * ToolbarBackend.C: handle toolbar placement flags,
7637 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7639 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7642 * paragraph_funcs.C (TeXOnePar): adjust
7644 * paragraph.C (getLabelFont): add outerfont arg, adjust
7645 (getLayoutFont): ditto
7646 (simpleTeXOnePar): adjust
7648 * paragraph_pimpl.C (realizeFont): delete func
7650 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7652 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7653 row argument, constify cur argument.
7655 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7657 * text2.C (getFont): adjust
7658 (getLayoutFont): adjust
7659 (getLabelFont): adjust
7661 * paragraph_funcs.C (TeXOnePar): adjust
7662 (outerFont): new func...
7663 (realizeFont): ...moved out from here, changed this to facilitate
7666 * paragraph.C (getFont): take outerfont as arg, adjust
7667 (simpleTeXOnePar): add outerfont arg, adjust
7669 * buffer.C (simpleLinuxDocOnePar): adjust
7670 (simpleDocBookOnePar): adjust
7672 * CutAndPaste.C (pasteSelection): adjust
7674 * BufferView.C (getEncoding): adjust
7676 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * text2.C (setCharFont): adjust
7679 (setCounter): adjust
7681 * text.C (leftMargin): adjust
7682 (setHeightOfRow): adjust
7684 * rowpainter.C (paintFirst): adjust
7687 * paragraph_pimpl.C (realizeFont): adjust
7689 * paragraph.C (isFirstInSequence): move from here...
7690 * paragraph_funcs.C (isFirstInSequence): ...to here
7692 * paragraph.C (outerHook): move from here...
7693 * paragraph_funcs.C (outerHook): ...to here
7695 * paragraph.C (depthHook): move from here...
7696 * paragraph_funcs.C (depthHook): ...to here
7698 * paragraph.C (getEndLabel): move from here...
7699 * paragraph_funcs.C (getEndLabel): ...to here
7701 * text2.C (realizeFont): move from here...
7702 * paragraph_funcs.C (realizeFont): ...to here
7704 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7708 2003-04-14 Angus Leeming <leeming@lyx.org>
7710 * LColor.[Ch]: scrap LColor mathcursor.
7712 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * lyxlex.[Ch] (text): delete function
7715 * trans.C (Load): adjust
7716 * paragraph_funcs.C (readParToken): adjust
7718 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7720 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7721 vector<char> instead of a char[].
7723 * lyxlex_pimpl.C (getString): adjust
7725 (lex): use getString
7729 * lyxlex.C (text): use pimpl_->getString()
7733 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7735 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7736 (makeFontEntriesLayoutSpecific): temp var for par.size()
7737 (setLayout): temp var for ownerParagraphs().end()
7738 (fullRebreak): temp var for rows().end()
7739 (selectionAsString): temp var for boost::next(startpit), realize
7740 that the while really is a regular for loop.
7741 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7742 setCursor in one place.
7743 (setParagraph): temp vr for ownerParagraphs().end()
7744 (updateCounters): make the while loop a for loop
7745 (cutSelection): temp var for ownerParagraphs().end()
7746 (updateInset): make the do {} while() a regular for loop
7747 (getCursorX): use temp vars
7748 (setCurrentFont): use temp vars
7749 (getColumnNearX): use temp vars
7751 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7753 * text.C (transformChar): use temp var for getChar
7754 (computeBidiTables): use temp var for row->par()
7755 (fill): move temp vars for row->par() and pit->layout() earlier in
7757 (labelFill): use temp var for row->par()
7758 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7759 asc and desc, realize that pit never changes and that firstpit is
7760 just a duplicate and not needed. Exchange rit->par() with pit in a
7762 (breakAgain): use a temp var for boost::next(rit)
7763 (breakAgainOneRow): ditto
7764 (breakParagraph): use a temp var for rows().begin()
7765 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7766 (cursorRightOneWord): use temp var for cursor.par() and
7767 cursor.pos(), remove usage of tmpcursor.
7768 (cursorLeftOneWord): use temp var for cursor.par() and
7769 cursor.pos() only set cur at end of function.
7771 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7773 * text.C, text2.C: exchange all usage of Paragraph::next with
7774 boost::next(ParagraphList::iterator)
7776 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7778 * text2.C (cursorTop): simplify implementation
7779 (cursorBottom): ditto
7780 (setParagraph): use ParagraphList::iterator
7781 (setCurrentFont): adjust
7782 (getColumnNearX): adjust
7783 (cursorRight): adjust
7784 (cursorLeft): remove usage of Paragraph::previous
7785 (cursorUpParagraph): ditto
7786 (deleteEmptyParagraphMechanism): slight cleanup
7788 * text.C (isBoundary): take a Paragraph const & instead of a
7790 (addressBreakPoint): ditto
7791 (leftMargin): remove usage of Paragraph::previous.
7792 (setHeightOfRow): ditto
7793 (cursorLeftOneWord): ditto
7794 (selectNextWordToSpellcheck): ditto
7797 (breakParagraph): remove one usage of Paragraph::next
7798 (redoParagraph): ditto
7799 (acceptChange): ditto
7800 (insertChar): adjust
7801 (rowBreakPoint): adjust
7803 * bufferview_funcs.C (toggleAndShow): adjust
7805 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7807 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7808 methods to access it.
7810 * text.C: Added updateRowPositions to compute all row positions.
7811 Make top_y and getRowNearY() to use the cached y position
7813 2003-04-11 John Levon <levon@movementarian.org>
7815 * text.C (rowBreakPoint): reintroduce the labelEnd
7816 checks, code copied from the row fill stuff. Deep voodoo.
7818 * text.C (fill): add a comment and debugging for the
7821 2003-04-11 John Levon <levon@movementarian.org>
7823 * text.C: make sure fullrow insets get wrapped to the next line,
7824 even when they're in a manual label
7826 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7828 * text2.C (insertParagraph): make it take ParagraphList::iterator
7830 (setLayout): make it return ParagraphList::iterator
7831 (redoParagraphs): ditto
7833 (checkParagraph): ditto
7835 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7837 * text2.C: adjust several funcs.
7838 (realizeFont): take a ParagraphList::iterator as arg.
7839 (getLayoutFont): ditto
7840 (getLabelFont): ditto
7841 (setCharFont): ditto
7843 * text.C: adjust several funcs.
7845 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7847 * text.C (selectNextWordToSpellcheck): don't accidentally
7850 2003-04-10 John Levon <levon@movementarian.org>
7852 * ToolbarBackend.C (getIcon): special handling for
7855 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7857 * text2.C (cursorRight): a getChar assert fixed
7859 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7861 * text2.C (getFont): change to take a ParagraphList::iterator
7862 instead of Paragraph*
7863 Adjust several functions.
7865 * text.C (transformChar): change to take a ParagraphList::iterator
7866 instead of Paragraph*
7867 (singleWidth): ditto
7868 Adjust several functions.
7870 * rowpainter.C: adjust several functions
7871 * rowpainter.h:store a ParagraphList::iterator and not a
7875 2003-04-09 John Levon <levon@movementarian.org>
7880 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7881 and the "help" bits as well
7883 2003-04-09 John Levon <levon@movementarian.org>
7886 * ToolbarBackend.C: allow multiple toolbars
7888 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7890 * undo_funcs.C (setCursorParUndo): adjust
7892 * text_funcs.C (transposeChars): adjust
7894 * text3.C (gotoNextInset): adjust
7897 * text2.C (setLayout): adjust
7898 (changeDepth): adjust
7900 (redoParagraphs): adjust
7901 (selectionAsString): adjust
7902 (setParagraph): adjust
7903 (insertInset): adjust
7904 (cutSelection): adjust
7905 (copySelection): adjust
7906 (pasteSelection): adjust
7907 (insertStringAsLines): adjust
7908 (updateInset): adjust
7909 (setCursor): change to take a ParagraphList::iterator parameter
7910 (setCursorIntern): change to take a ParagraphList::iterator parameter
7911 (setCurrentFont): adjust
7912 (cursorLeft): adjust
7913 (cursorRight): adjust
7914 (deleteEmptyParagraphMechanism): adjust
7916 * text.C (breakParagraph): adjust
7917 (insertChar): adjust
7918 (acceptChange): adjust
7919 (rejectChange): adjust
7920 (selectNextWordToSpellcheck): adjust
7921 (changeCase): adjust
7925 * lyxfind.C (SearchForward): adjust
7926 (SearchBackward): adjust
7927 (nextChange): adjust
7929 * lyxcursor.C (par): adjust
7931 * lyxcursor.h: store a ParagraphList::iterator instead of a
7934 * lyx_cb.C (getPossibleLabel): adjust
7936 * bufferview_funcs.C (toggleAndShow): adjust
7938 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7941 * BufferView.C (removeAutoInsets): adjust
7942 (lockedInsetStoreUndo): adjust
7944 2003-04-09 John Levon <levon@movementarian.org>
7946 * ToolbarBackend.C: try icon without argument
7947 if with argument fails
7949 2003-04-08 John Levon <levon@movementarian.org>
7952 * ToolbarBackend.C: add getIcon(), handle tooltip,
7953 and change from "Icon" to "Item".
7955 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7957 * BufferView.C (lockInset): another bad getchar crunched
7959 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7961 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7964 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7966 * lyxfind.C (searchForward, searchBackwards): bug 782
7968 2003-04-07 John Levon <levon@movementarian.org>
7970 * paragraph.C: remove dead comment
7972 * text.C: remove troublesome depth-fiddling code
7973 in leftMargin() and rightMargin() (bug 1017)
7975 * text.C: fix breaking of rows in nested lists
7978 * text2.C (updateCounters): fix up depth values
7981 2003-04-07 John Levon <levon@movementarian.org>
7983 * BufferView_pimpl.C: clear message when doc finishes resizing,
7984 and after a mouse event
7986 * lyxfunc.C: clear message after exiting inset
7988 2003-04-07 John Levon <levon@movementarian.org>
7990 * bufferview_funcs.C: show math status not outside
7991 status in the statusbar
7993 2003-04-07 John Levon <levon@movementarian.org>
7995 * lyxfunc.C: note status changed after a depth change
7997 2003-04-04 Angus Leeming <leeming@lyx.org>
7999 * LaTeX.h: move AuxInfo operator==, != out of line.
8000 Remove LaTeX virtual destructor; nothing derives from it.
8001 Move operator()() out of public area and rename it startscript().
8002 Change protected for private.
8004 2003-04-04 Angus Leeming <leeming@lyx.org>
8007 * text2.C: remove unneeded #includes.
8009 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8011 * text2.C (dEPM): fix the heigth of the next row
8013 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8015 * text.C: squashed an invalid getChar requester + some ws changes
8017 2003-04-03 John Levon <levon@movementarian.org>
8019 * bufferview_funcs.h:
8020 * bufferview_funcs.C:
8023 * text2.C: make getStatus work for the env depth lfuns
8025 2003-04-03 John Levon <levon@movementarian.org>
8027 * bufferview_funcs.h:
8028 * bufferview_funcs.C:
8031 * text2.C: parlistize decDepth(), by merging it with incDepth()
8033 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8035 * lyxrow.h: store a ParagraphList::iterator instead of a
8036 Paragraph* and adjust other class functions to suit.
8038 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8041 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8043 * text2.C (setCursor): do not anchor to cursor row for the time being
8045 2003-04-02 John Levon <levon@movementarian.org>
8052 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8054 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8056 * paragraph.h: make ParagraphList and ParagraphList::iterator
8057 friends of Paragraph.
8059 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8061 * ParagraphList.C: Use the private next_ and previous_ from
8064 2003-04-01 John Levon <levon@movementarian.org>
8068 * Makefile.am: rename, remove defaults gunk
8071 * MenuBackend.C: remove defaults gunk
8074 * Languages.C: remove defaults gunk
8077 * lyx_main.C: error out if files couldn't be found.
8079 2003-04-02 John Levon <levon@movementarian.org>
8081 * text2.C: make incDepth() use parlist
8083 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8085 * undo_funcs.C (firstUndoParagraph): adjust
8087 * text3.C (gotoInset): adjust
8088 (dispatch): adjust, and rewrite loop.
8090 * text2.C (init): adjust, and rewrite loop.
8091 (redoParagraphs): adjust
8092 (updateInset): adjust, and rewrite loop.
8093 (deleteEmptyParagraphMechanism): adjust
8095 * tabular.C (LyXTabular): adjust
8096 (SetMultiColumn): adjust
8099 * lyxtext.[Ch] (ownerParagraph): delete function
8100 (ownerParagraphs): new function returns a ParagraphList.
8102 * BufferView.C (removeAutoInsets): adjust
8103 (insertErrors): adjust
8104 (setCursorFromRow): adjust
8106 2003-04-01 Angus Leeming <leeming@lyx.org>
8108 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8111 2003-04-02 John Levon <levon@movementarian.org>
8117 * text_funcs.C: make transposeChars a free function
8119 * lyxrow_funcs.C: remove wrong comment
8121 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8124 * rowpainter.C: adjust
8129 * lyxrow_funcs. [Ch]: new files
8131 * lyxrow.[Ch]: remove next and previous pointers
8132 (next,previous): remove accessor functions
8133 (isParEnd): move to lyxrow_funcs
8134 (lastPos): move to lyxrow_funcs
8135 (nextRowIsAllInset): move to lyxrow_funcs
8136 (lastPrintablePos): move to lyxrow_funcs
8137 (numberOfSeparators): move to lyxrow_funcs
8138 (numberOfHfills): move to lyxrow_funcs
8139 (numberOfLabelHfills): move to lyxrow_funcs
8140 (hfillExpansion): move to lyxrow_funcs
8144 * bufferview_funcs.C (toggleAndShow): adjust
8146 * RowList.h: Remove class RowList from file leave just a
8149 * RowList.C: delete file
8151 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8154 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * text3.C (cursorPrevious): adjust
8157 (cursorNext): adjust
8160 * text2.C (redoHeightOfParagraph): adjust
8161 (redoDrawingOfParagraph): adjust
8164 * text.C (breakParagraph): adjust
8165 (insertChar): adjust
8168 * rowpainter.C (RowPainter): adjust
8169 (leftMargin): simplify and adjust
8170 (most rowpainter functions): adjust.
8172 * rowpainter.h: store the row as RowList::iterator not as Row*
8174 * lyxcursor.C (row): taka RowList::iterator as arg
8177 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8180 2003-04-01 Angus Leeming <leeming@lyx.org>
8182 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8183 stuff like bool Bool.
8185 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8187 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8190 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8192 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8195 * lyxtext.h (rows): drop one version and leve a const variant that
8196 returns a RowList::iterator.
8198 2003-03-31 Angus Leeming <leeming@lyx.org>
8200 * text.C (fill): ensure that the signature is the same as that in the
8203 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8205 * text2.C (redoParagraphs): adjust
8206 (updateCounters): adjust
8207 (checkParagraph): adjust
8208 (getColumnNearX): adjust and reformat a bit.
8210 * text.C (top_y): adjust
8212 (leftMargin): adjust
8213 (prepareToPrint): adjust
8215 (getRowNearY): adjust
8217 * lyxtext.h: make rowlist_ mutable.
8219 * RowList.h: add const_iterator
8220 * RowList.C: adjust for RowList::const_iterator.
8222 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8225 2003-03-31 John Levon <levon@movementarian.org>
8228 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8230 * lyx_main.C: set default fonts from using lyx_gui funcs
8232 * exporter.C: pdf_mode moved from lyxrc
8235 * lyxfunc.C: changes from above
8237 2003-03-31 John Levon <levon@movementarian.org>
8239 * lyx_main.C: fix to the last fix
8241 2003-03-31 John Levon <levon@movementarian.org>
8243 * bufferlist.C: "Load original" -> "Load Original"
8249 * format.C: more Alert cleanups
8251 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8253 * text2.C (removeParagraph): make it take a RowList::iterator as
8255 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8256 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8258 * text.C (anchor_row): make it take a RowList::iterator as arg,
8260 (computeBidiTables): make it take a const reference to Row instead
8261 of Row pointer, adjust.
8262 (leftMargin): make it take a RowList::iterator as arg, adjust.
8263 (rowBreakPoint): adjust
8264 (breakAgainOneRow): make it take a RowList::iterator as arg,
8266 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8268 * bufferview_funcs.C (toggleAndShow): adjust
8270 2003-03-30 John Levon <levon@movementarian.org>
8274 * boost-inst.C: moved to support
8276 * several files: changes as a result
8278 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * text2.C (LyXText): adjust.
8282 (removeRow): make it take a RowList::iterator as arg, adjust.
8283 (fullRebreak): adjust
8284 (deleteEmptyParagraphMechanism): adjust
8285 (clearPaint): adjust
8288 * text.C (top_y): adjust
8289 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8290 (breakAgain): make it take a RowList::iterator as arg, adjust.
8291 (breakParagraph): adjust
8292 (insertChar): adjust
8295 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8296 need_break_row, and refresh_row.
8298 * text3.C (dispatch): adjust
8300 * text2.C (checkParagraph): adjust
8302 (setCursorFromCoordinates): adjust
8304 * text.C (top_y): adjust
8306 (getRow): make it return a RowList::iterator, adjust
8307 (getRowNearY): make it return a RowList::iterator, adjust
8309 * text2.C (init): adjust
8310 (insertRow): remove function
8311 (insertParagraph): adjust
8312 (redoParagraphs): adjust
8313 (fullRebreak): adjust
8314 (updateCounters): adjust
8316 * text.C (top_y): rewrite to use RowList iterators.
8318 (setHeightOfRow): rewrite to sue RowList iterators.
8319 (appendParagraph): adjust
8320 (breakAgain): adjust
8321 (breakAgainOneRow): adjust
8322 (breakParagraph): adjust
8324 (getRowNearY): adjust, and remove commented code.
8326 * lyxtext.h (firstRow): delete function
8327 (lastRow): delete function
8328 (rows): new function (const and non-const versions.)
8329 (insertRow): delete function
8331 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8333 2003-03-29 John Levon <levon@movementarian.org>
8335 * BufferView_pimpl.C: always update scrollbar top
8336 because pasting text when we're anchored could mean we
8337 miss an update altogether
8339 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8341 * text2.C (init): use rowlist_.end() and not 0.
8342 (insertRow): change to take a RowList::iterator as arg, adjust
8344 (insertParagraph): change to take a RowList::iterator as arg,
8346 (redoParagraphs): remove some debug msgs.
8348 * text.C (appendParagraph): change to take a RowList::iterator
8349 arg, adjust for this.
8350 (breakAgain): add an assert
8351 (breakAgainOneRow): ditto
8353 2003-03-29 John Levon <levon@movementarian.org>
8355 * text2.C: do not clear selection after inc/decDepth
8358 2003-03-29 John Levon <levon@movementarian.org>
8361 * buffer.C: fix broken strerrors according to Lars
8363 2003-03-29 John Levon <levon@movementarian.org>
8365 * converters.C: more Alert cleanups
8367 2003-03-29 John Levon <levon@movementarian.org>
8369 * bufferview_funcs.C: remove pointless Alert
8371 * buffer.C: fix confusing error message when
8372 a template is chmoded 000
8374 2003-03-29 John Levon <levon@movementarian.org>
8378 * BufferView_pimpl.C: Alert fixes
8382 * tabular-old.C: remove unused table compat reading
8384 2003-03-29 John Levon <levon@movementarian.org>
8389 * lyx_cb.C: more Alert cleanups
8391 * lyxfunc.C: don't allow chktex if not latex document
8393 2003-03-29 John Levon <levon@movementarian.org>
8397 * buffer.C: warnings pushed down from support/,
8400 2003-03-29 John Levon <levon@movementarian.org>
8402 * lyxfunc.C: safety check for C-r (revert)
8404 2003-03-29 John Levon <levon@movementarian.org>
8407 * bufferlist.C: several UI fixes using Alert::prompt.
8408 Fix the pointless looping quit code. Fix stupid revert
8413 * lyx_cb.C: use Alert::prompt
8415 * lyx_main.C: remove a silly question
8417 * lyxfunc.C: remove a couple of silly questions,
8420 2003-03-28 John Levon <levon@movementarian.org>
8422 * text2.C: fix bug 974 (End on empty par)
8424 2003-03-28 John Levon <levon@movementarian.org>
8426 * BufferView_pimpl.C:
8428 * lfuns.h: remove do-nothing math greek lfuns
8430 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8432 * lyxgluelength.h (isValidGlueLength): add default arg on
8433 parameter 2. Remove default arg from friend in class.
8435 * lyxlength.h (isValidLength): add default arg on parameter 2.
8436 Remove default arg from friend in class.
8438 * text2.C (LyXText): adjust, initialize refresh_row.
8442 (insertParagraph): adjst
8443 (redoParagraphs): adjust
8444 (fullRebreak): adjust
8445 (updateCounters): adjust
8446 (deleteEmptyParagraphMechanism): first attempt at fixing a
8449 * text.C (top_y): adjust
8450 (setHeightOfRow): adjust
8452 (getRowNearY): adjust
8454 * lyxtext.h: include RowList.h
8455 (~LyXText): not needed anymore, deleted.
8456 (firstRow): modify for RowList
8457 (lastRow): new function
8458 Delete firstrow and lastrow class variables, add a Rowlist
8459 rowlist_ class variable.
8461 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8464 * RowList.C (insert): fix case where it == begin().
8466 2003-03-26 Angus Leeming <leeming@lyx.org>
8468 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8469 the thesaurus dialog.
8471 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8473 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8475 * RowList.[Ch]: new files
8477 * ParagraphList.C (erase): handle the case where it == begin
8480 2003-03-25 John Levon <levon@movementarian.org>
8484 * aspell.C: add new aspell support
8487 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8490 2003-03-25 Angus Leeming <leeming@lyx.org>
8493 * LyXAction.C (init): new LFUN_INSET_INSERT.
8495 * BufferView_pimpl.C (dispatch): split out part of the
8496 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8498 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8501 2003-03-25 Angus Leeming <leeming@lyx.org>
8503 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8505 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8508 * text3.C: remove useless row->height(0)
8510 2003-03-25 John Levon <levon@movementarian.org>
8514 * text3.C: rename the refreshing stuff to better names
8516 2003-03-24 John Levon <levon@movementarian.org>
8518 * BufferView_pimpl.h:
8519 * BufferView_pimpl.C: update layout choice on a mouse
8522 2003-03-23 John Levon <levon@movementarian.org>
8524 * Makefile.am: fix commandtags.h reference
8526 2003-03-22 John Levon <levon@movementarian.org>
8528 * BufferView_pimpl.C:
8533 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8535 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8538 * text.C: take the rtl methods out of line
8540 2003-03-21 André Pönitz <poenitz@gmx.net>
8542 * metricsinfo.[Ch]: new files containing structures to be passed around
8543 during the two-phase-drawing...
8545 2003-03-21 André Pönitz <poenitz@gmx.net>
8547 * lyxtextclass.C: read 'environment' tag.
8549 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8551 * text2.C (removeRow): fix bug 964
8553 2003-03-20 John Levon <levon@movementarian.org>
8557 * text2.C: paint cleanups. Inset::update() dropped font
8560 2003-03-19 John Levon <levon@movementarian.org>
8562 * lyxfunc.C: only fitcursor/markDirty if available()
8564 2003-03-19 John Levon <levon@movementarian.org>
8566 * commandtags.h: rename to ...
8568 * lfuns.h: ... this, and renumber / cleanup
8570 2003-03-19 John Levon <levon@movementarian.org>
8572 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8573 fit the cursor after an lfun
8577 * BufferView_pimpl.h:
8578 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8580 * LyXAction.C: layout-character should have ReadOnly
8582 * ParagraphParameters.C:
8584 * bufferview_funcs.C:
8591 * undo_funcs.C: changes from above
8593 2003-03-18 John Levon <levon@movementarian.org>
8595 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8596 remove it from update()
8598 * lyxfunc.C: update layout choice after an lfun
8600 * text3.C: remove extra updateLayoutChoice()s
8602 2003-03-18 John Levon <levon@movementarian.org>
8604 * text.C: top_y change means full repaint, fix
8605 a drawing bug with cursor movement
8607 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8611 * text2.C: anchor row on setCursor
8613 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8615 * lyxtext.h: remove almost all mutable keywords
8618 * text3.C: remove const keywords accordingly
8620 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8622 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8624 (TeXEnvironment): ditto
8627 2003-03-17 John Levon <levon@movementarian.org>
8629 * text.C (rowBreakPoint): remove attempt to fix displayed
8630 math insets inside a manual label
8632 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8634 * lyxtext.h: remove BufferView* as first arg from almost all class
8636 * other files: adjust.
8638 2003-03-17 John Levon <levon@movementarian.org>
8642 * text2.C: more paint cleanups
8644 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8647 * rowpainter.C: remove "smart" background painting code
8649 2003-03-16 John Levon <levon@movementarian.org>
8654 * text3.C: add helper functions for setting refresh_row/y
8656 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8658 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8659 newline inset which *can* get inserted in the pass_thru layouts.
8660 This is primarily for literate documents.
8662 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8664 * buffer.C: increment LYX_FORMAT to 223
8666 2003-03-14 André Pönitz <poenitz@gmx.net>
8668 * textclass.h: prepare for environment handling, ws changes
8669 * lyxlayout.C: read latexheader and latexfooter tags
8671 2003-03-14 John Levon <levon@movementarian.org>
8673 * text2.C: rewrite ::status() a bit
8675 2003-03-13 John Levon <levon@movementarian.org>
8677 * lyxtext.h: add some docs
8679 2003-03-13 John Levon <levon@movementarian.org>
8684 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8686 2003-03-13 John Levon <levon@movementarian.org>
8688 * text3.C: fix appendix redrawing
8690 2003-03-13 John Levon <levon@movementarian.org>
8692 * text.C (setHeightOfRow):
8694 * rowpainter.C: make appendix mark have the text
8695 "Appendix" so the user knows what it is
8698 * LColor.C: s/appendixline/appendix/ from above
8700 2003-03-13 John Levon <levon@movementarian.org>
8702 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8704 * text.C: fix a getChar(pos) bug properly
8706 2003-03-13 Angus Leeming <leeming@lyx.org>
8709 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8710 Probably only temporary. Let's see how things pan out.
8712 * BufferView.C (unlockInset):
8713 * BufferView_pimpl.C (fitCursor):
8714 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8716 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8717 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8719 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8720 new functions that convert ParagraphParameters to and from a string.
8722 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8723 BufferView::Pimpl's dispatch.
8724 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8726 2003-03-13 André Pönitz <poenitz@gmx.net>
8730 * factory.C: make it aware of InsetEnv
8732 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8734 * text2.C (setCursor): never ask for one past last
8735 (setCursor): add some debugging messages.
8737 * text.C (singleWidth): never ask for one past last
8738 (singleWidth): ditto
8740 (rightMargin): ditto
8741 (rowBreakPoint): ditto
8742 (setHeightOfRow): ditto
8743 (prepareToPrint): ditto
8745 * rowpainter.C (paintBackground): never ask for one past last
8746 (paintText): never ask for one past last
8748 * paragraph_pimpl.C (getChar): make the assert stricter, never
8749 allow the one past last pos to be taken
8751 * paragraph.C (getChar): ws changes only
8753 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8754 (numberOfSeparators): ditto
8755 (numberOfHfills): ditto
8757 2003-03-12 John Levon <levon@movementarian.org>
8763 * paragraph_funcs.C: fix per-buffer authorlists
8765 2003-03-12 John Levon <levon@movementarian.org>
8767 * text.C: fix newline in right address
8769 2003-03-12 Angus Leeming <leeming@lyx.org>
8771 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8772 duplicate those in LyXFunc::dispatch.
8776 * ToolbarDefaults.C:
8777 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8778 Add LFUN_FONTFREE_UPDATE.
8780 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8781 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8783 * bufferview_func.[Ch]: several new functions to facilliate
8784 transfer of data to and from the character dialog.
8786 2003-03-12 John Levon <levon@movementarian.org>
8791 * paragraph_funcs.C:
8792 * paragraph_pimpl.C:
8796 * text3.C: remove META_NEWLINE in favour of an inset
8799 * rowpainter.C: remove paintNewline (done by inset)
8801 2003-03-12 John Levon <levon@movementarian.org>
8803 * paragraph_pimpl.C: complain about bad getChar()s
8804 for a while at least
8806 2003-03-12 John Levon <levon@movementarian.org>
8809 * buffer.C: move paragraph read into a separate function,
8810 a little renaming to reflect that.
8813 * bufferparams.C: remove the author_ids map, not necessary now
8816 * factory.C: moved Buffer::readInset to here
8818 * paragraph_funcs.h:
8819 * paragraph_funcs.C: readParagraph free function moved from
8822 * tabular.C: name change
8824 2003-03-12 John Levon <levon@movementarian.org>
8827 * ParagraphParameters.C: move par params input to
8830 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8831 behave like a normal read from the stream wrt reading
8832 a line vs. a \\token
8834 2003-03-12 John Levon <levon@movementarian.org>
8837 * ParagraphParameters.h:
8838 * ParagraphParameters.C: move output code to a
8841 2003-03-12 John Levon <levon@movementarian.org>
8843 * BufferView.C (insertLyXFile):
8846 * tabular.C: use a parlist iterator for creating the
8849 2003-03-12 John Levon <levon@movementarian.org>
8851 * buffer.C: make current_change static local not
8854 2003-03-12 John Levon <levon@movementarian.org>
8856 * buffer.C: fix insertStringAsLines for change tracking
8858 2003-03-12 John Levon <levon@movementarian.org>
8865 * bufferparams.C: move author list into params. Rename some
8866 functions. Move the header reading into a separate token
8867 loop. Move the header token reading into BufferParams.
8869 2003-03-12 John Levon <levon@movementarian.org>
8871 * changes.C: put debug inside lyxerr.debugging() checks
8873 2003-03-11 André Pönitz <poenitz@gmx.net>
8875 * factory.C: make it aware of InsetHFill
8877 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8879 * buffer.C (latexParagraphs): move function from here...
8880 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8883 2003-03-10 Angus Leeming <leeming@lyx.org>
8885 * LyXAction.C (init): fix bug in poplating array with multiple entries
8886 with the same LFUN (spotted by JMarc).
8888 2003-03-10 John Levon <levon@movementarian.org>
8891 * text2.C: move getColumnNearX() near its
8894 2003-03-10 John Levon <levon@movementarian.org>
8896 * text.C: fix break before a minipage
8898 2003-03-10 John Levon <levon@movementarian.org>
8900 * text.C: fix the last commit
8902 2003-03-09 John Levon <levon@movementarian.org>
8906 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8907 bug 365 (don't break before insets unless needed). Don't
8908 return a value > last under any circumstances.
8910 2003-03-09 Angus Leeming <leeming@lyx.org>
8912 * BufferView_pimpl.C (trackChanges, dispatch): call
8913 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8915 2003-03-09 Angus Leeming <leeming@lyx.org>
8917 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8918 than Dialogs::showAboutlyx().
8920 2003-03-09 Angus Leeming <leeming@lyx.org>
8922 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8923 than Dialogs::showTabularCreate().
8925 2003-03-09 John Levon <levon@movementarian.org>
8929 * text2.C: 3rd arg to nextBreakPoint was always the same.
8932 2003-03-08 John Levon <levon@movementarian.org>
8939 * text2.C: Remove the "main" bit from the "main body"
8942 2003-03-08 John Levon <levon@movementarian.org>
8944 * text.C (leftMargin): The left margin of an empty
8945 manual label paragraph should not include the label width
8948 * text.C (prepareToPrint): don't attempt to measure hfills
8949 for empty manual label paragraphs - the answer should be 0
8951 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8953 * CutAndPaste.C: remove commented code and reindent.
8955 2003-03-08 John Levon <levon@movementarian.org>
8958 * lyxfunc.C: move reloadBuffer()
8961 * BufferView.C: to here
8963 * lyxvc.C: add comment
8966 * vc-backend.C: call bv->reload() to avoid
8967 getStatus() check on MENURELOAD
8969 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8971 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8972 to an old format .dep file.
8974 2003-03-07 Angus Leeming <leeming@lyx.org>
8976 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8977 when the LFUN_MOUSE_RELEASE should have been handled by
8978 inset->localDispatch.
8980 2003-03-07 Angus Leeming <leeming@lyx.org>
8982 * BufferView_pimpl.C (dispatch):
8983 * LyXAction.C (init):
8984 * ToolbarDefaults.C (init):
8986 * lyxfunc.C (getStatus):
8987 remove LFUN_INSET_GRAPHICS.
8989 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8991 2003-03-07 Angus Leeming <leeming@lyx.org>
8994 * LyXAction.C (init):
8995 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8997 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9000 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9002 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9003 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9005 2003-03-07 Angus Leeming <leeming@lyx.org>
9007 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9010 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9012 * ParagraphList.C (front): new function
9015 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9017 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9018 and top_row_offset_. removed var first_y.
9020 * text2.C (LyXText, removeRow):
9022 * BufferView_pimpl.C:
9023 use these methods instead of using first_y
9025 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9027 * text2.C (pasteSelection): adjust for checkPastePossible
9029 * CutAndPaste.C: remove Paragraph * buf and replace with
9030 ParagraphList paragraphs.
9031 (DeleteBuffer): delete
9032 (cutSelection): change the tc type to textclass_type
9033 (copySelection): change the tc type to textclass_type
9034 (copySelection): adjust for ParagraphList
9035 (pasteSelection): change the tc type to textclass_type
9036 (pasteSelection): adjust for Paragraphlist
9037 (nrOfParagraphs): simplify for ParagraphList
9038 (checkPastePossible): simplify for ParagraphList
9039 (checkPastePossible): remove unused arg
9041 * ParagraphList.C (insert): handle the case where there are no
9044 * CutAndPaste.h: make CutAndPaste a namespace.
9046 * text3.C (dispatch): adjust
9048 * text.C (breakParagraph): add a ParagraphList as arg
9050 * paragraph_funcs.C (breakParagraph): change to take a
9051 BufferParams and a ParagraphList as args.
9052 (breakParagraphConservative): ditto
9053 (mergeParagraph): ditto
9054 (TeXDeeper): add a ParagraphList arg
9055 (TeXEnvironment): ditto
9058 * buffer.C (readLyXformat2): adjust
9059 (insertStringAsLines): adjust
9060 (latexParagraphs): adjust
9062 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9063 (cutSelection): adjust
9064 (pasteSelection): adjust
9066 * BufferView_pimpl.C (insertInset): adjust
9068 2003-03-05 Angus Leeming <leeming@lyx.org>
9071 * LyXAction.C (init):
9072 * BufferView_pimpl.C (dispatch):
9073 * lyxfunc.C (getStatus):
9074 remove LFUN_CHILD_INSERT.
9076 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9078 2003-03-05 Angus Leeming <leeming@lyx.org>
9081 * LyXAction.C (init):
9082 * src/factory.C (createInset):
9083 * lyxfunc.C (getStatus):
9084 * text3.C (dispatch):
9085 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9087 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9089 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9091 * ParagraphList.C (insert): handle insert right before end()
9092 (erase): fix cases where it can be first or last paragraph.
9094 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9096 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9097 Paragraph::next and Paragraph::previous
9100 * text.C (breakParagraph): adjust
9102 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9103 BufferParams& as arg.
9104 (breakParagraph): use ParagraphList::insert
9105 (breakParagraphConservative): take a Buffer* instead of a
9106 BufferParams& as arg.
9107 (breakParagraphConservative): use ParagraphList::insert.
9109 * buffer.C (insertStringAsLines): un-const it
9110 (insertStringAsLines): adjust
9112 * ParagraphList.C (insert): new function
9114 * CutAndPaste.C (pasteSelection): adjust
9116 * text.C (backspace): adjust
9118 * tabular.C (SetMultiColumn): adjust
9120 * CutAndPaste.C (cutSelection): adjust
9121 (pasteSelection): adjust
9123 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9124 Buffer const * as arg
9126 * ParagraphList.C (erase): new function
9127 * paragraph_funcs.C (mergeParagraph): use it
9128 (mergeParagraph): make it take a Buffer* instead of a
9129 BufferParams* as arg
9131 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9133 (breakParagraphConservative): ditto
9135 * paragraph.h: remove the breakParagraph friend
9137 * paragraph.C (eraseIntern): new function
9138 (setChange): new function
9140 * paragraph_funcs.C (mergeParagraph): make it take a
9141 ParagraphList::iterator instead of a Paragraph *, adjust
9144 * paragraph.h: move an #endif so that the change tracking stuff
9145 also works in the NO_NEXT case.
9147 2003-03-04 Angus Leeming <leeming@lyx.org>
9150 * LyXAction.C: new LFUN_INSET_MODIFY.
9152 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9153 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9155 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9157 * several files: ws changes only
9159 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9160 (TeXEnvironment): ditto
9163 * buffer.C (makeLaTeXFile): adjust
9164 (latexParagraphs): make it take ParagraphList::iterator as args
9166 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9168 * buffer.C (latexParagraphs): adjust
9170 * paragraph.C (TeXOnePar): move function...
9171 (optArgInset): move function...
9172 (TeXEnvironment): move function...
9173 * paragraph_pimpl.C (TeXDeeper): move function...
9174 * paragraph_funcs.C: ...here
9176 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9178 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9180 * buffer.C (readInset): remove compability code for old Figure and
9183 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9185 * buffer.C: ws changes
9188 * BufferView_pimpl.C: ditto
9191 * bufferlist.h: ditto
9195 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9197 * converter.[Ch]: split into itself +
9200 * Makefile.am: += graph.[Ch] + format.[Ch]
9207 * lyxrc.C: added #include "format.h"
9209 2003-02-27 Angus Leeming <leeming@lyx.org>
9211 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9214 * factory.C (createInset): add "label" to the factory.
9216 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9217 string and do no more.
9219 2003-02-27 Angus Leeming <leeming@lyx.org>
9222 * LyXAction.C (init):
9223 * factory.C (createInset):
9224 * BufferView_pimpl.C (dispatch):
9225 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9227 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9229 * lyxfunc.C (dispatch):
9230 * text3.C (dispatch): pass name to params2string.
9232 2003-02-26 Angus Leeming <leeming@lyx.org>
9234 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9236 Rearrange the ~includes. Strip out the unnecessary ones.
9238 * factory.C (createInset): reformat.
9239 create new insets for the various LFUN_XYZ_APPLY lfuns.
9241 2003-02-26 John Levon <levon@movementarian.org>
9244 * lyxrow.C: add isParStart,isParEnd helpers
9246 * paragraph.h: make isInserted/DeletedText take refs
9248 * paragraph_funcs.h:
9249 * paragraph_funcs.C: remove #if 0'd code
9254 * text.C: use lyxrow helpers above.
9255 Move draw and paint routines to RowPainter.
9256 Make several methods use refs not pointers.
9257 Make backgroundColor() const.
9258 Add markChangeInDraw(), isInInset().
9259 Merge changeRegionCase into changeCase.
9260 Make workWidth() shouldn't-happen code into an Assert.
9263 * rowpainter.C: new class for painting a row.
9266 * vspace.C: make inPixels take a ref
9268 2003-02-26 Angus Leeming <leeming@lyx.org>
9270 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9273 2003-02-25 John Levon <levon@movementarian.org>
9275 * ispell.C: give the forked command a more accurate name
9277 2003-02-22 John Levon <levon@movementarian.org>
9280 * toc.C: make TocItem store an id not a Paragraph *
9283 2003-02-21 Angus Leeming <leeming@lyx.org>
9285 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9286 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9287 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9288 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9289 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9290 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9292 * BufferView_pimpl.C (dispatch):
9293 * LyXAction.C (init):
9294 * factory.C (createInset):
9295 * lyxfunc.C (getStatus, dispatch):
9296 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9298 2003-02-21 Angus Leeming <leeming@lyx.org>
9300 * BufferView_pimpl.C (MenuInsertLyXFile):
9301 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9302 * lyxfunc.C (menuNew, open, doImport):
9303 no longer pass a LyXView & to fileDlg.
9305 2003-02-21 Angus Leeming <leeming@lyx.org>
9307 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9308 * LyXAction.C: change, BIBKEY to BIBITEM.
9309 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9310 Change InsetBibKey to InsetBibitem.
9311 Change BIBKEY_CODE to BIBITEM_CODE.
9312 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9313 * factory.C: replace insetbib.h with insetbibitem.h.
9314 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9315 * paragraph.C: replace insetbib.h with insetbibitem.h.
9316 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9317 Change bibkey() to bibitem().
9318 * text.C: remove insetbib.h.
9319 * text2.C: replace insetbib.h with insetbibitem.h.
9320 change bibkey() to bibitem().
9321 * text3.C: remove insetbib.h.
9322 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9324 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9326 * lyxrc.C (output): enclose user email in quotes (in case there are
9329 2003-02-18 John Levon <levon@movementarian.org>
9331 * buffer.h: add std::
9333 2003-02-17 John Levon <levon@movementarian.org>
9339 * pspell.C: reworking. Especially in ispell, a large
9340 number of clean ups and bug fixes.
9342 * lyxfunc.C: fix revert to behave sensibly
9344 2003-02-17 André Pönitz <poenitz@gmx.net>
9347 * commandtags.h: new LFUN_INSERT_BIBKEY
9357 * paragraph_func.C: remove special bibkey handling
9359 2003-02-17 John Levon <levon@movementarian.org>
9361 * text.C (Delete): fix case where delete at the end of
9362 the very first paragraph would not merge the pars
9364 2003-02-17 John Levon <levon@movementarian.org>
9366 * lyxrow.C: fix lastPrintablePos()
9368 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9370 * bufferparams.C (writeLaTeX): add a std:here
9372 * buffer.C: and remove a using directive there
9374 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9376 * buffer.C (makeLaTeXFile): move the code that generates the
9379 * bufferparams.C (writeLaTeX): ... in this new method
9381 * LaTeXFeatures.C (getEncodingSet): make const
9382 (getLanguages): make const
9384 * MenuBackend.C (binding): returns the binding associated to this
9386 (add): sets the status of each item by calling getStatus. Adds
9388 (read): add support for OptSubMenu
9389 (expand): remove extra separator at the end of expanded menu
9391 2003-02-15 John Levon <levon@movementarian.org>
9394 * BufferView_pimpl.C:
9396 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9397 inset code that had no actual effect. Remove unneeded status
9400 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9402 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9405 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9407 * text.C (drawLengthMarker): also draw an arrow marker for
9408 symbolic lengths (medskip...)
9410 2003-02-14 John Levon <levon@movementarian.org>
9413 * tabular.C: better method names
9415 2003-02-14 John Levon <levon@movementarian.org>
9417 * BufferView_pimpl.C:
9422 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9423 it's a more accurate name. Remove some pointless uses.
9425 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9427 * text2.C (LyXText): change order of initilizers to shut off
9430 2003-02-14 John Levon <levon@movementarian.org>
9432 * buffer.C: use ParIterator for getParFromID()
9436 * paragraph_pimpl.h:
9437 * paragraph_pimpl.C: remove unused getParFromID()
9439 2003-02-14 John Levon <levon@movementarian.org>
9441 * buffer.C: remove some very old #if 0'd parse code
9443 2003-02-13 John Levon <levon@movementarian.org>
9447 * text2.C: move hfillExpansion(), numberOfSeparators(),
9448 rowLast(), rowLastPrintable(), numberofHfills(),
9449 numberOfLabelHfills() ...
9452 * lyxrow.C: ... to member functions here.
9457 * text.C: remove LyXText::beginningOfMainBody(), and call
9458 p->beginningOfMainBody() directly. Move the check for
9459 LABEL_MANUAL into the latter.
9466 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9472 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9473 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9475 2003-02-13 John Levon <levon@movementarian.org>
9477 * CutAndPaste.C: remove debug
9479 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9481 * paragraph.C (asString): remove two unused variables
9483 * lyxtextclass.C (readTitleType):
9485 (LyXTextClass): handle new members titletype_ and titlename_
9487 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9489 2003-02-09 John Levon <levon@movementarian.org>
9492 * buffer.C: replace hand-coded list with a map for the dep clean
9494 2003-02-08 John Levon <levon@movementarian.org>
9496 * LaTeX.C: consolidate code into showRunMessage() helper
9498 2003-02-08 John Levon <levon@movementarian.org>
9503 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9504 and pass the size in explicitly
9506 * BufferView_pimpl.h:
9507 * BufferView_pimpl.C:
9509 * BufferView.C: add getCurrentChange()
9511 * BufferView_pimpl.h:
9512 * BufferView_pimpl.C: handle change lfuns
9514 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9515 for changes. Mark pasted paragraphs as new.
9517 * support/lyxtime.h:
9518 * support/lyxtime.C:
9519 * DepTable.C: abstract time_t as lyx::time_type
9522 * LColor.C: add colours for new text, deleted text, changebars
9524 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9525 package use "usenames" option.
9529 * LyXAction.C: add change lfuns
9533 * author.C: author handling
9536 * buffer.C: add a per-buffer author list, with first entry as
9537 current author. Handle new .lyx tokens for change tracking. Output
9538 author list to .lyx file. Output dvipost stuff to .tex preamble.
9539 Bump lyx format to 222.
9542 * bufferlist.C: add setCurrentAuthor() to reset current author details
9546 * bufferparams.C: add param for tracking
9548 * bufferview_funcs.C: output change info in minibuffer
9552 * changes.C: add change-tracking structure
9555 * debug.C: add CHANGES debug flag
9558 * lyxfind.C: add code for finding the next change piece
9561 * lyxrc.C: add user_name and user_email
9564 * lyxrow.C: add a metric for the top of the text line
9567 * text.C: implement accept/rejectChange()
9570 * text.C: paint changebars. Paint new/deleted text in the chosen
9571 colours. Strike through deleted text.
9575 * paragraph_pimpl.h:
9576 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9577 in the current change to the insert functions. Rework erase to
9578 mark text as deleted, adding an eraseIntern() and a range-based
9579 erase(). Implement per-paragraph change lookup and
9582 * paragraph_funcs.C: Fixup paste for change tracking.
9584 * tabular.C: mark added row/columns as new.
9586 * text.C: fix rowLast() to never return -1. Don't allow
9587 spellchecking of deleted text. Track transpose changes. Don't
9588 allow paragraph break or merge where appropriate.
9590 * text2.C: leave cursor at end of selection after a cut.
9592 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9594 * text.C (getLengthMarkerHeight):
9595 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9596 visible on screen too.
9598 2003-02-07 John Levon <levon@movementarian.org>
9600 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9602 2003-02-05 Angus Leeming <leeming@lyx.org>
9604 * lyxserver.C (read_ready): revert my patch of 11 September last year
9605 as it sends PC cpu through the roof. Presumably this means that
9606 the lyxserver will no longer run on an Alpha...
9608 2003-01-30 Angus Leeming <leeming@lyx.org>
9610 * factory.C (createInset): create an InsetCommandParam of type "index"
9611 and use it to 'do the right thing'.
9613 * text2.C (getStringToIndex): ensure that cursor position is always
9614 reset to the reset_cursor position.
9616 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9618 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9621 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9625 * lyxfunc.C: Output messages with identical spelling, punctuation,
9628 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9630 * MenuBackend.C (expandFormats): List only viewable export formats
9633 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9636 * lyxfunc.C (getStatus): Make sure that formats other than
9637 "fax" can also be disabled
9639 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9641 * text3.C (dispatch): put the lfuns that insert insets in 3
9642 groups, and call doInsertInset with appropriate arguments.
9643 (doInsertInset): new function, that creates an inset and inserts
9644 it according to some boolean parameters.
9646 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9648 * buffer.C (readFile): remember to pass on 'par' when calling
9649 readFile recursively.
9651 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9653 * MenuBackend.C (expandFormats): add "..." to import formats.
9655 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9657 * paragraph.C (asString): Remove XForms RTL hacks.
9659 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9660 * buffer.C: fix typo
9662 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9664 * Makefile.am (LIBS): delete var
9665 (lyx_LDADD): add @LIBS@ here instead.
9667 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9669 * Clarify the meaning of "wheel mouse jump"
9671 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9673 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9676 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * importer.C (Loaders): do not preallocate 3 elements in the
9679 vector, since one ends up with 6 elements otherwise
9681 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9683 * DepTable.C (write): write the file name as last element of the
9684 .dep file (because it may contain spaces)
9685 (read): read info in the right order
9687 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9689 * paragraph_pimpl.C (simpleTeXBlanks):
9690 (simpleTeXSpecialChars):
9691 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9693 * tabular.C (latex): add some missing case statements. Reindent.
9695 * MenuBackend.C (expandToc): remove unused variable.
9697 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9706 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9709 2003-01-05 John Levon <levon@movementarian.org>
9712 * BufferView.C: add getEncoding()
9715 * kbsequence.C: do not store last keypress
9718 * lyxfunc.C: store last keypress here instead. Pass encoding
9721 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9723 * lyx_main.C (init): remove annoying error message when following
9724 symbolic links (bug #780)
9726 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9728 * text.C (insertChar):
9729 * lyxrc.C (getDescription): remove extra spaces
9731 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9733 * lyxrc.C (getDescription): remove extra spaces
9735 2002-12-20 John Levon <levon@movementarian.org>
9737 * text3.C: hack fix for page up/down across tall rows
9739 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9741 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9744 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9746 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9747 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9748 thesaurus is not compiled in
9750 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9752 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9754 2002-12-16 Angus Leeming <leeming@lyx.org>
9757 * lyx_main.C (init): remove override_x_deadkeys stuff.
9759 2002-12-12 John Levon <levon@movementarian.org>
9761 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9762 insert. Only remove shift modifier under strict
9765 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9767 * MenuBackend.C (expandToc): fix crash.
9769 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9771 * MenuBackend.C (expandToc): gettext on float names.
9773 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9775 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9776 implement bool empty() [bug 490]
9778 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9780 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9782 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9784 * several files: ws changes
9786 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9788 * text2.C (setCounter): clean up a bit, use boost.format.
9789 (updateCounters): initialize par upon declaration.
9791 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9792 if the layout exists. We do not just store the layout any more.
9793 (SwitchLayoutsBetweenClasses): use boost.format
9795 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9797 * converter.C (convert): if from and to files are the same, use a
9798 temporary files as intermediary
9800 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9803 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9805 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9807 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9809 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9811 * tabular.C (asciiPrintCell): use string(size, char) instead of
9814 * sgml.C (openTag): fix order of arguments to string constructor
9817 * lyxfunc.C (dispatch): use boost.format
9819 * lots of files: change "c" -> 'c'
9821 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9823 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9825 2002-11-25 Angus Leeming <leeming@lyx.org>
9827 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9829 * lyx_main.C (init): compile fix.
9831 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9833 * lyx_cb.C (start): boost.formatify
9834 do not include <iostream>
9836 * lengthcommon.C: ws only
9838 * boost-inst.C,BoostFormat.h: add more explict instantations
9840 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9842 * lots of files: handle USE_BOOST_FORMAT
9844 2002-11-21 John Levon <levon@movementarian.org>
9846 * pspell.C: fix compile
9848 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * lyxfunc.C (dispatch): use boost::format
9854 * lyxfont.C (stateText): use boost::format
9856 * lyx_main.C (LyX): use boost::format
9858 (queryUserLyXDir): ditto
9861 (typedef boost::function): use the recommened syntax.
9863 * importer.C (Import): use boost::format
9865 * debug.C (showLevel): use boost::format
9867 * converter.C (view): use boost::format
9872 * bufferview_funcs.C (currentState): use boost::format
9874 * bufferlist.C (emergencyWrite): use boost::format
9876 * buffer.C (readLyXformat2): use boost::format
9877 (parseSingleLyXformat2Token): ditto
9879 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9881 * LaTeX.C (run): use boost::format
9883 * Chktex.C (scanLogFile): use boost::format
9885 * BufferView_pimpl.C (savePosition): use boost::format
9886 (restorePosition): ditto
9887 (MenuInsertLyXFile): ditto
9889 * BoostFormat.h: help file for explicit instation.
9891 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9893 * tabular.C (latex): Support for block alignment in fixed width
9896 2002-11-17 John Levon <levon@movementarian.org>
9898 * BufferView_pimpl.C:
9900 * lyxfunc.C: split filedialog into open/save
9902 2002-11-08 Juergen Vigna <jug@sad.it>
9904 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9905 by my last patch (hopefully).
9907 2002-11-08 John Levon <levon@movementarian.org>
9916 * toc.C: ParConstIterator, and use it (from Lars)
9918 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9920 * lyxtextclass.[Ch]: revise and add doxygen comments
9922 2002-11-07 John Levon <levon@movementarian.org>
9924 * text.C: fix progress value for spellchecker
9926 * toc.C: fix navigate menu for insetwrap inside minipage
9928 * paragraph_funcs.C: added FIXME for suspect code
9930 2002-11-07 John Levon <levon@movementarian.org>
9932 * BufferView_pimpl.C: fix redrawing of insets
9935 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9937 * text2.C (updateCounters): fix bug 668
9939 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9941 * text3.C (dispatch): Do not make the buffer dirty when moving the
9944 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9946 * vc-backend.C: STRCONV
9949 * text2.C (setCounter): STRCONV
9951 * paragraph.C (asString): STRCONV
9953 * lyxlength.C (asString): STRCONV
9954 (asLatexString): ditto
9956 * lyxgluelength.C (asString): STRCONV
9957 (asLatexString): ditto
9959 * lyxfunc.C (dispatch): STRCONV
9962 * lyxfont.C (stateText): STRCONV
9964 * importer.C (Import): STRCONV
9966 * counters.C (labelItem): STRCONV
9967 (numberLabel): ditto
9968 (numberLabel): remove unused ostringstream o
9973 * bufferview_funcs.C (currentState): STRCONV
9975 * buffer.C (readFile): STRCONV
9976 (asciiParagraph): ditto
9977 (makeLaTeXFile): ditto
9979 * Spacing.C (writeEnvirBegin): STRCONV
9981 * LaTeXFeatures.C (getLanguages): STRCONV
9982 (getPackages): ditto
9984 (getBabelOptions): ditto
9985 (getTClassPreamble): ditto
9986 (getLyXSGMLEntities): ditto
9987 (getIncludedFiles): ditto
9991 (scanAuxFile): ditto
9994 * LString.h: add the STRCONV macros
9996 * BufferView_pimpl.C (savePosition): STRCONV
9997 (restorePosition): ditto
9998 (MenuInsertLyXFile): ditto
10000 * vc-backend.C (scanMaster): change from submatch[...] to
10003 * funcrequest.C: include config.h
10005 * factory.C: include config.h
10007 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10009 * box.C: include config.h
10011 * LaTeX.C (scanAuxFile): change from submatch[...] to
10015 2002-10-25 Angus Leeming <leeming@lyx.org>
10017 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10019 * ispell.[Ch] (setError): new method.
10020 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10021 Use setError() insetead of goto END.
10023 * lyx_cb.C (AutoSave): move out child process into new class
10026 2002-10-30 John Levon <levon@movementarian.org>
10028 * text3.C: make start appendix undoable
10030 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10032 * lyxlength.C (inPixels): Fix returned value.
10034 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10037 2002-10-24 Angus Leeming <leeming@lyx.org>
10039 * lyxgluelength.h: no need to forward declare BufferParams
10040 or BufferView, so don't.
10042 2002-10-21 John Levon <levon@movementarian.org>
10044 * BufferView.C: menuUndo ->undo, redo
10046 * BufferView.h: document, remove dead, make some methods private
10048 * paragraph_funcs.h:
10049 * paragraph_funcs.C:
10050 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10055 * sgml.C: move sgml open/close tag into sgml.C
10057 * bufferview_funcs.h: unused prototype
10060 * lyxfunc.C: remove unused
10063 * text.C: remove unused
10065 2002-10-21 John Levon <levon@movementarian.org>
10069 * BufferView_pimpl.h:
10070 * BufferView_pimpl.C: fix mouse wheel handling based on
10071 patch from Darren Freeman
10073 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10075 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10077 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10079 * lyxlength.C (inPixels): Fix hanfling of negative length.
10080 Fix LyXLength::MU case.
10082 2002-10-16 John Levon <levon@movementarian.org>
10084 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10086 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10088 * converter.C (view): add support for $$i (file name) and $$p
10089 (file path) for the viewer command. If $$i is not specified, then
10090 it is appended to the command (for compatibility with old syntax)
10092 2002-10-14 Juergen Vigna <jug@sad.it>
10094 * undo_funcs.C (textHandleUndo): alter the order in which the
10095 new undopar is added to the LyXText, as we have to set first
10096 the right prev/next and then add it as otherwise the rebuild of
10097 LyXText is not correct. Also reset the cursor to the right paragraph,
10098 with this IMO we could remove the hack in "redoParagraphs()".
10100 2002-10-09 Angus Leeming <leeming@lyx.org>
10102 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10103 to turn off an optimisation if a new inset is to be inserted.
10105 2002-10-11 André Pönitz <poenitz@gmx.net>
10107 * lyxtext.h: make some functions public to allow access
10108 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10110 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10112 * text3.C (dispatch): when changing layout, avoid an infinite loop
10115 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10117 * lyxrc.C (read): treat a viewer or converter command of "none" as
10120 * MenuBackend.C (expandFormats): for an update, also allow the
10121 formats that are not viewable
10123 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10124 script if it is newer than the lyxrc.defaults in user directory
10126 2002-10-07 André Pönitz <poenitz@gmx.net>
10128 * text.C: Vitaly Lipatov's small i18n fix
10130 2002-09-25 Angus Leeming <leeming@lyx.org>
10132 * ispell.h: doxygen fix.
10134 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10136 * buffer.h (readFile): Add a new argument to the method, to allow
10137 reading of old-format templates.
10139 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10141 * toc.C (getTocList): Get TOC from InsetWrap.
10143 2002-09-16 John Levon <levon@movementarian.org>
10145 * lyxfunc.C: check tabular for cut/copy too
10147 2002-09-12 John Levon <levon@movementarian.org>
10149 * LyXAction.C: tidy
10152 * factory.C: add header
10154 * paragraph_funcs.h:
10155 * paragraph_funcs.C: cleanup
10157 2002-09-11 John Levon <levon@movementarian.org>
10159 * PrinterParams.h: odd/even default to true
10161 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10163 * PrinterParams.h: update printer parameters for new xforms dialog
10165 2002-09-11 Angus Leeming <leeming@lyx.org>
10167 * lyxserver.C (read_ready): re-write to make it more transparent
10168 and to make it work in coherent fashion under Tru64 Unix.
10170 2002-09-11 André Pönitz <poenitz@gmx.net>
10174 * text3.C: implement LFUN_WORDSEL
10176 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10178 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10179 make floatlist_ a boost::shared_ptr<FloatList>
10181 * lyxtextclass.C: include FloatList.h
10182 (LyXTextClass): initialize floatlist_
10183 (TextClassTags): add TC_NOFLOAT
10184 (Read): match "nofloat" to TC_NOFLOAT and use it.
10185 (readFloat): modify call to floatlist_
10189 * FloatList.[Ch] (FloatList): remove commented out float
10191 (erase): new function
10193 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10195 * MenuBackend.C (expandToc): fix crash when there is no document
10198 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10200 * many files: Add insetwrap.
10202 2002-09-09 John Levon <levon@movementarian.org>
10204 * text2.C: remove confusing and awkward depth wraparound
10206 2002-09-09 John Levon <levon@movementarian.org>
10208 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10211 * buffer.C: remove getIncludeonlyList()
10214 * lyxfunc.C: remove headers
10216 2002-09-09 Juergen Vigna <jug@sad.it>
10218 * text.C (getColumnNearX): fix form Michael this is most
10219 probably a cut&paste bug.
10221 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10223 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10225 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10226 references, ws changes.
10228 * text2.C (init): update counters after init
10229 (insertParagraph): no need to set counter on idividual paragraphs.
10230 (setCounter): access the counters object in the textclass object
10231 on in the buffer object.
10232 (updateCounters): ditto
10234 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10235 shared_ptr<Counters> to avoid loading counters.h in all
10237 (LyXTextClass): initialize ctrs_
10238 (TextClassTags): add TC_COUNTER, and ...
10239 (Read): use it here.
10240 (CounterTags): new tags
10241 (readCounter): new function
10242 (counters): new funtion
10243 (defaultLayoutName): return a const reference
10245 * counters.C (Counters): remove contructor
10246 (newCounter): remove a couple of unneeded statements.
10247 (newCounter): simplify a bit.
10248 (numberLabel): some small formatting changes.
10250 * buffer.[Ch]: remove all traces of counters, move the Counters
10251 object to the LyXTextClass.
10253 2002-09-06 Alain Castera <castera@in2p3.fr>
10255 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10256 package to set the horizontal alignment on fixed width columns.
10259 * lyx_sty.h: added tabularnewline macro def.
10261 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10263 2002-09-06 John Levon <levon@movementarian.org>
10265 * LyXAction.C: tooltips for sub/superscript
10267 * MenuBackend.C: a bit more verbose
10269 * lyxfunc.C: tiny clean
10271 * undo_funcs.C: document undo_frozen
10273 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10275 * counters.C (Counters): add missing algorithm counter.
10277 * text2.C (setCounter): lookup the counter with layouts latexname
10278 instead of by section number.
10279 (setCounter): use a hackish way to lookup the correct enum
10281 a float name->type change
10282 reset enum couners with counter name directly instead of depth value.
10284 * counters.C (Counters): remove the push_backs, change to use the
10285 float type not the float name.
10286 (labelItem): remove unused string, float name->type change
10288 * counters.h: don't include vector, loose the enums and sects vectors
10290 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10292 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10293 (Read): add float->TC_FLOAT to textclassTags
10294 (Read): and handle it in the switch
10295 (readFloat): new function
10297 * FloatList.C (FloatList): comment out the hardcoded float
10300 * lyxlayout.h: ws change.
10302 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10304 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10306 2002-09-03 Angus Leeming <leeming@lyx.org>
10308 * BufferView_pimpl.h: qualified name is not allowed in member
10309 declaration: WorkArea & Pimpl::workarea() const;
10311 * factory.C: added using std::endl directive.
10313 * text3.C: added using std::find and std::vector directives.
10315 2002-08-29 André Pönitz <poenitz@gmx.net>
10318 * text2.C: remove unused member number_of_rows
10321 * BufferView2.C: remove file, move contents to...
10322 * BufferView.C: ... here
10324 * BufferView_pimpl.C:
10325 * factory.C: move more inset creation to factory
10327 * vspace.C: avoid direct usage of LyXText, ws changes
10330 don't provide direct access to WorkArea, use two simple
10331 acessors haveSelction() and workHeight() instead
10334 2002-08-29 John Levon <levon@movementarian.org>
10336 * BufferView_pimpl.C (dispatch): do not continue when
10339 2002-08-28 André Pönitz <poenitz@gmx.net>
10341 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10344 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10346 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10348 * buffer.C: increment LYX_FORMAT to 221
10350 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10351 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10353 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10355 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10357 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10359 * factory.C (createInset): use LyXTextClass::floats
10361 * MenuBackend.C (expandFloatListInsert):
10362 (expandFloatInsert):
10365 * text2.C (setCounter):
10367 * LaTeXFeatures.C (useFloat):
10368 (getFloatDefinitions):
10370 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10372 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10373 floatlist_, with accessor floats().
10375 * FloatList.h: remove global FloatList
10377 2002-08-26 André Pönitz <poenitz@gmx.net>
10379 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10383 * BufferView_pimpl.C:
10384 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10386 2002-08-25 John Levon <levon@movementarian.org>
10388 * LyXAction.C: fix margin note description
10390 2002-08-24 John Levon <levon@movementarian.org>
10394 * bufferview_funcs.C:
10396 * undo_funcs.C: cleanups
10398 * lyxfunc.C: disable CUT/COPY when no selection
10400 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10402 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10403 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10405 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10406 Add backward compatibility to "mono", "gray" and "no".
10408 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10410 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10411 (and file_format >= 200).
10413 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10415 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10417 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10419 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10421 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10423 * BufferView_pimpl.C:
10430 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10431 inset and code to make it work with the paragraph code. The inset
10432 can be anywhere in the paragraph, but will only do the expected
10433 thing in LaTeX if the layout file contains the parameter line
10435 (or more generally, a nonzero value) for that layout.
10437 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10439 * paragraph.h: remove the declaration of undefined counters class
10442 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10444 * text2.C (setCounter): fixed enumeration mis-count as reported by
10445 Dr. Richard Hawkins.
10447 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10449 * paragraph_funcs.h: remove some unneeded includes
10451 * text.C (backspace): pasteParagraph now in global scipe
10453 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10454 (pasteSelection): ditto
10456 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10457 * paragraph_funcs.C (pasteParagraph): ... here
10459 2002-08-20 André Pönitz <poenitz@gmx.net>
10461 * commandtags.h: new LFUNs for swapping/copying table row/colums
10464 * lyxfunc.C: support for new lfuns
10466 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10469 * buffer.[Ch]: remove NO_COMPABILITY stuff
10471 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10473 * boost.C (throw_exception): new file, with helper function for
10474 boost compiled without exceptions.
10479 * ParameterStruct.h:
10480 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10482 * bufferlist.C (emergencyWriteAll): use boost bind
10484 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10486 * text.C: include paragraph_funcs.h
10487 (breakParagraph): breakParagraph is now in global scope
10489 * paragraph_funcs.[Ch]: new files
10491 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10494 * buffer.C: include paragraph_funcs.h
10495 (insertStringAsLines): breakParagraph is now in global scope
10497 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10500 * CutAndPaste.C: include paragraph_funcs.h
10501 (cutSelection): breakParagraphConservative is now in global scope
10502 (pasteSelection): ditto
10504 * buffer.h: declare oprator== and operator!= for
10505 Buffer::inset_iterator
10507 * bufferlist.C (emergencyWrite): don't use fmt(...)
10509 * text3.C: add using std::endl
10511 * BufferView.C (moveCursorUpdate): remove default arg
10513 2002-08-20 André Pönitz <poenitz@gmx.net>
10515 * buffer.[Ch]: move inline functions to .C
10518 * BufferView_pimpl.C:
10520 * buffer.[Ch]: use improved inset_iterator
10523 * paragraph.[Ch]: write one paragraph at a time
10525 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10527 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10528 style if style is not specified.
10530 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10532 * text2.C (setCounter): when searching for right label for a
10533 caption, make sure to recurse to parent insets (so that a caption
10534 in a minipage in a figure float works) (bug #568)
10536 2002-08-20 André Pönitz <poenitz@gmx.net>
10538 * text3.C: new file for LyXText::dispatch() and helpers
10540 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10542 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10544 2002-08-19 André Pönitz <poenitz@gmx.net>
10547 * text.C: new LyXText::dispatch()
10549 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10551 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10553 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10555 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10558 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10560 * Makefile.am: use $(variables) instead of @substitutions@
10562 2002-08-15 André Pönitz <poenitz@gmx.net>
10565 * BufferView_pimpl.C: streamlining mathed <-> outer world
10569 * LyXAction.C: remove unused LFUN_MATH
10571 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10573 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10575 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10577 * paragraph.C (Paragraph): reformat a bit
10578 (cutIntoMinibuffer): use builtin InsetList function instad of
10582 * buffer.C: include boost/bind.hpp, add using std::for_each
10583 (writeFileAscii): use ParagraphList iterators
10584 (validate): use for_each for validate traversal of paragraphs
10585 (getBibkeyList): use ParagraphList iterators
10586 (resizeInsets): use for_each to resizeInsetsLyXText for all
10588 (getParFromID): use ParagraphList iterators
10590 * BufferView2.C (lockInset): use paragraph list and iterators
10592 2002-08-14 John Levon <levon@movementarian.org>
10594 * lyxserver.C: remove spurious xforms include
10596 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10598 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10600 2002-08-13 André Pönitz <poenitz@gmx.net>
10603 * lyxfunc.C: further cleaning
10605 2002-08-13 André Pönitz <poenitz@gmx.net>
10607 * funcrequest.h: new constructor
10609 * funcrequest.C: move stuff here from .h
10612 * BufferView_pimpl.C:
10615 * lyxfunc.C: subsequent changes
10617 * lyxfunc.h: new view() member function
10619 * lyxfunc.C: subsequent changes
10621 2002-08-13 Angus Leeming <leeming@lyx.org>
10624 * BufferView_pimpl.C:
10632 changes due to the changed LyXView interface that now returns references
10633 to member variables not pointers.
10635 2002-08-13 Angus Leeming <leeming@lyx.org>
10637 * WordLangTuple (word, lang_code): return references to strings,
10642 * lyxtext.h: forward-declare WordLangTuple.
10647 * text.C: #include "WordLangTuple.h".
10650 * text.C: (selectNextWordToSpellcheck): constify return type.
10652 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10658 * paragraph_pimpl.h:
10661 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10662 suggested by Angus.
10663 Made updateCounter always count from start of buffer, and removed
10664 second argument (par).
10665 Reverted floats number display to '#'. Perhaps I'll try again when the
10666 code base is sanitized a bit.
10668 2002-08-12 Angus Leeming <leeming@lyx.org>
10670 * buffer.[Ch] (getLabelList): constify.
10672 2002-08-07 André Pönitz <poenitz@gmx.net>
10674 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10676 * funcrequest.h: extension to keep mouse (x,y) position
10678 2002-08-12 Juergen Vigna <jug@sad.it>
10680 * BufferView2.C (insertErrors): forbid undo when inserting error
10683 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10685 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10687 * ParagraphList.[Ch]: new files
10689 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10691 * BufferView2.C (lockInset): ParagraphList changes
10694 * bufferlist.C: ditto
10698 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10700 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10701 unused class variable counter_,
10703 * paragraph.[Ch] (getFirstCounter): delete unused function
10705 * counters.C: include LAssert.h
10706 (reset): add a new function with no arg, change other version to
10707 not have def. arg and to not allow empty arg.
10709 * text2.C (setCounter): remove empty arg from call to Counters::reset
10711 2002-08-11 John Levon <levon@movementarian.org>
10713 * Makefile.am: add WordLangTuple.h
10715 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10717 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10718 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10720 * insets/insettext.C: InsetList changes
10722 * graphics/GraphicsSupport.C (operator()): InsetList changes
10724 * toc.C (getTocList): InsetList changes
10726 * paragraph_pimpl.[Ch]: InsetList changes
10728 * paragraph.[Ch]: InsetList changes
10730 * buffer.C (inset_iterator): InsetList changes
10731 (setParagraph): ditto
10732 * buffer.h (inset_iterator): ditto
10733 * iterators.C (operator++): ditto
10734 * iterators.h: ditto
10736 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10738 * InsetList.[Ch]: new files, most InsetList handling moved out of
10741 * BufferView2.C (removeAutoInsets): InsetList changes
10743 (ChangeInsets): ditto
10745 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10747 * paragraph_pimpl.h (empty): new function
10749 * paragraph.[Ch] (empty): new function
10751 * other files: use the new Paragraph::empty function
10753 2002-08-09 John Levon <levon@movementarian.org>
10755 * lyxtext.h: remove unused refresh_height
10757 2002-08-09 John Levon <levon@movementarian.org>
10764 * paragraph.C: move sgml char escaping out of paragraph
10767 * paragraph.C: remove id setter
10771 * paragraph_pimpl.C: remove dead tex_code_break_column
10773 * bufferview_funcs.C: small cleanup
10775 * lyxfunc.C: remove dead proto
10777 * lyxtext.h: make some stuff private. Remove some dead stuff.
10779 * lyxgluelength.C: make as[LyX]String() readable
10781 2002-08-08 John Levon <levon@movementarian.org>
10786 * ToolbarDefaults.C:
10789 * toc.C: lyxaction cleanup
10791 2002-08-08 John Levon <levon@movementarian.org>
10793 * BufferView2.C: small cleanup
10796 * lyxfind.C: move unnecessary header into the .C
10798 2002-08-08 John Levon <levon@movementarian.org>
10800 * funcrequest.h: just tedious nonsense
10803 * lyx_main.C: cleanups
10806 * vspace.C: remove dead header lyx_main.h
10808 2002-08-07 Angus Leeming <leeming@lyx.org>
10811 * paragraph_pimpl.h:
10812 Forward declare class Counters in paragraph.h by moving the ctrs member
10813 variable into Paragraph::Pimpl.
10814 (counters): new method, returning a reference to pimpl_->ctrs.
10816 * text2.C: ensuing changes.
10818 2002-08-07 John Levon <levon@movementarian.org>
10820 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10822 * BufferView_pimpl.C: announce X selection on double/triple
10825 * lyx_main.C: use correct bool in batch dispatch
10827 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10829 2002-08-07 André Pönitz <poenitz@gmx.net>
10831 * funcrequest.h: new class to wrap a kb_action and its argument
10834 * BufferView_pimpl[Ch]:
10838 * lyxrc.C: subsequent changes
10841 2002-08-07 John Levon <levon@movementarian.org>
10843 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10844 document options change.
10846 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10851 * makefile.am: move counters functionality over from
10852 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10854 2002-08-06 John Levon <levon@movementarian.org>
10856 * WordLangTuple.h: new file for word + language code tuple
10867 * BufferView2.C: use WordLangTuple
10870 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10872 2002-08-06 John Levon <levon@movementarian.org>
10874 * lyx_main.C: fix cmdline batch handling
10876 2002-08-06 André Pönitz <poenitz@gmx.net>
10878 * lyxrc.C: set default for show_banner to true
10880 2002-08-06 John Levon <levon@movementarian.org>
10882 * pspell.C: fix a crash, and allow new aspell to work
10884 2002-08-06 John Levon <levon@movementarian.org>
10887 * kbmap.C: small cleanup
10890 * vspace.C: add const
10892 2002-08-05 John Levon <levon@movementarian.org>
10894 * LyXAction.C: back to tabular-insert
10896 2002-08-04 John Levon <levon@movementarian.org>
10899 * BufferView.C: cosmetic change
10901 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10911 * BufferView2.C: purge all "Lyx" not "LyX" strings
10914 * lyxcursor.C: attempt to add some documentation
10919 * ToolbarDefaults.C:
10920 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10921 merge with LFUN_TABULAR_INSERT
10928 * pspell.C: split up i/pspell implementations into separate
10929 files, many cleanups
10931 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10933 * text2.C: some cleanup
10935 * lyxfunc.C: don't check for isp_command == "none" any more, it
10936 didn't make any sense
10938 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10943 * makefile.am: move counters functionality over
10944 from text2.C/paragraph.[Ch] to counters.[Ch], and
10946 2002-08-02 John Levon <levon@movementarian.org>
10948 * buffer.C: s/lyxconvert/lyx2lyx/
10950 2002-08-02 Angus Leeming <leeming@lyx.org>
10952 * lyxlex.C: revert John's change as it breaks reading of the user
10955 2002-08-02 Angus Leeming <leeming@lyx.org>
10957 * importer.C (Import):
10958 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10959 changes due to LyXView::view() now returning a boost::shared_ptr.
10961 2002-08-02 John Levon <levon@movementarian.org>
10963 * lyxlex.C: small cleanup
10965 2002-08-02 John Levon <levon@movementarian.org>
10967 * text2.C (status): small cleanup, no logic change
10969 2002-08-01 John Levon <levon@movementarian.org>
10972 * buffer.C (writeFile): don't output alerts, caller
10976 * lyx_cb.C: from above
10978 * lyxfunc.C: allow to open non-existent files
10980 2002-07-31 John Levon <levon@movementarian.org>
10982 * lyxserver.C: don't let incidental errors get
10985 2002-07-30 John Levon <levon@movementarian.org>
10987 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10989 2002-07-30 John Levon <levon@movementarian.org>
10992 * lyxserver.C: remove I/O callback too
10994 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10996 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10999 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11001 * many files: strip,frontStrip -> trim,ltrim,rtrim
11003 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11005 * PrinterParams.h: remove extern containsOnly, and include
11006 support/lstrings.h instead.
11008 * LaTeX.C (scanAuxFile): modify because of strip changes
11010 * buffer.C (makeLaTeXFile): ditto
11011 * bufferparams.C (writeFile): ditt
11012 * lyxfont.C (stateText): ditto
11013 * lyxserver.C (read_ready): ditto
11014 * vc-backend.C (scanMaster): ditto
11016 * BufferView_pimpl.h: ws changes
11018 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11020 2002-07-26 André Pönitz <poenitz@gmx.net>
11022 * kb_sequence.C: remove unnedred usings
11024 2002-07-26 Juergen Vigna <jug@sad.it>
11026 * lyxfind.C (LyXReplace): we have to check better if the returned
11027 text is not of theLockingInset()->getLockingInset().
11029 2002-07-25 Juergen Vigna <jug@sad.it>
11031 * lyxfind.C (LyXReplace): don't replace if we don't get the
11034 * undo_funcs.C (createUndo): remove debugging code.
11036 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11038 * buffer.C (parseSingleLyXformat2Token): Use default placement
11039 when reading old floats.
11041 * FloatList.C (FloatList): Change the default placement of figure
11042 and tables to "tbp".
11044 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11046 * MenuBackend.C: using std::max
11048 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11050 * MenuBackend.C (expandToc):
11051 (expandToc2): code moved from xforms menu frontend. It is now
11052 generic and TOCs are transparent to menu frontends.
11054 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11056 * toc.C (getTocList): protect against buf=0
11058 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11059 Menu as first parameter. Now, this calls itself recursively to
11060 expand a whole tree (this will be useful for TOC handling)
11061 (expandFloatInsert): remove 'wide' version of floats
11063 * MenuBackend.h (submenuname): returns the name of the submenu.
11064 (submenu): returns the submenu itself, provided it has been
11065 created by MenuBackend::expand
11067 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11069 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11070 insets which have noFontChange == true. (bug #172)
11072 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11074 * BufferView_pimpl.C: add connection objects and use them...
11077 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11079 * MenuBackend.C (expandLastfiles):
11082 (expandFloatListInsert):
11083 (expandFloatInsert):
11084 (expand): split expand in parts
11086 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11088 * lyx_gui.C: use lyx_gui::exit()
11090 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11092 * LyXAction.C: show the failing pseudo action
11094 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11096 * buffer.C (readFile): Run the lyxconvert script in order to read
11099 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11103 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11105 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11109 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11111 2002-07-22 Herbert Voss <voss@lyx.org>
11114 * lyxlength.[Ch]: add support for the vertical lengths
11116 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11118 * toc.[Ch]: std:: fixes
11120 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11122 * lyxrc.C: do not include lyx_main.h
11124 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11130 * BufferView2.C: include "lyxlex.h"
11133 * bufferparams.h: do not #include "lyxlex.h"
11135 * lyxtextclasslist.C (Add): remove method
11136 (classlist): renamed to classlist_
11138 * paragraph_pimpl.C:
11142 * bufferview_funcs.C:
11147 * toc.C (getTocList): use BufferParams::getLyXTextClass
11149 * toc.C (getTocList): use InsetFloat::addToToc
11151 * toc.[Ch]: new files, containing helper functions to handle table
11154 * lyxfunc.C (dispatch): no need to remove spaces around command
11156 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11157 first command of the sequence; it is not very clever, but I do not
11158 have a better idea, actually
11160 * LyXAction.C (LookupFunc): make sure to remove space at the
11161 beginning and end of the command
11163 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11165 * MenuBackend.C (getMenubar): new method: return the menubar of
11167 (read): treat differently reading of menu and menubar (in
11168 particular, the menubar has no name now)
11169 (Menu::menubar): remove
11171 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11174 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11176 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11177 a bibitem inset in a RTL paragraph.
11179 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11181 * paragraph_pimpl.C: constify
11183 * BufferView_pimpl.C:
11185 * lyxfunc.C: fix dispatch in a nicer way
11187 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11189 * lyxfunc.C (dispatch):
11190 * BufferView_pimpl.C:
11191 * BufferView_pimpl.h:
11193 * BufferView.h: rename Dispatch() to dispatch()
11195 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11197 * lyxlayout.C (Read): honor DependsOn tag
11199 * lyxlayout.[Ch] (depends_on): new method
11201 * version.C.in: update lyx_docversion
11203 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11205 * paragraph.C (validate): remove from here...
11206 * paragraph_pimpl.C (validate): ... and move here
11207 (isTextAt): make it const
11209 * buffer.C (getLists): ws cleanup
11211 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11213 * language.C (read): Use iso8859-1 encoding in latex_lang
11214 (this prevents LyX from crashing when using iso10646-1 encoding).
11216 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11218 * text2.C (toggleInset): if cursor is inside an inset, close the
11219 inset and leave cursor _after_ it
11221 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11223 * lyxfunc.C: move minibuffer completion handling out of here
11225 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11227 * BufferView_pimpl.C:
11228 * LaTeX.C: fix dispatch calls
11230 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11232 * text.C (drawChars): Fix Arabic text rendering.
11234 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11238 * lyxfunc.C: remove message-push/pop
11242 * lyxfunc.C: rationalise some code by removing verboseDispatch
11243 in favour of a bool argument to dispatch()
11245 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11247 * lyx_main.C (init): make sure to read symlinks as absolute paths
11249 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11252 * lyxfunc.C: no need for commandshortcut to be a member
11254 2002-07-15 André Pönitz <poenitz@gmx.net>
11256 * converter.C: add support for $$s (scripts from lib/scripts dir)
11257 * lyx_main.C: white space
11259 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11263 * lyxrc.C: remove second exit confirmation
11265 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11270 * BufferView_pimpl.h:
11271 * BufferView_pimpl.C:
11272 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11274 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11276 * MenuBackend.C (expand): add numeric shortcuts to document menu
11278 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11280 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11282 * lyxfont.C (setLyXFamily):
11289 * buffer.C (asciiParagraph): use ascii_lowercase
11291 2002-07-15 Mike Fabian <mfabian@suse.de>
11293 * lyxlex_pimpl.C (search_kw):
11294 * lyxlex.C (getLongString):
11295 * converter.h (operator<):
11296 * converter.C (operator<):
11297 * buffer.C (parseSingleLyXformat2Token):
11299 * ToolbarDefaults.C (read):
11300 * MenuBackend.C (checkShortcuts):
11302 * LColor.C (getFromGUIName):
11303 (getFromLyXName): use the compare_ascii_no_case instead of
11304 compare_no_case, because in turkish, 'i' is not the lowercase
11305 version of 'I', and thus turkish locale breaks parsing of tags.
11307 2002-07-16 Angus Leeming <leeming@lyx.org>
11309 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11310 now takes a Buffer const & argument.
11312 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11314 * BufferView.C (resize): check there's a buffer to resize
11316 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11318 * lyxfunc.C: remove dead code
11321 * lyxserver.C: use lyx_guii::set_read_callback
11323 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11325 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11326 an inset in a RTL paragraph.
11328 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11330 * lyxfunc.C: repaint after a font size update
11332 2002-07-15 André Pönitz <poenitz@gmx.net>
11334 * lyxlength.C: inBP should be able to return negative values
11336 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11338 * lyxfunc.C: use lyx_gui::update_fonts()
11340 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11342 * lyxfunc.C: use lyx_gui::update_color()
11344 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11350 * lyxrc.C: remove file->new asks for name option, and let
11351 buffer-new take an argument
11353 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11355 * BufferView_pimpl.C: remove unneeded extra repaint()
11357 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11359 * LyXAction.C: allow command-sequence with NoBuffer
11361 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11363 2002-07-10 Angus Leeming <leeming@lyx.org>
11365 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11367 2002-07-09 Angus Leeming <leeming@lyx.org>
11369 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11371 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11373 * lengthcommon.h: whitespace
11375 * lyxfunc.C: update scrollbar after goto paragraph
11377 * lyxtext.h: factor out page break drawing, and fix it so
11378 page break/added space paints as selected nicely
11380 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11382 * BufferView_pimpl.C: add FIXMEs, clean up a little
11384 2002-07-09 André Pönitz <poenitz@gmx.net>
11386 * lyxfont.[Ch]: support for wasy symbols
11388 2002-07-08 André Pönitz <poenitz@gmx.net>
11390 * BufferView_pimpl.C: apply John's patch for #93.
11392 2002-07-05 Angus Leeming <leeming@lyx.org>
11394 * BufferView_pimpl.C (buffer): generate previews if desired.
11396 * LColor.h: add "preview" to the color enum.
11398 * LColor.C (LColor): add a corresponding entry to the items array.
11400 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11403 2002-07-05 Angus Leeming <leeming@lyx.org>
11405 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11406 The body of the code is now in the method that is passed an ostream &
11407 rather than a file name.
11408 Pass an additional only_preamble parameter, useful for the forthcoming
11411 2002-07-03 André Pönitz <poenitz@gmx.net>
11413 * lyxfunc.C: simplify getStatus() a bit for math stuff
11415 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11417 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11419 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11421 * text.C (changeRegionCase): do not change case of all the
11422 document when region ends at paragraph end (bug #461)
11424 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11426 * paragraph.C (startTeXParParams):
11427 (endTeXParParams): add \protect when necessary
11429 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * BufferView_pimpl.C (workAreaExpose): remove warning
11433 2002-06-27 Angus Leeming <leeming@lyx.org>
11435 * Makefile.am: add lyxlayout_ptr_fwd.h.
11437 2002-06-26 André Pönitz <poenitz@gmx.net>
11439 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11441 2002-06-25 Angus Leeming <leeming@lyx.org>
11443 * lyxfunc.C (dispatch): Comment out the call to
11444 grfx::GCache::changeDisplay. The method no longer exists now that the
11445 pixmap generation part of the graphics loader has been moved into
11448 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11450 * text2.C: layout as layout
11452 * text.C: layout as layout
11454 * tabular.C (OldFormatRead): layout as layout
11456 * paragraph_pimpl.C (TeXDeeper): layout as layout
11457 (realizeFont): layout as layout
11459 * paragraph.C (writeFile): layout as layout
11460 (validate): layout as layout
11461 (getFont): layout as layout
11462 (getLabelFont): layout as layout
11463 (getLayoutFont): layout as layout
11464 (breakParagraph): layout as layout
11465 (stripLeadingSpaces): layout as layout
11466 (getEndLabel): layout as layout
11467 (getMaxDepthAfter): layout as layout
11468 (applyLayout): layout as layout
11469 (TeXOnePar): layout as layout
11470 (simpleTeXOnePar): layout as layout
11471 (TeXEnvironment): layout as layout
11472 (layout): layout as layout
11473 (layout): layout as layout
11475 * lyxtextclass.C (compare_name): new functor to work with
11476 shared_ptr, layout as layout
11477 (Read): layout as layout
11478 (hasLayout): layout as layout
11479 (operator): layout as layout
11480 (delete_layout): layout as layout
11481 (defaultLayout): layout as layout
11483 * lyxlayout_ptr_fwd.h: new file
11485 * lyxlayout.C (Read): layout as layout
11487 * lyx_cb.C (MenuInsertLabel): layout as layout
11489 * bufferlist.C (newFile): layout as layout
11491 * buffer.C (readLyXformat2): layout as layout
11492 (parseSingleLyXformat2Token): layout as layout
11493 (insertStringAsLines): layout as layout
11494 (asciiParagraph): layout as layout
11495 (latexParagraphs): layout as layout
11496 (makeLinuxDocFile): layout as layout
11497 (simpleLinuxDocOnePar): layout as layout
11498 (makeDocBookFile): layout as layout
11499 (simpleDocBookOnePar): layout as layout
11500 (getLists): layout as layout
11502 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11504 * CutAndPaste.C (cutSelection): layout as layout
11505 (pasteSelection): layout as layout
11506 (SwitchLayoutsBetweenClasses): layout as layout
11508 * BufferView_pimpl.C (Dispatch): layout as layout
11509 (smartQuote): layout as layout
11511 * BufferView2.C (unlockInset): layout as layout
11513 2002-06-24 André Pönitz <poenitz@gmx.net>
11515 * lyxfunc.C: fix #487
11517 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11521 * lyxfunc.C: remove display_shortcuts, show_banner
11523 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11525 * Buffer_pimpl.C: oops, update on resize
11527 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11534 * BufferView.C: use repaint()
11536 * BufferView_pimpl.h:
11537 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11538 as it's a clearer description. Remove superfluous
11541 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11543 * text.C: fix bug 488. Not ideal, but getting
11544 getWord() to work properly for the insets that
11545 matter is more difficult ...
11547 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11549 * BufferView_pimpl.C:
11552 * lyxfunc.C: remove the six million index lyxfuncs to just
11553 one, and DTRT (bug 458)
11555 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11559 * BufferView_pimpl.h:
11560 * BufferView_pimpl.C: clean up resize() stuff,
11561 and unnecessary updateScreen()s
11563 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11567 * BufferView_pimpl.h:
11568 * BufferView_pimpl.C:
11571 * minibuffer.C: remove focus management of workarea,
11572 not needed. Use screen's greyOut()
11574 2002-06-17 Herbert Voss <voss@lyx.org>
11576 * converter.C: (convert) do not post a message, when converting
11577 fails, let the calling function decide what to do in this case
11579 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11581 * lyxfunc.C: tidy up a little
11583 2002-06-16 <alstrup@diku.dk>
11585 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11586 Got rid of FORMS_H_LOCATION include. Now we are
11589 2002-06-15 LyX Development team <lyx@rilke>
11591 * buffer.[Ch] (sgmlOpenTag):
11592 (sgmlCloseTag): Added support for avoiding pernicious mixed
11593 content. Return number of lines written.
11595 (makeLinuxDocFile):
11596 (makeDocBookFile): Fixed calls to sgml*Tag.
11597 Simple white space clean.
11599 (simpleDocBookOnePar): Simple white space clean.
11601 * tabular.[Ch] (docBook): Renamed to docbook and got another
11602 argument to related with the pernicious mixed content.
11604 (docbookRow): Fixed calls for docbook inset method.
11606 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11608 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11609 so it's X11 independent.
11613 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11615 2002-06-15 Lyx Development team <lyx@electronia>
11617 * intl.h: Renamed getTrans to getTransManager.
11619 2002-06-14 Angus Leeming <leeming@lyx.org>
11621 * Makefile.am: nuke forgotten stl_string_fwd.h.
11623 2002-06-12 Angus Leeming <leeming@lyx.org>
11625 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11627 2002-06-13 Angus Leeming <leeming@lyx.org>
11630 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11632 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11634 * kbmap.C (getiso): add support for cyrillic and greek
11636 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11640 * BufferView_pimpl.h:
11641 * BufferView_pimpl.C: move bogus scrolling logic
11644 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11647 * BufferView_pimpl.C: view->resize() change
11649 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11651 * BufferView_pimpl.C: topCursorVisible
11654 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11658 * lyx_gui.C: move to frontends/
11662 * lyx_main.C: changes from above
11664 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11671 * lyx_main.C: minor tidy
11673 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11675 * BufferView_pimpl.h:
11676 * BufferView_pimpl.C:
11678 * BufferView.C: make painter() const,
11681 * BufferView2.C: use screen() accessor
11684 * lyx_main.C: some minor cleanup
11686 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11688 * BufferView_pimpl.h:
11689 * BufferView_pimpl.C: remove enter/leaveView,
11692 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11697 * BufferView_pimpl.h:
11698 * BufferView_pimpl.C: only construct screen once,
11701 * lyxrc.C: remove pointless comment
11703 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11706 * BufferView.C: remove active() and belowMouse()
11708 * BufferView_pimpl.h:
11709 * BufferView_pimpl.C: use workarea() not workarea_,
11710 and make it use a scoped_ptr instead
11712 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11714 * lyx_gui.C: add debug message on BadWindow
11716 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11718 * sp_spell.C: fdopen is not part of the C++ standard.
11720 * paragraph.C (InsetIterator): use >= instead of ==
11722 2002-06-07 Angus Leeming <leeming@lyx.org>
11724 Fixes needed to compile with Compaq cxx 6.5.
11725 * BufferView_pimpl.C:
11732 * lyxtextclasslist.C:
11737 all c-library variables have been moved into namespace std. Wrap
11738 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11743 Add a using std::abs declaration.
11745 * kbmap.h (modifier_pair):
11746 * paragraph.h (InsetTable, InsetList):
11747 * lyxfont.h (FontBits):
11748 type definition made public.
11750 * bufferlist.C (emergencyWriteAll): the compiler complains that
11751 there is more than one possible lyx::class_fun template to choose from.
11752 I re-named the void specialisation as lyx::void_class_fun.
11754 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11756 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11757 the compiler is is unable to find tostr in write_attribute.
11759 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11761 * buffer.C (sgmlError): hide #warning
11763 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11765 * xtl/*: get rid of xtl, which is not in use anyway
11767 * LyXAction.C (init):
11768 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11769 were unimplemented xtl experimentation
11771 2002-06-04 André Pönitz <poenitz@gmx.net>
11773 * lyxfunc.C: disable array operation on simple formulae
11775 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11777 * converter.C: constify a bit
11779 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11781 * lyx_gui.C: check xforms version correctly
11783 2002-04-30 Herbert Voss <voss@lyx.org>
11785 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11788 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11790 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11791 attempt to register it with a VCS)
11793 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11795 * lyx_main.C (init): honor variables LYX_DIR_13x and
11798 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11802 * lyx_main.C: fix a crash on bad command line,
11803 and give a useful exit status on error
11805 * lyxfunc.C (doImport): allow -i lyx to work
11807 2002-03-30 André Pönitz <poenitz@gmx.net>
11809 * lyxfunc.C: mathed font changes
11811 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11826 * trans_mgr.h: srcdocs, and some minor cleanups
11828 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11830 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11831 call getFont all the time)
11833 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11835 * switch from SigC signals to boost::signals
11837 2002-05-29 André Pönitz <poenitz@gmx.net>
11839 * paragraph_pimpl.C (getChar): don't call size() too often...
11841 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11843 * paragraph_pimpl.C (insertChar): do not try to update tables when
11844 appending (pos == size())
11846 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11847 in order to reduce drastically the number of comparisons needed to
11848 parse a large document
11850 2002-05-29 André Pönitz <poenitz@gmx.net>
11856 * textclasslist.[Ch]:
11857 * sp_ispell.h: whitespace change
11859 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11861 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11862 lyxaction directly now.
11864 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11868 * lyxvc.C: remove unused headers
11870 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11877 * undo_funcs.C: some cleanups. Use shared_ptr
11878 and a template for the undo stacks.
11880 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11882 * BufferView_pimpl.h:
11883 * BufferView_pimpl.C:
11890 * text2.C: use key_state/mouse_state
11892 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11894 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11897 * chset.C: change include order
11898 (loadFile): use boost regex and get rid of LRegex and LSubstring
11900 * Makefile.am (BOOST_LIBS): new variable
11901 (lyx_LDADD): use it
11903 * LaTeX.C: change include order.
11904 (scanAuxFile): use boost regex and get rid of LRegex and
11908 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11913 * FontInfo.C: moved to frontends/xforms/
11916 * FontLoader.C: moved into frontends for GUIIzation
11921 * lyxfunc.C: changes from above
11923 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11925 * LColor.C: remove spurious X include
11927 * BufferView_pimpl.C:
11932 * text2.C: move font metrics to frontends/
11934 2002-05-24 Juergen Vigna <jug@sad.it>
11936 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11937 setting the undo_cursor.
11939 * ParagraphParameters.h: include local includes first.
11941 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11943 * BufferView_pimpl.C:
11944 * BufferView_pimpl.h:
11948 * screen.C: move WorkArea into frontends/
11954 * BufferView2.C: move LyXScreen into frontends/
11958 * lyx_gui.C: move lyxlookup into frontends/xforms/
11960 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11963 * BufferView_pimpl.C:
11973 * bufferview_funcs.C:
11986 * vc-backend.C: move LyX/XFormsView into frontends/
11988 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12000 * text2.C: move Painter to frontends/
12002 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12004 * buffer.C: comment out some some code that depend upon lyx_format
12007 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12008 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12010 * buffer.h (NO_COMPABILITY): turn off compability
12012 * ColorHandler.C: include scoped_array.hpp
12014 * font.C: Use more specific smart_ptr header.
12017 * ShareContainer.h: ditto
12018 * lyx_main.h: ditto
12020 * FontInfo.h: ditto
12021 * BufferView_pimpl.h: ditto
12022 * ColorHandler.h: ditto
12024 * kbmap.C (defkey): change call to shared_ptr::reset
12026 2002-05-21 Juergen Vigna <jug@sad.it>
12028 * buffer.C (insertErtContents): fix to insert ert asis if it is
12029 non empty. Skip it completely if it contains only whitespaces.
12031 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12033 * BufferView_pimpl.C:
12034 * BufferView2.C: clear selection on paste (bug 393)
12036 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12038 * DepTable.C: include ctime
12040 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12042 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12044 2002-05-14 Juergen Vigna <jug@sad.it>
12046 * text.C (breakParagraph): fixed function to honor the keepempty
12047 layout in the right maner and also to permit the right breaking
12048 algorithm on empty or non empyt keepempty paragraphs.
12050 * paragraph.C (breakParagraph): we have to check also if the par
12051 is really empty (!size()) for isempty otherwise we do the wrong
12054 2002-05-10 Juergen Vigna <jug@sad.it>
12056 * buffer.[Ch] : The following are only changes to the ert
12057 compatibility read reading old LaTeX layout and font stuff and
12058 convert it to ERTInsets.
12060 * buffer.h: added isErtInset().
12062 * buffer.C (struct ErtComp): add a fromlayout bool to check
12063 if we're inside a LaTeX layout.
12064 (isErtInset): new helper function.
12065 (insertErtContents): look for other ert insets before this one
12066 and insert the contents there, so that we don't have subsequent
12067 ERT insets with nothing between them. This way we create only one
12068 inset with multiple paragraphs. Also check if we don't insert only
12069 spaces ' ' as they are ignored anyway afterwards in the .tex file
12070 so if we have only spaces we will ignore this latex part in the
12072 (parseSingleLyXformat2Token \\layout): better compatibility when
12073 reading layout-latex stuff.
12074 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12076 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12077 stuff after reading the inset only get the information back from
12080 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12082 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12084 * LaTeXFeatures.C (getBabelOptions): New method.
12086 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12088 * BufferView_pimpl.C (Dispatch): work around missing argument for
12091 2002-05-08 Juergen Vigna <jug@sad.it>
12093 * text.C (leftMargin): handle paragraph leftindent.
12095 * paragraph.C (writeFile): write the new \\leftindent tag.
12096 (validate): handle leftindent code.
12097 (TeXEnvironment): handle paragraphleftindent code again.
12099 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12101 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12102 for paragrap_extra indent code and new token \\leftindent.
12103 (latexParagraphs): handle the leftindent as environment.
12105 * ParameterStruct.h: added leftindent support.
12107 * ParagraphParameters.C (leftIndent): added support functions for
12108 the paragraph left indent.
12110 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12113 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12115 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12118 * text.C (computeBidiTables): No bidi in insetERT.
12120 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12123 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12125 * version.C.in: pre 5
12127 2002-05-02 José Matos <jamatos@fep.up.pt>
12128 * buffer.C (makeDocBookFile): white space changes, add newline to
12130 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12132 * tabular.C (docBook): fix typo.
12134 2002-05-03 Juergen Vigna <jug@sad.it>
12136 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12137 change in LyXText as we can not be sure it was not freed.
12138 (drawOneRow): remove unused code.
12140 * text.C (drawInset): redo the calculation of the need_break_row as
12141 it could have a row which was already freed.
12142 (draw): look at the return value of drawInset and return false if
12143 it also returned false.
12144 (paintRowText): look at the return value of draw and return false if
12145 it also returned false.
12147 * lyxtext.h: added bool return type to drawInset() and draw() so that
12148 if we have a change in the row so that the rowbreak has to be redone
12149 we abort drawing as it will be called again.
12151 2002-05-02 Juergen Vigna <jug@sad.it>
12153 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12154 a change in the maintext also if we're inside an inset.
12155 (Dispatch): set the cursor again after a break line and after the
12156 screen has been updated as it could be we're in a different row.
12158 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12159 to set the cursor behind the pargraph with > size().
12160 (setCursor): check also for the same paragraph when checking where
12161 to put the cursor if we have a NFR inset.
12163 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12164 parts of layout read further up as it still was in the wrong
12167 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12169 * screen.C (drawFromTo): change sine fullRebreak always return
12172 * buffer.C (parseSingleLyXformat2Token): reindent some
12174 * BufferView_pimpl.C (update): change since fullRebreak always
12176 (Dispatch): git rid of the last hardcoded "Standard"s.
12178 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * text2.[Ch] (fullRebreak): make it return void now that we always
12183 2002-04-30 Juergen Vigna <jug@sad.it>
12185 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12186 ert compatibility check for "latex" layout.
12188 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12190 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12191 minipages: use col% instead of p%, and also use the current font.
12192 (makeLaTeXFile): Fix use babel condition.
12193 (parseSingleLyXformat2Token): Correct font when reading old floats.
12195 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12197 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12198 inserting list of floats.
12200 2002-04-25 Herbert Voss <voss@lyx.org>
12202 * MenuBackend.C (expand): don't add the graphics extensions to the
12205 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12207 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12208 non-existing layout, do not complain if it was the default layout
12209 of the original class (bug #342)
12211 2002-04-24 Juergen Vigna <jug@sad.it>
12213 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12214 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12216 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12218 * buffer.C (getBibkeyList): If using \bibliography, return the
12219 option field with the reference itself. Enables us to provide natbib
12220 support when using \bibliography.
12222 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12224 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12226 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12227 natbib is provided by the LaTeX class.
12229 2002-04-23 Juergen Vigna <jug@sad.it>
12231 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12234 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12236 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12238 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12240 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12241 ensuremath around textordmasculine, textordfeminine and
12244 2002-04-19 Juergen Vigna <jug@sad.it>
12246 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12247 reinitializing the buffer otherwise row-dimensions may be wrong.
12248 (update): reset also the selection cursors if they do exits otherwise
12249 their x/y positions may be wrong.
12251 * text2.C (cursorDown): don't enter the inset if we came from a row
12252 above and are one row over the inset.
12254 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12255 really leaving an inset.
12257 2002-04-18 Juergen Vigna <jug@sad.it>
12259 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12260 of the selected paragraph does not have the selected layout also if
12263 * text2.C (setLayout): fixed bug which did not change last selected
12266 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12267 changed the read and substituted \\end_float with \\end_inset!
12269 * BufferView_pimpl.C (cursorPrevious):
12270 (cursorNext): fixed to make it work with rows heigher than the work
12271 area without moving the cursor only the draw of the row.
12272 (workAreaMotionNotify): fix jumping over high rows.
12274 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12276 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12279 2002-04-16 Juergen Vigna <jug@sad.it>
12281 * text2.C (setCursor): set also the irow().
12282 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12284 (cursorDown): support for locking an inset if the x_fix value goes
12285 inside it. That way I can transverse insets too with cursor up/down.
12287 * lyxrow.h: added irow helper function same as other (i) functions.
12289 * BufferView_pimpl.C (cursorPrevious):
12290 (cursorNext): fixed for insets!
12292 2002-04-15 Juergen Vigna <jug@sad.it>
12294 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12295 position otherwise it is wrong in some cases.
12297 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12298 inside the inset before the call.
12300 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12302 * buffer.[Ch] (getBibkeyList): make it const.
12304 2002-04-12 Juergen Vigna <jug@sad.it>
12306 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12308 * text2.C (getCursorX): new helper function
12309 (setCursor): compute also ix_
12310 (setCursorFromCoordinates): set also ix.
12312 * lyxcursor.h: added ix_ and helper functions.
12314 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12316 * buffer.C (insertStringAsLines): dont break paragraph if the this
12317 paragraph is inside an inset which does not permit it!
12319 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12320 also with no chars on this paragraph.
12321 (paintRowText): only paint stuff if it's inside the workarea!
12323 * paragraph.C (breakParagraph): honor keepempty flag and break the
12324 paragraph always below not above.
12326 * BufferView2.C (unlockInset): update the paragraph layout on inset
12327 unlock as we changed paragraph in such a case.
12329 * lyxfind.C (LyXFind): clear the former selection if not found!
12331 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12332 again called in insertChar().
12334 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12335 an inset which uses the whole row!
12336 (rightMargin): ditto.
12337 (insertChar): force a rebreak if we inserted an inset!
12339 2002-03-28 Herbert Voss <voss@lyx.org>
12341 * lyxlength.[Ch]: add inBP() to get the right PS-point
12342 units (BigPoint). With inPixels we have rounding errors
12344 2002-04-11 Juergen Vigna <jug@sad.it>
12346 * text2.C (setCursorFromCoordinates): set iy to the right value.
12347 (setCursor): add check if row->previous exists!
12349 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12350 an old float_type as this was the case in the old code!
12352 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12354 * BufferView2.C (showLockedInsetCursor): use iy
12355 (fitLockedInsetCursor): ditto
12357 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12358 locked insets as there we have the right value now.
12360 * lyxcursor.C: added iy_ variable and iy functions to set to the
12361 baseline of cursor-y of the locked inset.
12363 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12364 (setCursor): fixed for insets which need a full row.
12366 * text.C (rowLastPrintable): don't ignore the last space when before
12367 an inset which needs a full row.
12368 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12369 as last character of a row when before a inset which needs a full row.
12371 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * version.C.in: update date
12375 * text2.C (fullRebreak): try to always return true and see what
12378 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12380 * MenuBackend.C (expand): use Floating::listName
12382 * FloatList.C (FloatList): add listName argument to the built-in
12385 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12386 text associated with the float.
12388 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12390 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12392 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * ShareContainer.h: add a couple of missing typenames.
12396 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12398 * lyxrc.C (getDescription): use _() correctly rather than N_().
12400 2002-03-28 Herbert Voss <voss@lyx.org>
12402 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12403 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12405 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12407 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12408 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12410 2002-03-29 Juergen Vigna <jug@sad.it>
12412 * lyxfunc.C (dispatch): add a missing fitCursor call.
12414 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12415 it was scrolled by a cursor move, so return the bool status.
12417 * BufferView.C (fitCursor): return the bool flag also to the outside
12418 world as this is needed.
12420 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12422 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12423 call the edit() as it is not needed (and wrong) IMO.
12424 (workAreaButtonPress): set the screen_first variable before evt.
12425 unlock the inset as this may change screen_first and then we have
12426 a wrong y position for the click!
12428 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12430 * MenuBackend.C (expand): another translation that I missed
12432 2002-03-28 Juergen Vigna <jug@sad.it>
12434 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12436 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12438 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12440 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12442 * MenuBackend.C (expand): fix export/view/update when there is no
12445 2002-03-27 Herbert Voss <voss@lyx.org>
12447 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12450 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12452 * bufferview_funcs.C (currentState): only show paragraph number
12453 for is DEVEL_VERSION is set.
12455 * lyxfunc.C (dispatch): put warning in INFO channel
12457 * MenuBackend.C (expand): translate the name of floats
12459 * FloatList.C (FloatList): mark the float names for translation
12461 * converter.C (convert): use LibScriptSearch
12463 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12465 * MenuBackend.C (defaults): fix default menu (we might as well get
12468 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12473 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12475 * lyxvc.C: reorder includes.
12477 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12479 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12482 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12484 * CutAndPaste.C: change layouts earlier on paste
12485 to avoid crashing when calling getFont()
12487 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12489 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12492 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12494 * WorkArea.C: remove 'Pending' debug message.
12496 * most files: ws cleanup
12498 * buffer.[Ch]: ws changes
12500 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12502 2002-03-21 Juergen Vigna <jug@sad.it>
12504 * tabular.C (SetMultiColumn): collapse also the contents of the
12505 cells and set the last border right. Added a Buffer const * param.
12507 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12509 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12512 2002-03-19 Juergen Vigna <jug@sad.it>
12514 * text2.C (clearSelection): reset also xsel_cache.
12516 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12517 where it needs to be called (John tells us to do so too :)
12518 (selectionLost): reset sel_cache.
12520 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12522 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12524 * text2.C (setCursorIntern): put debuging code in INSETS channel
12526 2002-03-19 André Pönitz <poenitz@gmx.net>
12528 * lyxfunc.C: tiny whitespace change
12530 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12532 * ToolbarDefaults.C (init):
12533 * LyXAction.C (init):
12535 * BufferView_pimpl.C (Dispatch):
12536 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12538 2002-03-19 Allan Rae <rae@lyx.org>
12540 * exporter.C (Export): removeAutoInsets before doing anything else.
12541 While I've just introduced a dependency on BufferView this really is
12542 the best place to clean the buffer otherwise you need to cleanup in
12543 a dozen places before calling export or cleanup in a dozen functions
12546 * converter.C (runLaTeX):
12547 (scanLog): Better handling of removeAutoInsets and screen updates.
12549 * lyxfunc.C (dispatch): small whitespace changes
12551 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12553 * WorkArea.C (C_WorkAreaEvent): return a value.
12554 (event_cb): return 1 if we handled the event, 0 otherwise.
12556 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12558 2002-03-18 Juergen Vigna <jug@sad.it>
12560 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12561 (GetAdditionalWidth): ditto.
12562 (RightLine): ditto.
12565 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12566 inset if we're there actually (probably not used right now but this
12567 is the direction to go for unifying code).
12568 (paste): disable code to clear the selection.
12570 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12571 inside an InsetText and move the check further up as it is in the
12574 * text2.C (pasteSelection): set a selection over the pasted text.
12576 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12578 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12579 and libgraphics to build on Cygwin.
12581 2002-03-15 Juergen Vigna <jug@sad.it>
12583 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12584 inserting an Inset into the paragraph. I know this is not the best
12585 fix but we already use current_view in CutAndPaste so we will remove
12586 all of it's using at the same time.
12588 * buffer.C (sgmlError): deactivated function till it is rewritten in
12589 the right mode, now it can create problems.
12591 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12592 before accessing it.
12594 2002-03-14 Juergen Vigna <jug@sad.it>
12596 * undo_funcs.C (textHandleUndo): do the right thing when updating
12597 the inset after the undo/redo.
12599 * text2.C (setCursor): just some testcode for #44 not ready yet.
12601 * undo_funcs.C (textHandleUndo): set the next() and previous()
12602 pointers of the paragraph to 0 before deleting otherwise we have
12603 problems with the Paragraph::[destructor].
12605 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12606 on a paragraph insertion.
12608 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * buffer.C (asciiParagraph): use += operator for char append to
12613 * paragraph.C (getFontSettings): compare >= not just >
12614 (highestFontInRange): ditto
12617 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12619 * paragraph.C: change several algorithm to be more appripriate for
12620 the problem domain. This is lookip in FontList and in the InsetList.
12622 2002-03-13 André Pönitz <poenitz@gmx.net>
12625 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12627 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12632 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12634 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12636 * Painter.C (display): anon helper function, adjust code for this
12638 (pixmap): remove function.
12640 * Painter.h: remove private display variable.
12642 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12644 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12646 * WorkArea.[Ch]: remove figinset_canvas cruft.
12648 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * lyxtextclass.C (operator): add one item cache optimization.
12652 * bufferlist.h: doxy changes
12654 * bufferlist.C: ws changes
12656 * DepTable.[Ch] (ext_exist): place const in the right spot.
12658 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12660 (workAreaExpose): call resizeInsets when the with BufferView changes.
12661 (Dispatch): adjust for protectedBlank removal
12662 (specialChar): call updateInset if the insert went ok.
12664 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12665 specialChar instead.
12667 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12669 * BufferView.h: doxy change
12671 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12673 * lyxtextclass.C (operator[]): remove non-const version
12674 (defaultLayout): remove non-const version
12676 2002-03-12 Juergen Vigna <jug@sad.it>
12678 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12679 did resize the LyXText too.
12681 * buffer.C (readLyXformat2): set layout information on newly allocated
12684 * tabular.C (OldFormatRead): set layout information on the paragraph.
12686 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12688 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12690 2002-03-11 Juergen Vigna <jug@sad.it>
12692 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12694 (resizeCurrentBuffer): force also the insets to resize themselfes.
12695 (moveCursorUpdate): fixed up for InsetText.
12697 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12700 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12701 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12702 value of Dialogs::tooltipsEnabled().
12703 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12705 2002-03-08 Juergen Vigna <jug@sad.it>
12707 * BufferView_pimpl.C (updateInset): update inset inside inset also
12708 if it isn't inside theLockingInset().
12710 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * buffer.C (asciiParagraph): redo some of the word and line length
12714 (getLists): look for Caption instead of caption.
12716 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12718 * buffer.C (Buffer): initialize niceFile to true
12720 (makeLinuxDocFile):
12721 (makeDocBookFile): make sure niceFile is true on exit
12723 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12725 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12727 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12729 * LyXSendto.C: remove.
12730 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12731 * lyx_gui.C: remove now-redundant comment.
12732 * ColorHandler.h: remove forward declaration of class WorkArea.
12733 * lyxfunc.C: remove #include "WorkArea.h".
12735 2002-03-07 Juergen Vigna <jug@sad.it>
12737 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12738 got moved away with the DEPM and also set the inset_owner always
12739 right which before could have been omitted.
12741 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12743 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12744 wanted layout is not found.
12746 2002-03-07 Juergen Vigna <jug@sad.it>
12748 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12750 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12752 * paragraph.C (breakParagraph): use default layout not layout of
12754 (Paragraph): clear ParagraphParameters.
12756 2002-03-06 Juergen Vigna <jug@sad.it>
12758 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12759 otherwise it would not be a valid lenght. Fixed a special case in
12760 the minipage compatibility read where we end the document with a
12763 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12764 was set as it could be 0 for InsetTexts first entry.
12766 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12768 * paragraph.C (writeFile): if layout is empty write out
12769 defaultLayoutName().
12771 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12772 file without named layout we set layout to defaultLayoutName().
12774 2002-03-06 Juergen Vigna <jug@sad.it>
12776 * CutAndPaste.C (copySelection): set layout for new paragraph.
12778 * text.C (prepareToPrint): leave ERT inset left aligned
12779 (leftMargin): don't indent paragraphs inside ERT insets
12781 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12783 * paragraph.C (breakParagraph): dont call clear do the work manually
12785 * paragraph.[Ch] (clear): remove function
12787 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12789 * paragraph.C (Paragraph): dont call clear, the work has already
12792 * lyxtextclass.C (operator): assert if n is empty
12794 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12795 work manually instead.
12797 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12799 * BufferView_pimpl.C: protect selectionLost against text == 0
12801 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12803 * text.C (breakParagraph): fix a setting layout to '0' problem.
12805 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12807 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12808 final location of file, for the included files, and graphics.
12810 2002-03-05 Juergen Vigna <jug@sad.it>
12812 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12814 2002-03-04 Juergen Vigna <jug@sad.it>
12816 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12818 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12819 last column of multicolumn cells.
12820 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12822 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12824 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12825 file if it doesn't go to a temporary file.
12827 * buffer.C (sgmlOpenTag):
12828 (sgmlCloseTag): remove extra newline insertion.
12830 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12832 * text.C (getRowNearY): comment out debug msg
12834 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * text2.C: first -> first_y
12838 * text.C (getRowNearY): add some attemts at a possible
12839 optimization, not working.
12841 * tabular.[Ch]: add BufferParams to several function so that newly
12842 created paragraph can be initialized to he default layotu for the
12845 * tabular-old.C (ReadOld): add buf->params to call of Init
12847 * screen.C: rename text->first to text->first_y
12849 * paragraph.C (breakParagraph): always set layout in the broken
12852 * lyxtextclass.C (Read): remove lowercase
12855 (delete_layout): ditto
12857 * lyxtext.h: rename first -> first_y
12859 * lyxlayout.C (Read): remove lowercase
12862 (obsoleted_by): ditto
12864 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12866 * buffer.C (insertErtContents): add params are to InsetERT
12867 (parseSingleLyXformat2Token): add code to check if a paragraphs
12868 layout really exist.
12869 (parseSingleLyXformat2Token): add params to several inset
12871 (asciiParagraph): remove lowercase, do the layout comparisons with
12874 * BufferView_pimpl.C (cursorNext): first -> first_y
12875 (resizeCurrentBuffer): first -> first_y
12876 (updateScrollbar): first -> first_y
12877 (scrollCB): first -> first_y
12878 (workAreaMotionNotify): first -> first_y
12879 (workAreaButtonPress): first -> first_y
12880 (checkInsetHit): first -> first_y
12881 (cursorPrevious): first -> first_y
12882 (cursorNext): first -> first_y
12883 (Dispatch): add buffer_->params to severl inset contructors
12885 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12887 * lyxlayout.C (Read): remove some debug info that I forgot.
12889 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12890 clean up the code slightly.
12891 (makeLinuxDocFile): ditto
12892 (makeDocBookFile): ditto
12894 * text2.C: layout as string
12896 * text.C: layout as string
12898 * paragraph_pimpl.C: layout as string
12900 * paragraph.[Ch]: layout as string
12902 * lyxtextclasslist.[Ch]: layout as string
12904 * lyxtextclass.[Ch]: layout as string
12906 * lyxtext.h: layout as string
12908 * lyxlayout.[Ch]: layout as string
12910 * lyx_cb.C: layout as string
12912 * bufferview_funcs.C: layout as string
12914 * bufferparams.C: layout as string
12916 * buffer.C: layout as string
12918 * LyXView.[Ch]: layout as string
12920 * LaTeXFeatures.[Ch]: layout as string
12922 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12924 * BufferView_pimpl.C: change current_layout to string, remove
12929 (workAreaButtonRelease): layout as string
12931 * BufferView2.C (unlockInset): adjust
12933 * vspace.C (asLatexCommand): use an explict temp variable.
12935 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12937 * Makefile.am: use FRONTEND_*
12939 2002-03-01 Juergen Vigna <jug@sad.it>
12941 * tabular.C (SetWidthOfMulticolCell): changed to something better
12942 I hope but still work in progress.
12943 (recalculateMulticolumnsOfColumn): renamed function from
12944 recalculateMulticolCells as it is more appropriate now.
12945 (SetWidthOfCell): calculate multicols better.
12947 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12949 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12951 * lyxfunc.C (processKeySym): print sequence also if it is
12952 `deleted' (complete)
12954 * kbsequence.C (print): print sequence even if it is deleted
12955 (complete would be a better word, actually).
12957 * lyxfunc.C (dispatch): print complete options after a prefix key
12959 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12961 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12963 * text2.C (setCharFont): eliminate setCharFont code duplication.
12965 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12967 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12968 LFUN_TABULAR_FEATURE (bug #177)
12970 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12972 * Makefile.am: remove figure.h
12974 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12976 * Bufferview_pimpl.C:
12988 * text2.C: remove #include "lyx_gui_misc.h".
12990 * LaTeX.C: added #include <cstdio>
12992 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12994 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12995 that the paragraph following this one can have.
12997 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12999 * vspace.C (asLatexCommand): fix bogus gcc warning
13001 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13003 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13005 * text2.C (setLayout): get rid of redundant code
13007 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13009 * text2.C (incDepth): make sure depth cannot be increased beyond
13012 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13014 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13015 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13017 * PainterBase.h (image):
13018 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13019 a LyXImage const *.
13021 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13025 * BufferView_pimpl.C:
13026 * BufferView_pimpl.h:
13046 * sp_spell.C: remove fig inset, and the crap house of
13047 cards that follows it
13049 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13054 * os2_errortable.h:
13055 * nt_defines.h: move .h into support/
13057 * vms_defines.h: remove
13059 * WorkArea.C: add space in debug output
13063 * buffer.C: add WITH_WARNINGS
13067 * bufferlist.C: s/retrive/retrieve/, add docs
13076 * chset.C: add docs
13078 * lyxgui.C: add ID to X error handler
13080 * lyxtestclass.c: fix typo
13082 2002-02-26 Juergen Vigna <jug@sad.it>
13084 * tabular_funcs.C (write_attribute): changed so that some default
13085 attributes are not written at all.
13086 (getTokenValue): set default values before trying to read the
13087 value so we have the return value always set as default if we don't
13088 find the token we search for.
13090 * tabular.C (Write): write bools as bools not as strings!
13092 2002-02-22 Juergen Vigna <jug@sad.it>
13094 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13095 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13097 * text.C (leftMargin): don't add an indent for paragraphs inside
13098 tabular cells (fix #208).
13100 2002-02-21 José Matos <jamatos@fep.up.pt>
13102 * tabular.C (docBook): fixed support for long tables.
13104 2002-02-20 Juergen Vigna <jug@sad.it>
13106 * text2.C (getFont): get the drawing font of the Inset if this
13107 paragraph is inside an inset (only important for InsetERT for now).
13109 * buffer.C (insertErtContents): use new lanugage params in ERT
13112 * CutAndPaste.C: commenting out seemingly uneeded code.
13114 2002-02-19 Allan Rae <rae@lyx.org>
13116 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13117 Iterators might be simple to use but they also get invalidated.
13118 (removeAutoInsets): renamed saved cursor tracking variables and added
13119 some comments to clarify what everything does.
13121 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13128 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13129 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13132 * vc-backend.h: remove #include "support/syscall.h"
13136 * converter.C: rearrange #includes in Lars' approved fashion.
13138 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13139 forward declare class Timeout in the header file.
13141 * XFormsView.C: changes due to the above.
13143 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13144 similar to LyXView.
13146 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13147 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13149 2002-02-18 José Matos <jamatos@fep.up.pt>
13151 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13154 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13156 * a lot of small ws changes
13157 * add a lot of using std::XXX
13158 * use std construcs some places where approp.
13159 * use some exisint stuff from lyxfunctional where approp.
13160 * Make file changes to use partial linking (lets test this now...)
13162 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13166 remove #include "support/syscontr.h" as it's redundant. Always has been.
13174 change Systemcalls::System to Systemcalls::Wait and
13175 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13176 No change of functionality, just reflects the stripped down Systemcalls
13179 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13181 * debug.[Ch]: add a GRAPHICS type to the enum.
13183 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13185 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13187 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13190 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13192 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13193 match the changes below.
13195 * text2.C (toggleInset): if there is not editable inset at cursor
13196 position, try to see if cursor is _inside_ a collapsable inset
13199 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13201 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13202 document menu has a nice checkbox
13204 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13206 * lyxlength.C (asLatexString): change PW to output as percent of
13209 * lengthcommon.C: change '%' to 't%'
13211 * lyxfunc.C (dispatch): a few comments from Martin
13213 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13217 * BufferView_pimpl.h:
13218 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13221 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13223 * vspace.C (inPixels): fix compiler warning
13225 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13227 * lyxfunc.C (getStatus): fix status message for disabled commands.
13229 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13231 * BufferView_pimpl.C: fix crash on close buffer
13232 during selection (#227)
13234 2002-01-27 Herbert Voss <voss@lyx.org>
13236 * buffer.C: link old Figure to new graphic inset
13238 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13240 * FontLoader.C (getFontinfo): Change the latex font names in order
13241 to match the names of type1inst.
13243 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13245 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13247 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13248 (extchanged): ditto
13250 (remove_files_with_extension): ditto
13251 (remove_file): ditto
13254 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13255 document is smaller than the work area height. Do not initialize
13256 static variables to 0.
13258 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13260 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13262 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13263 LFUN_LAYOUT_PARAGRAPHS.
13265 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13266 tabular. It is possible to provide a possible cell, which will
13267 typically be the actcell from the corresponding insettabular
13269 * lyxfunc.C (getStatus): small cleanup; disable
13270 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13273 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13275 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13277 * paragraph.C (startTeXParParams):
13278 (endTeXParParams): new methods. The LaTeX code to
13279 start/end paragraph formatting
13280 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13281 empty (fixes bug #200)
13283 * vspace.C (inPixels): adapt to the change below
13284 (inPixels): [later] more cleanups (remove unused variables)
13286 * lyxlength.C (inPixels): change to use a width and a height as
13289 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13291 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13292 Replaced with \paperwidth
13294 * DepTable.C (insert): add std:: qualifier
13296 2002-01-18 Allan Rae <rae@lyx.org>
13298 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13301 * text.C (drawInset): Turned out I didn't know enough about how
13302 rebreaking worked. This fixes most of the redraw problems. I see
13303 an occasional cursor trail when a line is broken now and the cursor
13304 placement can seem out by a few pixels also after a rebreak.
13306 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13308 * buffer.C (parseSingleLyXformat2Token): update because minipage
13309 width is now a LyXLength
13311 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13313 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13316 2002-01-17 Juergen Vigna <jug@sad.it>
13318 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13320 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13321 is set correctly and the inset is updated correctly.
13323 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13325 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13326 the beginning of the loop.
13328 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13330 * lyxrc.C: improve help for use_scalable_fonts
13332 2002-01-17 Allan Rae <rae@lyx.org>
13334 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13336 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13338 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13339 make sure to set their inset_owner to the right value (bug #171)
13341 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13344 * DepTable.C: Implement mtime checking to reduce time spent doing
13347 2002-01-16 Juergen Vigna <jug@sad.it>
13349 * tabular.C (GetAdditionalHeight): one of error fixed.
13351 * lyxrc.C (output): small fix in writing use_pspell.
13353 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13355 * sp_base.h: #include LString.h
13357 2002-01-16 Allan Rae <rae@lyx.org>
13359 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13360 Can someone check this please?
13362 * text.C (drawInset): It was possible that p.row would be removed by
13363 breakAgainOneRow upsetting a few other settings. There may be another
13364 small tweak possible by setting need_break_row = 0 when p.row has been
13365 removed but I don't know enough about the logic here.
13367 2002-01-15 Allan Rae <rae@lyx.org>
13369 * text.C (insertChar): removed conditional truism.
13371 * BufferView2.C (removeAutoInsets): More tweaks.
13372 cur_par_prev could be a stray pointer. Check for trailing empty line
13373 in case last line was cur_par and only had an error inset on it.
13375 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13377 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13380 * vc-backend.C (most methods):
13381 * exporter.C (Export):
13382 * converter.C (convert):
13384 * LyXSendto.C (SendtoApplyCB):
13385 * lyxfunc.C (dispatch):
13389 * lyx_cb.C (AutoSave):
13391 * BufferView_pimpl.C (MenuInsertLyXFile):
13392 * buffer.C (runChktex): use Buffer::filePath().
13394 * buffer.h: rename filename to filename_; rename filepath to
13395 filepath_ and make it private
13396 (filePath): new method
13398 * buffer.C (writeFile): use fileName()
13401 * lyx_main.C (init): fix starting of LyX when the binary is a
13402 link from so,ewhere else.
13404 * minibuffer.C: include <cctype> for isprint
13406 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13408 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13409 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13410 name clash with InsetCollapsable's width function.
13412 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13414 * lastfiles.C: include <iterator>
13416 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13418 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13421 * buffer.C (makeLaTeXFile): ditto.
13422 Also make loop operation more transparent.
13424 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13426 * ToolbarDefaults.C: remove trailing comma closing namespace.
13428 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13430 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13433 * trans.C (Load): comment out unused variable, allowed.
13435 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13437 * minibuffer.[Ch] (append_char): new method to recieve input from the
13438 drop-down completion browser. If a key was pressed, then recieve this
13439 char and append it to the existing string.
13440 (peek_event): modify the positioning data passed to the completion
13441 browser so that it can be placed above the minibuffer rather than below.
13442 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13444 * LyXAction.C (init): alloe error-next for readonly documents.
13446 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13449 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13451 * bufferlist.C (readFile): create the buffer _after_ checking that
13454 * lyxfunc.C (verboseDispatch): fix handling of arguments
13456 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13458 * lyxrc.C: use string::erase() instead of initializing to "".
13461 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13463 * BufferView_pimpl.h:
13464 * BufferView_pimpl.C:
13467 * text2.C: tell X when we have made a selection for copying
13469 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13471 * BufferView_pimpl.C (MenuInsertLyXFile):
13472 * lyxfunc.C (menuNew):
13474 (doImport): add shortcuts to directory buttons
13476 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13479 * lyxfunc.C (setStatusMessage):
13480 (getStatusMessage): new methods
13481 (getStatus):use setStatusMessage instead of setErrorMessage
13482 (dispatch): when function is disabled, set error message here
13483 [instead of in getStatus previously]
13485 * BufferView_pimpl.C (workAreaButtonRelease): update
13486 toolbar/menubar here too.
13488 2002-01-13 Allan Rae <rae@lyx.org>
13490 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13491 Now seems indestructible. Remaining task is to audit all other
13492 code affected by deleteEmptyParagraphMechanism. One small quirk
13493 left is that an empty document with an error in the preamble can
13494 be made to report an error but no error box appears. I don't know
13496 (removeAutoInsets): Improved comments.
13498 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13501 * Thesaurus.C: update for Aiksaurus 0.14
13503 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13505 * text2.C (firstParagraph): removed member function, all uses
13506 replaces with ownerParagraph
13507 (redoParagraphs): here
13508 (updateInset): here
13509 (toggleAppendix): here
13510 * BufferView2.C (insertErrors): here
13511 (setCursorFromRow): here
13513 2002-01-13 Allan Rae <rae@lyx.org>
13515 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13516 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13517 There is still a way to segfault this although you may have to do this
13518 multiple times: Have an InsetERT with an unknown command in it.
13519 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13520 <down-arrow>, <Enter> again, View->DVI, BANG!
13522 * text2.C (setCursor):
13523 (deleteEmptyParagraphMechanism):
13524 * lyxtext.h (setCursor):
13525 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13526 Making use of the return value may help fix other bugs.
13528 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13530 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13532 * LyXView.C (updateMenubar): call MenuBar::update here
13533 (updateToolbar): but not here
13534 (showState): do not update toolbar/menubar
13536 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13537 should need to care about that.
13539 * lyxfunc.C (verboseDispatch): simplify a bit
13540 (getStatus): have a version which takes a pseudoaction, and
13541 another which requires a (kb_action,string).
13543 * LyXAction.C (retrieveActionArg): make it work also when action
13544 is not a pseudo-action.
13545 (getActionName): simplify a bit
13548 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13550 * lyxfunc.C (verboseDispatch): new families of methods with
13551 several ways to specify a command and a bool to indicate whether
13552 the command name and shortcut should be displayed in minibuffer
13553 (eventually, we could extend that to a finer bitmask like
13554 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13555 (dispatch): the pristine dispatch command which just, well,
13556 dispatchs! Note it still sets its result to minibuffer; I'm not
13559 * lyxfunc.h: remove setHintMessage
13561 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13563 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13565 * BufferView_pimpl.C (specialChar): delete new inset if we have
13566 not been able to insert it.
13568 * kbmap.C: revert to using int instead of kb_action, since all we
13569 are dealing with is pseudo-actions.
13571 * LyXAction.C (searchActionArg): change to return int instead of
13572 kb_action, since the result is a pseudoaction.
13574 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13576 * buffer.C (insertErtContents): Fix (partially) the font bug.
13578 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13580 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13581 as the other one is broken on my machine!
13583 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13586 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13588 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13590 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13591 reflect their actual use. Provide compatibility code for older lyxrc
13594 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13596 change names of popup font variables in line with the changes to lyxrc.C
13598 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13600 * buffer.C (asciiParagraph): avoid outputing a word twice after
13603 * lyxrc.C (getDescription): document that document_path and
13604 template_path can be empty.
13606 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13608 * LaTeXFeatures.C (getMacros):
13609 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13611 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13613 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13615 (getPackages): rename feature "floats" to "float". Use an array to
13616 iterate over 'simple' features (i.e. just a \usepackage). Add
13617 handling of "amsmath" (renamed from "amsstyle").
13619 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13621 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13624 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13626 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13627 FuncStaus::FuncStatus & FuncStaus::some_method().
13629 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13631 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13632 of the func_satus stuff. Edited and massaged in various ways by
13635 * lyxfunc.C (getStatus): use FuncStatus
13637 2002-01-08 Juergen Vigna <jug@sad.it>
13639 * text.C (nextBreakPoint): use function Inset::isChar().
13641 * paragraph.C (TeXOnePar): use function
13642 Inset::forceDefaultParagraphs.
13644 * buffer.C (latexParagraphs): use function
13645 Inset::forceDefaultParagraphs.
13647 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13649 * lyx_gui.C (init): set the style of the menu popups to
13650 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13652 2002-01-07 Juergen Vigna <jug@sad.it>
13654 * text.C (setHeightOfRow): small fix
13655 (prepareToPrint): don't look at alignment if we don't have the place
13658 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13660 * box.C: New file. Move the Box methods and functions out of box.h,
13661 following Lars' suggestion.
13663 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13665 * box.h: #include "support/LOstream.h", needed for inlined function.
13668 * lyxtextclasslist.C: added some using std declarations.
13670 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13672 * box.h: make signed dimensions to allow insets wider than
13673 the screen (bug #162)
13675 * BufferView_pimpl.C: add some insetHit debug
13677 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13679 * vc-backend.C: add FIXME
13681 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13683 * lyxfunc.C (getStatus): enable code for showing math font status
13686 2002-01-07 Juergen Vigna <jug@sad.it>
13688 * text.C (nextBreakPoint): removed debug output not needed anymore.
13690 2002-01-06 Juergen Vigna <jug@sad.it>
13692 * text.C (nextBreakPoint): fixed up this function we had this bug
13693 since ever but now hopefully we break row better.
13694 (insertChar): we have to check if an inset is the next char as it
13695 could now happen that a large inset is causing a break.
13697 2002-01-05 Juergen Vigna <jug@sad.it>
13699 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13700 if it doesn't like to be drawed.
13702 2002-01-04 Juergen Vigna <jug@sad.it>
13704 * BufferView2.C (lockInset): forgot to set a cursor.
13706 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13708 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13710 * FormMathsPanel.C:
13713 * form_maths_panel.C:
13714 * form_maths_panel.h:
13715 * form_maths_panel.fd: implemented sub- and super- buttons in math
13718 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13719 (or ^ space) to be used as in TeX (req'd by André).
13721 * lyxfunc.C: Allow ^ and _ again to be used both as
13722 super/subscript (mathed) and as themselves (in text).
13724 2002-01-03 Allan Rae <rae@lyx.org>
13726 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13727 "LyX" or the filename of the current buffer if it has one. This is a
13728 modified form of John Levon's patch.
13730 * XFormsView.C (setWindowTitle): also set icon title.
13732 * LyXView.h (setWindowTitle): signature changed.
13733 * XFormsView.h (setWindowTitle): ditto.
13735 2002-01-02 Juergen Vigna <jug@sad.it>
13737 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13739 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13741 * screen.C (topCursorVisible): introduce a temp var for
13742 text->cursor.row(), handle the case where this row is null. (kindo
13745 * text2.C (setCursor): add a couple of asserts.
13747 * paragraph.h (inset_iterator): add -> operator
13749 * paragraph.[Ch] (autoDeleteInsets): remove member function
13751 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13752 cursor pos correctly and handle inset deletion by itself.
13753 (insertErrors): move iterator declaration out of for expression
13755 * lyxtextclass.C: add <algorithm>
13757 * Makefile.am: added the new files to sources, removed layout.C
13759 * layout.C: removed file
13761 * layout.h: remove LYX_DUMMY_LAYOUT
13763 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13767 * lyxtextclass.[Ch]:
13768 * lyxtextclasslist.[Ch]: new files
13770 * include order changes to a lot of files, also changes because of
13773 2001-12-27 Juergen Vigna <jug@sad.it>
13775 * buffer.C (asciiParagraph): more fixes.
13777 * tabular.C (ascii): make ascii export support export of only the
13778 data separated by a column-delimiter.
13779 (ascii): better support for ascii export.
13781 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13783 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * tabular_funcs.C: use a "using std::getline" instead of the
13786 previous fix from Angus (necessary for cxx + lyxstring)
13788 2001-12-24 Juergen Vigna <jug@sad.it>
13790 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13792 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13793 problems. First check a minipage also if we have some ert-contents
13794 (not only on par->size(), second set the right depth of the paragraph
13795 on the relink to the root-paragraph-list!
13797 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13798 which then did not anymore update the main paragraphs on undo/redo!
13800 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13802 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13803 code. Support all font-changing funcs (even those which are not in
13804 menu currently). Support for reporting font settings in
13805 mathed (disabled until Andre provides a function on mathed's side).
13807 * func_status.h (toggle): small helper function to set toggle
13810 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13812 * tabular_funcs.C: getline -> std::getline
13814 2001-12-21 Juergen Vigna <jug@sad.it>
13816 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13817 accessed and could be 0 (I couldn't generate this but it seems
13820 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13822 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13823 * tabular_funcs.h: here and include iosfwd
13825 2001-12-20 Juergen Vigna <jug@sad.it>
13827 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13828 inside inset but undo_par was.
13830 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13832 * Thesaurus.C: always include <config.h> in sources.
13836 * box.h: do not include <config.h> in header files
13838 * text.C (paintLastRow): remove unused variable
13840 * text.C (transformChar):
13842 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13844 * Painter.C (text):
13845 * font.C (width): rewrite to use uppercase() instead of
13848 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13850 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13852 * lyxfind.C: clean up of find failure position change
13854 2001-12-20 Juergen Vigna <jug@sad.it>
13856 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13858 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13859 (TeXRow): added to LaTeX a single tabular row.
13860 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13861 (Latex): simplified and finally good LT-h/f support.
13862 (various_functions): just small adaptions for LT-h/f support.
13864 * tabular_funcs.[hC]: added and moved here all not classfunctions
13867 2001-12-19 Juergen Vigna <jug@sad.it>
13869 * tabular.[Ch]: better support for longtabular options (not finished
13872 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13874 * text.C (paintLastRow): use the label font instead of the font of
13875 the last character to compute the size of *_BOX. This makes more
13876 sense and avoids a crash with empty paragraphs.
13877 Use Painter::rectangle to draw EMPTY_BOX.
13879 2001-12-19 Juergen Vigna <jug@sad.it>
13881 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13882 the paragraphs if the replaced paragraph is not the first one!
13883 Tried to delete not used paragraphs but does not work yet so for
13884 now it's inside #ifdef's and by default off!
13886 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13888 * MenuBackend.C: include "lyx_main.h" instead of declaring
13889 lastfiles (actually was declared as LastFiles* instead of a
13892 2001-12-17 Juergen Vigna <jug@sad.it>
13894 * tabular.C (AppendColumn): applied John's fix
13896 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13900 * BufferView_pimpl.h:
13901 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13904 * box.h: new start of class for above
13906 * lyxfunc.C: ignore space-only minibuffer dispatches.
13907 Show the command name when it doesn't exist
13909 * minibuffer.C: don't add empty lines to the history
13911 * minibuffer.C: add a space on dropdown completion
13913 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13915 * text.C: fix line above/below drawing in insets
13917 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * lyxlength.C (LyXLength): Initialize private variables.
13921 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13923 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13924 when inserting error insets.
13926 2001-12-13 Juergen Vigna <jug@sad.it>
13928 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13929 actually sometimes the before-paragraph.
13930 (setUndo): don't clear the redostack if we're not actually undoing!
13932 2001-12-06 Juergen Vigna <jug@sad.it>
13934 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13935 and fixed redoing of main paragraph, so we can use it now ;)
13937 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13939 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13941 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13944 2001-12-13 André Pönitz <poenitz@gmx.net>
13947 * undo_func.C: minor cleanup
13949 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13951 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13952 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13953 font in urw-fonts package which is marked as -urw-fontspecific and
13954 does not work (incidentally, changing the encoding in the
13955 fonts.dir of this package to -adobe-fontspecific fixes the
13958 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13959 is a crash when undoing first paragraph (Juergen, please take a
13960 look). THis does not mean the undo fix is wrong, just that it
13963 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13964 the (Paragraph*) version when needed instead of duplicating the
13967 * text.C (workWidth): use Inset::parOwner to find out where the
13968 inset has been inserted. This is a huge performance gain for large
13969 documents with lots of insets. If Inset::parOwner is not set, fall
13970 back on the brute force method
13972 * paragraph_pimpl.C (insertInset):
13973 * paragraph.C (Paragraph):
13974 (cutIntoMinibuffer): set parOwner of insets when
13975 inserting/removing them
13977 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13979 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13985 * mathed/formulabase.C:
13986 * mathed/math_cursor.[Ch]:
13987 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13990 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13992 * lyxlength.[Ch] (operator!=): new function
13994 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13996 * text.C (workWidth): use Inset::parOwner to find out where the
13997 inset has been inserted. This is a huge performance gain for large
13998 documents with lots of insets. If Inset::parOwner is not set, fall
13999 back on the brute force method
14001 * paragraph_pimpl.C (insertInset):
14002 * paragraph.C (Paragraph):
14003 (cutIntoMinibuffer): set parOwner of insets when
14004 inserting/removing them
14006 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14008 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14010 * tabular-old.C (getTokenValue):
14011 * tabular.C (getTokenValue):
14012 (write_attribute): new versions for LyXLength
14013 (everywhere): adjust the use of widths
14015 * tabular.h: change the type of widths from string to LyXLength
14017 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14019 * paragraph.C: fixed missing line number count when exporting
14020 Environments to LaTeX file
14022 * buffer.C: added informational message for checking line numbers.
14024 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14026 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14027 paragraph, do the 'double space' part, but not the 'empty
14030 * text.C (workWidth): small optimization
14031 (getLengthMarkerHeight): use minimal size for negative lengths.
14033 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14035 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14037 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14039 2001-12-11 André Pönitz <poenitz@gmx.net>
14042 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14044 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14046 * text2.C: keep selection on a setFont()
14048 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14050 * lyx_cb.C: another bv->text misuse, from insert label
14052 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14055 * kbsequence.C: re-instate nmodifier mask
14057 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14059 * lyx_main.h: make lyxGUI private.
14061 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14063 * lyxfind.C: place the cursor correctly on failed search
14065 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14067 * text.C (getLengthMarkerHeight): for small heights, the arrows
14068 are not always on top/bottom of the text
14069 (drawLengthMarker): smaller arrows; take the left margin in
14070 account; draw also vfills.
14072 (paintLastRow): remove special code for vfill and standard spaces,
14073 since everything is handled in drawLengthMarker now.
14075 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14077 * buffer.C (insertErtContents): try to handle font and language
14078 interaction a bit better.g
14080 * ColorHandler.C (updateColor): change the hash to cover the whole
14081 LColor enum, ws cleanup
14082 (getGCLinepars): ditto
14083 (getGCLinepars): only lookup in the linecache once.
14085 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14087 * iterators.C (operator++): Make the iterator more robust
14089 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14091 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14096 * text.C: better added space drawing
14098 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14101 * BufferView2.C: fix layout combo update on inset unlock
14103 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14105 * Makefile.am: don't compile unused files
14107 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14111 * LyXAction.C: remove old LFUN_LAYOUTNO
14113 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14115 * paragraph_pimpl.h:
14116 * paragraph_pimpl.C: isTextAt() doesn't need font param
14118 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14121 * lyxlex.C: little cleanup
14123 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14125 * BufferView_pimpl.C: fix insertAscii for insets
14127 2001-12-05 Juergen Vigna <jug@sad.it>
14129 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14130 set the right font on the "multi" paragraph paste!
14132 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14138 * lyxlength.C: remove out-commented code.
14140 * BufferView_pimpl:
14154 * vc-backend.C: change "while(" to "while ("
14156 * lyxlength.[Ch]: add zero function to check if length is zero or
14158 * lyxgluelength.C: use it
14160 2001-12-05 Allan Rae <rae@lyx.org>
14162 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14163 Works for 2.95.3, from what I understand of Garst's reports this should
14164 work for other g++ versions. We're screwed if the abs(int) definition
14165 changed between bugfix releases of gcc.
14167 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14169 * text.C: fix chapter label offset !
14171 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14174 * text.C: fix hfill at end of line, clean up
14176 2001-12-04 Juergen Vigna <jug@sad.it>
14178 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14179 that we force an update of the inset and it's owners if neccessary.
14181 2001-12-03 Juergen Vigna <jug@sad.it>
14183 * text.C (rowLast): simplified code
14185 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14187 * lyxfunc.C: fix show options on timeout
14189 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14191 * screen.C (topCursorVisible): scroll half a page when the cursor
14192 reached top of bottom of screen
14194 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14196 * minibuffer.C: deactivate on loss of focus
14198 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14200 * vspace.[Ch] (operator!=): add operator.
14202 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14204 * BufferView_pimpl.C: refuse to open an inset when
14205 there's a selection.
14207 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14209 * BufferView_pimpl.C: allow to click on RHS of full row insets
14211 2001-11-30 Juergen Vigna <jug@sad.it>
14213 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14214 insets for undo reasons.
14216 2001-11-28 André Pönitz <poenitz@gmx.net>
14218 * vspace.[Ch]: cosmetical changes
14220 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14230 * kbsequence.C: part re-write of old kb code
14233 * WorkArea.C: remove Lgb_bug_find_hack
14235 2001-11-30 José Matos <jamatos@fep.up.pt>
14237 * buffer.C (makeDocBookFile): add a comment to point a hack.
14238 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14239 Fixed a double write of labels.
14241 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14244 * LaTeX.h Fixed bug in LaTeX class where it would not
14245 re-run latex if no depfiles were changed, but the .dvi was removed.
14247 2001-11-28 André Pönitz <poenitz@gmx.net>
14249 * all the files from the change on 2001/11/26:
14250 use lyx::layout_type instead of LyXTextClass::size_type
14251 use lyx::textclass_type instead of LyXTextClassList::size_type
14253 2001-11-29 Juergen Vigna <jug@sad.it>
14255 * text.C: added support for paragraph::isFreeSpacing()
14257 * buffer.C: same as above
14259 * paragraph.h: inserted isFreeSpacing() function to enable
14260 FreeSpacing inside InsetERT.
14262 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14263 of the paragraph's in the cut/copy buffer to 0!
14265 * text2.C (removeRow): remove the assert as it can!
14267 * lyxtext.h: added helper function firstRow returning firstrow and
14268 made firstrow private again.
14270 * BufferView2.C (lockInset): don't relock if we're already locked!
14272 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14273 the only paragraph.
14274 (removeRow): added Assert::(firstrow)
14276 * debug.C: forgot to add INSETTEXT here.
14278 2001-11-28 Juergen Vigna <jug@sad.it>
14280 * sp_spell.C (initialize): changed error text to more general
14281 spellchecker command use (not only ispell!)
14283 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14285 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14287 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14289 * vspace.C: initialise lyxgluelength on failure
14291 2001-11-28 Allan Rae <rae@lyx.org>
14293 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14294 declaration & definition that looks like a function declaration.
14296 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14298 * BufferView2.C (copy):
14299 (copyEnvironment): do not clear the selection when doing a copy.
14301 * text.C (paintFirstRow): compilation fix
14303 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14305 * tabular.C (Latex): correct line count when writing latex.
14307 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14309 * paragraph_pimpl.h:
14310 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14313 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14317 * LColor.C: change vfillline->added_space
14319 * text.C: add markers and text for added space
14321 * vspace.C: fix comment
14323 2001-11-28 André Pönitz <poenitz@gmx.net>
14325 * paragraph.C: whitespace changes
14326 * all the other files from the change on 2001/11/26:
14327 change *::pos_type into lyx::pos_type
14329 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14331 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14332 language of the document when inserting error insets.
14334 2001-11-26 André Pönitz <poenitz@gmx.net>
14336 * BufferView_pimpl.[Ch]:
14344 * paragraph_pimpl.[Ch]:
14347 * text2.C: reduce header dependencies, introduce type for positions
14349 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14351 * <various>: change to use Alert.h
14353 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14355 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14356 when encountering an unknown token.
14357 (readLyXformat2): Show an error message if there were unknown tokens.
14359 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14362 * BufferView_pimpl.C:
14366 * text2.C: use par->isInset()
14368 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14370 * paragraph_pimpl.h:
14371 * paragraph_pimpl.C: cleanup
14373 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14375 * text2.C (removeRow):
14376 * text.C (setHeightOfRow): remove useless (and costly) call to
14379 2001-11-20 Allan Rae <rae@lyx.org>
14381 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14382 Now need Inset*::checkInsertChar() to return true for appropriate
14383 cases so that the characters in the minibuffer will actually be
14386 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14388 * text.C: change the order of the includes.
14389 (workWidth): initialize it at once.
14390 (workWidth): make maxw unsigned
14391 (setHeightOfRow): remove unused variable (inset)
14392 (selectSelectedWord): remove unused variable (inset)
14393 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14395 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14397 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14398 server is not running.
14400 (closeConnection): add debug info when server is disabled.
14402 * ColorHandler.C (getGCForeground): send debug message to GUI
14405 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14407 * kbmap.C (bind): modify because return conventions of
14408 kb_sequence::parse have changed.
14410 * kbsequence.C (parse): only ignore spaces and not any stupid
14411 control character. This avoids tests like s[i] <= ' ', which are
14412 guaranteed to fail with 8bit characters and signed chars.
14413 Change return code to string::npos when there have been no error
14414 (0 was a bad idea when error is at first character)
14416 2001-11-14 José Matos <jamatos@fep.up.pt>
14419 * buffer.C (simpleDocBookOnePar): removed unused argument.
14421 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14423 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14424 insets which are part of a word. Paragraph::isLetter takes care of
14425 that now. Use Paragraph::isInset to identify insets.
14426 (selectSelectedWord): do not test for hyphenation break.
14428 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14429 that protected spaces are considered as spaces.
14431 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14434 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14437 * lyxserver.C: fix it. and small cleanup.
14439 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14441 * BufferView_pimpl.C: use inline helpers
14444 * LaTeXFeatures.C: fix typos
14447 * Spacing.C: move spacing_string into class
14449 * ToolbarDefaults.C: move stuff into namespace anon
14451 * layout.h: update enum
14453 * lyxfunc.C: use better debug
14455 * minibuffer.h: fix typo
14459 * WorkArea.C: add and use Debug::WORKAREA
14463 * text2.C: code re-organisation, inline helpers
14465 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14467 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14468 std::vector.empty().
14470 2001-11-09 Allan Rae <rae@lyx.org>
14472 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14473 '\n's after tables. Tabular and ERT inset work now makes this no
14476 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14479 * minibuffer.C: fix crash, improve drop-down completion
14481 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14484 * lyxserver.C: invalidate fd's when doing endPipe()
14486 2001-11-08 José Matos <jamatos@fep.up.pt>
14488 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14489 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14492 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14494 2001-11-07 José Matos <jamatos@fep.up.pt>
14497 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14500 * buffer.C (sgmlOpenTag):
14501 * buffer.C (sgmlCloseTag): removed debug info.
14503 * buffer.h (sgmlOpenTag):
14504 * buffer.h (sgmlCloseTag): made public.
14506 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14508 * buffer.C (saveParamsAsDefaults):
14509 * lyx_cb.C (MenuLayoutSave): remove
14511 * LyXAction.C (init):
14513 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14515 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14517 * buffer.C (setPaperStuff): removed from here...
14519 * bufferparams.C (setPaperStuff): ... and moved there.
14521 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14525 * XFormsView.C: add support for drop-down completion
14527 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14529 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14532 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14534 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14537 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14539 * lyx_main.C: change ref to known bugs
14541 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14543 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14544 to work around older babel problems.
14546 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14548 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14550 2001-10-24 Juergen Vigna <jug@sad.it>
14552 * tabular-old.C (ReadOld): below variable changes reflected.
14554 * tabular.[Ch]: added ltType struct for longtable header/footer
14555 defines and changed all instances where they are used. Added
14556 future support for double top/bottom rows.
14558 2001-10-24 José Matos <jamatos@fep.up.pt>
14560 * buffer.h (docbookHandleCaption):
14561 * buffer.C (docbookHandleCaption): removed unused function.
14562 (makeDocBookFile): moved docbook supported version to v4.1.
14564 2001-10-24 José Matos <jamatos@fep.up.pt>
14567 * tabular.C (docbookRow): new function to export docbook code of a row.
14568 (DocBook): now honors the longtable flags.
14570 2001-10-23 José Matos <jamatos@fep.up.pt>
14573 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14574 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14576 * buffer.C (makeLinuxDocFile):
14577 (makeDocBookFile): reworked the preamble, more clean, and with
14578 support for lyx defined entities. Changed the document declaration
14579 to be more XML friendly.
14581 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14582 if we need to output XML that should be done with a filter.
14584 2001-10-22 Juergen Vigna <jug@sad.it>
14586 * sp_pspell.h (class PSpell): add alive function needed in the
14587 controller to see if the spellchecker could be started.
14589 2001-10-22 Juergen Vigna <jug@sad.it>
14591 * buffer.C (insertStringAsLines): modify the font for inserting
14592 chars in certain conditions by calling checkInsertChar(font).
14594 2001-10-19 Juergen Vigna <jug@sad.it>
14596 * text.C (workWidth): use getRow instead of wrong algorithm.
14597 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14599 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14604 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14606 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14608 * text.C (workWidth): do not search for the exact row when
14609 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14610 optimization for big documents.
14612 2001-10-18 Juergen Vigna <jug@sad.it>
14614 * text.C (workWidth): new function with added Inset * parameter.
14616 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14620 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14621 change return type of getColumnNearX.
14624 * text.C (changeRegionCase): use uppercase/lowercase instead of
14627 (rightMargin): simplify code by factoring out the uses of
14632 (appendParagraph): use Paragraph::size_type
14634 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14636 * vspace.C (asLatexString): add a missing break
14638 2001-10-15 Herbert Voss <voss@perce.de>
14640 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14642 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14644 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14647 2001-10-10 André Pönitz <poenitz@gmx.net>
14649 * lyxfunc.C: removed greek_kb_flag.
14651 2001-10-10 Herbert Voss <voss@perce.de>
14653 * lyx_main.C: delete global string help_lyxdir.
14655 2001-10-09 Herbert Voss <voss@perce.de>
14657 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14659 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14661 * lyx_main.C: added global string help_lyxdir.
14663 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14665 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14667 * lyxrc.C (set_font_norm_type): support iso8859-4
14669 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14671 * LaTeX.C (deplog): add another regex for MikTeX
14673 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14675 * lyxrc.C (set_font_norm_type): support iso8859-3
14677 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14679 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14681 * LaTeXFeatures.C: remove special case of french and index
14683 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14684 before \begin{document}). This solves several incompatibilities.
14686 2001-10-03 Garst Reese <reese@isn.net>
14688 * lyx_cb.C: change CheckTex error msg.
14690 2001-10-03 José Matos <jamatos@fep.up.pt>
14692 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14694 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14696 * .cvsignore: update
14698 * lyx_main.C (commandLineVersionInfo): use new style version info.
14700 * buffer.C (writeFile):
14702 (makeLinuxDocFile):
14703 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14705 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14707 * version.h: update to use stuff in version.C
14709 * version.C.in: new file. Contains version information determined
14710 at compile time. This is a merging of version.h and
14713 2001-10-03 Juergen Vigna <jug@sad.it>
14715 * BufferView_pimpl.C (update): don't change "dirty" status in
14718 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14720 * WorkArea.C (c-tor): re-position version string slightly.
14722 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14724 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14725 revert to previous code.
14727 WorkArea.[Ch]: (show, destroySplash): methods removed.
14729 WorkArea.C: rework code so that it's an amalgam of the codes before and
14730 after the splash screen was moved to WorkArea.
14732 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14735 * vspace.C (inPixels):
14738 * buffer.C (insertStringAsLines):
14739 (asciiParagraph): fix types to be large enough
14741 * lyxlex_pimpl.h: change member status from short to int
14743 * layout.h: fix type of endlabeltype
14746 * kbsequence.C (parse): change return type to string::size_type
14748 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14751 * Bullet.C (bulletSize):
14752 (bulletEntry): do not use short ints as parameters
14754 * BufferView2.C (insertLyXFile): change a char to an int.
14756 * WorkArea.C (WorkArea): remove unneeded floats in computation
14758 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14760 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14762 * paragraph.C (asString): Do not ignore newline/hfill chars when
14763 copying to the clipboard.
14765 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14767 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14768 after a multi-line inset.
14770 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14772 * paragraph.C (validate): Set NeedLyXFootnoteCode
14774 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14776 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14777 and decrease-error to decrease.
14779 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14781 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14782 it more readable (should be equivalent)
14784 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14786 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14788 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14791 of a cursor (row, etc.) after a character has been deleted
14792 (deleteEmptyParagraphMechanism): call the method above on _all_
14793 cursors held by the LyXText when a double space has been
14796 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14798 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14800 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14802 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14803 background. Use greyOut() and the new show() methods to toggle between
14804 the foreground and background. Add code to remove the splash after
14805 its initial showing.
14807 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14808 (create_forms): no longer call Dialogs::showSplash.
14810 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14812 * .cvsignore: add version_info.h
14814 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14816 * version_info.h.in: new file
14818 * Makefile.am: add version_info.h.in
14820 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14821 version_info.h instead of VERSION_INFO
14823 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14825 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14826 The ERT inset now returns string().
14828 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14830 * lyxtext.h, text.C (selectNextWord): renamed as
14831 selectNextWordToSpellcheck.
14833 * text.C (selectNextWordToSpellcheck): Modified to not select
14834 words inside an ERT inset.
14836 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14838 * lyx_cb.C (MenuLayoutSave): change a bit the question
14840 * sp_base.h: include <sys/types.h>
14842 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14844 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14846 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14848 * several files: fix typos in user-visible strings
14850 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14852 * text2.C (pasteSelection): do not set the selection, since it
14853 will be cleared later. Actually, the intent was to fix the way the
14854 selection was set, but I figured rmoving the code was just as good.
14856 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14858 * FontLoader.C (available): Check if font is available without
14861 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14863 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14865 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14867 * lyxrc.[Ch]: added display_graphics variable and associated code.
14869 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14871 * bufferparams.C (hasClassDefaults): new method. Returns true if
14872 the buffer parameters correspond to known class defaults
14874 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14876 * XFormsView.C (show): set minimum size to the main window.
14878 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14880 * text2.C (copySelection):
14882 * lyxfind.C (LyXReplace):
14883 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14884 LyXText::selectionAsString.
14886 * paragraph.C (asString): add "label" argument to the second form
14888 * text2.C (selectionAsString): add "label" argument and pass it to
14889 Paragraph::asString.
14891 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14893 * lyx_main.C (commandLineHelp): remove version information
14895 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14897 * lyx_main.C: add -version commandline option
14899 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14901 * paragraph.h: make the optional constructor arg required instead.
14902 some modifications to other files because of this.
14904 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14906 * lyxserver.C (C_LyXComm_callback): make it static
14908 * lyx_main.C (error_handler): make it static
14910 * lyx_gui.C (LyX_XErrHandler): make it static
14912 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14914 * WorkArea.C: make the extern "C" methods static.
14916 * Makefile.am (lyx_LDADD): simplify
14918 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14920 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14921 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14923 * LyXAction.C (init):
14924 * lyxfunc.C (dispatch): associated code removal.
14926 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14928 * lyxfont.h (isSymbolFont): shut off warning
14930 * text.C (setHeightOfRow):
14931 (getVisibleRow): fix crash with empty paragraphs which have a
14934 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14936 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14939 2001-09-04 José Matos <jamatos@fep.up.pt>
14942 * tabular.C (docbook): rename docBook method to docbook.
14944 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14946 * Makefile.am: add dependencies to main.o.
14948 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14950 * FontLoader.C (available): Return false if !lyxrc.use_gui
14952 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14954 * FontInfo.C (query):
14955 * converter.C (view):
14956 * importer.C (Import):
14957 * exporter.C (Export): Can not -> cannot.
14959 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14961 * BufferView_pimpl.C: allow to create index inset even if
14964 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14966 * buffer.C (getLists): replace boost::tie code with an explicit pair
14967 as boost::tie can break some compilers.
14969 * iterators.h: Added a std:: declaration to the return type of
14972 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14974 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14977 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14979 * iterators.[Ch]: New files. Provide paragraph iterators.
14981 * buffer.C (changeLanguage): Use paragraph iterators.
14982 (isMultiLingual): ditto
14984 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14986 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14988 * FontLoader.C: Support for cmr font.
14990 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14992 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14993 (available): New method.
14995 * FontInfo.C (getFontname): Use scalable fonts even when
14996 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14999 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15001 * converter.C (Formats::view): reverted! Incorrect fix.
15003 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15005 * converter.C (Formats::view): only output the -paper option
15006 if the dvi viewer is xdvi, thereby fixing bug #233429.
15008 2001-08-23 Herbert Voss <voss@perce>
15010 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15012 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15014 * Spacing.h (Spacing): Set space to Default on in the default
15017 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15019 * vc-backend.h (RCS::versionString): add RCS to version
15020 (CVS::versionString): add CVS to version
15022 * vc-backend.C (scanMaster): do not add CVS to version.
15023 (scanMaster): do not add RCS to version
15025 * lyxvc.C (versionString): new method
15027 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15029 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15031 * Spacing.C (set): initialize fval
15033 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15035 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15038 2001-08-16 Juergen Vigna <jug@sad.it>
15040 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15042 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15044 * BufferView_pimpl.C:
15047 * text2.C: setParagraph takes linespacing now
15049 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15051 * LyxAction.C: add internal LFUN_CITATION_INSERT
15053 * LyXView.C: actually apply fix
15055 * bufferlist.C: fix open non-existent file
15057 * lyxfind.C: fix indentation
15059 * lyxfunc.C: remove unneeded assert, fix typo
15061 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15063 * MenuBackend.C: use "Floatname List"
15065 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15067 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15068 when converting LaTeX layout to insetERT.
15069 Generate a non-collapsed float when reading old float
15071 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15073 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15076 2001-08-13 Juergen Vigna <jug@sad.it>
15078 * text.C (fill): return 0 instead of 20 as this seems to be the more
15081 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15083 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15086 2001-08-13 Juergen Vigna <jug@sad.it>
15088 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15090 (SearchBackward): comment out the unlocking of the inset_owner this
15091 should not be needed!
15093 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15095 * Many files: Remove inherit_language, and add latex_language
15097 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15098 collapsible insets.
15100 2001-08-10 Juergen Vigna <jug@sad.it>
15102 * text.C (prepareToPrint): fixed hfill-width in draw!
15104 * BufferView2.C (selectLastWord): save the selection cursor as this
15105 now is cleared in the function LyXText::clearSelection!
15107 2001-08-08 Juergen Vigna <jug@sad.it>
15109 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15110 BACKSPACE type functions.
15112 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15113 is only cutted from the document but not put in the cut-buffer, where
15114 still the old stuff should be.
15116 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15118 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15120 * tabular.C (SetWidthOfCell): fixed special case where the width
15122 (LeftLine): handle '|' in align_special.
15124 (LeftAlreadyDrawed): ditto
15125 (SetWidthOfCell): ditto
15127 2001-08-07 Juergen Vigna <jug@sad.it>
15129 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15131 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15133 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15134 * lyxlex.[hC]: ditto
15136 2001-08-06 Juergen Vigna <jug@sad.it>
15138 * text.C (getVisibleRow): fix up row clearing a bit.
15140 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15142 * minibuffer.C: make sure the X server sees the changes in the input.
15144 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15146 * paragraph.C (getFont): split into...
15147 (getLabelFont): this
15148 (getLayoutFont): and this
15149 * paragraph_pimpl.C (realizeFont): calling this
15151 * text2.C (getFont): split into...
15152 (getLayoutFont): this
15153 (getLabelFont): and this
15154 (realizeFont): all three calling this
15156 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15159 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15161 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15163 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15165 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15166 layouts from the Quote inset insertion.
15168 2001-08-03 Juergen Vigna <jug@sad.it>
15170 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15172 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15173 only if status not is already CHANGED_IN_DRAW (second level).
15175 * text.C (draw): don't set the need_break_row when inside an
15178 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15180 * buffer.C (parseSingleLyXformat2Token): handle more latex
15183 * bufferview_funcs.[hC]: change function names to
15184 begin with small char, adjust other files.
15186 2001-08-02 André Pönitz <poenitz@gmx.net>
15189 BufferView_pimpl.C: remove broken special code for math-greek
15191 2001-08-02 Juergen Vigna <jug@sad.it>
15193 * BufferView_pimpl.C (update): redone this function so that we
15194 update the text again if there was a CHANGE_IN_DRAW.
15196 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15197 (drawFromTo): added a new internal bool which is used by draw() and
15199 (general): some cursor drawing problems fixed.
15201 2001-08-01 Juergen Vigna <jug@sad.it>
15203 * lyxfind.C (LyXFind): fixed
15204 (SearchForward): ditto
15205 (SearchBackward): ditto
15207 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15208 spurius drawing of the cursor in the main area.
15210 * text2.C (status): small fix which could lead to a segfault!
15211 (clearSelection): remove unneeded BufferView param.
15213 2001-08-01 André Pönitz <poenitz@gmx.net>
15215 * lyxfunc.C: small change due to changed mathed interface
15217 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15219 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15221 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15223 * lyxfunc.c: fail gracefully if file doesn't exist
15228 * BufferView_pimpl.C: IsDirWriteable() proto changed
15230 * LyXView.C: fix updateWindowTitle() to store the last title
15232 2001-07-31 Juergen Vigna <jug@sad.it>
15234 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15235 the font (wrong since using of Paragraph::highestFontInRange).
15237 * paragraph.C (highestFontInRange): added a default_size parameter.
15239 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15240 (setHeightOfRow): reformat
15242 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15244 * converter.[hC] + affected files: move to (inital-char)lowercase
15247 * ParagraphParameters.C (ParagraphParameters): remove commented code
15249 * PainterBase.[Ch]: remove commented code
15251 * LaTeXFeatures.h: add "bool floats" for float.sty
15253 * LaTeXFeatures.C (LaTeXFeatures): init floats
15254 (require): handle float
15255 (getPackages): do it with floats
15257 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15259 * BufferView_pimpl.C (Dispatch): improve handling of
15260 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15262 * commandtags.h: #include lyxfont.h here temporarily to avoid
15265 * bufferlist.h: include LString.h here.
15267 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15269 * text2.C (getStringToIndex): new method.
15271 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15273 * *: Reduced header file dependencies all over.
15275 2001-07-30 Baruch Even <baruch@lyx.org>
15277 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15279 2001-07-29 Baruch Even <baruch@lyx.org>
15281 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15283 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15285 * ParameterStruct.h (endif): add a default constructor to make
15286 sure that all variables is initialized.
15288 * ParagraphParameters.C (ParagraphParameters): adjust
15290 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15292 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15293 index; also, check that there is something to index, and that it
15294 does not span over several paragraphs.
15295 (doubleClick): use WHOLE_WORD_STRICT for double click.
15297 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15299 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15302 2001-07-26 Baruch Even <baruch@lyx.org>
15304 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15305 an InsetFig figure, backwards compatible reading of old figure code.
15307 2001-07-27 Juergen Vigna <jug@sad.it>
15309 * text2.C: font.realize function adaption.
15311 * text.C (draw): add a warnings lyxerr text if needed.
15313 * layout.C: font.realize function adaption.
15315 * language.C: add inherit_language and implement it's handlings
15317 * bufferview_funcs.C (StyleReset): remove language parameter from
15318 font creation (should be language_inherit now).
15320 * bufferparams.C (writeFile): handle ignore_language.
15322 * paragraph.C (getFontSettings): the language has to be resolved
15323 otherwise we have problems in LyXFont!
15325 * lyxfont.C (lyxWriteChanges): added document_language parameter
15326 (update): removed unneeded language parameter
15328 * paragraph.C (validate): fixed wrong output of color-package when
15329 using interface colors for certain fonts in certain environments,
15330 which should not seen as that on the final output.
15332 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15334 * BufferView_pimpl.C:
15339 * LyXAction.C: add thesaurus support
15342 * lyxfind.C: add "once" parameter, for thesaurus, to not
15343 move to the next match
15345 2001-07-26 Juergen Vigna <jug@sad.it>
15347 * lyxfont.C (realize): honor ignore_language too!
15350 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15352 * text.C (draw): one place more for ignore_language to not draw
15355 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15357 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15359 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15361 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15362 the minipage conversion problem.
15364 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15366 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15369 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15371 * BufferView.h: don't forward declare WorkArea
15373 * BufferView.C: don't include WorkArea.h
15375 2001-07-25 André Pönitz <poenitz@gmx.net>
15379 * lyxfunc.C: new LFUN 'math-space'
15381 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15383 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15385 * text2.C (toggleInset): call open/close
15387 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15389 * lyxfunc.C (dispatch): add debug for the disabled case
15391 * font.C (buttonText): make similar to rectText
15393 * buffer.C (readInset): comment out parsing of insetlist and
15396 * PainterBase.C (rectText): small correction
15398 * BufferView_pimpl.C: comment out insettheorem and insetlist
15399 * LyXAction.C: ditto
15400 * commandtags.h: ditto
15402 2001-07-24 Juergen Vigna <jug@sad.it>
15404 * text.C (draw): honor the ignore_language.
15406 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15408 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15410 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15413 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15415 * lyxtext.h: remove unused (and unimplemented) methods
15417 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15419 * text.C (getVisibleRow): honor background color
15422 * Painter.h: remove default color argument for fillRectangle
15424 * text.C (backgroundColor): new method
15426 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15428 * text.C (getVisibleRow): adjust
15430 * font.[Ch] (rectText): new method, metrics
15431 (buttonText): new method, metrics
15433 * PainterBase.[hC]: make rectText and buttonText always draw and take
15436 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15438 * ToolbarDefaults.C (read):
15439 * MenuBackend.C (read): allow escaping in all strings
15441 * BufferView_pimpl.C (insertAndEditInset): new method.
15442 (Dispatch): use insertAndEditInset whenever appropriate.
15444 * BufferView_pimpl.C (insertNote): removed
15446 * BufferView_pimpl.C (smartQuote): new method, moved from
15447 BufferView; if an insetquote cannot be inserted, insert a '"'
15450 * BufferView2.C: remove insertCorrectQuote();
15452 * lyxfunc.C (getStatus): Add support for all remaingin
15453 inset-insert lfuns.
15455 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15457 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15458 command (necessary to pass " as parameter of self-insert.
15460 * text.C (selectWordWhenUnderCursor):
15461 (selectWord): add word_location parameter
15462 (selectWordWhenUnderCursor): same + remove special code for word
15464 (selectNextWord): use kind() to guess type of insetspecialchar,
15467 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15468 (insertErtContents): create ert insets as collapsed.
15469 (readInset): better compatibility code for Info inset.
15471 2001-07-20 Juergen Vigna <jug@sad.it>
15473 * lyxfunc.C (dispatch): use always LyXFind now!
15475 * text2.C (init): add a reinit flag so that the LyXText can be
15476 reinited instead of deleted and reallocated (used in InsetText).
15478 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15484 2001-07-18 Juergen Vigna <jug@sad.it>
15486 * text.C (selectNextWord): handle insets inside inset by calling
15487 always the bv->text functions so that we can go up the_locking_inset!
15489 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15490 in strange locations when inside an inset!
15492 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15493 handling to include insets.
15495 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15497 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15499 * LyXAction.C (init):
15501 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15502 LIGATURE_BREAK, since the name is so stupid.
15504 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15506 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15509 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15511 * sp_form.[Ch]: remove.
15513 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15515 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15518 * src/buffer.C (readInset): ditto.
15520 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15522 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15523 menuSeparator(), endOfSentenceDot(), ldots() and
15524 hyphenationPoint(), which are therefore removed.
15525 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15527 * LyXAction.C (init):
15528 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15530 * paragraph.C (getWord): removed.
15532 * BufferView_pimpl.C (Dispatch): use last word or selection for
15533 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15535 * lyx_main.C (queryUserLyXDir): do not ask before creating
15536 user_dir, except if it has been named explicitely.
15538 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15540 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15541 a document of zero size.
15543 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15545 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15546 approriately in the c-tor and in require().
15547 (getPackages): output the appropriate LaTeX for natbib support.
15549 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15550 variables "use_natbib" and "use_numerical_citations" when reading the
15552 (readInset): read the various natbib cite commands.
15553 (validate): white-space change.
15555 * bufferparams.[Ch]: new variables "bool use_natbib" and
15556 "bool use_numerical_citations".
15557 (writeFile): output them in the LyX file.
15559 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15561 * lyxfunc.C (getStatus): add support for all the inset insertion
15564 * text2.C (insertInset):
15565 * paragraph.C (insetAllowed):
15566 * BufferView_pimpl.C (insertInset): update to take in account the
15567 renaming of insertInsetAllowed
15569 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15571 * text2.C (getInset): new method. returns inset at cursor position.
15573 * BufferView_pimpl.C (Dispatch): changes because of this.
15575 * LyXAction.C (init): rename open-stuff to inset-toggle.
15577 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15579 * text2.C (toggleInset): renamed from openStuff; use
15582 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15584 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15586 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15588 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15590 * buffer.C (readLyXformat2): Add filename to the error dialog
15592 2001-07-18 Juergen Vigna <jug@sad.it>
15594 * tabular.C (GetCellNumber): put an assert here instead of the check!
15596 2001-07-17 Juergen Vigna <jug@sad.it>
15598 * BufferView_pimpl.C (toggleSelection): adapted too.
15600 * text.C (selectNextWord): adapted for use with insets.
15601 (selectSelectedWord): ditto
15603 2001-07-17 Juergen Vigna <jug@sad.it>
15605 * sp_spell.C (PSpell): fix initialitation order.
15607 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15609 * paragraph.C: spacing
15611 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15613 * sp_spell.C: repair language selection for pspell
15615 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15617 * lyxfunc.h: change more methods to begin with lower char.
15619 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15621 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15622 for unknown layouts.
15624 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15626 * buffer.C (readLyXformat2): Generate an error dialog if there are
15629 2001-07-16 Juergen Vigna <jug@sad.it>
15631 * sp_spell.C: always compile ISpell part.
15633 * lyxrc.C: added use_pspell entry and it's handling.
15635 2001-07-13 Juergen Vigna <jug@sad.it>
15637 * sp_spell.C: removed double includes.
15639 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15641 Consistent use of Lsstream.h:
15642 * Lsstream.h: added using std::stringstream for consistencies sake.
15644 * buffer.C: removed using std::stringstream
15646 * lyxfont.C (stateText):
15647 * paragraph.C (asString):
15648 * text.C (selectNextWord, selectSelectedWord):
15649 * text2.C (setCounter):
15650 * vspace.C (asString, asLatexString):
15651 std::ostringstream -> ostringstream.
15653 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15655 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15656 * commandtags.h: add LFUN_HELP_ABOUTLYX
15657 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15659 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15661 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15663 * lyx_gui_misc.C: remove spellchecker
15664 * lyxfunc.C: showSpellchecker
15666 * sp_ispell.h: added
15667 * sp_pspell.h: added
15668 * sp_spell.C: added
15669 * sp_form.[Ch]: removed
15670 * spellchecker.[Ch]: removed
15672 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15674 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15676 (simpleTeXSpecialChars): Simply print the input character without
15677 any special translation if pass_thru is set.
15679 * layout.h: Added bool pass_thru to layout class for being able to
15680 implement pass through of a paragraph for Literate Programming.
15682 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15683 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15684 * layout.C (Read): add "passthru" to list of layout tags and add
15685 code to set the pass_thru boolean when it is read.
15687 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15689 * trans_decl.h: remove allowed from KmodInfo
15691 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15692 remove allowed code
15695 * paragraph_pimpl.C (erase): use boost::prior
15697 * Painter.C (text): use data() instead of c_str() when length is
15699 * WorkArea.C (putClipboard): ditto
15700 * font.h (width): ditto
15702 * BufferView2.C: use it-> instead of (*it). for iterators
15704 * paragraph_pimpl.C: ditto
15705 * paragraph.C: ditto
15706 * minibuffer.C: ditto
15707 * language.C: ditto
15709 * encoding.C: ditto
15710 * counters.C: ditto
15711 * converter.C: ditto
15713 * Variables.C: ditto
15714 * TextCache.C: ditto
15715 * MenuBackend.C: ditto
15716 * LyXAction.C: ditto
15718 * FloatList.C: ditto
15719 * DepTable.C: ditto
15720 * ColorHandler.C (LyXColorHandler): ditto
15722 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15724 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15726 * text2.C (openStuff): reintroduce this method (which had been
15727 nuked in NEW_INSETS frenzy).
15729 * lyxfunc.C (Dispatch): when an action has not been handled, use
15730 its name in the error message, not its number.
15732 * paragraph.C (inInset): change method name to begin with lowercase.
15735 * text2.C: updates because of this.
15737 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15739 * ToolbarDefaults.C (add): add spaces in error message
15741 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15743 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15744 (readLyXformat2): rename return_par to first_par, use lyxlex's
15745 pushToken and remove the manual push handling.
15746 (parseSingleLyXformat2Token): add another ert comp. variable:
15747 in_tabular, rename return_par to first_par. handle newlines better
15749 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15751 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15753 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15755 * text2.C (getParFromID): removed
15757 * buffer.C (getParFromID): new method moved form lyxtext.
15758 * BufferView2.C (insertErrors): adjust
15759 (setCursorFromRow): adjust
15760 * BufferView_pimpl.C (restorePosition): adjust
15761 * lyxfunc.C (Dispatch): adjust
15762 * undo_funcs.C (textUndo): adjust
15764 (textHandleUndo): adjust
15765 (textHandleUndo): adjust
15767 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15769 * buffer.C: up' the LYX_FORMAT
15771 * lyxfont.h: turn NO_LATEX on as default
15773 * buffer.C (insertErtContents): new methods of tex style compability.
15774 (parseSingleLyXformat2Token): use it several places.
15775 * tabular.C (OldFormatRead): and here
15777 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15779 * text2.C: remove some commented code.
15782 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15783 * trans.C: changes because of the above.
15785 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15787 * text2.C (setCounter): Fix counters bug with bibliography layout.
15789 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15791 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15792 own member functions
15793 (simpleTeXSpecialChars): ditto
15795 2001-07-06 Juergen Vigna <jug@sad.it>
15797 * a lot of files: changed the access to LyXText::status and the
15798 call of undo-functions.
15800 * undo.[Ch]: added a inset_id to the undo informations.
15802 * undo_funcs.[Ch]: added and moved here all undo functions.
15804 * lyxtext.h: give the status enum a weight, made status_ a private
15805 variable and made accessor functions for it, removed the whole bunch
15806 of undo-functions as they are now in their own file, make some
15807 functions publically available. Added function ownerParagraph with
15810 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15811 made InInset() a const function, added getParFromID() function.
15813 * buffer.[Ch]: added const version for inset_iterator functions,
15814 added getInsetFromID() function.
15816 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15817 changed undo functions for new version.
15819 2001-07-05 Juergen Vigna <jug@sad.it>
15821 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15822 unknow mechanism does not call the proper constructor but only this
15823 one also if I request the other!?
15825 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15827 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15829 * text2.C (LyXText): use initialization lists.
15831 * lyxtext.h (Selection): initialize set_ and mark_
15832 (init): remove method
15834 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15836 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15838 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15840 * screen.[Ch]: change method names to begin with lowercase
15842 * BufferView_pimpl.C (updateScrollbar): simplify further and
15843 hopefully make it a bit faster.
15845 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15847 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15848 calling directly xforms functions.
15850 * Painter.C (Painter):
15851 * lyx_cb.C (MenuWrite):
15852 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15855 * lyx_gui.C: remove bogus guiruntime extern declaration.
15857 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15859 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15861 (redoDrawingOfParagraph): ditto
15862 (redoParagraphs): ditto
15863 (cutSelection): don't create a object for CutAndPaste use the
15864 static method directly
15865 (pasteSelection): ditto
15867 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15870 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15872 * modifications to some other files because of this.
15874 * Makefile.am (lyx_SOURCES): add XFormsView
15876 * XFormsView.[Ch]: new files
15878 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15879 the main window. Move the gui dependent stuff to XFormsView
15881 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15883 * tabular.C (GetCellInset): update cur_cell also in the row/col
15884 version of this function.
15886 * lyxfunc.C: no need to include figure_form.h here.
15892 * lyxvc.C: no need to include forms.h here.
15894 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15896 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15898 * lyxfunc.C (Dispatch):
15900 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15901 constructor argument.
15903 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15905 * paragraph.C (Paragraph): dont't clear, and just set layout.
15906 (makeSameLayout): use params's copy contructor.
15908 * ParagraphParameters.[Ch] (makeSame): delete method
15910 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15912 * Variables.[Ch]: fix indentation, rename set to isSet
15914 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15916 * lyxfunc.C (Dispatch): fix typo
15918 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15920 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15923 * bufferlist.C: include assert.h for emergencyWrite().
15925 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15927 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15928 give up at last (bug #425202) !
15930 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15936 * spellchecker.C: strip spellchecker options and bring up
15937 preferences tab instead
15939 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15941 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15942 the istringstream constructor
15944 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15946 * paragraph.C (getLayout): fix return value
15948 * paragraph.h: do not declare getLayout as inline.
15950 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15952 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15954 * lyxcursor.h (operator<): new func
15955 (operator>): new func
15956 (operator>=): new func
15957 (operator<=): new func
15959 * text.C (changeCase): use selection.start and selection.end
15960 (changeRegionCase): require from to be <= to. Require par to be a
15963 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15965 2001-06-27 Juergen Vigna <jug@sad.it>
15967 * text.C (cursorLeftOneWord): changed to return the cursor and added
15968 overlay with BufferView * parameter which calls this one.
15970 (selectWord): use new getWord function.
15971 (changeCase): renamed from changeWordCase as and extended to work
15972 also on selections.
15974 * lyxtext.h: added enum word_location
15976 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15977 changeCase as this operates now also on selections.
15979 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15981 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15983 * many files: send debug output to Debug::INFO instead of
15986 * converter.C (View):
15988 (Move): send debug output to Debug::FILES instead of console.
15990 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15992 * lyxfunc.C (getStatus): use func_status
15994 * func_status.h: new header, describing the results of
15995 LyXFunc::getStatus;
15997 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16000 2001-06-25 The LyX Project <jug@sad.it>
16002 * buffer.C (sgmlOpenTag):
16004 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16006 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16008 * text2.C: remove some dead code
16010 * tabular.C (GetCellInset): store the last cell checked (gotten)
16012 * tabular.h: add the helper for the speedup
16014 * lyxtext.h: remove some dead code
16016 2001-06-26 The LyX Project <Asger>
16018 * paragraph.C: Change export to LaTeX of alignment to
16019 \begin{center} and family for better roundtrip work with reLyX.
16021 * Tune the math drawing a bit.
16023 2001-06-25 The LyX Project <Asger>
16025 * LColor.C (LColor): New color for math background. New color
16028 2001-06-25 The LyX Project <jug@sad.it>
16030 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16032 * lyxfunc.C (Open):
16033 * bufferlist.C (newFile): do not restrict to files ending with
16036 * BufferView_pimpl.C (MenuInsertLyXFile):
16038 2001-06-24 The LyX Project <jug@sad.it>
16040 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16043 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16045 * lyxtext.h: rename most methods to begin with a small char.
16046 Lots of changes because of this.
16048 * paragraph.C (Paragraph): do not call fitToSize
16049 (erase): call Pimpl::erase
16050 (insertChar): call Pimpl::insertChar
16051 (insertInset): call Pipl::insertInset
16052 (breakParagraph): do not call fitToSize
16053 (breakParagraphConservative): do not call fitToSize
16054 (fitToSize): remove method
16056 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16058 2001-06-24 The LyX Project <Asger>
16060 * Fix Qt compilation^2
16062 2001-06-24 The LyX Project <jug@sad.it>
16064 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16065 depthHook(getDepth()-1).
16068 * ParagraphParameters.h:
16069 * ParameterStruct.h: change type of depth to unsigned int ==
16070 depth_type. Many adaptations to other files before of that.
16072 2001-06-24 The LyX Project <Asger>
16074 * Fix Qt compilation.
16076 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16078 * paragraph.h: renamed several methods to begin with small letter.
16079 several changes to many parts of the code because of this.
16081 2001-06-23 The LyX Project <jug@sad.it>
16083 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16084 rewritten to discard all double spaces when KeepEmpty is off
16085 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16086 to only handle newlines but not fiddle with spaces and friends.
16088 * lyxfunc.C (MenuNew): when doing 'new from template', use
16089 template_path as default directory
16091 2001-06-23 The LyX Project <Asger>
16093 * Clean-up of header file includes all over
16094 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16096 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16098 * paragraph.h: renamed from lyxparagraph.h
16100 2001-06-23 Asger <lyx@violet.home.sad.it>
16102 * Buffer.h: Removed Buffer::resize
16103 * BufferList.h: Removed BufferList::resize
16104 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16105 the document lazily when we change the width, or the font settings.
16107 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16109 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16111 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16113 * buffer.h: remove out of date comment
16115 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16118 * screen.C: fix "theoretical" GC leak
16120 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16122 * LaTeX.C (scanAuxFile):
16123 (deplog): remove trailing \r when reading stream (useful under
16126 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16128 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16129 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16130 and BufferView::theLockingInset(Inset*), so should use them and not
16131 access bv_->text->the_locking_inset directly.
16133 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16135 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16138 * tex-defs.h: remove old unused file
16140 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16142 * BufferView_pimpl.C: fix typo, remove minibuffer message
16143 when buffer has loaded
16145 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16147 * lyxfunc.C (Dispatch): use stringstream
16148 (MenuNew): use stringstream
16149 (Open): use stringstream
16151 * importer.C (Import): use stringstream
16153 * bufferview_funcs.C (CurrentState): use stringstream
16155 * LaTeX.C (run): use stringstream
16157 * BufferView_pimpl.C (savePosition): use stringstream
16158 (restorePosition): use stringstream
16159 (MenuInsertLyXFile): use stringstream
16161 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16174 * vspace.C: removed // -*- C++ -*- as first line.
16177 * version.h: added // -*- C++ -*- as first line.
16179 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16181 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16183 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16186 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16188 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16191 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16193 * gettext.C: include LString.h even when --disable-nls is on.
16195 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16197 * converter.h (Get): changed argument type from int to
16198 FormatList::size_type to avoid unnecessary conversion.
16200 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16203 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16205 * gettext.h: include LString.h even when --disable-nls is on.
16207 2001-06-07 Juergen Vigna <jug@sad.it>
16209 * text.C (BreakAgain): subst spaces with tabs.
16211 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16212 (resizeInsetsLyXText): set force on resizeLyXText.
16214 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16216 * gettext.h (gettext_init):
16217 (locale_init): use a real definition instead of a macro
16219 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16221 * Bufferview_pimpl.C:
16223 * LColor.C: further lcolor tidies
16225 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16227 * BufferView_pimpl.C (updateScrollbar): simplify.
16229 * BufferView2.C: don't include insets/insetinfo.h, change
16230 prototype for insertInset and call the Pimpl version. let
16231 updateInset call Pimpl version.
16233 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16234 gotoInset to BufferView::Pimpl
16236 2001-06-01 Juergen Vigna <jug@sad.it>
16238 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16239 inside a LockingInset (is the update needed at all?).
16241 2001-05-31 Juergen Vigna <jug@sad.it>
16243 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16244 here not the old one otherwise how should we compare it afterwards
16247 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16252 * FontInfo.C: bring C functions into global namespace when
16255 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16257 * LString.h: make sure config.h has been loaded before LString.h.
16259 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16260 (one for each char read by EatLine!).
16262 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16265 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16267 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16268 to the same as the par we break from
16270 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16272 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16274 * MenuBackend.C (expand): also create menu entries for wide
16275 versions of the floats.
16277 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16279 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16281 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16282 frontends/Makefile.am
16288 * tabular.C (getTokenValue): add std::
16290 * tabular-old.C (getTokenValue): add std::
16291 (getTokenValue): ditto
16292 (getTokenValue): ditto
16294 * screen.C (ToggleSelection): adjust
16296 * lyxtext.h: put selection cursors inside a Selection struct.
16298 * lyxfunc.C (moveCursorUpdate): adjust
16300 * lyxfont.C (latexWriteStartChanges): add std::
16302 * lyxfind.C: adjust
16304 * font.h: delete with(char const *, LyXFont const &)
16306 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16308 * FontInfo.C (getFontname): add std::
16310 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16311 (workAreaButtonPress): adjust
16312 (tripleClick): adjust
16314 (moveCursorUpdate): adjust
16317 * BufferView2.C (gotoInset): adjust
16319 2001-05-30 Juergen Vigna <jug@sad.it>
16321 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16322 to check pspell I add this as default as I now have new pspell
16323 libraries and they seem to use this.
16325 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16327 * text2.C (CutSelection): make the cursor valid before the call to
16330 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16332 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16333 relied on 0 terminated strings and other horrors. Bug found due to
16334 the new assert in lyxstring!
16336 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16339 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16341 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16344 * lyxfunc.C (processKeySym): change method of getting to the
16347 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16348 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16349 * BufferView_pimpl.[Ch]: here as private methods.
16351 2001-05-28 Juergen Vigna <jug@sad.it>
16353 * text.C (SetHeightOfRow): added the update() call again as it is
16354 needed to initialize inset dimensions!
16356 2001-05-16 Juergen Vigna <jug@sad.it>
16358 * text2.C (SetCharFont): Add new function with BufferView * and
16359 bool toggleall parameters for setting insets internal fonts.
16360 (SetFont): Freeze the undo as we may change fonts in Insets and
16361 all this change should be inside only one Undo!
16363 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16364 setting font's in insets as for them we have the SetFont function!
16366 2001-05-15 Juergen Vigna <jug@sad.it>
16368 * text2.C (ClearSelection): to be sure we REALLY don't have any
16371 * tabular.C (TeXCellPreamble): fixed the left border problem for
16374 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16376 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16379 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16381 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16382 LFUN_BREAKPARAGRAPH.
16384 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16385 help test to "internal only", similar for LFUN_INSERT_URL
16387 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16388 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16389 auto_region_delete and deadkeys.
16391 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16394 * LColor.C: remove some dead entries, tidy a little
16396 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16398 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16400 (Dispatch): implement LFUN_ESCAPE
16402 * commandtags.h: add LFUN_ESCAPE
16404 * LyXAction.C (init): add entry for LFUN_ESCAPE
16406 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16407 Remove commented code.
16408 (insertNote): moved here
16409 (open_new_inset): moved here
16411 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16414 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16416 * kbmap.C (findbinding): clean it up and make it work correctly.
16418 * lyx_main.C (init): do not pass argc and argv as parameters
16420 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16422 * buffer.C: fix path for OS/2 & Win32
16426 * lyx_main.C: Added os:: class.
16428 * os2_defines.h: update
16430 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16432 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16433 better by trying again with reduced state.
16435 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16437 * lyxrc.C (read): print error about invalid key sequence only when
16438 debugging (because not all latinX keysyms are known to some X
16441 * kbsequence.C (getiso): add a few std:: qualifiers
16442 (getiso): comment out extra return statement.
16444 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16446 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16448 (Dispatch): enhance the accent inset a bit. (not perfect)
16450 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16452 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16454 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16456 * bufferlist.C (emergencyWrite): fix assert() call
16458 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16460 * text.C (InsertChar): Added trivial patch to only send the "you
16461 can not do multiple spaces this way" message once during a
16464 2001-05-08 Baruch Even <baruch@lyx.org>
16466 * Makefile.am: Changed order of libraries to get LyX to link properly
16467 with the gnome frontend.
16469 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16471 * LaTeXFeatures.h: add a std:: qualifier
16473 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16475 * paragraph.C (String): use stringstream
16477 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16479 * paragraph.C (writeFile): remove footflag arg
16481 * buffer.C (makeLaTeXFile): use stringstream
16482 (latexParagraphs): remove footnot gurba
16484 * LaTeXFeatures.C (getPackages): use stringstream
16485 (getMacros): likewise
16486 (getTClassPreamble): likewise
16487 (getFloatDefinitions): new method
16489 * paragraph.C (writeFile): reindent
16492 * WorkArea.h: revert the xpos + etc changes.
16494 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16496 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16498 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16499 (pasteSelection): likewise
16500 * text2.C (CreateUndo): likewise
16502 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16504 * minibuffer.C (peek_event): temporarily reduce the functionality
16505 of the minibuffer (to allow args on lfuns)
16507 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16508 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16510 * buffer.C (readInset): add compability reading of old float
16511 lists, add reading of new style float list.
16512 (readInset): avoid reevaluation of inscmd.getCmdName()
16513 (getLists): reindent
16515 * MenuBackend.C (MenuItem): implement parsing of
16516 md_floatlistinsert and md_floatinsert.
16517 (expand::LastFiles): move initalizaton of iterators out of loop,
16518 avoid reevaluation.
16519 (expand::Documents): introduce typdedef vector<string> Strings,
16521 (expand::ExportFormats): introduce typedef vector<Format const *>
16522 Formats, and use it.
16523 (expand): implement FloatListInsert and FloatInsert.
16525 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16526 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16527 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16529 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16531 (Dispatch::LFUN_FLOAT_LIST): implement
16533 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16535 * LaTeX.C (run): Fix problem with --export code.
16537 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16539 * BufferView.[Ch] (workarea): removed.
16540 (getClipboard) new method; wrapper for workarea()->getClipboard()
16542 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16545 * WorkArea.h (width, height, xpos, ypos): These methods all
16546 returned the dimensions of the work_area sub-area of WorkArea,
16547 resulting in a position error if the WorkArea were resized. Now
16548 return the dimensions of the entire WorkArea.
16550 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16552 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16554 * LaTeX.C (deplog): correct the syntax of regex reg1
16556 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16558 * undo.C: remove !NEW_INSETS cruft
16560 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16562 * text2.C: remove !NEW_INSETS cruft
16564 * text.C: remove !NEW_INSETS cruft
16566 * tabular.C: remove !NEW_INSETS cruft
16568 * spellchecker.C: remove !NEW_INSETS cruft
16570 * lyxtext.h: remove !NEW_INSETS cruft
16572 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16574 * lyxfunc.C: remove !NEW_INSETS cruft
16576 * lyxfind.C: remove !NEW_INSETS cruft
16578 * lyx_cb.C: remove !NEW_INSETS cruft
16580 * figureForm.C: remove !NEW_INSETS cruft
16582 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16584 * buffer.[Ch]: remove !NEW_INSETS cruft
16586 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16588 * CutAndPaste.C: remove !NEW_INSETS cruft
16590 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16592 * BufferView2.C: remove !NEW_INSETS cruft
16594 * BufferView.h: remove !NEW_INSETS cruft
16596 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16598 * Lsstream.h: include LString.h before the sstream headers to
16599 fix problem with gcc 2.95.3 and lyxstring
16601 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16603 * lyx_main.C: add using directives when needed for C functions
16604 declared in std:: namespace.
16606 2001-04-27 Juergen Vigna <jug@sad.it>
16608 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16609 (SetHeightOfRow): comment out the update call should not be needed!
16611 2001-04-13 Juergen Vigna <jug@sad.it>
16613 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16614 (LyXTabular): tried to minimize operator= operations (and realized
16615 hopfully Lars wish).
16617 2001-04-27 Juergen Vigna <jug@sad.it>
16619 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16621 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16623 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16625 * buffer.C (readInset): hack to make listof algorithm work
16627 * BufferView_pimpl.C: hack to make listof algorithm work
16629 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16631 * LyXAction.C: removed all !NEW_INSETS cruft
16632 (init): moved lfun_item in method
16634 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16636 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16638 * BufferView2.C (theLockingInset): white space.
16640 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16642 * minibuffer.C: include <iostream>
16644 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16646 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16648 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16650 * text.[Ch] (TransposeChars): new method
16652 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16654 * call message directly through LyXView instead of through LyXFunc
16655 * BufferView2.C: adjust
16656 * BufferView_pimpl.C: adjust
16657 * FontLoader.C: adjust
16659 * bufferview_funcs.C: adjust
16660 * converter.C: adjust
16661 * figureForm.C: adjust
16662 * importer.C: adjust
16664 * lyx_gui_misc.C: adjust
16665 * lyxfunc.C: adjust
16668 + more files in subdirs
16670 * lyxparagraph.h (size): move up int file
16673 * adjust all uses of Assert to lyx::Assert.
16675 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16676 lyxfunctional in namespace lyx
16677 * layout.C (hasLayout): ditto
16680 (delete_layout): ditto
16681 (NumberOfClass): ditto
16682 * converter.C (GetFormat): ditto
16687 * bufferlist.C (getFileNames): ditto
16688 (emergencyWriteAll): ditto
16691 * MenuBackend.C (hasSubmenu): ditto
16694 * BufferView_pimpl.C (getInsetByCode): ditto
16696 2001-04-18 Juergen Vigna <jug@sad.it>
16698 * vspace.C (asLatexString): fixed the 100% problem.
16700 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16702 * lyxfunc.C (Dispatch):
16704 * minibuffer.h: add a few std:: qualifiers
16706 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16708 * minibuffer.[Ch]: reimplement so that commands is initiated and
16709 run from lyxfunc, simplified som handling, and made the completion
16710 and history code for complete. wip.
16712 * lyxfunc.C (processKeySym): call message
16713 (miniDispatch): new temporary method
16714 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16715 (LFUN_MESSAGE): implement
16716 (LFUN_MESSAGE_PUSH): implement
16717 (LFUN_MESSAGE_POP): implement
16718 (initMiniBuffer): the initial/defualt minibuffer message.
16720 * lyxfont.[Ch]: inline some more getters
16722 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16724 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16726 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16727 (AutoSave): use LFUN_MESSAGE
16728 (Reconfigure): ditto
16730 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16732 * figureForm.C: use LFUN_MESSAGE
16734 * converter.C (runLaTeX): use LFUN_MESSAGE
16736 * bufferview_funcs.C: use LFUN_MESSAGE
16738 (changeDepth): ditto
16740 * bufferparams.h: use boost::
16742 * bufferlist.h: inherit privately from noncopyable
16744 * bufferlist.C (loadLyXFile): remove some commented code.
16746 * buffer.C (runChktex): use LFUN_MESSAGE
16748 * ShareContainer.h: inherit privately from noncopyable
16750 * ParagraphParameters.[hC] (depth): inline it.
16752 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16754 (message): new method
16755 (messagePush): ditto
16756 (messagePop): ditto
16757 (show): init minibuffer
16758 (showState): direct call
16760 * LaTeX.[Ch]: inherit privately from noncopyable
16761 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16762 instead of WriteStatus.
16764 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16766 * BufferView_pimpl.C (buffer): don't init minibuffer
16767 (workAreaButtonPress): use LFUN_MESSAGE
16768 (workAreaButtonRelease): ditto
16769 (savePosition): ditto
16770 (restorePosition): ditto
16771 (MenuInsertLyXFile): ditto
16772 (workAreaExpose): don't init minibuffer
16773 (update): remove commented code, simplify
16775 * BufferView2.C (openStuff): use LFUN_MESSAGE
16776 (toggleFloat): ditto
16779 (copyEnvironment): ditto
16780 (pasteEnvironment): ditto
16785 (updateInset): remove some commented code
16787 * lastfiles.h: inherit privately from noncopyable
16790 * lyx_main.h: ditto
16792 * lyxlex_pimpl.h: ditto
16794 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16795 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16796 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16798 * LyXAction.h: inherit privately from noncopyable, add methods
16799 func_begin, func_end, returning iterators to the func map.
16801 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16802 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16803 (func_begin): new method
16804 (func_end): new method
16806 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16808 (copySelection): ditto
16809 (pasteSelection): ditto
16811 * BufferView.C: whitespace change
16812 * BufferView.h: inherit privately from noncopyable
16814 2001-04-16 Allan Rae <rae@lyx.org>
16816 * tabular-old.C (l_getline):
16817 * spellchecker.C (sc_check_word):
16818 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16819 an unrecognised preprocessor directive. So ensure they're wrapped.
16821 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16823 * src/exporter.C (Export): Give an error message when path to file
16826 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16828 * LaTeX.C (deplog): Always check that foundfile exists.
16830 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16833 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16835 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16837 * tabular.[Ch] (getLabelList): implement new method
16839 * minibuffer.h: comment ouf setTiimer
16841 * minibuffer.C (ExecutingCB): constify res
16842 (peek_event): constify s
16843 (Set): constify ntext
16844 (Init): constify nicename
16846 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16848 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16849 (savePosition): use two params to Minibuffer::Set
16850 (restorePosition): ditto
16852 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16854 * lyx_main.C: include language.h
16856 * Makefile.am (lyx_main.o): add language.h
16858 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16864 * CutAndPaste.C: include gettext.h
16866 * lyxfont.h: remove old hack with ON and OFF.
16869 * lyxfont.h: do not include language.h...
16874 * bufferview_funcs.C:
16880 * paragraph.C: ... but do it here instead
16882 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16884 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16886 * tabular.C: small reformat
16888 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16891 (BreakParagraph): ditto
16892 (SetOnlyLayout): ditto
16895 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16898 * lastfiles.C: removed most using decl, add std:: where needed
16900 * buffer.C: ws changes
16902 * MenuBackend.C (class compare_format): put into anon namespace
16903 (expand): constify label, names, action, action2
16906 * text.C (SingleWidth): constify font
16907 (IsBoundary): constify rtl2
16908 (GetVisibleRow): constify ww
16910 * LaTeX.C (deplog): constify logfile
16912 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16914 (workAreaExpose): constify widthChange, heightChange
16916 * lyxrow.C (par): moved
16919 * lyxrow.h: as inlines here
16921 * lyxfont.h (shape): moved from lyxfont.C
16922 (emph): moved from lyxfont.C
16924 * lyxfont.C (LyXFont): use initialization list for all
16926 (shape): move to lyxfont.h as inline
16927 (emph): move to lyxfont.h as inline
16930 2001-04-04 Juergen Vigna <jug@sad.it>
16932 * vspace.C: had to include stdio.h for use of sscanf
16934 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16937 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16938 independent of xforms.
16940 2001-04-02 Juergen Vigna <jug@sad.it>
16942 * spellchecker.C: fixed namespace placing!
16944 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16946 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16947 the LyXParagraph * is 0.
16949 2001-03-29 Juergen Vigna <jug@sad.it>
16951 * vspace.C: added support for %, c%, p%, l%.
16952 (stringFromUnit): added helper function.
16953 (asLatexString): changed to give right results for the %-values.
16955 * buffer.C: convert the widthp in a width%.
16957 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16959 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16962 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16963 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16965 * lyx_cb.[Ch]: see above.
16967 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16971 * lyx.[Ch]: replaced by figure_form.[Ch].
16975 * lyxfunc.C: changed headers associated with above changes.
16977 2001-03-27 Juergen Vigna <jug@sad.it>
16979 * BufferView_pimpl.C: set the temporary cursor right!
16981 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16983 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16985 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16987 * LString.h: removed "using std::getline"!
16989 * BufferView_pimpl.C (Dispatch): changes due to changes in
16990 InsetInclude::Params.
16992 * buffer.C (tag_name): removed redundant break statements as they were
16993 producing lots of warnings with my compiler.
16995 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16997 * LString.h: add "using std::getline" when using the real <string>.
16999 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17001 * buffer.C: removed bitset usage.
17002 PAR_TAG moved to an anonymous name space.
17003 (tag_name): new funtion, also in the anonymous namespace.
17004 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17005 (makeDocBookFile): clean code. Completed transition from string arrays
17007 (SimpleDocBookOnePar): code clean.
17009 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17011 * tabular.C: add some comments.
17013 2001-03-22 Juergen Vigna <jug@sad.it>
17015 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17016 compatibility read a bit and fixed bug with minipage in different
17019 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17021 * buffer.C (pop_tag): removed.
17022 (push_tag): removed.
17023 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17024 array replaced with vector. Added support for CDATA sections.
17025 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17027 (makeDocBookFile): XML conformant declaration of CDATA section,
17028 fixed bug related to <emphasis> in the first paragraph char.
17029 (sgmlOpenTag): exclude empty tags.
17030 (sgmlCloseTag): ditto.
17032 * buffer.h (pop_tag): removed.
17033 (push_tag): removed.
17035 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17037 * language.h (Languages): added size_type and size().
17039 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17041 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17042 response on compability reading of minipages. One probliem is that
17043 the old usage of minipages was «flertydig»
17045 * several files here and in subdirs: don't use static at file
17046 scope use anon namespaces instead.
17048 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17050 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17051 LaTeX output. This is necessary for Literate document
17054 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17056 * buffer.C: insert hfill when needed.
17058 * tabular.C (l_getline): use string::erase, small whitespace change.
17060 * BufferView_pimpl.C: try the anon namespace.
17061 * WorkArea.C: ditto
17063 2001-03-16 Juergen Vigna <jug@sad.it>
17065 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17066 otherwise it won't open options-dialogs.
17068 * buffer.C: honor pextraWidth(p) on converting minipages.
17070 * tabular.C (l_getline): changed the functions to strip trailing \r.
17072 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17074 * BufferView_pimpl.C:
17075 * minibuffer..C: added "using SigC::slot" declaration.
17077 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17079 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17085 * paragraph.C: ditto
17087 * lyxtext.h: NO_PEXTRA
17089 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17091 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17092 * ParameterStruct.h: ditto
17093 * ParagraphParameters.h: ditto
17094 * lyxparagraph.h: ditto
17096 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17098 * buffer.C: add compability for minipage alignment.
17099 (latexParagraphs): remove unwanted pextra check.
17101 * several files: remove CXX_WORKING_NAMESPACES
17103 * buffer.C (pop_tag): tie is in namespace boost
17105 * BufferView.h: noncopyable is in namespace boost
17107 * lyx_main.h: ditto
17110 * lastfiles.h: ditto
17111 * bufferlist.h: ditto
17112 * ShareContainer.h: ditto
17114 * LyXAction.h: ditto
17117 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17119 * Merging changes from BRANCH_MVC back into HEAD.
17121 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17123 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17125 * BufferView_pimpl.C: change from intl.C
17129 * Makefile.am: move combox.*
17135 * intl.C: remove dialog (covered by prefs)
17137 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17139 * lyxfunc.C (Dispatch): removed redundant break statement.
17141 2001-03-14 Juergen Vigna <jug@sad.it>
17143 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17145 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17147 * buffer.C: add hack to fix compability reading of minipages.
17149 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17151 * buffer.C (getLists): Cleanup.
17153 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17155 * lyxfont.C (update): don't honor toggleall on font size.
17157 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17161 * Makefile.am: moved to frontends/xforms/
17165 * BufferView_pimpl.C: changes for moved mathpanel
17167 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17169 * gettext.h: fix gettext_init() in --disable-nls
17171 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17173 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17175 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17178 * lyx.h: strip external form
17180 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17182 * BufferView_pimpl.C: add comment, destroySplash()
17184 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17186 * BufferView_pimpl.C:
17190 * lyxfunc.C: use re-worked insetinclude
17192 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17194 * buffer.C: add using std::stringstream.
17196 * lyx_cb.C: readd using std::ios.
17198 * buffer.C: add using std::map.
17200 * BufferView_pimpl.C: add using std::vector.
17202 * ShareContainer.h: add std:: to swap.
17204 * buffer.h: add some typedefs
17205 * buffer.C (getLists): use them
17206 (getLists): renamed from getTocList.
17207 add a counter for the different float types and use it in the
17209 (getLists): use the same counter for the NEW_INSETS and the "non"
17212 * lyx_cb.h: remove unused items, includes, using etc.
17214 * ShareContainer.h: remove some commented code, add more comments
17215 and "documentation".
17217 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17219 * buffer.C (getTocList): make the list also when NEW_INSETS is
17222 * buffer.h: remove TocType
17224 * buffer.C (getTocList): change to return a map<string,
17225 vector<TocItem> >, implement for dynamic number of list.
17227 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17228 * text2.C (PasteSelection): adjust
17229 * CutAndPaste.C (pasteSelection): adjust
17231 * FloatList.C (FloatList): update from the new_insets branch.
17232 * Floating.[Ch]: ditto
17233 * LaTeXFeatures.C: ditto
17235 * lyxlex_pimpl.C: ditto
17237 * paragraph.C (Last): remove when NEW_INSETS is defined.
17239 * other file: changes because of the above.
17241 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17243 * lyxparagraph.h: rename next to next_, previous to previous_,
17244 make them private for NEW_INSETS. Rename Next() to next(),
17245 Previous() to previous().
17247 * other files: changes because of the above.
17249 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17252 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17255 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17257 * main.C (main): pass lyx_localedir to gettext_init().
17259 * gettext.h: remove locale_init and gettext_init macros
17261 * gettext.C (locale_init): new function
17262 (gettext_init): new function
17264 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17267 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17269 * Moved credits to frontends:
17270 * credits.[Ch]: removed
17271 * credits_form.[Ch]: removed
17272 * lyx_gui_misc.C: remove credits stuff
17275 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17277 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17279 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17280 unneeded destructor.
17282 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17283 a standalone pointer again.
17285 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17287 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17293 * ToolbarDefaults.C:
17302 * BufferView_pimpl.C: use new file dialog in GUII
17305 * lyx_cb.C: remove LayoutsCB to Toolbar
17307 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17309 * ShareContainer.h (get): add std:: qualifier
17311 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17313 * ShareContainer.h: define a proper ShareContainer::value_type
17314 type (and use typename to please compaq cxx)
17316 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17318 * lyxparagraph.h: move serveral local vars to
17319 ParameterStruct/ParagraphParameters., use ShareContainer in
17320 FontTable., make vars in FontTable private and add getter and
17323 * paragraph.C: changes because of the above.
17325 * lyxfont.h: remove copy constructor and copy assignment. (the
17326 default ones is ok), move number inside FontBits. move inlines to
17329 * lyxfont.C: add number to initializaton of statics, move several
17330 inlines here. constify several local vars. some whitespace
17331 cleanup. Dont hide outerscope variables.
17333 * Spacing.h: add two new constructors to match the set methods.
17335 * ShareContainer.h: new file, will perhaps be moved to support
17337 * ParameterStruct.h: new file
17339 * ParagraphParameters.h: new file
17341 * ParagraphParameters.C: new file
17343 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17344 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17346 * BufferView_pimpl.C: ParagraphParameter changes.
17347 * buffer.C: Likewise.
17348 * bufferview_funcs.C: Likewise.
17349 * text.C: Likewise.
17350 * text2.C: Likewise.
17352 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17354 * lyxfind.C (LyXReplace): do not redefine default argument in
17356 (IsStringInText): ditto
17357 (SearchForward): ditto
17358 (SearchBackward): ditto
17360 2001-03-06 Juergen Vigna <jug@sad.it>
17362 * lyxfind.C (IsStringInText): put parentes around expressions.
17364 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17366 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17368 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17370 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17372 * stl_string_fwd.h: add comment
17374 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17377 * tabular.C: remove unused DocBook methods
17383 killed DO_USE_DEFAULT_LANGUAGE
17385 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17387 * lyx_gui.C: do not include language.h.
17389 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17390 arguments in function implementation.
17392 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17394 * BufferView_pimpl.C: add <ctime>
17396 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17398 * BufferView_pimpl.C: add using std::find_if
17400 2001-02-27 José Matos <jamatos@fep.up.pt>
17402 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17405 2001-02-11 José Matos <jamatos@fep.up.pt>
17407 * buffer.C (makeDocBookFile): command styles now have a parameter as
17408 "title" by default.
17410 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17412 * layout_forms.[Ch]: removed
17413 * lyx_cb.[Ch]: out character
17414 * lyx_gui.C: out character
17415 * lyx_gui_misc.C: out character
17416 * bufferview_funcs.C: : out character,
17417 added toggleall as parameter in ToggleAndShow
17419 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17421 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17423 * text2.C (SetCurrentFont): Disable number property at boundary.
17425 2001-02-26 Juergen Vigna <jug@sad.it>
17427 * lyxfunc.C (getStatus): added a string argument override function so
17428 that this is correctly called from LyXFunc::Dispatch if it contains a
17429 do_not_use_argument which is used!
17430 (Dispatch): added check for "custom" export and call appropriate func.
17432 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17434 * lyxrc.C: Add language_command_local, language_use_babel and
17435 language_global_options.
17437 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17439 * buffer.C (makeLaTeXFile): Use language_use_babel and
17440 language_global_options.
17442 2001-02-23 Juergen Vigna <jug@sad.it>
17444 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17445 which works with LyXText and putted it inside BufferView. Here now we
17446 only call for that part the BufferView::Dispatch() function.
17448 * BufferView.C (Dispatch): added.
17450 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17451 functions which needs to use a LyXText over from LyXFunc.
17452 (MenuInsertLyXFile): added
17453 (getInsetByCode): added
17454 (moveCursorUpdate): added
17455 (static TEXT): added
17457 2001-02-22 Juergen Vigna <jug@sad.it>
17459 * BufferView_pimpl.C (update): call a status update to see if LyXText
17462 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17464 * vc-backend.C (revert): implement for CVS
17465 (getLog): implement for CVS
17467 2001-02-20 Juergen Vigna <jug@sad.it>
17469 * text2.C (ClearSelection): added BufferView param for inset_owner call
17471 * lyxfunc.C (TEXT): added this function and use it instead of
17472 directly owner->view()-text of getLyXText().
17474 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17476 * src/layout_forms.C: out preamble
17477 * src/layout_forms.h: out preamble
17478 * src/lyx_cb.C: out preamble
17479 * src/lyx_cb.h: out preamble
17480 * src/lyx_gui.C: out preamble
17481 * src/lyx_gui_misc.C: out preamble
17482 * src/lyxfunc.C: connect with guii preamble
17484 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17486 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17488 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17490 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17491 whether to run bibtex.
17493 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17495 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17497 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17499 * Makefile.am (lyx_SOURCES): removed bibforms.h
17501 * vspace.h: doxygen
17503 * text.C (GetVisibleRow): make several local vars const
17505 * tabular.C: small cleanup.
17507 * lyxserver.C (callback): use compare instead of strncmp
17509 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17510 inlines to after class or to paragraph.C
17512 * lyxfont.h: remove friend operator!=
17514 * converter.h: move friend bool operator< to non friend and after
17517 * combox.h: small cleanup
17519 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17520 to inlines after class def.
17522 * buffer.C (pop_tag): use string operations instead of strcmp
17524 * bmtable.c: doxygen, small cleanup
17526 * LaTeX.h: remove friend operator==
17528 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17540 * BufferView_pimpl.C:
17541 * BufferView.[Ch]: remove cruft
17543 2001-02-14 Juergen Vigna <jug@sad.it>
17545 * lyxfunc.C: removed #if 0 unused code
17547 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17549 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17551 * text2.C (SetSelection): added a BufferView * parameter
17553 2001-02-13 Juergen Vigna <jug@sad.it>
17555 * lyxfunc.C (Dispatch): fixed protected blank problem.
17556 * BufferView2.C (protectedBlank): added LyxText * parameter.
17558 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17559 (AppendColumn): same as above for column_info.
17561 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17562 (moveCursorUpdate): use a LyXText param for support of InsetText.
17564 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17565 (tripleClick): ditto
17567 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17569 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17571 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17573 * text2.C (SetSelection): set correct update status if inset_owner
17574 (ToggleFree): ditto
17576 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17578 * tabular.C: remove some commented code.
17580 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17582 * BufferView_pimpl.C: call hideSplash()
17584 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17587 * bibforms.h: remove
17590 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17591 add LFUN_CHILD_CREATE
17593 * counters.h: fix tiny typo
17598 * lyx.C: move splash to frontends/xforms/
17600 * lyx_gui_misc.C: move Include and Bibform to frontends
17602 * lyxvc.h: clarify comment
17604 * vspace.C: tiny housekeeping
17606 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17608 * text.C (PrepareToPrint): RTL Fix.
17610 * paragraph.C (GetUChar): New method.
17611 (String): Use GetUChar.
17613 * buffer.C (asciiParagraph): Use GetUChar.
17615 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17617 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17619 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17622 * buffer.C: rename to getLogName(), handle
17623 build log / latex log nicely
17625 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17628 * MenuBackend.h: remove support for reference menuitem type.
17630 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17632 * BufferView_pimpl.C: housekeeping
17633 * BufferView_pimpl.h:
17638 * minibuffer.h: move Timeout GUI-I
17640 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17642 * lyxrc.C (read): Update converters data-structures.
17644 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17646 * LaTeX.h (operator!=): add operator != for Aux_Info
17648 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17650 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17652 * LaTeXLog.C: deleted, useful code moved to Buffer
17655 * buffer.C: new function getLatexLogName()
17661 * lyxfunc.C: use frontends for LaTeX and VC logs
17663 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17665 * LaTeX.h: yet another std:: that Allan forgot.
17667 * Variables.C (set): renamed from isset(), because this clashes
17668 with some HP-UX macros (grr).
17670 2001-02-06 Allan Rae <rae@lyx.org>
17672 * LaTeX.h: Another bug fix. Missing std:: this time.
17674 2001-02-04 Allan Rae <rae@lyx.org>
17676 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17677 floats problem. I've left it commented out because it's not quite
17678 correct. It should also test that the current object is a table or
17679 figure inset. But I haven't gotten around to figuring out how to do
17680 that. I *think* it'll be something like: "table" == inset.type()
17682 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17685 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17687 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17688 all the citation/databases/styles in the auxilary file.
17689 (run): Rerun latex if there was a babel language error.
17691 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17693 * text.C (Backspace): Preserve the font when changing newline char
17695 (BreakParagraph): If the cursor is before a space, delete the space.
17697 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17699 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17701 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17702 new argument (code).
17703 (ChangeCitationsIfUnique): New method.
17705 * paragraph.C (GetPositionOfInset): Handle bibkey.
17707 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17709 * BufferView_pimpl.h: change type of Position::par_pos to
17710 LyXParagraph::size_type.
17712 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17714 * BufferView_pimpl.C (savePosition, restorePosition): Write
17715 messages to minibuffer.
17717 2001-01-28 José Matos <jamatos@fep.up.pt>
17719 * buffer.C (makeDocBookFile): adds support for document language.
17720 A silly restriction on the name of LatexCommand types where removed.
17721 Added support for CDATA sections, allows to chars unescaped, used
17722 among others in code, to avoid escape < and >.
17724 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17726 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17727 saved positions instrad of a stack. Furthermore, a position is
17728 stored using paragraph id/paragraph position.
17730 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17731 Remove LFUN_REF_BACK.
17733 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17735 * converter.C (dvipdfm_options): New method.
17737 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17739 * vspace.C (isValidLength): Fix for empty input string.
17741 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17743 * LyXAction.C (init): change description of LFUN_FIGURE to
17746 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17748 * LaTeX.C: add using directive
17750 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17752 * MenuBackend.C (expand): Fix the sorting of the formats.
17754 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17756 * lyx_main.C: tiny error message fix
17758 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17760 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17761 calling fl_initialize(). This fixes the problem with ',' as
17762 decimal separator in text files.
17764 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17766 * trans.C (process): Fix the keymap bug.
17768 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17770 * LaTeX.C (scanAuxFiles): New method. Provides support for
17771 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17772 (scanLogFile) Scan for "run BibTeX" messages.
17774 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17775 OT1 font encoding. Also, load the aecompl package if the ae
17778 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17780 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17782 * texrow.C (increasePos): turn two error messages into debug
17785 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17787 * LaTeX.C (scanAux): Handle the \@input macro.
17788 (runBibTeX): Use scanAux().
17790 * language.C (latex_options_): New field.
17792 * LaTeXFeatures.C (getMacros): Add language macros.
17794 * buffer.C (makeLaTeXFile): Small fix.
17796 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17798 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17800 * text2.C: add a using directive.
17802 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17807 * lyxfunc.C: kill LyXBell.
17809 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17811 * text.C (IsBoundary): Remove the error message
17813 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17815 * lyxrc.C (setDefaults): Correct initialization value for
17818 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17820 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17823 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17824 and GotoNextNote().
17826 * src/LyXAction.C: Added reference-next.
17828 * text.C (InsertChar): Use contains instead of strchr.
17830 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17832 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17834 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17835 alignment commands (when needed).
17837 * text.C (InsertChar): Add ':' to number separator chars.