1 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
3 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
5 2005-06-14 Angus Leeming <leeming@lyx.org>
7 * lyx_main.C (init): ensure that the LyX binary dir is the first
8 element in the PATH on non-POSIX builds.
10 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
12 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
14 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16 * rowpainter.C (paintInset, paintHebrewComposeChar)
17 (paintArabicComposeChar, paintChars): add a LyXFont argument.
18 (paintChars): use getFontSpan to reduce calls to getFont to a
19 minimum; use Paragraph::lookupChange instead of isXXXText.
20 (paintForeignMark): rename LyXFont argument.
21 (paintFromPos): pass a LyXFont object to the various paintXXX
24 * FontIterator.C (FontIterator, operator++): use
25 Paragraph::getFontSpan
27 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
28 version that returns the font span as a pair.
30 2005-06-09 Angus Leeming <leeming@lyx.org>
32 * converter.C (convert): Don't forget "outfile = real_outfile" as
33 the final step in a conversion where the input and output file names
34 are the same. Otherwise, future conversion steps won't work...
36 2005-06-09 Angus Leeming <leeming@lyx.org>
38 * lyxsocket.C: remove stub code as it isn't needed by
39 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
41 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
43 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
44 effectively disabled -x
46 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
48 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
49 when it actually makes sense.
51 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
53 * BufferView_pimpl.C: revert to showCursor in connection with
54 Lars's front-end stack
56 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
58 * text.C (redoParagraph): move cursor right after a bibitem
61 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
63 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * buffer_funcs.C (bufferErrors): fix computation of the end of an
68 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
70 * BufferView.[Ch] (update):
71 * BufferView_pimpl.[Ch] (update, metrics):
72 * dimension.h (operator==):
73 * lyxfunc.C (dispatch):
74 * metricsinfo.h (ViewMetricsInfo):
75 * rowpainter.C (paintText):
77 * text.C (redoParagraph):
78 * text3.C (dispatch): Make LyX only repaint current paragraph in
79 case of character insert --> speedup. Also fix cursor draw
82 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
85 avoid a crash (bug 1891)
87 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * text2.C (getStringToIndex): constify cur argument.
93 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
94 argument has been given
95 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
96 try to invoke LFUN_INSET_APPLY).
98 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
99 if no inset was created by doInsertInset
100 (doInsertInset): return true if an inset has been inserted.
102 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
104 * vspace.C (asGUIName): new method. A version of the space
105 suitable for showing on screen.
107 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
110 * lyxrc.C: rename "ASCII" to "Plain Text"
112 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * buffer_funcs.C (expandLabel): take a Buffer as argument;
115 translate the labelstring.
116 (setCounter): translate labelstring as needed.
118 * output_docbook.C (makeCommand): fix expandLabel invokation
120 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
122 * BufferView.C: fix dialog title
124 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
126 * lyx_main.C (priv_exec): fix logic error with help from Angus
127 * lyx_main.C (parse_execute): set is_gui = false and remove now
128 obsolete comment about a segfault
130 2005-05-18 Angus Leeming <leeming@lyx.org>
132 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
134 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
136 * tabular.[hC]: added setCellInset to fix tabular paste.
138 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
140 * buffer.C (save): check if destination is writable before trying
143 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
145 * BufferView_pimpl.C (update): fix processEvents -caused update
148 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * buffer_funcs.C (setCounter): fix test for numbering of
153 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
154 depth correctly; use optional argument when it exists
156 * lyxtextclass.C: remove unused MaxCounterTags enum
157 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
158 (max_toclevel, min_toclevel): new methods.
160 * MenuBackend.C (expandToc2): fix case where depth is smaller than
161 the smallest depth in toc.
163 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
164 layouts that should not appear in a table of contents.
166 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
168 * cursor.h (undispatched, noUpdate): add comments from André
170 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
174 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
176 2005-05-07 André Pönitz <poenitz@gmx.net>
178 * cursor.[Ch] (leaveInset): new function
180 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
182 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
184 2005-05-04 Angus Leeming <leeming@lyx.org>
186 * lyxfunc.C (getStatus): disable the spell checker dialog if
187 none of USE_[AIP]SPELL are defined.
189 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
191 * tabular.C (setWidthOfCell): remove obsolete comment
193 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
195 * paragraph.C (bibitem):
196 * buffer_funcs.C (setCounter):
197 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
199 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
201 * text3.C (getStatus): immediately return after setOnOff
203 * rowpainter.C: fix drawing of appendix start
205 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
207 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
208 SwitchBetweenClasses and remove the unused return value.
209 Handle character styles, too
211 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
213 * factory.C (createInset): handle undefined character styles
215 2005-05-02 Angus Leeming <leeming@lyx.org>
217 * buffer.C: protect the #include of utime.h with a preprocessor
220 2005-05-02 Angus Leeming <leeming@lyx.org>
222 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
223 function so that auto-saving works, albeit in a blocking manner.
225 * Makefile.am: make compilation of the client sub directory, of
226 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
227 on conditionals set at configure time.
229 * SpellBase.[Ch]: no longer an abstract base class. Instead,
230 it can be compiled in its own right but has no-op functionality.
232 * aspell.C, pspell.C: remove preprocessor guards. The files should
233 be compiled only if the necessary functionality exists.
235 * lyxserver.C, lyxsocket.C: disable on Windows.
237 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
239 * text.C (leftMargin): Fix the parindent use bug (1764)
242 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
244 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
247 2005-04-25 Angus Leeming <leeming@lyx.org>
255 include <config.h> in .C files, not .h ones.
257 protect headers inside preprocessor guards.
259 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
261 * FuncStatus.h (StatusCodes): document
263 2005-04-21 André Pönitz <poenitz@gmx.net>
265 * FuncStatus.h (enabled, onoff): document
267 2005-04-19 Angus Leeming <leeming@lyx.org>
269 * BufferView_pimpl.C (cursorToggle): no longer test whether
270 any child processes have been reaped before calling
271 handleCompletedProcesses().
273 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
275 * text3.C (dispatch): fix, finally fix, the language problem in
276 new lyxtexts, without disabling on-the-fly font changes (Helge's
279 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
281 * text3.C (dispatch): set cursor on double/triple click events
284 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
287 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
289 * rowpainter.C (paintFirst): simplify the code a little bit. In
290 particular, remove the test for secnumdepth.
291 * text.C (setHeightOfRow): only allocate space for chapter number
292 when updateCounters provided an actual label, instead of looking
293 at secnumdepth directly.
295 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
297 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
298 paragraphs when secnumdepth is large enough or, for environments,
299 when they are not the first in a sequence.
301 2005-04-17 Angus Leeming <leeming@lyx.org>
303 * buffer.C (makeLaTeXFile): replace code to manipulate a path
304 containing space and '~' characters with a call to latex_path().
306 2005-04-17 Angus Leeming <leeming@lyx.org>
308 * converter.C (convert): protect all args of convertDefault.sh
311 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * text3.C (dispatch): change the layout to "Caption" after inserting
316 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
318 * text3.C (dispatch): fix language problem in newly created
319 textinsets (and main text) in non-english docs
321 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
323 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
324 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
325 * text3.C (getStatus): disable LFUN_INSET_MODIFY
327 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
332 * rowpainter.C (getFont): Fix metrics bug introduced by inset
335 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
337 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
338 output of \item arguments without trailing text.
340 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 * FontIterator.C (operator*): avoid a copy of the font.
344 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
346 * rowpainter.C (getFont): fix language bug from previous fix
348 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
350 * rowpainter.C (RowPainter, getFont): fix font inside inset
353 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
355 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
356 preventing inserted font, deco, delim insets jumping to start of
359 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * lyxfunc.C (dispatch): translate message before sending it to the
364 2005-03-29 Angus Leeming <leeming@lyx.org>
366 * lyx_main.C (priv_exec): call os::internal_path on each file passed
367 to LyX on the command line.
369 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
371 * vc-backend.C: use QuoteName to protect file names wherever
374 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
377 * BranchList.h: fix bugs 1844,1845: document settings don't
380 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
382 * lyxrc.C (setDefaults, read, output, getDescription): add support
383 for tex_allows_spaces.
385 * exporter.C (Export): allows files in directory containing spaces
386 if tex_allows_spaces is true.
388 * buffer.C (makeLaTeXFile): if the document path contains spaces,
389 output it in double quotes.
391 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
393 * rowpainter.C: use default text height for drawing change tracker
396 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
398 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
400 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
402 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
403 directory is missing.
405 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
407 * text2.C: fixed the fix, extended to other case.
409 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
411 * text2.C: fix for cursor up/down stuck in math [bug 1792]
413 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
415 * text2.C (cursorUp): get rid of a crash
416 * text.C (x2pos): add an assert
418 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * lyxfunc.C (getStatus): fix warning when assertions are disabled
424 * dociterator.C: include <boost/current_function.hpp>, which is
425 needed when assertions are disabled.
427 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
429 * text2.C: fix for stuck cursor when traversing two
430 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
432 2005-02-25 Andreas Vox <avox@arcor.de>
434 * output_docbook.C (makeParagraph): suppress trailing newline
435 after a run of paragraphs
437 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
439 * paragraph.C: fix for confused change tracker when pasting
440 text that begins with a lineseparator. [bug 1827]
441 (setChange(0, Change::INSERTED);)
443 * paragraph_funcs.C: fix for lost changes on triple-paste
444 in change tracking mode [bug 1827] (par.setChange()).
446 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * text2.C (updateCounters, setCounter, expandLabel): move to
451 * buffer_funcs.C (updateCounters): turn into a free standing
452 function and add a buffer parameter. Remove dead code for tracking
454 (setCounter): change into a free-standing function which gets a
455 dociterator as argument. Use this iterator to fix captions in a
456 simple way. When no float is found above the caption, use the
457 labelstring of the caption layout as default.
459 * text.C (breakParagraph, backspace):
460 * text2.C (init, setLayout, changeDepth):
461 * text3.C (dispatch):
462 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
465 * dociterator.C (forwardPar): make it much faster by calling
466 forwardPos() only when really necessary.
468 * output_docbook.C (makeCommand): adapt to expandLabel move.
470 * cursor.C: remove unused variable
472 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
474 * paragraph_funcs.C: fix crash when pasting insets in change
475 tracking mode [bug 1277] (honour change type in moveItem).
477 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
479 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
481 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * BufferView.C (setCursor): change to use a DocIterator.
484 (gotoLabel): use BufferView::setCursor (other part of bug 781).
485 (putSelectionAt): adapt to BufferView::setCursor change.
487 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
488 moved here from LyXText and rewritten to use proper cursor
489 methods. Fixes bug 1787, 616 and 835.
491 * BufferView_pimpl.C (restorePosition): set the cursor correctly
492 when inside an inset (part of bug 781).
493 (dispatch): adapt to change of BufferView::setCursor.
494 (getStatus, dispatch): handle LFUN_GOTOERROR,
495 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
497 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
498 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
499 * text3.C (gotoNextInset, gotoInset): removed.
501 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
503 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
505 2005-02-15 Angus Leeming <leeming@lyx.org>
507 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
508 can be used meaningfully in a comparison.
510 2005-02-13 André Pönitz <poenitz@gmx.net>
512 * bufferview_funcs.C (coordOffset): improve cursor drawing
514 2005-02-13 André Pönitz <poenitz@gmx.net>
516 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
517 * Cursor.C (dispatch): use fixIfBroken
518 * lyxfunc.C (getStatus): use fixIfBroken
520 2005-02-15 Angus Leeming <leeming@lyx.org>
522 * lyx_main.C (error_handler):
524 * lyxrc.C (setDefaults):
526 #include "environment.h".
528 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
530 2005-02-15 Angus Leeming <leeming@lyx.org>
532 * lyxserver.C (startPipe): squash MSVC warning "local variable
533 'fd' used without having been initialized".
535 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
537 * BufferView_pimpl.C: revert accidental commit.
539 2005-02-14 André Pönitz <poenitz@gmx.net>
541 * dociterator.[Ch]: new member forwardPosNoDescent(),
542 which doesn't enter nested insets.
543 * text2.C (setFont): use forwardPosNoDescent() instead
544 of ForwardPos() (fixes crash on font change).
546 2005-02-13 Angus Leeming <leeming@lyx.org>
548 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
549 only if lyxrc.path_prefix is not empty.
551 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
553 * bufferparams.C (readGraphicsDriver): prevent crash
555 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
557 * text2.C (setCounter): check for inInset() == 0
559 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
561 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
562 but use update() to get correct screen display; use convert
563 instead of istringstream.
564 (getStatus): handle LFUN_GOTO_PARAGRAPH
566 * lyxfunc.C (dispatch, getStatus): do not handle
567 LFUN_GOTO_PARAGRAPH here.
569 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
571 * text3.C (dispatch): size() -> depth()
573 * text2.C: remove some debug output
575 * paragraph.C: ws changes only
577 * lyxfunc.C (getStatus): size() -> depth()
579 * dociterator.h (clear, push_back, pop_back, internalData,
580 operator[], resize, empty): new functions
581 Make StableDocIterator and operator== be friends. Don't inherit
582 from std::vector use a privat class variable slices_ instead.
585 * dociterator.C: update because of not inheriting from std::vector
586 anymore. Call explictly to slices_ instead. Use depth() instead of
587 size() and top() instead of back()
589 * cursor.C: chagne size() -> depth and back() -> top(). Also
590 remove some direct operator[](i) calls in favour of foo[i]
591 (getFont): remove some dead code
593 * bufferview_funcs.C (coordOffset): size() -> depth()
595 * buffer.C: ws changes only
597 * CutAndPaste.C (eraseSelection): back() -> top()
599 * BufferView_pimpl.C (selectionRequested): back() -> top()
601 * BufferView.C (setCursor): size() -> depth()
603 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
605 * text3.C (cursorPrevious): return true if depm changed something
607 (dispatch): rename sl to oldTopSlice, remove moving use the new
608 NoUpdate func attrib instead. Make sure that needsUpdate is set
609 for function that have NoUpdate, but where depm might have changed
612 * text2.C (cursorLeft): make us return true if depm changed
615 (cursorUpParagraph): ditto
616 (curosrDownParagraph): ditto
617 (cursorUp, cursorDown): ditto, make sure to read comments in code
618 (deleteEmptyParagraphMechanism): remove an assert, also return
619 true if just a single char was deleted.
621 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
622 cursor that we modify, to avoid modifying an active cursor before
623 we call setCursor. This allows depm to run. Also return true if
624 depm deleted something.
626 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
627 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
628 cursorDownParagraph, cursorPrevious and cursorNext, return true if
629 something was changed in the buffer because of them (ie. depm run)
631 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
632 debug messages. Make update by default be false. Make sure that
633 the result of update is retained throught several calls down to
636 * LyXAction.h: add a new func_attrib: NoUpdate
638 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
639 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
640 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
642 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
644 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
647 bv_->owner(), bv_->buffer() by direct references to the private
649 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
650 (getStatus): isSavedPosition() is in BufferView::Pimpl.
651 (fitCursor): center() is in BufferView::Pimpl.
652 (getStatus, trackChanges, dispatch): no need for a temporary buf
654 (fitCursor, workAreaDispatch): use workarea().workheight()
656 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
658 * CutAndPaste.C (pasteSelectionHelper): fix a crash
660 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
662 * buffer.C: format up to 241.
663 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
664 break if pasting into ERT
665 * lyxfunc.C (getStatus): suppress mathpanel and
666 LFUN_DIALOG_SHOW_NEW_INSET in ERT
668 2005-02-01 Angus Leeming <leeming@lyx.org>
670 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
672 2005-02-01 Angus Leeming <leeming@lyx.org>
674 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
675 calling fs::is_directory().
677 2005-01-31 Angus Leeming <leeming@lyx.org>
679 * lyx_main.C (priv_exec): specify explicitly the relative location
680 of the top level build directory when run in-place.
682 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
684 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
685 LyXText containing the cursor, not the top-level one.
687 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
689 (insertStringAsLines): rename par to pit; use temporary variable
690 par to hold a Paragraph; do not store par.layout() in a variable,
691 since the pointer may die when breaking paragraphs; pass pars to
692 breakParagraph() instead of Buffer::paragraphs().
694 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
696 * lyxlex_pimpl.h: #include <fstream>.
698 * BufferView.[Ch] (getLyXText): add a const version.
700 * BufferView_pimpl.C: add debug aids.
705 * paragraph_funcs.h: add commentary explaining what the class does.
708 * coordcache.[Ch]: add lots of commentary.
709 (startUpdating, doneUpdating): debug aids.
710 (arrays, insets, parPos, getParPos): accessors to private data.
712 * cursor_slice.[Ch] (text): add a const version.
713 * dociterator.[Ch] (text, innerText): add const versions.
715 * lyxtext.h (breakParagraph): change the keep_layout arg to a
718 * paragraph.C (getRow, pos2ros): add asserts.
720 * paragraph.h: add commentary. Lots of.
722 * paragraph.[Ch] (metrucs, draw): removed.
725 * rowpainter.[Ch]: const-correct changes.
727 * text.C: various obvious clean-ups. Removal of ancient cruft.
730 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
732 * vc-backend.C (find_file): rewrite to use boost.filesystem
735 * main.C (main): set default name check for boost.filesystem to
738 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
741 (actOnUpdatedPrefs): ditto
743 * lyx_main.C (init): rewrite to use boost.filesystem
744 (queryUserLyXDir): ditto
746 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
747 (getContentsOfAsciiFile): ditto
749 * lastfiles.C (readFile): rewrite to use boost.filesystem
751 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
753 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
756 * buffer.C (Buffer): adjust for destroydir
757 (getLogName): rewrite to use boost.filesystem
759 (save): use fs::copy_file (from fs_extras)
761 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
763 * LaTeX.C (run): rewrite to use boost.filesystem
764 (scanAuxFiles): ditto
765 (handleFoundFile): ditto
767 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
769 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
771 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
773 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
775 * lyxlayout.[Ch]: change some vars from float to double
777 * buffer.C (readFile): make a local var const
779 * Several files: use convert<> instead of atoi,strToXXX and friends
781 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
783 * LaTeXFeatures.[Ch]: Add a static list packages_ that
784 holds the contents of packages.lst. New functions getAvailable
785 and isAvailable to parse and check that list, resp.
789 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
791 * bufferparams.[Ch]: new param output_changes.
793 * Buffer.C: increase file format to 240.
794 Use output_changes and isVailable.
798 * paragraph_pimpl.C: Use output_changes and isVailable.
800 2005-01-23 Angus Leeming <leeming@lyx.org>
802 * output_latex.C: #include "insetbibitem.h", rather than
803 forward declare function bibitemWidest.
805 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
807 * lyx_main.C (init): make it compile on the Mac.
809 2005-01-20 Angus Leeming <leeming@lyx.org>
811 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
812 (setLyXMisc): (char string literal) != (char string literal) is
813 performing a comparison on the addresses. Convert one operand
814 explicitly to string to guarantee expected behaviour.
817 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
820 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
822 * output_plaintext.C: remove unneeded #include gzstream.h.
824 2005-01-20 Angus Leeming <leeming@lyx.org>
826 * SpellBase.h: rename some of the elements of the Result enum.
833 * pspell.C (check): ditto
835 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
837 * buffer.C: add #include <fstream>.
839 * lyx_main.C (init): Compile fix.
841 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
843 2005-01-20 Angus Leeming <leeming@lyx.org>
845 * mover.h: change commentary to reflect the changed meaning of
848 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
850 * output_linuxdoc.C (linuxdocParagraphs): silence warning
852 * lyxfind.C (MatchString::operator()): remove bogus semicolon
854 2005-01-20 Angus Leeming <leeming@lyx.org>
856 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
857 printing diagnostic data by not dereferecing an iterator past the
860 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
862 * buffer.C (readHeader): use "&&" rather than "and".
864 * lyxserver.h (inPipeName, outPipeName): make these const.
866 2005-01-19 Angus Leeming <leeming@lyx.org>
868 * lyx_main.C (error_handler, init): protect SIGHUP with
869 #ifdef SIGHUP guards.
871 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
875 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
877 * text.C (setHeightOfRow): add a margin at the top and bottom of
878 the document (bug 1761)
880 2005-01-17 Angus Leeming <leeming@lyx.org>
882 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
883 with "python ". Workaround for a brain-dead Windows.
885 2005-01-16 Angus Leeming <leeming@lyx.org>
887 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
888 for MacOSX and Windows to use prependEnvPath.
889 Strip out the hard-coded block to add elements to the PATH for
890 MacOSX and replace it with a call to prependEnvPath using the
891 contents of LyXRC::path_prefix.
892 (queryUserLyXDir): strip out the code to run reconfigure, instead
893 returning a boolean indicating the necessity to do so.
894 (reconfigureUserLyXDir): contains the code to reconfigure the
895 user support directory. Is now called after the various LyXRC data
896 files have been read.
898 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
900 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
902 * converter.[Ch] (convert): take a new parameter try_default. Use
903 a default converter (imagemagick) if try_default is true.
905 2005-01-13 Angus Leeming <leeming@lyx.org>
907 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
909 (write): output LyXRC::cygwin_path_fix as necessary.
911 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
914 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
916 2005-01-12 Angus Leeming <leeming@lyx.org>
918 * lyx_main.C (init): set the PATH variable to include the
919 directory containing the LyX binary when running on Mac or Windows.
921 2005-01-12 Angus Leeming <leeming@lyx.org>
923 * lyx_main.C (init): remove cruft that purports to set the locale
924 dir. It doesn't and is not needed anyway.
926 2005-01-10 Angus Leeming <leeming@lyx.org>
928 * Makefile.am: remove the lyx_main.C special casing.
930 * BufferView_pimpl.C:
936 * messages.C: use support/package.h to provide the paths to the
937 various directories used by LyX.
939 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
941 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
942 layout if pasting into an empty paragraph)
944 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
946 * tex-accent.C: add <string>
948 2005-01-06 José Matos <jamatos@lyx.org>
950 * ParagraphParameters.C (write): put every parameter in its own line.
951 * paragraph.C (write): reduce number of consecutive empty lines exported.
952 * buffer.C (LYX_FORMAT): increase file format to 239.
954 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
956 * everywhere: change support/tostr.h -> support/convert.h
958 * tabular.C: make all write_attributes templates, tostr -> convert
960 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
961 (emptyTag): and -> &&, and fix type for ret from getChar
962 (getFirstWord): fix type for ret from getChar
963 (onlyText): and -> &&
964 (simpleDocBookOnePar): and not -> && !, fix type for ret from
967 * toc.C (goTo, action):
968 * text3.C (dispatch):
969 * text.C (currentState):
970 * tex-accent.C (DoAccent):
973 * lyxfunc.C (menuNew):
974 * lyxfinc.C (replace):
975 * counters.C (laberItem):
976 * bufferview_funcs.C (font2string):
977 * bufferparams.C (writeFile):
978 * buffer.C (readFile):
980 * MenuBackend.C: tostr -> convert
982 * LaTeX.C (runMessage): fix format
983 (scanAuxFiles): tostr -> convert
985 * BufferView_pimpl.C (savePosition): fix format
986 (restorePosition): ditto
989 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
991 * Spacing.[Ch]: New method getValueAsString().
995 * ParagraphParameters.C:
998 * text3.C: store/read spacing value as string.
1000 * rowpainter.C: change float value (spacing_val) to double.
1002 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1003 broken custom document spacing).
1005 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1007 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1008 namespace, also more use of temp references and const
1010 * cursor.[Ch] (getStatus): move to lyxfunc.C
1012 * bufferparams.C: reformat slightly
1014 * bufferview_funcs.C (font2string): constify arg
1020 * buffer_funcs.C: (many funcs): constify arg on function
1021 definitions, also make more local vars const, also add ASSERTS on
1024 * buffer.C (LYX_FORMAT): put const in correct place
1025 (many funcs): constify arg on function definitions, also make
1026 more local vars const
1028 * aspell_local.h: remove "struct" from typdef setup
1030 * aspell.C (check): make word_ok const
1031 (nextMiss): simplify slightly
1034 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1036 * lyxrc.[Ch]: store all float values as strings.
1037 use int (not float) for lyxrc.dpi.
1039 2005-01-04 Angus Leeming <leeming@lyx.org>
1041 * lyx_cb.C (Reconfigure):
1042 * lyx_main.C (queryUserLyXDir):
1043 to run the <system_lyxdir>/configure correctly on Windows, prefix
1044 the path to the script with "sh " when generating the string that
1045 is passed to system().
1047 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1049 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1051 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1053 * lyxlength.C (asLatexString): get rid of setprecision
1055 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1057 * text2.C (setLayout): remove unused variable endpit.
1058 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1060 * paragraph.C (onlyText): remove unused variable style.
1062 * cursor.C (bruteFind): remove unused variables beg and end.
1064 * Makefile.am (dist_noinset_DATA): not needed anymore
1066 * cheaders/*: remove.
1068 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1070 * text3.C: fix LFUN_MATH_MODE.
1072 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1074 * buffer_funcs.C (countWords): new function. Counts words between
1077 * BufferView_pimpl.C (getStatus, dispatch): handle
1080 * LyXAction.C (init):
1081 * lfuns.h: add LFUN_WORDS_COUNT.
1083 2004-12-19 Angus Leeming <leeming@lyx.org>
1085 * buffer.C (save): s/slashify_path/internal_path/.
1087 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1089 * lyxfind.C (findChange): do not search for end of pars, because
1090 the change tracker cannot handle this (fixes bug 1719).
1092 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1094 * paragraph.[Ch] (autoBreakRows): remove
1096 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1098 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1099 avoid using the paragraph one
1101 * text2.C (LyXText, insertStringAsLines): adjust
1103 2004-12-16 Angus Leeming <leeming@lyx.org>
1107 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1109 2004-12-14 Angus Leeming <leeming@lyx.org>
1111 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1113 * bufferlist.C (emergencyWrite):
1114 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1117 2004-12-14 Angus Leeming <leeming@lyx.org>
1119 * main.C: (main): no longer pass pointers to os::init.
1121 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1123 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1124 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1126 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1129 * text3.C: remove selection_possible global flag
1131 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1133 * text2.C (getSelectionSpan): remove
1134 (changeDepth, changeDepthAllowed): adjust
1136 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1138 * Makefile.am (BOOST_LIBS): use boost variables
1140 2004-12-03 José Matos <jamatos@lyx.org>
1142 * buffer.C: format up to 238.
1144 2004-12-03 José Matos <jamatos@lyx.org>
1146 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1148 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1150 * cursor.C (goUpDown): remove call to idxUpDown2
1152 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1154 * tabular.[Ch]: use size_t-like types for cell, row and column
1157 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1159 * lyxfunc.C (getStatus): do not lose previous information when
1160 calling BufferView::getStatus; do not set a default "Command
1161 disabled" message at the beginning, but just before returning.
1163 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1165 * cursor.h (getStatus): add better comment from src/cursor.C
1167 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1169 * text3.C (getStatus): return false when the lfun is not handled
1171 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1173 * broken_headers.h: remove
1175 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1177 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1179 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1180 offset_ref accessors
1182 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1183 top_y_, merge fitcursor with update
1184 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1186 (metrics): introduce
1187 (workAreaDispatch): adapt to new coord scheme
1188 (redoCurrentBuffer): remove
1190 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1192 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1195 * coordcache.[Ch]: add paragraph cache and helpers
1197 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1200 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1201 (targetX, setTargetX): introduce
1203 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1204 baseline -> ascent, as the rest of lyx
1206 * lyxtext.h: remove redoParagraphs, updateParPositions,
1207 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1208 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1209 have ascent/descent (ascent is ascent of first par)
1211 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1214 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1216 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1218 * pariterator.C: fix infinite loop introduced in par->pit renaming
1220 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1221 in insets and LyXText, draw two off-screen paragraphs using
1222 NullPainter, and adapt to new coord scheme
1226 * text3.C: adapt lfun handlers to the new coord scheme, which
1227 means: there's only guaranteed coord information for onscreen pars
1228 plus one above and one below. This implies that one can do search
1229 from y coordinates in the range [-1,workHeight]
1231 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1233 * rename a lot of InsetOld to InsetBase
1235 2004-11-25 Angus Leeming <leeming@lyx.org>
1237 * BufferView_pimpl.C:
1239 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1241 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1243 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1244 call BufferView::getStatus if LCursor::getStatus did nothing
1245 (setStatusMessage, getStatusMessage): removed.
1247 * FuncStatus.C (message): new methods. Used to provide an error
1248 message indicating why a command is disabled.
1249 (clear, |=, FuncStatus): update for message.
1251 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1253 * lyxfunc.C (dispatch): always call sendDispatchMessage
1255 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1258 * BufferView_pimpl.C:
1263 * cursor_slice.[Ch]:
1266 * paragraph_funcs.C:
1272 * undo.C: par->pit renaming
1274 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1276 * tabular.C (cellstruct): use initialization, store a shared_ptr
1277 to insettext instead of the insettext directly, adjust to fit.
1278 (operator=): new function
1279 (swap): new function
1280 (rowstruct): use initialization
1281 (columnstruct): use initialization
1282 (ltType): use initialization
1285 * lyxlength.h (swap): new function
1287 * LColor.[Ch] (operator=): use the common semantics
1289 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1291 * lyxfind.C (findNextChange): update the bufferview after setting
1294 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1296 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1297 number of InsetOptArgs has already been inserted.
1299 * output_latex.C (latexOptArgInsets): new method. This outputs all
1300 the optarg insets, up to the limit defined in the layout file.
1301 (optArgInset): removed
1302 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1304 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1306 * paragraph.C (isLetter): remove special spellchecker-related
1307 code; return true also for digits
1308 (isWord, isKomma): remove
1310 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1311 * lyxfind.C (MatchString()): use isLetter instead of isWord
1313 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1315 * pariterator.h (operatir=): comment out un-implemented member
1318 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1321 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1323 * lyxfont.h: include LColor.h to satisfy concept checks.
1325 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1327 * pariterator.h: add typdefs for value_type, difference_type,
1328 pointer and reference to satisfy concept checks. Also add default
1329 constructor for same reason.
1331 * pariterator.C (operator++): add post-increment operator to
1332 satisfy concept checks.
1334 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1337 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1339 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1340 checks. Also rename base_type to BaseType to follow naming
1343 * FloatList.h: include Floating.h to satisfy concept checks.
1345 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1347 * lyxfunc.C (getStatus): when the origin of the request is menu or
1348 toolbar, and the LyXView does not have focus, do as if there was
1349 no buffer (bug 1720)
1351 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1352 FuncRequest to individual entries of LFUN_SEQUENCE
1354 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1356 * output_latex.C (TeXOnePar): override runparams.moving_arg
1357 according to the needprotect value of the current paragraph (bug
1360 * paragraph.C (simpleTeXOnePar): no need to override
1361 runparams.moving_args here
1363 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1365 * vspace.C: fix off-by-one-error, related to fix #1682
1367 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1369 * lengthcommon.C: a more general fix for bug 1682
1371 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1373 * text.C (backspace): fix crash
1375 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1377 * format.[Ch] (getFormatFromFile): new method
1378 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1380 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1382 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1384 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1386 * lyxfunc.C (dispatch): remove the verbose argument
1387 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1390 * kbmap.C (defkey): set the origin of func to KEYBOARD
1392 * MenuBackend.C (MenuItem):
1393 * ToolbarBackend.C (add): set the origin of func to UI
1395 * funcrequest.[Ch]: add origin member, which indicates which part
1396 of LyX requests an action
1398 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1400 * converter.C (move): don't lie in the error message
1401 * converter.h (isReachable, move): document
1403 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1405 * buffer.C: remove unused using lyx::support::atoi
1406 * paragraph_funcs.C: ditto
1408 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1410 * bufferlist.C (exists): use bind and equal_to instead of
1413 * lyxtextclasslist.C (NumberOfClass): ditto
1415 * cursor.C (insert): use for_each instead of explicit for loop
1417 * bufferlist.C (getFileNames): use std::transform and
1418 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1420 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1423 * buffer.C (changeLanguage): use for_each instead of explicit for
1425 (hasParWithID): implement using getParFromID
1427 * LaTeXFeatures.C: ws change only
1429 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1432 * BufferView_pimpl.C (trackChanges): use for_each instead of
1435 2004-11-04 André Pönitz <poenitz@gmx.net>
1438 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1440 * dociterator.C (asDocIterator): use hard assert again.
1442 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1444 * lyxlength.C (asLatexString): rewrite so that it does not use
1447 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * text3.C (specialChar, dispatch): make sure cursor moves to the
1450 right after inserting an inset
1452 2004-11-02 José Matos <jamatos@lyx.org>
1454 * output_docbook.C (docbook):
1455 * paragraph.C (getID):
1456 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1457 garantee that the output is always legal.
1459 * tabular.C (docbook):
1460 * outputprams.[Ch]: remove mixed contents.
1462 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1464 * text2.C (setCounter): prevent endless loop
1466 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1468 * exporter.C (copyFile): use the mover instead of support::copy()
1469 * exporter.C (Export): pass format and latex name to copyFile()
1470 * exporter.h (addExternalFile): document
1471 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1473 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1475 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1477 2004-10-30 José Matos <jamatos@lyx.org>
1479 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1480 text and no inset or font change. This allows to use CDATA
1481 sections just for the whole paragraph.
1483 2004-10-30 José Matos <jamatos@lyx.org>
1485 * paragraph.C (getFirstWord): remove unused variable.
1487 2004-10-30 José Matos <jamatos@lyx.org>
1489 * paragraph.C (getFirstWord): the content should always be escaped
1491 (simpleDocBookOnePar):
1492 * output_docbook.C (makeEnvironment): replace reference to CDATA
1495 2004-10-30 José Matos <jamatos@lyx.org>
1497 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1499 2004-10-30 José Matos <jamatos@lyx.org>
1501 * output_docbook.C (makeParagraphs):
1502 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1503 standard paragraph has only a given type of content drop the wrapper.
1505 2004-10-29 José Matos <jamatos@lyx.org>
1507 * output_docbook.C (makeEnvironment):
1509 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1511 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1513 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1514 (cleanID): sanitize any id.
1516 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1518 * buffer.C, lyxlex_pimpl.C:
1519 * lyxlex_pimpl.C (setFile):
1520 s/getExtFromContents/getFormatFromContents/
1522 2004-10-28 José Matos <jamatos@lyx.org>
1524 * output_docbook.C (makeEnvironment): move id to broadest possible
1527 * sgml.C (openTag): apply substitution of <> for all attributes.
1529 2004-10-28 José Matos <jamatos@lyx.org>
1531 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1532 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1533 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1535 * sgml.[Ch]: new version for open and closeTag for paragraph and
1536 for strings. Now they handle the ids of paragraphs.
1538 2004-10-26 Angus Leeming <leeming@lyx.org>
1540 * Makefile.am: add mover.[Ch].
1542 * converter.C (convert, move): use the new Movers to move external
1543 files to the temp directory.
1545 * lyx_main.C (init): ensure that the global system_movers data
1548 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1551 * mover.[Ch]: new files, defining a Mover as a utility to move an
1552 external file between directories and, if necessary, manipulate this
1553 file using a helper script.
1555 2004-10-25 José Matos <jamatos@lyx.org>
1557 * output_docbook.C (makeCommand): merge two if's that tested the
1560 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * sgml.C (escapeString): fix warning in a better way
1564 2004-10-25 José Matos <jamatos@lyx.org>
1566 * sgml.C (escapeString): import the require boosts header file for
1567 tie, and avoid a signed unsigned comparison.
1569 2004-10-25 José Matos <jamatos@lyx.org>
1571 * sgml.h: add #include <string>
1573 2004-10-25 José Matos <jamatos@lyx.org>
1575 * sgml.[Ch] (escapeString): new function to escape all the string.
1577 2004-10-24 José Matos <jamatos@lyx.org>
1579 * paragraph.[Ch] (getFirstWord): new function to get the first
1580 word. Useful for description.
1581 (simpleDocBookOnePar): remove depth argument, add another that
1582 says where to start the paragraph.
1584 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1585 use the new functions to fix cleanly the support for descriptions.
1587 2004-10-24 José Matos <jamatos@lyx.org>
1589 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1590 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1591 * output_linuxdoc.C (linuxdocParagraphs):
1592 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1593 add buffer as argument.
1595 2004-10-24 José Matos <jamatos@lyx.org>
1597 * output_docbook.C (makeEnvironment, searchEnvironment): place
1598 CDATA inside paragraphs and fix scope for listitems.
1600 2004-10-24 José Matos <jamatos@lyx.org>
1602 * output_docbook.C: remove using statement for stack.
1604 2004-10-23 José Matos <jamatos@lyx.org>
1606 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1607 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1608 docbook. The new scheme is recursive and makes use of iterators, the
1609 same as latex export works.
1610 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1611 directly with the paragraph contents. This code was moved up to
1612 output_docbook.C (docbookParagraphs).
1613 * sgml.C (openTag, closeTag): removed unneeded newlines.
1614 (closeEnvTags) removed.
1616 2004-10-23 André Pönitz <poenitz@gmx.net>
1618 * undo.C (textUndoOrRedo):
1619 * dociterator.C (asDocIterator): work around crash
1621 * cursor.C (getStatus): replace ASSERT by more verbose error message
1622 and manual correction of the problem. Should increase stability
1623 while providing more sensible information.
1625 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1627 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1629 * bufferlist.C (previous, next): new methods
1632 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1634 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1636 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1637 entities to preamble.
1639 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1641 * messages.C (Pimpl): strip off translation context information
1643 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1645 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1646 the cursor is correct (bug 1694)
1648 2004-10-13 José Matos <jamatos@lyx.org>
1650 * output_docbook.C (docbookParagraphs): fix closing tags in the
1651 end of the document.
1653 2004-10-09 José Matos <jamatos@lyx.org>
1655 * buffer.C: format up to 237.
1656 * bufferparams.C (write): use tostr to convert booleans to strings.
1658 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1660 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1662 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1664 * LaTeX.C: implement use of babel language in xindy.
1666 2004-10-05 José Matos <jamatos@lyx.org>
1668 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1669 Add new translators to help reading and writing the lyx file.
1671 2004-10-05 José Matos <jamatos@lyx.org>
1673 * ParagraphParameters.C (read):
1674 * text.C (readParToken): replace nexToken by more appropriate lex
1677 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1679 * LaTeX.C (runMakeIndex):
1680 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1681 (usually 'makeindex') configurable.
1683 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1684 with a variable rather than with a number.
1686 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1688 * output_latex.C (TeXOnePar): make sure font setting is the first
1689 thing that gets output (and the last at the end). Should fix bug
1692 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1694 * pch.h: use proper signal include
1696 * LaTeX.h: Use preferred calling of Boost.Signal
1699 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1701 * pch.h: dont include <boost/function/function0.hpp>
1703 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1705 * paragraph_pimpl.h: remove usage of ShareContainer
1707 * paragraph_pimpl.C: remove initialization of ShareContainer.
1709 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1713 * BufferView.C (putSelectionAt): change the semantics when
1714 backwards == true: now, this just swaps cursor and anchor wrt the
1717 * BufferView.h (putSelectionAt): add some documentation
1719 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1720 make sure backwardChar is done at least once (to avoid getting
1722 (findNextChange): use putSelectionAt in the forward direction
1723 (operator()): use Paragraph::isWord
1725 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1727 * Spacing.C (set): c_str fix
1729 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1731 * lyx_cb.C (Reconfigure): quote the name of configure script in
1732 case it contains spaces
1734 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1738 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1739 (BOOST_LIBS): use top_buildir when looking for the file
1741 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1743 * pch.h: do not use include boost/format.hpp, multiple symbols
1744 will result (gcc bug)
1747 2004-08-23 José Matos <jamatos@lyx.org>
1749 * bufferparams.C (readToken): fix reading of the author field.
1751 2004-08-20 José Matos <jamatos@lyx.org>
1753 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1755 2004-08-20 José Matos <jamatos@lyx.org>
1757 * lyxlex.[Ch] (findToken): remove function.
1759 * ParagraphParameters.C (findToken):
1760 * bufferparams.C (findToken): replace call for previous function
1761 with local copy. This local function has one more argument, the
1762 read string argument.
1764 2004-08-16 José Matos <jamatos@lyx.org>
1766 * ParagraphParameters.C (write):
1767 * Spacing.C (writeFile):
1768 * bufferparams.C (writeLaTeX):
1769 * lyx_cb.C (Reconfigure):
1770 * paragraph.C (write):
1771 * tabular.C (write): remove unnecessary space at end of line.
1774 2004-08-16 José Matos <jamatos@lyx.org>
1776 * text.C (readParagraph): remove debug message.
1778 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1780 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1783 * output_plaintext.C (asciiParagraph): set depth correctly
1785 * outputparams.h: add member depth
1787 * paragraph_funcs.C (ownerPar): remove.
1789 * text2.C (setCounter): remove first_pit; comment out some
1790 non-working code that uses ownerPar
1792 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1795 2004-08-16 José Matos <jamatos@lyx.org>
1797 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1798 For the same level of importance use the same chanel to report problems.
1799 (read): add code to deal with \begin_body and \end_body.
1802 2004-08-15 José Matos <jamatos@lyx.org>
1804 * lyxlex.C (getString): fix comment, buffer::readBody is now
1805 buffer:readDocument.
1807 * tex-strings.C (string_papersize): Default -> default,
1808 Custom -> custom, for consistency with other options.
1810 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1814 * Makefile.am: support pch
1816 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1818 * text.C (readParToken): remove the static LyXFont variable and
1819 pass it as a parameter instead. This fixes a nasty bug where an
1820 inset will be inserted with a bad font in some situations
1821 (readParagraph): adapt
1823 * text2.C (setCounter): reduce number of calls to pars_[pit]
1825 * text.C (singleWidth): add an assert, fix a test
1827 * rowpainter.C (paintText): reduce number of calls to singleWidth
1829 * paragraph.C (isHfill):
1830 (isNewline): ws only
1832 2004-08-14 André Pönitz <poenitz@gmx.net>
1837 * lyxtext.h (several functions): use a Paragraph & argument
1840 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1842 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1844 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1846 * text.C (singleWidth): remove useless test
1848 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1850 * tabular.h: remove bogus comments
1852 * tabular.C (getDescentOfRow):
1853 (isPartOfMultiColumn): add assertions
1855 * lyxlength.C (inPixels): remove #warning
1857 2004-08-14 André Pönitz <poenitz@gmx.net>
1859 * paragraph.h: inline getChar()
1861 * BufferView.h: remove unused declarations
1863 2004-08-14 José Matos <jamatos@lyx.org>
1865 * Buffer.[Ch] (readDocument): new name for old readBody.
1866 * Buffer.C: new file format, new keywords: \begin_document,
1867 \begin_header, \begin_body, \end_body.
1869 * bufferparams.C (readToken): replace all calls to lex.nextToken
1870 by lex.next(). Do the same to eatLine except where really needed.
1872 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1873 line when writing to the lyx file.
1875 * output_plaintext.C (asciiParagraph): fix Bibliography style
1878 * text.C (read): fix end of file handling.
1880 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1882 * MenuBackend.C (Menu::operator[]): new method to access
1883 individual menu items
1884 (Menu::hasFunc): new method. search for an item that corresponds
1886 (MenuBackend::specialMenu): new method
1887 (MenuBackend::expand): if a special menu has been set, skip
1888 entries whose func() appears in this menu
1890 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1892 * text3.C: use Debug::DEBUG a bit more
1894 * text.C (leftMargin): try to simplify a tiny bit change var x to
1895 l_margin. Dont output the wide margins always.
1896 (rightMargin): no margin in inner texts
1898 * rowpainter.h (nestMargin): new func
1899 (changebarMargin): new func
1900 (rightMargin): new func
1902 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1906 * factory.C (createInset): modify setDrawFrame
1908 * cursor.C: use Debug::DEBUG a bit more
1910 2004-08-14 André Pönitz <poenitz@gmx.net>
1913 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1914 cache for all insets in (at least partially) visible (top-level)
1917 * BufferView_pimpl.C: reset external coord cache before every update.
1918 This means the coord cache only contains valid entries.
1920 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1923 * BufferView_pimpl.C (getInsetByCode): move function out of class
1924 and change in to a template in anon namespace. Also fix to do what
1927 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1930 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1932 (breakParagraph): rename par to par_offset and use a local
1933 reference. Add code to keep the language over a rebreak.
1934 (breakParagraphConservative): rename par to par_offset, use a
1936 (mergeParagraph): ditto
1938 (isFirstInSequence): ditto
1939 (outerFont): rename pit to par_offset
1941 * paragraph.C: ws change
1942 * paragraph.h: ditto
1946 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1948 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1951 * paragraph.C (simpleTeXOnePar): when we have a \item with
1952 optional argument, enclose the argument with curly brackets (in
1953 case it contains a closing square bracket)
1957 * text3.C (checkInsetHit): constify
1959 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1961 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1962 documents (bug 1629)
1964 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1966 Fix toggling of collapsable insets with the mouse (bug 1558)
1968 * lyxfunc.C (dispatch): adapt to LCursor changes
1970 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1971 make sure that dispatch is not invoked twice
1973 * cursor.C (needsUpdate): new method
1974 (dispatch): return void
1975 (result): new method, to access the DispatchResult of the cursor.
1977 2004-08-13 José Matos <jamatos@lyx.org>
1979 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1981 2004-08-13 André Pönitz <poenitz@gmx.net>
1983 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1985 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1988 2004-08-12 André Pönitz <poenitz@gmx.net>
1990 * text3.C: take out the 'cursor right' form insertInset and only
1991 do it in those places when it is really needed. Fixes crash on
1994 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1996 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1998 * BufferView_pimpl.C (setBuffer): initialize the current font of
1999 the underlying LyXText
2001 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2003 * kbsequence.C (print): use UI native formatting for menu
2006 * text.C (insertChar): call Paragraph::insertChar with a font
2009 * paragraph.C (insertInset, insertChar): the version that takes a
2010 LyXFont argument is now a wrapper around the other one (the
2011 opposite used to be true).
2013 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2014 argument. Font setting is done in Paragraph now.
2016 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2018 * outputparams.h: add new members intitle and lang.
2020 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2021 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2023 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2025 * text3.C (dispatch): remove special handling of button 4 and 5,
2026 it is now taken care of in the frontend code.
2028 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2030 * Spacing.h: add <string> (STLPort compile fix)
2032 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2034 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2036 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2038 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2041 * converter.C (showMessage): inherit from unary_function, make
2044 * buffer.C (writeFile): initialize retval
2046 * InsetList.h: rename private variable list to list_
2047 * InsetList.[Ch]: adjust accordingly.
2049 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2051 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2052 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2053 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2054 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2055 * ParagraphParameters.C, LaTeXFeatures.C: replace
2056 "support/std_sstream.h" with <sstream>
2058 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2060 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2061 * lyxsocket.C (LyXServerSocket): ditto
2062 (serverCallback): ditto
2064 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2066 * LaTeXFeatures.C: check release date when loading jurabib.
2068 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2070 * lyxserver.C (startPipe): call register_socket_callback
2071 (endPipe): call unregister_socket_callback
2073 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2075 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2076 (LyXServerSocket): register the callback
2077 (LyXServerSocket): unregister the callback
2078 (fd): delete function
2079 (serverCallback): improve error checking and setup the callbacks.
2080 (dataCallback): change arg to fd.
2081 (writeln): new func (copied fro the client socket) used for server
2083 (LyXDataSocket): simplify
2084 (~LyXDataSocket): close ann unregiser callback
2085 (server): delete function
2086 (fd): delete function
2087 (readln): small changes, improve some std::string usage
2088 (writeln): constify a bit
2090 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2092 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2095 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2097 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2098 after it has been populated
2100 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2102 * text2.C (insertInset): move cursor when inserting inset.
2104 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2106 * kbmap.C (findbindings): a couple of new methods. returns a
2107 container of kb_sequence objects. The real work is done by the
2108 private recursive version
2109 (printbindings): uses findbindings to print out a bracketed list
2110 of bindings (renamed from findbinding).
2112 * MenuBackend.C (binding): use kb_keymap::findbindings
2114 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2116 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2118 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2120 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2122 * paragraph.C (isWord): return true on insets that report
2125 * text.C (getWord): use Paragraph::isWord to decide what is in a
2126 word and what is not; fix bug 1609.
2128 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2130 * tex-strings.C: add "none" to string_paperpackages[], fixes
2131 off-by-one-error in the paperpackage selection.
2134 * tex-strings.[Ch]: char const * string[n]
2135 -> char const * const string[]
2137 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2139 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2140 command, return early.
2142 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2144 * debug.h: add DEBUG to enum and fix size of ANY.
2146 * debug.C: add support for Debug::DEBUG
2147 (showTags): cast errorTags.level to unsigned int
2149 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2150 (redoCurrentBuffer): ditto
2151 (updateScrollbar): ditto
2152 * cursor.C (dispatch): ditto
2153 * text2.C (setLayout): ditto
2155 (updateCounters): ditto
2157 (deleteEmptyParagraphMechanism): ditto
2159 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2161 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2162 annotations to cleanup the Makefile slightly.
2164 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2166 * lyxrc.C: do not set user_email to a default value but use empty
2167 instead. The entry used to be translated, which does not work
2168 since at the point where lyxrc is constructed there is no
2169 translation service available
2171 * messages.C (getLocaleDir): remove and use directly
2172 lyx_localedir() instead
2174 2004-06-02 Angus Leeming <leeming@lyx.org>
2176 Fix crash caused by dereferencing null pointer 'exportdata' in
2177 OutputParams by creating a new ExportData variable on the heap,
2178 storing it in a boost::shared_ptr.
2179 The crash was triggered when generating an Instant Preview
2180 of an external inset.
2182 * Makefile.am: add outputparams.C
2184 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2185 (c-tor): allocate memory to it.
2187 * exporter.C (c-tor): associated changes.
2189 2004-06-01 Angus Leeming <leeming@lyx.org>
2191 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2192 contains data before calling isInset(0). (Bug 1513.)
2194 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2196 * exporter.C (checkOverwrite): new method
2197 * exporter.C (copyFile): new method
2198 * exporter.C (Export): copy referenced files to the document dir
2199 * exporter.[Ch]: new class ExportedFile
2200 * exporter.[Ch]: new class ExportData. Contains currently the
2201 names of referenced external files
2202 * outputparams.h: add exportdata member.
2204 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2206 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2209 2004-05-19 Angus Leeming <leeming@lyx.org>
2214 * lyxfunc.C: small changes due to the introduction of namespace
2215 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2217 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2219 * text3.C (dispatch): supress update when only moving the cursor
2220 * cursor.C (selHandle): remove commented code
2222 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2224 * paragraph.C (startTeXParParams): correct column count
2225 * CutAndPaste.C (pasteSelection): remove const_cast
2226 * output_docbook.C (docbookParagraphs): remove const_cast
2227 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2228 const_cast and return ParagraphList::const_iterator
2229 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2230 * output_plaintext.C (writeFileAscii): remove const_cast
2231 * paragraph.[Ch] (simpleTeXOnePar): make const
2232 * paragraph_funcs.C (outerPar): use const iterators
2233 * paragraph_pimpl.C (validate): use const iterators
2234 * text.C (setHeightOfRow): use const iterators
2236 2004-05-17 Angus Leeming <leeming@lyx.org>
2239 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2241 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2242 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2243 if the citation engine has changed.
2245 2004-05-14 José Matos <jamatos@lyx.org>
2247 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2248 if the textclass does not provide it. Have it different for sgml and
2250 support the language of document.
2251 * output_docbook.C (docbookParagraphs):
2252 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2253 first anchor as the id of the paragraph, remove special case code.
2254 * sgml.C (escapeChar): escape only < & >.
2256 2004-05-14 Angus Leeming <leeming@lyx.org>
2258 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2259 dependencies on src/frontends/controllers/biblio.h. Define a
2260 CiteEngine_enum wrapper class to enable the enum to be forward
2263 2004-05-12 Angus Leeming <leeming@lyx.org>
2265 * buffer.C: up LYX_FORMAT to 234.
2266 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2267 use_numerical_citations with a single biblio::CiteEngine cite_engine
2269 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2271 2004-05-13 José Matos <jamatos@lyx.org>
2274 * converter.C (Converter, readFlags): add xml member.
2275 * outputparams.h: add XML flavor.
2276 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2278 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2280 * lyxfunc.C (dispatch):
2281 (getStatus): fix handling of LFUN_SEQUENCE
2283 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2285 * debug.C (showLevel): do not forget the end-of-line marker
2287 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2289 * kbmap.C (read): do not stop parsing a bind file when an error
2292 2004-04-29 Angus Leeming <leeming@lyx.org>
2297 * text2.C: wrap a bunch of #warning statements
2298 inside #ifdef WITH_WARNINGS blocks.
2300 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2302 * buffer.C: increment format to 233.
2304 2004-04-28 Angus Leeming <leeming@lyx.org>
2306 * BufferView_pimpl.C:
2309 s/updateToolbar()/updateToolbars()/
2310 s/Toolbar.h/Toolbars.h/
2312 2004-04-28 Angus Leeming <leeming@lyx.org>
2314 * BufferView.[Ch] (c-tor):
2315 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2316 No longer passes these data to the WorkArea generator.
2318 2004-04-28 Angus Leeming <leeming@lyx.org>
2320 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2322 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2324 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2326 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2328 * output_latex.C (TeXEnvironment): make sure that there is a line
2329 break before \end{foo} for the last paragraph of a document
2330 (TeXOnePar): if the paragraph is at the end of the document (or
2331 inset) and the language has to be reset, then make sure that the
2332 line break is _before_ the language command, not after (fixes bug
2333 1225); also make sure that the language reset command is the first
2334 thing after the paragraph (to ensure proper nesting of
2335 environments and thus fix bug 1404)
2337 2004-04-21 John Levon <levon@movementarian.org>
2340 * ToolbarBackend.C: make "name" be a programmatic name
2341 and a gui_name field.
2343 * lyxfunc.C: display the minibuffer on M-x
2345 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2347 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2350 2004-04-19 Angus Leeming <leeming@lyx.org>
2352 * BufferView_pimpl.C (setBuffer): changed preview interface.
2354 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2357 2004-04-19 John Levon <levon@movementarian.org>
2359 * BufferView_pimpl.C:
2360 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2362 2004-04-05 Angus Leeming <leeming@lyx.org>
2364 * text.C (redoParagraphs): add call to updateCounters(), thereby
2365 fixing the missing "Figure #:" label from the caption of a
2368 2004-04-13 Angus Leeming <leeming@lyx.org>
2370 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2371 cursor is clicked out of an inset.
2373 2004-04-13 Angus Leeming <leeming@lyx.org>
2375 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2376 than an InsetOld one.
2378 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2380 * format.[Ch]: add editor to Format
2381 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2382 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2384 2004-04-08 André Pönitz <poenitz@gmx.net>
2386 * metricsinfo.h: remove PainterInfo::width member
2388 2004-04-08 Angus Leeming <leeming@lyx.org>
2390 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2391 "\providecommand" rather than "\newcommand", thereby preventing
2392 clashes with packages that define "\boldsymbol" themselves.
2395 2004-04-08 Angus Leeming <leeming@lyx.org>
2397 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2398 thereby squashing an unnecessary warning.
2400 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2402 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2405 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2407 * BufferView.C (setCursor): call redoParagraph (some insets could
2409 (putSelectionAt): remove the 'double update' trick
2411 * BufferView_pimpl.C (fitCursor): call refreshPar
2412 (workAreaDispatch): remove an uneeded update call
2413 (dispatch): remove some manual update calls
2415 * cursor.[Ch]: remove cached_y_, updatePos
2416 (selHandle): set noUpdate when appropriate
2418 * lyxfunc.C (dispatch): track if we need an update
2420 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2422 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2423 (paintSelection): cheap optimization, do not call cursorX when not
2425 (paintPars): change signature
2428 (paintTextInset): adjust
2432 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2434 * lengthcommon.C: compilation fix: remove explicit array size from
2435 unit_name[] and friends
2437 2004-04-05 Angus Leeming <leeming@lyx.org>
2439 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2441 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2442 present only for the preferences dialog.
2443 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2445 2004-04-05 Angus Leeming <leeming@lyx.org>
2447 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2448 to enable the frontends to export changes to lyxrc correctly.
2450 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2452 2004-04-07 André Pönitz <poenitz@gmx.net>
2454 * cursor.[Ch] (selClear, adjust): remove math
2456 * cursor_slice.C: more agressive assert
2459 * BufferView_pimpl.C: rework mouse event dispatch
2466 2004-04-05 André Pönitz <poenitz@gmx.net>
2468 * cursor.[Ch] (valign, halign...): remove unneeded functions
2470 2004-04-05 Angus Leeming <leeming@lyx.org>
2472 * lyxlength.[Ch] (unit_name et al.): const-correct.
2474 2004-04-05 Angus Leeming <leeming@lyx.org>
2476 * BufferView_pimpl.C:
2485 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2487 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2489 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2491 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2493 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2494 * BufferView_pimpl.[Ch] (getStatus)
2495 * BufferView.[Ch] (getStatus): add
2496 * lyxfunc.C (getStatus): move lfuns handled in
2497 BufferView::dispatch to te function above
2498 * Cursor.C (setSelection): set selection() = true
2500 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2502 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2504 2004-03-31 Angus Leeming <leeming@lyx.org>
2506 * lyxfunc.C (dispatch): Fall through to the generic
2507 Dialogs::show("preamble").
2509 2004-03-31 Angus Leeming <leeming@lyx.org>
2511 * lyxfunc.C (dispatch): Fall through to the generic
2512 Dialogs::show("spellchecker").
2514 2004-03-31 Angus Leeming <leeming@lyx.org>
2516 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2519 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2524 * insetiterator.[Ch]:
2529 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2531 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2533 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2534 insets where we are putting the cursor.
2536 2004-03-31 Angus Leeming <leeming@lyx.org>
2539 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2541 * lyxrc.[Ch] (read, write): overloaded member functions taking
2542 a std::[io]stream arguments.
2544 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2546 2004-03-31 Angus Leeming <leeming@lyx.org>
2548 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2549 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2551 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2552 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2554 2004-03-31 Angus Leeming <leeming@lyx.org>
2556 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2557 the LFUN_ALL_INSETS_TOGGLE code.
2559 2004-03-30 Angus Leeming <leeming@lyx.org>
2561 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2562 has died. Fall through to the generic Dialogs::show("document").
2564 2004-03-30 Angus Leeming <leeming@lyx.org>
2567 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2568 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2570 * lyxfunc.C (getStatus, dispatch): define the actions for these
2571 lfuns. Little more than a cut and pste job from ControlDocument.C
2573 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2575 2004-03-30 Angus Leeming <leeming@lyx.org>
2578 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2579 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2581 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2582 open/closed state of ollapsable insets. Usage:
2584 all-inset-toggle <state> <name>, where
2585 <state> == "open" || "closed" || "toggle" and
2586 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2588 * lyxtext.h, text2.C (toggleInset): removed.
2590 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2591 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2592 now passes LFUN_INSET_TOGGLE to the found inset.
2594 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2595 is now invoked as "all-insets-toggle toggle branch".
2597 2004-03-30 Angus Leeming <leeming@lyx.org>
2601 * pariterator.[Ch]: added/corrected header blurb.
2603 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2605 * dociterator.[Ch]: add an inset_ member
2606 (backwardPos): implemented
2607 (backwardPos, forwardPos): use inset_ when the stack is empty.
2608 (doc_iterator_begin, doc_iterator_end): implemented
2609 * pariterator.[Ch]: adjust, add begin, end
2610 * insetiterator.[Ch]: adjust, add begin, end
2614 * BufferView_pimpl.C:
2615 * CutAndPaste.C: adjust
2617 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2619 * buffer.C: increment file format to 232.
2620 * LaTeXFeatures.C: add bibtopic package.
2621 * bufferparams.[Ch]: param \use_bibtopic.
2623 * lyxrc.[Ch]: add lyxrc bibtex_command
2624 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2626 * buffer.C: increment file format to 231.
2628 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2630 * dociterator.C: implement forwardPar
2631 * iterators.[Ch]: remove, replaced by
2632 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2634 * BufferView_pimpl.C:
2637 * bufferview_funcs.C:
2643 * Makefile.am: adjust
2645 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2647 * CutAndPaste.C (pasteSelection): fix 2 crashes
2648 (eraseSelection): fix a crash
2649 * paragraph_funcs.C: remove a warning
2651 2004-03-28 Angus Leeming <leeming@lyx.org>
2654 * LyXAction.C (init): new LFUN_PRINT.
2656 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2658 2004-03-27 Angus Leeming <leeming@lyx.org>
2661 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2663 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2665 2004-03-27 Angus Leeming <leeming@lyx.org>
2667 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2668 insetlist always contains non-null pointers to insets.
2670 2004-03-26 Angus Leeming <leeming@lyx.org>
2672 * src/BufferView_pimpl.C:
2673 * src/CutAndPaste.C:
2676 * src/output_plaintext.C:
2677 * src/outputparams.h:
2678 * src/paragraph_funcs.C:
2682 * src/frontends/controllers/ControlErrorList.C:
2683 * src/frontends/gtk/FileDialogPrivate.C:
2684 * src/frontends/gtk/GPainter.C:
2685 * src/frontends/gtk/GToolbar.C:
2686 * src/frontends/qt2/QRef.C:
2687 * src/mathed/math_scriptinset.C: squash compiler warnings.
2689 2004-03-26 Angus Leeming <leeming@lyx.org>
2691 * ispell.C (LaunchIspell::start):
2692 * lyx_cb.C (AutoSaveBuffer::start):
2693 invoke run(DontWait) rather than runNonBlocking().
2695 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2697 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2699 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2701 * kbsequence.C (print): adjust
2703 * kbmap.C (printKeySym): rename and change signature
2704 (printKey): use LyXKeySym::print()
2706 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2708 * undo.C: add using std::advance to compile for stlport
2710 2004-03-24 Angus Leeming <leeming@lyx.org>
2712 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2713 it leads to a crash when no buffer is present.
2715 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2716 Martin Vermeer <martin.vermeer@hut.fi>
2718 * lyxfunc.C (dispatch):
2719 * bufferparams.C (readToken): use the new LColor::setColor
2721 * LColor.[Ch] (setColor): new version that takes two strings as
2722 argument and creates a new color entry if necessary
2724 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2726 * buffer.C (makeLaTeXFile): if the main latex file that is
2727 processed is usually a subdocument of some master, then pretend
2728 for a while that it is actually the master
2730 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2732 * buffer.C (getLabelList):
2733 (getBibkeyList): use getMasterBuffer()
2734 (getMasterBuffer): new method. Returns the main document in the
2735 case where one is using included documents.
2737 2004-03-25 André Pönitz <poenitz@gmx.net>
2741 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2743 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2745 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2746 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2748 * ParameterStruct.h: merge with ParagraphParameters
2750 * lyxtext.h: remove LyXText::parOffset() and getPar()
2752 * text3.C: Remove all 'manual' update calls. We do now one per user
2753 interaction which is completely sufficient.
2757 * BufferView_pimpl.C:
2758 * FontIterator.[Ch]:
2760 * ParagraphParameters.[Ch]:
2765 * cursor_slice.[Ch]:
2772 * output_docbook.[Ch]:
2773 * output_latex.[Ch]:
2774 * output_linuxdoc.[Ch]:
2775 * output_plaintext.[Ch]:
2777 * paragraph_funcs.[Ch]:
2778 * paragraph_pimpl.[Ch]:
2786 * frontends/controllers/ControlDocument.C:
2787 * frontends/controllers/ControlErrorList.C:
2788 * frontends/controllers/ControlSpellchecker.C:
2791 * insets/insetbase.h:
2792 * insets/insetbibitem.C:
2793 * insets/insetbox.C:
2794 * insets/insetbranch.C:
2795 * insets/insetcaption.C:
2796 * insets/insetcharstyle.C:
2797 * insets/insetcharstyle.h:
2798 * insets/insetcollapsable.C:
2799 * insets/insetcollapsable.h:
2800 * insets/insetert.C:
2801 * insets/insetfloat.C:
2802 * insets/insetfoot.C:
2803 * insets/insetmarginal.C:
2804 * insets/insetnote.C:
2805 * insets/insetoptarg.C:
2806 * insets/insettabular.C:
2807 * insets/insettext.C:
2808 * insets/insettext.h:
2809 * insets/insetwrap.C:
2810 * mathed/math_mboxinset.C:
2811 * mathed/math_nestinset.C:
2812 * mathed/math_scriptinset.C:
2813 * mathed/math_scriptinset.h:
2816 2004-03-24 Angus Leeming <leeming@lyx.org>
2818 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2819 deal with any child processes that have finished but are waiting to
2820 communicate this fact to the rest of LyX.
2822 2004-03-24 Angus Leeming <leeming@lyx.org>
2824 64-bit compile fixes.
2826 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2827 (c-tor): pass lyx::pos_types rather than ints.
2829 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2832 * text.C (Delete): compile fix.
2833 (getPar): ensure that function declaration is the same as that in
2836 2004-03-23 Angus Leeming <leeming@lyx.org>
2838 * ispell.C (LaunchIspell):
2839 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2840 a boost::shred_ptr rather than a std::auto_ptr.
2842 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2844 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2845 handle LFUN_FILE_INSERT_*
2847 * lyxrc.C (setDefaults, getDescription, output, read):
2848 * lyxrc.h: remove ps_command
2850 2004-03-22 Angus Leeming <leeming@lyx.org>
2852 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2853 Ensure that error_handler is processed once only and that all data
2854 is saved before attempting to output any warning messages.
2856 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2858 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2860 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2862 2004-03-19 André Pönitz <poenitz@gmx.net>
2864 * cursor.[Ch] (reset): take main text inset as argument
2866 * BufferView: adjust
2867 * BufferView_pimpl.C: adjust
2869 * paragraph.[Ch]: fix completely broken operator=()
2871 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2873 * LColor.C (getFromLyXName): make sure that the color name is used
2876 2004-03-17 Angus Leeming <leeming@lyx.org>
2879 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2881 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2882 dialog and to kill a forked process.
2884 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2886 * text2.C (setCursorFromCoordinates): fix font problem
2888 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2890 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2891 bogus "rebuild cursor" code
2893 2004-03-11 André Pönitz <poenitz@gmx.net>
2895 * buffer.[Ch]: use InsetText instead of LyXText as container for
2898 * dociterator.[Ch]: drop the BufferView * member which is not needed
2899 anymore after the change to buffer.C
2901 * paragraph_funcs.C:
2905 * BufferView_pimpl.[Ch]:
2907 * cursor_slice.[Ch]: adjust
2909 * text3.C: fix bug in mathDispatch
2911 2004-03-08 André Pönitz <poenitz@gmx.net>
2913 * undo.[Ch]: use 'StableDocumentIterator' as base for
2916 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2919 * bufferparams.[Ch]: add jurabib support and param.
2921 * LaTeX.C: add FIXME/comment.
2923 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2925 * buffer.C: increment file format to 230.
2927 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2929 * cursor.C (dispatch): avoid infinite loops
2931 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2933 * rowpainter.C (paintSelection): fix x coordinates
2935 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2937 * text.C (rowBreakPoint): fix breaking before displayed insets
2939 2004-03-01 André Pönitz <poenitz@gmx.net>
2941 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2943 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2947 * BufferView_pimpl.C:
2955 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2961 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2962 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2964 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2966 * Bidi.[Ch] (computeTables): const correctness
2967 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2968 fill_hfill, fill_label_hfill and x from Row
2969 * lyxtext.h: prepareToPrint returns a RowMetrics
2970 * rowPainter.C: adjust
2971 * text.C (prepareToPrint): use width, not textWidth. adjust
2972 (redoParagraphInternal, cursorX): adjust
2973 * text2.C (getColumnNearX): adjust
2974 (init): put a default value to the top LyXText::width
2976 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2978 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2980 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2982 * lyxtext.h: add FontIterator class
2984 * text.C (FontIterator, operator*, operator->, operator++): add
2985 (rowBreakPoint, setRowWidth): adjust (fixing a
2988 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2990 * BufferView_pimpl.C (workAreaDispatch): allow also
2991 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2993 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2995 * text.C (rowBreakPoint): fix a bug showing with very large insets
2997 2004-02-25 André Pönitz <poenitz@gmx.net>
3000 * cursor.[Ch]: move some mathed specific code to mathed
3002 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3004 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3005 use_tempdir in preferences
3006 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3008 * lyx_main.C: ensure that tempdir is valid
3009 * lyxlex.h: correct typo
3010 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3011 * paragraph.[Ch] (isMultiLingual): make const
3012 * cursor.[Ch] (openable): make const
3014 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3016 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3018 2004-02-20 André Pönitz <poenitz@gmx.net>
3020 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3022 * cursor.[Ch]: prepare for localized getStatus()
3028 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3030 2004-02-20 André Pönitz <poenitz@gmx.net>
3032 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3034 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3036 * text2.C (setCursorFromCoordinates): switch to absolute coords
3038 (cursorDown): adjust
3039 * text3.C (dispatch): adjust
3041 2004-02-16 André Pönitz <poenitz@gmx.net>
3043 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3046 * cursor_slice.[Ch]: remove unneeded acessor function
3048 * lyxtext.h: rename rtl() to isRTL()
3056 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3058 * rowpainter.C (paintSelection): coord fix
3060 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3062 * Spacing.C: compile fix
3064 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3066 * cursor.C (dispatch): restore current_ before returning
3068 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3070 * text2.C (cursorUp, cursorDown): fix coords
3073 2004-02-12 André Pönitz <poenitz@gmx.net>
3078 * text3.C: add LCursor & parameter to most cursor movement functions
3079 remove usage of LyXText::cursorRow() and cursorPar()
3081 * cursor.[Ch]: add textRow() needed members
3084 * BufferView_pimpl.C:
3087 * BufferView_pimpl.C: adjust
3089 2004-02-11 André Pönitz <poenitz@gmx.net>
3093 * BufferView_pimpl.C: shift undo/redo handling
3095 * cursor.[Ch]: fix mathed crash
3098 * lyxtext.h: move selectionAsText to LCursor
3106 * rowpainter.C: fix excessive drawing
3108 2004-02-06 André Pönitz <poenitz@gmx.net>
3111 * BufferView_pimpl.[Ch]:
3112 * text3.C: move some text specific LFUN handling
3114 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3116 * text3.C (checkInsetHit): adjust coords
3117 * text2.C (getColumnNearX): adjust coords
3118 (edit): adjust coords
3119 * text.C (getRowNearY): add two asserts
3121 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3124 * format.C: add using std::distance to compile on gcc 2.95/stlport
3126 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3128 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3130 2004-02-04 André Pönitz <poenitz@gmx.net>
3132 * BufferView.[Ch] (insertInset):
3133 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3138 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3140 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3141 on the default clause of the switch
3142 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3143 wasn't catched by LCursor::dispatch
3145 2004-02-03 André Pönitz <poenitz@gmx.net>
3148 * cursor.[Ch]: some additional asserts
3150 * undo.[Ch]: remove LyXText dependency in interface
3154 * lyxtext.h (firstPar, lastPar): remove dead functions
3159 * paragraph.[Ch]: adjust
3161 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3163 * lyxfind.C (find): fix argument order in call to ::find
3165 2004-02-02 André Pönitz <poenitz@gmx.net>
3167 * cursor.[Ch]: remove direct access to anchor
3169 * text.C: remove findText() hack
3171 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3173 * iterators.[Ch] (lockPath): remove in favour of...
3174 * BufferView.[Ch] (setCursor): this addition
3175 * BufferView.C (putSelectionAt): adjust
3176 * undo.C (performUndoOrRedo): adjust
3177 * lyxfunc.C (dispatch): adjust
3179 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3181 * iterators.C (lockPath): add a missing slice
3182 * undo.C (performUndoOrRedo): remove redundant positioning code
3184 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3186 * vc-backend.C (scanMaster): ";" -> ';'
3188 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3190 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3191 std::binary_function
3193 * lyxtextclass.C (compare_name): rename to...
3194 (LayoutNamesEqual): ...this
3196 * lyxlex_pimpl.C (compare_tags): inherit from
3197 std::binary_function, put back into anon namespace
3199 * lyxfind.C (MatchString): inherig from std::binary_function
3200 (findChange): use empty() istead of !size()
3202 * format.C (FormatNamesEqual): new functor
3209 * converter.C (compare_Converter): rename to...
3210 (ConverterEqual): ...this, and fixup a bit.
3211 (getConverter): use it, and make function const
3212 (getNumber): use it, and make function const
3216 * bufferlist.C: add using boost::bind
3218 * MenuBackend.C (MenuNamesEqual): new functor
3219 (hasMenu): use it, and make function const
3220 (hasSubmenu): use nested bind to get rid of compare_memfun.
3222 2004-01-30 André Pönitz <poenitz@gmx.net>
3224 * BufferView_pimpl.C:
3227 * cursor_slice.[Ch]:
3230 * paragraph_funcs.C:
3231 * paragraph_funcs.h:
3235 * text3.C: move some of the edit(x,y) handling to the insets
3236 some coordinate changes.
3238 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3240 * text.C: add using statements for std::advance and std::distance
3242 * paragraph.C: add using statement for std::distance
3244 * lyxfind.C: add using statement for std::advance
3246 * cursor.C (region): remove std:: from swap
3247 (openable): use nucleus in stead of operator->
3249 * BufferView.C: add using statements for std::distance and std::swap
3251 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3253 * iterators.C: Remove the pimple, move the needed structures to
3254 the header file. Create accessor for the positions stack.
3255 (asPosIterator): remove function
3257 * PosIterator.C (PosIterator): move constructors to top of file
3258 (PosIterator): reimplement the constructor taking a ParIterator in
3260 (setFrom): new function
3261 (operator!=): inline it
3263 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3265 * lyxfind.C (replaceAll): use std::advance
3267 * iterators.h: inherit from std::iterator.
3269 * PosIterator.C (advance, distance): remove
3270 * PosIterator.h: interit from std::iterator.
3272 2004-01-26 André Pönitz <poenitz@gmx.net>
3275 * BufferView_pimpl.[Ch]:
3279 * bufferview_funcs.C:
3289 * output_linuxdoc.C:
3290 * output_plaintext.C:
3292 * paragraph_funcs.[Ch]:
3293 * paragraph_pimpl.[Ch]:
3299 * text3.C: more IU: dumps most of the rest of the mathcursor
3300 implementation into cursor.[Ch]; "globalize" a bit of it.
3302 2004-01-25 Angus Leeming <leeming@lyx.org>
3304 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3306 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3308 * LaTeXFeatures.h: add nice_ and nice() const
3309 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3311 2004-01-20 André Pönitz <poenitz@gmx.net>
3314 * BufferView_pimpl.C:
3316 * bufferview_funcs.C:
3318 * cursor_slice.[Ch]:
3329 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3330 LCursor and mathcursor parts to LCursor and InsetBase.
3332 2004-01-15 André Pönitz <poenitz@gmx.net>
3334 * cursor_slice.[Ch]: add a few covienience functions
3336 * funcrequest.[Ch]: remove BufferView * member
3338 * BufferView_pimpl.C:
3345 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3347 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3349 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3350 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3352 2004-01-13 André Pönitz <poenitz@gmx.net>
3355 * lyxtext.h: hide cursor and selection anchor behind accessor function
3358 * BufferView_pimpl.[Ch]:
3360 * bufferview_funcs.C:
3370 * cursor_slice.[Ch]: some integer type changes for inset unification
3372 * lyxcursor.[hC]: remove, it's CursorSlice now.
3375 * BufferView_pimpl.[Ch]:
3376 * bufferview_funcs.C:
3382 * textcursor.[Ch]: adjust
3384 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3386 * text2.C (undoSpan): add and use
3387 * text.C (breakParagraph): use undoSpan (fix bug 578)
3390 2004-01-08 Angus Leeming <leeming@lyx.org>
3392 * BufferView_pimpl.C (MenuInsertLyXFile):
3393 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3394 * lyxfunc.C (menuNew, open, doImport):
3395 FileFilterList change to the FileDialog open and save functions.
3397 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3399 * ShareContainer.h: make isEqual and isUnique adaptable
3401 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3403 2004-01-07 Angus Leeming <leeming@lyx.org>
3406 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3408 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3410 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3411 functions replacing find, replace and replaceAll.
3413 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3414 LFUN_WORDFIND(FORWARD|BACKWARD).
3416 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3418 * text.C (breakParagraph): remove an outdated #warning
3420 2004-01-07 André Pönitz <poenitz@gmx.net>
3422 * lyxfind.C: somewhat clearer logic
3424 * text.C: prevent crash in cursorX on unitialized row cache
3426 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3428 * lyxcursor.[Ch] (operator>): add
3429 * textcursor.C (selStart, selEnd): use std::min and std::max
3431 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3433 * Chktex.C: include boost/format.hpp
3435 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3437 * InsetList.C: replace functor MathcIt with adaptable functor
3439 (insetIterator): modify accordingly
3441 * BranchList.h: move the BranchNamesEqual functor here from...
3442 * BranchList.C: ... to here
3444 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3446 (add): replace a finding loop with std::find_if.
3448 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3450 * output_docbook.C: moving LatexParam functionality into
3453 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3455 * buffer.C: increment format to 229.
3457 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3460 * lyx_sty.[Ch]: remove minipageindent_def
3466 * text3.C: remove LFUN_INSET_MINIPAGE
3468 2003-12-28 Angus Leeming <leeming@lyx.org>
3470 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3472 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3474 * text2.C (setParagraph): fix off-by-one crash
3476 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3478 * output_docbook.C: header stuff for AGU
3480 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3482 * text2.C (redoCursor): remove
3485 * BufferView_pimpl.C: remove calls to redoCursor and
3486 setCursor(cursor.par(), cursor.pos()) all around
3488 2003-12-15 Angus Leeming <leeming@lyx.org>
3490 * buffer.C: up the format to 228.
3492 2003-12-15 André Pönitz <poenitz@gmx.net>
3494 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3499 * BufferView_pimpl.C:
3508 2003-12-15 Angus Leeming <leeming@lyx.org>
3510 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3511 than getFromGUIName to manipulate the color.
3513 2003-12-14 Angus Leeming <leeming@lyx.org>
3515 * BranchList.[Ch]: minimize the API.
3516 (Branch::getBranch, getColor): now return a 'const &'.
3517 (Branch::setSelected) now returns a bool set to true if the
3518 selection status changes.
3519 (BranchList::clear, size, getColor, setColor, setSelected,
3520 allBranches, allSelected, separator): removed.
3521 (BranchList::find): new functions, returning the Branch with
3523 (BranchList::add, remove): return a bool indicating that
3524 the operation was successful.
3526 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3527 new InsetBranch::isBranchSlected member function.
3529 * LColor.[Ch]: mimimize the API.
3530 (fill): renamed as addColor and made private.
3531 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3532 versions of these functions taking a string arg have been removed.
3534 * bufferparams.C (readToken):
3535 * lyxfunc.C (dispatch):
3536 * lyxrc.C (read): changes due to the altered BranchList and
3539 * factory.C (createInset, readInset): changes due to altered
3542 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3545 * lyxfunc.C: remove insetminipage. "minipage-insert"
3546 now produces a frameless minipage box inset.
3548 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3550 * textcursor.[Ch] (selStart,selEnd): add new methods
3551 remove selection::start, end, use LyXCursor::operator<
3552 * lyxcursor.[Ch] (operator<): add
3553 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3554 * BufferView.[Ch] (unsetXSel): add
3555 * text2.C (clearSelection): use unsetXSel,adjust
3558 * rowpainter.C: adjust
3559 * bufferview_funcs.C (put_selection_at): adjust
3561 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3563 * BufferView_pimpl.C: small coord. correction
3565 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3567 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3568 dragging over the splash screen.
3570 2003-12-11 Angus Leeming <leeming@lyx.org>
3572 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3573 as it is now handled in LyXText::dispatch.
3575 * text3.C (doInsertInset): remove a level of nesting.
3577 2003-12-11 Angus Leeming <leeming@lyx.org>
3579 * factory.C (createInset): changes due to the changed interface to
3580 InsetCommandMailer::string2params.
3582 2003-12-10 Angus Leeming <leeming@lyx.org>
3584 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3585 'dialog-show-new-inset <inset name>'
3587 2003-12-10 Angus Leeming <leeming@lyx.org>
3589 * buffer.C: up the format to 227.
3591 * factory.C: the box inset is now identified simply by 'Box'.
3593 2003-12-10 Angus Leeming <leeming@lyx.org>
3595 * buffer.C: up the format to 226.
3597 * factory.C: the note inset is now identified simply by 'Note'.
3599 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3601 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3602 when a pit is enough. Standarize a couple of loops.
3604 2003-12-05 Angus Leeming <leeming@lyx.org>
3606 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3607 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3608 data to the re-worked "log" dialog.
3610 2003-12-03 André Pönitz <poenitz@gmx.net>
3616 * paragraph_funcs.C:
3618 * text2.C: use Inset::getText instead of Inset::getParagraph
3620 2003-12-03 André Pönitz <poenitz@gmx.net>
3624 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3625 InsetText::read() as LyXText::read()
3627 2003-12-02 Angus Leeming <leeming@lyx.org>
3629 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3630 type. Add a comment in the implementation that the function uses
3631 the stream's bad() function rather than fail() as the std::streams
3634 2003-12-02 André Pönitz <poenitz@gmx.net>
3636 * lyxlex.[Ch]: make interface more similar to std::stream
3638 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3640 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3642 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3644 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3646 * vspace.[Ch]: remove VSpace::NONE
3648 2003-12-01 André Pönitz <poenitz@gmx.net>
3651 * lyxtext.h: move ParagraphList member to LyXText
3652 rename LyXText::ownerParagraphs to LyXText::paragraph
3655 * bufferview_funcs.C:
3665 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3667 * undo.C: fix cursor positioning
3669 2003-12-01 John Levon <levon@movementarian.org>
3671 * BufferView_pimpl.C: fix a crash on exit with
3674 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3676 * BranchList.C: fix setSelected() method.
3678 2003-11-28 André Pönitz <poenitz@gmx.net>
3680 * ParagraphParameters.[Ch]:
3681 * ParameterStruct.h: remove space above/below from Paragraph to
3684 * BufferView_pimpl.C:
3690 * paragraph_funcs.C:
3696 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3698 * factory.C: Syntax change for CharStyles
3700 2003-11-28 André Pönitz <poenitz@gmx.net>
3705 * buffer.[Ch]: move LyXText member
3707 2003-11-28 André Pönitz <poenitz@gmx.net>
3709 * BufferView.[Ch]: make LyXText * text a private member
3711 * BufferView_pimpl.C:
3722 * output_plaintext.C: cleanup
3724 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3727 * lyxtextclass.[Ch]: parametrize SGML document header
3729 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3732 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3735 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3737 * text2.C (setFont): rework using PosIterator (no more recursive)
3738 (setCharFont): no more needed
3739 (setLayout): no more selection cursors fiddling (done by redoCursor)
3740 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3741 destroy remaining ones)
3743 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3745 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3747 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3750 * text3.C: adjust + re-allow multi par depth changes
3751 * textcursor.C: simplify a bit
3753 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3759 * src/output_docbook.C:
3760 * src/output_latex.C:
3765 * src/text2.C: Introducing a number of tags parametrizing various
3766 XML formats that we may want to support
3768 2003-11-25 André Pönitz <poenitz@gmx.net>
3770 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3772 * lyxtext.h (leftMargin/rightMargin): simplify interface
3779 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3781 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3782 master file to any child files. Fixes bug 546.
3784 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3786 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3788 2003-11-24 André Pönitz <poenitz@gmx.net>
3790 * rowpainter.C: simplification
3792 * text2.C (updateCounters): remove call to redoParagraph on
3793 changed labels as this is far too expensive.
3795 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3797 * converter.C (convert): fix a crash: this function gets
3798 called with buffer == 0 from importer code.
3800 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3802 * text3.C (cursorPrevious): make sure that we do not compare
3803 iterators form different containers.
3806 * rowpainter.C (paintSelection): make sure that we do not compare
3807 iterators from different containers.
3809 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3810 iterators from different ParagraphList containers.
3813 * text2.C (LyXText): change order of initialization slightly
3814 (operator=): new function. copy all variables except cache_par_
3815 (moveUp): make sure that we do not compare iterators from
3816 different ParagraphList constainers.
3819 * text.C (firstPar): new function
3820 (lastPar): new function
3821 (endPar): new function
3823 * lyxtext.h: move things around and group public functions, public
3824 variables, private functions, private variables
3826 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3828 * factory.C: change call to InsetERT constructor to avoid
3829 additional invocation of method status
3830 * text2.C (toggleInset): remove redundant update() call
3831 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3832 instead of a Bufferview pointer
3834 2003-11-21 André Pönitz <poenitz@gmx.net>
3836 * rowpainter.C: simplification
3838 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3840 * text3.C (dispatch): make possible to extend a word/row selection
3843 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3845 * lyxtext.h: x0_,y0_ -> xo_,yo_
3846 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3847 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3848 * rowpainter.C (paintRows): paint full paragraphs
3850 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3852 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3855 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3857 * lyxtext.h: add x0_, y0_
3858 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3859 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3861 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3863 * text2.C (setCursorIntern): move the x_target update here *
3864 * text3.C: change some bv() to true/false in calls to
3865 cursorUp/Down/Right/Left
3866 * cursor.C: use helper function.
3868 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3870 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3871 * paragraph_funcs.[Ch]: correct comment
3872 * rowpainter.C: do not paint selections away from bv->cursor()
3873 Fix a long standing selection painting bug.
3874 * text3.C: generalize mouse-selection code to LyXTexts other that
3876 * textcursor.C: do not use y coords if we can use par offsets
3878 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3880 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3881 cursor position after e.g. inset insert)
3883 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3885 * lyxfind.C (replace): adjust to locking removal + some
3888 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3890 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3893 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3896 * output_docbook.C: XML sanitation: new layout
3897 parameters InnerTag and CommandDepth
3899 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3901 * BufferView_pimpl.C:
3903 * text3.C: Fix the insertion and modification of button-style
3906 2003-11-13 André Pönitz <poenitz@gmx.net>
3908 * InsetList.[Ch]: remove deleteLyXText
3910 * paragraph.[Ch]: cache beginOfBody position
3915 * text3.C: remove superfluous update() calls
3919 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3921 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3922 * BufferView.C (fitLockedInsetCursor): remove
3923 * cursor.[Ch] (getDim): add
3924 * text.C (getRowNearY): add faster version
3925 * text3.C: remove some update calls
3927 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3939 * text3.C: The Character Style /XML short element patch.
3941 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3944 * factory.C: Small step to solving 'unable to insert some insets'
3947 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3949 * cursor.[Ch] (updatePos): new function for updating the y
3950 position of the tip inset
3951 * bufferview_funcs.C (put_selection_at):
3952 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3954 2003-11-11 André Pönitz <poenitz@gmx.net>
3956 * text.C: remove big comment on invalid Paragraph pointers as it is
3959 2003-11-11 André Pönitz <poenitz@gmx.net>
3961 * text_funcs.[Ch]: merge with ...
3969 * Makefile.am: remove text_funcs.[Ch]
3971 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3973 * cursor.C (getPos): return absolute cached y coord
3975 * BufferView_pimpl.C (fitCursor): new simplistic code
3976 (workAreaDispatch): add a fitCursor call
3978 2003-11-10 André Pönitz <poenitz@gmx.net>
3981 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3983 2003-11-10 André Pönitz <poenitz@gmx.net>
3985 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3986 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3987 indicate that the cursor needs to leave an inset
3989 * lyxtext.h: remove inset locking
3991 * cursor.[Ch]: re-implement functionality provided by inset locking
3994 * BufferView_pimpl.[Ch]:
3996 * bufferview_funcs.[Ch]:
4008 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4010 * PosIterator.[Ch]: replace the stack with a vector, add inset
4012 * iterators.[C]: adjust
4014 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4016 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4018 * paragraph_funcs.C (readParToken): put the correct id in the
4019 error item, not the id of the top paragraph
4021 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4023 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4024 * bufferview_funcs.C (put_selection_at): use the above
4026 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4028 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4030 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4032 * output_linuxdoc.h:
4033 * output_plaintext.h:
4035 * output_docbook.h: add #include statements
4037 2003-11-05 José Matos <jamatos@lyx.org>
4039 * output_docbook.[Ch]:
4040 * output_latex.[Ch]:
4041 * output_linuxdoc.[Ch]:
4042 * output_plaintext.[Ch]: New files for output formats.
4043 * output.[Ch]: New file for helper functions.
4046 * paragraph_funcs.[Ch]: output functions moved to new files.
4048 * outputparams.h: rename of latexrunparams.h
4056 * paragraph_funcs.[Ch]:
4057 * paragraph_pimpl.[Ch]:
4058 * tabular.[Ch]: rename ascii to plaintext
4059 and LatexRunParams to OutputParams.
4061 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4063 * iterators.[Ch] (text): require bv argument
4064 * undo.C (recordUndo):
4065 * lyxfunc.C (dispatch):
4066 * bufferview_funcs.C (put_selection_at): adjust
4068 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4070 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4072 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4074 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4077 2003-11-04 André Pönitz <poenitz@gmx.net>
4079 * cursor.[Ch]: restructure
4082 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4084 * iterators.[Ch] (asCursor): remove
4086 * lfuns.h: remove LFUN_INSET_EDIT
4092 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4094 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4096 * lyxfind.[Ch]: complete overhaul
4097 * BufferView_pimpl.C:
4099 * paragraph.[Ch] (insert): add
4101 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4105 * text.C: remove dead spellcheck code
4107 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * dispatchresult.h: add a val setter
4111 * cursor.C (dispatch): use a tempvar for data_[i]
4113 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4115 * PosIterator.[Ch]: compile fix
4117 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4119 * text.C (cursorPar): deactivate the cursor cache
4121 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4123 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4125 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * text3.C (dispatch): adjust for new DisptchResult semantics.
4129 * lyxfunc.C (dispatch): handle update when return from
4130 Cursor::dispatch, adjust for new DispatchResult semantics.
4132 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4133 DispatchResult(true) mean to not update. Add class functions for
4134 setting dispatched and update, as well as reading.
4136 * cursor.C (dispatch): don't handle update here
4138 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4140 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4141 * trans_mgr.C: adjust
4143 * paragraph_funcs.C (readParToken): exception safety
4145 * lyxvc.h: store the vcs pointer in a scoped_ptr
4148 * lyxsocket.C (serverCallback): exception safety
4150 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4152 * ispell.C (clone): make it return a auto_ptr
4154 * factory.C (createInset): exception safety
4155 (readInset): exception safety
4157 * bufferlist.C (newBuffer): exception safety
4159 * Thesaurus.C (Thesaurus): use initialization for aik_
4161 * MenuBackend.C (expandToc): exception safety.
4163 2003-11-03 André Pönitz <poenitz@gmx.net>
4167 * bufferview_funcs.C: remove getInsetFromId()
4170 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4176 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4178 * PosIterator.C (distance, advance): new
4179 * bufferview_funcs.[Ch] (put_selection_at): new
4180 * iterators.[Ch] (lockPath): new
4182 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4184 * iterators.[Ch] (asPosIterator): added
4185 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4186 * PosIterator.[Ch]: added
4188 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * cursor.C (dispatch):
4193 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4195 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4196 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4197 contructor, add a class function dispatched. Remove operator>=
4199 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * debug.C: only use the default constructor for debugstream
4204 * main.C (main): include debug.h and setup the lyxerr streambuf
4207 2003-10-31 José Matos <jamatos@lyx.org>
4209 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4211 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4212 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4213 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4214 * paragraph_pimpl.C (simpleTeXSpecialC):
4215 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4216 add LatexRunParams argument.
4218 * exporter.C (Export): change call accordingly.
4220 * latexrunparams.h: add new member to take care of the other backends.
4221 2003-10-30 José Matos <jamatos@lyx.org>
4223 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4224 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4225 factorise code for paragraph output.
4227 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4230 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4232 * text3.C (dispatch):
4233 * lyxfunc.C (dispatch):
4234 * cursor.C (dispatch):
4235 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4237 * dispatchresult.h: make the dispatch_result_t ctor explicit
4239 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4242 * buffer.C: small refactoring of docbook stuff
4244 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4246 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4249 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4251 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4252 operator dispatch_result_t, and operators for == != and >=
4254 * cursor.C (dispatch): adjust for operator dispatch_result_t
4255 removal. comment out call to update
4257 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4259 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4270 * dispatchresult.h: new file, DispatchResult broken out of
4273 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4275 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4277 * text.C (rowBreakPoint): put a hack inside #if 0
4279 2003-10-28 André Pönitz <poenitz@gmx.net>
4283 * paragraph_funcs.C:
4286 * text2.C: general cleanup (lots of small stuff)
4288 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4290 * text2.C (cursorEnd): simple fix to the "end key goes to one
4291 before the end on last row" bug
4293 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4295 * text.C (backspace): fix the "zombie characters"
4297 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4299 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4301 2003-10-27 André Pönitz <poenitz@gmx.net>
4303 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4305 * factory.C: handle new InsetPagebreak, InsetLine
4307 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4308 and move handling into new InsetPagebreak, InsetLine
4310 * BufferView_pimpl.C:
4312 * ParagraphParameters.C:
4313 * ParameterStruct.h:
4318 * paragraph_funcs.C:
4319 * paragraph_pimpl.C:
4325 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4328 * lyxrow_funcs.[Ch]:
4334 * text3.C: remove lastPos uses in favour of Row::endpos
4336 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4338 * undo.C (performUndoOrRedo): fix two crashes by setting a
4339 cursor by hand and reordering some calls. Use bv->lockInset instead
4340 of inset->edit because the latter loses cursor information
4342 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4344 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4346 (rowBreakPoint): fix width. change point to point + 1.
4347 Add a missing check.
4349 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4352 * lyxfunc.C: fix (at least partly) the problems
4353 with the Nav menu and headers inside branch insets
4356 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4358 * paragraph.C (getChar): add strong asserts
4360 * lyxrow_funcs.C (lastPos): remove hideous hack
4362 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4363 (fill): adjust to that (avoid an infinite loop)
4365 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4367 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4369 2003-10-23 André Pönitz <poenitz@gmx.net>
4371 * RowList_fwd.h: change list<> to vector<> to gain speed
4372 after suggestion from Alfredo
4374 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4376 * lyxtext.h: move the bidi stuff from here...
4379 * Bidi.[Ch]: ... to here
4381 2003-10-23 André Pönitz <poenitz@gmx.net>
4384 * text.C (isLastRow, isFirstRow): new functions
4386 * paragraph.h: new width cache member
4388 * rowpainter.C: replace RowList::iterator with Row & where possible
4390 * lyxfunc.C: replace several view()->text with a single call
4392 * toc.C: fix 'unused' warning
4394 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4397 when woring with stream::pos_type
4398 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4400 2003-10-22 André Pönitz <poenitz@gmx.net>
4403 * text.C: use Row & instead of RowList::iterator
4405 * lyxrow.h: rename end() to endpos()
4411 2003-10-22 Angus Leeming <leeming@lyx.org>
4413 * buffer.[Ch] (fully_loaded): new member function, returning true
4414 only when the file has been loaded fully.
4415 Used to prevent the premature generation of previews and by the
4416 citation inset to prevent computation of the natbib-style label.
4418 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4419 templates are all set up.
4421 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4423 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4425 * text.C: fixed an "oops" in the "is a bit silly"
4428 2003-10-21 André Pönitz <poenitz@gmx.net>
4430 * FuncStatus.[Ch]: small stuff, whitespace
4432 * lyxfont.[Ch]: operator<<() for debug reasons
4436 * lyxtext.h: whitespace, spelling
4438 * paragraph.C: naming of variables
4441 * text2.C: small stuff
4444 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4446 * text.C: (1) finish off the inset display() work;
4447 (2) fix the "is a bit silly" bug (accessing char
4450 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4452 * text.C: re-introduce display() for insets, fixing the
4453 various bugs (stretch of line above, math inset
4456 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4458 * text.C (rightMargin): remove spurious semicolon
4460 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4463 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4465 * text3.C: fix one crash due to wrong cursor def
4467 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * vc-backend.C (scanMaster): make the regex static
4471 * LaTeX.C (scanAuxFile): make the regexs static
4473 * text3.C (doInsertInset, dispatch, dispatch):
4474 * text2.C (cursorUp, cursorDown):
4475 * text.C (selectNextWordToSpellcheck):
4476 * BufferView_pimpl.C (dispatch):
4477 * lyxfunc.C (dispatch): localDispatch -> dispatch
4479 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4481 * lyxsocket.C: include <cerrno>
4483 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4485 * lyxfunc.C (dispatch): remove textcache stuff
4487 * bufferlist.C (release): remove textcache stuff
4490 * TextCache.C: delete file
4491 * TextCache.h: delete file
4493 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4495 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4496 delete of the bv_->text.
4497 (resizeCurrentBuffer): remove texcache stuff
4498 (workAreaResize): ditto
4500 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4502 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4505 2003-10-16 André Pönitz <poenitz@gmx.net>
4512 * text3.C: speed up by storing y positions per paragraph plus per-row
4513 offset instead of having a 'full' y position in the row.
4515 2003-10-15 André Pönitz <poenitz@gmx.net>
4519 * undo.[Ch]: make undo aware of inner insets
4521 2003-10-14 Angus Leeming <leeming@lyx.org>
4523 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4524 static member functions LyX::ref() and LyX::cref.
4525 (lastfiles): new accessor functions for the new lastfiles_ member var.
4526 (addLyXView, views_): add a new LyXView to the list of views_.
4527 (updateInset): loop over all LyXViews to call their own updateInset
4528 member function, returning a pointer to the Buffer owning the inset.
4530 * BufferView_pimpl.C (loadLyXFile):
4531 * MenuBackend.C (expandLastfiles):
4532 * bufferlist.C (MenuWrite, QuitLyX):
4533 lastfiles is no longer a global variable.
4534 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4536 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4537 static function. Access through LyX::cref().emergencyCleanup().
4539 2003-10-14 André Pönitz <poenitz@gmx.net>
4541 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4543 * undo.[Ch]: restoring part of 'undo in insets'
4546 * undo_funcs.[Ch]: merge with undo.[Ch]
4548 * tabular.C: small cleansing stuff
4550 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4552 * paragraph_funcs.C (readParToken): report unknown insets as error
4553 boxes. Use the outer paragraph as location (also for unknown
4556 * factory.C (readInset): do not abort on reading an unknown inset.
4557 Eat it and return 0.
4559 2003-10-13 Angus Leeming <leeming@lyx.org>
4561 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4563 * lyxrc.C: displayTranslator is now a function,
4564 declared in GraphicsTypes.h.
4566 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4568 * format.C: new placeholder $$a to pass the socket address.
4570 * bufferlist.[Ch]: new function getBufferFromTmp.
4572 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4573 files in the temporary dir.
4575 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4577 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4579 * Makefile.am: add lyxsocket.[Ch].
4581 * lyx_main.C (error_handler): handle SIGPIPE.
4583 2003-10-13 André Pönitz <poenitz@gmx.net>
4585 * BufferView_pimpl.C:
4590 * undo_funcs.[Ch]: use paroffset_type instead of
4591 ParagraphList::iterators to prevent multiple conversion
4592 (and get a more robust interface)
4594 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4596 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4598 * text3.C (dispatch): ditto
4600 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4603 move the onlyfile, use onlyfile instead of foundfile in a couple
4606 * DepTable.C (update): flush the error stream a bit more
4608 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * lyxserver.C (callback): adjust
4612 * lyxfunc.C (getStatus): add a missing brace in commented code
4613 (ensureBufferClean): reindent
4614 (dispatch): delete version taking a string
4616 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4618 * LaTeX.C (deplog): move found file handlig from here...
4619 (handleFoundFile): .. to new function here.
4620 (deplog): make sure to discover several files mentioned on the
4623 2003-10-10 André Pönitz <poenitz@gmx.net>
4630 * text3.C: fix some of the tabular crashes
4632 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4634 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4636 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4638 2003-10-09 André Pönitz <poenitz@gmx.net>
4640 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4643 * BufferView_pimpl.C:
4644 * bufferview_funcs.C:
4655 * undo_funcs.C: adjust
4657 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4659 * text2.C (incrementItemDepth): new function, use a backtracking
4660 algorithm to discover the correct item depth.
4661 (resetEnumCounterIfNeeded): new function, use a backtracking
4662 algorithm to discover if counter reset is needed.
4663 (setCounter): use them. Simplify a bit. Add different labels for
4664 different item depths for itemize.
4666 * paragraph.C (Paragraph): remove initialization of enumdepth
4669 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4670 enumerate and itemize. Change the type of itemdepth to signed char.
4672 2003-10-08 André Pönitz <poenitz@gmx.net>
4674 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4679 * tabular.[Ch]: fix crash after 'row-insert'
4681 2003-10-08 Angus Leeming <leeming@lyx.org>
4683 Fix doxygen warnings.
4685 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4686 Remove CutAndPaste:: prefix from header file declaration.
4688 * LColor.h (fill): remove LColor:: prefix from declaration.
4690 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4691 use lyx::depth_type rather than Paragraph::depth_type so that
4692 header file and .C file match.
4694 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4696 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4697 * aspell.C: \file aspell_local.C -> \file aspell.C
4698 * gettext.C: \file gettext.C -> \file src/gettext.C
4699 * gettext.h: \file gettext.h -> \file src/gettext.h
4700 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4701 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4702 * text.C: \file text.C -> \file src/text.C
4704 * toc.C: move comment so that doxygen is not confused.
4706 2003-10-07 Angus Leeming <leeming@lyx.org>
4708 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4710 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4713 * aspell_local.h: add forgotten std::string's.
4715 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4722 * text3.C: The Box patch. Fancybox support, minipage, parbox
4724 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4730 * ParagraphParameters.h:
4740 * lyxtextclasslist.h:
4743 * paragraph_pimpl.C:
4744 * textcursor.h: add <string> and other small fixes to make Lars'
4745 std::string patch compile with STLport.
4747 2003-10-06 Angus Leeming <leeming@lyx.org>
4749 * LColor.h: Add missing #include <string>.
4751 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4753 * All most all file in all subdirs: Make <string> be the prefered
4754 way of getting to std::string, add using declarations.
4756 2003-10-06 André Pönitz <poenitz@gmx.net>
4758 * metricsinfo.C: initialize LyXFont before changing attribute.
4759 (fixes the 'math in \emph is upright' bug)
4761 2003-10-06 André Pönitz <poenitz@gmx.net>
4763 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4765 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4768 * paragraph_pimpl.C: Small fixes to build using STLport
4770 2003-10-02 André Pönitz <poenitz@gmx.net>
4773 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4775 2003-10-01 André Pönitz <poenitz@gmx.net>
4777 * factory.C: assert early
4779 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * lyx_main.C: remove the global debug object
4783 * debug.h: adjust for new debugstream
4785 * debug.C: adjust for new debugstream and keep the global debug
4788 2003-09-22 Angus Leeming <leeming@lyx.org>
4790 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4791 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4792 an incomplete class LyXFont.
4794 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4796 * factory.C: bug fix in branches
4798 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * lyxfunc.C (processKeySym): adjust
4802 (dispatch): change arg name from ev to func, adjust
4803 (sendDispatchMessage): ditto
4805 * lyx_main.C (defaultKeyBindings): adjust keybindings
4806 (deadKeyBindings): ditto
4808 * kbsequence.C (addkey): return a FuncRequest
4810 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4812 * kbmap.C (bind): take a FuncRequest as arg, adjust
4815 (defkey): change to take a FuncRequest as arg, adjust
4816 (findbinding): take a FuncRequest as arg, adjust.
4818 * funcrequest.h (operator=): added
4820 * funcrequest.C (FuncRequest): default kb_action changed from
4821 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4823 * buffer.C (dispatch): simplify
4824 (dispatch): adjust to take a FuncRequest as arg, adjust
4826 * boost.C (assertion_failed): change assertion message slightly
4828 * ToolbarBackend.C (read): simplify
4830 * MenuBackend.C (binding): adjust call to findbinding, add a
4831 message if no binding is found.
4833 (expandToc): correct by adding a empty FuncRequest
4835 * LyXAction.C: include <boost/assert.hpp>
4836 (isPseudoAction): delete function
4837 (LookupFunc): change name to...
4838 (lookupFunc): this. change return type to FuncRequest.
4839 (getActionName): take kb_action as arg, simplify
4840 (funcHasFlag): add an assert, simplify.
4842 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * toc.C (action): return a FuncRequest, simplify
4846 * lyxfunc.C (processKeySym): adjust
4847 (getStatus): delete version that takes an int.
4849 (dispatch): delete version that takes action as int
4851 (sendDispatchMessage): simplify and adjust
4853 * funcrequest.C (getArg): take unsigned int as arg
4855 * ToolbarBackend.C (read): adjust
4856 (add): delete version that takes func as a string.
4857 (getIton): take a FuncRequest as arg
4859 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4862 * MenuBackend.C (MenuItem): add a new construct that only takes a
4863 Kind, simplify the constructor use for submenus.
4865 (expandLastfiles): adjust
4866 (expandDocuments): adjust
4867 (expandFormats): adjust
4868 (expandFloatListInsert): adjust
4869 (expandFloatInsert): adjust
4870 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4872 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4873 Remove class variables lyx_pseudo_map and lyx_arg_map
4875 * LyXAction.C (searchActionArg): delete function
4876 (getPseudoAction): delete function
4877 (retrieveActionArg): delete function
4878 (LookupFunc): make it return kb_action, simplify.
4879 (getActionName): simplify
4881 * factory.C (createInset): fix new bug
4883 2003-09-19 Angus Leeming <leeming@lyx.org>
4885 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4886 masterFilename_ parameter in the include inset.
4888 * factory.C (createInset): changes due to the changes to InsetInclude.
4890 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4892 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4894 2003-09-18 Angus Leeming <leeming@lyx.org>
4897 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4898 Inset::fillWithBibKeys.
4899 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4901 2003-09-18 Angus Leeming <leeming@lyx.org>
4903 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4905 (ctor): pass and store a 'Buffer const &'
4906 (buffer): new member function.
4908 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4909 '*this' to the LaTeXFeatures ctor.
4911 2003-09-18 Angus Leeming <leeming@lyx.org>
4917 * text.C: rename EnumLColor as LColor_color.
4919 2003-09-18 Angus Leeming <leeming@lyx.org>
4921 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4922 remove #include "insets/insetbase.h" from cursor.h.
4924 2003-09-18 Angus Leeming <leeming@lyx.org>
4926 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4927 InsetOld_code to remove #include "inset.h".
4929 * iterators.C: add #include "insets/inset.h"
4931 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4933 * BufferView.C: remove more locking stuff that apparently doesn't
4934 do anything sensible.
4936 2003-09-16 André Pönitz <poenitz@gmx.net>
4939 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4942 2003-09-16 Angus Leeming <leeming@lyx.org>
4944 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4946 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4949 * paragraph.h: remove #include "lyxfont.h". Forward declare
4952 2003-09-16 Angus Leeming <leeming@lyx.org>
4954 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4955 of support/textutils.h.
4956 (isWord): move the contents of support/textutils.h's IsWordChar here.
4962 * text2.C: add #include "paragraph.h".
4965 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4967 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * LaTeX.C: use namespace alias for lyx::support::os
4975 2003-09-16 Angus Leeming <leeming@lyx.org>
4978 * bufferview_funcs.C:
4981 * paragraph_pimpl.C:
4983 * text.C: add #include "LColor.h".
4985 2003-09-16 Angus Leeming <leeming@lyx.org>
4987 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4988 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4990 Store the FontBits::color variable as an int rather than as an
4991 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4994 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4995 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4996 string calls together.
4998 * lyxrc.C: add #include "LColor.h".
5000 2003-09-15 Angus Leeming <leeming@lyx.org>
5002 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5005 2003-09-15 Angus Leeming <leeming@lyx.org>
5007 * LColor.h: add an EnumLColor wrapper for LColor::color.
5009 * lyxfont.[Ch] (color, setColor, realColor):
5010 * lyxtext.h, text.C (backgroundColor):
5011 pass EnumLColor args to/from the functions, rather than LColor::color
5015 * lyxtext.h: forward declare EnumLColor.
5017 * lyx_main.C: add #include "LColor.h".
5019 2003-09-15 Angus Leeming <leeming@lyx.org>
5021 * .cvsignore: add lyx-gtk.
5023 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5028 * ParagraphParameters.C
5032 * bufferview_funcs.C
5042 * vc-backend.C: remove usage of STRCONV
5044 2003-09-15 Angus Leeming <leeming@lyx.org>
5046 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5047 explicitly define the color passed to the painter.
5049 2003-09-15 Angus Leeming <leeming@lyx.org>
5051 * bufferparams.C (BufferParams): reorder member initializers to avoid
5054 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5056 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5057 * text.C (updateRowPositions): remove an unusual nop
5059 2003-09-12 André Pönitz <poenitz@gmx.net>
5061 * BufferView_pimpl.C:
5070 * Counters.[Ch]: finish the 'automatic counters' job
5072 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5074 * aspell.C: include <boost/assert.cpp> (compile fix)
5076 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5078 * boost.C (assertion_failed): use lyx::support::abort instead of
5081 2003-09-10 Angus Leeming <leeming@lyx.org>
5083 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5084 with their _fwd progeny.
5086 2003-09-09 Angus Leeming <leeming@lyx.org>
5088 134 files throughtout the source tree: replace 'using namespace abc;'
5089 directives with the appropriate 'using abc::xyz;' declarations.
5091 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5093 * boost.C (emergencyCleanup): moved here from LAssert.c
5094 (assertion_failed): new function, called by BOOST_ASSERT
5096 * several files: change Assert to BOOST_ASSERT
5098 2003-09-09 Angus Leeming <leeming@lyx.org>
5100 * buffer.[Ch]: Add an Impl class and move Buffer's member
5101 variables into it. As a result move several header files out of
5104 Add header files to lots of .C files all over the tree as a result.
5106 2003-09-09 Angus Leeming <leeming@lyx.org>
5108 * buffer.[Ch]: make Buffer's member variables private. Add
5111 Lots of changes all over the tree as a result.
5113 2003-09-08 Angus Leeming <leeming@lyx.org>
5115 * graph.C: #include <config.h>.
5117 2003-09-08 Angus Leeming <leeming@lyx.org>
5121 * BufferView_pimpl.C:
5150 * toc.C: remove redundant using directives.
5152 2003-09-07 Angus Leeming <leeming@lyx.org>
5154 * LaTeXFeatures.h: remove #include "support/types.h".
5155 * ToolbarBackend.h: remove #include <algorithm>.
5156 * changes.h: remove #include <ctime>.
5157 * debug.h: remove #include <iosfwd>.
5158 * graph.h: remove #include "support/std_string.h".
5159 * lyx_main.h: remove #include <csignal>.
5160 * lyxlex_pimpl.h: remove #include <fstream>.
5161 * sgml.h: remove #include <algorithm>, <utility>.
5162 * toc.h: remove #include "support/std_ostream.h".
5163 Add #include <iosfwd>.
5165 2003-09-07 Angus Leeming <leeming@lyx.org>
5167 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5169 * converter.h: forward declare LatexRunParams.
5170 * encoding.h: remove #include "lyxrc.h".
5171 * lyxtext.h: remove #include "LColor.h".
5172 * lyxtextclass.h: remove #include "support/types.h".
5173 * trans.h: remove #include "tex-accent.h".
5174 * trans_mgr.h: remove #include "tex-accent.h".
5175 * insets/inset.h: remove #include "support/types.h", <vector>.
5176 * insets/insetcollapsable.h: remove #include "LColor.h".
5177 * insets/insetinclude.h: remove #include "dimension.h".
5178 * insets/insetlatexaccent.h: remove #include "dimension.h".
5179 * insets/insetoptarg.h:: remove #include "insettext.h".
5180 * insets/insettext.h: remove #include "dimension.h",
5181 <boost/shared_ptr.hpp>
5183 * insets/renderers.h: add #include "dimension.h".
5184 * insets/updatableinset.h: add #include "support/types.h".
5186 * many .C files: Associated changes.
5188 2003-09-06 Angus Leeming <leeming@lyx.org>
5190 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5191 one, inside testInvariant.
5193 * PrinterParams.C: new file.
5194 * PrinterParams.[Ch]: move the function bodies out of line.
5196 2003-09-06 Angus Leeming <leeming@lyx.org>
5198 * ParagraphParameters.h: forward declare ParameterStruct rather than
5199 including its header file.
5200 (depth): moved out-of-line.
5202 2003-09-06 Angus Leeming <leeming@lyx.org>
5204 * BufferView_pimpl.h:
5207 * lyxfunc.h: forward declare LyXKeySym rather than
5208 #include "frontends/LyXKeySym.h".
5210 * BufferView_pimpl.C:
5213 * lyxfunc.C: associated changes.
5215 2003-09-06 Angus Leeming <leeming@lyx.org>
5217 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5218 As a result, can remove the #include "insets/inset.h" from BufferView.h
5220 2003-09-06 Angus Leeming <leeming@lyx.org>
5222 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5223 As a result, can remove the #include "insets/inset.h" from BufferView.h
5225 2003-09-06 Angus Leeming <leeming@lyx.org>
5231 * bufferview_funcs.C:
5232 * BufferView_pimpl.C:
5237 * ParagraphParameters.C:
5242 * frontends/controllers/ControlDocument.C:
5243 * insets/insetcaption.C: rearrange the #includes into some sort of
5246 * buffer.h: remove #includes ErrorList.h, undo.h
5248 2003-09-06 Angus Leeming <leeming@lyx.org>
5250 * support/types.h: add a 'depth_type' typedef, used to store the
5251 nesting depth of a paragraph.
5254 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5255 defining explicitly.
5258 * paragraph_funcs.h:
5259 * ParagraphParameters.h:
5260 * sgml.h: use lyx::depth_type rather than Paragraph or
5261 ParameterStruct's depth_type.
5264 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5267 * BufferView_pimpl.C:
5269 * ParagraphParameters.C:
5272 * bufferview_funcs.C:
5279 * frontends/LyXView.C:
5280 * frontends/controllers/ControlDocument.C:
5281 * frontends/controllers/ControlErrorList.C:
5282 * insets/insetbibitem.C:
5283 * insets/insetbranch.C:
5284 * insets/insetcaption.C:
5285 * insets/insetcollapsable.C:
5286 * insets/insetenv.C:
5287 * insets/insetert.C:
5288 * insets/insetfloat.C:
5289 * insets/insetfoot.C:
5290 * insets/insetfootlike.C:
5291 * insets/insetnewline.C:
5292 * insets/insetquotes.C:
5293 * insets/insettabular.C:
5294 * insets/insettext.C:
5295 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5297 * frontends/controllers/ControlChanges.C: #include "changes.h".
5299 2003-09-06 Angus Leeming <leeming@lyx.org>
5301 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5302 than #including paragraph.h.
5305 * RowList.h: deleted. Superfluous.
5315 * insets/insettext.h: use ParagraphList_fwd.h rather than
5318 * paragraph.h: don't forward declare ParagraphList.
5321 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5322 rather than ParagraphList.h. paragraph.h is still needed for the
5323 Paragraph::depth_type parameters.
5325 * textcursor.h: enable it to compile stand-alone in light of the
5328 * bufferview_funcs.C:
5340 * frontends/controllers/ControlParagraph.C:
5341 * frontends/controllers/ControlTabular.C:
5342 * insets/insetmarginal.C:
5343 * insets/insetminipage.C:
5344 * insets/insetnote.C:
5345 * insets/insetoptarg.C: add header files needed to compile again.
5347 2003-09-06 Angus Leeming <leeming@lyx.org>
5349 * RowList_fwd.h: new file, forward-declaring Row rather than
5350 #including lyxrow.h.
5355 * insets/insettext.h: use it instead of RowList.h
5357 * bufferview_funcs.C:
5364 * text3.C: #include "RowList.h".
5366 2003-09-05 Angus Leeming <leeming@lyx.org>
5368 * factory.C (createInset):
5369 * vspace.C (c-tor): replace sscanf call with an istringstream.
5370 * ispell.C: re-add missing HP/UX headers.
5371 * lyxserver.C: re-add missing os2 headers.
5373 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5382 * text3.C: re-add missing system headers, needed for 2.95.2.
5384 2003-09-05 Angus Leeming <leeming@lyx.org>
5386 Changes most place everywhere due to the removal of using directives
5387 from support/std_sstream.h.
5389 2003-09-05 Angus Leeming <leeming@lyx.org>
5391 Replace LString.h with support/std_string.h,
5392 Lsstream.h with support/std_sstream.h,
5393 support/LIstream.h with support/std_istream.h,
5394 support/LOstream.h with support/std_ostream.h.
5396 Changes resulting throughout the tree.
5398 2003-09-05 Angus Leeming <leeming@lyx.org>
5400 * sgml.h: ensure that the header file can be compiled stand-alone.
5401 * *.C: strip out redundant #includes. (320 in total.)
5403 2003-09-04 Angus Leeming <leeming@lyx.org>
5405 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5406 here (from getPackages).
5408 * debug.[Ch]: add a new EXTERNAL tag.
5410 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5412 * text2.C (cursorEnd): simplify
5414 (getColumnNearX): adjust
5416 * text.C (computeBidiTables): adjust
5419 * rowpainter.C (paintChars): adjust
5420 (paintSelection): adjust
5421 (paintChangeBar): adjust
5424 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5426 (numberOfSeparators): adjust
5428 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5434 * text3.C: Restricts the mouse click functionality
5435 of insets like bibtex, include, toc and floatlist to the visible
5436 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5437 up the dialogs. Cursor has to be in front of the inset (i.e.
5438 start of row) for this to function.
5440 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5442 * bufferview_funcs.C (currentState): output row information
5444 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5446 * bufferview_funcs.C (currentState): output paragraph position
5448 2003-09-04 Angus Leeming <leeming@lyx.org>
5450 * FloatList.h: move out #include "Floating.h".
5451 * LaTeX.h: move out #include "DepTable.h".
5452 * LyXAction.h: move out #include "funcrequest.h".
5453 * buffer.h: move out #include "author.h", "iterators.h".
5454 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5455 * lyx_main.h: move out #include "errorlist.h".
5456 * lyxfunc.h: move out #include "FuncStatus.h".
5457 * lyxtext: move out #include "lyxcursor.h".
5458 * paragraph_pimpl.h: move out #include "counters.h".
5460 2003-09-03 Angus Leeming <leeming@lyx.org>
5462 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5463 preamble_snippets list, enabling us to add snippets to the preamble
5464 only if the snippet was not there already.
5466 2003-09-04 Angus Leeming <leeming@lyx.org>
5468 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5470 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5472 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5475 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5477 * BranchList.C: point fix, earlier forgotten
5479 2003-09-02 Angus Leeming <leeming@lyx.org>
5481 * box.C (contains): renamed from 'contained' after a fantastic
5484 2003-09-02 John Levon <levon@movementarian.org>
5490 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5492 2003-09-02 John Levon <levon@movementarian.org>
5494 * text2.C: simplification of cursorEnd(), including partial
5497 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5499 * buffer.C (readFile): add a space
5501 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5503 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5505 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * buffer.C (readFile): new function, take a filename and a
5508 ParagraphList::iterator
5510 (readFile): adjust, make it private. don't use setStream, make
5511 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5512 always contain the filename.
5514 * BufferView.C (insertLyXFile): simplify and make it work for
5517 2003-08-30 John Levon <levon@movementarian.org>
5519 * Makefile.am: fix dist (from Kayvan)
5521 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5523 * most files: change to use const Buffer refs
5525 2003-08-27 André Pönitz <poenitz@gmx.net>
5527 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5528 on top of ownerPar().
5530 2003-08-27 John Levon <levon@movementarian.org>
5532 * funcrequest.C: properly initialise POD members
5534 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5536 * lyxtext.h (top_y): move top_y from here
5541 * BufferView_pimpl.[Ch]: to here
5542 * frontends/screen.C:
5543 * insets/insettabular.C:
5544 * insets/insettext.C: adjust
5545 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5547 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5550 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5552 2003-08-26 André Pönitz <poenitz@gmx.net>
5554 * paragraph_func.[Ch] (outerPar): new function
5557 * paragraph_funcs.C:
5558 * paragraph_funcs.h:
5559 * paragraph_pimpl.C:
5560 * text2.C: remove Inset::par_owner
5562 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5567 * text2.C: eliminates the needFullRow/display() stuff
5568 altogether, putting the logic in metrics/draw in the insets.
5570 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5572 * text2.C (redoParagraphInternal, redoParagraphs):
5573 * text.C (redoParagraph): add a call to updateRowPositions at the
5574 end of each 'metrics-like' call. Remove all others.
5575 (getRow): remove the 'y-computing' version.
5576 (getRowNearY): do not compute nor return the real y. Solve the
5577 'y < 0' problem and simplify.
5579 2003-08-22 Angus Leeming <leeming@lyx.org>
5581 * *.[Ch]: clean-up of licence and author blurbs.
5582 Also move config.h out of a few .h files and into a few .C files.
5584 2003-08-22 André Pönitz <poenitz@gmx.net>
5586 * lyxrow.[Ch]: add x_ and *fill_ members
5591 * text2.C: adjust/remove prepareToPrint() calls
5593 2003-08-22 André Pönitz <poenitz@gmx.net>
5595 * lyxrow.[Ch]: add end_ member
5597 * lyxrow_funcs.C: use LyXRow::end_
5599 * lyxtext.h (singleWidth): add LyXFont parameter
5602 * text2.C: adjust LyXText::singleWidth() calls
5604 * text.C (redoParagraph): simplify row breaking logic
5607 2003-08-19 André Pönitz <poenitz@gmx.net>
5609 * funcrequest.C: initialize button_ member
5612 * rowpainter.[Ch]: interface consolidation
5614 2003-08-18 André Pönitz <poenitz@gmx.net>
5617 * BufferView_pimpl.C:
5619 * paragraph_funcs.C:
5621 * text3.C: remove LyXScreen::draw() and fitCursor calls
5623 * BranchList.h: remove spurious semicolons
5625 * MenuBackend.C: fix branchlist related crash
5627 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5635 * bufferparams.[Ch]:
5639 * text3.C: implements the 'branch inset'
5640 idea. This allows the output of various versions of a document
5641 from a single source version, selectively outputing or suppressing
5642 output of parts of the text.
5643 This implementation contains a 'branch list editor' in a separate
5644 tab of the document settings dialog. Branches are user definable
5645 and have a "display colour" to distinguish them on-screen.
5647 ColorHandler was somewhat cleaned up.
5648 (1) make possible a dynamically growing LColor list by allowing
5649 the graphic context cache to grow along (vector);
5650 (2) eliminate an IMHO unnecessary step in colour allocation.
5652 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5654 * BufferView_pimpl.C: compile fix
5656 2003-08-15 André Pönitz <poenitz@gmx.net>
5658 * rowpainter.C: remove extra metrics calls
5660 * lyxtext.h: merge the two constructors into a single one,
5661 pass reference to owner's par list
5663 * BufferView_pimpl.C:
5667 2003-08-15 André Pönitz <poenitz@gmx.net>
5669 * lyxrow_funcs.[Ch]:
5672 * paragraph_funcs.C:
5677 * text_funcs.C: split LyXText::rowlist_ into individual
5678 Paragraph::rows_ chunks
5681 * BufferView_pimpl.[Ch]:
5684 * text3.C: remove toggleSelection()
5686 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5688 * bufferlist.C: beautify two alerts (shorter text of buttons)
5689 * buffer.C: Remove redundant ' ' from message
5691 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5692 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5693 rename VALIGN_CENTER to VALIGN_MIDDLE
5695 2003-08-11 André Pönitz <poenitz@gmx.net>
5697 * lyxtext.h (getPar):
5698 * text.C: new function
5700 2003-08-11 André Pönitz <poenitz@gmx.net>
5703 * tracer.[Ch]: remove unneeded files
5705 * InsetList.[Ch]: remove resizeInsetsLyXText()
5710 * text3.C: merge insertParagraphs() and appendParagraph()
5711 remove breakAgain(), update()
5713 * BufferView_pimpl.[Ch]:
5714 * bufferview_funcs.[Ch]:
5718 * tabular.C: adjust after text & InsetList changes.
5720 2003-08-08 André Pönitz <poenitz@gmx.net>
5722 * text.C (insertChar, backspace): replace rowlist fiddling
5723 with rebreak of full par
5726 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5727 checkParagraph, updateInset): removed
5729 2003-08-07 André Pönitz <poenitz@gmx.net>
5732 * text3.C: merge some LFUN handlers, remove dead code
5734 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5736 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5738 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5740 * text2.C (DEPM): fix part of bug 1255 and 1256
5742 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5744 * BufferView_pimpl.C (workAreaDispatch): change to use
5745 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5746 that are no mouse related.
5748 2003-08-05 André Pönitz <poenitz@gmx.net>
5751 * BufferView_pimpl.[Ch]:
5752 * bufferview_funcs.C:
5754 * text3.C: rip out "deep update"
5756 * textcursor.[Ch] (last_sel_cursor): remove unused member
5758 2003-08-04 André Pönitz <poenitz@gmx.net>
5761 * BufferView_pimpl.[Ch]:
5762 * ParagraphParameters.C:
5763 * bufferview_funcs.C:
5769 * text3.C: replace "complicated" BufferView::update(...) calls with
5772 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5774 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5776 * Makefile.am (lyx_SOURCES): add paper.h
5778 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5780 * Makefile.am: move things around so that both lyx-qt and
5781 lyx-xforms can be built (according to --with-frontend). Then lyx
5782 is a symbolic link to lyx-[firstfrontend]
5784 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5786 * Always use std::endl with lyxerr
5788 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5790 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5792 2003-08-01 André Pönitz <poenitz@gmx.net>
5795 * BufferView_pimpl.[Ch]:
5797 * text3.C: merge BufferView::repaint() and BufferView::update()
5799 2003-08-01 José Matos <jamatos@lyx.org>
5801 * buffer.[Ch]: file_format is no longer a buffer data element.
5803 2003-08-01 André Pönitz <poenitz@gmx.net>
5808 * text2.C: make redoParagraph more independent of current cursor
5810 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5812 * text2.C: remove unneeded members
5814 2003-07-30 André Pönitz <poenitz@gmx.net>
5816 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5818 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5819 create a single function...
5821 * paragraph_funcs.C (moveItem): ... here.
5824 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5826 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5828 * LColor.[Ch]: Add comment and greyedout logical colors.
5830 2003-07-30 André Pönitz <poenitz@gmx.net>
5832 * tabular.C: don't use Assert too heavily. This crashes where it
5835 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5837 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5838 is disabled (bug 1232)
5840 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5842 * factory.C: limited 'arg' scope
5844 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5846 * factory.C: fixed Note submenu issues
5848 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5850 * factory.C: submenu for Note/Comment/Greyedout
5852 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5855 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5857 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5860 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5861 greyedout. Patch provided by Jürgen Spitzmüller.
5863 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5865 * kbmap.C (read): fix error message when reading bind files
5867 2003-07-29 Angus Leeming <leeming@lyx.org>
5869 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5870 certainly does not do what it purports to do. I am doing it, and
5871 us, a favour by killing it.
5873 2003-07-28 José Matos <jamatos@lyx.org>
5875 * buffer.C (readBody, do_writeFile):
5876 * paragraph.C(readParagraph): \end_document replaces \the_end.
5878 2003-07-29 André Pönitz <poenitz@gmx.net>
5881 * BufferView_pimpl.[Ch]:
5885 * textcursor.[Ch]: remove toggleToggle & Co
5887 2003-07-28 José Matos <jamatos@fep.up.pt>
5889 * buffer.C (readParagraph):
5890 * params_func (readParToken, readParagraph):
5891 * paragraph.C (write): \layout -> \begin_layout.
5893 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5895 * lyxlex_pimpl.C (setFile): clean up slightly.
5897 * bufferparams.h: add compressed var
5899 * buffer_funcs.C (readFile): adjust for LyXLex change
5900 (newFile): ditto + simplify
5902 * buffer.C (writeFile): handle writing of compressed files
5904 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5905 Check if the file is compressed and set a bufferparm if so.
5907 * Makefile.am (lyx_LDADD): remove explicit -lz
5909 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5911 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5912 makeDocBookFile): put the real LyX version in the first line of
5916 * version.C.in: remove lyx_docversion
5918 * tabular.C (write_attribute): add a template-based version to
5919 write enums properly
5921 2003-07-28 André Pönitz <poenitz@gmx.net>
5926 * text3.C: use doubles again for x-coordinates. They are needed.
5928 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5930 * messages.C (getLocaleDir): use lyx_localedir()
5932 * lyxlex_pimpl.C (setFile): compress stuff
5934 * buffer.C (writeFile): add some compression stuff
5935 (do_writeFile): new func, dont call expliti close... will this
5938 * Makefile.am (lyx_LDADD): add -lz
5940 2003-07-28 José Matos <jamatos@fep.up.pt>
5942 * buffer.C: increment file format.
5943 * paragraph_funcs (readParagraph, readParToken):
5944 * paragraph.C (readParagraph): add \end_layout.
5946 2003-07-27 Angus Leeming <leeming@lyx.org>
5948 * Makefile.am: remove special casing for configure-time setting of
5949 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5951 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5952 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5954 2003-07-26 André Pönitz <poenitz@gmx.net>
5956 * paragraph_func.[Ch]:
5957 * paragraph.C (realizeFont): inline it whereever it is used
5962 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5965 2003-07-26 André Pönitz <poenitz@gmx.net>
5969 * text2.C: get rid of LyXText::need_break_row
5971 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * toc.[Ch]: put namespace toc inside namespace lyx
5975 * MenuBackend.C (expandToc2): adjust for lyx::toc
5978 * lyxfunc.C (dispatch): adjust for lyx::find
5980 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5981 lyx::find instead. Reorganize a bit.
5982 (LyXReplace): rename to replace
5983 (LyXFind): rename to find
5985 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5988 2003-07-26 André Pönitz <poenitz@gmx.net>
5990 * text.C (setHeightOfRow): restrict scope of temporary variable
5992 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5993 code (never has been used?)
5995 2003-07-27 Asger Alstrup <alstrup@local>
5997 * text.C (fill): Optimise algorithm to exploit that we can reuse
5998 the LyXFont for many characters.
5999 (setHeightOfRow): Same thing.
6000 (rowBreakPoint): Same thing.
6002 2003-07-26 Asger Alstrup <alstrup@local>
6004 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6006 * text.C (singleWidth): Spurious font copying in hot-spot
6007 singleWidth avoided. Reorder tests for arabic for efficiency.
6009 * text.C (fill): handle empty paragraphs better.
6011 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6014 * encoding.h: add includes
6016 * lyxrc.C: remove reading of bind files
6018 * lyx_main.C (init): setup bindings and menus only if we have a
6021 * kbmap.C (read): new method. Do the actual reading of bind
6024 * converter.C (dvipdfm_options):
6027 (output): adapt PAPER_* enums.
6029 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6031 * bufferparams.h: remove paper-related enums from there
6033 * paper.h: New file. A trivial header file to hold paper-related
6034 enums. It should later expand to contain many paper-related
6037 * lyxrc.C: declare extern displayTranslator
6039 2003-07-27 José Matos <jamatos@fep.up.pt>
6041 * tabular.[Ch] (linuxdoc): add support for tables and figures
6044 2003-07-27 José Matos <jamatos@fep.up.pt>
6046 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6047 consistency in both functions.
6048 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6050 2003-07-26 Asger Alstrup <alstrup@local>
6052 * rowpainter.C (paintRows): Change algorithm to work directly on
6053 the insets rather than asking every character in the document
6054 whether its an inset.
6056 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6058 * buffer.C (openFileWrite): factorize some code
6060 2003-07-26 Angus Leeming <leeming@lyx.org>
6063 * lyx_main.[Ch]: replace occurances of system_tempdir with
6066 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6068 * rename Inset to InsetOld
6070 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6072 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6073 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6074 which I think is a bit clearer. EDIT is gone, since it was
6075 premature optimisation, and broken for mathed anyway.
6076 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6077 with cursor positioning in insets as well (math insets still do not
6078 work, but that's a different story anyway.) It mysteriously
6079 crashes sometimes with undo in the first paragraph, but I'm fairly
6080 confident that this is a compiler bug.
6082 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6084 * paragraph.C (Paragraph): adjust for new clone return type
6086 (copyIntoMinibuffer): ditto
6088 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6090 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6091 by not having a special case, and always doing a full rebreak of
6092 the document after undo.
6094 2003-07-23 Angus Leeming <leeming@lyx.org>
6096 * factory.C (createInset): InsetExternal::setParams now takes a
6099 2003-07-23 Angus Leeming <leeming@lyx.org>
6101 * factory.C (createInset): changed interface to the external and
6102 graphics mailers' string2params functions.
6104 2003-07-23 Angus Leeming <leeming@lyx.org>
6106 * factory.C (createInset): pass a
6107 Buffer const * parameter to InsetExternalMailer's string2params.
6109 2003-07-22 John Levon <levon@movementarian.org>
6111 * Thesaurus.h: include the right aiksaurus header
6113 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6115 * MenuBackend.C (expand): check menu shortcuts unconditionally
6117 2003-07-21 Angus Leeming <leeming@lyx.org>
6119 * factory.C (createInset): pass a
6120 buffer_path parameter to InsetGraphicsMailer's string2params.
6122 2003-07-21 Angus Leeming <leeming@lyx.org>
6124 * BufferView_pimpl.C (buffer):
6127 * lyxfunc.C (dispatch):
6128 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6129 rather than the grfx shortcut.
6131 2003-07-21 André Pönitz <poenitz@gmx.net>
6133 * rowpainter.C: remove unused variables
6136 * tabular_funcs.h: move to tabular.C
6137 * Makefile.am: adjust
6139 * tabular.[Ch]: basic optical cleaning
6141 * author.h: pass references, not values
6143 2003-07-18 André Pönitz <poenitz@gmx.net>
6151 * text3.C: two-phase drawing for InsetText and InsetTabular
6152 some float -> int changes.
6154 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6156 * lyx_main.C: fix the fix
6158 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6160 * lyx_main.C: fix a crash in batch mode if no files specified
6163 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6165 * format.[Ch] (papersize): moved to BufferParams
6166 * converter.[Ch] (dvips_options): moved to BufferParams
6167 (dvipdfm_options): moved to anon namespace
6168 * bufferparams.[Ch]: added above functions.
6170 2003-07-17 André Pönitz <poenitz@gmx.net>
6174 * text2.C: don't call inset->update() anymore
6176 * metricsinfo.[Ch]: add convenience constructor
6178 2003-07-16 André Pönitz <poenitz@gmx.net>
6183 * text2.C: replace the LyXCursor::irow_ member with
6184 on-demand computation of the value
6186 2003-07-16 John Levon <levon@movementarian.org>
6188 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6190 2003-07-15 André Pönitz <poenitz@gmx.net>
6193 * text2.C: remove no more needed refresh_row
6195 2003-07-15 André Pönitz <poenitz@gmx.net>
6200 * text3.C: refresh_status tristate -> need_update bool
6202 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6204 * lyxtext.h (init): remove reinit argument (act as if always true)
6205 * text2.C: adjust to that
6207 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6209 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6210 * text3.C: use it to delete selections in some cases
6211 (bugs 441, 673, 702, 954).
6213 2003-07-14 André Pönitz <poenitz@gmx.net>
6215 * rowpainter.[Ch]: reduce interface
6217 2003-07-14 André Pönitz <poenitz@gmx.net>
6219 * BufferView_pimpl.C:
6220 * text2.C: adjust after removing unused BufferView * argument
6222 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6224 * text2.C (init): fix a crash fired on resize
6226 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6228 * buffer.[Ch]: added new closing signal
6229 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6230 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6231 BufferView::Pimpl via the closing the signal
6233 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6235 * buffer.[Ch]: take out all bv-related from buffer
6237 * BufferView_pimpl.[Ch]: connect to new signals
6238 * CutAndPaste.C: removed useless asserts
6239 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6242 * lyxfunc.C: moved view-related funciontality from vc here
6243 * paragraph.C: removed outdated comments
6246 2003-07-10 André Pönitz <poenitz@gmx.net>
6248 * BufferView_pimpl.C:
6252 * text2.C: remove InsetText::InnerCache, clean up consequences
6254 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6256 * ispell.C: fix two typos in error messages
6258 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6260 * Extend Note inset to other forms of annotation like Comment
6261 and Greyedout. Right button click gives dialog.
6263 Files modified or added (+):
6267 * ControlNote.[Ch] +
6269 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6270 frontends/controllers
6274 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6276 * aspell.C: add missing namespace lyx::support
6278 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6280 * BufferView.[Ch] (newFile): Add
6281 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6282 * LaTeX.[Ch] (message): added this signal and use it
6283 * buffer.[Ch] (busy, message): added these signals and use them
6284 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6288 * importer.C: use buffer signals instead of direct bv calling
6289 * lyx_cb.[Ch] (ShowMessage): removed
6292 * paragraph_funcs.C:
6293 * text2.C: use buffer signals
6295 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6297 * introduce namespace lyx::graphics
6299 2003-07-02 André Pönitz <poenitz@gmx.net>
6301 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6303 2003-07-01 André Pönitz <poenitz@gmx.net>
6310 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6311 text*.C to text_func.C
6313 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6315 * introduce namespace lyx::support
6317 2003-06-30 André Pönitz <poenitz@gmx.net>
6322 * text.C: re-enable --with-included-string
6324 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6326 * textcursor.C: add <config.h>
6328 * text.C (getWord): remove const from word_location arg
6330 * lyxvc.C (getLogFile): fix const type order
6332 * lyxtext.h: remove const from word_location arg, add arg name
6334 * lyxlayout.h: currect type on labeltype.
6336 * importer.C: correct \file
6338 * converter.C (intToFormat): use std:: on ret val, ws changes
6340 * bufferlist.h: correct \file
6342 * buffer.C (makeLinuxDocFile): fix const type order
6343 (makeDocBookFile): ditto
6344 (fillWithBibKeys): use std:: on stdlib args.
6346 * CutAndPaste.C: fix authors.
6347 (availableSelections): use std:: on return vector
6349 2003-06-27 André Pönitz <poenitz@gmx.net>
6351 * BufferView_pimpl.C:
6352 * bufferview_funcs.C:
6360 * text3.C: remove LyXCursor::row_ member
6363 * text.C: rename fullRebreak() to partialRebreak() and implement
6364 a fullRebreak() that really bereks fully
6366 * textcursor.h: new struct for cursor-related data
6368 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6370 * lyx_main.C (LyX): get full path of document loaded on the
6373 2003-06-26 André Pönitz <poenitz@gmx.net>
6375 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6376 remove unused/broken operator>,<,>=.
6378 * text.C: remove only use of broken operator<= in an Assert().
6380 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6382 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6383 moved errorlist_.clear to showErrorList
6385 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6387 * converter.C (scanLog, runLaTeX):
6388 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6389 move the bv->showErrorList call to the callers
6390 * lyxfunc.C: i.e. here...
6392 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6393 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6394 namespace, the second to...
6395 * buffer_funcs (BufferFormat, parseErrors): added
6396 * errorlist.C (ErrorList(TeXErrors const &)): removed
6398 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6400 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6402 2003-06-24 "Garst R. Reese" <reese@isn.net>
6406 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6408 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6410 * version.C.in: change docversion to 1.4
6412 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6414 * buffer.C: fix a bug just introduced
6416 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6418 * buffer.[Ch]: added the parseError signal and use it, removed
6420 * BufferView.[Ch] (addError): moved to ...
6421 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6422 to the Buffer::parseError signal to catch (guess what) parse errors
6423 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6425 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6427 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6428 ability to create a buffer and to return an existing one from
6429 the list. Moved these functions to...
6430 * buffer_funcs.[Ch]: added
6431 * BufferView.[Ch] (loadLyXFile): added
6432 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6433 job removed from bufferlist::loadLyXFile.
6434 * buffer.C (setReadOnly): make it work without view
6435 (i.e added an if (users))
6437 2003-06-19 Angus Leeming <leeming@lyx.org>
6440 * LyXAction.C (init):
6441 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6442 with LFUN_DIALOG_SHOW <name> <data>.
6444 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6446 * CutAndPaste.C (availableSelections): small compilation fix for
6447 ancient (gcc 2.9x) compilers
6449 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6451 * text3.C (cursorNext): add tmp var
6453 * text2.C (updateCounters): for function calling out of for clause
6454 (replaceSelectionWithString): ditto
6455 (insertStringAsParagraphs): ditto
6456 (getColumnNearX): add tmp var
6457 (setCursorFromCoordinates): add tmp var
6458 (cursorDownParagraph): add tmp var
6459 (deleteEmptyParagraphMechanism): add tmp var
6461 * text.C (insertChar): add tmp var
6463 * rowpainter.C (paintDepthBar): add tmp var
6465 * CutAndPaste.C (availableSelections): potentially check all
6466 paragraphs in a cut to fill the shown strings.
6468 2003-06-18 André Pönitz <poenitz@gmx.net>
6470 * kbmap.[Ch]: use vector<> instead of list<>
6472 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6474 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6475 pasteSelection with index
6477 * text2.C (pasteSelection): modify, call pasteSelection with index
6479 * paragraph.C (asString): reimplement version with no interval to
6480 call the one with interval.
6482 * lyxtext.h: add index arg to pasteSelection
6484 * MenuBackend.C (MenuItem): handle PasteRecent
6485 (Menu::read::Menutags): add md_pasterecent
6487 (expandPasteRecent): new function
6490 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6492 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6494 (availableSelections): new function
6496 2003-06-17 Angus Leeming <leeming@lyx.org>
6498 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6500 2003-06-17 Angus Leeming <leeming@lyx.org>
6503 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6505 * lyxfunc.C (dispatch): invoke it.
6507 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6509 * iterators.C (operator++, ParPosition): reintroduce some
6510 const_cast for the benefit of older compilers.
6512 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6514 * text3.C (dispatch): do not modify clipboard when doing
6515 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6516 LFUN_DELETE_SKIP on a selection selection
6518 2003-06-16 André Pönitz <poenitz@gmx.net>
6524 * tabular.[Ch]: IU of clone() and getLabelList();
6526 2003-06-13 André Pönitz <poenitz@gmx.net>
6528 * tabular.h: compactification
6530 2003-06-12 André Pönitz <poenitz@gmx.net>
6534 * tabular_funcs.h: some renaming plus whitespace
6536 2003-06-12 André Pönitz <poenitz@gmx.net>
6539 * BufferView_pimpl.C:
6545 * toc.C: Return a Paragraph & for ParIterator::operator*()
6547 2003-06-11 John Levon <levon@movementarian.org>
6551 * ToolbarBackend.C: add "Toolbars" section and
6554 2003-06-10 Angus Leeming <leeming@lyx.org>
6557 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6559 * lyxfunc.C (dispatch): invoke it.
6561 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6563 * main.C: protect <ios> with HAVE_IOS
6564 (main): protect sync_with_stdio with HAVE_IOS
6566 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6568 * text2.C (cutSelection): adjust
6569 (pasteSelection): adjust
6571 * messages.C: handle get of empty string
6573 * main.C (main): use sync_with_stdio(false)
6575 * lyxfunc.C (dispatch): adjust
6577 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6578 (WriteAs): remove unneeded BufferView arg.
6580 * bufferparams.h: use correct types on papersize, papersize2 and
6583 * bufferparams.C (readToken): adjust for type
6584 (writeLaTeX): add missing cases to switch.
6586 * bufferlist.C (quitWriteBuffer): adjust
6589 * buffer.C (asciiParagraph): remove some commented code.
6591 * CutAndPaste.C: remove current_view extern variable.
6592 (cutSelection): add BufferParams arg.
6593 (eraseSelection): add BufferParams arg.
6594 (pasteSelection): add Buffer const & arg
6596 2003-06-07 John Levon <levon@movementarian.org>
6599 * paragraph_funcs.C:
6600 * paragraph_pimpl.C:
6604 * paragraph.C: allow InsetERT to freely space lines,
6605 and some consolidation of code
6607 2003-06-06 José Matos <jamatos@fep.up.pt>
6609 * buffer.C (makeDocBookFile): fix bug #821
6611 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6613 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6615 2003-06-04 Angus Leeming <leeming@lyx.org>
6617 * buffer.C: bump format to 224.
6619 2003-06-05 André Pönitz <poenitz@gmx.net>
6621 * text2.C (redoParagraphs): remove two const_cast<>
6623 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6625 * ParagraphList.h: remove last remnants of NO_STD_LIST
6627 2003-06-03 Angus Leeming <leeming@lyx.org>
6629 * factory.C (createInset): small change to the way InsetExternal's params
6632 2003-06-04 André Pönitz <poenitz@gmx.net>
6634 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6636 * paragraph_pimpl.h:
6637 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6639 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6641 * undo_funcs.C: make some simple cases of undo work again
6643 2003-06-03 John Levon <levon@movementarian.org>
6645 * ispell.C: HPUX doesn't have sys/select.h
6648 2003-06-03 John Levon <levon@movementarian.org>
6650 * CutAndPaste.C: update tabular and include inset
6655 * paragraph.C: remove owningBuffer(), don't pass Buffer
6658 * factory.C: insetGraphicsParams changed
6660 2003-06-02 John Levon <levon@movementarian.org>
6666 * text3.C: remove insetparent
6668 2003-06-02 John Levon <levon@movementarian.org>
6671 * buffer.C: fix inset_iterator.end(), move out of line
6674 2003-06-01 John Levon <levon@movementarian.org>
6676 * text3.C: use a proper cut/paste when doing inset
6677 insert (from Jürgen Spitzmüller)
6679 2003-06-01 John Levon <levon@movementarian.org>
6681 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6683 2003-05-30 André Pönitz <poenitz@gmx.net>
6685 * rowpainter.C: unify second drawing phase
6687 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6689 * trans_mgr.C: remove one case of current_view
6691 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6693 * paragraph_funcs.h: remove paragraph.h include
6695 * paragraph.h: delete NO_STD_LIST stuff
6697 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6699 * buffer.h: remove paragraph.h include
6701 * ParagraphList.C: delete file
6703 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6705 * toc.C (getTocList): adjust
6707 * paragraph_pimpl.C (validate): adjust
6709 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6711 * paragraph.C (Paragraph): adjust
6712 (getPositionOfInset): use const_iterator, adjust
6713 (bibitem): use const_iterator, adjust
6714 (setInsetOwner): adjust
6716 * iterators.C (operator++): adjust
6718 * InsetList.[Ch]: Replace selfmade iterator with standard
6719 vector::iterator also introduce const_iterator. Remove getPos,
6720 getInset and setInset from InsetTable. Adjust accordingly.
6722 * BufferView.C (lockInset): adjust
6723 (ChangeInsets): adjust
6725 * tabular.[Ch]: delete commented same_id functions
6727 2003-05-28 John Levon <levon@movementarian.org>
6729 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6731 2003-05-28 André Pönitz <poenitz@gmx.net>
6733 * metricsinfo.[Ch]: remove 'fullredraw' member
6735 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6737 * lyxtextclass.C (operator): remove caching.
6739 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * text2.C (cursorBottom): adjust
6744 (setCounter): use ParagraphList::find, adjust
6746 * text.C (workWidth): use ParagraphList::find, adjust
6748 * lyxcursor.C (LyXCursor): adjust
6750 * buffer.C (inset_iterator): adjust
6752 * ParagraphList.h: make iterator(value_type) private, make
6753 ParagraphList a friend of iterator.
6755 * ParagraphList.C (find): new function
6757 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6759 2003-05-27 André Pönitz <poenitz@gmx.net>
6761 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6763 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6765 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6767 2003-05-26 John Levon <levon@movementarian.org>
6769 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6771 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * remove same_id from function signatures, adjust.
6775 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6777 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6779 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6781 * paragraph.C (Paragraph): get rid of same_ids parameter
6783 * ParagraphList.C (insert): adjust
6786 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * paragraph_funcs.C (breakParagraph): adjust
6789 (breakParagraphConservative): adjust
6791 * buffer.C (readParagraph): adjust
6793 * ParagraphList.C (insert): take a reference instead of a pointer
6796 * paragraph.[Ch] (id): new function
6798 * bufferlist.C (newFile): adjust
6800 * ParagraphList.C (ParagraphList): adjust
6802 (push_back): take a reference instead of a pointer.
6804 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6806 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6809 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6810 set else use old code.
6812 * ParagraphList.C: remove all NO_NEXT code and only compile this
6813 code of NO_STD_LIST is set.
6815 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6817 * BufferView_pimpl.C:
6827 * graphics/GraphicsConverter.C:
6828 * graphics/PreviewLoader.C: header adjustment
6830 2003-05-23 Angus Leeming <leeming@lyx.org>
6832 * LaTeXFeatures.[Ch] (useBabel): new method.
6833 * bufferparams.C (writeLaTeX): use it.
6835 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6837 * ParagraphList.h (set): remove unused function.
6839 2003-05-23 André Pönitz <poenitz@gmx.net>
6842 * BufferView_pimpl.C:
6846 * undo_funcs.C: setUndo reworked
6848 * iterators.[Ch]: add access to topmost ParagraphList
6850 * lyxtext.[Ch] (workWidth): add a const
6852 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6854 * texrow.[Ch] (increasePos): remove function
6855 * exporter.C (export): removed unused var and outdated comment
6857 2003-05-23 Angus Leeming <leeming@lyx.org>
6859 * latexrunparams.h: rename fragile as moving_arg.
6860 * paragraph.C (simpleTeXOnePar): ditto.
6861 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6863 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6865 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6867 (textUndoOrRedo): comment out a currently unused var.
6869 * paragraph.h (NO_NEXT): enable NO_NEXT
6871 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6873 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6875 * exporter.C (Export): adjust for removeAutoInsets removal.
6877 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6879 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6881 * BufferView.[Ch] (removeAutoInsets): delete function
6883 2003-05-22 Angus Leeming <leeming@lyx.org>
6885 * latexrunparams.h: add a free_spacing variable.
6887 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6888 to pass moving_arg, as the data is stored in runparams.fragile.
6890 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6891 to Inset::latexOptional or to simpleTeXOnePar.
6893 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6894 free_spacing arg to Inset::latexOptional.
6896 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6899 2003-05-22 Angus Leeming <leeming@lyx.org>
6901 * latexrunparams.h: add fragile and use_babel variables.
6903 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6904 * buffer.C (makeLaTeXFile): store this returned value in
6905 runparams.use_babel, thus passing it to the inset::latex methods.
6907 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6908 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6910 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6911 longer has a fragile arg, as it is stored in runparams.fragile.
6913 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6914 moving_arg parameter as the data is stored in runparams.fragile.
6916 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6917 a fragile parameter as the data is stored in runparams.fragile.
6919 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6923 2003-05-22 Angus Leeming <leeming@lyx.org>
6925 * latexrunparams.h: add a 'bool nice' which defaults to false.
6927 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6928 now encapsulated within runparams.
6930 * bufferlist.C (updateIncludedTeXfiles):
6931 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6933 2003-05-22 Angus Leeming <leeming@lyx.org>
6935 * latexrunparams.h: new file containing struct LatexRunParams.
6936 * Makefile.am: add new file.
6938 * LaTeX.[Ch] (c-tor, run):
6939 * buffer.[Ch] (makeLaTeXFile):
6940 * bufferlist.[Ch] (updateIncludedTeXfiles):
6941 * converter.C (convert, scanLog):
6942 * converter.[Ch] (runLaTeX):
6943 * exporter.C (Export):
6944 * paragraph.[Ch] (simpleTeXOnePar):
6945 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6946 * paragraph_funcs.[Ch] (latexParagraphs):
6947 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6948 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6949 pass around a LatexRunParams parameter.
6951 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6953 * paragraph.[Ch]: remove unused constructor
6955 * ParagraphList.C (erase): new function, taking two iterators
6957 2003-05-22 André Pönitz <poenitz@gmx.net>
6959 * undo_funcs.C: remove duplicated code
6961 * iterator.[Ch]: operator=
6963 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6965 * tabular.C (SetMultiColumn): ws changes
6967 * rowpainter.C (paintFirst): get rid of a ->previous
6969 * lyx_cb.C (getPossibleLabel): parlist simplification
6971 * BufferView.C (ChangeInsets): simplify slightly.
6973 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6975 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6976 * lfuns.h: new LFUN_SPACE
6977 * lyxfunc.C: protected space has a new lfun
6978 * paragraph_funcs.C: read new space insets
6980 * factory.C: handle new space insets
6982 2003-05-22 André Pönitz <poenitz@gmx.net>
6985 * BufferView_pimpl.C:
6988 * undo_funcs.C: return a ParIterator from getParFromID.
6990 * iterators.[Ch]: add two const's
6992 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6994 * toc.C (getTocList): adjust
6996 * iterators.[Ch]: rework for parlist
6998 * buffer.C (par_iterator_begin): adjust
6999 (par_iterator_end): adjust
7001 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7003 * BufferView.C (removeAutoInsets): adjust
7004 (ChangeInsets): adjust
7006 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7008 * text.C (top_y): fix bug 1110
7010 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7012 * errorlist.[Ch]: added
7015 * BufferView_pimpl.C:
7016 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7019 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7021 * Makefile.am: ensure that lyx is relinked upon changes to the
7022 various "convenience" libs.
7024 2003-05-20 Angus Leeming <leeming@lyx.org>
7026 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7027 files are compiled in alphabetical order again.
7029 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7031 2003-05-19 Angus Leeming <leeming@lyx.org>
7033 * gettext.[Ch]: remove "char const * _(char const *)".
7035 2003-05-19 André Pönitz <poenitz@gmx.net>
7037 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7046 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7048 2003-05-19 André Pönitz <poenitz@gmx.net>
7052 * lyxtextclass.[Ch]:
7054 * paragraph_funcs.[Ch]:
7056 * text3.C: more insetenv work
7058 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7060 * ParagraphParameters.C (params2string): small bug fixed
7062 2003-05-16 André Pönitz <poenitz@gmx.net>
7065 * bufferview_funcs.C: patch from Kornel Benko to prevent
7066 crash when _(...) is called twice in a statement
7068 2003-05-16 André Pönitz <poenitz@gmx.net>
7075 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7077 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7079 * lyx_main.C (init): remove spurious static_cast
7081 2003-05-14 André Pönitz <poenitz@gmx.net>
7083 * BufferView.C: fix format string
7085 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7087 * BufferView.[Ch] (insertErrors): removed
7088 * BufferView.[Ch] (showErrorList): added
7089 * buffer.C (runChkTeX):
7090 * converter.C (scanLog): call showErrorList instead of inserterrors
7092 2003-05-13 André Pönitz <poenitz@gmx.net>
7094 * BufferView_pimpl.C:
7096 * bufferview_func.C:
7103 * tabular_funcs.h: tostr() from its own header
7105 * ParagraphParameters.C:
7110 * text3.C: STRCONV()
7112 2003-05-12 André Pönitz <poenitz@gmx.net>
7115 * BufferView_pimpl.C:
7119 * ParagraphParameters.C:
7123 * bufferview_funcs.C:
7136 * paragraph_funcs.C:
7140 * text3.C: boost::format -> bformat all over the place
7143 2003-05-09 André Pönitz <poenitz@gmx.net>
7145 * LColor.[Ch]: Pimpl the #include <map> away
7147 2003-05-09 John Levon <levon@movementarian.org>
7149 * bufferlist.C: never remove emergency saves
7151 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7153 * Makefile.am: better lib building
7155 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7157 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7159 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7160 (simpleTeXSpecialChars): adjust
7161 (simpleTeXSpecialChars): adjust
7162 * paragraph.C (simpleTeXOnePar): adjust
7163 * buffer.C (makeLaTeXFile): adjust
7165 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7167 * text2.C (changeDepth): parlist cleanup
7168 (getColumnNearX): ditto
7170 * rowpainter.C (getLabelFont): parlist cleanup
7172 * bufferlist.C (newFile): parlist cleanup
7174 * CutAndPaste.C (eraseSelection): parlist cleanup
7176 * BufferView_pimpl.C (trackChanges): parlist cleanup
7179 * BufferView.C (lockInset): parlist cleanup.
7180 (ChangeInsets): ditto
7182 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7184 * CutAndPaste.h: Update file header.
7186 * CutAndPaste.C: Update file header.
7187 Store the parts cut out of the Document in a limited_stack.
7188 (copySelection): adjust
7189 (pasteSelection): new function, takes the index in the limited stack.
7190 (nrOfParagraphs): adjust
7191 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7192 simplify error inset insertion.
7193 (checkPastePossible): adjust
7195 2003-05-06 John Levon <levon@movementarian.org>
7197 * text2.C: don't cast wrap inset to float
7199 2003-05-05 André Pönitz <poenitz@gmx.net>
7202 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7204 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7205 few naked Paragraph *.
7207 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7209 * bufferparams.C: Output warning if a document with missing
7210 TeX document class is loaded
7211 * exporter.C: Disable TeX exports if the document class is missing
7214 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7215 isTeXClassAvailable()
7217 2003-05-03 John Levon <levon@movementarian.org>
7220 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7221 explicit cursor show/hide
7223 * BufferView_pimpl.h:
7224 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7225 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7227 * lyxfunc.C: hide cursor before dispatching.
7232 * text3.C: remove explicit cursor hides
7234 2003-05-02 André Pönitz <poenitz@gmx.net>
7236 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7239 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7242 * text2.C: tiny whitespace
7244 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * undo_funcs.C: almost only ws changes.
7248 * ParagraphList.C (splice): just return if pl is empty.
7250 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * ParagraphList.C (splice): new function.
7254 * CutAndPaste.C (pasteSelection): use it
7256 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7258 * CutAndPaste.C (pasteSelection): remove the last next and
7259 previous from this file.
7261 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7263 * CutAndPaste.C (pasteSelection): more clean up, user proper
7264 ParagraphList functions for pasteing.
7266 * ParagraphList.C (insert): new function, three arg insert
7268 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7270 * ParagraphList.C (insert): new function, three arg insert
7272 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7275 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7277 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7279 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7283 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7285 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7286 (copySelection): clean up a bit.
7287 (pasteSelection): use make_pair
7289 * ParagraphList.C (ParagraphList): implement copy constructor
7290 (operator=): implement, base on copy constructor.
7293 * paragraph.C (erase): return a bool
7295 * paragraph_pimpl.C (erasePos): remove function, move contents...
7296 (erase): ... here. Return a bool.
7297 (erase): call erase instead of erasePos.
7299 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7301 * ParagraphList.h: define PitPosPair
7302 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7303 ParagraphList, fix a bug on pasting multiple pars
7304 * text2.C: change interface to C&P
7306 2003-04-30 André Pönitz <poenitz@gmx.net>
7308 * undo_func.C: revert part of yesterday's patch 2
7310 2003-04-30 John Levon <levon@movementarian.org>
7312 * LColor.C: s/tabular/table/
7314 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7316 * text3.C (dispatch): do not convert iterator -> pointer
7317 * undo_funcs.C (setCursorParUndo): ditto
7318 * text_funcs.C (transposeChars): ditto
7320 * text2.C (setLayout): ws changes only
7322 * text.C (breakParagraph): do not convert iterator -> pointer
7324 (acceptChange): ditto
7325 (rejectChange): ditto
7330 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7333 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7335 * text3.C (gotoInset): YABG (yet another bad getChar)
7337 2003-04-29 André Pönitz <poenitz@gmx.net>
7339 * paragraph.h: make operator= private unimplemented as long as
7342 * ParagraphList.C: whitespace
7345 * paragraph_pimpl.[Ch]:
7346 * paragraph_funcs.C:
7348 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7351 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7353 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7355 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7356 * paragraph.[Ch] (erase):
7357 * paragraph_pimpl.[Ch] (erase): change return type and value
7358 * text2.C (cutSelection): some rework
7360 2003-04-28 John Levon <levon@movementarian.org>
7362 * bufferlist.C: changes for unsaved changes dialog
7364 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7366 * bufferlist.C (newFile): set language (messages_) for new
7369 * buffer.C (readFile): ws changes only.
7371 2003-04-28 André Pönitz <poenitz@gmx.net>
7376 * BufferView_pimpl.C:
7377 * BufferView.C: getParFromID related ParagraphList::iterator changes
7379 2003-04-28 André Pönitz <poenitz@gmx.net>
7381 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7384 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7386 * messages.C: remove one more localedir class variable.
7388 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7390 * messages.C (getLocaleDir): singleton generation function
7392 (Messages): add a default constructor.
7394 * main.C (main): do not setup localedir here, do not call
7397 * gettext.C (_): use it.
7398 (gettext_init): delete funciton
7400 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7402 * gettext.C (getLyXMessages): new singleton generating function.
7404 * buffer.C (updateDocLang): adjust
7406 * Makefile.am (messages.o): add target
7407 (main.o): remove target
7409 2003-04-27 John Levon <levon@movementarian.org>
7414 * lyxvc.C: specify cancel button in Alert::prompt
7416 2003-04-26 John Levon <levon@movementarian.org>
7421 * LyXAction.C: add LFUN_INSET_SETTINGS
7423 * lyxfunc.C: don't enable tabular-feature when there's
7424 just any locking inset
7426 2003-04-26 John Levon <levon@movementarian.org>
7428 * bufferlist.C: re-add Cancel to buffer close question
7430 * lyxfunc.C: fix import UI a bit
7432 2003-04-25 John Levon <levon@movementarian.org>
7434 * gettext.C: remove the broken asserts for now
7436 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7438 * messages.C: make case where setlocale cannot comply work better.
7440 * buffer.C (updateDocLang): new function
7441 (changeLanguage): use it
7444 * text2.C (setCounter): use B_ a bit.
7446 * lyxlayout.C (Read): be sure to trim the label strings.
7448 * messages.C (Messages): fix typo in comment
7450 * buffer.C (readFile): set message_ after file is loaded.
7451 (makeDocBookFile): remove double return
7452 (changeLanguage): reset message_ upon language change.
7453 (B_): new func, use this to get translated buffer strings.
7455 * main.C: add myself and Jean Marc as authors.
7457 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7459 * messages.[hC]: pimplify Messages, and three different pimpls to be
7460 used in different circumstances.
7462 * gettext.[Ch]: change for use with new message code.
7464 2003-04-24 André Pönitz <poenitz@gmx.net>
7466 * factory.C: support for eqref
7468 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7470 * messages.[Ch]: add missing char
7472 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7474 * messages.[Ch]: New files
7476 2003-04-18 John Levon <levon@movementarian.org>
7480 * BufferView_pimpl.C:
7484 * text2.C: remove layout-copy/paste (bug 778)
7486 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7488 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7490 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7492 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7493 if they succeed. Act accordingly.
7495 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7497 * text2.C (setCharFont): adjust
7498 (setCounter): adjust
7499 (insertStringAsLines): adjust
7501 * text.C (leftMargin): adjust
7502 (setHeightOfRow): adjust
7504 * rowpainter.C (paintFirst): adjust
7507 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7509 (isFirstInSequence): ditto
7510 (getEndLabel): ditto
7513 * paragraph.C (getParLanguage): comment out some hard stuff.
7515 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7517 (simpleDocBookOnePar): ditto
7518 (makeDocBookFile): use ParagraphList::iterator
7520 * CutAndPaste.C (pasteSelection): adjust
7522 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7524 * text2.C (getFont): adjust
7525 (getLayoutFont): adjust
7526 (getLabelFont): adjust
7528 * paragraph_funcs.C (TeXOnePar): adjust
7530 * buffer.C (simpleLinuxDocOnePar): adjust
7531 (simpleDocBookOnePar): adjust
7533 * CutAndPaste.C (pasteSelection): adjust
7535 * BufferView.C (getEncoding): adjust
7537 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7539 2003-04-16 John Levon <levon@movementarian.org>
7541 * lyxfind.C: use parlist stuff for search/changes
7543 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7545 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7547 * text2.C (deleteEmptyParagraphMechanism): adjust
7549 * text2.[Ch] (ownerParagraph): delete func (both of them
7551 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7553 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7555 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * ParagraphList.C: prepare for NO_NEXT
7559 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7561 * text2.C (getFont): adjust
7562 (getLayoutFont): adjust
7563 (getLabelFont): adjust
7565 * paragraph.C (getFont): adjust
7566 (getLabelFont): adjust
7567 (getLayoutFont): adjust
7569 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7571 2003-04-15 John Levon <levon@movementarian.org>
7575 * lyx_main.C: handle Include in .ui files
7577 2003-04-15 John Levon <levon@movementarian.org>
7579 * MenuBackend.C: make the doc files length shorter
7582 * ToolbarBackend.C: handle toolbar placement flags,
7585 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7587 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7590 * paragraph_funcs.C (TeXOnePar): adjust
7592 * paragraph.C (getLabelFont): add outerfont arg, adjust
7593 (getLayoutFont): ditto
7594 (simpleTeXOnePar): adjust
7596 * paragraph_pimpl.C (realizeFont): delete func
7598 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7600 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7601 row argument, constify cur argument.
7603 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7605 * text2.C (getFont): adjust
7606 (getLayoutFont): adjust
7607 (getLabelFont): adjust
7609 * paragraph_funcs.C (TeXOnePar): adjust
7610 (outerFont): new func...
7611 (realizeFont): ...moved out from here, changed this to facilitate
7614 * paragraph.C (getFont): take outerfont as arg, adjust
7615 (simpleTeXOnePar): add outerfont arg, adjust
7617 * buffer.C (simpleLinuxDocOnePar): adjust
7618 (simpleDocBookOnePar): adjust
7620 * CutAndPaste.C (pasteSelection): adjust
7622 * BufferView.C (getEncoding): adjust
7624 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * text2.C (setCharFont): adjust
7627 (setCounter): adjust
7629 * text.C (leftMargin): adjust
7630 (setHeightOfRow): adjust
7632 * rowpainter.C (paintFirst): adjust
7635 * paragraph_pimpl.C (realizeFont): adjust
7637 * paragraph.C (isFirstInSequence): move from here...
7638 * paragraph_funcs.C (isFirstInSequence): ...to here
7640 * paragraph.C (outerHook): move from here...
7641 * paragraph_funcs.C (outerHook): ...to here
7643 * paragraph.C (depthHook): move from here...
7644 * paragraph_funcs.C (depthHook): ...to here
7646 * paragraph.C (getEndLabel): move from here...
7647 * paragraph_funcs.C (getEndLabel): ...to here
7649 * text2.C (realizeFont): move from here...
7650 * paragraph_funcs.C (realizeFont): ...to here
7652 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7654 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7656 2003-04-14 Angus Leeming <leeming@lyx.org>
7658 * LColor.[Ch]: scrap LColor mathcursor.
7660 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * lyxlex.[Ch] (text): delete function
7663 * trans.C (Load): adjust
7664 * paragraph_funcs.C (readParToken): adjust
7666 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7668 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7669 vector<char> instead of a char[].
7671 * lyxlex_pimpl.C (getString): adjust
7673 (lex): use getString
7677 * lyxlex.C (text): use pimpl_->getString()
7681 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7683 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7684 (makeFontEntriesLayoutSpecific): temp var for par.size()
7685 (setLayout): temp var for ownerParagraphs().end()
7686 (fullRebreak): temp var for rows().end()
7687 (selectionAsString): temp var for boost::next(startpit), realize
7688 that the while really is a regular for loop.
7689 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7690 setCursor in one place.
7691 (setParagraph): temp vr for ownerParagraphs().end()
7692 (updateCounters): make the while loop a for loop
7693 (cutSelection): temp var for ownerParagraphs().end()
7694 (updateInset): make the do {} while() a regular for loop
7695 (getCursorX): use temp vars
7696 (setCurrentFont): use temp vars
7697 (getColumnNearX): use temp vars
7699 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * text.C (transformChar): use temp var for getChar
7702 (computeBidiTables): use temp var for row->par()
7703 (fill): move temp vars for row->par() and pit->layout() earlier in
7705 (labelFill): use temp var for row->par()
7706 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7707 asc and desc, realize that pit never changes and that firstpit is
7708 just a duplicate and not needed. Exchange rit->par() with pit in a
7710 (breakAgain): use a temp var for boost::next(rit)
7711 (breakAgainOneRow): ditto
7712 (breakParagraph): use a temp var for rows().begin()
7713 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7714 (cursorRightOneWord): use temp var for cursor.par() and
7715 cursor.pos(), remove usage of tmpcursor.
7716 (cursorLeftOneWord): use temp var for cursor.par() and
7717 cursor.pos() only set cur at end of function.
7719 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * text.C, text2.C: exchange all usage of Paragraph::next with
7722 boost::next(ParagraphList::iterator)
7724 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7726 * text2.C (cursorTop): simplify implementation
7727 (cursorBottom): ditto
7728 (setParagraph): use ParagraphList::iterator
7729 (setCurrentFont): adjust
7730 (getColumnNearX): adjust
7731 (cursorRight): adjust
7732 (cursorLeft): remove usage of Paragraph::previous
7733 (cursorUpParagraph): ditto
7734 (deleteEmptyParagraphMechanism): slight cleanup
7736 * text.C (isBoundary): take a Paragraph const & instead of a
7738 (addressBreakPoint): ditto
7739 (leftMargin): remove usage of Paragraph::previous.
7740 (setHeightOfRow): ditto
7741 (cursorLeftOneWord): ditto
7742 (selectNextWordToSpellcheck): ditto
7745 (breakParagraph): remove one usage of Paragraph::next
7746 (redoParagraph): ditto
7747 (acceptChange): ditto
7748 (insertChar): adjust
7749 (rowBreakPoint): adjust
7751 * bufferview_funcs.C (toggleAndShow): adjust
7753 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7755 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7756 methods to access it.
7758 * text.C: Added updateRowPositions to compute all row positions.
7759 Make top_y and getRowNearY() to use the cached y position
7761 2003-04-11 John Levon <levon@movementarian.org>
7763 * text.C (rowBreakPoint): reintroduce the labelEnd
7764 checks, code copied from the row fill stuff. Deep voodoo.
7766 * text.C (fill): add a comment and debugging for the
7769 2003-04-11 John Levon <levon@movementarian.org>
7771 * text.C: make sure fullrow insets get wrapped to the next line,
7772 even when they're in a manual label
7774 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7776 * text2.C (insertParagraph): make it take ParagraphList::iterator
7778 (setLayout): make it return ParagraphList::iterator
7779 (redoParagraphs): ditto
7781 (checkParagraph): ditto
7783 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7785 * text2.C: adjust several funcs.
7786 (realizeFont): take a ParagraphList::iterator as arg.
7787 (getLayoutFont): ditto
7788 (getLabelFont): ditto
7789 (setCharFont): ditto
7791 * text.C: adjust several funcs.
7793 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7795 * text.C (selectNextWordToSpellcheck): don't accidentally
7798 2003-04-10 John Levon <levon@movementarian.org>
7800 * ToolbarBackend.C (getIcon): special handling for
7803 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7805 * text2.C (cursorRight): a getChar assert fixed
7807 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7809 * text2.C (getFont): change to take a ParagraphList::iterator
7810 instead of Paragraph*
7811 Adjust several functions.
7813 * text.C (transformChar): change to take a ParagraphList::iterator
7814 instead of Paragraph*
7815 (singleWidth): ditto
7816 Adjust several functions.
7818 * rowpainter.C: adjust several functions
7819 * rowpainter.h:store a ParagraphList::iterator and not a
7823 2003-04-09 John Levon <levon@movementarian.org>
7828 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7829 and the "help" bits as well
7831 2003-04-09 John Levon <levon@movementarian.org>
7834 * ToolbarBackend.C: allow multiple toolbars
7836 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7838 * undo_funcs.C (setCursorParUndo): adjust
7840 * text_funcs.C (transposeChars): adjust
7842 * text3.C (gotoNextInset): adjust
7845 * text2.C (setLayout): adjust
7846 (changeDepth): adjust
7848 (redoParagraphs): adjust
7849 (selectionAsString): adjust
7850 (setParagraph): adjust
7851 (insertInset): adjust
7852 (cutSelection): adjust
7853 (copySelection): adjust
7854 (pasteSelection): adjust
7855 (insertStringAsLines): adjust
7856 (updateInset): adjust
7857 (setCursor): change to take a ParagraphList::iterator parameter
7858 (setCursorIntern): change to take a ParagraphList::iterator parameter
7859 (setCurrentFont): adjust
7860 (cursorLeft): adjust
7861 (cursorRight): adjust
7862 (deleteEmptyParagraphMechanism): adjust
7864 * text.C (breakParagraph): adjust
7865 (insertChar): adjust
7866 (acceptChange): adjust
7867 (rejectChange): adjust
7868 (selectNextWordToSpellcheck): adjust
7869 (changeCase): adjust
7873 * lyxfind.C (SearchForward): adjust
7874 (SearchBackward): adjust
7875 (nextChange): adjust
7877 * lyxcursor.C (par): adjust
7879 * lyxcursor.h: store a ParagraphList::iterator instead of a
7882 * lyx_cb.C (getPossibleLabel): adjust
7884 * bufferview_funcs.C (toggleAndShow): adjust
7886 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7889 * BufferView.C (removeAutoInsets): adjust
7890 (lockedInsetStoreUndo): adjust
7892 2003-04-09 John Levon <levon@movementarian.org>
7894 * ToolbarBackend.C: try icon without argument
7895 if with argument fails
7897 2003-04-08 John Levon <levon@movementarian.org>
7900 * ToolbarBackend.C: add getIcon(), handle tooltip,
7901 and change from "Icon" to "Item".
7903 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7905 * BufferView.C (lockInset): another bad getchar crunched
7907 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7909 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7912 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7914 * lyxfind.C (searchForward, searchBackwards): bug 782
7916 2003-04-07 John Levon <levon@movementarian.org>
7918 * paragraph.C: remove dead comment
7920 * text.C: remove troublesome depth-fiddling code
7921 in leftMargin() and rightMargin() (bug 1017)
7923 * text.C: fix breaking of rows in nested lists
7926 * text2.C (updateCounters): fix up depth values
7929 2003-04-07 John Levon <levon@movementarian.org>
7931 * BufferView_pimpl.C: clear message when doc finishes resizing,
7932 and after a mouse event
7934 * lyxfunc.C: clear message after exiting inset
7936 2003-04-07 John Levon <levon@movementarian.org>
7938 * bufferview_funcs.C: show math status not outside
7939 status in the statusbar
7941 2003-04-07 John Levon <levon@movementarian.org>
7943 * lyxfunc.C: note status changed after a depth change
7945 2003-04-04 Angus Leeming <leeming@lyx.org>
7947 * LaTeX.h: move AuxInfo operator==, != out of line.
7948 Remove LaTeX virtual destructor; nothing derives from it.
7949 Move operator()() out of public area and rename it startscript().
7950 Change protected for private.
7952 2003-04-04 Angus Leeming <leeming@lyx.org>
7955 * text2.C: remove unneeded #includes.
7957 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7959 * text2.C (dEPM): fix the heigth of the next row
7961 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7963 * text.C: squashed an invalid getChar requester + some ws changes
7965 2003-04-03 John Levon <levon@movementarian.org>
7967 * bufferview_funcs.h:
7968 * bufferview_funcs.C:
7971 * text2.C: make getStatus work for the env depth lfuns
7973 2003-04-03 John Levon <levon@movementarian.org>
7975 * bufferview_funcs.h:
7976 * bufferview_funcs.C:
7979 * text2.C: parlistize decDepth(), by merging it with incDepth()
7981 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7983 * lyxrow.h: store a ParagraphList::iterator instead of a
7984 Paragraph* and adjust other class functions to suit.
7986 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7989 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7991 * text2.C (setCursor): do not anchor to cursor row for the time being
7993 2003-04-02 John Levon <levon@movementarian.org>
8000 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8002 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8004 * paragraph.h: make ParagraphList and ParagraphList::iterator
8005 friends of Paragraph.
8007 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8009 * ParagraphList.C: Use the private next_ and previous_ from
8012 2003-04-01 John Levon <levon@movementarian.org>
8016 * Makefile.am: rename, remove defaults gunk
8019 * MenuBackend.C: remove defaults gunk
8022 * Languages.C: remove defaults gunk
8025 * lyx_main.C: error out if files couldn't be found.
8027 2003-04-02 John Levon <levon@movementarian.org>
8029 * text2.C: make incDepth() use parlist
8031 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8033 * undo_funcs.C (firstUndoParagraph): adjust
8035 * text3.C (gotoInset): adjust
8036 (dispatch): adjust, and rewrite loop.
8038 * text2.C (init): adjust, and rewrite loop.
8039 (redoParagraphs): adjust
8040 (updateInset): adjust, and rewrite loop.
8041 (deleteEmptyParagraphMechanism): adjust
8043 * tabular.C (LyXTabular): adjust
8044 (SetMultiColumn): adjust
8047 * lyxtext.[Ch] (ownerParagraph): delete function
8048 (ownerParagraphs): new function returns a ParagraphList.
8050 * BufferView.C (removeAutoInsets): adjust
8051 (insertErrors): adjust
8052 (setCursorFromRow): adjust
8054 2003-04-01 Angus Leeming <leeming@lyx.org>
8056 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8059 2003-04-02 John Levon <levon@movementarian.org>
8065 * text_funcs.C: make transposeChars a free function
8067 * lyxrow_funcs.C: remove wrong comment
8069 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8072 * rowpainter.C: adjust
8077 * lyxrow_funcs. [Ch]: new files
8079 * lyxrow.[Ch]: remove next and previous pointers
8080 (next,previous): remove accessor functions
8081 (isParEnd): move to lyxrow_funcs
8082 (lastPos): move to lyxrow_funcs
8083 (nextRowIsAllInset): move to lyxrow_funcs
8084 (lastPrintablePos): move to lyxrow_funcs
8085 (numberOfSeparators): move to lyxrow_funcs
8086 (numberOfHfills): move to lyxrow_funcs
8087 (numberOfLabelHfills): move to lyxrow_funcs
8088 (hfillExpansion): move to lyxrow_funcs
8092 * bufferview_funcs.C (toggleAndShow): adjust
8094 * RowList.h: Remove class RowList from file leave just a
8097 * RowList.C: delete file
8099 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8102 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8104 * text3.C (cursorPrevious): adjust
8105 (cursorNext): adjust
8108 * text2.C (redoHeightOfParagraph): adjust
8109 (redoDrawingOfParagraph): adjust
8112 * text.C (breakParagraph): adjust
8113 (insertChar): adjust
8116 * rowpainter.C (RowPainter): adjust
8117 (leftMargin): simplify and adjust
8118 (most rowpainter functions): adjust.
8120 * rowpainter.h: store the row as RowList::iterator not as Row*
8122 * lyxcursor.C (row): taka RowList::iterator as arg
8125 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8128 2003-04-01 Angus Leeming <leeming@lyx.org>
8130 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8131 stuff like bool Bool.
8133 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8135 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8138 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8140 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8143 * lyxtext.h (rows): drop one version and leve a const variant that
8144 returns a RowList::iterator.
8146 2003-03-31 Angus Leeming <leeming@lyx.org>
8148 * text.C (fill): ensure that the signature is the same as that in the
8151 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8153 * text2.C (redoParagraphs): adjust
8154 (updateCounters): adjust
8155 (checkParagraph): adjust
8156 (getColumnNearX): adjust and reformat a bit.
8158 * text.C (top_y): adjust
8160 (leftMargin): adjust
8161 (prepareToPrint): adjust
8163 (getRowNearY): adjust
8165 * lyxtext.h: make rowlist_ mutable.
8167 * RowList.h: add const_iterator
8168 * RowList.C: adjust for RowList::const_iterator.
8170 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8173 2003-03-31 John Levon <levon@movementarian.org>
8176 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8178 * lyx_main.C: set default fonts from using lyx_gui funcs
8180 * exporter.C: pdf_mode moved from lyxrc
8183 * lyxfunc.C: changes from above
8185 2003-03-31 John Levon <levon@movementarian.org>
8187 * lyx_main.C: fix to the last fix
8189 2003-03-31 John Levon <levon@movementarian.org>
8191 * bufferlist.C: "Load original" -> "Load Original"
8197 * format.C: more Alert cleanups
8199 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8201 * text2.C (removeParagraph): make it take a RowList::iterator as
8203 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8204 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8206 * text.C (anchor_row): make it take a RowList::iterator as arg,
8208 (computeBidiTables): make it take a const reference to Row instead
8209 of Row pointer, adjust.
8210 (leftMargin): make it take a RowList::iterator as arg, adjust.
8211 (rowBreakPoint): adjust
8212 (breakAgainOneRow): make it take a RowList::iterator as arg,
8214 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8216 * bufferview_funcs.C (toggleAndShow): adjust
8218 2003-03-30 John Levon <levon@movementarian.org>
8222 * boost-inst.C: moved to support
8224 * several files: changes as a result
8226 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8228 * text2.C (LyXText): adjust.
8230 (removeRow): make it take a RowList::iterator as arg, adjust.
8231 (fullRebreak): adjust
8232 (deleteEmptyParagraphMechanism): adjust
8233 (clearPaint): adjust
8236 * text.C (top_y): adjust
8237 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8238 (breakAgain): make it take a RowList::iterator as arg, adjust.
8239 (breakParagraph): adjust
8240 (insertChar): adjust
8243 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8244 need_break_row, and refresh_row.
8246 * text3.C (dispatch): adjust
8248 * text2.C (checkParagraph): adjust
8250 (setCursorFromCoordinates): adjust
8252 * text.C (top_y): adjust
8254 (getRow): make it return a RowList::iterator, adjust
8255 (getRowNearY): make it return a RowList::iterator, adjust
8257 * text2.C (init): adjust
8258 (insertRow): remove function
8259 (insertParagraph): adjust
8260 (redoParagraphs): adjust
8261 (fullRebreak): adjust
8262 (updateCounters): adjust
8264 * text.C (top_y): rewrite to use RowList iterators.
8266 (setHeightOfRow): rewrite to sue RowList iterators.
8267 (appendParagraph): adjust
8268 (breakAgain): adjust
8269 (breakAgainOneRow): adjust
8270 (breakParagraph): adjust
8272 (getRowNearY): adjust, and remove commented code.
8274 * lyxtext.h (firstRow): delete function
8275 (lastRow): delete function
8276 (rows): new function (const and non-const versions.)
8277 (insertRow): delete function
8279 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8281 2003-03-29 John Levon <levon@movementarian.org>
8283 * BufferView_pimpl.C: always update scrollbar top
8284 because pasting text when we're anchored could mean we
8285 miss an update altogether
8287 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8289 * text2.C (init): use rowlist_.end() and not 0.
8290 (insertRow): change to take a RowList::iterator as arg, adjust
8292 (insertParagraph): change to take a RowList::iterator as arg,
8294 (redoParagraphs): remove some debug msgs.
8296 * text.C (appendParagraph): change to take a RowList::iterator
8297 arg, adjust for this.
8298 (breakAgain): add an assert
8299 (breakAgainOneRow): ditto
8301 2003-03-29 John Levon <levon@movementarian.org>
8303 * text2.C: do not clear selection after inc/decDepth
8306 2003-03-29 John Levon <levon@movementarian.org>
8309 * buffer.C: fix broken strerrors according to Lars
8311 2003-03-29 John Levon <levon@movementarian.org>
8313 * converters.C: more Alert cleanups
8315 2003-03-29 John Levon <levon@movementarian.org>
8317 * bufferview_funcs.C: remove pointless Alert
8319 * buffer.C: fix confusing error message when
8320 a template is chmoded 000
8322 2003-03-29 John Levon <levon@movementarian.org>
8326 * BufferView_pimpl.C: Alert fixes
8330 * tabular-old.C: remove unused table compat reading
8332 2003-03-29 John Levon <levon@movementarian.org>
8337 * lyx_cb.C: more Alert cleanups
8339 * lyxfunc.C: don't allow chktex if not latex document
8341 2003-03-29 John Levon <levon@movementarian.org>
8345 * buffer.C: warnings pushed down from support/,
8348 2003-03-29 John Levon <levon@movementarian.org>
8350 * lyxfunc.C: safety check for C-r (revert)
8352 2003-03-29 John Levon <levon@movementarian.org>
8355 * bufferlist.C: several UI fixes using Alert::prompt.
8356 Fix the pointless looping quit code. Fix stupid revert
8361 * lyx_cb.C: use Alert::prompt
8363 * lyx_main.C: remove a silly question
8365 * lyxfunc.C: remove a couple of silly questions,
8368 2003-03-28 John Levon <levon@movementarian.org>
8370 * text2.C: fix bug 974 (End on empty par)
8372 2003-03-28 John Levon <levon@movementarian.org>
8374 * BufferView_pimpl.C:
8376 * lfuns.h: remove do-nothing math greek lfuns
8378 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8380 * lyxgluelength.h (isValidGlueLength): add default arg on
8381 parameter 2. Remove default arg from friend in class.
8383 * lyxlength.h (isValidLength): add default arg on parameter 2.
8384 Remove default arg from friend in class.
8386 * text2.C (LyXText): adjust, initialize refresh_row.
8390 (insertParagraph): adjst
8391 (redoParagraphs): adjust
8392 (fullRebreak): adjust
8393 (updateCounters): adjust
8394 (deleteEmptyParagraphMechanism): first attempt at fixing a
8397 * text.C (top_y): adjust
8398 (setHeightOfRow): adjust
8400 (getRowNearY): adjust
8402 * lyxtext.h: include RowList.h
8403 (~LyXText): not needed anymore, deleted.
8404 (firstRow): modify for RowList
8405 (lastRow): new function
8406 Delete firstrow and lastrow class variables, add a Rowlist
8407 rowlist_ class variable.
8409 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8412 * RowList.C (insert): fix case where it == begin().
8414 2003-03-26 Angus Leeming <leeming@lyx.org>
8416 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8417 the thesaurus dialog.
8419 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8421 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8423 * RowList.[Ch]: new files
8425 * ParagraphList.C (erase): handle the case where it == begin
8428 2003-03-25 John Levon <levon@movementarian.org>
8432 * aspell.C: add new aspell support
8435 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8438 2003-03-25 Angus Leeming <leeming@lyx.org>
8441 * LyXAction.C (init): new LFUN_INSET_INSERT.
8443 * BufferView_pimpl.C (dispatch): split out part of the
8444 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8446 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8449 2003-03-25 Angus Leeming <leeming@lyx.org>
8451 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8453 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8456 * text3.C: remove useless row->height(0)
8458 2003-03-25 John Levon <levon@movementarian.org>
8462 * text3.C: rename the refreshing stuff to better names
8464 2003-03-24 John Levon <levon@movementarian.org>
8466 * BufferView_pimpl.h:
8467 * BufferView_pimpl.C: update layout choice on a mouse
8470 2003-03-23 John Levon <levon@movementarian.org>
8472 * Makefile.am: fix commandtags.h reference
8474 2003-03-22 John Levon <levon@movementarian.org>
8476 * BufferView_pimpl.C:
8481 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8483 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8486 * text.C: take the rtl methods out of line
8488 2003-03-21 André Pönitz <poenitz@gmx.net>
8490 * metricsinfo.[Ch]: new files containing structures to be passed around
8491 during the two-phase-drawing...
8493 2003-03-21 André Pönitz <poenitz@gmx.net>
8495 * lyxtextclass.C: read 'environment' tag.
8497 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8499 * text2.C (removeRow): fix bug 964
8501 2003-03-20 John Levon <levon@movementarian.org>
8505 * text2.C: paint cleanups. Inset::update() dropped font
8508 2003-03-19 John Levon <levon@movementarian.org>
8510 * lyxfunc.C: only fitcursor/markDirty if available()
8512 2003-03-19 John Levon <levon@movementarian.org>
8514 * commandtags.h: rename to ...
8516 * lfuns.h: ... this, and renumber / cleanup
8518 2003-03-19 John Levon <levon@movementarian.org>
8520 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8521 fit the cursor after an lfun
8525 * BufferView_pimpl.h:
8526 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8528 * LyXAction.C: layout-character should have ReadOnly
8530 * ParagraphParameters.C:
8532 * bufferview_funcs.C:
8539 * undo_funcs.C: changes from above
8541 2003-03-18 John Levon <levon@movementarian.org>
8543 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8544 remove it from update()
8546 * lyxfunc.C: update layout choice after an lfun
8548 * text3.C: remove extra updateLayoutChoice()s
8550 2003-03-18 John Levon <levon@movementarian.org>
8552 * text.C: top_y change means full repaint, fix
8553 a drawing bug with cursor movement
8555 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8559 * text2.C: anchor row on setCursor
8561 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8563 * lyxtext.h: remove almost all mutable keywords
8566 * text3.C: remove const keywords accordingly
8568 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8570 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8572 (TeXEnvironment): ditto
8575 2003-03-17 John Levon <levon@movementarian.org>
8577 * text.C (rowBreakPoint): remove attempt to fix displayed
8578 math insets inside a manual label
8580 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8582 * lyxtext.h: remove BufferView* as first arg from almost all class
8584 * other files: adjust.
8586 2003-03-17 John Levon <levon@movementarian.org>
8590 * text2.C: more paint cleanups
8592 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8595 * rowpainter.C: remove "smart" background painting code
8597 2003-03-16 John Levon <levon@movementarian.org>
8602 * text3.C: add helper functions for setting refresh_row/y
8604 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8606 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8607 newline inset which *can* get inserted in the pass_thru layouts.
8608 This is primarily for literate documents.
8610 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8612 * buffer.C: increment LYX_FORMAT to 223
8614 2003-03-14 André Pönitz <poenitz@gmx.net>
8616 * textclass.h: prepare for environment handling, ws changes
8617 * lyxlayout.C: read latexheader and latexfooter tags
8619 2003-03-14 John Levon <levon@movementarian.org>
8621 * text2.C: rewrite ::status() a bit
8623 2003-03-13 John Levon <levon@movementarian.org>
8625 * lyxtext.h: add some docs
8627 2003-03-13 John Levon <levon@movementarian.org>
8632 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8634 2003-03-13 John Levon <levon@movementarian.org>
8636 * text3.C: fix appendix redrawing
8638 2003-03-13 John Levon <levon@movementarian.org>
8640 * text.C (setHeightOfRow):
8642 * rowpainter.C: make appendix mark have the text
8643 "Appendix" so the user knows what it is
8646 * LColor.C: s/appendixline/appendix/ from above
8648 2003-03-13 John Levon <levon@movementarian.org>
8650 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8652 * text.C: fix a getChar(pos) bug properly
8654 2003-03-13 Angus Leeming <leeming@lyx.org>
8657 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8658 Probably only temporary. Let's see how things pan out.
8660 * BufferView.C (unlockInset):
8661 * BufferView_pimpl.C (fitCursor):
8662 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8664 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8665 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8667 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8668 new functions that convert ParagraphParameters to and from a string.
8670 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8671 BufferView::Pimpl's dispatch.
8672 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8674 2003-03-13 André Pönitz <poenitz@gmx.net>
8678 * factory.C: make it aware of InsetEnv
8680 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8682 * text2.C (setCursor): never ask for one past last
8683 (setCursor): add some debugging messages.
8685 * text.C (singleWidth): never ask for one past last
8686 (singleWidth): ditto
8688 (rightMargin): ditto
8689 (rowBreakPoint): ditto
8690 (setHeightOfRow): ditto
8691 (prepareToPrint): ditto
8693 * rowpainter.C (paintBackground): never ask for one past last
8694 (paintText): never ask for one past last
8696 * paragraph_pimpl.C (getChar): make the assert stricter, never
8697 allow the one past last pos to be taken
8699 * paragraph.C (getChar): ws changes only
8701 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8702 (numberOfSeparators): ditto
8703 (numberOfHfills): ditto
8705 2003-03-12 John Levon <levon@movementarian.org>
8711 * paragraph_funcs.C: fix per-buffer authorlists
8713 2003-03-12 John Levon <levon@movementarian.org>
8715 * text.C: fix newline in right address
8717 2003-03-12 Angus Leeming <leeming@lyx.org>
8719 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8720 duplicate those in LyXFunc::dispatch.
8724 * ToolbarDefaults.C:
8725 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8726 Add LFUN_FONTFREE_UPDATE.
8728 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8729 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8731 * bufferview_func.[Ch]: several new functions to facilliate
8732 transfer of data to and from the character dialog.
8734 2003-03-12 John Levon <levon@movementarian.org>
8739 * paragraph_funcs.C:
8740 * paragraph_pimpl.C:
8744 * text3.C: remove META_NEWLINE in favour of an inset
8747 * rowpainter.C: remove paintNewline (done by inset)
8749 2003-03-12 John Levon <levon@movementarian.org>
8751 * paragraph_pimpl.C: complain about bad getChar()s
8752 for a while at least
8754 2003-03-12 John Levon <levon@movementarian.org>
8757 * buffer.C: move paragraph read into a separate function,
8758 a little renaming to reflect that.
8761 * bufferparams.C: remove the author_ids map, not necessary now
8764 * factory.C: moved Buffer::readInset to here
8766 * paragraph_funcs.h:
8767 * paragraph_funcs.C: readParagraph free function moved from
8770 * tabular.C: name change
8772 2003-03-12 John Levon <levon@movementarian.org>
8775 * ParagraphParameters.C: move par params input to
8778 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8779 behave like a normal read from the stream wrt reading
8780 a line vs. a \\token
8782 2003-03-12 John Levon <levon@movementarian.org>
8785 * ParagraphParameters.h:
8786 * ParagraphParameters.C: move output code to a
8789 2003-03-12 John Levon <levon@movementarian.org>
8791 * BufferView.C (insertLyXFile):
8794 * tabular.C: use a parlist iterator for creating the
8797 2003-03-12 John Levon <levon@movementarian.org>
8799 * buffer.C: make current_change static local not
8802 2003-03-12 John Levon <levon@movementarian.org>
8804 * buffer.C: fix insertStringAsLines for change tracking
8806 2003-03-12 John Levon <levon@movementarian.org>
8813 * bufferparams.C: move author list into params. Rename some
8814 functions. Move the header reading into a separate token
8815 loop. Move the header token reading into BufferParams.
8817 2003-03-12 John Levon <levon@movementarian.org>
8819 * changes.C: put debug inside lyxerr.debugging() checks
8821 2003-03-11 André Pönitz <poenitz@gmx.net>
8823 * factory.C: make it aware of InsetHFill
8825 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8827 * buffer.C (latexParagraphs): move function from here...
8828 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8831 2003-03-10 Angus Leeming <leeming@lyx.org>
8833 * LyXAction.C (init): fix bug in poplating array with multiple entries
8834 with the same LFUN (spotted by JMarc).
8836 2003-03-10 John Levon <levon@movementarian.org>
8839 * text2.C: move getColumnNearX() near its
8842 2003-03-10 John Levon <levon@movementarian.org>
8844 * text.C: fix break before a minipage
8846 2003-03-10 John Levon <levon@movementarian.org>
8848 * text.C: fix the last commit
8850 2003-03-09 John Levon <levon@movementarian.org>
8854 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8855 bug 365 (don't break before insets unless needed). Don't
8856 return a value > last under any circumstances.
8858 2003-03-09 Angus Leeming <leeming@lyx.org>
8860 * BufferView_pimpl.C (trackChanges, dispatch): call
8861 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8863 2003-03-09 Angus Leeming <leeming@lyx.org>
8865 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8866 than Dialogs::showAboutlyx().
8868 2003-03-09 Angus Leeming <leeming@lyx.org>
8870 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8871 than Dialogs::showTabularCreate().
8873 2003-03-09 John Levon <levon@movementarian.org>
8877 * text2.C: 3rd arg to nextBreakPoint was always the same.
8880 2003-03-08 John Levon <levon@movementarian.org>
8887 * text2.C: Remove the "main" bit from the "main body"
8890 2003-03-08 John Levon <levon@movementarian.org>
8892 * text.C (leftMargin): The left margin of an empty
8893 manual label paragraph should not include the label width
8896 * text.C (prepareToPrint): don't attempt to measure hfills
8897 for empty manual label paragraphs - the answer should be 0
8899 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8901 * CutAndPaste.C: remove commented code and reindent.
8903 2003-03-08 John Levon <levon@movementarian.org>
8906 * lyxfunc.C: move reloadBuffer()
8909 * BufferView.C: to here
8911 * lyxvc.C: add comment
8914 * vc-backend.C: call bv->reload() to avoid
8915 getStatus() check on MENURELOAD
8917 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8919 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8920 to an old format .dep file.
8922 2003-03-07 Angus Leeming <leeming@lyx.org>
8924 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8925 when the LFUN_MOUSE_RELEASE should have been handled by
8926 inset->localDispatch.
8928 2003-03-07 Angus Leeming <leeming@lyx.org>
8930 * BufferView_pimpl.C (dispatch):
8931 * LyXAction.C (init):
8932 * ToolbarDefaults.C (init):
8934 * lyxfunc.C (getStatus):
8935 remove LFUN_INSET_GRAPHICS.
8937 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8939 2003-03-07 Angus Leeming <leeming@lyx.org>
8942 * LyXAction.C (init):
8943 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8945 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8948 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8950 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8951 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8953 2003-03-07 Angus Leeming <leeming@lyx.org>
8955 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8958 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8960 * ParagraphList.C (front): new function
8963 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8965 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8966 and top_row_offset_. removed var first_y.
8968 * text2.C (LyXText, removeRow):
8970 * BufferView_pimpl.C:
8971 use these methods instead of using first_y
8973 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8975 * text2.C (pasteSelection): adjust for checkPastePossible
8977 * CutAndPaste.C: remove Paragraph * buf and replace with
8978 ParagraphList paragraphs.
8979 (DeleteBuffer): delete
8980 (cutSelection): change the tc type to textclass_type
8981 (copySelection): change the tc type to textclass_type
8982 (copySelection): adjust for ParagraphList
8983 (pasteSelection): change the tc type to textclass_type
8984 (pasteSelection): adjust for Paragraphlist
8985 (nrOfParagraphs): simplify for ParagraphList
8986 (checkPastePossible): simplify for ParagraphList
8987 (checkPastePossible): remove unused arg
8989 * ParagraphList.C (insert): handle the case where there are no
8992 * CutAndPaste.h: make CutAndPaste a namespace.
8994 * text3.C (dispatch): adjust
8996 * text.C (breakParagraph): add a ParagraphList as arg
8998 * paragraph_funcs.C (breakParagraph): change to take a
8999 BufferParams and a ParagraphList as args.
9000 (breakParagraphConservative): ditto
9001 (mergeParagraph): ditto
9002 (TeXDeeper): add a ParagraphList arg
9003 (TeXEnvironment): ditto
9006 * buffer.C (readLyXformat2): adjust
9007 (insertStringAsLines): adjust
9008 (latexParagraphs): adjust
9010 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9011 (cutSelection): adjust
9012 (pasteSelection): adjust
9014 * BufferView_pimpl.C (insertInset): adjust
9016 2003-03-05 Angus Leeming <leeming@lyx.org>
9019 * LyXAction.C (init):
9020 * BufferView_pimpl.C (dispatch):
9021 * lyxfunc.C (getStatus):
9022 remove LFUN_CHILD_INSERT.
9024 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9026 2003-03-05 Angus Leeming <leeming@lyx.org>
9029 * LyXAction.C (init):
9030 * src/factory.C (createInset):
9031 * lyxfunc.C (getStatus):
9032 * text3.C (dispatch):
9033 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9035 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9037 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9039 * ParagraphList.C (insert): handle insert right before end()
9040 (erase): fix cases where it can be first or last paragraph.
9042 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9044 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9045 Paragraph::next and Paragraph::previous
9048 * text.C (breakParagraph): adjust
9050 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9051 BufferParams& as arg.
9052 (breakParagraph): use ParagraphList::insert
9053 (breakParagraphConservative): take a Buffer* instead of a
9054 BufferParams& as arg.
9055 (breakParagraphConservative): use ParagraphList::insert.
9057 * buffer.C (insertStringAsLines): un-const it
9058 (insertStringAsLines): adjust
9060 * ParagraphList.C (insert): new function
9062 * CutAndPaste.C (pasteSelection): adjust
9064 * text.C (backspace): adjust
9066 * tabular.C (SetMultiColumn): adjust
9068 * CutAndPaste.C (cutSelection): adjust
9069 (pasteSelection): adjust
9071 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9072 Buffer const * as arg
9074 * ParagraphList.C (erase): new function
9075 * paragraph_funcs.C (mergeParagraph): use it
9076 (mergeParagraph): make it take a Buffer* instead of a
9077 BufferParams* as arg
9079 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9081 (breakParagraphConservative): ditto
9083 * paragraph.h: remove the breakParagraph friend
9085 * paragraph.C (eraseIntern): new function
9086 (setChange): new function
9088 * paragraph_funcs.C (mergeParagraph): make it take a
9089 ParagraphList::iterator instead of a Paragraph *, adjust
9092 * paragraph.h: move an #endif so that the change tracking stuff
9093 also works in the NO_NEXT case.
9095 2003-03-04 Angus Leeming <leeming@lyx.org>
9098 * LyXAction.C: new LFUN_INSET_MODIFY.
9100 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9101 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9103 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9105 * several files: ws changes only
9107 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9108 (TeXEnvironment): ditto
9111 * buffer.C (makeLaTeXFile): adjust
9112 (latexParagraphs): make it take ParagraphList::iterator as args
9114 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9116 * buffer.C (latexParagraphs): adjust
9118 * paragraph.C (TeXOnePar): move function...
9119 (optArgInset): move function...
9120 (TeXEnvironment): move function...
9121 * paragraph_pimpl.C (TeXDeeper): move function...
9122 * paragraph_funcs.C: ...here
9124 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9126 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9128 * buffer.C (readInset): remove compability code for old Figure and
9131 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9133 * buffer.C: ws changes
9136 * BufferView_pimpl.C: ditto
9139 * bufferlist.h: ditto
9143 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9145 * converter.[Ch]: split into itself +
9148 * Makefile.am: += graph.[Ch] + format.[Ch]
9155 * lyxrc.C: added #include "format.h"
9157 2003-02-27 Angus Leeming <leeming@lyx.org>
9159 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9162 * factory.C (createInset): add "label" to the factory.
9164 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9165 string and do no more.
9167 2003-02-27 Angus Leeming <leeming@lyx.org>
9170 * LyXAction.C (init):
9171 * factory.C (createInset):
9172 * BufferView_pimpl.C (dispatch):
9173 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9175 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9177 * lyxfunc.C (dispatch):
9178 * text3.C (dispatch): pass name to params2string.
9180 2003-02-26 Angus Leeming <leeming@lyx.org>
9182 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9184 Rearrange the ~includes. Strip out the unnecessary ones.
9186 * factory.C (createInset): reformat.
9187 create new insets for the various LFUN_XYZ_APPLY lfuns.
9189 2003-02-26 John Levon <levon@movementarian.org>
9192 * lyxrow.C: add isParStart,isParEnd helpers
9194 * paragraph.h: make isInserted/DeletedText take refs
9196 * paragraph_funcs.h:
9197 * paragraph_funcs.C: remove #if 0'd code
9202 * text.C: use lyxrow helpers above.
9203 Move draw and paint routines to RowPainter.
9204 Make several methods use refs not pointers.
9205 Make backgroundColor() const.
9206 Add markChangeInDraw(), isInInset().
9207 Merge changeRegionCase into changeCase.
9208 Make workWidth() shouldn't-happen code into an Assert.
9211 * rowpainter.C: new class for painting a row.
9214 * vspace.C: make inPixels take a ref
9216 2003-02-26 Angus Leeming <leeming@lyx.org>
9218 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9221 2003-02-25 John Levon <levon@movementarian.org>
9223 * ispell.C: give the forked command a more accurate name
9225 2003-02-22 John Levon <levon@movementarian.org>
9228 * toc.C: make TocItem store an id not a Paragraph *
9231 2003-02-21 Angus Leeming <leeming@lyx.org>
9233 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9234 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9235 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9236 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9237 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9238 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9240 * BufferView_pimpl.C (dispatch):
9241 * LyXAction.C (init):
9242 * factory.C (createInset):
9243 * lyxfunc.C (getStatus, dispatch):
9244 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9246 2003-02-21 Angus Leeming <leeming@lyx.org>
9248 * BufferView_pimpl.C (MenuInsertLyXFile):
9249 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9250 * lyxfunc.C (menuNew, open, doImport):
9251 no longer pass a LyXView & to fileDlg.
9253 2003-02-21 Angus Leeming <leeming@lyx.org>
9255 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9256 * LyXAction.C: change, BIBKEY to BIBITEM.
9257 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9258 Change InsetBibKey to InsetBibitem.
9259 Change BIBKEY_CODE to BIBITEM_CODE.
9260 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9261 * factory.C: replace insetbib.h with insetbibitem.h.
9262 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9263 * paragraph.C: replace insetbib.h with insetbibitem.h.
9264 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9265 Change bibkey() to bibitem().
9266 * text.C: remove insetbib.h.
9267 * text2.C: replace insetbib.h with insetbibitem.h.
9268 change bibkey() to bibitem().
9269 * text3.C: remove insetbib.h.
9270 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9272 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9274 * lyxrc.C (output): enclose user email in quotes (in case there are
9277 2003-02-18 John Levon <levon@movementarian.org>
9279 * buffer.h: add std::
9281 2003-02-17 John Levon <levon@movementarian.org>
9287 * pspell.C: reworking. Especially in ispell, a large
9288 number of clean ups and bug fixes.
9290 * lyxfunc.C: fix revert to behave sensibly
9292 2003-02-17 André Pönitz <poenitz@gmx.net>
9295 * commandtags.h: new LFUN_INSERT_BIBKEY
9305 * paragraph_func.C: remove special bibkey handling
9307 2003-02-17 John Levon <levon@movementarian.org>
9309 * text.C (Delete): fix case where delete at the end of
9310 the very first paragraph would not merge the pars
9312 2003-02-17 John Levon <levon@movementarian.org>
9314 * lyxrow.C: fix lastPrintablePos()
9316 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9318 * bufferparams.C (writeLaTeX): add a std:here
9320 * buffer.C: and remove a using directive there
9322 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9324 * buffer.C (makeLaTeXFile): move the code that generates the
9327 * bufferparams.C (writeLaTeX): ... in this new method
9329 * LaTeXFeatures.C (getEncodingSet): make const
9330 (getLanguages): make const
9332 * MenuBackend.C (binding): returns the binding associated to this
9334 (add): sets the status of each item by calling getStatus. Adds
9336 (read): add support for OptSubMenu
9337 (expand): remove extra separator at the end of expanded menu
9339 2003-02-15 John Levon <levon@movementarian.org>
9342 * BufferView_pimpl.C:
9344 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9345 inset code that had no actual effect. Remove unneeded status
9348 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9350 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9353 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9355 * text.C (drawLengthMarker): also draw an arrow marker for
9356 symbolic lengths (medskip...)
9358 2003-02-14 John Levon <levon@movementarian.org>
9361 * tabular.C: better method names
9363 2003-02-14 John Levon <levon@movementarian.org>
9365 * BufferView_pimpl.C:
9370 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9371 it's a more accurate name. Remove some pointless uses.
9373 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9375 * text2.C (LyXText): change order of initilizers to shut off
9378 2003-02-14 John Levon <levon@movementarian.org>
9380 * buffer.C: use ParIterator for getParFromID()
9384 * paragraph_pimpl.h:
9385 * paragraph_pimpl.C: remove unused getParFromID()
9387 2003-02-14 John Levon <levon@movementarian.org>
9389 * buffer.C: remove some very old #if 0'd parse code
9391 2003-02-13 John Levon <levon@movementarian.org>
9395 * text2.C: move hfillExpansion(), numberOfSeparators(),
9396 rowLast(), rowLastPrintable(), numberofHfills(),
9397 numberOfLabelHfills() ...
9400 * lyxrow.C: ... to member functions here.
9405 * text.C: remove LyXText::beginningOfMainBody(), and call
9406 p->beginningOfMainBody() directly. Move the check for
9407 LABEL_MANUAL into the latter.
9414 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9420 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9421 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9423 2003-02-13 John Levon <levon@movementarian.org>
9425 * CutAndPaste.C: remove debug
9427 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9429 * paragraph.C (asString): remove two unused variables
9431 * lyxtextclass.C (readTitleType):
9433 (LyXTextClass): handle new members titletype_ and titlename_
9435 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9437 2003-02-09 John Levon <levon@movementarian.org>
9440 * buffer.C: replace hand-coded list with a map for the dep clean
9442 2003-02-08 John Levon <levon@movementarian.org>
9444 * LaTeX.C: consolidate code into showRunMessage() helper
9446 2003-02-08 John Levon <levon@movementarian.org>
9451 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9452 and pass the size in explicitly
9454 * BufferView_pimpl.h:
9455 * BufferView_pimpl.C:
9457 * BufferView.C: add getCurrentChange()
9459 * BufferView_pimpl.h:
9460 * BufferView_pimpl.C: handle change lfuns
9462 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9463 for changes. Mark pasted paragraphs as new.
9465 * support/lyxtime.h:
9466 * support/lyxtime.C:
9467 * DepTable.C: abstract time_t as lyx::time_type
9470 * LColor.C: add colours for new text, deleted text, changebars
9472 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9473 package use "usenames" option.
9477 * LyXAction.C: add change lfuns
9481 * author.C: author handling
9484 * buffer.C: add a per-buffer author list, with first entry as
9485 current author. Handle new .lyx tokens for change tracking. Output
9486 author list to .lyx file. Output dvipost stuff to .tex preamble.
9487 Bump lyx format to 222.
9490 * bufferlist.C: add setCurrentAuthor() to reset current author details
9494 * bufferparams.C: add param for tracking
9496 * bufferview_funcs.C: output change info in minibuffer
9500 * changes.C: add change-tracking structure
9503 * debug.C: add CHANGES debug flag
9506 * lyxfind.C: add code for finding the next change piece
9509 * lyxrc.C: add user_name and user_email
9512 * lyxrow.C: add a metric for the top of the text line
9515 * text.C: implement accept/rejectChange()
9518 * text.C: paint changebars. Paint new/deleted text in the chosen
9519 colours. Strike through deleted text.
9523 * paragraph_pimpl.h:
9524 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9525 in the current change to the insert functions. Rework erase to
9526 mark text as deleted, adding an eraseIntern() and a range-based
9527 erase(). Implement per-paragraph change lookup and
9530 * paragraph_funcs.C: Fixup paste for change tracking.
9532 * tabular.C: mark added row/columns as new.
9534 * text.C: fix rowLast() to never return -1. Don't allow
9535 spellchecking of deleted text. Track transpose changes. Don't
9536 allow paragraph break or merge where appropriate.
9538 * text2.C: leave cursor at end of selection after a cut.
9540 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9542 * text.C (getLengthMarkerHeight):
9543 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9544 visible on screen too.
9546 2003-02-07 John Levon <levon@movementarian.org>
9548 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9550 2003-02-05 Angus Leeming <leeming@lyx.org>
9552 * lyxserver.C (read_ready): revert my patch of 11 September last year
9553 as it sends PC cpu through the roof. Presumably this means that
9554 the lyxserver will no longer run on an Alpha...
9556 2003-01-30 Angus Leeming <leeming@lyx.org>
9558 * factory.C (createInset): create an InsetCommandParam of type "index"
9559 and use it to 'do the right thing'.
9561 * text2.C (getStringToIndex): ensure that cursor position is always
9562 reset to the reset_cursor position.
9564 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9566 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9569 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9573 * lyxfunc.C: Output messages with identical spelling, punctuation,
9576 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9578 * MenuBackend.C (expandFormats): List only viewable export formats
9581 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9584 * lyxfunc.C (getStatus): Make sure that formats other than
9585 "fax" can also be disabled
9587 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9589 * text3.C (dispatch): put the lfuns that insert insets in 3
9590 groups, and call doInsertInset with appropriate arguments.
9591 (doInsertInset): new function, that creates an inset and inserts
9592 it according to some boolean parameters.
9594 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9596 * buffer.C (readFile): remember to pass on 'par' when calling
9597 readFile recursively.
9599 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9601 * MenuBackend.C (expandFormats): add "..." to import formats.
9603 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9605 * paragraph.C (asString): Remove XForms RTL hacks.
9607 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9608 * buffer.C: fix typo
9610 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9612 * Makefile.am (LIBS): delete var
9613 (lyx_LDADD): add @LIBS@ here instead.
9615 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9617 * Clarify the meaning of "wheel mouse jump"
9619 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9621 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9624 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9626 * importer.C (Loaders): do not preallocate 3 elements in the
9627 vector, since one ends up with 6 elements otherwise
9629 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9631 * DepTable.C (write): write the file name as last element of the
9632 .dep file (because it may contain spaces)
9633 (read): read info in the right order
9635 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9637 * paragraph_pimpl.C (simpleTeXBlanks):
9638 (simpleTeXSpecialChars):
9639 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9641 * tabular.C (latex): add some missing case statements. Reindent.
9643 * MenuBackend.C (expandToc): remove unused variable.
9645 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9654 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9657 2003-01-05 John Levon <levon@movementarian.org>
9660 * BufferView.C: add getEncoding()
9663 * kbsequence.C: do not store last keypress
9666 * lyxfunc.C: store last keypress here instead. Pass encoding
9669 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9671 * lyx_main.C (init): remove annoying error message when following
9672 symbolic links (bug #780)
9674 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9676 * text.C (insertChar):
9677 * lyxrc.C (getDescription): remove extra spaces
9679 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9681 * lyxrc.C (getDescription): remove extra spaces
9683 2002-12-20 John Levon <levon@movementarian.org>
9685 * text3.C: hack fix for page up/down across tall rows
9687 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9689 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9692 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9694 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9695 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9696 thesaurus is not compiled in
9698 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9700 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9702 2002-12-16 Angus Leeming <leeming@lyx.org>
9705 * lyx_main.C (init): remove override_x_deadkeys stuff.
9707 2002-12-12 John Levon <levon@movementarian.org>
9709 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9710 insert. Only remove shift modifier under strict
9713 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9715 * MenuBackend.C (expandToc): fix crash.
9717 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9719 * MenuBackend.C (expandToc): gettext on float names.
9721 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9723 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9724 implement bool empty() [bug 490]
9726 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9728 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9730 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9732 * several files: ws changes
9734 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9736 * text2.C (setCounter): clean up a bit, use boost.format.
9737 (updateCounters): initialize par upon declaration.
9739 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9740 if the layout exists. We do not just store the layout any more.
9741 (SwitchLayoutsBetweenClasses): use boost.format
9743 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9745 * converter.C (convert): if from and to files are the same, use a
9746 temporary files as intermediary
9748 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9751 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9753 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9755 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9757 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9759 * tabular.C (asciiPrintCell): use string(size, char) instead of
9762 * sgml.C (openTag): fix order of arguments to string constructor
9765 * lyxfunc.C (dispatch): use boost.format
9767 * lots of files: change "c" -> 'c'
9769 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9771 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9773 2002-11-25 Angus Leeming <leeming@lyx.org>
9775 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9777 * lyx_main.C (init): compile fix.
9779 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9781 * lyx_cb.C (start): boost.formatify
9782 do not include <iostream>
9784 * lengthcommon.C: ws only
9786 * boost-inst.C,BoostFormat.h: add more explict instantations
9788 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9790 * lots of files: handle USE_BOOST_FORMAT
9792 2002-11-21 John Levon <levon@movementarian.org>
9794 * pspell.C: fix compile
9796 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9798 * lyxfunc.C (dispatch): use boost::format
9802 * lyxfont.C (stateText): use boost::format
9804 * lyx_main.C (LyX): use boost::format
9806 (queryUserLyXDir): ditto
9809 (typedef boost::function): use the recommened syntax.
9811 * importer.C (Import): use boost::format
9813 * debug.C (showLevel): use boost::format
9815 * converter.C (view): use boost::format
9820 * bufferview_funcs.C (currentState): use boost::format
9822 * bufferlist.C (emergencyWrite): use boost::format
9824 * buffer.C (readLyXformat2): use boost::format
9825 (parseSingleLyXformat2Token): ditto
9827 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9829 * LaTeX.C (run): use boost::format
9831 * Chktex.C (scanLogFile): use boost::format
9833 * BufferView_pimpl.C (savePosition): use boost::format
9834 (restorePosition): ditto
9835 (MenuInsertLyXFile): ditto
9837 * BoostFormat.h: help file for explicit instation.
9839 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9841 * tabular.C (latex): Support for block alignment in fixed width
9844 2002-11-17 John Levon <levon@movementarian.org>
9846 * BufferView_pimpl.C:
9848 * lyxfunc.C: split filedialog into open/save
9850 2002-11-08 Juergen Vigna <jug@sad.it>
9852 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9853 by my last patch (hopefully).
9855 2002-11-08 John Levon <levon@movementarian.org>
9864 * toc.C: ParConstIterator, and use it (from Lars)
9866 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9868 * lyxtextclass.[Ch]: revise and add doxygen comments
9870 2002-11-07 John Levon <levon@movementarian.org>
9872 * text.C: fix progress value for spellchecker
9874 * toc.C: fix navigate menu for insetwrap inside minipage
9876 * paragraph_funcs.C: added FIXME for suspect code
9878 2002-11-07 John Levon <levon@movementarian.org>
9880 * BufferView_pimpl.C: fix redrawing of insets
9883 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9885 * text2.C (updateCounters): fix bug 668
9887 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9889 * text3.C (dispatch): Do not make the buffer dirty when moving the
9892 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9894 * vc-backend.C: STRCONV
9897 * text2.C (setCounter): STRCONV
9899 * paragraph.C (asString): STRCONV
9901 * lyxlength.C (asString): STRCONV
9902 (asLatexString): ditto
9904 * lyxgluelength.C (asString): STRCONV
9905 (asLatexString): ditto
9907 * lyxfunc.C (dispatch): STRCONV
9910 * lyxfont.C (stateText): STRCONV
9912 * importer.C (Import): STRCONV
9914 * counters.C (labelItem): STRCONV
9915 (numberLabel): ditto
9916 (numberLabel): remove unused ostringstream o
9921 * bufferview_funcs.C (currentState): STRCONV
9923 * buffer.C (readFile): STRCONV
9924 (asciiParagraph): ditto
9925 (makeLaTeXFile): ditto
9927 * Spacing.C (writeEnvirBegin): STRCONV
9929 * LaTeXFeatures.C (getLanguages): STRCONV
9930 (getPackages): ditto
9932 (getBabelOptions): ditto
9933 (getTClassPreamble): ditto
9934 (getLyXSGMLEntities): ditto
9935 (getIncludedFiles): ditto
9939 (scanAuxFile): ditto
9942 * LString.h: add the STRCONV macros
9944 * BufferView_pimpl.C (savePosition): STRCONV
9945 (restorePosition): ditto
9946 (MenuInsertLyXFile): ditto
9948 * vc-backend.C (scanMaster): change from submatch[...] to
9951 * funcrequest.C: include config.h
9953 * factory.C: include config.h
9955 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9957 * box.C: include config.h
9959 * LaTeX.C (scanAuxFile): change from submatch[...] to
9963 2002-10-25 Angus Leeming <leeming@lyx.org>
9965 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9967 * ispell.[Ch] (setError): new method.
9968 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9969 Use setError() insetead of goto END.
9971 * lyx_cb.C (AutoSave): move out child process into new class
9974 2002-10-30 John Levon <levon@movementarian.org>
9976 * text3.C: make start appendix undoable
9978 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9980 * lyxlength.C (inPixels): Fix returned value.
9982 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9985 2002-10-24 Angus Leeming <leeming@lyx.org>
9987 * lyxgluelength.h: no need to forward declare BufferParams
9988 or BufferView, so don't.
9990 2002-10-21 John Levon <levon@movementarian.org>
9992 * BufferView.C: menuUndo ->undo, redo
9994 * BufferView.h: document, remove dead, make some methods private
9996 * paragraph_funcs.h:
9997 * paragraph_funcs.C:
9998 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10003 * sgml.C: move sgml open/close tag into sgml.C
10005 * bufferview_funcs.h: unused prototype
10008 * lyxfunc.C: remove unused
10011 * text.C: remove unused
10013 2002-10-21 John Levon <levon@movementarian.org>
10017 * BufferView_pimpl.h:
10018 * BufferView_pimpl.C: fix mouse wheel handling based on
10019 patch from Darren Freeman
10021 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10023 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10025 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10027 * lyxlength.C (inPixels): Fix hanfling of negative length.
10028 Fix LyXLength::MU case.
10030 2002-10-16 John Levon <levon@movementarian.org>
10032 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10034 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10036 * converter.C (view): add support for $$i (file name) and $$p
10037 (file path) for the viewer command. If $$i is not specified, then
10038 it is appended to the command (for compatibility with old syntax)
10040 2002-10-14 Juergen Vigna <jug@sad.it>
10042 * undo_funcs.C (textHandleUndo): alter the order in which the
10043 new undopar is added to the LyXText, as we have to set first
10044 the right prev/next and then add it as otherwise the rebuild of
10045 LyXText is not correct. Also reset the cursor to the right paragraph,
10046 with this IMO we could remove the hack in "redoParagraphs()".
10048 2002-10-09 Angus Leeming <leeming@lyx.org>
10050 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10051 to turn off an optimisation if a new inset is to be inserted.
10053 2002-10-11 André Pönitz <poenitz@gmx.net>
10055 * lyxtext.h: make some functions public to allow access
10056 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10058 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10060 * text3.C (dispatch): when changing layout, avoid an infinite loop
10063 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10065 * lyxrc.C (read): treat a viewer or converter command of "none" as
10068 * MenuBackend.C (expandFormats): for an update, also allow the
10069 formats that are not viewable
10071 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10072 script if it is newer than the lyxrc.defaults in user directory
10074 2002-10-07 André Pönitz <poenitz@gmx.net>
10076 * text.C: Vitaly Lipatov's small i18n fix
10078 2002-09-25 Angus Leeming <leeming@lyx.org>
10080 * ispell.h: doxygen fix.
10082 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10084 * buffer.h (readFile): Add a new argument to the method, to allow
10085 reading of old-format templates.
10087 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10089 * toc.C (getTocList): Get TOC from InsetWrap.
10091 2002-09-16 John Levon <levon@movementarian.org>
10093 * lyxfunc.C: check tabular for cut/copy too
10095 2002-09-12 John Levon <levon@movementarian.org>
10097 * LyXAction.C: tidy
10100 * factory.C: add header
10102 * paragraph_funcs.h:
10103 * paragraph_funcs.C: cleanup
10105 2002-09-11 John Levon <levon@movementarian.org>
10107 * PrinterParams.h: odd/even default to true
10109 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10111 * PrinterParams.h: update printer parameters for new xforms dialog
10113 2002-09-11 Angus Leeming <leeming@lyx.org>
10115 * lyxserver.C (read_ready): re-write to make it more transparent
10116 and to make it work in coherent fashion under Tru64 Unix.
10118 2002-09-11 André Pönitz <poenitz@gmx.net>
10122 * text3.C: implement LFUN_WORDSEL
10124 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10126 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10127 make floatlist_ a boost::shared_ptr<FloatList>
10129 * lyxtextclass.C: include FloatList.h
10130 (LyXTextClass): initialize floatlist_
10131 (TextClassTags): add TC_NOFLOAT
10132 (Read): match "nofloat" to TC_NOFLOAT and use it.
10133 (readFloat): modify call to floatlist_
10137 * FloatList.[Ch] (FloatList): remove commented out float
10139 (erase): new function
10141 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10143 * MenuBackend.C (expandToc): fix crash when there is no document
10146 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10148 * many files: Add insetwrap.
10150 2002-09-09 John Levon <levon@movementarian.org>
10152 * text2.C: remove confusing and awkward depth wraparound
10154 2002-09-09 John Levon <levon@movementarian.org>
10156 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10159 * buffer.C: remove getIncludeonlyList()
10162 * lyxfunc.C: remove headers
10164 2002-09-09 Juergen Vigna <jug@sad.it>
10166 * text.C (getColumnNearX): fix form Michael this is most
10167 probably a cut&paste bug.
10169 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10171 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10173 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10174 references, ws changes.
10176 * text2.C (init): update counters after init
10177 (insertParagraph): no need to set counter on idividual paragraphs.
10178 (setCounter): access the counters object in the textclass object
10179 on in the buffer object.
10180 (updateCounters): ditto
10182 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10183 shared_ptr<Counters> to avoid loading counters.h in all
10185 (LyXTextClass): initialize ctrs_
10186 (TextClassTags): add TC_COUNTER, and ...
10187 (Read): use it here.
10188 (CounterTags): new tags
10189 (readCounter): new function
10190 (counters): new funtion
10191 (defaultLayoutName): return a const reference
10193 * counters.C (Counters): remove contructor
10194 (newCounter): remove a couple of unneeded statements.
10195 (newCounter): simplify a bit.
10196 (numberLabel): some small formatting changes.
10198 * buffer.[Ch]: remove all traces of counters, move the Counters
10199 object to the LyXTextClass.
10201 2002-09-06 Alain Castera <castera@in2p3.fr>
10203 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10204 package to set the horizontal alignment on fixed width columns.
10207 * lyx_sty.h: added tabularnewline macro def.
10209 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10211 2002-09-06 John Levon <levon@movementarian.org>
10213 * LyXAction.C: tooltips for sub/superscript
10215 * MenuBackend.C: a bit more verbose
10217 * lyxfunc.C: tiny clean
10219 * undo_funcs.C: document undo_frozen
10221 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10223 * counters.C (Counters): add missing algorithm counter.
10225 * text2.C (setCounter): lookup the counter with layouts latexname
10226 instead of by section number.
10227 (setCounter): use a hackish way to lookup the correct enum
10229 a float name->type change
10230 reset enum couners with counter name directly instead of depth value.
10232 * counters.C (Counters): remove the push_backs, change to use the
10233 float type not the float name.
10234 (labelItem): remove unused string, float name->type change
10236 * counters.h: don't include vector, loose the enums and sects vectors
10238 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10240 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10241 (Read): add float->TC_FLOAT to textclassTags
10242 (Read): and handle it in the switch
10243 (readFloat): new function
10245 * FloatList.C (FloatList): comment out the hardcoded float
10248 * lyxlayout.h: ws change.
10250 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10252 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10254 2002-09-03 Angus Leeming <leeming@lyx.org>
10256 * BufferView_pimpl.h: qualified name is not allowed in member
10257 declaration: WorkArea & Pimpl::workarea() const;
10259 * factory.C: added using std::endl directive.
10261 * text3.C: added using std::find and std::vector directives.
10263 2002-08-29 André Pönitz <poenitz@gmx.net>
10266 * text2.C: remove unused member number_of_rows
10269 * BufferView2.C: remove file, move contents to...
10270 * BufferView.C: ... here
10272 * BufferView_pimpl.C:
10273 * factory.C: move more inset creation to factory
10275 * vspace.C: avoid direct usage of LyXText, ws changes
10278 don't provide direct access to WorkArea, use two simple
10279 acessors haveSelction() and workHeight() instead
10282 2002-08-29 John Levon <levon@movementarian.org>
10284 * BufferView_pimpl.C (dispatch): do not continue when
10287 2002-08-28 André Pönitz <poenitz@gmx.net>
10289 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10292 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10294 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10296 * buffer.C: increment LYX_FORMAT to 221
10298 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10299 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10301 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10303 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10305 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10307 * factory.C (createInset): use LyXTextClass::floats
10309 * MenuBackend.C (expandFloatListInsert):
10310 (expandFloatInsert):
10313 * text2.C (setCounter):
10315 * LaTeXFeatures.C (useFloat):
10316 (getFloatDefinitions):
10318 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10320 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10321 floatlist_, with accessor floats().
10323 * FloatList.h: remove global FloatList
10325 2002-08-26 André Pönitz <poenitz@gmx.net>
10327 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10331 * BufferView_pimpl.C:
10332 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10334 2002-08-25 John Levon <levon@movementarian.org>
10336 * LyXAction.C: fix margin note description
10338 2002-08-24 John Levon <levon@movementarian.org>
10342 * bufferview_funcs.C:
10344 * undo_funcs.C: cleanups
10346 * lyxfunc.C: disable CUT/COPY when no selection
10348 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10350 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10351 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10353 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10354 Add backward compatibility to "mono", "gray" and "no".
10356 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10358 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10359 (and file_format >= 200).
10361 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10363 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10365 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10367 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10369 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10371 * BufferView_pimpl.C:
10378 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10379 inset and code to make it work with the paragraph code. The inset
10380 can be anywhere in the paragraph, but will only do the expected
10381 thing in LaTeX if the layout file contains the parameter line
10383 (or more generally, a nonzero value) for that layout.
10385 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10387 * paragraph.h: remove the declaration of undefined counters class
10390 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10392 * text2.C (setCounter): fixed enumeration mis-count as reported by
10393 Dr. Richard Hawkins.
10395 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10397 * paragraph_funcs.h: remove some unneeded includes
10399 * text.C (backspace): pasteParagraph now in global scipe
10401 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10402 (pasteSelection): ditto
10404 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10405 * paragraph_funcs.C (pasteParagraph): ... here
10407 2002-08-20 André Pönitz <poenitz@gmx.net>
10409 * commandtags.h: new LFUNs for swapping/copying table row/colums
10412 * lyxfunc.C: support for new lfuns
10414 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10417 * buffer.[Ch]: remove NO_COMPABILITY stuff
10419 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10421 * boost.C (throw_exception): new file, with helper function for
10422 boost compiled without exceptions.
10427 * ParameterStruct.h:
10428 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10430 * bufferlist.C (emergencyWriteAll): use boost bind
10432 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10434 * text.C: include paragraph_funcs.h
10435 (breakParagraph): breakParagraph is now in global scope
10437 * paragraph_funcs.[Ch]: new files
10439 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10442 * buffer.C: include paragraph_funcs.h
10443 (insertStringAsLines): breakParagraph is now in global scope
10445 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10448 * CutAndPaste.C: include paragraph_funcs.h
10449 (cutSelection): breakParagraphConservative is now in global scope
10450 (pasteSelection): ditto
10452 * buffer.h: declare oprator== and operator!= for
10453 Buffer::inset_iterator
10455 * bufferlist.C (emergencyWrite): don't use fmt(...)
10457 * text3.C: add using std::endl
10459 * BufferView.C (moveCursorUpdate): remove default arg
10461 2002-08-20 André Pönitz <poenitz@gmx.net>
10463 * buffer.[Ch]: move inline functions to .C
10466 * BufferView_pimpl.C:
10468 * buffer.[Ch]: use improved inset_iterator
10471 * paragraph.[Ch]: write one paragraph at a time
10473 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10475 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10476 style if style is not specified.
10478 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10480 * text2.C (setCounter): when searching for right label for a
10481 caption, make sure to recurse to parent insets (so that a caption
10482 in a minipage in a figure float works) (bug #568)
10484 2002-08-20 André Pönitz <poenitz@gmx.net>
10486 * text3.C: new file for LyXText::dispatch() and helpers
10488 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10490 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10492 2002-08-19 André Pönitz <poenitz@gmx.net>
10495 * text.C: new LyXText::dispatch()
10497 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10499 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10501 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10503 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10506 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10508 * Makefile.am: use $(variables) instead of @substitutions@
10510 2002-08-15 André Pönitz <poenitz@gmx.net>
10513 * BufferView_pimpl.C: streamlining mathed <-> outer world
10517 * LyXAction.C: remove unused LFUN_MATH
10519 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10521 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10523 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10525 * paragraph.C (Paragraph): reformat a bit
10526 (cutIntoMinibuffer): use builtin InsetList function instad of
10530 * buffer.C: include boost/bind.hpp, add using std::for_each
10531 (writeFileAscii): use ParagraphList iterators
10532 (validate): use for_each for validate traversal of paragraphs
10533 (getBibkeyList): use ParagraphList iterators
10534 (resizeInsets): use for_each to resizeInsetsLyXText for all
10536 (getParFromID): use ParagraphList iterators
10538 * BufferView2.C (lockInset): use paragraph list and iterators
10540 2002-08-14 John Levon <levon@movementarian.org>
10542 * lyxserver.C: remove spurious xforms include
10544 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10546 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10548 2002-08-13 André Pönitz <poenitz@gmx.net>
10551 * lyxfunc.C: further cleaning
10553 2002-08-13 André Pönitz <poenitz@gmx.net>
10555 * funcrequest.h: new constructor
10557 * funcrequest.C: move stuff here from .h
10560 * BufferView_pimpl.C:
10563 * lyxfunc.C: subsequent changes
10565 * lyxfunc.h: new view() member function
10567 * lyxfunc.C: subsequent changes
10569 2002-08-13 Angus Leeming <leeming@lyx.org>
10572 * BufferView_pimpl.C:
10580 changes due to the changed LyXView interface that now returns references
10581 to member variables not pointers.
10583 2002-08-13 Angus Leeming <leeming@lyx.org>
10585 * WordLangTuple (word, lang_code): return references to strings,
10590 * lyxtext.h: forward-declare WordLangTuple.
10595 * text.C: #include "WordLangTuple.h".
10598 * text.C: (selectNextWordToSpellcheck): constify return type.
10600 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10606 * paragraph_pimpl.h:
10609 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10610 suggested by Angus.
10611 Made updateCounter always count from start of buffer, and removed
10612 second argument (par).
10613 Reverted floats number display to '#'. Perhaps I'll try again when the
10614 code base is sanitized a bit.
10616 2002-08-12 Angus Leeming <leeming@lyx.org>
10618 * buffer.[Ch] (getLabelList): constify.
10620 2002-08-07 André Pönitz <poenitz@gmx.net>
10622 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10624 * funcrequest.h: extension to keep mouse (x,y) position
10626 2002-08-12 Juergen Vigna <jug@sad.it>
10628 * BufferView2.C (insertErrors): forbid undo when inserting error
10631 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10633 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10635 * ParagraphList.[Ch]: new files
10637 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10639 * BufferView2.C (lockInset): ParagraphList changes
10642 * bufferlist.C: ditto
10646 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10648 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10649 unused class variable counter_,
10651 * paragraph.[Ch] (getFirstCounter): delete unused function
10653 * counters.C: include LAssert.h
10654 (reset): add a new function with no arg, change other version to
10655 not have def. arg and to not allow empty arg.
10657 * text2.C (setCounter): remove empty arg from call to Counters::reset
10659 2002-08-11 John Levon <levon@movementarian.org>
10661 * Makefile.am: add WordLangTuple.h
10663 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10665 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10666 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10668 * insets/insettext.C: InsetList changes
10670 * graphics/GraphicsSupport.C (operator()): InsetList changes
10672 * toc.C (getTocList): InsetList changes
10674 * paragraph_pimpl.[Ch]: InsetList changes
10676 * paragraph.[Ch]: InsetList changes
10678 * buffer.C (inset_iterator): InsetList changes
10679 (setParagraph): ditto
10680 * buffer.h (inset_iterator): ditto
10681 * iterators.C (operator++): ditto
10682 * iterators.h: ditto
10684 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10686 * InsetList.[Ch]: new files, most InsetList handling moved out of
10689 * BufferView2.C (removeAutoInsets): InsetList changes
10691 (ChangeInsets): ditto
10693 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10695 * paragraph_pimpl.h (empty): new function
10697 * paragraph.[Ch] (empty): new function
10699 * other files: use the new Paragraph::empty function
10701 2002-08-09 John Levon <levon@movementarian.org>
10703 * lyxtext.h: remove unused refresh_height
10705 2002-08-09 John Levon <levon@movementarian.org>
10712 * paragraph.C: move sgml char escaping out of paragraph
10715 * paragraph.C: remove id setter
10719 * paragraph_pimpl.C: remove dead tex_code_break_column
10721 * bufferview_funcs.C: small cleanup
10723 * lyxfunc.C: remove dead proto
10725 * lyxtext.h: make some stuff private. Remove some dead stuff.
10727 * lyxgluelength.C: make as[LyX]String() readable
10729 2002-08-08 John Levon <levon@movementarian.org>
10734 * ToolbarDefaults.C:
10737 * toc.C: lyxaction cleanup
10739 2002-08-08 John Levon <levon@movementarian.org>
10741 * BufferView2.C: small cleanup
10744 * lyxfind.C: move unnecessary header into the .C
10746 2002-08-08 John Levon <levon@movementarian.org>
10748 * funcrequest.h: just tedious nonsense
10751 * lyx_main.C: cleanups
10754 * vspace.C: remove dead header lyx_main.h
10756 2002-08-07 Angus Leeming <leeming@lyx.org>
10759 * paragraph_pimpl.h:
10760 Forward declare class Counters in paragraph.h by moving the ctrs member
10761 variable into Paragraph::Pimpl.
10762 (counters): new method, returning a reference to pimpl_->ctrs.
10764 * text2.C: ensuing changes.
10766 2002-08-07 John Levon <levon@movementarian.org>
10768 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10770 * BufferView_pimpl.C: announce X selection on double/triple
10773 * lyx_main.C: use correct bool in batch dispatch
10775 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10777 2002-08-07 André Pönitz <poenitz@gmx.net>
10779 * funcrequest.h: new class to wrap a kb_action and its argument
10782 * BufferView_pimpl[Ch]:
10786 * lyxrc.C: subsequent changes
10789 2002-08-07 John Levon <levon@movementarian.org>
10791 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10792 document options change.
10794 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10799 * makefile.am: move counters functionality over from
10800 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10802 2002-08-06 John Levon <levon@movementarian.org>
10804 * WordLangTuple.h: new file for word + language code tuple
10815 * BufferView2.C: use WordLangTuple
10818 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10820 2002-08-06 John Levon <levon@movementarian.org>
10822 * lyx_main.C: fix cmdline batch handling
10824 2002-08-06 André Pönitz <poenitz@gmx.net>
10826 * lyxrc.C: set default for show_banner to true
10828 2002-08-06 John Levon <levon@movementarian.org>
10830 * pspell.C: fix a crash, and allow new aspell to work
10832 2002-08-06 John Levon <levon@movementarian.org>
10835 * kbmap.C: small cleanup
10838 * vspace.C: add const
10840 2002-08-05 John Levon <levon@movementarian.org>
10842 * LyXAction.C: back to tabular-insert
10844 2002-08-04 John Levon <levon@movementarian.org>
10847 * BufferView.C: cosmetic change
10849 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10859 * BufferView2.C: purge all "Lyx" not "LyX" strings
10862 * lyxcursor.C: attempt to add some documentation
10867 * ToolbarDefaults.C:
10868 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10869 merge with LFUN_TABULAR_INSERT
10876 * pspell.C: split up i/pspell implementations into separate
10877 files, many cleanups
10879 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10881 * text2.C: some cleanup
10883 * lyxfunc.C: don't check for isp_command == "none" any more, it
10884 didn't make any sense
10886 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10891 * makefile.am: move counters functionality over
10892 from text2.C/paragraph.[Ch] to counters.[Ch], and
10894 2002-08-02 John Levon <levon@movementarian.org>
10896 * buffer.C: s/lyxconvert/lyx2lyx/
10898 2002-08-02 Angus Leeming <leeming@lyx.org>
10900 * lyxlex.C: revert John's change as it breaks reading of the user
10903 2002-08-02 Angus Leeming <leeming@lyx.org>
10905 * importer.C (Import):
10906 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10907 changes due to LyXView::view() now returning a boost::shared_ptr.
10909 2002-08-02 John Levon <levon@movementarian.org>
10911 * lyxlex.C: small cleanup
10913 2002-08-02 John Levon <levon@movementarian.org>
10915 * text2.C (status): small cleanup, no logic change
10917 2002-08-01 John Levon <levon@movementarian.org>
10920 * buffer.C (writeFile): don't output alerts, caller
10924 * lyx_cb.C: from above
10926 * lyxfunc.C: allow to open non-existent files
10928 2002-07-31 John Levon <levon@movementarian.org>
10930 * lyxserver.C: don't let incidental errors get
10933 2002-07-30 John Levon <levon@movementarian.org>
10935 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10937 2002-07-30 John Levon <levon@movementarian.org>
10940 * lyxserver.C: remove I/O callback too
10942 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10944 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10947 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10949 * many files: strip,frontStrip -> trim,ltrim,rtrim
10951 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10953 * PrinterParams.h: remove extern containsOnly, and include
10954 support/lstrings.h instead.
10956 * LaTeX.C (scanAuxFile): modify because of strip changes
10958 * buffer.C (makeLaTeXFile): ditto
10959 * bufferparams.C (writeFile): ditt
10960 * lyxfont.C (stateText): ditto
10961 * lyxserver.C (read_ready): ditto
10962 * vc-backend.C (scanMaster): ditto
10964 * BufferView_pimpl.h: ws changes
10966 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10968 2002-07-26 André Pönitz <poenitz@gmx.net>
10970 * kb_sequence.C: remove unnedred usings
10972 2002-07-26 Juergen Vigna <jug@sad.it>
10974 * lyxfind.C (LyXReplace): we have to check better if the returned
10975 text is not of theLockingInset()->getLockingInset().
10977 2002-07-25 Juergen Vigna <jug@sad.it>
10979 * lyxfind.C (LyXReplace): don't replace if we don't get the
10982 * undo_funcs.C (createUndo): remove debugging code.
10984 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10986 * buffer.C (parseSingleLyXformat2Token): Use default placement
10987 when reading old floats.
10989 * FloatList.C (FloatList): Change the default placement of figure
10990 and tables to "tbp".
10992 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10994 * MenuBackend.C: using std::max
10996 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10998 * MenuBackend.C (expandToc):
10999 (expandToc2): code moved from xforms menu frontend. It is now
11000 generic and TOCs are transparent to menu frontends.
11002 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11004 * toc.C (getTocList): protect against buf=0
11006 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11007 Menu as first parameter. Now, this calls itself recursively to
11008 expand a whole tree (this will be useful for TOC handling)
11009 (expandFloatInsert): remove 'wide' version of floats
11011 * MenuBackend.h (submenuname): returns the name of the submenu.
11012 (submenu): returns the submenu itself, provided it has been
11013 created by MenuBackend::expand
11015 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11017 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11018 insets which have noFontChange == true. (bug #172)
11020 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11022 * BufferView_pimpl.C: add connection objects and use them...
11025 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11027 * MenuBackend.C (expandLastfiles):
11030 (expandFloatListInsert):
11031 (expandFloatInsert):
11032 (expand): split expand in parts
11034 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11036 * lyx_gui.C: use lyx_gui::exit()
11038 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11040 * LyXAction.C: show the failing pseudo action
11042 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11044 * buffer.C (readFile): Run the lyxconvert script in order to read
11047 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11051 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11053 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11057 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11059 2002-07-22 Herbert Voss <voss@lyx.org>
11062 * lyxlength.[Ch]: add support for the vertical lengths
11064 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11066 * toc.[Ch]: std:: fixes
11068 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11070 * lyxrc.C: do not include lyx_main.h
11072 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11078 * BufferView2.C: include "lyxlex.h"
11081 * bufferparams.h: do not #include "lyxlex.h"
11083 * lyxtextclasslist.C (Add): remove method
11084 (classlist): renamed to classlist_
11086 * paragraph_pimpl.C:
11090 * bufferview_funcs.C:
11095 * toc.C (getTocList): use BufferParams::getLyXTextClass
11097 * toc.C (getTocList): use InsetFloat::addToToc
11099 * toc.[Ch]: new files, containing helper functions to handle table
11102 * lyxfunc.C (dispatch): no need to remove spaces around command
11104 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11105 first command of the sequence; it is not very clever, but I do not
11106 have a better idea, actually
11108 * LyXAction.C (LookupFunc): make sure to remove space at the
11109 beginning and end of the command
11111 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11113 * MenuBackend.C (getMenubar): new method: return the menubar of
11115 (read): treat differently reading of menu and menubar (in
11116 particular, the menubar has no name now)
11117 (Menu::menubar): remove
11119 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11122 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11124 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11125 a bibitem inset in a RTL paragraph.
11127 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11129 * paragraph_pimpl.C: constify
11131 * BufferView_pimpl.C:
11133 * lyxfunc.C: fix dispatch in a nicer way
11135 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11137 * lyxfunc.C (dispatch):
11138 * BufferView_pimpl.C:
11139 * BufferView_pimpl.h:
11141 * BufferView.h: rename Dispatch() to dispatch()
11143 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11145 * lyxlayout.C (Read): honor DependsOn tag
11147 * lyxlayout.[Ch] (depends_on): new method
11149 * version.C.in: update lyx_docversion
11151 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11153 * paragraph.C (validate): remove from here...
11154 * paragraph_pimpl.C (validate): ... and move here
11155 (isTextAt): make it const
11157 * buffer.C (getLists): ws cleanup
11159 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11161 * language.C (read): Use iso8859-1 encoding in latex_lang
11162 (this prevents LyX from crashing when using iso10646-1 encoding).
11164 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11166 * text2.C (toggleInset): if cursor is inside an inset, close the
11167 inset and leave cursor _after_ it
11169 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11171 * lyxfunc.C: move minibuffer completion handling out of here
11173 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11175 * BufferView_pimpl.C:
11176 * LaTeX.C: fix dispatch calls
11178 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11180 * text.C (drawChars): Fix Arabic text rendering.
11182 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11186 * lyxfunc.C: remove message-push/pop
11190 * lyxfunc.C: rationalise some code by removing verboseDispatch
11191 in favour of a bool argument to dispatch()
11193 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11195 * lyx_main.C (init): make sure to read symlinks as absolute paths
11197 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11200 * lyxfunc.C: no need for commandshortcut to be a member
11202 2002-07-15 André Pönitz <poenitz@gmx.net>
11204 * converter.C: add support for $$s (scripts from lib/scripts dir)
11205 * lyx_main.C: white space
11207 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11211 * lyxrc.C: remove second exit confirmation
11213 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11218 * BufferView_pimpl.h:
11219 * BufferView_pimpl.C:
11220 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11222 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11224 * MenuBackend.C (expand): add numeric shortcuts to document menu
11226 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11228 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11230 * lyxfont.C (setLyXFamily):
11237 * buffer.C (asciiParagraph): use ascii_lowercase
11239 2002-07-15 Mike Fabian <mfabian@suse.de>
11241 * lyxlex_pimpl.C (search_kw):
11242 * lyxlex.C (getLongString):
11243 * converter.h (operator<):
11244 * converter.C (operator<):
11245 * buffer.C (parseSingleLyXformat2Token):
11247 * ToolbarDefaults.C (read):
11248 * MenuBackend.C (checkShortcuts):
11250 * LColor.C (getFromGUIName):
11251 (getFromLyXName): use the compare_ascii_no_case instead of
11252 compare_no_case, because in turkish, 'i' is not the lowercase
11253 version of 'I', and thus turkish locale breaks parsing of tags.
11255 2002-07-16 Angus Leeming <leeming@lyx.org>
11257 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11258 now takes a Buffer const & argument.
11260 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11262 * BufferView.C (resize): check there's a buffer to resize
11264 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11266 * lyxfunc.C: remove dead code
11269 * lyxserver.C: use lyx_guii::set_read_callback
11271 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11273 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11274 an inset in a RTL paragraph.
11276 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11278 * lyxfunc.C: repaint after a font size update
11280 2002-07-15 André Pönitz <poenitz@gmx.net>
11282 * lyxlength.C: inBP should be able to return negative values
11284 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11286 * lyxfunc.C: use lyx_gui::update_fonts()
11288 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11290 * lyxfunc.C: use lyx_gui::update_color()
11292 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11298 * lyxrc.C: remove file->new asks for name option, and let
11299 buffer-new take an argument
11301 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11303 * BufferView_pimpl.C: remove unneeded extra repaint()
11305 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11307 * LyXAction.C: allow command-sequence with NoBuffer
11309 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11311 2002-07-10 Angus Leeming <leeming@lyx.org>
11313 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11315 2002-07-09 Angus Leeming <leeming@lyx.org>
11317 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11319 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11321 * lengthcommon.h: whitespace
11323 * lyxfunc.C: update scrollbar after goto paragraph
11325 * lyxtext.h: factor out page break drawing, and fix it so
11326 page break/added space paints as selected nicely
11328 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11330 * BufferView_pimpl.C: add FIXMEs, clean up a little
11332 2002-07-09 André Pönitz <poenitz@gmx.net>
11334 * lyxfont.[Ch]: support for wasy symbols
11336 2002-07-08 André Pönitz <poenitz@gmx.net>
11338 * BufferView_pimpl.C: apply John's patch for #93.
11340 2002-07-05 Angus Leeming <leeming@lyx.org>
11342 * BufferView_pimpl.C (buffer): generate previews if desired.
11344 * LColor.h: add "preview" to the color enum.
11346 * LColor.C (LColor): add a corresponding entry to the items array.
11348 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11351 2002-07-05 Angus Leeming <leeming@lyx.org>
11353 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11354 The body of the code is now in the method that is passed an ostream &
11355 rather than a file name.
11356 Pass an additional only_preamble parameter, useful for the forthcoming
11359 2002-07-03 André Pönitz <poenitz@gmx.net>
11361 * lyxfunc.C: simplify getStatus() a bit for math stuff
11363 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11365 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11367 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11369 * text.C (changeRegionCase): do not change case of all the
11370 document when region ends at paragraph end (bug #461)
11372 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11374 * paragraph.C (startTeXParParams):
11375 (endTeXParParams): add \protect when necessary
11377 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11379 * BufferView_pimpl.C (workAreaExpose): remove warning
11381 2002-06-27 Angus Leeming <leeming@lyx.org>
11383 * Makefile.am: add lyxlayout_ptr_fwd.h.
11385 2002-06-26 André Pönitz <poenitz@gmx.net>
11387 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11389 2002-06-25 Angus Leeming <leeming@lyx.org>
11391 * lyxfunc.C (dispatch): Comment out the call to
11392 grfx::GCache::changeDisplay. The method no longer exists now that the
11393 pixmap generation part of the graphics loader has been moved into
11396 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11398 * text2.C: layout as layout
11400 * text.C: layout as layout
11402 * tabular.C (OldFormatRead): layout as layout
11404 * paragraph_pimpl.C (TeXDeeper): layout as layout
11405 (realizeFont): layout as layout
11407 * paragraph.C (writeFile): layout as layout
11408 (validate): layout as layout
11409 (getFont): layout as layout
11410 (getLabelFont): layout as layout
11411 (getLayoutFont): layout as layout
11412 (breakParagraph): layout as layout
11413 (stripLeadingSpaces): layout as layout
11414 (getEndLabel): layout as layout
11415 (getMaxDepthAfter): layout as layout
11416 (applyLayout): layout as layout
11417 (TeXOnePar): layout as layout
11418 (simpleTeXOnePar): layout as layout
11419 (TeXEnvironment): layout as layout
11420 (layout): layout as layout
11421 (layout): layout as layout
11423 * lyxtextclass.C (compare_name): new functor to work with
11424 shared_ptr, layout as layout
11425 (Read): layout as layout
11426 (hasLayout): layout as layout
11427 (operator): layout as layout
11428 (delete_layout): layout as layout
11429 (defaultLayout): layout as layout
11431 * lyxlayout_ptr_fwd.h: new file
11433 * lyxlayout.C (Read): layout as layout
11435 * lyx_cb.C (MenuInsertLabel): layout as layout
11437 * bufferlist.C (newFile): layout as layout
11439 * buffer.C (readLyXformat2): layout as layout
11440 (parseSingleLyXformat2Token): layout as layout
11441 (insertStringAsLines): layout as layout
11442 (asciiParagraph): layout as layout
11443 (latexParagraphs): layout as layout
11444 (makeLinuxDocFile): layout as layout
11445 (simpleLinuxDocOnePar): layout as layout
11446 (makeDocBookFile): layout as layout
11447 (simpleDocBookOnePar): layout as layout
11448 (getLists): layout as layout
11450 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11452 * CutAndPaste.C (cutSelection): layout as layout
11453 (pasteSelection): layout as layout
11454 (SwitchLayoutsBetweenClasses): layout as layout
11456 * BufferView_pimpl.C (Dispatch): layout as layout
11457 (smartQuote): layout as layout
11459 * BufferView2.C (unlockInset): layout as layout
11461 2002-06-24 André Pönitz <poenitz@gmx.net>
11463 * lyxfunc.C: fix #487
11465 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11469 * lyxfunc.C: remove display_shortcuts, show_banner
11471 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11473 * Buffer_pimpl.C: oops, update on resize
11475 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11482 * BufferView.C: use repaint()
11484 * BufferView_pimpl.h:
11485 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11486 as it's a clearer description. Remove superfluous
11489 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11491 * text.C: fix bug 488. Not ideal, but getting
11492 getWord() to work properly for the insets that
11493 matter is more difficult ...
11495 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11497 * BufferView_pimpl.C:
11500 * lyxfunc.C: remove the six million index lyxfuncs to just
11501 one, and DTRT (bug 458)
11503 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11507 * BufferView_pimpl.h:
11508 * BufferView_pimpl.C: clean up resize() stuff,
11509 and unnecessary updateScreen()s
11511 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11515 * BufferView_pimpl.h:
11516 * BufferView_pimpl.C:
11519 * minibuffer.C: remove focus management of workarea,
11520 not needed. Use screen's greyOut()
11522 2002-06-17 Herbert Voss <voss@lyx.org>
11524 * converter.C: (convert) do not post a message, when converting
11525 fails, let the calling function decide what to do in this case
11527 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11529 * lyxfunc.C: tidy up a little
11531 2002-06-16 <alstrup@diku.dk>
11533 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11534 Got rid of FORMS_H_LOCATION include. Now we are
11537 2002-06-15 LyX Development team <lyx@rilke>
11539 * buffer.[Ch] (sgmlOpenTag):
11540 (sgmlCloseTag): Added support for avoiding pernicious mixed
11541 content. Return number of lines written.
11543 (makeLinuxDocFile):
11544 (makeDocBookFile): Fixed calls to sgml*Tag.
11545 Simple white space clean.
11547 (simpleDocBookOnePar): Simple white space clean.
11549 * tabular.[Ch] (docBook): Renamed to docbook and got another
11550 argument to related with the pernicious mixed content.
11552 (docbookRow): Fixed calls for docbook inset method.
11554 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11556 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11557 so it's X11 independent.
11561 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11563 2002-06-15 Lyx Development team <lyx@electronia>
11565 * intl.h: Renamed getTrans to getTransManager.
11567 2002-06-14 Angus Leeming <leeming@lyx.org>
11569 * Makefile.am: nuke forgotten stl_string_fwd.h.
11571 2002-06-12 Angus Leeming <leeming@lyx.org>
11573 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11575 2002-06-13 Angus Leeming <leeming@lyx.org>
11578 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11580 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11582 * kbmap.C (getiso): add support for cyrillic and greek
11584 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11588 * BufferView_pimpl.h:
11589 * BufferView_pimpl.C: move bogus scrolling logic
11592 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11595 * BufferView_pimpl.C: view->resize() change
11597 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11599 * BufferView_pimpl.C: topCursorVisible
11602 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11606 * lyx_gui.C: move to frontends/
11610 * lyx_main.C: changes from above
11612 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11619 * lyx_main.C: minor tidy
11621 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11623 * BufferView_pimpl.h:
11624 * BufferView_pimpl.C:
11626 * BufferView.C: make painter() const,
11629 * BufferView2.C: use screen() accessor
11632 * lyx_main.C: some minor cleanup
11634 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11636 * BufferView_pimpl.h:
11637 * BufferView_pimpl.C: remove enter/leaveView,
11640 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11645 * BufferView_pimpl.h:
11646 * BufferView_pimpl.C: only construct screen once,
11649 * lyxrc.C: remove pointless comment
11651 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11654 * BufferView.C: remove active() and belowMouse()
11656 * BufferView_pimpl.h:
11657 * BufferView_pimpl.C: use workarea() not workarea_,
11658 and make it use a scoped_ptr instead
11660 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11662 * lyx_gui.C: add debug message on BadWindow
11664 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * sp_spell.C: fdopen is not part of the C++ standard.
11668 * paragraph.C (InsetIterator): use >= instead of ==
11670 2002-06-07 Angus Leeming <leeming@lyx.org>
11672 Fixes needed to compile with Compaq cxx 6.5.
11673 * BufferView_pimpl.C:
11680 * lyxtextclasslist.C:
11685 all c-library variables have been moved into namespace std. Wrap
11686 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11691 Add a using std::abs declaration.
11693 * kbmap.h (modifier_pair):
11694 * paragraph.h (InsetTable, InsetList):
11695 * lyxfont.h (FontBits):
11696 type definition made public.
11698 * bufferlist.C (emergencyWriteAll): the compiler complains that
11699 there is more than one possible lyx::class_fun template to choose from.
11700 I re-named the void specialisation as lyx::void_class_fun.
11702 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11704 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11705 the compiler is is unable to find tostr in write_attribute.
11707 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11709 * buffer.C (sgmlError): hide #warning
11711 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11713 * xtl/*: get rid of xtl, which is not in use anyway
11715 * LyXAction.C (init):
11716 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11717 were unimplemented xtl experimentation
11719 2002-06-04 André Pönitz <poenitz@gmx.net>
11721 * lyxfunc.C: disable array operation on simple formulae
11723 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11725 * converter.C: constify a bit
11727 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11729 * lyx_gui.C: check xforms version correctly
11731 2002-04-30 Herbert Voss <voss@lyx.org>
11733 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11736 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11738 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11739 attempt to register it with a VCS)
11741 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11743 * lyx_main.C (init): honor variables LYX_DIR_13x and
11746 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11750 * lyx_main.C: fix a crash on bad command line,
11751 and give a useful exit status on error
11753 * lyxfunc.C (doImport): allow -i lyx to work
11755 2002-03-30 André Pönitz <poenitz@gmx.net>
11757 * lyxfunc.C: mathed font changes
11759 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11774 * trans_mgr.h: srcdocs, and some minor cleanups
11776 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11778 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11779 call getFont all the time)
11781 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11783 * switch from SigC signals to boost::signals
11785 2002-05-29 André Pönitz <poenitz@gmx.net>
11787 * paragraph_pimpl.C (getChar): don't call size() too often...
11789 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11791 * paragraph_pimpl.C (insertChar): do not try to update tables when
11792 appending (pos == size())
11794 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11795 in order to reduce drastically the number of comparisons needed to
11796 parse a large document
11798 2002-05-29 André Pönitz <poenitz@gmx.net>
11804 * textclasslist.[Ch]:
11805 * sp_ispell.h: whitespace change
11807 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11809 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11810 lyxaction directly now.
11812 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11816 * lyxvc.C: remove unused headers
11818 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11825 * undo_funcs.C: some cleanups. Use shared_ptr
11826 and a template for the undo stacks.
11828 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11830 * BufferView_pimpl.h:
11831 * BufferView_pimpl.C:
11838 * text2.C: use key_state/mouse_state
11840 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11842 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11845 * chset.C: change include order
11846 (loadFile): use boost regex and get rid of LRegex and LSubstring
11848 * Makefile.am (BOOST_LIBS): new variable
11849 (lyx_LDADD): use it
11851 * LaTeX.C: change include order.
11852 (scanAuxFile): use boost regex and get rid of LRegex and
11856 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11861 * FontInfo.C: moved to frontends/xforms/
11864 * FontLoader.C: moved into frontends for GUIIzation
11869 * lyxfunc.C: changes from above
11871 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11873 * LColor.C: remove spurious X include
11875 * BufferView_pimpl.C:
11880 * text2.C: move font metrics to frontends/
11882 2002-05-24 Juergen Vigna <jug@sad.it>
11884 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11885 setting the undo_cursor.
11887 * ParagraphParameters.h: include local includes first.
11889 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11891 * BufferView_pimpl.C:
11892 * BufferView_pimpl.h:
11896 * screen.C: move WorkArea into frontends/
11902 * BufferView2.C: move LyXScreen into frontends/
11906 * lyx_gui.C: move lyxlookup into frontends/xforms/
11908 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11911 * BufferView_pimpl.C:
11921 * bufferview_funcs.C:
11934 * vc-backend.C: move LyX/XFormsView into frontends/
11936 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11948 * text2.C: move Painter to frontends/
11950 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11952 * buffer.C: comment out some some code that depend upon lyx_format
11955 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11956 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11958 * buffer.h (NO_COMPABILITY): turn off compability
11960 * ColorHandler.C: include scoped_array.hpp
11962 * font.C: Use more specific smart_ptr header.
11965 * ShareContainer.h: ditto
11966 * lyx_main.h: ditto
11968 * FontInfo.h: ditto
11969 * BufferView_pimpl.h: ditto
11970 * ColorHandler.h: ditto
11972 * kbmap.C (defkey): change call to shared_ptr::reset
11974 2002-05-21 Juergen Vigna <jug@sad.it>
11976 * buffer.C (insertErtContents): fix to insert ert asis if it is
11977 non empty. Skip it completely if it contains only whitespaces.
11979 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11981 * BufferView_pimpl.C:
11982 * BufferView2.C: clear selection on paste (bug 393)
11984 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11986 * DepTable.C: include ctime
11988 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11990 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11992 2002-05-14 Juergen Vigna <jug@sad.it>
11994 * text.C (breakParagraph): fixed function to honor the keepempty
11995 layout in the right maner and also to permit the right breaking
11996 algorithm on empty or non empyt keepempty paragraphs.
11998 * paragraph.C (breakParagraph): we have to check also if the par
11999 is really empty (!size()) for isempty otherwise we do the wrong
12002 2002-05-10 Juergen Vigna <jug@sad.it>
12004 * buffer.[Ch] : The following are only changes to the ert
12005 compatibility read reading old LaTeX layout and font stuff and
12006 convert it to ERTInsets.
12008 * buffer.h: added isErtInset().
12010 * buffer.C (struct ErtComp): add a fromlayout bool to check
12011 if we're inside a LaTeX layout.
12012 (isErtInset): new helper function.
12013 (insertErtContents): look for other ert insets before this one
12014 and insert the contents there, so that we don't have subsequent
12015 ERT insets with nothing between them. This way we create only one
12016 inset with multiple paragraphs. Also check if we don't insert only
12017 spaces ' ' as they are ignored anyway afterwards in the .tex file
12018 so if we have only spaces we will ignore this latex part in the
12020 (parseSingleLyXformat2Token \\layout): better compatibility when
12021 reading layout-latex stuff.
12022 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12024 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12025 stuff after reading the inset only get the information back from
12028 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12030 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12032 * LaTeXFeatures.C (getBabelOptions): New method.
12034 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12036 * BufferView_pimpl.C (Dispatch): work around missing argument for
12039 2002-05-08 Juergen Vigna <jug@sad.it>
12041 * text.C (leftMargin): handle paragraph leftindent.
12043 * paragraph.C (writeFile): write the new \\leftindent tag.
12044 (validate): handle leftindent code.
12045 (TeXEnvironment): handle paragraphleftindent code again.
12047 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12049 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12050 for paragrap_extra indent code and new token \\leftindent.
12051 (latexParagraphs): handle the leftindent as environment.
12053 * ParameterStruct.h: added leftindent support.
12055 * ParagraphParameters.C (leftIndent): added support functions for
12056 the paragraph left indent.
12058 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12061 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12063 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12066 * text.C (computeBidiTables): No bidi in insetERT.
12068 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12071 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12073 * version.C.in: pre 5
12075 2002-05-02 José Matos <jamatos@fep.up.pt>
12076 * buffer.C (makeDocBookFile): white space changes, add newline to
12078 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12080 * tabular.C (docBook): fix typo.
12082 2002-05-03 Juergen Vigna <jug@sad.it>
12084 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12085 change in LyXText as we can not be sure it was not freed.
12086 (drawOneRow): remove unused code.
12088 * text.C (drawInset): redo the calculation of the need_break_row as
12089 it could have a row which was already freed.
12090 (draw): look at the return value of drawInset and return false if
12091 it also returned false.
12092 (paintRowText): look at the return value of draw and return false if
12093 it also returned false.
12095 * lyxtext.h: added bool return type to drawInset() and draw() so that
12096 if we have a change in the row so that the rowbreak has to be redone
12097 we abort drawing as it will be called again.
12099 2002-05-02 Juergen Vigna <jug@sad.it>
12101 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12102 a change in the maintext also if we're inside an inset.
12103 (Dispatch): set the cursor again after a break line and after the
12104 screen has been updated as it could be we're in a different row.
12106 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12107 to set the cursor behind the pargraph with > size().
12108 (setCursor): check also for the same paragraph when checking where
12109 to put the cursor if we have a NFR inset.
12111 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12112 parts of layout read further up as it still was in the wrong
12115 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12117 * screen.C (drawFromTo): change sine fullRebreak always return
12120 * buffer.C (parseSingleLyXformat2Token): reindent some
12122 * BufferView_pimpl.C (update): change since fullRebreak always
12124 (Dispatch): git rid of the last hardcoded "Standard"s.
12126 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12128 * text2.[Ch] (fullRebreak): make it return void now that we always
12131 2002-04-30 Juergen Vigna <jug@sad.it>
12133 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12134 ert compatibility check for "latex" layout.
12136 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12138 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12139 minipages: use col% instead of p%, and also use the current font.
12140 (makeLaTeXFile): Fix use babel condition.
12141 (parseSingleLyXformat2Token): Correct font when reading old floats.
12143 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12145 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12146 inserting list of floats.
12148 2002-04-25 Herbert Voss <voss@lyx.org>
12150 * MenuBackend.C (expand): don't add the graphics extensions to the
12153 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12155 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12156 non-existing layout, do not complain if it was the default layout
12157 of the original class (bug #342)
12159 2002-04-24 Juergen Vigna <jug@sad.it>
12161 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12162 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12164 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12166 * buffer.C (getBibkeyList): If using \bibliography, return the
12167 option field with the reference itself. Enables us to provide natbib
12168 support when using \bibliography.
12170 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12172 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12174 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12175 natbib is provided by the LaTeX class.
12177 2002-04-23 Juergen Vigna <jug@sad.it>
12179 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12182 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12184 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12188 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12189 ensuremath around textordmasculine, textordfeminine and
12192 2002-04-19 Juergen Vigna <jug@sad.it>
12194 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12195 reinitializing the buffer otherwise row-dimensions may be wrong.
12196 (update): reset also the selection cursors if they do exits otherwise
12197 their x/y positions may be wrong.
12199 * text2.C (cursorDown): don't enter the inset if we came from a row
12200 above and are one row over the inset.
12202 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12203 really leaving an inset.
12205 2002-04-18 Juergen Vigna <jug@sad.it>
12207 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12208 of the selected paragraph does not have the selected layout also if
12211 * text2.C (setLayout): fixed bug which did not change last selected
12214 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12215 changed the read and substituted \\end_float with \\end_inset!
12217 * BufferView_pimpl.C (cursorPrevious):
12218 (cursorNext): fixed to make it work with rows heigher than the work
12219 area without moving the cursor only the draw of the row.
12220 (workAreaMotionNotify): fix jumping over high rows.
12222 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12224 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12227 2002-04-16 Juergen Vigna <jug@sad.it>
12229 * text2.C (setCursor): set also the irow().
12230 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12232 (cursorDown): support for locking an inset if the x_fix value goes
12233 inside it. That way I can transverse insets too with cursor up/down.
12235 * lyxrow.h: added irow helper function same as other (i) functions.
12237 * BufferView_pimpl.C (cursorPrevious):
12238 (cursorNext): fixed for insets!
12240 2002-04-15 Juergen Vigna <jug@sad.it>
12242 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12243 position otherwise it is wrong in some cases.
12245 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12246 inside the inset before the call.
12248 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12250 * buffer.[Ch] (getBibkeyList): make it const.
12252 2002-04-12 Juergen Vigna <jug@sad.it>
12254 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12256 * text2.C (getCursorX): new helper function
12257 (setCursor): compute also ix_
12258 (setCursorFromCoordinates): set also ix.
12260 * lyxcursor.h: added ix_ and helper functions.
12262 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12264 * buffer.C (insertStringAsLines): dont break paragraph if the this
12265 paragraph is inside an inset which does not permit it!
12267 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12268 also with no chars on this paragraph.
12269 (paintRowText): only paint stuff if it's inside the workarea!
12271 * paragraph.C (breakParagraph): honor keepempty flag and break the
12272 paragraph always below not above.
12274 * BufferView2.C (unlockInset): update the paragraph layout on inset
12275 unlock as we changed paragraph in such a case.
12277 * lyxfind.C (LyXFind): clear the former selection if not found!
12279 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12280 again called in insertChar().
12282 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12283 an inset which uses the whole row!
12284 (rightMargin): ditto.
12285 (insertChar): force a rebreak if we inserted an inset!
12287 2002-03-28 Herbert Voss <voss@lyx.org>
12289 * lyxlength.[Ch]: add inBP() to get the right PS-point
12290 units (BigPoint). With inPixels we have rounding errors
12292 2002-04-11 Juergen Vigna <jug@sad.it>
12294 * text2.C (setCursorFromCoordinates): set iy to the right value.
12295 (setCursor): add check if row->previous exists!
12297 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12298 an old float_type as this was the case in the old code!
12300 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12302 * BufferView2.C (showLockedInsetCursor): use iy
12303 (fitLockedInsetCursor): ditto
12305 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12306 locked insets as there we have the right value now.
12308 * lyxcursor.C: added iy_ variable and iy functions to set to the
12309 baseline of cursor-y of the locked inset.
12311 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12312 (setCursor): fixed for insets which need a full row.
12314 * text.C (rowLastPrintable): don't ignore the last space when before
12315 an inset which needs a full row.
12316 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12317 as last character of a row when before a inset which needs a full row.
12319 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * version.C.in: update date
12323 * text2.C (fullRebreak): try to always return true and see what
12326 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12328 * MenuBackend.C (expand): use Floating::listName
12330 * FloatList.C (FloatList): add listName argument to the built-in
12333 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12334 text associated with the float.
12336 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12338 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12340 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12342 * ShareContainer.h: add a couple of missing typenames.
12344 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12346 * lyxrc.C (getDescription): use _() correctly rather than N_().
12348 2002-03-28 Herbert Voss <voss@lyx.org>
12350 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12351 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12353 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12355 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12356 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12358 2002-03-29 Juergen Vigna <jug@sad.it>
12360 * lyxfunc.C (dispatch): add a missing fitCursor call.
12362 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12363 it was scrolled by a cursor move, so return the bool status.
12365 * BufferView.C (fitCursor): return the bool flag also to the outside
12366 world as this is needed.
12368 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12370 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12371 call the edit() as it is not needed (and wrong) IMO.
12372 (workAreaButtonPress): set the screen_first variable before evt.
12373 unlock the inset as this may change screen_first and then we have
12374 a wrong y position for the click!
12376 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12378 * MenuBackend.C (expand): another translation that I missed
12380 2002-03-28 Juergen Vigna <jug@sad.it>
12382 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12384 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12386 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12388 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12390 * MenuBackend.C (expand): fix export/view/update when there is no
12393 2002-03-27 Herbert Voss <voss@lyx.org>
12395 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12398 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12400 * bufferview_funcs.C (currentState): only show paragraph number
12401 for is DEVEL_VERSION is set.
12403 * lyxfunc.C (dispatch): put warning in INFO channel
12405 * MenuBackend.C (expand): translate the name of floats
12407 * FloatList.C (FloatList): mark the float names for translation
12409 * converter.C (convert): use LibScriptSearch
12411 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12413 * MenuBackend.C (defaults): fix default menu (we might as well get
12416 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12421 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12423 * lyxvc.C: reorder includes.
12425 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12427 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12430 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12432 * CutAndPaste.C: change layouts earlier on paste
12433 to avoid crashing when calling getFont()
12435 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12437 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12440 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12442 * WorkArea.C: remove 'Pending' debug message.
12444 * most files: ws cleanup
12446 * buffer.[Ch]: ws changes
12448 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12450 2002-03-21 Juergen Vigna <jug@sad.it>
12452 * tabular.C (SetMultiColumn): collapse also the contents of the
12453 cells and set the last border right. Added a Buffer const * param.
12455 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12457 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12460 2002-03-19 Juergen Vigna <jug@sad.it>
12462 * text2.C (clearSelection): reset also xsel_cache.
12464 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12465 where it needs to be called (John tells us to do so too :)
12466 (selectionLost): reset sel_cache.
12468 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12470 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12472 * text2.C (setCursorIntern): put debuging code in INSETS channel
12474 2002-03-19 André Pönitz <poenitz@gmx.net>
12476 * lyxfunc.C: tiny whitespace change
12478 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12480 * ToolbarDefaults.C (init):
12481 * LyXAction.C (init):
12483 * BufferView_pimpl.C (Dispatch):
12484 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12486 2002-03-19 Allan Rae <rae@lyx.org>
12488 * exporter.C (Export): removeAutoInsets before doing anything else.
12489 While I've just introduced a dependency on BufferView this really is
12490 the best place to clean the buffer otherwise you need to cleanup in
12491 a dozen places before calling export or cleanup in a dozen functions
12494 * converter.C (runLaTeX):
12495 (scanLog): Better handling of removeAutoInsets and screen updates.
12497 * lyxfunc.C (dispatch): small whitespace changes
12499 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12501 * WorkArea.C (C_WorkAreaEvent): return a value.
12502 (event_cb): return 1 if we handled the event, 0 otherwise.
12504 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12506 2002-03-18 Juergen Vigna <jug@sad.it>
12508 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12509 (GetAdditionalWidth): ditto.
12510 (RightLine): ditto.
12513 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12514 inset if we're there actually (probably not used right now but this
12515 is the direction to go for unifying code).
12516 (paste): disable code to clear the selection.
12518 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12519 inside an InsetText and move the check further up as it is in the
12522 * text2.C (pasteSelection): set a selection over the pasted text.
12524 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12526 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12527 and libgraphics to build on Cygwin.
12529 2002-03-15 Juergen Vigna <jug@sad.it>
12531 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12532 inserting an Inset into the paragraph. I know this is not the best
12533 fix but we already use current_view in CutAndPaste so we will remove
12534 all of it's using at the same time.
12536 * buffer.C (sgmlError): deactivated function till it is rewritten in
12537 the right mode, now it can create problems.
12539 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12540 before accessing it.
12542 2002-03-14 Juergen Vigna <jug@sad.it>
12544 * undo_funcs.C (textHandleUndo): do the right thing when updating
12545 the inset after the undo/redo.
12547 * text2.C (setCursor): just some testcode for #44 not ready yet.
12549 * undo_funcs.C (textHandleUndo): set the next() and previous()
12550 pointers of the paragraph to 0 before deleting otherwise we have
12551 problems with the Paragraph::[destructor].
12553 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12554 on a paragraph insertion.
12556 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12558 * buffer.C (asciiParagraph): use += operator for char append to
12561 * paragraph.C (getFontSettings): compare >= not just >
12562 (highestFontInRange): ditto
12565 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * paragraph.C: change several algorithm to be more appripriate for
12568 the problem domain. This is lookip in FontList and in the InsetList.
12570 2002-03-13 André Pönitz <poenitz@gmx.net>
12573 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12575 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12580 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12582 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12584 * Painter.C (display): anon helper function, adjust code for this
12586 (pixmap): remove function.
12588 * Painter.h: remove private display variable.
12590 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12592 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12594 * WorkArea.[Ch]: remove figinset_canvas cruft.
12596 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12598 * lyxtextclass.C (operator): add one item cache optimization.
12600 * bufferlist.h: doxy changes
12602 * bufferlist.C: ws changes
12604 * DepTable.[Ch] (ext_exist): place const in the right spot.
12606 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12608 (workAreaExpose): call resizeInsets when the with BufferView changes.
12609 (Dispatch): adjust for protectedBlank removal
12610 (specialChar): call updateInset if the insert went ok.
12612 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12613 specialChar instead.
12615 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12617 * BufferView.h: doxy change
12619 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12621 * lyxtextclass.C (operator[]): remove non-const version
12622 (defaultLayout): remove non-const version
12624 2002-03-12 Juergen Vigna <jug@sad.it>
12626 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12627 did resize the LyXText too.
12629 * buffer.C (readLyXformat2): set layout information on newly allocated
12632 * tabular.C (OldFormatRead): set layout information on the paragraph.
12634 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12636 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12638 2002-03-11 Juergen Vigna <jug@sad.it>
12640 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12642 (resizeCurrentBuffer): force also the insets to resize themselfes.
12643 (moveCursorUpdate): fixed up for InsetText.
12645 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12648 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12649 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12650 value of Dialogs::tooltipsEnabled().
12651 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12653 2002-03-08 Juergen Vigna <jug@sad.it>
12655 * BufferView_pimpl.C (updateInset): update inset inside inset also
12656 if it isn't inside theLockingInset().
12658 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12660 * buffer.C (asciiParagraph): redo some of the word and line length
12662 (getLists): look for Caption instead of caption.
12664 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12666 * buffer.C (Buffer): initialize niceFile to true
12668 (makeLinuxDocFile):
12669 (makeDocBookFile): make sure niceFile is true on exit
12671 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12673 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12675 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12677 * LyXSendto.C: remove.
12678 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12679 * lyx_gui.C: remove now-redundant comment.
12680 * ColorHandler.h: remove forward declaration of class WorkArea.
12681 * lyxfunc.C: remove #include "WorkArea.h".
12683 2002-03-07 Juergen Vigna <jug@sad.it>
12685 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12686 got moved away with the DEPM and also set the inset_owner always
12687 right which before could have been omitted.
12689 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12691 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12692 wanted layout is not found.
12694 2002-03-07 Juergen Vigna <jug@sad.it>
12696 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12698 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12700 * paragraph.C (breakParagraph): use default layout not layout of
12702 (Paragraph): clear ParagraphParameters.
12704 2002-03-06 Juergen Vigna <jug@sad.it>
12706 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12707 otherwise it would not be a valid lenght. Fixed a special case in
12708 the minipage compatibility read where we end the document with a
12711 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12712 was set as it could be 0 for InsetTexts first entry.
12714 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * paragraph.C (writeFile): if layout is empty write out
12717 defaultLayoutName().
12719 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12720 file without named layout we set layout to defaultLayoutName().
12722 2002-03-06 Juergen Vigna <jug@sad.it>
12724 * CutAndPaste.C (copySelection): set layout for new paragraph.
12726 * text.C (prepareToPrint): leave ERT inset left aligned
12727 (leftMargin): don't indent paragraphs inside ERT insets
12729 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12731 * paragraph.C (breakParagraph): dont call clear do the work manually
12733 * paragraph.[Ch] (clear): remove function
12735 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * paragraph.C (Paragraph): dont call clear, the work has already
12740 * lyxtextclass.C (operator): assert if n is empty
12742 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12743 work manually instead.
12745 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12747 * BufferView_pimpl.C: protect selectionLost against text == 0
12749 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * text.C (breakParagraph): fix a setting layout to '0' problem.
12753 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12755 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12756 final location of file, for the included files, and graphics.
12758 2002-03-05 Juergen Vigna <jug@sad.it>
12760 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12762 2002-03-04 Juergen Vigna <jug@sad.it>
12764 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12766 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12767 last column of multicolumn cells.
12768 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12770 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12772 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12773 file if it doesn't go to a temporary file.
12775 * buffer.C (sgmlOpenTag):
12776 (sgmlCloseTag): remove extra newline insertion.
12778 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * text.C (getRowNearY): comment out debug msg
12782 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * text2.C: first -> first_y
12786 * text.C (getRowNearY): add some attemts at a possible
12787 optimization, not working.
12789 * tabular.[Ch]: add BufferParams to several function so that newly
12790 created paragraph can be initialized to he default layotu for the
12793 * tabular-old.C (ReadOld): add buf->params to call of Init
12795 * screen.C: rename text->first to text->first_y
12797 * paragraph.C (breakParagraph): always set layout in the broken
12800 * lyxtextclass.C (Read): remove lowercase
12803 (delete_layout): ditto
12805 * lyxtext.h: rename first -> first_y
12807 * lyxlayout.C (Read): remove lowercase
12810 (obsoleted_by): ditto
12812 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12814 * buffer.C (insertErtContents): add params are to InsetERT
12815 (parseSingleLyXformat2Token): add code to check if a paragraphs
12816 layout really exist.
12817 (parseSingleLyXformat2Token): add params to several inset
12819 (asciiParagraph): remove lowercase, do the layout comparisons with
12822 * BufferView_pimpl.C (cursorNext): first -> first_y
12823 (resizeCurrentBuffer): first -> first_y
12824 (updateScrollbar): first -> first_y
12825 (scrollCB): first -> first_y
12826 (workAreaMotionNotify): first -> first_y
12827 (workAreaButtonPress): first -> first_y
12828 (checkInsetHit): first -> first_y
12829 (cursorPrevious): first -> first_y
12830 (cursorNext): first -> first_y
12831 (Dispatch): add buffer_->params to severl inset contructors
12833 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12835 * lyxlayout.C (Read): remove some debug info that I forgot.
12837 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12838 clean up the code slightly.
12839 (makeLinuxDocFile): ditto
12840 (makeDocBookFile): ditto
12842 * text2.C: layout as string
12844 * text.C: layout as string
12846 * paragraph_pimpl.C: layout as string
12848 * paragraph.[Ch]: layout as string
12850 * lyxtextclasslist.[Ch]: layout as string
12852 * lyxtextclass.[Ch]: layout as string
12854 * lyxtext.h: layout as string
12856 * lyxlayout.[Ch]: layout as string
12858 * lyx_cb.C: layout as string
12860 * bufferview_funcs.C: layout as string
12862 * bufferparams.C: layout as string
12864 * buffer.C: layout as string
12866 * LyXView.[Ch]: layout as string
12868 * LaTeXFeatures.[Ch]: layout as string
12870 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12872 * BufferView_pimpl.C: change current_layout to string, remove
12877 (workAreaButtonRelease): layout as string
12879 * BufferView2.C (unlockInset): adjust
12881 * vspace.C (asLatexCommand): use an explict temp variable.
12883 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12885 * Makefile.am: use FRONTEND_*
12887 2002-03-01 Juergen Vigna <jug@sad.it>
12889 * tabular.C (SetWidthOfMulticolCell): changed to something better
12890 I hope but still work in progress.
12891 (recalculateMulticolumnsOfColumn): renamed function from
12892 recalculateMulticolCells as it is more appropriate now.
12893 (SetWidthOfCell): calculate multicols better.
12895 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12897 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12899 * lyxfunc.C (processKeySym): print sequence also if it is
12900 `deleted' (complete)
12902 * kbsequence.C (print): print sequence even if it is deleted
12903 (complete would be a better word, actually).
12905 * lyxfunc.C (dispatch): print complete options after a prefix key
12907 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12909 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12911 * text2.C (setCharFont): eliminate setCharFont code duplication.
12913 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12915 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12916 LFUN_TABULAR_FEATURE (bug #177)
12918 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12920 * Makefile.am: remove figure.h
12922 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12924 * Bufferview_pimpl.C:
12936 * text2.C: remove #include "lyx_gui_misc.h".
12938 * LaTeX.C: added #include <cstdio>
12940 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12942 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12943 that the paragraph following this one can have.
12945 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12947 * vspace.C (asLatexCommand): fix bogus gcc warning
12949 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12951 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12953 * text2.C (setLayout): get rid of redundant code
12955 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12957 * text2.C (incDepth): make sure depth cannot be increased beyond
12960 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12962 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12963 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12965 * PainterBase.h (image):
12966 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12967 a LyXImage const *.
12969 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12973 * BufferView_pimpl.C:
12974 * BufferView_pimpl.h:
12994 * sp_spell.C: remove fig inset, and the crap house of
12995 cards that follows it
12997 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13002 * os2_errortable.h:
13003 * nt_defines.h: move .h into support/
13005 * vms_defines.h: remove
13007 * WorkArea.C: add space in debug output
13011 * buffer.C: add WITH_WARNINGS
13015 * bufferlist.C: s/retrive/retrieve/, add docs
13024 * chset.C: add docs
13026 * lyxgui.C: add ID to X error handler
13028 * lyxtestclass.c: fix typo
13030 2002-02-26 Juergen Vigna <jug@sad.it>
13032 * tabular_funcs.C (write_attribute): changed so that some default
13033 attributes are not written at all.
13034 (getTokenValue): set default values before trying to read the
13035 value so we have the return value always set as default if we don't
13036 find the token we search for.
13038 * tabular.C (Write): write bools as bools not as strings!
13040 2002-02-22 Juergen Vigna <jug@sad.it>
13042 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13043 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13045 * text.C (leftMargin): don't add an indent for paragraphs inside
13046 tabular cells (fix #208).
13048 2002-02-21 José Matos <jamatos@fep.up.pt>
13050 * tabular.C (docBook): fixed support for long tables.
13052 2002-02-20 Juergen Vigna <jug@sad.it>
13054 * text2.C (getFont): get the drawing font of the Inset if this
13055 paragraph is inside an inset (only important for InsetERT for now).
13057 * buffer.C (insertErtContents): use new lanugage params in ERT
13060 * CutAndPaste.C: commenting out seemingly uneeded code.
13062 2002-02-19 Allan Rae <rae@lyx.org>
13064 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13065 Iterators might be simple to use but they also get invalidated.
13066 (removeAutoInsets): renamed saved cursor tracking variables and added
13067 some comments to clarify what everything does.
13069 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13076 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13077 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13080 * vc-backend.h: remove #include "support/syscall.h"
13084 * converter.C: rearrange #includes in Lars' approved fashion.
13086 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13087 forward declare class Timeout in the header file.
13089 * XFormsView.C: changes due to the above.
13091 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13092 similar to LyXView.
13094 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13095 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13097 2002-02-18 José Matos <jamatos@fep.up.pt>
13099 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13102 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13104 * a lot of small ws changes
13105 * add a lot of using std::XXX
13106 * use std construcs some places where approp.
13107 * use some exisint stuff from lyxfunctional where approp.
13108 * Make file changes to use partial linking (lets test this now...)
13110 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13114 remove #include "support/syscontr.h" as it's redundant. Always has been.
13122 change Systemcalls::System to Systemcalls::Wait and
13123 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13124 No change of functionality, just reflects the stripped down Systemcalls
13127 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13129 * debug.[Ch]: add a GRAPHICS type to the enum.
13131 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13133 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13135 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13138 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13140 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13141 match the changes below.
13143 * text2.C (toggleInset): if there is not editable inset at cursor
13144 position, try to see if cursor is _inside_ a collapsable inset
13147 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13149 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13150 document menu has a nice checkbox
13152 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13154 * lyxlength.C (asLatexString): change PW to output as percent of
13157 * lengthcommon.C: change '%' to 't%'
13159 * lyxfunc.C (dispatch): a few comments from Martin
13161 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13165 * BufferView_pimpl.h:
13166 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13169 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13171 * vspace.C (inPixels): fix compiler warning
13173 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13175 * lyxfunc.C (getStatus): fix status message for disabled commands.
13177 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13179 * BufferView_pimpl.C: fix crash on close buffer
13180 during selection (#227)
13182 2002-01-27 Herbert Voss <voss@lyx.org>
13184 * buffer.C: link old Figure to new graphic inset
13186 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13188 * FontLoader.C (getFontinfo): Change the latex font names in order
13189 to match the names of type1inst.
13191 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13195 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13196 (extchanged): ditto
13198 (remove_files_with_extension): ditto
13199 (remove_file): ditto
13202 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13203 document is smaller than the work area height. Do not initialize
13204 static variables to 0.
13206 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13208 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13210 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13211 LFUN_LAYOUT_PARAGRAPHS.
13213 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13214 tabular. It is possible to provide a possible cell, which will
13215 typically be the actcell from the corresponding insettabular
13217 * lyxfunc.C (getStatus): small cleanup; disable
13218 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13221 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13223 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13225 * paragraph.C (startTeXParParams):
13226 (endTeXParParams): new methods. The LaTeX code to
13227 start/end paragraph formatting
13228 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13229 empty (fixes bug #200)
13231 * vspace.C (inPixels): adapt to the change below
13232 (inPixels): [later] more cleanups (remove unused variables)
13234 * lyxlength.C (inPixels): change to use a width and a height as
13237 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13239 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13240 Replaced with \paperwidth
13242 * DepTable.C (insert): add std:: qualifier
13244 2002-01-18 Allan Rae <rae@lyx.org>
13246 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13249 * text.C (drawInset): Turned out I didn't know enough about how
13250 rebreaking worked. This fixes most of the redraw problems. I see
13251 an occasional cursor trail when a line is broken now and the cursor
13252 placement can seem out by a few pixels also after a rebreak.
13254 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13256 * buffer.C (parseSingleLyXformat2Token): update because minipage
13257 width is now a LyXLength
13259 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13261 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13264 2002-01-17 Juergen Vigna <jug@sad.it>
13266 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13268 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13269 is set correctly and the inset is updated correctly.
13271 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13273 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13274 the beginning of the loop.
13276 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13278 * lyxrc.C: improve help for use_scalable_fonts
13280 2002-01-17 Allan Rae <rae@lyx.org>
13282 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13284 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13286 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13287 make sure to set their inset_owner to the right value (bug #171)
13289 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13292 * DepTable.C: Implement mtime checking to reduce time spent doing
13295 2002-01-16 Juergen Vigna <jug@sad.it>
13297 * tabular.C (GetAdditionalHeight): one of error fixed.
13299 * lyxrc.C (output): small fix in writing use_pspell.
13301 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13303 * sp_base.h: #include LString.h
13305 2002-01-16 Allan Rae <rae@lyx.org>
13307 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13308 Can someone check this please?
13310 * text.C (drawInset): It was possible that p.row would be removed by
13311 breakAgainOneRow upsetting a few other settings. There may be another
13312 small tweak possible by setting need_break_row = 0 when p.row has been
13313 removed but I don't know enough about the logic here.
13315 2002-01-15 Allan Rae <rae@lyx.org>
13317 * text.C (insertChar): removed conditional truism.
13319 * BufferView2.C (removeAutoInsets): More tweaks.
13320 cur_par_prev could be a stray pointer. Check for trailing empty line
13321 in case last line was cur_par and only had an error inset on it.
13323 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13325 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13328 * vc-backend.C (most methods):
13329 * exporter.C (Export):
13330 * converter.C (convert):
13332 * LyXSendto.C (SendtoApplyCB):
13333 * lyxfunc.C (dispatch):
13337 * lyx_cb.C (AutoSave):
13339 * BufferView_pimpl.C (MenuInsertLyXFile):
13340 * buffer.C (runChktex): use Buffer::filePath().
13342 * buffer.h: rename filename to filename_; rename filepath to
13343 filepath_ and make it private
13344 (filePath): new method
13346 * buffer.C (writeFile): use fileName()
13349 * lyx_main.C (init): fix starting of LyX when the binary is a
13350 link from so,ewhere else.
13352 * minibuffer.C: include <cctype> for isprint
13354 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13356 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13357 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13358 name clash with InsetCollapsable's width function.
13360 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13362 * lastfiles.C: include <iterator>
13364 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13366 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13369 * buffer.C (makeLaTeXFile): ditto.
13370 Also make loop operation more transparent.
13372 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13374 * ToolbarDefaults.C: remove trailing comma closing namespace.
13376 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13378 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13381 * trans.C (Load): comment out unused variable, allowed.
13383 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13385 * minibuffer.[Ch] (append_char): new method to recieve input from the
13386 drop-down completion browser. If a key was pressed, then recieve this
13387 char and append it to the existing string.
13388 (peek_event): modify the positioning data passed to the completion
13389 browser so that it can be placed above the minibuffer rather than below.
13390 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13392 * LyXAction.C (init): alloe error-next for readonly documents.
13394 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13397 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13399 * bufferlist.C (readFile): create the buffer _after_ checking that
13402 * lyxfunc.C (verboseDispatch): fix handling of arguments
13404 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13406 * lyxrc.C: use string::erase() instead of initializing to "".
13409 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13411 * BufferView_pimpl.h:
13412 * BufferView_pimpl.C:
13415 * text2.C: tell X when we have made a selection for copying
13417 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13419 * BufferView_pimpl.C (MenuInsertLyXFile):
13420 * lyxfunc.C (menuNew):
13422 (doImport): add shortcuts to directory buttons
13424 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13427 * lyxfunc.C (setStatusMessage):
13428 (getStatusMessage): new methods
13429 (getStatus):use setStatusMessage instead of setErrorMessage
13430 (dispatch): when function is disabled, set error message here
13431 [instead of in getStatus previously]
13433 * BufferView_pimpl.C (workAreaButtonRelease): update
13434 toolbar/menubar here too.
13436 2002-01-13 Allan Rae <rae@lyx.org>
13438 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13439 Now seems indestructible. Remaining task is to audit all other
13440 code affected by deleteEmptyParagraphMechanism. One small quirk
13441 left is that an empty document with an error in the preamble can
13442 be made to report an error but no error box appears. I don't know
13444 (removeAutoInsets): Improved comments.
13446 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13449 * Thesaurus.C: update for Aiksaurus 0.14
13451 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13453 * text2.C (firstParagraph): removed member function, all uses
13454 replaces with ownerParagraph
13455 (redoParagraphs): here
13456 (updateInset): here
13457 (toggleAppendix): here
13458 * BufferView2.C (insertErrors): here
13459 (setCursorFromRow): here
13461 2002-01-13 Allan Rae <rae@lyx.org>
13463 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13464 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13465 There is still a way to segfault this although you may have to do this
13466 multiple times: Have an InsetERT with an unknown command in it.
13467 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13468 <down-arrow>, <Enter> again, View->DVI, BANG!
13470 * text2.C (setCursor):
13471 (deleteEmptyParagraphMechanism):
13472 * lyxtext.h (setCursor):
13473 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13474 Making use of the return value may help fix other bugs.
13476 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13478 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13480 * LyXView.C (updateMenubar): call MenuBar::update here
13481 (updateToolbar): but not here
13482 (showState): do not update toolbar/menubar
13484 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13485 should need to care about that.
13487 * lyxfunc.C (verboseDispatch): simplify a bit
13488 (getStatus): have a version which takes a pseudoaction, and
13489 another which requires a (kb_action,string).
13491 * LyXAction.C (retrieveActionArg): make it work also when action
13492 is not a pseudo-action.
13493 (getActionName): simplify a bit
13496 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13498 * lyxfunc.C (verboseDispatch): new families of methods with
13499 several ways to specify a command and a bool to indicate whether
13500 the command name and shortcut should be displayed in minibuffer
13501 (eventually, we could extend that to a finer bitmask like
13502 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13503 (dispatch): the pristine dispatch command which just, well,
13504 dispatchs! Note it still sets its result to minibuffer; I'm not
13507 * lyxfunc.h: remove setHintMessage
13509 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13511 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13513 * BufferView_pimpl.C (specialChar): delete new inset if we have
13514 not been able to insert it.
13516 * kbmap.C: revert to using int instead of kb_action, since all we
13517 are dealing with is pseudo-actions.
13519 * LyXAction.C (searchActionArg): change to return int instead of
13520 kb_action, since the result is a pseudoaction.
13522 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13524 * buffer.C (insertErtContents): Fix (partially) the font bug.
13526 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13528 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13529 as the other one is broken on my machine!
13531 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13534 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13536 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13538 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13539 reflect their actual use. Provide compatibility code for older lyxrc
13542 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13544 change names of popup font variables in line with the changes to lyxrc.C
13546 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13548 * buffer.C (asciiParagraph): avoid outputing a word twice after
13551 * lyxrc.C (getDescription): document that document_path and
13552 template_path can be empty.
13554 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13556 * LaTeXFeatures.C (getMacros):
13557 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13559 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13561 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13563 (getPackages): rename feature "floats" to "float". Use an array to
13564 iterate over 'simple' features (i.e. just a \usepackage). Add
13565 handling of "amsmath" (renamed from "amsstyle").
13567 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13569 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13572 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13574 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13575 FuncStaus::FuncStatus & FuncStaus::some_method().
13577 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13579 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13580 of the func_satus stuff. Edited and massaged in various ways by
13583 * lyxfunc.C (getStatus): use FuncStatus
13585 2002-01-08 Juergen Vigna <jug@sad.it>
13587 * text.C (nextBreakPoint): use function Inset::isChar().
13589 * paragraph.C (TeXOnePar): use function
13590 Inset::forceDefaultParagraphs.
13592 * buffer.C (latexParagraphs): use function
13593 Inset::forceDefaultParagraphs.
13595 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13597 * lyx_gui.C (init): set the style of the menu popups to
13598 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13600 2002-01-07 Juergen Vigna <jug@sad.it>
13602 * text.C (setHeightOfRow): small fix
13603 (prepareToPrint): don't look at alignment if we don't have the place
13606 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13608 * box.C: New file. Move the Box methods and functions out of box.h,
13609 following Lars' suggestion.
13611 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13613 * box.h: #include "support/LOstream.h", needed for inlined function.
13616 * lyxtextclasslist.C: added some using std declarations.
13618 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13620 * box.h: make signed dimensions to allow insets wider than
13621 the screen (bug #162)
13623 * BufferView_pimpl.C: add some insetHit debug
13625 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13627 * vc-backend.C: add FIXME
13629 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13631 * lyxfunc.C (getStatus): enable code for showing math font status
13634 2002-01-07 Juergen Vigna <jug@sad.it>
13636 * text.C (nextBreakPoint): removed debug output not needed anymore.
13638 2002-01-06 Juergen Vigna <jug@sad.it>
13640 * text.C (nextBreakPoint): fixed up this function we had this bug
13641 since ever but now hopefully we break row better.
13642 (insertChar): we have to check if an inset is the next char as it
13643 could now happen that a large inset is causing a break.
13645 2002-01-05 Juergen Vigna <jug@sad.it>
13647 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13648 if it doesn't like to be drawed.
13650 2002-01-04 Juergen Vigna <jug@sad.it>
13652 * BufferView2.C (lockInset): forgot to set a cursor.
13654 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13656 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13658 * FormMathsPanel.C:
13661 * form_maths_panel.C:
13662 * form_maths_panel.h:
13663 * form_maths_panel.fd: implemented sub- and super- buttons in math
13666 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13667 (or ^ space) to be used as in TeX (req'd by André).
13669 * lyxfunc.C: Allow ^ and _ again to be used both as
13670 super/subscript (mathed) and as themselves (in text).
13672 2002-01-03 Allan Rae <rae@lyx.org>
13674 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13675 "LyX" or the filename of the current buffer if it has one. This is a
13676 modified form of John Levon's patch.
13678 * XFormsView.C (setWindowTitle): also set icon title.
13680 * LyXView.h (setWindowTitle): signature changed.
13681 * XFormsView.h (setWindowTitle): ditto.
13683 2002-01-02 Juergen Vigna <jug@sad.it>
13685 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13687 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13689 * screen.C (topCursorVisible): introduce a temp var for
13690 text->cursor.row(), handle the case where this row is null. (kindo
13693 * text2.C (setCursor): add a couple of asserts.
13695 * paragraph.h (inset_iterator): add -> operator
13697 * paragraph.[Ch] (autoDeleteInsets): remove member function
13699 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13700 cursor pos correctly and handle inset deletion by itself.
13701 (insertErrors): move iterator declaration out of for expression
13703 * lyxtextclass.C: add <algorithm>
13705 * Makefile.am: added the new files to sources, removed layout.C
13707 * layout.C: removed file
13709 * layout.h: remove LYX_DUMMY_LAYOUT
13711 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13715 * lyxtextclass.[Ch]:
13716 * lyxtextclasslist.[Ch]: new files
13718 * include order changes to a lot of files, also changes because of
13721 2001-12-27 Juergen Vigna <jug@sad.it>
13723 * buffer.C (asciiParagraph): more fixes.
13725 * tabular.C (ascii): make ascii export support export of only the
13726 data separated by a column-delimiter.
13727 (ascii): better support for ascii export.
13729 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13731 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13733 * tabular_funcs.C: use a "using std::getline" instead of the
13734 previous fix from Angus (necessary for cxx + lyxstring)
13736 2001-12-24 Juergen Vigna <jug@sad.it>
13738 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13740 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13741 problems. First check a minipage also if we have some ert-contents
13742 (not only on par->size(), second set the right depth of the paragraph
13743 on the relink to the root-paragraph-list!
13745 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13746 which then did not anymore update the main paragraphs on undo/redo!
13748 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13750 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13751 code. Support all font-changing funcs (even those which are not in
13752 menu currently). Support for reporting font settings in
13753 mathed (disabled until Andre provides a function on mathed's side).
13755 * func_status.h (toggle): small helper function to set toggle
13758 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13760 * tabular_funcs.C: getline -> std::getline
13762 2001-12-21 Juergen Vigna <jug@sad.it>
13764 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13765 accessed and could be 0 (I couldn't generate this but it seems
13768 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13770 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13771 * tabular_funcs.h: here and include iosfwd
13773 2001-12-20 Juergen Vigna <jug@sad.it>
13775 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13776 inside inset but undo_par was.
13778 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13780 * Thesaurus.C: always include <config.h> in sources.
13784 * box.h: do not include <config.h> in header files
13786 * text.C (paintLastRow): remove unused variable
13788 * text.C (transformChar):
13790 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13792 * Painter.C (text):
13793 * font.C (width): rewrite to use uppercase() instead of
13796 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13798 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13800 * lyxfind.C: clean up of find failure position change
13802 2001-12-20 Juergen Vigna <jug@sad.it>
13804 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13806 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13807 (TeXRow): added to LaTeX a single tabular row.
13808 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13809 (Latex): simplified and finally good LT-h/f support.
13810 (various_functions): just small adaptions for LT-h/f support.
13812 * tabular_funcs.[hC]: added and moved here all not classfunctions
13815 2001-12-19 Juergen Vigna <jug@sad.it>
13817 * tabular.[Ch]: better support for longtabular options (not finished
13820 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13822 * text.C (paintLastRow): use the label font instead of the font of
13823 the last character to compute the size of *_BOX. This makes more
13824 sense and avoids a crash with empty paragraphs.
13825 Use Painter::rectangle to draw EMPTY_BOX.
13827 2001-12-19 Juergen Vigna <jug@sad.it>
13829 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13830 the paragraphs if the replaced paragraph is not the first one!
13831 Tried to delete not used paragraphs but does not work yet so for
13832 now it's inside #ifdef's and by default off!
13834 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13836 * MenuBackend.C: include "lyx_main.h" instead of declaring
13837 lastfiles (actually was declared as LastFiles* instead of a
13840 2001-12-17 Juergen Vigna <jug@sad.it>
13842 * tabular.C (AppendColumn): applied John's fix
13844 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13848 * BufferView_pimpl.h:
13849 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13852 * box.h: new start of class for above
13854 * lyxfunc.C: ignore space-only minibuffer dispatches.
13855 Show the command name when it doesn't exist
13857 * minibuffer.C: don't add empty lines to the history
13859 * minibuffer.C: add a space on dropdown completion
13861 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13863 * text.C: fix line above/below drawing in insets
13865 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * lyxlength.C (LyXLength): Initialize private variables.
13869 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13871 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13872 when inserting error insets.
13874 2001-12-13 Juergen Vigna <jug@sad.it>
13876 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13877 actually sometimes the before-paragraph.
13878 (setUndo): don't clear the redostack if we're not actually undoing!
13880 2001-12-06 Juergen Vigna <jug@sad.it>
13882 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13883 and fixed redoing of main paragraph, so we can use it now ;)
13885 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13887 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13889 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13892 2001-12-13 André Pönitz <poenitz@gmx.net>
13895 * undo_func.C: minor cleanup
13897 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13899 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13900 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13901 font in urw-fonts package which is marked as -urw-fontspecific and
13902 does not work (incidentally, changing the encoding in the
13903 fonts.dir of this package to -adobe-fontspecific fixes the
13906 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13907 is a crash when undoing first paragraph (Juergen, please take a
13908 look). THis does not mean the undo fix is wrong, just that it
13911 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13912 the (Paragraph*) version when needed instead of duplicating the
13915 * text.C (workWidth): use Inset::parOwner to find out where the
13916 inset has been inserted. This is a huge performance gain for large
13917 documents with lots of insets. If Inset::parOwner is not set, fall
13918 back on the brute force method
13920 * paragraph_pimpl.C (insertInset):
13921 * paragraph.C (Paragraph):
13922 (cutIntoMinibuffer): set parOwner of insets when
13923 inserting/removing them
13925 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13927 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13933 * mathed/formulabase.C:
13934 * mathed/math_cursor.[Ch]:
13935 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13938 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13940 * lyxlength.[Ch] (operator!=): new function
13942 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13944 * text.C (workWidth): use Inset::parOwner to find out where the
13945 inset has been inserted. This is a huge performance gain for large
13946 documents with lots of insets. If Inset::parOwner is not set, fall
13947 back on the brute force method
13949 * paragraph_pimpl.C (insertInset):
13950 * paragraph.C (Paragraph):
13951 (cutIntoMinibuffer): set parOwner of insets when
13952 inserting/removing them
13954 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13956 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13958 * tabular-old.C (getTokenValue):
13959 * tabular.C (getTokenValue):
13960 (write_attribute): new versions for LyXLength
13961 (everywhere): adjust the use of widths
13963 * tabular.h: change the type of widths from string to LyXLength
13965 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13967 * paragraph.C: fixed missing line number count when exporting
13968 Environments to LaTeX file
13970 * buffer.C: added informational message for checking line numbers.
13972 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13974 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13975 paragraph, do the 'double space' part, but not the 'empty
13978 * text.C (workWidth): small optimization
13979 (getLengthMarkerHeight): use minimal size for negative lengths.
13981 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13983 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13985 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13987 2001-12-11 André Pönitz <poenitz@gmx.net>
13990 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13992 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13994 * text2.C: keep selection on a setFont()
13996 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13998 * lyx_cb.C: another bv->text misuse, from insert label
14000 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14003 * kbsequence.C: re-instate nmodifier mask
14005 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14007 * lyx_main.h: make lyxGUI private.
14009 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14011 * lyxfind.C: place the cursor correctly on failed search
14013 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14015 * text.C (getLengthMarkerHeight): for small heights, the arrows
14016 are not always on top/bottom of the text
14017 (drawLengthMarker): smaller arrows; take the left margin in
14018 account; draw also vfills.
14020 (paintLastRow): remove special code for vfill and standard spaces,
14021 since everything is handled in drawLengthMarker now.
14023 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14025 * buffer.C (insertErtContents): try to handle font and language
14026 interaction a bit better.g
14028 * ColorHandler.C (updateColor): change the hash to cover the whole
14029 LColor enum, ws cleanup
14030 (getGCLinepars): ditto
14031 (getGCLinepars): only lookup in the linecache once.
14033 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14035 * iterators.C (operator++): Make the iterator more robust
14037 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14039 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14041 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14044 * text.C: better added space drawing
14046 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14049 * BufferView2.C: fix layout combo update on inset unlock
14051 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14053 * Makefile.am: don't compile unused files
14055 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14059 * LyXAction.C: remove old LFUN_LAYOUTNO
14061 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14063 * paragraph_pimpl.h:
14064 * paragraph_pimpl.C: isTextAt() doesn't need font param
14066 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14069 * lyxlex.C: little cleanup
14071 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14073 * BufferView_pimpl.C: fix insertAscii for insets
14075 2001-12-05 Juergen Vigna <jug@sad.it>
14077 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14078 set the right font on the "multi" paragraph paste!
14080 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14086 * lyxlength.C: remove out-commented code.
14088 * BufferView_pimpl:
14102 * vc-backend.C: change "while(" to "while ("
14104 * lyxlength.[Ch]: add zero function to check if length is zero or
14106 * lyxgluelength.C: use it
14108 2001-12-05 Allan Rae <rae@lyx.org>
14110 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14111 Works for 2.95.3, from what I understand of Garst's reports this should
14112 work for other g++ versions. We're screwed if the abs(int) definition
14113 changed between bugfix releases of gcc.
14115 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14117 * text.C: fix chapter label offset !
14119 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14122 * text.C: fix hfill at end of line, clean up
14124 2001-12-04 Juergen Vigna <jug@sad.it>
14126 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14127 that we force an update of the inset and it's owners if neccessary.
14129 2001-12-03 Juergen Vigna <jug@sad.it>
14131 * text.C (rowLast): simplified code
14133 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14135 * lyxfunc.C: fix show options on timeout
14137 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14139 * screen.C (topCursorVisible): scroll half a page when the cursor
14140 reached top of bottom of screen
14142 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14144 * minibuffer.C: deactivate on loss of focus
14146 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14148 * vspace.[Ch] (operator!=): add operator.
14150 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14152 * BufferView_pimpl.C: refuse to open an inset when
14153 there's a selection.
14155 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14157 * BufferView_pimpl.C: allow to click on RHS of full row insets
14159 2001-11-30 Juergen Vigna <jug@sad.it>
14161 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14162 insets for undo reasons.
14164 2001-11-28 André Pönitz <poenitz@gmx.net>
14166 * vspace.[Ch]: cosmetical changes
14168 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14178 * kbsequence.C: part re-write of old kb code
14181 * WorkArea.C: remove Lgb_bug_find_hack
14183 2001-11-30 José Matos <jamatos@fep.up.pt>
14185 * buffer.C (makeDocBookFile): add a comment to point a hack.
14186 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14187 Fixed a double write of labels.
14189 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14192 * LaTeX.h Fixed bug in LaTeX class where it would not
14193 re-run latex if no depfiles were changed, but the .dvi was removed.
14195 2001-11-28 André Pönitz <poenitz@gmx.net>
14197 * all the files from the change on 2001/11/26:
14198 use lyx::layout_type instead of LyXTextClass::size_type
14199 use lyx::textclass_type instead of LyXTextClassList::size_type
14201 2001-11-29 Juergen Vigna <jug@sad.it>
14203 * text.C: added support for paragraph::isFreeSpacing()
14205 * buffer.C: same as above
14207 * paragraph.h: inserted isFreeSpacing() function to enable
14208 FreeSpacing inside InsetERT.
14210 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14211 of the paragraph's in the cut/copy buffer to 0!
14213 * text2.C (removeRow): remove the assert as it can!
14215 * lyxtext.h: added helper function firstRow returning firstrow and
14216 made firstrow private again.
14218 * BufferView2.C (lockInset): don't relock if we're already locked!
14220 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14221 the only paragraph.
14222 (removeRow): added Assert::(firstrow)
14224 * debug.C: forgot to add INSETTEXT here.
14226 2001-11-28 Juergen Vigna <jug@sad.it>
14228 * sp_spell.C (initialize): changed error text to more general
14229 spellchecker command use (not only ispell!)
14231 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14233 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14235 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14237 * vspace.C: initialise lyxgluelength on failure
14239 2001-11-28 Allan Rae <rae@lyx.org>
14241 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14242 declaration & definition that looks like a function declaration.
14244 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14246 * BufferView2.C (copy):
14247 (copyEnvironment): do not clear the selection when doing a copy.
14249 * text.C (paintFirstRow): compilation fix
14251 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14253 * tabular.C (Latex): correct line count when writing latex.
14255 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14257 * paragraph_pimpl.h:
14258 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14261 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14265 * LColor.C: change vfillline->added_space
14267 * text.C: add markers and text for added space
14269 * vspace.C: fix comment
14271 2001-11-28 André Pönitz <poenitz@gmx.net>
14273 * paragraph.C: whitespace changes
14274 * all the other files from the change on 2001/11/26:
14275 change *::pos_type into lyx::pos_type
14277 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14279 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14280 language of the document when inserting error insets.
14282 2001-11-26 André Pönitz <poenitz@gmx.net>
14284 * BufferView_pimpl.[Ch]:
14292 * paragraph_pimpl.[Ch]:
14295 * text2.C: reduce header dependencies, introduce type for positions
14297 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14299 * <various>: change to use Alert.h
14301 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14303 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14304 when encountering an unknown token.
14305 (readLyXformat2): Show an error message if there were unknown tokens.
14307 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14310 * BufferView_pimpl.C:
14314 * text2.C: use par->isInset()
14316 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14318 * paragraph_pimpl.h:
14319 * paragraph_pimpl.C: cleanup
14321 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14323 * text2.C (removeRow):
14324 * text.C (setHeightOfRow): remove useless (and costly) call to
14327 2001-11-20 Allan Rae <rae@lyx.org>
14329 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14330 Now need Inset*::checkInsertChar() to return true for appropriate
14331 cases so that the characters in the minibuffer will actually be
14334 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14336 * text.C: change the order of the includes.
14337 (workWidth): initialize it at once.
14338 (workWidth): make maxw unsigned
14339 (setHeightOfRow): remove unused variable (inset)
14340 (selectSelectedWord): remove unused variable (inset)
14341 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14343 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14345 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14346 server is not running.
14348 (closeConnection): add debug info when server is disabled.
14350 * ColorHandler.C (getGCForeground): send debug message to GUI
14353 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14355 * kbmap.C (bind): modify because return conventions of
14356 kb_sequence::parse have changed.
14358 * kbsequence.C (parse): only ignore spaces and not any stupid
14359 control character. This avoids tests like s[i] <= ' ', which are
14360 guaranteed to fail with 8bit characters and signed chars.
14361 Change return code to string::npos when there have been no error
14362 (0 was a bad idea when error is at first character)
14364 2001-11-14 José Matos <jamatos@fep.up.pt>
14367 * buffer.C (simpleDocBookOnePar): removed unused argument.
14369 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14371 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14372 insets which are part of a word. Paragraph::isLetter takes care of
14373 that now. Use Paragraph::isInset to identify insets.
14374 (selectSelectedWord): do not test for hyphenation break.
14376 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14377 that protected spaces are considered as spaces.
14379 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14382 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14385 * lyxserver.C: fix it. and small cleanup.
14387 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14389 * BufferView_pimpl.C: use inline helpers
14392 * LaTeXFeatures.C: fix typos
14395 * Spacing.C: move spacing_string into class
14397 * ToolbarDefaults.C: move stuff into namespace anon
14399 * layout.h: update enum
14401 * lyxfunc.C: use better debug
14403 * minibuffer.h: fix typo
14407 * WorkArea.C: add and use Debug::WORKAREA
14411 * text2.C: code re-organisation, inline helpers
14413 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14415 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14416 std::vector.empty().
14418 2001-11-09 Allan Rae <rae@lyx.org>
14420 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14421 '\n's after tables. Tabular and ERT inset work now makes this no
14424 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14427 * minibuffer.C: fix crash, improve drop-down completion
14429 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14432 * lyxserver.C: invalidate fd's when doing endPipe()
14434 2001-11-08 José Matos <jamatos@fep.up.pt>
14436 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14437 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14440 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14442 2001-11-07 José Matos <jamatos@fep.up.pt>
14445 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14448 * buffer.C (sgmlOpenTag):
14449 * buffer.C (sgmlCloseTag): removed debug info.
14451 * buffer.h (sgmlOpenTag):
14452 * buffer.h (sgmlCloseTag): made public.
14454 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14456 * buffer.C (saveParamsAsDefaults):
14457 * lyx_cb.C (MenuLayoutSave): remove
14459 * LyXAction.C (init):
14461 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14463 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14465 * buffer.C (setPaperStuff): removed from here...
14467 * bufferparams.C (setPaperStuff): ... and moved there.
14469 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14473 * XFormsView.C: add support for drop-down completion
14475 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14477 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14480 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14482 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14485 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14487 * lyx_main.C: change ref to known bugs
14489 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14491 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14492 to work around older babel problems.
14494 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14496 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14498 2001-10-24 Juergen Vigna <jug@sad.it>
14500 * tabular-old.C (ReadOld): below variable changes reflected.
14502 * tabular.[Ch]: added ltType struct for longtable header/footer
14503 defines and changed all instances where they are used. Added
14504 future support for double top/bottom rows.
14506 2001-10-24 José Matos <jamatos@fep.up.pt>
14508 * buffer.h (docbookHandleCaption):
14509 * buffer.C (docbookHandleCaption): removed unused function.
14510 (makeDocBookFile): moved docbook supported version to v4.1.
14512 2001-10-24 José Matos <jamatos@fep.up.pt>
14515 * tabular.C (docbookRow): new function to export docbook code of a row.
14516 (DocBook): now honors the longtable flags.
14518 2001-10-23 José Matos <jamatos@fep.up.pt>
14521 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14522 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14524 * buffer.C (makeLinuxDocFile):
14525 (makeDocBookFile): reworked the preamble, more clean, and with
14526 support for lyx defined entities. Changed the document declaration
14527 to be more XML friendly.
14529 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14530 if we need to output XML that should be done with a filter.
14532 2001-10-22 Juergen Vigna <jug@sad.it>
14534 * sp_pspell.h (class PSpell): add alive function needed in the
14535 controller to see if the spellchecker could be started.
14537 2001-10-22 Juergen Vigna <jug@sad.it>
14539 * buffer.C (insertStringAsLines): modify the font for inserting
14540 chars in certain conditions by calling checkInsertChar(font).
14542 2001-10-19 Juergen Vigna <jug@sad.it>
14544 * text.C (workWidth): use getRow instead of wrong algorithm.
14545 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14547 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14552 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14554 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14556 * text.C (workWidth): do not search for the exact row when
14557 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14558 optimization for big documents.
14560 2001-10-18 Juergen Vigna <jug@sad.it>
14562 * text.C (workWidth): new function with added Inset * parameter.
14564 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14566 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14568 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14569 change return type of getColumnNearX.
14572 * text.C (changeRegionCase): use uppercase/lowercase instead of
14575 (rightMargin): simplify code by factoring out the uses of
14580 (appendParagraph): use Paragraph::size_type
14582 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14584 * vspace.C (asLatexString): add a missing break
14586 2001-10-15 Herbert Voss <voss@perce.de>
14588 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14590 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14592 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14595 2001-10-10 André Pönitz <poenitz@gmx.net>
14597 * lyxfunc.C: removed greek_kb_flag.
14599 2001-10-10 Herbert Voss <voss@perce.de>
14601 * lyx_main.C: delete global string help_lyxdir.
14603 2001-10-09 Herbert Voss <voss@perce.de>
14605 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14607 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14609 * lyx_main.C: added global string help_lyxdir.
14611 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14613 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14615 * lyxrc.C (set_font_norm_type): support iso8859-4
14617 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14619 * LaTeX.C (deplog): add another regex for MikTeX
14621 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14623 * lyxrc.C (set_font_norm_type): support iso8859-3
14625 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14627 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14629 * LaTeXFeatures.C: remove special case of french and index
14631 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14632 before \begin{document}). This solves several incompatibilities.
14634 2001-10-03 Garst Reese <reese@isn.net>
14636 * lyx_cb.C: change CheckTex error msg.
14638 2001-10-03 José Matos <jamatos@fep.up.pt>
14640 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14642 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14644 * .cvsignore: update
14646 * lyx_main.C (commandLineVersionInfo): use new style version info.
14648 * buffer.C (writeFile):
14650 (makeLinuxDocFile):
14651 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14653 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14655 * version.h: update to use stuff in version.C
14657 * version.C.in: new file. Contains version information determined
14658 at compile time. This is a merging of version.h and
14661 2001-10-03 Juergen Vigna <jug@sad.it>
14663 * BufferView_pimpl.C (update): don't change "dirty" status in
14666 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14668 * WorkArea.C (c-tor): re-position version string slightly.
14670 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14672 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14673 revert to previous code.
14675 WorkArea.[Ch]: (show, destroySplash): methods removed.
14677 WorkArea.C: rework code so that it's an amalgam of the codes before and
14678 after the splash screen was moved to WorkArea.
14680 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * vspace.C (inPixels):
14686 * buffer.C (insertStringAsLines):
14687 (asciiParagraph): fix types to be large enough
14689 * lyxlex_pimpl.h: change member status from short to int
14691 * layout.h: fix type of endlabeltype
14694 * kbsequence.C (parse): change return type to string::size_type
14696 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14699 * Bullet.C (bulletSize):
14700 (bulletEntry): do not use short ints as parameters
14702 * BufferView2.C (insertLyXFile): change a char to an int.
14704 * WorkArea.C (WorkArea): remove unneeded floats in computation
14706 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14708 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14710 * paragraph.C (asString): Do not ignore newline/hfill chars when
14711 copying to the clipboard.
14713 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14715 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14716 after a multi-line inset.
14718 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14720 * paragraph.C (validate): Set NeedLyXFootnoteCode
14722 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14724 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14725 and decrease-error to decrease.
14727 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14729 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14730 it more readable (should be equivalent)
14732 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14734 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14736 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14738 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14739 of a cursor (row, etc.) after a character has been deleted
14740 (deleteEmptyParagraphMechanism): call the method above on _all_
14741 cursors held by the LyXText when a double space has been
14744 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14746 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14748 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14750 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14751 background. Use greyOut() and the new show() methods to toggle between
14752 the foreground and background. Add code to remove the splash after
14753 its initial showing.
14755 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14756 (create_forms): no longer call Dialogs::showSplash.
14758 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14760 * .cvsignore: add version_info.h
14762 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14764 * version_info.h.in: new file
14766 * Makefile.am: add version_info.h.in
14768 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14769 version_info.h instead of VERSION_INFO
14771 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14773 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14774 The ERT inset now returns string().
14776 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14778 * lyxtext.h, text.C (selectNextWord): renamed as
14779 selectNextWordToSpellcheck.
14781 * text.C (selectNextWordToSpellcheck): Modified to not select
14782 words inside an ERT inset.
14784 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14786 * lyx_cb.C (MenuLayoutSave): change a bit the question
14788 * sp_base.h: include <sys/types.h>
14790 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14792 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14794 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14796 * several files: fix typos in user-visible strings
14798 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14800 * text2.C (pasteSelection): do not set the selection, since it
14801 will be cleared later. Actually, the intent was to fix the way the
14802 selection was set, but I figured rmoving the code was just as good.
14804 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14806 * FontLoader.C (available): Check if font is available without
14809 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14811 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14813 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14815 * lyxrc.[Ch]: added display_graphics variable and associated code.
14817 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14819 * bufferparams.C (hasClassDefaults): new method. Returns true if
14820 the buffer parameters correspond to known class defaults
14822 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14824 * XFormsView.C (show): set minimum size to the main window.
14826 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14828 * text2.C (copySelection):
14830 * lyxfind.C (LyXReplace):
14831 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14832 LyXText::selectionAsString.
14834 * paragraph.C (asString): add "label" argument to the second form
14836 * text2.C (selectionAsString): add "label" argument and pass it to
14837 Paragraph::asString.
14839 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14841 * lyx_main.C (commandLineHelp): remove version information
14843 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14845 * lyx_main.C: add -version commandline option
14847 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14849 * paragraph.h: make the optional constructor arg required instead.
14850 some modifications to other files because of this.
14852 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14854 * lyxserver.C (C_LyXComm_callback): make it static
14856 * lyx_main.C (error_handler): make it static
14858 * lyx_gui.C (LyX_XErrHandler): make it static
14860 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14862 * WorkArea.C: make the extern "C" methods static.
14864 * Makefile.am (lyx_LDADD): simplify
14866 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14868 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14869 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14871 * LyXAction.C (init):
14872 * lyxfunc.C (dispatch): associated code removal.
14874 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14876 * lyxfont.h (isSymbolFont): shut off warning
14878 * text.C (setHeightOfRow):
14879 (getVisibleRow): fix crash with empty paragraphs which have a
14882 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14884 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14887 2001-09-04 José Matos <jamatos@fep.up.pt>
14890 * tabular.C (docbook): rename docBook method to docbook.
14892 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14894 * Makefile.am: add dependencies to main.o.
14896 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14898 * FontLoader.C (available): Return false if !lyxrc.use_gui
14900 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14902 * FontInfo.C (query):
14903 * converter.C (view):
14904 * importer.C (Import):
14905 * exporter.C (Export): Can not -> cannot.
14907 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14909 * BufferView_pimpl.C: allow to create index inset even if
14912 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14914 * buffer.C (getLists): replace boost::tie code with an explicit pair
14915 as boost::tie can break some compilers.
14917 * iterators.h: Added a std:: declaration to the return type of
14920 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14922 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14925 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14927 * iterators.[Ch]: New files. Provide paragraph iterators.
14929 * buffer.C (changeLanguage): Use paragraph iterators.
14930 (isMultiLingual): ditto
14932 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14934 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14936 * FontLoader.C: Support for cmr font.
14938 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14940 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14941 (available): New method.
14943 * FontInfo.C (getFontname): Use scalable fonts even when
14944 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14947 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14949 * converter.C (Formats::view): reverted! Incorrect fix.
14951 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14953 * converter.C (Formats::view): only output the -paper option
14954 if the dvi viewer is xdvi, thereby fixing bug #233429.
14956 2001-08-23 Herbert Voss <voss@perce>
14958 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14960 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14962 * Spacing.h (Spacing): Set space to Default on in the default
14965 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14967 * vc-backend.h (RCS::versionString): add RCS to version
14968 (CVS::versionString): add CVS to version
14970 * vc-backend.C (scanMaster): do not add CVS to version.
14971 (scanMaster): do not add RCS to version
14973 * lyxvc.C (versionString): new method
14975 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14977 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14979 * Spacing.C (set): initialize fval
14981 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14983 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14986 2001-08-16 Juergen Vigna <jug@sad.it>
14988 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14990 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14992 * BufferView_pimpl.C:
14995 * text2.C: setParagraph takes linespacing now
14997 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14999 * LyxAction.C: add internal LFUN_CITATION_INSERT
15001 * LyXView.C: actually apply fix
15003 * bufferlist.C: fix open non-existent file
15005 * lyxfind.C: fix indentation
15007 * lyxfunc.C: remove unneeded assert, fix typo
15009 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15011 * MenuBackend.C: use "Floatname List"
15013 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15015 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15016 when converting LaTeX layout to insetERT.
15017 Generate a non-collapsed float when reading old float
15019 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15021 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15024 2001-08-13 Juergen Vigna <jug@sad.it>
15026 * text.C (fill): return 0 instead of 20 as this seems to be the more
15029 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15031 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15034 2001-08-13 Juergen Vigna <jug@sad.it>
15036 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15038 (SearchBackward): comment out the unlocking of the inset_owner this
15039 should not be needed!
15041 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15043 * Many files: Remove inherit_language, and add latex_language
15045 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15046 collapsible insets.
15048 2001-08-10 Juergen Vigna <jug@sad.it>
15050 * text.C (prepareToPrint): fixed hfill-width in draw!
15052 * BufferView2.C (selectLastWord): save the selection cursor as this
15053 now is cleared in the function LyXText::clearSelection!
15055 2001-08-08 Juergen Vigna <jug@sad.it>
15057 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15058 BACKSPACE type functions.
15060 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15061 is only cutted from the document but not put in the cut-buffer, where
15062 still the old stuff should be.
15064 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15066 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15068 * tabular.C (SetWidthOfCell): fixed special case where the width
15070 (LeftLine): handle '|' in align_special.
15072 (LeftAlreadyDrawed): ditto
15073 (SetWidthOfCell): ditto
15075 2001-08-07 Juergen Vigna <jug@sad.it>
15077 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15079 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15081 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15082 * lyxlex.[hC]: ditto
15084 2001-08-06 Juergen Vigna <jug@sad.it>
15086 * text.C (getVisibleRow): fix up row clearing a bit.
15088 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15090 * minibuffer.C: make sure the X server sees the changes in the input.
15092 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15094 * paragraph.C (getFont): split into...
15095 (getLabelFont): this
15096 (getLayoutFont): and this
15097 * paragraph_pimpl.C (realizeFont): calling this
15099 * text2.C (getFont): split into...
15100 (getLayoutFont): this
15101 (getLabelFont): and this
15102 (realizeFont): all three calling this
15104 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15107 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15109 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15111 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15113 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15114 layouts from the Quote inset insertion.
15116 2001-08-03 Juergen Vigna <jug@sad.it>
15118 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15120 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15121 only if status not is already CHANGED_IN_DRAW (second level).
15123 * text.C (draw): don't set the need_break_row when inside an
15126 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15128 * buffer.C (parseSingleLyXformat2Token): handle more latex
15131 * bufferview_funcs.[hC]: change function names to
15132 begin with small char, adjust other files.
15134 2001-08-02 André Pönitz <poenitz@gmx.net>
15137 BufferView_pimpl.C: remove broken special code for math-greek
15139 2001-08-02 Juergen Vigna <jug@sad.it>
15141 * BufferView_pimpl.C (update): redone this function so that we
15142 update the text again if there was a CHANGE_IN_DRAW.
15144 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15145 (drawFromTo): added a new internal bool which is used by draw() and
15147 (general): some cursor drawing problems fixed.
15149 2001-08-01 Juergen Vigna <jug@sad.it>
15151 * lyxfind.C (LyXFind): fixed
15152 (SearchForward): ditto
15153 (SearchBackward): ditto
15155 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15156 spurius drawing of the cursor in the main area.
15158 * text2.C (status): small fix which could lead to a segfault!
15159 (clearSelection): remove unneeded BufferView param.
15161 2001-08-01 André Pönitz <poenitz@gmx.net>
15163 * lyxfunc.C: small change due to changed mathed interface
15165 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15167 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15169 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15171 * lyxfunc.c: fail gracefully if file doesn't exist
15176 * BufferView_pimpl.C: IsDirWriteable() proto changed
15178 * LyXView.C: fix updateWindowTitle() to store the last title
15180 2001-07-31 Juergen Vigna <jug@sad.it>
15182 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15183 the font (wrong since using of Paragraph::highestFontInRange).
15185 * paragraph.C (highestFontInRange): added a default_size parameter.
15187 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15188 (setHeightOfRow): reformat
15190 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15192 * converter.[hC] + affected files: move to (inital-char)lowercase
15195 * ParagraphParameters.C (ParagraphParameters): remove commented code
15197 * PainterBase.[Ch]: remove commented code
15199 * LaTeXFeatures.h: add "bool floats" for float.sty
15201 * LaTeXFeatures.C (LaTeXFeatures): init floats
15202 (require): handle float
15203 (getPackages): do it with floats
15205 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15207 * BufferView_pimpl.C (Dispatch): improve handling of
15208 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15210 * commandtags.h: #include lyxfont.h here temporarily to avoid
15213 * bufferlist.h: include LString.h here.
15215 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15217 * text2.C (getStringToIndex): new method.
15219 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15221 * *: Reduced header file dependencies all over.
15223 2001-07-30 Baruch Even <baruch@lyx.org>
15225 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15227 2001-07-29 Baruch Even <baruch@lyx.org>
15229 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15231 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15233 * ParameterStruct.h (endif): add a default constructor to make
15234 sure that all variables is initialized.
15236 * ParagraphParameters.C (ParagraphParameters): adjust
15238 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15240 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15241 index; also, check that there is something to index, and that it
15242 does not span over several paragraphs.
15243 (doubleClick): use WHOLE_WORD_STRICT for double click.
15245 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15247 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15250 2001-07-26 Baruch Even <baruch@lyx.org>
15252 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15253 an InsetFig figure, backwards compatible reading of old figure code.
15255 2001-07-27 Juergen Vigna <jug@sad.it>
15257 * text2.C: font.realize function adaption.
15259 * text.C (draw): add a warnings lyxerr text if needed.
15261 * layout.C: font.realize function adaption.
15263 * language.C: add inherit_language and implement it's handlings
15265 * bufferview_funcs.C (StyleReset): remove language parameter from
15266 font creation (should be language_inherit now).
15268 * bufferparams.C (writeFile): handle ignore_language.
15270 * paragraph.C (getFontSettings): the language has to be resolved
15271 otherwise we have problems in LyXFont!
15273 * lyxfont.C (lyxWriteChanges): added document_language parameter
15274 (update): removed unneeded language parameter
15276 * paragraph.C (validate): fixed wrong output of color-package when
15277 using interface colors for certain fonts in certain environments,
15278 which should not seen as that on the final output.
15280 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15282 * BufferView_pimpl.C:
15287 * LyXAction.C: add thesaurus support
15290 * lyxfind.C: add "once" parameter, for thesaurus, to not
15291 move to the next match
15293 2001-07-26 Juergen Vigna <jug@sad.it>
15295 * lyxfont.C (realize): honor ignore_language too!
15298 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15300 * text.C (draw): one place more for ignore_language to not draw
15303 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15305 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15307 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15309 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15310 the minipage conversion problem.
15312 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15314 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15317 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15319 * BufferView.h: don't forward declare WorkArea
15321 * BufferView.C: don't include WorkArea.h
15323 2001-07-25 André Pönitz <poenitz@gmx.net>
15327 * lyxfunc.C: new LFUN 'math-space'
15329 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15331 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15333 * text2.C (toggleInset): call open/close
15335 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15337 * lyxfunc.C (dispatch): add debug for the disabled case
15339 * font.C (buttonText): make similar to rectText
15341 * buffer.C (readInset): comment out parsing of insetlist and
15344 * PainterBase.C (rectText): small correction
15346 * BufferView_pimpl.C: comment out insettheorem and insetlist
15347 * LyXAction.C: ditto
15348 * commandtags.h: ditto
15350 2001-07-24 Juergen Vigna <jug@sad.it>
15352 * text.C (draw): honor the ignore_language.
15354 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15356 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15358 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15361 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15363 * lyxtext.h: remove unused (and unimplemented) methods
15365 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15367 * text.C (getVisibleRow): honor background color
15370 * Painter.h: remove default color argument for fillRectangle
15372 * text.C (backgroundColor): new method
15374 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15376 * text.C (getVisibleRow): adjust
15378 * font.[Ch] (rectText): new method, metrics
15379 (buttonText): new method, metrics
15381 * PainterBase.[hC]: make rectText and buttonText always draw and take
15384 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15386 * ToolbarDefaults.C (read):
15387 * MenuBackend.C (read): allow escaping in all strings
15389 * BufferView_pimpl.C (insertAndEditInset): new method.
15390 (Dispatch): use insertAndEditInset whenever appropriate.
15392 * BufferView_pimpl.C (insertNote): removed
15394 * BufferView_pimpl.C (smartQuote): new method, moved from
15395 BufferView; if an insetquote cannot be inserted, insert a '"'
15398 * BufferView2.C: remove insertCorrectQuote();
15400 * lyxfunc.C (getStatus): Add support for all remaingin
15401 inset-insert lfuns.
15403 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15405 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15406 command (necessary to pass " as parameter of self-insert.
15408 * text.C (selectWordWhenUnderCursor):
15409 (selectWord): add word_location parameter
15410 (selectWordWhenUnderCursor): same + remove special code for word
15412 (selectNextWord): use kind() to guess type of insetspecialchar,
15415 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15416 (insertErtContents): create ert insets as collapsed.
15417 (readInset): better compatibility code for Info inset.
15419 2001-07-20 Juergen Vigna <jug@sad.it>
15421 * lyxfunc.C (dispatch): use always LyXFind now!
15423 * text2.C (init): add a reinit flag so that the LyXText can be
15424 reinited instead of deleted and reallocated (used in InsetText).
15426 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15432 2001-07-18 Juergen Vigna <jug@sad.it>
15434 * text.C (selectNextWord): handle insets inside inset by calling
15435 always the bv->text functions so that we can go up the_locking_inset!
15437 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15438 in strange locations when inside an inset!
15440 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15441 handling to include insets.
15443 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15445 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15447 * LyXAction.C (init):
15449 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15450 LIGATURE_BREAK, since the name is so stupid.
15452 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15454 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15457 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15459 * sp_form.[Ch]: remove.
15461 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15463 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15466 * src/buffer.C (readInset): ditto.
15468 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15470 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15471 menuSeparator(), endOfSentenceDot(), ldots() and
15472 hyphenationPoint(), which are therefore removed.
15473 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15475 * LyXAction.C (init):
15476 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15478 * paragraph.C (getWord): removed.
15480 * BufferView_pimpl.C (Dispatch): use last word or selection for
15481 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15483 * lyx_main.C (queryUserLyXDir): do not ask before creating
15484 user_dir, except if it has been named explicitely.
15486 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15488 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15489 a document of zero size.
15491 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15493 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15494 approriately in the c-tor and in require().
15495 (getPackages): output the appropriate LaTeX for natbib support.
15497 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15498 variables "use_natbib" and "use_numerical_citations" when reading the
15500 (readInset): read the various natbib cite commands.
15501 (validate): white-space change.
15503 * bufferparams.[Ch]: new variables "bool use_natbib" and
15504 "bool use_numerical_citations".
15505 (writeFile): output them in the LyX file.
15507 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15509 * lyxfunc.C (getStatus): add support for all the inset insertion
15512 * text2.C (insertInset):
15513 * paragraph.C (insetAllowed):
15514 * BufferView_pimpl.C (insertInset): update to take in account the
15515 renaming of insertInsetAllowed
15517 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15519 * text2.C (getInset): new method. returns inset at cursor position.
15521 * BufferView_pimpl.C (Dispatch): changes because of this.
15523 * LyXAction.C (init): rename open-stuff to inset-toggle.
15525 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15527 * text2.C (toggleInset): renamed from openStuff; use
15530 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15532 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15534 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15536 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15538 * buffer.C (readLyXformat2): Add filename to the error dialog
15540 2001-07-18 Juergen Vigna <jug@sad.it>
15542 * tabular.C (GetCellNumber): put an assert here instead of the check!
15544 2001-07-17 Juergen Vigna <jug@sad.it>
15546 * BufferView_pimpl.C (toggleSelection): adapted too.
15548 * text.C (selectNextWord): adapted for use with insets.
15549 (selectSelectedWord): ditto
15551 2001-07-17 Juergen Vigna <jug@sad.it>
15553 * sp_spell.C (PSpell): fix initialitation order.
15555 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15557 * paragraph.C: spacing
15559 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15561 * sp_spell.C: repair language selection for pspell
15563 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15565 * lyxfunc.h: change more methods to begin with lower char.
15567 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15569 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15570 for unknown layouts.
15572 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15574 * buffer.C (readLyXformat2): Generate an error dialog if there are
15577 2001-07-16 Juergen Vigna <jug@sad.it>
15579 * sp_spell.C: always compile ISpell part.
15581 * lyxrc.C: added use_pspell entry and it's handling.
15583 2001-07-13 Juergen Vigna <jug@sad.it>
15585 * sp_spell.C: removed double includes.
15587 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15589 Consistent use of Lsstream.h:
15590 * Lsstream.h: added using std::stringstream for consistencies sake.
15592 * buffer.C: removed using std::stringstream
15594 * lyxfont.C (stateText):
15595 * paragraph.C (asString):
15596 * text.C (selectNextWord, selectSelectedWord):
15597 * text2.C (setCounter):
15598 * vspace.C (asString, asLatexString):
15599 std::ostringstream -> ostringstream.
15601 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15603 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15604 * commandtags.h: add LFUN_HELP_ABOUTLYX
15605 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15607 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15609 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15611 * lyx_gui_misc.C: remove spellchecker
15612 * lyxfunc.C: showSpellchecker
15614 * sp_ispell.h: added
15615 * sp_pspell.h: added
15616 * sp_spell.C: added
15617 * sp_form.[Ch]: removed
15618 * spellchecker.[Ch]: removed
15620 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15622 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15624 (simpleTeXSpecialChars): Simply print the input character without
15625 any special translation if pass_thru is set.
15627 * layout.h: Added bool pass_thru to layout class for being able to
15628 implement pass through of a paragraph for Literate Programming.
15630 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15631 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15632 * layout.C (Read): add "passthru" to list of layout tags and add
15633 code to set the pass_thru boolean when it is read.
15635 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15637 * trans_decl.h: remove allowed from KmodInfo
15639 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15640 remove allowed code
15643 * paragraph_pimpl.C (erase): use boost::prior
15645 * Painter.C (text): use data() instead of c_str() when length is
15647 * WorkArea.C (putClipboard): ditto
15648 * font.h (width): ditto
15650 * BufferView2.C: use it-> instead of (*it). for iterators
15652 * paragraph_pimpl.C: ditto
15653 * paragraph.C: ditto
15654 * minibuffer.C: ditto
15655 * language.C: ditto
15657 * encoding.C: ditto
15658 * counters.C: ditto
15659 * converter.C: ditto
15661 * Variables.C: ditto
15662 * TextCache.C: ditto
15663 * MenuBackend.C: ditto
15664 * LyXAction.C: ditto
15666 * FloatList.C: ditto
15667 * DepTable.C: ditto
15668 * ColorHandler.C (LyXColorHandler): ditto
15670 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15672 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15674 * text2.C (openStuff): reintroduce this method (which had been
15675 nuked in NEW_INSETS frenzy).
15677 * lyxfunc.C (Dispatch): when an action has not been handled, use
15678 its name in the error message, not its number.
15680 * paragraph.C (inInset): change method name to begin with lowercase.
15683 * text2.C: updates because of this.
15685 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15687 * ToolbarDefaults.C (add): add spaces in error message
15689 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15691 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15692 (readLyXformat2): rename return_par to first_par, use lyxlex's
15693 pushToken and remove the manual push handling.
15694 (parseSingleLyXformat2Token): add another ert comp. variable:
15695 in_tabular, rename return_par to first_par. handle newlines better
15697 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15699 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15701 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15703 * text2.C (getParFromID): removed
15705 * buffer.C (getParFromID): new method moved form lyxtext.
15706 * BufferView2.C (insertErrors): adjust
15707 (setCursorFromRow): adjust
15708 * BufferView_pimpl.C (restorePosition): adjust
15709 * lyxfunc.C (Dispatch): adjust
15710 * undo_funcs.C (textUndo): adjust
15712 (textHandleUndo): adjust
15713 (textHandleUndo): adjust
15715 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15717 * buffer.C: up' the LYX_FORMAT
15719 * lyxfont.h: turn NO_LATEX on as default
15721 * buffer.C (insertErtContents): new methods of tex style compability.
15722 (parseSingleLyXformat2Token): use it several places.
15723 * tabular.C (OldFormatRead): and here
15725 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15727 * text2.C: remove some commented code.
15730 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15731 * trans.C: changes because of the above.
15733 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15735 * text2.C (setCounter): Fix counters bug with bibliography layout.
15737 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15739 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15740 own member functions
15741 (simpleTeXSpecialChars): ditto
15743 2001-07-06 Juergen Vigna <jug@sad.it>
15745 * a lot of files: changed the access to LyXText::status and the
15746 call of undo-functions.
15748 * undo.[Ch]: added a inset_id to the undo informations.
15750 * undo_funcs.[Ch]: added and moved here all undo functions.
15752 * lyxtext.h: give the status enum a weight, made status_ a private
15753 variable and made accessor functions for it, removed the whole bunch
15754 of undo-functions as they are now in their own file, make some
15755 functions publically available. Added function ownerParagraph with
15758 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15759 made InInset() a const function, added getParFromID() function.
15761 * buffer.[Ch]: added const version for inset_iterator functions,
15762 added getInsetFromID() function.
15764 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15765 changed undo functions for new version.
15767 2001-07-05 Juergen Vigna <jug@sad.it>
15769 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15770 unknow mechanism does not call the proper constructor but only this
15771 one also if I request the other!?
15773 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15775 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15777 * text2.C (LyXText): use initialization lists.
15779 * lyxtext.h (Selection): initialize set_ and mark_
15780 (init): remove method
15782 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15784 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15786 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15788 * screen.[Ch]: change method names to begin with lowercase
15790 * BufferView_pimpl.C (updateScrollbar): simplify further and
15791 hopefully make it a bit faster.
15793 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15795 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15796 calling directly xforms functions.
15798 * Painter.C (Painter):
15799 * lyx_cb.C (MenuWrite):
15800 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15803 * lyx_gui.C: remove bogus guiruntime extern declaration.
15805 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15807 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15809 (redoDrawingOfParagraph): ditto
15810 (redoParagraphs): ditto
15811 (cutSelection): don't create a object for CutAndPaste use the
15812 static method directly
15813 (pasteSelection): ditto
15815 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15818 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15820 * modifications to some other files because of this.
15822 * Makefile.am (lyx_SOURCES): add XFormsView
15824 * XFormsView.[Ch]: new files
15826 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15827 the main window. Move the gui dependent stuff to XFormsView
15829 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15831 * tabular.C (GetCellInset): update cur_cell also in the row/col
15832 version of this function.
15834 * lyxfunc.C: no need to include figure_form.h here.
15840 * lyxvc.C: no need to include forms.h here.
15842 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15844 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15846 * lyxfunc.C (Dispatch):
15848 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15849 constructor argument.
15851 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15853 * paragraph.C (Paragraph): dont't clear, and just set layout.
15854 (makeSameLayout): use params's copy contructor.
15856 * ParagraphParameters.[Ch] (makeSame): delete method
15858 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15860 * Variables.[Ch]: fix indentation, rename set to isSet
15862 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15864 * lyxfunc.C (Dispatch): fix typo
15866 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15868 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15871 * bufferlist.C: include assert.h for emergencyWrite().
15873 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15875 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15876 give up at last (bug #425202) !
15878 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15884 * spellchecker.C: strip spellchecker options and bring up
15885 preferences tab instead
15887 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15889 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15890 the istringstream constructor
15892 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15894 * paragraph.C (getLayout): fix return value
15896 * paragraph.h: do not declare getLayout as inline.
15898 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15900 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15902 * lyxcursor.h (operator<): new func
15903 (operator>): new func
15904 (operator>=): new func
15905 (operator<=): new func
15907 * text.C (changeCase): use selection.start and selection.end
15908 (changeRegionCase): require from to be <= to. Require par to be a
15911 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15913 2001-06-27 Juergen Vigna <jug@sad.it>
15915 * text.C (cursorLeftOneWord): changed to return the cursor and added
15916 overlay with BufferView * parameter which calls this one.
15918 (selectWord): use new getWord function.
15919 (changeCase): renamed from changeWordCase as and extended to work
15920 also on selections.
15922 * lyxtext.h: added enum word_location
15924 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15925 changeCase as this operates now also on selections.
15927 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15929 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15931 * many files: send debug output to Debug::INFO instead of
15934 * converter.C (View):
15936 (Move): send debug output to Debug::FILES instead of console.
15938 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15940 * lyxfunc.C (getStatus): use func_status
15942 * func_status.h: new header, describing the results of
15943 LyXFunc::getStatus;
15945 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15948 2001-06-25 The LyX Project <jug@sad.it>
15950 * buffer.C (sgmlOpenTag):
15952 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15954 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15956 * text2.C: remove some dead code
15958 * tabular.C (GetCellInset): store the last cell checked (gotten)
15960 * tabular.h: add the helper for the speedup
15962 * lyxtext.h: remove some dead code
15964 2001-06-26 The LyX Project <Asger>
15966 * paragraph.C: Change export to LaTeX of alignment to
15967 \begin{center} and family for better roundtrip work with reLyX.
15969 * Tune the math drawing a bit.
15971 2001-06-25 The LyX Project <Asger>
15973 * LColor.C (LColor): New color for math background. New color
15976 2001-06-25 The LyX Project <jug@sad.it>
15978 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15980 * lyxfunc.C (Open):
15981 * bufferlist.C (newFile): do not restrict to files ending with
15984 * BufferView_pimpl.C (MenuInsertLyXFile):
15986 2001-06-24 The LyX Project <jug@sad.it>
15988 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15991 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15993 * lyxtext.h: rename most methods to begin with a small char.
15994 Lots of changes because of this.
15996 * paragraph.C (Paragraph): do not call fitToSize
15997 (erase): call Pimpl::erase
15998 (insertChar): call Pimpl::insertChar
15999 (insertInset): call Pipl::insertInset
16000 (breakParagraph): do not call fitToSize
16001 (breakParagraphConservative): do not call fitToSize
16002 (fitToSize): remove method
16004 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16006 2001-06-24 The LyX Project <Asger>
16008 * Fix Qt compilation^2
16010 2001-06-24 The LyX Project <jug@sad.it>
16012 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16013 depthHook(getDepth()-1).
16016 * ParagraphParameters.h:
16017 * ParameterStruct.h: change type of depth to unsigned int ==
16018 depth_type. Many adaptations to other files before of that.
16020 2001-06-24 The LyX Project <Asger>
16022 * Fix Qt compilation.
16024 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16026 * paragraph.h: renamed several methods to begin with small letter.
16027 several changes to many parts of the code because of this.
16029 2001-06-23 The LyX Project <jug@sad.it>
16031 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16032 rewritten to discard all double spaces when KeepEmpty is off
16033 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16034 to only handle newlines but not fiddle with spaces and friends.
16036 * lyxfunc.C (MenuNew): when doing 'new from template', use
16037 template_path as default directory
16039 2001-06-23 The LyX Project <Asger>
16041 * Clean-up of header file includes all over
16042 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16044 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16046 * paragraph.h: renamed from lyxparagraph.h
16048 2001-06-23 Asger <lyx@violet.home.sad.it>
16050 * Buffer.h: Removed Buffer::resize
16051 * BufferList.h: Removed BufferList::resize
16052 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16053 the document lazily when we change the width, or the font settings.
16055 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16057 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16059 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16061 * buffer.h: remove out of date comment
16063 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16066 * screen.C: fix "theoretical" GC leak
16068 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16070 * LaTeX.C (scanAuxFile):
16071 (deplog): remove trailing \r when reading stream (useful under
16074 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16076 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16077 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16078 and BufferView::theLockingInset(Inset*), so should use them and not
16079 access bv_->text->the_locking_inset directly.
16081 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16083 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16086 * tex-defs.h: remove old unused file
16088 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16090 * BufferView_pimpl.C: fix typo, remove minibuffer message
16091 when buffer has loaded
16093 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16095 * lyxfunc.C (Dispatch): use stringstream
16096 (MenuNew): use stringstream
16097 (Open): use stringstream
16099 * importer.C (Import): use stringstream
16101 * bufferview_funcs.C (CurrentState): use stringstream
16103 * LaTeX.C (run): use stringstream
16105 * BufferView_pimpl.C (savePosition): use stringstream
16106 (restorePosition): use stringstream
16107 (MenuInsertLyXFile): use stringstream
16109 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16122 * vspace.C: removed // -*- C++ -*- as first line.
16125 * version.h: added // -*- C++ -*- as first line.
16127 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16129 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16131 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16134 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16136 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16139 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16141 * gettext.C: include LString.h even when --disable-nls is on.
16143 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16145 * converter.h (Get): changed argument type from int to
16146 FormatList::size_type to avoid unnecessary conversion.
16148 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16151 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16153 * gettext.h: include LString.h even when --disable-nls is on.
16155 2001-06-07 Juergen Vigna <jug@sad.it>
16157 * text.C (BreakAgain): subst spaces with tabs.
16159 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16160 (resizeInsetsLyXText): set force on resizeLyXText.
16162 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16164 * gettext.h (gettext_init):
16165 (locale_init): use a real definition instead of a macro
16167 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16169 * Bufferview_pimpl.C:
16171 * LColor.C: further lcolor tidies
16173 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16175 * BufferView_pimpl.C (updateScrollbar): simplify.
16177 * BufferView2.C: don't include insets/insetinfo.h, change
16178 prototype for insertInset and call the Pimpl version. let
16179 updateInset call Pimpl version.
16181 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16182 gotoInset to BufferView::Pimpl
16184 2001-06-01 Juergen Vigna <jug@sad.it>
16186 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16187 inside a LockingInset (is the update needed at all?).
16189 2001-05-31 Juergen Vigna <jug@sad.it>
16191 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16192 here not the old one otherwise how should we compare it afterwards
16195 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16200 * FontInfo.C: bring C functions into global namespace when
16203 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16205 * LString.h: make sure config.h has been loaded before LString.h.
16207 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16208 (one for each char read by EatLine!).
16210 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16213 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16215 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16216 to the same as the par we break from
16218 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16220 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16222 * MenuBackend.C (expand): also create menu entries for wide
16223 versions of the floats.
16225 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16227 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16229 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16230 frontends/Makefile.am
16236 * tabular.C (getTokenValue): add std::
16238 * tabular-old.C (getTokenValue): add std::
16239 (getTokenValue): ditto
16240 (getTokenValue): ditto
16242 * screen.C (ToggleSelection): adjust
16244 * lyxtext.h: put selection cursors inside a Selection struct.
16246 * lyxfunc.C (moveCursorUpdate): adjust
16248 * lyxfont.C (latexWriteStartChanges): add std::
16250 * lyxfind.C: adjust
16252 * font.h: delete with(char const *, LyXFont const &)
16254 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16256 * FontInfo.C (getFontname): add std::
16258 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16259 (workAreaButtonPress): adjust
16260 (tripleClick): adjust
16262 (moveCursorUpdate): adjust
16265 * BufferView2.C (gotoInset): adjust
16267 2001-05-30 Juergen Vigna <jug@sad.it>
16269 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16270 to check pspell I add this as default as I now have new pspell
16271 libraries and they seem to use this.
16273 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16275 * text2.C (CutSelection): make the cursor valid before the call to
16278 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16280 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16281 relied on 0 terminated strings and other horrors. Bug found due to
16282 the new assert in lyxstring!
16284 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16287 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16289 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16292 * lyxfunc.C (processKeySym): change method of getting to the
16295 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16296 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16297 * BufferView_pimpl.[Ch]: here as private methods.
16299 2001-05-28 Juergen Vigna <jug@sad.it>
16301 * text.C (SetHeightOfRow): added the update() call again as it is
16302 needed to initialize inset dimensions!
16304 2001-05-16 Juergen Vigna <jug@sad.it>
16306 * text2.C (SetCharFont): Add new function with BufferView * and
16307 bool toggleall parameters for setting insets internal fonts.
16308 (SetFont): Freeze the undo as we may change fonts in Insets and
16309 all this change should be inside only one Undo!
16311 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16312 setting font's in insets as for them we have the SetFont function!
16314 2001-05-15 Juergen Vigna <jug@sad.it>
16316 * text2.C (ClearSelection): to be sure we REALLY don't have any
16319 * tabular.C (TeXCellPreamble): fixed the left border problem for
16322 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16324 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16327 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16329 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16330 LFUN_BREAKPARAGRAPH.
16332 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16333 help test to "internal only", similar for LFUN_INSERT_URL
16335 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16336 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16337 auto_region_delete and deadkeys.
16339 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16342 * LColor.C: remove some dead entries, tidy a little
16344 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16346 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16348 (Dispatch): implement LFUN_ESCAPE
16350 * commandtags.h: add LFUN_ESCAPE
16352 * LyXAction.C (init): add entry for LFUN_ESCAPE
16354 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16355 Remove commented code.
16356 (insertNote): moved here
16357 (open_new_inset): moved here
16359 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16362 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16364 * kbmap.C (findbinding): clean it up and make it work correctly.
16366 * lyx_main.C (init): do not pass argc and argv as parameters
16368 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16370 * buffer.C: fix path for OS/2 & Win32
16374 * lyx_main.C: Added os:: class.
16376 * os2_defines.h: update
16378 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16380 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16381 better by trying again with reduced state.
16383 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16385 * lyxrc.C (read): print error about invalid key sequence only when
16386 debugging (because not all latinX keysyms are known to some X
16389 * kbsequence.C (getiso): add a few std:: qualifiers
16390 (getiso): comment out extra return statement.
16392 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16394 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16396 (Dispatch): enhance the accent inset a bit. (not perfect)
16398 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16400 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16402 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16404 * bufferlist.C (emergencyWrite): fix assert() call
16406 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16408 * text.C (InsertChar): Added trivial patch to only send the "you
16409 can not do multiple spaces this way" message once during a
16412 2001-05-08 Baruch Even <baruch@lyx.org>
16414 * Makefile.am: Changed order of libraries to get LyX to link properly
16415 with the gnome frontend.
16417 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16419 * LaTeXFeatures.h: add a std:: qualifier
16421 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16423 * paragraph.C (String): use stringstream
16425 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16427 * paragraph.C (writeFile): remove footflag arg
16429 * buffer.C (makeLaTeXFile): use stringstream
16430 (latexParagraphs): remove footnot gurba
16432 * LaTeXFeatures.C (getPackages): use stringstream
16433 (getMacros): likewise
16434 (getTClassPreamble): likewise
16435 (getFloatDefinitions): new method
16437 * paragraph.C (writeFile): reindent
16440 * WorkArea.h: revert the xpos + etc changes.
16442 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16444 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16446 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16447 (pasteSelection): likewise
16448 * text2.C (CreateUndo): likewise
16450 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16452 * minibuffer.C (peek_event): temporarily reduce the functionality
16453 of the minibuffer (to allow args on lfuns)
16455 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16456 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16458 * buffer.C (readInset): add compability reading of old float
16459 lists, add reading of new style float list.
16460 (readInset): avoid reevaluation of inscmd.getCmdName()
16461 (getLists): reindent
16463 * MenuBackend.C (MenuItem): implement parsing of
16464 md_floatlistinsert and md_floatinsert.
16465 (expand::LastFiles): move initalizaton of iterators out of loop,
16466 avoid reevaluation.
16467 (expand::Documents): introduce typdedef vector<string> Strings,
16469 (expand::ExportFormats): introduce typedef vector<Format const *>
16470 Formats, and use it.
16471 (expand): implement FloatListInsert and FloatInsert.
16473 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16474 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16475 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16477 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16479 (Dispatch::LFUN_FLOAT_LIST): implement
16481 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16483 * LaTeX.C (run): Fix problem with --export code.
16485 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16487 * BufferView.[Ch] (workarea): removed.
16488 (getClipboard) new method; wrapper for workarea()->getClipboard()
16490 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16493 * WorkArea.h (width, height, xpos, ypos): These methods all
16494 returned the dimensions of the work_area sub-area of WorkArea,
16495 resulting in a position error if the WorkArea were resized. Now
16496 return the dimensions of the entire WorkArea.
16498 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16500 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16502 * LaTeX.C (deplog): correct the syntax of regex reg1
16504 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16506 * undo.C: remove !NEW_INSETS cruft
16508 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16510 * text2.C: remove !NEW_INSETS cruft
16512 * text.C: remove !NEW_INSETS cruft
16514 * tabular.C: remove !NEW_INSETS cruft
16516 * spellchecker.C: remove !NEW_INSETS cruft
16518 * lyxtext.h: remove !NEW_INSETS cruft
16520 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16522 * lyxfunc.C: remove !NEW_INSETS cruft
16524 * lyxfind.C: remove !NEW_INSETS cruft
16526 * lyx_cb.C: remove !NEW_INSETS cruft
16528 * figureForm.C: remove !NEW_INSETS cruft
16530 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16532 * buffer.[Ch]: remove !NEW_INSETS cruft
16534 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16536 * CutAndPaste.C: remove !NEW_INSETS cruft
16538 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16540 * BufferView2.C: remove !NEW_INSETS cruft
16542 * BufferView.h: remove !NEW_INSETS cruft
16544 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16546 * Lsstream.h: include LString.h before the sstream headers to
16547 fix problem with gcc 2.95.3 and lyxstring
16549 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16551 * lyx_main.C: add using directives when needed for C functions
16552 declared in std:: namespace.
16554 2001-04-27 Juergen Vigna <jug@sad.it>
16556 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16557 (SetHeightOfRow): comment out the update call should not be needed!
16559 2001-04-13 Juergen Vigna <jug@sad.it>
16561 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16562 (LyXTabular): tried to minimize operator= operations (and realized
16563 hopfully Lars wish).
16565 2001-04-27 Juergen Vigna <jug@sad.it>
16567 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16569 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16571 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16573 * buffer.C (readInset): hack to make listof algorithm work
16575 * BufferView_pimpl.C: hack to make listof algorithm work
16577 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16579 * LyXAction.C: removed all !NEW_INSETS cruft
16580 (init): moved lfun_item in method
16582 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16584 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16586 * BufferView2.C (theLockingInset): white space.
16588 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16590 * minibuffer.C: include <iostream>
16592 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16594 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16596 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16598 * text.[Ch] (TransposeChars): new method
16600 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16602 * call message directly through LyXView instead of through LyXFunc
16603 * BufferView2.C: adjust
16604 * BufferView_pimpl.C: adjust
16605 * FontLoader.C: adjust
16607 * bufferview_funcs.C: adjust
16608 * converter.C: adjust
16609 * figureForm.C: adjust
16610 * importer.C: adjust
16612 * lyx_gui_misc.C: adjust
16613 * lyxfunc.C: adjust
16616 + more files in subdirs
16618 * lyxparagraph.h (size): move up int file
16621 * adjust all uses of Assert to lyx::Assert.
16623 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16624 lyxfunctional in namespace lyx
16625 * layout.C (hasLayout): ditto
16628 (delete_layout): ditto
16629 (NumberOfClass): ditto
16630 * converter.C (GetFormat): ditto
16635 * bufferlist.C (getFileNames): ditto
16636 (emergencyWriteAll): ditto
16639 * MenuBackend.C (hasSubmenu): ditto
16642 * BufferView_pimpl.C (getInsetByCode): ditto
16644 2001-04-18 Juergen Vigna <jug@sad.it>
16646 * vspace.C (asLatexString): fixed the 100% problem.
16648 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16650 * lyxfunc.C (Dispatch):
16652 * minibuffer.h: add a few std:: qualifiers
16654 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16656 * minibuffer.[Ch]: reimplement so that commands is initiated and
16657 run from lyxfunc, simplified som handling, and made the completion
16658 and history code for complete. wip.
16660 * lyxfunc.C (processKeySym): call message
16661 (miniDispatch): new temporary method
16662 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16663 (LFUN_MESSAGE): implement
16664 (LFUN_MESSAGE_PUSH): implement
16665 (LFUN_MESSAGE_POP): implement
16666 (initMiniBuffer): the initial/defualt minibuffer message.
16668 * lyxfont.[Ch]: inline some more getters
16670 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16672 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16674 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16675 (AutoSave): use LFUN_MESSAGE
16676 (Reconfigure): ditto
16678 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16680 * figureForm.C: use LFUN_MESSAGE
16682 * converter.C (runLaTeX): use LFUN_MESSAGE
16684 * bufferview_funcs.C: use LFUN_MESSAGE
16686 (changeDepth): ditto
16688 * bufferparams.h: use boost::
16690 * bufferlist.h: inherit privately from noncopyable
16692 * bufferlist.C (loadLyXFile): remove some commented code.
16694 * buffer.C (runChktex): use LFUN_MESSAGE
16696 * ShareContainer.h: inherit privately from noncopyable
16698 * ParagraphParameters.[hC] (depth): inline it.
16700 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16702 (message): new method
16703 (messagePush): ditto
16704 (messagePop): ditto
16705 (show): init minibuffer
16706 (showState): direct call
16708 * LaTeX.[Ch]: inherit privately from noncopyable
16709 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16710 instead of WriteStatus.
16712 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16714 * BufferView_pimpl.C (buffer): don't init minibuffer
16715 (workAreaButtonPress): use LFUN_MESSAGE
16716 (workAreaButtonRelease): ditto
16717 (savePosition): ditto
16718 (restorePosition): ditto
16719 (MenuInsertLyXFile): ditto
16720 (workAreaExpose): don't init minibuffer
16721 (update): remove commented code, simplify
16723 * BufferView2.C (openStuff): use LFUN_MESSAGE
16724 (toggleFloat): ditto
16727 (copyEnvironment): ditto
16728 (pasteEnvironment): ditto
16733 (updateInset): remove some commented code
16735 * lastfiles.h: inherit privately from noncopyable
16738 * lyx_main.h: ditto
16740 * lyxlex_pimpl.h: ditto
16742 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16743 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16744 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16746 * LyXAction.h: inherit privately from noncopyable, add methods
16747 func_begin, func_end, returning iterators to the func map.
16749 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16750 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16751 (func_begin): new method
16752 (func_end): new method
16754 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16756 (copySelection): ditto
16757 (pasteSelection): ditto
16759 * BufferView.C: whitespace change
16760 * BufferView.h: inherit privately from noncopyable
16762 2001-04-16 Allan Rae <rae@lyx.org>
16764 * tabular-old.C (l_getline):
16765 * spellchecker.C (sc_check_word):
16766 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16767 an unrecognised preprocessor directive. So ensure they're wrapped.
16769 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16771 * src/exporter.C (Export): Give an error message when path to file
16774 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16776 * LaTeX.C (deplog): Always check that foundfile exists.
16778 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16781 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16783 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16785 * tabular.[Ch] (getLabelList): implement new method
16787 * minibuffer.h: comment ouf setTiimer
16789 * minibuffer.C (ExecutingCB): constify res
16790 (peek_event): constify s
16791 (Set): constify ntext
16792 (Init): constify nicename
16794 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16796 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16797 (savePosition): use two params to Minibuffer::Set
16798 (restorePosition): ditto
16800 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16802 * lyx_main.C: include language.h
16804 * Makefile.am (lyx_main.o): add language.h
16806 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16812 * CutAndPaste.C: include gettext.h
16814 * lyxfont.h: remove old hack with ON and OFF.
16817 * lyxfont.h: do not include language.h...
16822 * bufferview_funcs.C:
16828 * paragraph.C: ... but do it here instead
16830 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16832 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16834 * tabular.C: small reformat
16836 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16839 (BreakParagraph): ditto
16840 (SetOnlyLayout): ditto
16843 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16846 * lastfiles.C: removed most using decl, add std:: where needed
16848 * buffer.C: ws changes
16850 * MenuBackend.C (class compare_format): put into anon namespace
16851 (expand): constify label, names, action, action2
16854 * text.C (SingleWidth): constify font
16855 (IsBoundary): constify rtl2
16856 (GetVisibleRow): constify ww
16858 * LaTeX.C (deplog): constify logfile
16860 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16862 (workAreaExpose): constify widthChange, heightChange
16864 * lyxrow.C (par): moved
16867 * lyxrow.h: as inlines here
16869 * lyxfont.h (shape): moved from lyxfont.C
16870 (emph): moved from lyxfont.C
16872 * lyxfont.C (LyXFont): use initialization list for all
16874 (shape): move to lyxfont.h as inline
16875 (emph): move to lyxfont.h as inline
16878 2001-04-04 Juergen Vigna <jug@sad.it>
16880 * vspace.C: had to include stdio.h for use of sscanf
16882 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16885 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16886 independent of xforms.
16888 2001-04-02 Juergen Vigna <jug@sad.it>
16890 * spellchecker.C: fixed namespace placing!
16892 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16894 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16895 the LyXParagraph * is 0.
16897 2001-03-29 Juergen Vigna <jug@sad.it>
16899 * vspace.C: added support for %, c%, p%, l%.
16900 (stringFromUnit): added helper function.
16901 (asLatexString): changed to give right results for the %-values.
16903 * buffer.C: convert the widthp in a width%.
16905 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16907 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16910 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16911 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16913 * lyx_cb.[Ch]: see above.
16915 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16919 * lyx.[Ch]: replaced by figure_form.[Ch].
16923 * lyxfunc.C: changed headers associated with above changes.
16925 2001-03-27 Juergen Vigna <jug@sad.it>
16927 * BufferView_pimpl.C: set the temporary cursor right!
16929 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16931 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16933 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16935 * LString.h: removed "using std::getline"!
16937 * BufferView_pimpl.C (Dispatch): changes due to changes in
16938 InsetInclude::Params.
16940 * buffer.C (tag_name): removed redundant break statements as they were
16941 producing lots of warnings with my compiler.
16943 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16945 * LString.h: add "using std::getline" when using the real <string>.
16947 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16949 * buffer.C: removed bitset usage.
16950 PAR_TAG moved to an anonymous name space.
16951 (tag_name): new funtion, also in the anonymous namespace.
16952 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16953 (makeDocBookFile): clean code. Completed transition from string arrays
16955 (SimpleDocBookOnePar): code clean.
16957 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16959 * tabular.C: add some comments.
16961 2001-03-22 Juergen Vigna <jug@sad.it>
16963 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16964 compatibility read a bit and fixed bug with minipage in different
16967 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16969 * buffer.C (pop_tag): removed.
16970 (push_tag): removed.
16971 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16972 array replaced with vector. Added support for CDATA sections.
16973 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16975 (makeDocBookFile): XML conformant declaration of CDATA section,
16976 fixed bug related to <emphasis> in the first paragraph char.
16977 (sgmlOpenTag): exclude empty tags.
16978 (sgmlCloseTag): ditto.
16980 * buffer.h (pop_tag): removed.
16981 (push_tag): removed.
16983 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16985 * language.h (Languages): added size_type and size().
16987 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16989 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16990 response on compability reading of minipages. One probliem is that
16991 the old usage of minipages was «flertydig»
16993 * several files here and in subdirs: don't use static at file
16994 scope use anon namespaces instead.
16996 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16998 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16999 LaTeX output. This is necessary for Literate document
17002 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17004 * buffer.C: insert hfill when needed.
17006 * tabular.C (l_getline): use string::erase, small whitespace change.
17008 * BufferView_pimpl.C: try the anon namespace.
17009 * WorkArea.C: ditto
17011 2001-03-16 Juergen Vigna <jug@sad.it>
17013 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17014 otherwise it won't open options-dialogs.
17016 * buffer.C: honor pextraWidth(p) on converting minipages.
17018 * tabular.C (l_getline): changed the functions to strip trailing \r.
17020 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17022 * BufferView_pimpl.C:
17023 * minibuffer..C: added "using SigC::slot" declaration.
17025 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17027 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17033 * paragraph.C: ditto
17035 * lyxtext.h: NO_PEXTRA
17037 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17039 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17040 * ParameterStruct.h: ditto
17041 * ParagraphParameters.h: ditto
17042 * lyxparagraph.h: ditto
17044 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17046 * buffer.C: add compability for minipage alignment.
17047 (latexParagraphs): remove unwanted pextra check.
17049 * several files: remove CXX_WORKING_NAMESPACES
17051 * buffer.C (pop_tag): tie is in namespace boost
17053 * BufferView.h: noncopyable is in namespace boost
17055 * lyx_main.h: ditto
17058 * lastfiles.h: ditto
17059 * bufferlist.h: ditto
17060 * ShareContainer.h: ditto
17062 * LyXAction.h: ditto
17065 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17067 * Merging changes from BRANCH_MVC back into HEAD.
17069 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17071 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17073 * BufferView_pimpl.C: change from intl.C
17077 * Makefile.am: move combox.*
17083 * intl.C: remove dialog (covered by prefs)
17085 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17087 * lyxfunc.C (Dispatch): removed redundant break statement.
17089 2001-03-14 Juergen Vigna <jug@sad.it>
17091 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17093 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17095 * buffer.C: add hack to fix compability reading of minipages.
17097 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17099 * buffer.C (getLists): Cleanup.
17101 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17103 * lyxfont.C (update): don't honor toggleall on font size.
17105 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17109 * Makefile.am: moved to frontends/xforms/
17113 * BufferView_pimpl.C: changes for moved mathpanel
17115 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17117 * gettext.h: fix gettext_init() in --disable-nls
17119 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17121 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17123 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17126 * lyx.h: strip external form
17128 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17130 * BufferView_pimpl.C: add comment, destroySplash()
17132 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17134 * BufferView_pimpl.C:
17138 * lyxfunc.C: use re-worked insetinclude
17140 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17142 * buffer.C: add using std::stringstream.
17144 * lyx_cb.C: readd using std::ios.
17146 * buffer.C: add using std::map.
17148 * BufferView_pimpl.C: add using std::vector.
17150 * ShareContainer.h: add std:: to swap.
17152 * buffer.h: add some typedefs
17153 * buffer.C (getLists): use them
17154 (getLists): renamed from getTocList.
17155 add a counter for the different float types and use it in the
17157 (getLists): use the same counter for the NEW_INSETS and the "non"
17160 * lyx_cb.h: remove unused items, includes, using etc.
17162 * ShareContainer.h: remove some commented code, add more comments
17163 and "documentation".
17165 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17167 * buffer.C (getTocList): make the list also when NEW_INSETS is
17170 * buffer.h: remove TocType
17172 * buffer.C (getTocList): change to return a map<string,
17173 vector<TocItem> >, implement for dynamic number of list.
17175 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17176 * text2.C (PasteSelection): adjust
17177 * CutAndPaste.C (pasteSelection): adjust
17179 * FloatList.C (FloatList): update from the new_insets branch.
17180 * Floating.[Ch]: ditto
17181 * LaTeXFeatures.C: ditto
17183 * lyxlex_pimpl.C: ditto
17185 * paragraph.C (Last): remove when NEW_INSETS is defined.
17187 * other file: changes because of the above.
17189 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17191 * lyxparagraph.h: rename next to next_, previous to previous_,
17192 make them private for NEW_INSETS. Rename Next() to next(),
17193 Previous() to previous().
17195 * other files: changes because of the above.
17197 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17200 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17203 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17205 * main.C (main): pass lyx_localedir to gettext_init().
17207 * gettext.h: remove locale_init and gettext_init macros
17209 * gettext.C (locale_init): new function
17210 (gettext_init): new function
17212 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17215 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17217 * Moved credits to frontends:
17218 * credits.[Ch]: removed
17219 * credits_form.[Ch]: removed
17220 * lyx_gui_misc.C: remove credits stuff
17223 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17225 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17227 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17228 unneeded destructor.
17230 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17231 a standalone pointer again.
17233 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17235 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17241 * ToolbarDefaults.C:
17250 * BufferView_pimpl.C: use new file dialog in GUII
17253 * lyx_cb.C: remove LayoutsCB to Toolbar
17255 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17257 * ShareContainer.h (get): add std:: qualifier
17259 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17261 * ShareContainer.h: define a proper ShareContainer::value_type
17262 type (and use typename to please compaq cxx)
17264 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17266 * lyxparagraph.h: move serveral local vars to
17267 ParameterStruct/ParagraphParameters., use ShareContainer in
17268 FontTable., make vars in FontTable private and add getter and
17271 * paragraph.C: changes because of the above.
17273 * lyxfont.h: remove copy constructor and copy assignment. (the
17274 default ones is ok), move number inside FontBits. move inlines to
17277 * lyxfont.C: add number to initializaton of statics, move several
17278 inlines here. constify several local vars. some whitespace
17279 cleanup. Dont hide outerscope variables.
17281 * Spacing.h: add two new constructors to match the set methods.
17283 * ShareContainer.h: new file, will perhaps be moved to support
17285 * ParameterStruct.h: new file
17287 * ParagraphParameters.h: new file
17289 * ParagraphParameters.C: new file
17291 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17292 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17294 * BufferView_pimpl.C: ParagraphParameter changes.
17295 * buffer.C: Likewise.
17296 * bufferview_funcs.C: Likewise.
17297 * text.C: Likewise.
17298 * text2.C: Likewise.
17300 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17302 * lyxfind.C (LyXReplace): do not redefine default argument in
17304 (IsStringInText): ditto
17305 (SearchForward): ditto
17306 (SearchBackward): ditto
17308 2001-03-06 Juergen Vigna <jug@sad.it>
17310 * lyxfind.C (IsStringInText): put parentes around expressions.
17312 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17314 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17316 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17318 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17320 * stl_string_fwd.h: add comment
17322 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17325 * tabular.C: remove unused DocBook methods
17331 killed DO_USE_DEFAULT_LANGUAGE
17333 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17335 * lyx_gui.C: do not include language.h.
17337 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17338 arguments in function implementation.
17340 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17342 * BufferView_pimpl.C: add <ctime>
17344 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17346 * BufferView_pimpl.C: add using std::find_if
17348 2001-02-27 José Matos <jamatos@fep.up.pt>
17350 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17353 2001-02-11 José Matos <jamatos@fep.up.pt>
17355 * buffer.C (makeDocBookFile): command styles now have a parameter as
17356 "title" by default.
17358 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17360 * layout_forms.[Ch]: removed
17361 * lyx_cb.[Ch]: out character
17362 * lyx_gui.C: out character
17363 * lyx_gui_misc.C: out character
17364 * bufferview_funcs.C: : out character,
17365 added toggleall as parameter in ToggleAndShow
17367 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17369 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17371 * text2.C (SetCurrentFont): Disable number property at boundary.
17373 2001-02-26 Juergen Vigna <jug@sad.it>
17375 * lyxfunc.C (getStatus): added a string argument override function so
17376 that this is correctly called from LyXFunc::Dispatch if it contains a
17377 do_not_use_argument which is used!
17378 (Dispatch): added check for "custom" export and call appropriate func.
17380 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17382 * lyxrc.C: Add language_command_local, language_use_babel and
17383 language_global_options.
17385 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17387 * buffer.C (makeLaTeXFile): Use language_use_babel and
17388 language_global_options.
17390 2001-02-23 Juergen Vigna <jug@sad.it>
17392 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17393 which works with LyXText and putted it inside BufferView. Here now we
17394 only call for that part the BufferView::Dispatch() function.
17396 * BufferView.C (Dispatch): added.
17398 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17399 functions which needs to use a LyXText over from LyXFunc.
17400 (MenuInsertLyXFile): added
17401 (getInsetByCode): added
17402 (moveCursorUpdate): added
17403 (static TEXT): added
17405 2001-02-22 Juergen Vigna <jug@sad.it>
17407 * BufferView_pimpl.C (update): call a status update to see if LyXText
17410 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17412 * vc-backend.C (revert): implement for CVS
17413 (getLog): implement for CVS
17415 2001-02-20 Juergen Vigna <jug@sad.it>
17417 * text2.C (ClearSelection): added BufferView param for inset_owner call
17419 * lyxfunc.C (TEXT): added this function and use it instead of
17420 directly owner->view()-text of getLyXText().
17422 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17424 * src/layout_forms.C: out preamble
17425 * src/layout_forms.h: out preamble
17426 * src/lyx_cb.C: out preamble
17427 * src/lyx_cb.h: out preamble
17428 * src/lyx_gui.C: out preamble
17429 * src/lyx_gui_misc.C: out preamble
17430 * src/lyxfunc.C: connect with guii preamble
17432 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17434 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17436 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17438 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17439 whether to run bibtex.
17441 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17443 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17445 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17447 * Makefile.am (lyx_SOURCES): removed bibforms.h
17449 * vspace.h: doxygen
17451 * text.C (GetVisibleRow): make several local vars const
17453 * tabular.C: small cleanup.
17455 * lyxserver.C (callback): use compare instead of strncmp
17457 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17458 inlines to after class or to paragraph.C
17460 * lyxfont.h: remove friend operator!=
17462 * converter.h: move friend bool operator< to non friend and after
17465 * combox.h: small cleanup
17467 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17468 to inlines after class def.
17470 * buffer.C (pop_tag): use string operations instead of strcmp
17472 * bmtable.c: doxygen, small cleanup
17474 * LaTeX.h: remove friend operator==
17476 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17488 * BufferView_pimpl.C:
17489 * BufferView.[Ch]: remove cruft
17491 2001-02-14 Juergen Vigna <jug@sad.it>
17493 * lyxfunc.C: removed #if 0 unused code
17495 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17497 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17499 * text2.C (SetSelection): added a BufferView * parameter
17501 2001-02-13 Juergen Vigna <jug@sad.it>
17503 * lyxfunc.C (Dispatch): fixed protected blank problem.
17504 * BufferView2.C (protectedBlank): added LyxText * parameter.
17506 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17507 (AppendColumn): same as above for column_info.
17509 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17510 (moveCursorUpdate): use a LyXText param for support of InsetText.
17512 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17513 (tripleClick): ditto
17515 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17517 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17519 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17521 * text2.C (SetSelection): set correct update status if inset_owner
17522 (ToggleFree): ditto
17524 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17526 * tabular.C: remove some commented code.
17528 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17530 * BufferView_pimpl.C: call hideSplash()
17532 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17535 * bibforms.h: remove
17538 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17539 add LFUN_CHILD_CREATE
17541 * counters.h: fix tiny typo
17546 * lyx.C: move splash to frontends/xforms/
17548 * lyx_gui_misc.C: move Include and Bibform to frontends
17550 * lyxvc.h: clarify comment
17552 * vspace.C: tiny housekeeping
17554 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17556 * text.C (PrepareToPrint): RTL Fix.
17558 * paragraph.C (GetUChar): New method.
17559 (String): Use GetUChar.
17561 * buffer.C (asciiParagraph): Use GetUChar.
17563 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17565 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17567 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17570 * buffer.C: rename to getLogName(), handle
17571 build log / latex log nicely
17573 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17576 * MenuBackend.h: remove support for reference menuitem type.
17578 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17580 * BufferView_pimpl.C: housekeeping
17581 * BufferView_pimpl.h:
17586 * minibuffer.h: move Timeout GUI-I
17588 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17590 * lyxrc.C (read): Update converters data-structures.
17592 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17594 * LaTeX.h (operator!=): add operator != for Aux_Info
17596 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17598 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17600 * LaTeXLog.C: deleted, useful code moved to Buffer
17603 * buffer.C: new function getLatexLogName()
17609 * lyxfunc.C: use frontends for LaTeX and VC logs
17611 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17613 * LaTeX.h: yet another std:: that Allan forgot.
17615 * Variables.C (set): renamed from isset(), because this clashes
17616 with some HP-UX macros (grr).
17618 2001-02-06 Allan Rae <rae@lyx.org>
17620 * LaTeX.h: Another bug fix. Missing std:: this time.
17622 2001-02-04 Allan Rae <rae@lyx.org>
17624 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17625 floats problem. I've left it commented out because it's not quite
17626 correct. It should also test that the current object is a table or
17627 figure inset. But I haven't gotten around to figuring out how to do
17628 that. I *think* it'll be something like: "table" == inset.type()
17630 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17633 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17635 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17636 all the citation/databases/styles in the auxilary file.
17637 (run): Rerun latex if there was a babel language error.
17639 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17641 * text.C (Backspace): Preserve the font when changing newline char
17643 (BreakParagraph): If the cursor is before a space, delete the space.
17645 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17647 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17649 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17650 new argument (code).
17651 (ChangeCitationsIfUnique): New method.
17653 * paragraph.C (GetPositionOfInset): Handle bibkey.
17655 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17657 * BufferView_pimpl.h: change type of Position::par_pos to
17658 LyXParagraph::size_type.
17660 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17662 * BufferView_pimpl.C (savePosition, restorePosition): Write
17663 messages to minibuffer.
17665 2001-01-28 José Matos <jamatos@fep.up.pt>
17667 * buffer.C (makeDocBookFile): adds support for document language.
17668 A silly restriction on the name of LatexCommand types where removed.
17669 Added support for CDATA sections, allows to chars unescaped, used
17670 among others in code, to avoid escape < and >.
17672 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17674 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17675 saved positions instrad of a stack. Furthermore, a position is
17676 stored using paragraph id/paragraph position.
17678 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17679 Remove LFUN_REF_BACK.
17681 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17683 * converter.C (dvipdfm_options): New method.
17685 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17687 * vspace.C (isValidLength): Fix for empty input string.
17689 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17691 * LyXAction.C (init): change description of LFUN_FIGURE to
17694 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17696 * LaTeX.C: add using directive
17698 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17700 * MenuBackend.C (expand): Fix the sorting of the formats.
17702 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17704 * lyx_main.C: tiny error message fix
17706 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17708 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17709 calling fl_initialize(). This fixes the problem with ',' as
17710 decimal separator in text files.
17712 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17714 * trans.C (process): Fix the keymap bug.
17716 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17718 * LaTeX.C (scanAuxFiles): New method. Provides support for
17719 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17720 (scanLogFile) Scan for "run BibTeX" messages.
17722 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17723 OT1 font encoding. Also, load the aecompl package if the ae
17726 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17728 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17730 * texrow.C (increasePos): turn two error messages into debug
17733 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17735 * LaTeX.C (scanAux): Handle the \@input macro.
17736 (runBibTeX): Use scanAux().
17738 * language.C (latex_options_): New field.
17740 * LaTeXFeatures.C (getMacros): Add language macros.
17742 * buffer.C (makeLaTeXFile): Small fix.
17744 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17746 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17748 * text2.C: add a using directive.
17750 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17755 * lyxfunc.C: kill LyXBell.
17757 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17759 * text.C (IsBoundary): Remove the error message
17761 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17763 * lyxrc.C (setDefaults): Correct initialization value for
17766 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17768 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17771 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17772 and GotoNextNote().
17774 * src/LyXAction.C: Added reference-next.
17776 * text.C (InsertChar): Use contains instead of strchr.
17778 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17780 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17782 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17783 alignment commands (when needed).
17785 * text.C (InsertChar): Add ':' to number separator chars.