1 2005-06-14 Angus Leeming <leeming@lyx.org>
3 * lyx_main.C (init): ensure that the LyX binary dir is the first
4 element in the PATH on non-POSIX builds.
6 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
10 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * rowpainter.C (paintInset, paintHebrewComposeChar)
13 (paintArabicComposeChar, paintChars): add a LyXFont argument.
14 (paintChars): use getFontSpan to reduce calls to getFont to a
15 minimum; use Paragraph::lookupChange instead of isXXXText.
16 (paintForeignMark): rename LyXFont argument.
17 (paintFromPos): pass a LyXFont object to the various paintXXX
20 * FontIterator.C (FontIterator, operator++): use
21 Paragraph::getFontSpan
23 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
24 version that returns the font span as a pair.
26 2005-06-09 Angus Leeming <leeming@lyx.org>
28 * converter.C (convert): Don't forget "outfile = real_outfile" as
29 the final step in a conversion where the input and output file names
30 are the same. Otherwise, future conversion steps won't work...
32 2005-06-09 Angus Leeming <leeming@lyx.org>
34 * lyxsocket.C: remove stub code as it isn't needed by
35 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
37 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
39 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
40 effectively disabled -x
42 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
44 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
45 when it actually makes sense.
47 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
49 * BufferView_pimpl.C: revert to showCursor in connection with
50 Lars's front-end stack
52 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
54 * text.C (redoParagraph): move cursor right after a bibitem
57 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
59 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * buffer_funcs.C (bufferErrors): fix computation of the end of an
64 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
66 * BufferView.[Ch] (update):
67 * BufferView_pimpl.[Ch] (update, metrics):
68 * dimension.h (operator==):
69 * lyxfunc.C (dispatch):
70 * metricsinfo.h (ViewMetricsInfo):
71 * rowpainter.C (paintText):
73 * text.C (redoParagraph):
74 * text3.C (dispatch): Make LyX only repaint current paragraph in
75 case of character insert --> speedup. Also fix cursor draw
78 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
81 avoid a crash (bug 1891)
83 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * text2.C (getStringToIndex): constify cur argument.
89 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
90 argument has been given
91 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
92 try to invoke LFUN_INSET_APPLY).
94 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
95 if no inset was created by doInsertInset
96 (doInsertInset): return true if an inset has been inserted.
98 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * vspace.C (asGUIName): new method. A version of the space
101 suitable for showing on screen.
103 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
106 * lyxrc.C: rename "ASCII" to "Plain Text"
108 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * buffer_funcs.C (expandLabel): take a Buffer as argument;
111 translate the labelstring.
112 (setCounter): translate labelstring as needed.
114 * output_docbook.C (makeCommand): fix expandLabel invokation
116 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
118 * BufferView.C: fix dialog title
120 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
122 * lyx_main.C (priv_exec): fix logic error with help from Angus
123 * lyx_main.C (parse_execute): set is_gui = false and remove now
124 obsolete comment about a segfault
126 2005-05-18 Angus Leeming <leeming@lyx.org>
128 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
130 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
132 * tabular.[hC]: added setCellInset to fix tabular paste.
134 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
136 * buffer.C (save): check if destination is writable before trying
139 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
141 * BufferView_pimpl.C (update): fix processEvents -caused update
144 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * buffer_funcs.C (setCounter): fix test for numbering of
149 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
150 depth correctly; use optional argument when it exists
152 * lyxtextclass.C: remove unused MaxCounterTags enum
153 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
154 (max_toclevel, min_toclevel): new methods.
156 * MenuBackend.C (expandToc2): fix case where depth is smaller than
157 the smallest depth in toc.
159 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
160 layouts that should not appear in a table of contents.
162 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
164 * cursor.h (undispatched, noUpdate): add comments from André
166 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
170 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
172 2005-05-07 André Pönitz <poenitz@gmx.net>
174 * cursor.[Ch] (leaveInset): new function
176 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
178 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
180 2005-05-04 Angus Leeming <leeming@lyx.org>
182 * lyxfunc.C (getStatus): disable the spell checker dialog if
183 none of USE_[AIP]SPELL are defined.
185 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
187 * tabular.C (setWidthOfCell): remove obsolete comment
189 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
191 * paragraph.C (bibitem):
192 * buffer_funcs.C (setCounter):
193 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
195 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
197 * text3.C (getStatus): immediately return after setOnOff
199 * rowpainter.C: fix drawing of appendix start
201 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
203 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
204 SwitchBetweenClasses and remove the unused return value.
205 Handle character styles, too
207 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
209 * factory.C (createInset): handle undefined character styles
211 2005-05-02 Angus Leeming <leeming@lyx.org>
213 * buffer.C: protect the #include of utime.h with a preprocessor
216 2005-05-02 Angus Leeming <leeming@lyx.org>
218 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
219 function so that auto-saving works, albeit in a blocking manner.
221 * Makefile.am: make compilation of the client sub directory, of
222 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
223 on conditionals set at configure time.
225 * SpellBase.[Ch]: no longer an abstract base class. Instead,
226 it can be compiled in its own right but has no-op functionality.
228 * aspell.C, pspell.C: remove preprocessor guards. The files should
229 be compiled only if the necessary functionality exists.
231 * lyxserver.C, lyxsocket.C: disable on Windows.
233 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
235 * text.C (leftMargin): Fix the parindent use bug (1764)
238 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
240 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
243 2005-04-25 Angus Leeming <leeming@lyx.org>
251 include <config.h> in .C files, not .h ones.
253 protect headers inside preprocessor guards.
255 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * FuncStatus.h (StatusCodes): document
259 2005-04-21 André Pönitz <poenitz@gmx.net>
261 * FuncStatus.h (enabled, onoff): document
263 2005-04-19 Angus Leeming <leeming@lyx.org>
265 * BufferView_pimpl.C (cursorToggle): no longer test whether
266 any child processes have been reaped before calling
267 handleCompletedProcesses().
269 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
271 * text3.C (dispatch): fix, finally fix, the language problem in
272 new lyxtexts, without disabling on-the-fly font changes (Helge's
275 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
277 * text3.C (dispatch): set cursor on double/triple click events
280 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
283 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
285 * rowpainter.C (paintFirst): simplify the code a little bit. In
286 particular, remove the test for secnumdepth.
287 * text.C (setHeightOfRow): only allocate space for chapter number
288 when updateCounters provided an actual label, instead of looking
289 at secnumdepth directly.
291 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
293 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
294 paragraphs when secnumdepth is large enough or, for environments,
295 when they are not the first in a sequence.
297 2005-04-17 Angus Leeming <leeming@lyx.org>
299 * buffer.C (makeLaTeXFile): replace code to manipulate a path
300 containing space and '~' characters with a call to latex_path().
302 2005-04-17 Angus Leeming <leeming@lyx.org>
304 * converter.C (convert): protect all args of convertDefault.sh
307 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * text3.C (dispatch): change the layout to "Caption" after inserting
312 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
314 * text3.C (dispatch): fix language problem in newly created
315 textinsets (and main text) in non-english docs
317 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
319 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
320 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
321 * text3.C (getStatus): disable LFUN_INSET_MODIFY
323 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
328 * rowpainter.C (getFont): Fix metrics bug introduced by inset
331 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
333 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
334 output of \item arguments without trailing text.
336 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * FontIterator.C (operator*): avoid a copy of the font.
340 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
342 * rowpainter.C (getFont): fix language bug from previous fix
344 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
346 * rowpainter.C (RowPainter, getFont): fix font inside inset
349 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
351 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
352 preventing inserted font, deco, delim insets jumping to start of
355 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * lyxfunc.C (dispatch): translate message before sending it to the
360 2005-03-29 Angus Leeming <leeming@lyx.org>
362 * lyx_main.C (priv_exec): call os::internal_path on each file passed
363 to LyX on the command line.
365 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
367 * vc-backend.C: use QuoteName to protect file names wherever
370 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
373 * BranchList.h: fix bugs 1844,1845: document settings don't
376 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * lyxrc.C (setDefaults, read, output, getDescription): add support
379 for tex_allows_spaces.
381 * exporter.C (Export): allows files in directory containing spaces
382 if tex_allows_spaces is true.
384 * buffer.C (makeLaTeXFile): if the document path contains spaces,
385 output it in double quotes.
387 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
389 * rowpainter.C: use default text height for drawing change tracker
392 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
394 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
396 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
399 directory is missing.
401 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
403 * text2.C: fixed the fix, extended to other case.
405 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
407 * text2.C: fix for cursor up/down stuck in math [bug 1792]
409 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
411 * text2.C (cursorUp): get rid of a crash
412 * text.C (x2pos): add an assert
414 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * lyxfunc.C (getStatus): fix warning when assertions are disabled
420 * dociterator.C: include <boost/current_function.hpp>, which is
421 needed when assertions are disabled.
423 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
425 * text2.C: fix for stuck cursor when traversing two
426 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
428 2005-02-25 Andreas Vox <avox@arcor.de>
430 * output_docbook.C (makeParagraph): suppress trailing newline
431 after a run of paragraphs
433 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
435 * paragraph.C: fix for confused change tracker when pasting
436 text that begins with a lineseparator. [bug 1827]
437 (setChange(0, Change::INSERTED);)
439 * paragraph_funcs.C: fix for lost changes on triple-paste
440 in change tracking mode [bug 1827] (par.setChange()).
442 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * text2.C (updateCounters, setCounter, expandLabel): move to
447 * buffer_funcs.C (updateCounters): turn into a free standing
448 function and add a buffer parameter. Remove dead code for tracking
450 (setCounter): change into a free-standing function which gets a
451 dociterator as argument. Use this iterator to fix captions in a
452 simple way. When no float is found above the caption, use the
453 labelstring of the caption layout as default.
455 * text.C (breakParagraph, backspace):
456 * text2.C (init, setLayout, changeDepth):
457 * text3.C (dispatch):
458 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
461 * dociterator.C (forwardPar): make it much faster by calling
462 forwardPos() only when really necessary.
464 * output_docbook.C (makeCommand): adapt to expandLabel move.
466 * cursor.C: remove unused variable
468 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
470 * paragraph_funcs.C: fix crash when pasting insets in change
471 tracking mode [bug 1277] (honour change type in moveItem).
473 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
475 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
477 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
479 * BufferView.C (setCursor): change to use a DocIterator.
480 (gotoLabel): use BufferView::setCursor (other part of bug 781).
481 (putSelectionAt): adapt to BufferView::setCursor change.
483 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
484 moved here from LyXText and rewritten to use proper cursor
485 methods. Fixes bug 1787, 616 and 835.
487 * BufferView_pimpl.C (restorePosition): set the cursor correctly
488 when inside an inset (part of bug 781).
489 (dispatch): adapt to change of BufferView::setCursor.
490 (getStatus, dispatch): handle LFUN_GOTOERROR,
491 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
493 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
494 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
495 * text3.C (gotoNextInset, gotoInset): removed.
497 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
501 2005-02-15 Angus Leeming <leeming@lyx.org>
503 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
504 can be used meaningfully in a comparison.
506 2005-02-13 André Pönitz <poenitz@gmx.net>
508 * bufferview_funcs.C (coordOffset): improve cursor drawing
510 2005-02-13 André Pönitz <poenitz@gmx.net>
512 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
513 * Cursor.C (dispatch): use fixIfBroken
514 * lyxfunc.C (getStatus): use fixIfBroken
516 2005-02-15 Angus Leeming <leeming@lyx.org>
518 * lyx_main.C (error_handler):
520 * lyxrc.C (setDefaults):
522 #include "environment.h".
524 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
526 2005-02-15 Angus Leeming <leeming@lyx.org>
528 * lyxserver.C (startPipe): squash MSVC warning "local variable
529 'fd' used without having been initialized".
531 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
533 * BufferView_pimpl.C: revert accidental commit.
535 2005-02-14 André Pönitz <poenitz@gmx.net>
537 * dociterator.[Ch]: new member forwardPosNoDescent(),
538 which doesn't enter nested insets.
539 * text2.C (setFont): use forwardPosNoDescent() instead
540 of ForwardPos() (fixes crash on font change).
542 2005-02-13 Angus Leeming <leeming@lyx.org>
544 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
545 only if lyxrc.path_prefix is not empty.
547 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
549 * bufferparams.C (readGraphicsDriver): prevent crash
551 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
553 * text2.C (setCounter): check for inInset() == 0
555 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
557 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
558 but use update() to get correct screen display; use convert
559 instead of istringstream.
560 (getStatus): handle LFUN_GOTO_PARAGRAPH
562 * lyxfunc.C (dispatch, getStatus): do not handle
563 LFUN_GOTO_PARAGRAPH here.
565 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
567 * text3.C (dispatch): size() -> depth()
569 * text2.C: remove some debug output
571 * paragraph.C: ws changes only
573 * lyxfunc.C (getStatus): size() -> depth()
575 * dociterator.h (clear, push_back, pop_back, internalData,
576 operator[], resize, empty): new functions
577 Make StableDocIterator and operator== be friends. Don't inherit
578 from std::vector use a privat class variable slices_ instead.
581 * dociterator.C: update because of not inheriting from std::vector
582 anymore. Call explictly to slices_ instead. Use depth() instead of
583 size() and top() instead of back()
585 * cursor.C: chagne size() -> depth and back() -> top(). Also
586 remove some direct operator[](i) calls in favour of foo[i]
587 (getFont): remove some dead code
589 * bufferview_funcs.C (coordOffset): size() -> depth()
591 * buffer.C: ws changes only
593 * CutAndPaste.C (eraseSelection): back() -> top()
595 * BufferView_pimpl.C (selectionRequested): back() -> top()
597 * BufferView.C (setCursor): size() -> depth()
599 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
601 * text3.C (cursorPrevious): return true if depm changed something
603 (dispatch): rename sl to oldTopSlice, remove moving use the new
604 NoUpdate func attrib instead. Make sure that needsUpdate is set
605 for function that have NoUpdate, but where depm might have changed
608 * text2.C (cursorLeft): make us return true if depm changed
611 (cursorUpParagraph): ditto
612 (curosrDownParagraph): ditto
613 (cursorUp, cursorDown): ditto, make sure to read comments in code
614 (deleteEmptyParagraphMechanism): remove an assert, also return
615 true if just a single char was deleted.
617 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
618 cursor that we modify, to avoid modifying an active cursor before
619 we call setCursor. This allows depm to run. Also return true if
620 depm deleted something.
622 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
623 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
624 cursorDownParagraph, cursorPrevious and cursorNext, return true if
625 something was changed in the buffer because of them (ie. depm run)
627 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
628 debug messages. Make update by default be false. Make sure that
629 the result of update is retained throught several calls down to
632 * LyXAction.h: add a new func_attrib: NoUpdate
634 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
635 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
636 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
638 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
640 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
643 bv_->owner(), bv_->buffer() by direct references to the private
645 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
646 (getStatus): isSavedPosition() is in BufferView::Pimpl.
647 (fitCursor): center() is in BufferView::Pimpl.
648 (getStatus, trackChanges, dispatch): no need for a temporary buf
650 (fitCursor, workAreaDispatch): use workarea().workheight()
652 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
654 * CutAndPaste.C (pasteSelectionHelper): fix a crash
656 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
658 * buffer.C: format up to 241.
659 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
660 break if pasting into ERT
661 * lyxfunc.C (getStatus): suppress mathpanel and
662 LFUN_DIALOG_SHOW_NEW_INSET in ERT
664 2005-02-01 Angus Leeming <leeming@lyx.org>
666 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
668 2005-02-01 Angus Leeming <leeming@lyx.org>
670 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
671 calling fs::is_directory().
673 2005-01-31 Angus Leeming <leeming@lyx.org>
675 * lyx_main.C (priv_exec): specify explicitly the relative location
676 of the top level build directory when run in-place.
678 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
681 LyXText containing the cursor, not the top-level one.
683 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
685 (insertStringAsLines): rename par to pit; use temporary variable
686 par to hold a Paragraph; do not store par.layout() in a variable,
687 since the pointer may die when breaking paragraphs; pass pars to
688 breakParagraph() instead of Buffer::paragraphs().
690 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
692 * lyxlex_pimpl.h: #include <fstream>.
694 * BufferView.[Ch] (getLyXText): add a const version.
696 * BufferView_pimpl.C: add debug aids.
701 * paragraph_funcs.h: add commentary explaining what the class does.
704 * coordcache.[Ch]: add lots of commentary.
705 (startUpdating, doneUpdating): debug aids.
706 (arrays, insets, parPos, getParPos): accessors to private data.
708 * cursor_slice.[Ch] (text): add a const version.
709 * dociterator.[Ch] (text, innerText): add const versions.
711 * lyxtext.h (breakParagraph): change the keep_layout arg to a
714 * paragraph.C (getRow, pos2ros): add asserts.
716 * paragraph.h: add commentary. Lots of.
718 * paragraph.[Ch] (metrucs, draw): removed.
721 * rowpainter.[Ch]: const-correct changes.
723 * text.C: various obvious clean-ups. Removal of ancient cruft.
726 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
728 * vc-backend.C (find_file): rewrite to use boost.filesystem
731 * main.C (main): set default name check for boost.filesystem to
734 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
737 (actOnUpdatedPrefs): ditto
739 * lyx_main.C (init): rewrite to use boost.filesystem
740 (queryUserLyXDir): ditto
742 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
743 (getContentsOfAsciiFile): ditto
745 * lastfiles.C (readFile): rewrite to use boost.filesystem
747 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
749 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
752 * buffer.C (Buffer): adjust for destroydir
753 (getLogName): rewrite to use boost.filesystem
755 (save): use fs::copy_file (from fs_extras)
757 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
759 * LaTeX.C (run): rewrite to use boost.filesystem
760 (scanAuxFiles): ditto
761 (handleFoundFile): ditto
763 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
765 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
767 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
769 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
771 * lyxlayout.[Ch]: change some vars from float to double
773 * buffer.C (readFile): make a local var const
775 * Several files: use convert<> instead of atoi,strToXXX and friends
777 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
779 * LaTeXFeatures.[Ch]: Add a static list packages_ that
780 holds the contents of packages.lst. New functions getAvailable
781 and isAvailable to parse and check that list, resp.
785 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
787 * bufferparams.[Ch]: new param output_changes.
789 * Buffer.C: increase file format to 240.
790 Use output_changes and isVailable.
794 * paragraph_pimpl.C: Use output_changes and isVailable.
796 2005-01-23 Angus Leeming <leeming@lyx.org>
798 * output_latex.C: #include "insetbibitem.h", rather than
799 forward declare function bibitemWidest.
801 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
803 * lyx_main.C (init): make it compile on the Mac.
805 2005-01-20 Angus Leeming <leeming@lyx.org>
807 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
808 (setLyXMisc): (char string literal) != (char string literal) is
809 performing a comparison on the addresses. Convert one operand
810 explicitly to string to guarantee expected behaviour.
813 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
816 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
818 * output_plaintext.C: remove unneeded #include gzstream.h.
820 2005-01-20 Angus Leeming <leeming@lyx.org>
822 * SpellBase.h: rename some of the elements of the Result enum.
829 * pspell.C (check): ditto
831 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
833 * buffer.C: add #include <fstream>.
835 * lyx_main.C (init): Compile fix.
837 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
839 2005-01-20 Angus Leeming <leeming@lyx.org>
841 * mover.h: change commentary to reflect the changed meaning of
844 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
846 * output_linuxdoc.C (linuxdocParagraphs): silence warning
848 * lyxfind.C (MatchString::operator()): remove bogus semicolon
850 2005-01-20 Angus Leeming <leeming@lyx.org>
852 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
853 printing diagnostic data by not dereferecing an iterator past the
856 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
858 * buffer.C (readHeader): use "&&" rather than "and".
860 * lyxserver.h (inPipeName, outPipeName): make these const.
862 2005-01-19 Angus Leeming <leeming@lyx.org>
864 * lyx_main.C (error_handler, init): protect SIGHUP with
865 #ifdef SIGHUP guards.
867 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
869 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
871 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * text.C (setHeightOfRow): add a margin at the top and bottom of
874 the document (bug 1761)
876 2005-01-17 Angus Leeming <leeming@lyx.org>
878 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
879 with "python ". Workaround for a brain-dead Windows.
881 2005-01-16 Angus Leeming <leeming@lyx.org>
883 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
884 for MacOSX and Windows to use prependEnvPath.
885 Strip out the hard-coded block to add elements to the PATH for
886 MacOSX and replace it with a call to prependEnvPath using the
887 contents of LyXRC::path_prefix.
888 (queryUserLyXDir): strip out the code to run reconfigure, instead
889 returning a boolean indicating the necessity to do so.
890 (reconfigureUserLyXDir): contains the code to reconfigure the
891 user support directory. Is now called after the various LyXRC data
892 files have been read.
894 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
896 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
898 * converter.[Ch] (convert): take a new parameter try_default. Use
899 a default converter (imagemagick) if try_default is true.
901 2005-01-13 Angus Leeming <leeming@lyx.org>
903 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
905 (write): output LyXRC::cygwin_path_fix as necessary.
907 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
910 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
912 2005-01-12 Angus Leeming <leeming@lyx.org>
914 * lyx_main.C (init): set the PATH variable to include the
915 directory containing the LyX binary when running on Mac or Windows.
917 2005-01-12 Angus Leeming <leeming@lyx.org>
919 * lyx_main.C (init): remove cruft that purports to set the locale
920 dir. It doesn't and is not needed anyway.
922 2005-01-10 Angus Leeming <leeming@lyx.org>
924 * Makefile.am: remove the lyx_main.C special casing.
926 * BufferView_pimpl.C:
932 * messages.C: use support/package.h to provide the paths to the
933 various directories used by LyX.
935 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
937 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
938 layout if pasting into an empty paragraph)
940 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
942 * tex-accent.C: add <string>
944 2005-01-06 José Matos <jamatos@lyx.org>
946 * ParagraphParameters.C (write): put every parameter in its own line.
947 * paragraph.C (write): reduce number of consecutive empty lines exported.
948 * buffer.C (LYX_FORMAT): increase file format to 239.
950 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
952 * everywhere: change support/tostr.h -> support/convert.h
954 * tabular.C: make all write_attributes templates, tostr -> convert
956 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
957 (emptyTag): and -> &&, and fix type for ret from getChar
958 (getFirstWord): fix type for ret from getChar
959 (onlyText): and -> &&
960 (simpleDocBookOnePar): and not -> && !, fix type for ret from
963 * toc.C (goTo, action):
964 * text3.C (dispatch):
965 * text.C (currentState):
966 * tex-accent.C (DoAccent):
969 * lyxfunc.C (menuNew):
970 * lyxfinc.C (replace):
971 * counters.C (laberItem):
972 * bufferview_funcs.C (font2string):
973 * bufferparams.C (writeFile):
974 * buffer.C (readFile):
976 * MenuBackend.C: tostr -> convert
978 * LaTeX.C (runMessage): fix format
979 (scanAuxFiles): tostr -> convert
981 * BufferView_pimpl.C (savePosition): fix format
982 (restorePosition): ditto
985 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
987 * Spacing.[Ch]: New method getValueAsString().
991 * ParagraphParameters.C:
994 * text3.C: store/read spacing value as string.
996 * rowpainter.C: change float value (spacing_val) to double.
998 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
999 broken custom document spacing).
1001 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1003 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1004 namespace, also more use of temp references and const
1006 * cursor.[Ch] (getStatus): move to lyxfunc.C
1008 * bufferparams.C: reformat slightly
1010 * bufferview_funcs.C (font2string): constify arg
1016 * buffer_funcs.C: (many funcs): constify arg on function
1017 definitions, also make more local vars const, also add ASSERTS on
1020 * buffer.C (LYX_FORMAT): put const in correct place
1021 (many funcs): constify arg on function definitions, also make
1022 more local vars const
1024 * aspell_local.h: remove "struct" from typdef setup
1026 * aspell.C (check): make word_ok const
1027 (nextMiss): simplify slightly
1030 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1032 * lyxrc.[Ch]: store all float values as strings.
1033 use int (not float) for lyxrc.dpi.
1035 2005-01-04 Angus Leeming <leeming@lyx.org>
1037 * lyx_cb.C (Reconfigure):
1038 * lyx_main.C (queryUserLyXDir):
1039 to run the <system_lyxdir>/configure correctly on Windows, prefix
1040 the path to the script with "sh " when generating the string that
1041 is passed to system().
1043 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1045 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1047 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1049 * lyxlength.C (asLatexString): get rid of setprecision
1051 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1053 * text2.C (setLayout): remove unused variable endpit.
1054 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1056 * paragraph.C (onlyText): remove unused variable style.
1058 * cursor.C (bruteFind): remove unused variables beg and end.
1060 * Makefile.am (dist_noinset_DATA): not needed anymore
1062 * cheaders/*: remove.
1064 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1066 * text3.C: fix LFUN_MATH_MODE.
1068 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1070 * buffer_funcs.C (countWords): new function. Counts words between
1073 * BufferView_pimpl.C (getStatus, dispatch): handle
1076 * LyXAction.C (init):
1077 * lfuns.h: add LFUN_WORDS_COUNT.
1079 2004-12-19 Angus Leeming <leeming@lyx.org>
1081 * buffer.C (save): s/slashify_path/internal_path/.
1083 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1085 * lyxfind.C (findChange): do not search for end of pars, because
1086 the change tracker cannot handle this (fixes bug 1719).
1088 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1090 * paragraph.[Ch] (autoBreakRows): remove
1092 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1094 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1095 avoid using the paragraph one
1097 * text2.C (LyXText, insertStringAsLines): adjust
1099 2004-12-16 Angus Leeming <leeming@lyx.org>
1103 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1105 2004-12-14 Angus Leeming <leeming@lyx.org>
1107 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1109 * bufferlist.C (emergencyWrite):
1110 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1113 2004-12-14 Angus Leeming <leeming@lyx.org>
1115 * main.C: (main): no longer pass pointers to os::init.
1117 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1119 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1120 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1122 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1125 * text3.C: remove selection_possible global flag
1127 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1129 * text2.C (getSelectionSpan): remove
1130 (changeDepth, changeDepthAllowed): adjust
1132 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1134 * Makefile.am (BOOST_LIBS): use boost variables
1136 2004-12-03 José Matos <jamatos@lyx.org>
1138 * buffer.C: format up to 238.
1140 2004-12-03 José Matos <jamatos@lyx.org>
1142 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1144 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1146 * cursor.C (goUpDown): remove call to idxUpDown2
1148 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1150 * tabular.[Ch]: use size_t-like types for cell, row and column
1153 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1155 * lyxfunc.C (getStatus): do not lose previous information when
1156 calling BufferView::getStatus; do not set a default "Command
1157 disabled" message at the beginning, but just before returning.
1159 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1161 * cursor.h (getStatus): add better comment from src/cursor.C
1163 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1165 * text3.C (getStatus): return false when the lfun is not handled
1167 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1169 * broken_headers.h: remove
1171 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1173 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1175 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1176 offset_ref accessors
1178 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1179 top_y_, merge fitcursor with update
1180 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1182 (metrics): introduce
1183 (workAreaDispatch): adapt to new coord scheme
1184 (redoCurrentBuffer): remove
1186 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1188 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1191 * coordcache.[Ch]: add paragraph cache and helpers
1193 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1196 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1197 (targetX, setTargetX): introduce
1199 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1200 baseline -> ascent, as the rest of lyx
1202 * lyxtext.h: remove redoParagraphs, updateParPositions,
1203 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1204 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1205 have ascent/descent (ascent is ascent of first par)
1207 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1210 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1212 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1214 * pariterator.C: fix infinite loop introduced in par->pit renaming
1216 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1217 in insets and LyXText, draw two off-screen paragraphs using
1218 NullPainter, and adapt to new coord scheme
1222 * text3.C: adapt lfun handlers to the new coord scheme, which
1223 means: there's only guaranteed coord information for onscreen pars
1224 plus one above and one below. This implies that one can do search
1225 from y coordinates in the range [-1,workHeight]
1227 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1229 * rename a lot of InsetOld to InsetBase
1231 2004-11-25 Angus Leeming <leeming@lyx.org>
1233 * BufferView_pimpl.C:
1235 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1237 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1239 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1240 call BufferView::getStatus if LCursor::getStatus did nothing
1241 (setStatusMessage, getStatusMessage): removed.
1243 * FuncStatus.C (message): new methods. Used to provide an error
1244 message indicating why a command is disabled.
1245 (clear, |=, FuncStatus): update for message.
1247 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1249 * lyxfunc.C (dispatch): always call sendDispatchMessage
1251 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1254 * BufferView_pimpl.C:
1259 * cursor_slice.[Ch]:
1262 * paragraph_funcs.C:
1268 * undo.C: par->pit renaming
1270 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1272 * tabular.C (cellstruct): use initialization, store a shared_ptr
1273 to insettext instead of the insettext directly, adjust to fit.
1274 (operator=): new function
1275 (swap): new function
1276 (rowstruct): use initialization
1277 (columnstruct): use initialization
1278 (ltType): use initialization
1281 * lyxlength.h (swap): new function
1283 * LColor.[Ch] (operator=): use the common semantics
1285 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1287 * lyxfind.C (findNextChange): update the bufferview after setting
1290 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1292 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1293 number of InsetOptArgs has already been inserted.
1295 * output_latex.C (latexOptArgInsets): new method. This outputs all
1296 the optarg insets, up to the limit defined in the layout file.
1297 (optArgInset): removed
1298 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1300 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1302 * paragraph.C (isLetter): remove special spellchecker-related
1303 code; return true also for digits
1304 (isWord, isKomma): remove
1306 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1307 * lyxfind.C (MatchString()): use isLetter instead of isWord
1309 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1311 * pariterator.h (operatir=): comment out un-implemented member
1314 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1317 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1319 * lyxfont.h: include LColor.h to satisfy concept checks.
1321 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1323 * pariterator.h: add typdefs for value_type, difference_type,
1324 pointer and reference to satisfy concept checks. Also add default
1325 constructor for same reason.
1327 * pariterator.C (operator++): add post-increment operator to
1328 satisfy concept checks.
1330 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1333 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1335 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1336 checks. Also rename base_type to BaseType to follow naming
1339 * FloatList.h: include Floating.h to satisfy concept checks.
1341 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * lyxfunc.C (getStatus): when the origin of the request is menu or
1344 toolbar, and the LyXView does not have focus, do as if there was
1345 no buffer (bug 1720)
1347 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1348 FuncRequest to individual entries of LFUN_SEQUENCE
1350 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1352 * output_latex.C (TeXOnePar): override runparams.moving_arg
1353 according to the needprotect value of the current paragraph (bug
1356 * paragraph.C (simpleTeXOnePar): no need to override
1357 runparams.moving_args here
1359 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1361 * vspace.C: fix off-by-one-error, related to fix #1682
1363 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1365 * lengthcommon.C: a more general fix for bug 1682
1367 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1369 * text.C (backspace): fix crash
1371 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1373 * format.[Ch] (getFormatFromFile): new method
1374 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1376 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1378 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1380 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1382 * lyxfunc.C (dispatch): remove the verbose argument
1383 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1386 * kbmap.C (defkey): set the origin of func to KEYBOARD
1388 * MenuBackend.C (MenuItem):
1389 * ToolbarBackend.C (add): set the origin of func to UI
1391 * funcrequest.[Ch]: add origin member, which indicates which part
1392 of LyX requests an action
1394 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1396 * converter.C (move): don't lie in the error message
1397 * converter.h (isReachable, move): document
1399 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1401 * buffer.C: remove unused using lyx::support::atoi
1402 * paragraph_funcs.C: ditto
1404 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1406 * bufferlist.C (exists): use bind and equal_to instead of
1409 * lyxtextclasslist.C (NumberOfClass): ditto
1411 * cursor.C (insert): use for_each instead of explicit for loop
1413 * bufferlist.C (getFileNames): use std::transform and
1414 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1416 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1419 * buffer.C (changeLanguage): use for_each instead of explicit for
1421 (hasParWithID): implement using getParFromID
1423 * LaTeXFeatures.C: ws change only
1425 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1428 * BufferView_pimpl.C (trackChanges): use for_each instead of
1431 2004-11-04 André Pönitz <poenitz@gmx.net>
1434 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1436 * dociterator.C (asDocIterator): use hard assert again.
1438 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1440 * lyxlength.C (asLatexString): rewrite so that it does not use
1443 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1445 * text3.C (specialChar, dispatch): make sure cursor moves to the
1446 right after inserting an inset
1448 2004-11-02 José Matos <jamatos@lyx.org>
1450 * output_docbook.C (docbook):
1451 * paragraph.C (getID):
1452 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1453 garantee that the output is always legal.
1455 * tabular.C (docbook):
1456 * outputprams.[Ch]: remove mixed contents.
1458 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1460 * text2.C (setCounter): prevent endless loop
1462 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1464 * exporter.C (copyFile): use the mover instead of support::copy()
1465 * exporter.C (Export): pass format and latex name to copyFile()
1466 * exporter.h (addExternalFile): document
1467 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1469 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1471 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1473 2004-10-30 José Matos <jamatos@lyx.org>
1475 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1476 text and no inset or font change. This allows to use CDATA
1477 sections just for the whole paragraph.
1479 2004-10-30 José Matos <jamatos@lyx.org>
1481 * paragraph.C (getFirstWord): remove unused variable.
1483 2004-10-30 José Matos <jamatos@lyx.org>
1485 * paragraph.C (getFirstWord): the content should always be escaped
1487 (simpleDocBookOnePar):
1488 * output_docbook.C (makeEnvironment): replace reference to CDATA
1491 2004-10-30 José Matos <jamatos@lyx.org>
1493 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1495 2004-10-30 José Matos <jamatos@lyx.org>
1497 * output_docbook.C (makeParagraphs):
1498 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1499 standard paragraph has only a given type of content drop the wrapper.
1501 2004-10-29 José Matos <jamatos@lyx.org>
1503 * output_docbook.C (makeEnvironment):
1505 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1507 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1509 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1510 (cleanID): sanitize any id.
1512 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1514 * buffer.C, lyxlex_pimpl.C:
1515 * lyxlex_pimpl.C (setFile):
1516 s/getExtFromContents/getFormatFromContents/
1518 2004-10-28 José Matos <jamatos@lyx.org>
1520 * output_docbook.C (makeEnvironment): move id to broadest possible
1523 * sgml.C (openTag): apply substitution of <> for all attributes.
1525 2004-10-28 José Matos <jamatos@lyx.org>
1527 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1528 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1529 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1531 * sgml.[Ch]: new version for open and closeTag for paragraph and
1532 for strings. Now they handle the ids of paragraphs.
1534 2004-10-26 Angus Leeming <leeming@lyx.org>
1536 * Makefile.am: add mover.[Ch].
1538 * converter.C (convert, move): use the new Movers to move external
1539 files to the temp directory.
1541 * lyx_main.C (init): ensure that the global system_movers data
1544 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1547 * mover.[Ch]: new files, defining a Mover as a utility to move an
1548 external file between directories and, if necessary, manipulate this
1549 file using a helper script.
1551 2004-10-25 José Matos <jamatos@lyx.org>
1553 * output_docbook.C (makeCommand): merge two if's that tested the
1556 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1558 * sgml.C (escapeString): fix warning in a better way
1560 2004-10-25 José Matos <jamatos@lyx.org>
1562 * sgml.C (escapeString): import the require boosts header file for
1563 tie, and avoid a signed unsigned comparison.
1565 2004-10-25 José Matos <jamatos@lyx.org>
1567 * sgml.h: add #include <string>
1569 2004-10-25 José Matos <jamatos@lyx.org>
1571 * sgml.[Ch] (escapeString): new function to escape all the string.
1573 2004-10-24 José Matos <jamatos@lyx.org>
1575 * paragraph.[Ch] (getFirstWord): new function to get the first
1576 word. Useful for description.
1577 (simpleDocBookOnePar): remove depth argument, add another that
1578 says where to start the paragraph.
1580 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1581 use the new functions to fix cleanly the support for descriptions.
1583 2004-10-24 José Matos <jamatos@lyx.org>
1585 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1586 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1587 * output_linuxdoc.C (linuxdocParagraphs):
1588 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1589 add buffer as argument.
1591 2004-10-24 José Matos <jamatos@lyx.org>
1593 * output_docbook.C (makeEnvironment, searchEnvironment): place
1594 CDATA inside paragraphs and fix scope for listitems.
1596 2004-10-24 José Matos <jamatos@lyx.org>
1598 * output_docbook.C: remove using statement for stack.
1600 2004-10-23 José Matos <jamatos@lyx.org>
1602 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1603 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1604 docbook. The new scheme is recursive and makes use of iterators, the
1605 same as latex export works.
1606 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1607 directly with the paragraph contents. This code was moved up to
1608 output_docbook.C (docbookParagraphs).
1609 * sgml.C (openTag, closeTag): removed unneeded newlines.
1610 (closeEnvTags) removed.
1612 2004-10-23 André Pönitz <poenitz@gmx.net>
1614 * undo.C (textUndoOrRedo):
1615 * dociterator.C (asDocIterator): work around crash
1617 * cursor.C (getStatus): replace ASSERT by more verbose error message
1618 and manual correction of the problem. Should increase stability
1619 while providing more sensible information.
1621 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1623 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1625 * bufferlist.C (previous, next): new methods
1628 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1630 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1632 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1633 entities to preamble.
1635 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1637 * messages.C (Pimpl): strip off translation context information
1639 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1641 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1642 the cursor is correct (bug 1694)
1644 2004-10-13 José Matos <jamatos@lyx.org>
1646 * output_docbook.C (docbookParagraphs): fix closing tags in the
1647 end of the document.
1649 2004-10-09 José Matos <jamatos@lyx.org>
1651 * buffer.C: format up to 237.
1652 * bufferparams.C (write): use tostr to convert booleans to strings.
1654 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1656 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1658 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1660 * LaTeX.C: implement use of babel language in xindy.
1662 2004-10-05 José Matos <jamatos@lyx.org>
1664 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1665 Add new translators to help reading and writing the lyx file.
1667 2004-10-05 José Matos <jamatos@lyx.org>
1669 * ParagraphParameters.C (read):
1670 * text.C (readParToken): replace nexToken by more appropriate lex
1673 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1675 * LaTeX.C (runMakeIndex):
1676 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1677 (usually 'makeindex') configurable.
1679 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1680 with a variable rather than with a number.
1682 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1684 * output_latex.C (TeXOnePar): make sure font setting is the first
1685 thing that gets output (and the last at the end). Should fix bug
1688 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1690 * pch.h: use proper signal include
1692 * LaTeX.h: Use preferred calling of Boost.Signal
1695 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1697 * pch.h: dont include <boost/function/function0.hpp>
1699 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1701 * paragraph_pimpl.h: remove usage of ShareContainer
1703 * paragraph_pimpl.C: remove initialization of ShareContainer.
1705 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1709 * BufferView.C (putSelectionAt): change the semantics when
1710 backwards == true: now, this just swaps cursor and anchor wrt the
1713 * BufferView.h (putSelectionAt): add some documentation
1715 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1716 make sure backwardChar is done at least once (to avoid getting
1718 (findNextChange): use putSelectionAt in the forward direction
1719 (operator()): use Paragraph::isWord
1721 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1723 * Spacing.C (set): c_str fix
1725 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1727 * lyx_cb.C (Reconfigure): quote the name of configure script in
1728 case it contains spaces
1730 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1734 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1735 (BOOST_LIBS): use top_buildir when looking for the file
1737 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1739 * pch.h: do not use include boost/format.hpp, multiple symbols
1740 will result (gcc bug)
1743 2004-08-23 José Matos <jamatos@lyx.org>
1745 * bufferparams.C (readToken): fix reading of the author field.
1747 2004-08-20 José Matos <jamatos@lyx.org>
1749 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1751 2004-08-20 José Matos <jamatos@lyx.org>
1753 * lyxlex.[Ch] (findToken): remove function.
1755 * ParagraphParameters.C (findToken):
1756 * bufferparams.C (findToken): replace call for previous function
1757 with local copy. This local function has one more argument, the
1758 read string argument.
1760 2004-08-16 José Matos <jamatos@lyx.org>
1762 * ParagraphParameters.C (write):
1763 * Spacing.C (writeFile):
1764 * bufferparams.C (writeLaTeX):
1765 * lyx_cb.C (Reconfigure):
1766 * paragraph.C (write):
1767 * tabular.C (write): remove unnecessary space at end of line.
1770 2004-08-16 José Matos <jamatos@lyx.org>
1772 * text.C (readParagraph): remove debug message.
1774 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1776 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1779 * output_plaintext.C (asciiParagraph): set depth correctly
1781 * outputparams.h: add member depth
1783 * paragraph_funcs.C (ownerPar): remove.
1785 * text2.C (setCounter): remove first_pit; comment out some
1786 non-working code that uses ownerPar
1788 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1791 2004-08-16 José Matos <jamatos@lyx.org>
1793 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1794 For the same level of importance use the same chanel to report problems.
1795 (read): add code to deal with \begin_body and \end_body.
1798 2004-08-15 José Matos <jamatos@lyx.org>
1800 * lyxlex.C (getString): fix comment, buffer::readBody is now
1801 buffer:readDocument.
1803 * tex-strings.C (string_papersize): Default -> default,
1804 Custom -> custom, for consistency with other options.
1806 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1810 * Makefile.am: support pch
1812 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1814 * text.C (readParToken): remove the static LyXFont variable and
1815 pass it as a parameter instead. This fixes a nasty bug where an
1816 inset will be inserted with a bad font in some situations
1817 (readParagraph): adapt
1819 * text2.C (setCounter): reduce number of calls to pars_[pit]
1821 * text.C (singleWidth): add an assert, fix a test
1823 * rowpainter.C (paintText): reduce number of calls to singleWidth
1825 * paragraph.C (isHfill):
1826 (isNewline): ws only
1828 2004-08-14 André Pönitz <poenitz@gmx.net>
1833 * lyxtext.h (several functions): use a Paragraph & argument
1836 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1838 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1840 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1842 * text.C (singleWidth): remove useless test
1844 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1846 * tabular.h: remove bogus comments
1848 * tabular.C (getDescentOfRow):
1849 (isPartOfMultiColumn): add assertions
1851 * lyxlength.C (inPixels): remove #warning
1853 2004-08-14 André Pönitz <poenitz@gmx.net>
1855 * paragraph.h: inline getChar()
1857 * BufferView.h: remove unused declarations
1859 2004-08-14 José Matos <jamatos@lyx.org>
1861 * Buffer.[Ch] (readDocument): new name for old readBody.
1862 * Buffer.C: new file format, new keywords: \begin_document,
1863 \begin_header, \begin_body, \end_body.
1865 * bufferparams.C (readToken): replace all calls to lex.nextToken
1866 by lex.next(). Do the same to eatLine except where really needed.
1868 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1869 line when writing to the lyx file.
1871 * output_plaintext.C (asciiParagraph): fix Bibliography style
1874 * text.C (read): fix end of file handling.
1876 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1878 * MenuBackend.C (Menu::operator[]): new method to access
1879 individual menu items
1880 (Menu::hasFunc): new method. search for an item that corresponds
1882 (MenuBackend::specialMenu): new method
1883 (MenuBackend::expand): if a special menu has been set, skip
1884 entries whose func() appears in this menu
1886 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1888 * text3.C: use Debug::DEBUG a bit more
1890 * text.C (leftMargin): try to simplify a tiny bit change var x to
1891 l_margin. Dont output the wide margins always.
1892 (rightMargin): no margin in inner texts
1894 * rowpainter.h (nestMargin): new func
1895 (changebarMargin): new func
1896 (rightMargin): new func
1898 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1902 * factory.C (createInset): modify setDrawFrame
1904 * cursor.C: use Debug::DEBUG a bit more
1906 2004-08-14 André Pönitz <poenitz@gmx.net>
1909 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1910 cache for all insets in (at least partially) visible (top-level)
1913 * BufferView_pimpl.C: reset external coord cache before every update.
1914 This means the coord cache only contains valid entries.
1916 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1919 * BufferView_pimpl.C (getInsetByCode): move function out of class
1920 and change in to a template in anon namespace. Also fix to do what
1923 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1926 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1928 (breakParagraph): rename par to par_offset and use a local
1929 reference. Add code to keep the language over a rebreak.
1930 (breakParagraphConservative): rename par to par_offset, use a
1932 (mergeParagraph): ditto
1934 (isFirstInSequence): ditto
1935 (outerFont): rename pit to par_offset
1937 * paragraph.C: ws change
1938 * paragraph.h: ditto
1942 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1944 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1947 * paragraph.C (simpleTeXOnePar): when we have a \item with
1948 optional argument, enclose the argument with curly brackets (in
1949 case it contains a closing square bracket)
1953 * text3.C (checkInsetHit): constify
1955 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1957 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1958 documents (bug 1629)
1960 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1962 Fix toggling of collapsable insets with the mouse (bug 1558)
1964 * lyxfunc.C (dispatch): adapt to LCursor changes
1966 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1967 make sure that dispatch is not invoked twice
1969 * cursor.C (needsUpdate): new method
1970 (dispatch): return void
1971 (result): new method, to access the DispatchResult of the cursor.
1973 2004-08-13 José Matos <jamatos@lyx.org>
1975 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1977 2004-08-13 André Pönitz <poenitz@gmx.net>
1979 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1981 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1984 2004-08-12 André Pönitz <poenitz@gmx.net>
1986 * text3.C: take out the 'cursor right' form insertInset and only
1987 do it in those places when it is really needed. Fixes crash on
1990 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1992 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1994 * BufferView_pimpl.C (setBuffer): initialize the current font of
1995 the underlying LyXText
1997 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1999 * kbsequence.C (print): use UI native formatting for menu
2002 * text.C (insertChar): call Paragraph::insertChar with a font
2005 * paragraph.C (insertInset, insertChar): the version that takes a
2006 LyXFont argument is now a wrapper around the other one (the
2007 opposite used to be true).
2009 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2010 argument. Font setting is done in Paragraph now.
2012 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2014 * outputparams.h: add new members intitle and lang.
2016 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2017 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2019 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2021 * text3.C (dispatch): remove special handling of button 4 and 5,
2022 it is now taken care of in the frontend code.
2024 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2026 * Spacing.h: add <string> (STLPort compile fix)
2028 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2030 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2032 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2034 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2037 * converter.C (showMessage): inherit from unary_function, make
2040 * buffer.C (writeFile): initialize retval
2042 * InsetList.h: rename private variable list to list_
2043 * InsetList.[Ch]: adjust accordingly.
2045 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2047 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2048 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2049 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2050 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2051 * ParagraphParameters.C, LaTeXFeatures.C: replace
2052 "support/std_sstream.h" with <sstream>
2054 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2056 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2057 * lyxsocket.C (LyXServerSocket): ditto
2058 (serverCallback): ditto
2060 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2062 * LaTeXFeatures.C: check release date when loading jurabib.
2064 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2066 * lyxserver.C (startPipe): call register_socket_callback
2067 (endPipe): call unregister_socket_callback
2069 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2071 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2072 (LyXServerSocket): register the callback
2073 (LyXServerSocket): unregister the callback
2074 (fd): delete function
2075 (serverCallback): improve error checking and setup the callbacks.
2076 (dataCallback): change arg to fd.
2077 (writeln): new func (copied fro the client socket) used for server
2079 (LyXDataSocket): simplify
2080 (~LyXDataSocket): close ann unregiser callback
2081 (server): delete function
2082 (fd): delete function
2083 (readln): small changes, improve some std::string usage
2084 (writeln): constify a bit
2086 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2088 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2091 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2094 after it has been populated
2096 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2098 * text2.C (insertInset): move cursor when inserting inset.
2100 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2102 * kbmap.C (findbindings): a couple of new methods. returns a
2103 container of kb_sequence objects. The real work is done by the
2104 private recursive version
2105 (printbindings): uses findbindings to print out a bracketed list
2106 of bindings (renamed from findbinding).
2108 * MenuBackend.C (binding): use kb_keymap::findbindings
2110 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2112 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2114 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2116 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2118 * paragraph.C (isWord): return true on insets that report
2121 * text.C (getWord): use Paragraph::isWord to decide what is in a
2122 word and what is not; fix bug 1609.
2124 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2126 * tex-strings.C: add "none" to string_paperpackages[], fixes
2127 off-by-one-error in the paperpackage selection.
2130 * tex-strings.[Ch]: char const * string[n]
2131 -> char const * const string[]
2133 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2135 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2136 command, return early.
2138 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2140 * debug.h: add DEBUG to enum and fix size of ANY.
2142 * debug.C: add support for Debug::DEBUG
2143 (showTags): cast errorTags.level to unsigned int
2145 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2146 (redoCurrentBuffer): ditto
2147 (updateScrollbar): ditto
2148 * cursor.C (dispatch): ditto
2149 * text2.C (setLayout): ditto
2151 (updateCounters): ditto
2153 (deleteEmptyParagraphMechanism): ditto
2155 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2157 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2158 annotations to cleanup the Makefile slightly.
2160 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2162 * lyxrc.C: do not set user_email to a default value but use empty
2163 instead. The entry used to be translated, which does not work
2164 since at the point where lyxrc is constructed there is no
2165 translation service available
2167 * messages.C (getLocaleDir): remove and use directly
2168 lyx_localedir() instead
2170 2004-06-02 Angus Leeming <leeming@lyx.org>
2172 Fix crash caused by dereferencing null pointer 'exportdata' in
2173 OutputParams by creating a new ExportData variable on the heap,
2174 storing it in a boost::shared_ptr.
2175 The crash was triggered when generating an Instant Preview
2176 of an external inset.
2178 * Makefile.am: add outputparams.C
2180 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2181 (c-tor): allocate memory to it.
2183 * exporter.C (c-tor): associated changes.
2185 2004-06-01 Angus Leeming <leeming@lyx.org>
2187 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2188 contains data before calling isInset(0). (Bug 1513.)
2190 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2192 * exporter.C (checkOverwrite): new method
2193 * exporter.C (copyFile): new method
2194 * exporter.C (Export): copy referenced files to the document dir
2195 * exporter.[Ch]: new class ExportedFile
2196 * exporter.[Ch]: new class ExportData. Contains currently the
2197 names of referenced external files
2198 * outputparams.h: add exportdata member.
2200 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2202 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2205 2004-05-19 Angus Leeming <leeming@lyx.org>
2210 * lyxfunc.C: small changes due to the introduction of namespace
2211 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2213 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2215 * text3.C (dispatch): supress update when only moving the cursor
2216 * cursor.C (selHandle): remove commented code
2218 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2220 * paragraph.C (startTeXParParams): correct column count
2221 * CutAndPaste.C (pasteSelection): remove const_cast
2222 * output_docbook.C (docbookParagraphs): remove const_cast
2223 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2224 const_cast and return ParagraphList::const_iterator
2225 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2226 * output_plaintext.C (writeFileAscii): remove const_cast
2227 * paragraph.[Ch] (simpleTeXOnePar): make const
2228 * paragraph_funcs.C (outerPar): use const iterators
2229 * paragraph_pimpl.C (validate): use const iterators
2230 * text.C (setHeightOfRow): use const iterators
2232 2004-05-17 Angus Leeming <leeming@lyx.org>
2235 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2237 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2238 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2239 if the citation engine has changed.
2241 2004-05-14 José Matos <jamatos@lyx.org>
2243 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2244 if the textclass does not provide it. Have it different for sgml and
2246 support the language of document.
2247 * output_docbook.C (docbookParagraphs):
2248 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2249 first anchor as the id of the paragraph, remove special case code.
2250 * sgml.C (escapeChar): escape only < & >.
2252 2004-05-14 Angus Leeming <leeming@lyx.org>
2254 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2255 dependencies on src/frontends/controllers/biblio.h. Define a
2256 CiteEngine_enum wrapper class to enable the enum to be forward
2259 2004-05-12 Angus Leeming <leeming@lyx.org>
2261 * buffer.C: up LYX_FORMAT to 234.
2262 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2263 use_numerical_citations with a single biblio::CiteEngine cite_engine
2265 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2267 2004-05-13 José Matos <jamatos@lyx.org>
2270 * converter.C (Converter, readFlags): add xml member.
2271 * outputparams.h: add XML flavor.
2272 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2274 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2276 * lyxfunc.C (dispatch):
2277 (getStatus): fix handling of LFUN_SEQUENCE
2279 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2281 * debug.C (showLevel): do not forget the end-of-line marker
2283 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2285 * kbmap.C (read): do not stop parsing a bind file when an error
2288 2004-04-29 Angus Leeming <leeming@lyx.org>
2293 * text2.C: wrap a bunch of #warning statements
2294 inside #ifdef WITH_WARNINGS blocks.
2296 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2298 * buffer.C: increment format to 233.
2300 2004-04-28 Angus Leeming <leeming@lyx.org>
2302 * BufferView_pimpl.C:
2305 s/updateToolbar()/updateToolbars()/
2306 s/Toolbar.h/Toolbars.h/
2308 2004-04-28 Angus Leeming <leeming@lyx.org>
2310 * BufferView.[Ch] (c-tor):
2311 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2312 No longer passes these data to the WorkArea generator.
2314 2004-04-28 Angus Leeming <leeming@lyx.org>
2316 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2318 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2320 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2322 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2324 * output_latex.C (TeXEnvironment): make sure that there is a line
2325 break before \end{foo} for the last paragraph of a document
2326 (TeXOnePar): if the paragraph is at the end of the document (or
2327 inset) and the language has to be reset, then make sure that the
2328 line break is _before_ the language command, not after (fixes bug
2329 1225); also make sure that the language reset command is the first
2330 thing after the paragraph (to ensure proper nesting of
2331 environments and thus fix bug 1404)
2333 2004-04-21 John Levon <levon@movementarian.org>
2336 * ToolbarBackend.C: make "name" be a programmatic name
2337 and a gui_name field.
2339 * lyxfunc.C: display the minibuffer on M-x
2341 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2343 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2346 2004-04-19 Angus Leeming <leeming@lyx.org>
2348 * BufferView_pimpl.C (setBuffer): changed preview interface.
2350 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2353 2004-04-19 John Levon <levon@movementarian.org>
2355 * BufferView_pimpl.C:
2356 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2358 2004-04-05 Angus Leeming <leeming@lyx.org>
2360 * text.C (redoParagraphs): add call to updateCounters(), thereby
2361 fixing the missing "Figure #:" label from the caption of a
2364 2004-04-13 Angus Leeming <leeming@lyx.org>
2366 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2367 cursor is clicked out of an inset.
2369 2004-04-13 Angus Leeming <leeming@lyx.org>
2371 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2372 than an InsetOld one.
2374 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2376 * format.[Ch]: add editor to Format
2377 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2378 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2380 2004-04-08 André Pönitz <poenitz@gmx.net>
2382 * metricsinfo.h: remove PainterInfo::width member
2384 2004-04-08 Angus Leeming <leeming@lyx.org>
2386 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2387 "\providecommand" rather than "\newcommand", thereby preventing
2388 clashes with packages that define "\boldsymbol" themselves.
2391 2004-04-08 Angus Leeming <leeming@lyx.org>
2393 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2394 thereby squashing an unnecessary warning.
2396 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2398 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2401 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2403 * BufferView.C (setCursor): call redoParagraph (some insets could
2405 (putSelectionAt): remove the 'double update' trick
2407 * BufferView_pimpl.C (fitCursor): call refreshPar
2408 (workAreaDispatch): remove an uneeded update call
2409 (dispatch): remove some manual update calls
2411 * cursor.[Ch]: remove cached_y_, updatePos
2412 (selHandle): set noUpdate when appropriate
2414 * lyxfunc.C (dispatch): track if we need an update
2416 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2418 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2419 (paintSelection): cheap optimization, do not call cursorX when not
2421 (paintPars): change signature
2424 (paintTextInset): adjust
2428 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2430 * lengthcommon.C: compilation fix: remove explicit array size from
2431 unit_name[] and friends
2433 2004-04-05 Angus Leeming <leeming@lyx.org>
2435 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2437 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2438 present only for the preferences dialog.
2439 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2441 2004-04-05 Angus Leeming <leeming@lyx.org>
2443 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2444 to enable the frontends to export changes to lyxrc correctly.
2446 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2448 2004-04-07 André Pönitz <poenitz@gmx.net>
2450 * cursor.[Ch] (selClear, adjust): remove math
2452 * cursor_slice.C: more agressive assert
2455 * BufferView_pimpl.C: rework mouse event dispatch
2462 2004-04-05 André Pönitz <poenitz@gmx.net>
2464 * cursor.[Ch] (valign, halign...): remove unneeded functions
2466 2004-04-05 Angus Leeming <leeming@lyx.org>
2468 * lyxlength.[Ch] (unit_name et al.): const-correct.
2470 2004-04-05 Angus Leeming <leeming@lyx.org>
2472 * BufferView_pimpl.C:
2481 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2483 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2485 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2487 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2489 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2490 * BufferView_pimpl.[Ch] (getStatus)
2491 * BufferView.[Ch] (getStatus): add
2492 * lyxfunc.C (getStatus): move lfuns handled in
2493 BufferView::dispatch to te function above
2494 * Cursor.C (setSelection): set selection() = true
2496 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2498 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2500 2004-03-31 Angus Leeming <leeming@lyx.org>
2502 * lyxfunc.C (dispatch): Fall through to the generic
2503 Dialogs::show("preamble").
2505 2004-03-31 Angus Leeming <leeming@lyx.org>
2507 * lyxfunc.C (dispatch): Fall through to the generic
2508 Dialogs::show("spellchecker").
2510 2004-03-31 Angus Leeming <leeming@lyx.org>
2512 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2515 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2520 * insetiterator.[Ch]:
2525 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2527 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2529 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2530 insets where we are putting the cursor.
2532 2004-03-31 Angus Leeming <leeming@lyx.org>
2535 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2537 * lyxrc.[Ch] (read, write): overloaded member functions taking
2538 a std::[io]stream arguments.
2540 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2542 2004-03-31 Angus Leeming <leeming@lyx.org>
2544 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2545 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2547 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2548 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2550 2004-03-31 Angus Leeming <leeming@lyx.org>
2552 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2553 the LFUN_ALL_INSETS_TOGGLE code.
2555 2004-03-30 Angus Leeming <leeming@lyx.org>
2557 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2558 has died. Fall through to the generic Dialogs::show("document").
2560 2004-03-30 Angus Leeming <leeming@lyx.org>
2563 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2564 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2566 * lyxfunc.C (getStatus, dispatch): define the actions for these
2567 lfuns. Little more than a cut and pste job from ControlDocument.C
2569 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2571 2004-03-30 Angus Leeming <leeming@lyx.org>
2574 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2575 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2577 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2578 open/closed state of ollapsable insets. Usage:
2580 all-inset-toggle <state> <name>, where
2581 <state> == "open" || "closed" || "toggle" and
2582 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2584 * lyxtext.h, text2.C (toggleInset): removed.
2586 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2587 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2588 now passes LFUN_INSET_TOGGLE to the found inset.
2590 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2591 is now invoked as "all-insets-toggle toggle branch".
2593 2004-03-30 Angus Leeming <leeming@lyx.org>
2597 * pariterator.[Ch]: added/corrected header blurb.
2599 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2601 * dociterator.[Ch]: add an inset_ member
2602 (backwardPos): implemented
2603 (backwardPos, forwardPos): use inset_ when the stack is empty.
2604 (doc_iterator_begin, doc_iterator_end): implemented
2605 * pariterator.[Ch]: adjust, add begin, end
2606 * insetiterator.[Ch]: adjust, add begin, end
2610 * BufferView_pimpl.C:
2611 * CutAndPaste.C: adjust
2613 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2615 * buffer.C: increment file format to 232.
2616 * LaTeXFeatures.C: add bibtopic package.
2617 * bufferparams.[Ch]: param \use_bibtopic.
2619 * lyxrc.[Ch]: add lyxrc bibtex_command
2620 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2622 * buffer.C: increment file format to 231.
2624 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2626 * dociterator.C: implement forwardPar
2627 * iterators.[Ch]: remove, replaced by
2628 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2630 * BufferView_pimpl.C:
2633 * bufferview_funcs.C:
2639 * Makefile.am: adjust
2641 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2643 * CutAndPaste.C (pasteSelection): fix 2 crashes
2644 (eraseSelection): fix a crash
2645 * paragraph_funcs.C: remove a warning
2647 2004-03-28 Angus Leeming <leeming@lyx.org>
2650 * LyXAction.C (init): new LFUN_PRINT.
2652 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2654 2004-03-27 Angus Leeming <leeming@lyx.org>
2657 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2659 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2661 2004-03-27 Angus Leeming <leeming@lyx.org>
2663 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2664 insetlist always contains non-null pointers to insets.
2666 2004-03-26 Angus Leeming <leeming@lyx.org>
2668 * src/BufferView_pimpl.C:
2669 * src/CutAndPaste.C:
2672 * src/output_plaintext.C:
2673 * src/outputparams.h:
2674 * src/paragraph_funcs.C:
2678 * src/frontends/controllers/ControlErrorList.C:
2679 * src/frontends/gtk/FileDialogPrivate.C:
2680 * src/frontends/gtk/GPainter.C:
2681 * src/frontends/gtk/GToolbar.C:
2682 * src/frontends/qt2/QRef.C:
2683 * src/mathed/math_scriptinset.C: squash compiler warnings.
2685 2004-03-26 Angus Leeming <leeming@lyx.org>
2687 * ispell.C (LaunchIspell::start):
2688 * lyx_cb.C (AutoSaveBuffer::start):
2689 invoke run(DontWait) rather than runNonBlocking().
2691 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2693 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2695 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2697 * kbsequence.C (print): adjust
2699 * kbmap.C (printKeySym): rename and change signature
2700 (printKey): use LyXKeySym::print()
2702 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2704 * undo.C: add using std::advance to compile for stlport
2706 2004-03-24 Angus Leeming <leeming@lyx.org>
2708 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2709 it leads to a crash when no buffer is present.
2711 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2712 Martin Vermeer <martin.vermeer@hut.fi>
2714 * lyxfunc.C (dispatch):
2715 * bufferparams.C (readToken): use the new LColor::setColor
2717 * LColor.[Ch] (setColor): new version that takes two strings as
2718 argument and creates a new color entry if necessary
2720 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2722 * buffer.C (makeLaTeXFile): if the main latex file that is
2723 processed is usually a subdocument of some master, then pretend
2724 for a while that it is actually the master
2726 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2728 * buffer.C (getLabelList):
2729 (getBibkeyList): use getMasterBuffer()
2730 (getMasterBuffer): new method. Returns the main document in the
2731 case where one is using included documents.
2733 2004-03-25 André Pönitz <poenitz@gmx.net>
2737 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2739 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2741 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2742 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2744 * ParameterStruct.h: merge with ParagraphParameters
2746 * lyxtext.h: remove LyXText::parOffset() and getPar()
2748 * text3.C: Remove all 'manual' update calls. We do now one per user
2749 interaction which is completely sufficient.
2753 * BufferView_pimpl.C:
2754 * FontIterator.[Ch]:
2756 * ParagraphParameters.[Ch]:
2761 * cursor_slice.[Ch]:
2768 * output_docbook.[Ch]:
2769 * output_latex.[Ch]:
2770 * output_linuxdoc.[Ch]:
2771 * output_plaintext.[Ch]:
2773 * paragraph_funcs.[Ch]:
2774 * paragraph_pimpl.[Ch]:
2782 * frontends/controllers/ControlDocument.C:
2783 * frontends/controllers/ControlErrorList.C:
2784 * frontends/controllers/ControlSpellchecker.C:
2787 * insets/insetbase.h:
2788 * insets/insetbibitem.C:
2789 * insets/insetbox.C:
2790 * insets/insetbranch.C:
2791 * insets/insetcaption.C:
2792 * insets/insetcharstyle.C:
2793 * insets/insetcharstyle.h:
2794 * insets/insetcollapsable.C:
2795 * insets/insetcollapsable.h:
2796 * insets/insetert.C:
2797 * insets/insetfloat.C:
2798 * insets/insetfoot.C:
2799 * insets/insetmarginal.C:
2800 * insets/insetnote.C:
2801 * insets/insetoptarg.C:
2802 * insets/insettabular.C:
2803 * insets/insettext.C:
2804 * insets/insettext.h:
2805 * insets/insetwrap.C:
2806 * mathed/math_mboxinset.C:
2807 * mathed/math_nestinset.C:
2808 * mathed/math_scriptinset.C:
2809 * mathed/math_scriptinset.h:
2812 2004-03-24 Angus Leeming <leeming@lyx.org>
2814 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2815 deal with any child processes that have finished but are waiting to
2816 communicate this fact to the rest of LyX.
2818 2004-03-24 Angus Leeming <leeming@lyx.org>
2820 64-bit compile fixes.
2822 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2823 (c-tor): pass lyx::pos_types rather than ints.
2825 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2828 * text.C (Delete): compile fix.
2829 (getPar): ensure that function declaration is the same as that in
2832 2004-03-23 Angus Leeming <leeming@lyx.org>
2834 * ispell.C (LaunchIspell):
2835 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2836 a boost::shred_ptr rather than a std::auto_ptr.
2838 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2840 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2841 handle LFUN_FILE_INSERT_*
2843 * lyxrc.C (setDefaults, getDescription, output, read):
2844 * lyxrc.h: remove ps_command
2846 2004-03-22 Angus Leeming <leeming@lyx.org>
2848 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2849 Ensure that error_handler is processed once only and that all data
2850 is saved before attempting to output any warning messages.
2852 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2854 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2856 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2858 2004-03-19 André Pönitz <poenitz@gmx.net>
2860 * cursor.[Ch] (reset): take main text inset as argument
2862 * BufferView: adjust
2863 * BufferView_pimpl.C: adjust
2865 * paragraph.[Ch]: fix completely broken operator=()
2867 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2869 * LColor.C (getFromLyXName): make sure that the color name is used
2872 2004-03-17 Angus Leeming <leeming@lyx.org>
2875 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2877 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2878 dialog and to kill a forked process.
2880 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2882 * text2.C (setCursorFromCoordinates): fix font problem
2884 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2886 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2887 bogus "rebuild cursor" code
2889 2004-03-11 André Pönitz <poenitz@gmx.net>
2891 * buffer.[Ch]: use InsetText instead of LyXText as container for
2894 * dociterator.[Ch]: drop the BufferView * member which is not needed
2895 anymore after the change to buffer.C
2897 * paragraph_funcs.C:
2901 * BufferView_pimpl.[Ch]:
2903 * cursor_slice.[Ch]: adjust
2905 * text3.C: fix bug in mathDispatch
2907 2004-03-08 André Pönitz <poenitz@gmx.net>
2909 * undo.[Ch]: use 'StableDocumentIterator' as base for
2912 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2915 * bufferparams.[Ch]: add jurabib support and param.
2917 * LaTeX.C: add FIXME/comment.
2919 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2921 * buffer.C: increment file format to 230.
2923 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2925 * cursor.C (dispatch): avoid infinite loops
2927 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2929 * rowpainter.C (paintSelection): fix x coordinates
2931 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2933 * text.C (rowBreakPoint): fix breaking before displayed insets
2935 2004-03-01 André Pönitz <poenitz@gmx.net>
2937 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2939 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2943 * BufferView_pimpl.C:
2951 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2957 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2958 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2960 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2962 * Bidi.[Ch] (computeTables): const correctness
2963 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2964 fill_hfill, fill_label_hfill and x from Row
2965 * lyxtext.h: prepareToPrint returns a RowMetrics
2966 * rowPainter.C: adjust
2967 * text.C (prepareToPrint): use width, not textWidth. adjust
2968 (redoParagraphInternal, cursorX): adjust
2969 * text2.C (getColumnNearX): adjust
2970 (init): put a default value to the top LyXText::width
2972 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2974 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2976 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2978 * lyxtext.h: add FontIterator class
2980 * text.C (FontIterator, operator*, operator->, operator++): add
2981 (rowBreakPoint, setRowWidth): adjust (fixing a
2984 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2986 * BufferView_pimpl.C (workAreaDispatch): allow also
2987 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2989 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2991 * text.C (rowBreakPoint): fix a bug showing with very large insets
2993 2004-02-25 André Pönitz <poenitz@gmx.net>
2996 * cursor.[Ch]: move some mathed specific code to mathed
2998 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3000 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3001 use_tempdir in preferences
3002 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3004 * lyx_main.C: ensure that tempdir is valid
3005 * lyxlex.h: correct typo
3006 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3007 * paragraph.[Ch] (isMultiLingual): make const
3008 * cursor.[Ch] (openable): make const
3010 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3012 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3014 2004-02-20 André Pönitz <poenitz@gmx.net>
3016 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3018 * cursor.[Ch]: prepare for localized getStatus()
3024 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3026 2004-02-20 André Pönitz <poenitz@gmx.net>
3028 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3030 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3032 * text2.C (setCursorFromCoordinates): switch to absolute coords
3034 (cursorDown): adjust
3035 * text3.C (dispatch): adjust
3037 2004-02-16 André Pönitz <poenitz@gmx.net>
3039 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3042 * cursor_slice.[Ch]: remove unneeded acessor function
3044 * lyxtext.h: rename rtl() to isRTL()
3052 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3054 * rowpainter.C (paintSelection): coord fix
3056 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3058 * Spacing.C: compile fix
3060 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3062 * cursor.C (dispatch): restore current_ before returning
3064 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3066 * text2.C (cursorUp, cursorDown): fix coords
3069 2004-02-12 André Pönitz <poenitz@gmx.net>
3074 * text3.C: add LCursor & parameter to most cursor movement functions
3075 remove usage of LyXText::cursorRow() and cursorPar()
3077 * cursor.[Ch]: add textRow() needed members
3080 * BufferView_pimpl.C:
3083 * BufferView_pimpl.C: adjust
3085 2004-02-11 André Pönitz <poenitz@gmx.net>
3089 * BufferView_pimpl.C: shift undo/redo handling
3091 * cursor.[Ch]: fix mathed crash
3094 * lyxtext.h: move selectionAsText to LCursor
3102 * rowpainter.C: fix excessive drawing
3104 2004-02-06 André Pönitz <poenitz@gmx.net>
3107 * BufferView_pimpl.[Ch]:
3108 * text3.C: move some text specific LFUN handling
3110 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3112 * text3.C (checkInsetHit): adjust coords
3113 * text2.C (getColumnNearX): adjust coords
3114 (edit): adjust coords
3115 * text.C (getRowNearY): add two asserts
3117 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3120 * format.C: add using std::distance to compile on gcc 2.95/stlport
3122 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3124 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3126 2004-02-04 André Pönitz <poenitz@gmx.net>
3128 * BufferView.[Ch] (insertInset):
3129 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3134 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3136 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3137 on the default clause of the switch
3138 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3139 wasn't catched by LCursor::dispatch
3141 2004-02-03 André Pönitz <poenitz@gmx.net>
3144 * cursor.[Ch]: some additional asserts
3146 * undo.[Ch]: remove LyXText dependency in interface
3150 * lyxtext.h (firstPar, lastPar): remove dead functions
3155 * paragraph.[Ch]: adjust
3157 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3159 * lyxfind.C (find): fix argument order in call to ::find
3161 2004-02-02 André Pönitz <poenitz@gmx.net>
3163 * cursor.[Ch]: remove direct access to anchor
3165 * text.C: remove findText() hack
3167 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3169 * iterators.[Ch] (lockPath): remove in favour of...
3170 * BufferView.[Ch] (setCursor): this addition
3171 * BufferView.C (putSelectionAt): adjust
3172 * undo.C (performUndoOrRedo): adjust
3173 * lyxfunc.C (dispatch): adjust
3175 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3177 * iterators.C (lockPath): add a missing slice
3178 * undo.C (performUndoOrRedo): remove redundant positioning code
3180 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3182 * vc-backend.C (scanMaster): ";" -> ';'
3184 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3186 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3187 std::binary_function
3189 * lyxtextclass.C (compare_name): rename to...
3190 (LayoutNamesEqual): ...this
3192 * lyxlex_pimpl.C (compare_tags): inherit from
3193 std::binary_function, put back into anon namespace
3195 * lyxfind.C (MatchString): inherig from std::binary_function
3196 (findChange): use empty() istead of !size()
3198 * format.C (FormatNamesEqual): new functor
3205 * converter.C (compare_Converter): rename to...
3206 (ConverterEqual): ...this, and fixup a bit.
3207 (getConverter): use it, and make function const
3208 (getNumber): use it, and make function const
3212 * bufferlist.C: add using boost::bind
3214 * MenuBackend.C (MenuNamesEqual): new functor
3215 (hasMenu): use it, and make function const
3216 (hasSubmenu): use nested bind to get rid of compare_memfun.
3218 2004-01-30 André Pönitz <poenitz@gmx.net>
3220 * BufferView_pimpl.C:
3223 * cursor_slice.[Ch]:
3226 * paragraph_funcs.C:
3227 * paragraph_funcs.h:
3231 * text3.C: move some of the edit(x,y) handling to the insets
3232 some coordinate changes.
3234 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3236 * text.C: add using statements for std::advance and std::distance
3238 * paragraph.C: add using statement for std::distance
3240 * lyxfind.C: add using statement for std::advance
3242 * cursor.C (region): remove std:: from swap
3243 (openable): use nucleus in stead of operator->
3245 * BufferView.C: add using statements for std::distance and std::swap
3247 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3249 * iterators.C: Remove the pimple, move the needed structures to
3250 the header file. Create accessor for the positions stack.
3251 (asPosIterator): remove function
3253 * PosIterator.C (PosIterator): move constructors to top of file
3254 (PosIterator): reimplement the constructor taking a ParIterator in
3256 (setFrom): new function
3257 (operator!=): inline it
3259 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3261 * lyxfind.C (replaceAll): use std::advance
3263 * iterators.h: inherit from std::iterator.
3265 * PosIterator.C (advance, distance): remove
3266 * PosIterator.h: interit from std::iterator.
3268 2004-01-26 André Pönitz <poenitz@gmx.net>
3271 * BufferView_pimpl.[Ch]:
3275 * bufferview_funcs.C:
3285 * output_linuxdoc.C:
3286 * output_plaintext.C:
3288 * paragraph_funcs.[Ch]:
3289 * paragraph_pimpl.[Ch]:
3295 * text3.C: more IU: dumps most of the rest of the mathcursor
3296 implementation into cursor.[Ch]; "globalize" a bit of it.
3298 2004-01-25 Angus Leeming <leeming@lyx.org>
3300 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3302 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3304 * LaTeXFeatures.h: add nice_ and nice() const
3305 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3307 2004-01-20 André Pönitz <poenitz@gmx.net>
3310 * BufferView_pimpl.C:
3312 * bufferview_funcs.C:
3314 * cursor_slice.[Ch]:
3325 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3326 LCursor and mathcursor parts to LCursor and InsetBase.
3328 2004-01-15 André Pönitz <poenitz@gmx.net>
3330 * cursor_slice.[Ch]: add a few covienience functions
3332 * funcrequest.[Ch]: remove BufferView * member
3334 * BufferView_pimpl.C:
3341 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3343 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3345 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3346 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3348 2004-01-13 André Pönitz <poenitz@gmx.net>
3351 * lyxtext.h: hide cursor and selection anchor behind accessor function
3354 * BufferView_pimpl.[Ch]:
3356 * bufferview_funcs.C:
3366 * cursor_slice.[Ch]: some integer type changes for inset unification
3368 * lyxcursor.[hC]: remove, it's CursorSlice now.
3371 * BufferView_pimpl.[Ch]:
3372 * bufferview_funcs.C:
3378 * textcursor.[Ch]: adjust
3380 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3382 * text2.C (undoSpan): add and use
3383 * text.C (breakParagraph): use undoSpan (fix bug 578)
3386 2004-01-08 Angus Leeming <leeming@lyx.org>
3388 * BufferView_pimpl.C (MenuInsertLyXFile):
3389 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3390 * lyxfunc.C (menuNew, open, doImport):
3391 FileFilterList change to the FileDialog open and save functions.
3393 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3395 * ShareContainer.h: make isEqual and isUnique adaptable
3397 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3399 2004-01-07 Angus Leeming <leeming@lyx.org>
3402 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3404 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3406 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3407 functions replacing find, replace and replaceAll.
3409 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3410 LFUN_WORDFIND(FORWARD|BACKWARD).
3412 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3414 * text.C (breakParagraph): remove an outdated #warning
3416 2004-01-07 André Pönitz <poenitz@gmx.net>
3418 * lyxfind.C: somewhat clearer logic
3420 * text.C: prevent crash in cursorX on unitialized row cache
3422 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3424 * lyxcursor.[Ch] (operator>): add
3425 * textcursor.C (selStart, selEnd): use std::min and std::max
3427 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3429 * Chktex.C: include boost/format.hpp
3431 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3433 * InsetList.C: replace functor MathcIt with adaptable functor
3435 (insetIterator): modify accordingly
3437 * BranchList.h: move the BranchNamesEqual functor here from...
3438 * BranchList.C: ... to here
3440 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3442 (add): replace a finding loop with std::find_if.
3444 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3446 * output_docbook.C: moving LatexParam functionality into
3449 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3451 * buffer.C: increment format to 229.
3453 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3456 * lyx_sty.[Ch]: remove minipageindent_def
3462 * text3.C: remove LFUN_INSET_MINIPAGE
3464 2003-12-28 Angus Leeming <leeming@lyx.org>
3466 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3468 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3470 * text2.C (setParagraph): fix off-by-one crash
3472 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3474 * output_docbook.C: header stuff for AGU
3476 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3478 * text2.C (redoCursor): remove
3481 * BufferView_pimpl.C: remove calls to redoCursor and
3482 setCursor(cursor.par(), cursor.pos()) all around
3484 2003-12-15 Angus Leeming <leeming@lyx.org>
3486 * buffer.C: up the format to 228.
3488 2003-12-15 André Pönitz <poenitz@gmx.net>
3490 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3495 * BufferView_pimpl.C:
3504 2003-12-15 Angus Leeming <leeming@lyx.org>
3506 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3507 than getFromGUIName to manipulate the color.
3509 2003-12-14 Angus Leeming <leeming@lyx.org>
3511 * BranchList.[Ch]: minimize the API.
3512 (Branch::getBranch, getColor): now return a 'const &'.
3513 (Branch::setSelected) now returns a bool set to true if the
3514 selection status changes.
3515 (BranchList::clear, size, getColor, setColor, setSelected,
3516 allBranches, allSelected, separator): removed.
3517 (BranchList::find): new functions, returning the Branch with
3519 (BranchList::add, remove): return a bool indicating that
3520 the operation was successful.
3522 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3523 new InsetBranch::isBranchSlected member function.
3525 * LColor.[Ch]: mimimize the API.
3526 (fill): renamed as addColor and made private.
3527 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3528 versions of these functions taking a string arg have been removed.
3530 * bufferparams.C (readToken):
3531 * lyxfunc.C (dispatch):
3532 * lyxrc.C (read): changes due to the altered BranchList and
3535 * factory.C (createInset, readInset): changes due to altered
3538 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3541 * lyxfunc.C: remove insetminipage. "minipage-insert"
3542 now produces a frameless minipage box inset.
3544 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3546 * textcursor.[Ch] (selStart,selEnd): add new methods
3547 remove selection::start, end, use LyXCursor::operator<
3548 * lyxcursor.[Ch] (operator<): add
3549 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3550 * BufferView.[Ch] (unsetXSel): add
3551 * text2.C (clearSelection): use unsetXSel,adjust
3554 * rowpainter.C: adjust
3555 * bufferview_funcs.C (put_selection_at): adjust
3557 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3559 * BufferView_pimpl.C: small coord. correction
3561 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3563 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3564 dragging over the splash screen.
3566 2003-12-11 Angus Leeming <leeming@lyx.org>
3568 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3569 as it is now handled in LyXText::dispatch.
3571 * text3.C (doInsertInset): remove a level of nesting.
3573 2003-12-11 Angus Leeming <leeming@lyx.org>
3575 * factory.C (createInset): changes due to the changed interface to
3576 InsetCommandMailer::string2params.
3578 2003-12-10 Angus Leeming <leeming@lyx.org>
3580 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3581 'dialog-show-new-inset <inset name>'
3583 2003-12-10 Angus Leeming <leeming@lyx.org>
3585 * buffer.C: up the format to 227.
3587 * factory.C: the box inset is now identified simply by 'Box'.
3589 2003-12-10 Angus Leeming <leeming@lyx.org>
3591 * buffer.C: up the format to 226.
3593 * factory.C: the note inset is now identified simply by 'Note'.
3595 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3597 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3598 when a pit is enough. Standarize a couple of loops.
3600 2003-12-05 Angus Leeming <leeming@lyx.org>
3602 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3603 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3604 data to the re-worked "log" dialog.
3606 2003-12-03 André Pönitz <poenitz@gmx.net>
3612 * paragraph_funcs.C:
3614 * text2.C: use Inset::getText instead of Inset::getParagraph
3616 2003-12-03 André Pönitz <poenitz@gmx.net>
3620 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3621 InsetText::read() as LyXText::read()
3623 2003-12-02 Angus Leeming <leeming@lyx.org>
3625 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3626 type. Add a comment in the implementation that the function uses
3627 the stream's bad() function rather than fail() as the std::streams
3630 2003-12-02 André Pönitz <poenitz@gmx.net>
3632 * lyxlex.[Ch]: make interface more similar to std::stream
3634 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3636 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3638 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3640 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3642 * vspace.[Ch]: remove VSpace::NONE
3644 2003-12-01 André Pönitz <poenitz@gmx.net>
3647 * lyxtext.h: move ParagraphList member to LyXText
3648 rename LyXText::ownerParagraphs to LyXText::paragraph
3651 * bufferview_funcs.C:
3661 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3663 * undo.C: fix cursor positioning
3665 2003-12-01 John Levon <levon@movementarian.org>
3667 * BufferView_pimpl.C: fix a crash on exit with
3670 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3672 * BranchList.C: fix setSelected() method.
3674 2003-11-28 André Pönitz <poenitz@gmx.net>
3676 * ParagraphParameters.[Ch]:
3677 * ParameterStruct.h: remove space above/below from Paragraph to
3680 * BufferView_pimpl.C:
3686 * paragraph_funcs.C:
3692 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3694 * factory.C: Syntax change for CharStyles
3696 2003-11-28 André Pönitz <poenitz@gmx.net>
3701 * buffer.[Ch]: move LyXText member
3703 2003-11-28 André Pönitz <poenitz@gmx.net>
3705 * BufferView.[Ch]: make LyXText * text a private member
3707 * BufferView_pimpl.C:
3718 * output_plaintext.C: cleanup
3720 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3723 * lyxtextclass.[Ch]: parametrize SGML document header
3725 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3728 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3731 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3733 * text2.C (setFont): rework using PosIterator (no more recursive)
3734 (setCharFont): no more needed
3735 (setLayout): no more selection cursors fiddling (done by redoCursor)
3736 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3737 destroy remaining ones)
3739 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3741 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3743 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3746 * text3.C: adjust + re-allow multi par depth changes
3747 * textcursor.C: simplify a bit
3749 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3755 * src/output_docbook.C:
3756 * src/output_latex.C:
3761 * src/text2.C: Introducing a number of tags parametrizing various
3762 XML formats that we may want to support
3764 2003-11-25 André Pönitz <poenitz@gmx.net>
3766 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3768 * lyxtext.h (leftMargin/rightMargin): simplify interface
3775 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3777 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3778 master file to any child files. Fixes bug 546.
3780 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3782 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3784 2003-11-24 André Pönitz <poenitz@gmx.net>
3786 * rowpainter.C: simplification
3788 * text2.C (updateCounters): remove call to redoParagraph on
3789 changed labels as this is far too expensive.
3791 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3793 * converter.C (convert): fix a crash: this function gets
3794 called with buffer == 0 from importer code.
3796 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3798 * text3.C (cursorPrevious): make sure that we do not compare
3799 iterators form different containers.
3802 * rowpainter.C (paintSelection): make sure that we do not compare
3803 iterators from different containers.
3805 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3806 iterators from different ParagraphList containers.
3809 * text2.C (LyXText): change order of initialization slightly
3810 (operator=): new function. copy all variables except cache_par_
3811 (moveUp): make sure that we do not compare iterators from
3812 different ParagraphList constainers.
3815 * text.C (firstPar): new function
3816 (lastPar): new function
3817 (endPar): new function
3819 * lyxtext.h: move things around and group public functions, public
3820 variables, private functions, private variables
3822 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3824 * factory.C: change call to InsetERT constructor to avoid
3825 additional invocation of method status
3826 * text2.C (toggleInset): remove redundant update() call
3827 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3828 instead of a Bufferview pointer
3830 2003-11-21 André Pönitz <poenitz@gmx.net>
3832 * rowpainter.C: simplification
3834 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3836 * text3.C (dispatch): make possible to extend a word/row selection
3839 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3841 * lyxtext.h: x0_,y0_ -> xo_,yo_
3842 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3843 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3844 * rowpainter.C (paintRows): paint full paragraphs
3846 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3848 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3851 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3853 * lyxtext.h: add x0_, y0_
3854 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3855 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3857 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3859 * text2.C (setCursorIntern): move the x_target update here *
3860 * text3.C: change some bv() to true/false in calls to
3861 cursorUp/Down/Right/Left
3862 * cursor.C: use helper function.
3864 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3866 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3867 * paragraph_funcs.[Ch]: correct comment
3868 * rowpainter.C: do not paint selections away from bv->cursor()
3869 Fix a long standing selection painting bug.
3870 * text3.C: generalize mouse-selection code to LyXTexts other that
3872 * textcursor.C: do not use y coords if we can use par offsets
3874 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3876 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3877 cursor position after e.g. inset insert)
3879 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3881 * lyxfind.C (replace): adjust to locking removal + some
3884 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3886 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3889 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3892 * output_docbook.C: XML sanitation: new layout
3893 parameters InnerTag and CommandDepth
3895 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3897 * BufferView_pimpl.C:
3899 * text3.C: Fix the insertion and modification of button-style
3902 2003-11-13 André Pönitz <poenitz@gmx.net>
3904 * InsetList.[Ch]: remove deleteLyXText
3906 * paragraph.[Ch]: cache beginOfBody position
3911 * text3.C: remove superfluous update() calls
3915 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3917 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3918 * BufferView.C (fitLockedInsetCursor): remove
3919 * cursor.[Ch] (getDim): add
3920 * text.C (getRowNearY): add faster version
3921 * text3.C: remove some update calls
3923 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3935 * text3.C: The Character Style /XML short element patch.
3937 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3940 * factory.C: Small step to solving 'unable to insert some insets'
3943 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3945 * cursor.[Ch] (updatePos): new function for updating the y
3946 position of the tip inset
3947 * bufferview_funcs.C (put_selection_at):
3948 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3950 2003-11-11 André Pönitz <poenitz@gmx.net>
3952 * text.C: remove big comment on invalid Paragraph pointers as it is
3955 2003-11-11 André Pönitz <poenitz@gmx.net>
3957 * text_funcs.[Ch]: merge with ...
3965 * Makefile.am: remove text_funcs.[Ch]
3967 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3969 * cursor.C (getPos): return absolute cached y coord
3971 * BufferView_pimpl.C (fitCursor): new simplistic code
3972 (workAreaDispatch): add a fitCursor call
3974 2003-11-10 André Pönitz <poenitz@gmx.net>
3977 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3979 2003-11-10 André Pönitz <poenitz@gmx.net>
3981 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3982 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3983 indicate that the cursor needs to leave an inset
3985 * lyxtext.h: remove inset locking
3987 * cursor.[Ch]: re-implement functionality provided by inset locking
3990 * BufferView_pimpl.[Ch]:
3992 * bufferview_funcs.[Ch]:
4004 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4006 * PosIterator.[Ch]: replace the stack with a vector, add inset
4008 * iterators.[C]: adjust
4010 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4012 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4014 * paragraph_funcs.C (readParToken): put the correct id in the
4015 error item, not the id of the top paragraph
4017 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4019 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4020 * bufferview_funcs.C (put_selection_at): use the above
4022 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4024 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4026 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4028 * output_linuxdoc.h:
4029 * output_plaintext.h:
4031 * output_docbook.h: add #include statements
4033 2003-11-05 José Matos <jamatos@lyx.org>
4035 * output_docbook.[Ch]:
4036 * output_latex.[Ch]:
4037 * output_linuxdoc.[Ch]:
4038 * output_plaintext.[Ch]: New files for output formats.
4039 * output.[Ch]: New file for helper functions.
4042 * paragraph_funcs.[Ch]: output functions moved to new files.
4044 * outputparams.h: rename of latexrunparams.h
4052 * paragraph_funcs.[Ch]:
4053 * paragraph_pimpl.[Ch]:
4054 * tabular.[Ch]: rename ascii to plaintext
4055 and LatexRunParams to OutputParams.
4057 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4059 * iterators.[Ch] (text): require bv argument
4060 * undo.C (recordUndo):
4061 * lyxfunc.C (dispatch):
4062 * bufferview_funcs.C (put_selection_at): adjust
4064 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4066 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4068 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4070 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4073 2003-11-04 André Pönitz <poenitz@gmx.net>
4075 * cursor.[Ch]: restructure
4078 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4080 * iterators.[Ch] (asCursor): remove
4082 * lfuns.h: remove LFUN_INSET_EDIT
4088 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4090 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4092 * lyxfind.[Ch]: complete overhaul
4093 * BufferView_pimpl.C:
4095 * paragraph.[Ch] (insert): add
4097 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4101 * text.C: remove dead spellcheck code
4103 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * dispatchresult.h: add a val setter
4107 * cursor.C (dispatch): use a tempvar for data_[i]
4109 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4111 * PosIterator.[Ch]: compile fix
4113 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4115 * text.C (cursorPar): deactivate the cursor cache
4117 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4119 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4121 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * text3.C (dispatch): adjust for new DisptchResult semantics.
4125 * lyxfunc.C (dispatch): handle update when return from
4126 Cursor::dispatch, adjust for new DispatchResult semantics.
4128 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4129 DispatchResult(true) mean to not update. Add class functions for
4130 setting dispatched and update, as well as reading.
4132 * cursor.C (dispatch): don't handle update here
4134 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4136 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4137 * trans_mgr.C: adjust
4139 * paragraph_funcs.C (readParToken): exception safety
4141 * lyxvc.h: store the vcs pointer in a scoped_ptr
4144 * lyxsocket.C (serverCallback): exception safety
4146 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4148 * ispell.C (clone): make it return a auto_ptr
4150 * factory.C (createInset): exception safety
4151 (readInset): exception safety
4153 * bufferlist.C (newBuffer): exception safety
4155 * Thesaurus.C (Thesaurus): use initialization for aik_
4157 * MenuBackend.C (expandToc): exception safety.
4159 2003-11-03 André Pönitz <poenitz@gmx.net>
4163 * bufferview_funcs.C: remove getInsetFromId()
4166 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4172 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4174 * PosIterator.C (distance, advance): new
4175 * bufferview_funcs.[Ch] (put_selection_at): new
4176 * iterators.[Ch] (lockPath): new
4178 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4180 * iterators.[Ch] (asPosIterator): added
4181 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4182 * PosIterator.[Ch]: added
4184 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * cursor.C (dispatch):
4189 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4191 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4192 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4193 contructor, add a class function dispatched. Remove operator>=
4195 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4197 * debug.C: only use the default constructor for debugstream
4200 * main.C (main): include debug.h and setup the lyxerr streambuf
4203 2003-10-31 José Matos <jamatos@lyx.org>
4205 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4207 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4208 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4209 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4210 * paragraph_pimpl.C (simpleTeXSpecialC):
4211 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4212 add LatexRunParams argument.
4214 * exporter.C (Export): change call accordingly.
4216 * latexrunparams.h: add new member to take care of the other backends.
4217 2003-10-30 José Matos <jamatos@lyx.org>
4219 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4220 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4221 factorise code for paragraph output.
4223 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4226 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4228 * text3.C (dispatch):
4229 * lyxfunc.C (dispatch):
4230 * cursor.C (dispatch):
4231 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4233 * dispatchresult.h: make the dispatch_result_t ctor explicit
4235 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4238 * buffer.C: small refactoring of docbook stuff
4240 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4245 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4247 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4248 operator dispatch_result_t, and operators for == != and >=
4250 * cursor.C (dispatch): adjust for operator dispatch_result_t
4251 removal. comment out call to update
4253 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4255 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4263 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4266 * dispatchresult.h: new file, DispatchResult broken out of
4269 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4271 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4273 * text.C (rowBreakPoint): put a hack inside #if 0
4275 2003-10-28 André Pönitz <poenitz@gmx.net>
4279 * paragraph_funcs.C:
4282 * text2.C: general cleanup (lots of small stuff)
4284 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4286 * text2.C (cursorEnd): simple fix to the "end key goes to one
4287 before the end on last row" bug
4289 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4291 * text.C (backspace): fix the "zombie characters"
4293 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4295 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4297 2003-10-27 André Pönitz <poenitz@gmx.net>
4299 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4301 * factory.C: handle new InsetPagebreak, InsetLine
4303 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4304 and move handling into new InsetPagebreak, InsetLine
4306 * BufferView_pimpl.C:
4308 * ParagraphParameters.C:
4309 * ParameterStruct.h:
4314 * paragraph_funcs.C:
4315 * paragraph_pimpl.C:
4321 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4324 * lyxrow_funcs.[Ch]:
4330 * text3.C: remove lastPos uses in favour of Row::endpos
4332 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4334 * undo.C (performUndoOrRedo): fix two crashes by setting a
4335 cursor by hand and reordering some calls. Use bv->lockInset instead
4336 of inset->edit because the latter loses cursor information
4338 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4340 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4342 (rowBreakPoint): fix width. change point to point + 1.
4343 Add a missing check.
4345 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4348 * lyxfunc.C: fix (at least partly) the problems
4349 with the Nav menu and headers inside branch insets
4352 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4354 * paragraph.C (getChar): add strong asserts
4356 * lyxrow_funcs.C (lastPos): remove hideous hack
4358 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4359 (fill): adjust to that (avoid an infinite loop)
4361 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4363 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4365 2003-10-23 André Pönitz <poenitz@gmx.net>
4367 * RowList_fwd.h: change list<> to vector<> to gain speed
4368 after suggestion from Alfredo
4370 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4372 * lyxtext.h: move the bidi stuff from here...
4375 * Bidi.[Ch]: ... to here
4377 2003-10-23 André Pönitz <poenitz@gmx.net>
4380 * text.C (isLastRow, isFirstRow): new functions
4382 * paragraph.h: new width cache member
4384 * rowpainter.C: replace RowList::iterator with Row & where possible
4386 * lyxfunc.C: replace several view()->text with a single call
4388 * toc.C: fix 'unused' warning
4390 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4393 when woring with stream::pos_type
4394 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4396 2003-10-22 André Pönitz <poenitz@gmx.net>
4399 * text.C: use Row & instead of RowList::iterator
4401 * lyxrow.h: rename end() to endpos()
4407 2003-10-22 Angus Leeming <leeming@lyx.org>
4409 * buffer.[Ch] (fully_loaded): new member function, returning true
4410 only when the file has been loaded fully.
4411 Used to prevent the premature generation of previews and by the
4412 citation inset to prevent computation of the natbib-style label.
4414 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4415 templates are all set up.
4417 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4419 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4421 * text.C: fixed an "oops" in the "is a bit silly"
4424 2003-10-21 André Pönitz <poenitz@gmx.net>
4426 * FuncStatus.[Ch]: small stuff, whitespace
4428 * lyxfont.[Ch]: operator<<() for debug reasons
4432 * lyxtext.h: whitespace, spelling
4434 * paragraph.C: naming of variables
4437 * text2.C: small stuff
4440 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4442 * text.C: (1) finish off the inset display() work;
4443 (2) fix the "is a bit silly" bug (accessing char
4446 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4448 * text.C: re-introduce display() for insets, fixing the
4449 various bugs (stretch of line above, math inset
4452 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4454 * text.C (rightMargin): remove spurious semicolon
4456 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4459 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4461 * text3.C: fix one crash due to wrong cursor def
4463 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * vc-backend.C (scanMaster): make the regex static
4467 * LaTeX.C (scanAuxFile): make the regexs static
4469 * text3.C (doInsertInset, dispatch, dispatch):
4470 * text2.C (cursorUp, cursorDown):
4471 * text.C (selectNextWordToSpellcheck):
4472 * BufferView_pimpl.C (dispatch):
4473 * lyxfunc.C (dispatch): localDispatch -> dispatch
4475 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4477 * lyxsocket.C: include <cerrno>
4479 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * lyxfunc.C (dispatch): remove textcache stuff
4483 * bufferlist.C (release): remove textcache stuff
4486 * TextCache.C: delete file
4487 * TextCache.h: delete file
4489 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4491 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4492 delete of the bv_->text.
4493 (resizeCurrentBuffer): remove texcache stuff
4494 (workAreaResize): ditto
4496 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4501 2003-10-16 André Pönitz <poenitz@gmx.net>
4508 * text3.C: speed up by storing y positions per paragraph plus per-row
4509 offset instead of having a 'full' y position in the row.
4511 2003-10-15 André Pönitz <poenitz@gmx.net>
4515 * undo.[Ch]: make undo aware of inner insets
4517 2003-10-14 Angus Leeming <leeming@lyx.org>
4519 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4520 static member functions LyX::ref() and LyX::cref.
4521 (lastfiles): new accessor functions for the new lastfiles_ member var.
4522 (addLyXView, views_): add a new LyXView to the list of views_.
4523 (updateInset): loop over all LyXViews to call their own updateInset
4524 member function, returning a pointer to the Buffer owning the inset.
4526 * BufferView_pimpl.C (loadLyXFile):
4527 * MenuBackend.C (expandLastfiles):
4528 * bufferlist.C (MenuWrite, QuitLyX):
4529 lastfiles is no longer a global variable.
4530 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4532 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4533 static function. Access through LyX::cref().emergencyCleanup().
4535 2003-10-14 André Pönitz <poenitz@gmx.net>
4537 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4539 * undo.[Ch]: restoring part of 'undo in insets'
4542 * undo_funcs.[Ch]: merge with undo.[Ch]
4544 * tabular.C: small cleansing stuff
4546 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4548 * paragraph_funcs.C (readParToken): report unknown insets as error
4549 boxes. Use the outer paragraph as location (also for unknown
4552 * factory.C (readInset): do not abort on reading an unknown inset.
4553 Eat it and return 0.
4555 2003-10-13 Angus Leeming <leeming@lyx.org>
4557 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4559 * lyxrc.C: displayTranslator is now a function,
4560 declared in GraphicsTypes.h.
4562 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4564 * format.C: new placeholder $$a to pass the socket address.
4566 * bufferlist.[Ch]: new function getBufferFromTmp.
4568 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4569 files in the temporary dir.
4571 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4573 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4575 * Makefile.am: add lyxsocket.[Ch].
4577 * lyx_main.C (error_handler): handle SIGPIPE.
4579 2003-10-13 André Pönitz <poenitz@gmx.net>
4581 * BufferView_pimpl.C:
4586 * undo_funcs.[Ch]: use paroffset_type instead of
4587 ParagraphList::iterators to prevent multiple conversion
4588 (and get a more robust interface)
4590 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4592 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4594 * text3.C (dispatch): ditto
4596 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4598 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4599 move the onlyfile, use onlyfile instead of foundfile in a couple
4602 * DepTable.C (update): flush the error stream a bit more
4604 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4606 * lyxserver.C (callback): adjust
4608 * lyxfunc.C (getStatus): add a missing brace in commented code
4609 (ensureBufferClean): reindent
4610 (dispatch): delete version taking a string
4612 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4614 * LaTeX.C (deplog): move found file handlig from here...
4615 (handleFoundFile): .. to new function here.
4616 (deplog): make sure to discover several files mentioned on the
4619 2003-10-10 André Pönitz <poenitz@gmx.net>
4626 * text3.C: fix some of the tabular crashes
4628 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4630 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4632 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4634 2003-10-09 André Pönitz <poenitz@gmx.net>
4636 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4639 * BufferView_pimpl.C:
4640 * bufferview_funcs.C:
4651 * undo_funcs.C: adjust
4653 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * text2.C (incrementItemDepth): new function, use a backtracking
4656 algorithm to discover the correct item depth.
4657 (resetEnumCounterIfNeeded): new function, use a backtracking
4658 algorithm to discover if counter reset is needed.
4659 (setCounter): use them. Simplify a bit. Add different labels for
4660 different item depths for itemize.
4662 * paragraph.C (Paragraph): remove initialization of enumdepth
4665 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4666 enumerate and itemize. Change the type of itemdepth to signed char.
4668 2003-10-08 André Pönitz <poenitz@gmx.net>
4670 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4675 * tabular.[Ch]: fix crash after 'row-insert'
4677 2003-10-08 Angus Leeming <leeming@lyx.org>
4679 Fix doxygen warnings.
4681 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4682 Remove CutAndPaste:: prefix from header file declaration.
4684 * LColor.h (fill): remove LColor:: prefix from declaration.
4686 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4687 use lyx::depth_type rather than Paragraph::depth_type so that
4688 header file and .C file match.
4690 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4692 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4693 * aspell.C: \file aspell_local.C -> \file aspell.C
4694 * gettext.C: \file gettext.C -> \file src/gettext.C
4695 * gettext.h: \file gettext.h -> \file src/gettext.h
4696 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4697 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4698 * text.C: \file text.C -> \file src/text.C
4700 * toc.C: move comment so that doxygen is not confused.
4702 2003-10-07 Angus Leeming <leeming@lyx.org>
4704 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4706 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4709 * aspell_local.h: add forgotten std::string's.
4711 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4718 * text3.C: The Box patch. Fancybox support, minipage, parbox
4720 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4726 * ParagraphParameters.h:
4736 * lyxtextclasslist.h:
4739 * paragraph_pimpl.C:
4740 * textcursor.h: add <string> and other small fixes to make Lars'
4741 std::string patch compile with STLport.
4743 2003-10-06 Angus Leeming <leeming@lyx.org>
4745 * LColor.h: Add missing #include <string>.
4747 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * All most all file in all subdirs: Make <string> be the prefered
4750 way of getting to std::string, add using declarations.
4752 2003-10-06 André Pönitz <poenitz@gmx.net>
4754 * metricsinfo.C: initialize LyXFont before changing attribute.
4755 (fixes the 'math in \emph is upright' bug)
4757 2003-10-06 André Pönitz <poenitz@gmx.net>
4759 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4761 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4764 * paragraph_pimpl.C: Small fixes to build using STLport
4766 2003-10-02 André Pönitz <poenitz@gmx.net>
4769 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4771 2003-10-01 André Pönitz <poenitz@gmx.net>
4773 * factory.C: assert early
4775 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * lyx_main.C: remove the global debug object
4779 * debug.h: adjust for new debugstream
4781 * debug.C: adjust for new debugstream and keep the global debug
4784 2003-09-22 Angus Leeming <leeming@lyx.org>
4786 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4787 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4788 an incomplete class LyXFont.
4790 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4792 * factory.C: bug fix in branches
4794 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * lyxfunc.C (processKeySym): adjust
4798 (dispatch): change arg name from ev to func, adjust
4799 (sendDispatchMessage): ditto
4801 * lyx_main.C (defaultKeyBindings): adjust keybindings
4802 (deadKeyBindings): ditto
4804 * kbsequence.C (addkey): return a FuncRequest
4806 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4808 * kbmap.C (bind): take a FuncRequest as arg, adjust
4811 (defkey): change to take a FuncRequest as arg, adjust
4812 (findbinding): take a FuncRequest as arg, adjust.
4814 * funcrequest.h (operator=): added
4816 * funcrequest.C (FuncRequest): default kb_action changed from
4817 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4819 * buffer.C (dispatch): simplify
4820 (dispatch): adjust to take a FuncRequest as arg, adjust
4822 * boost.C (assertion_failed): change assertion message slightly
4824 * ToolbarBackend.C (read): simplify
4826 * MenuBackend.C (binding): adjust call to findbinding, add a
4827 message if no binding is found.
4829 (expandToc): correct by adding a empty FuncRequest
4831 * LyXAction.C: include <boost/assert.hpp>
4832 (isPseudoAction): delete function
4833 (LookupFunc): change name to...
4834 (lookupFunc): this. change return type to FuncRequest.
4835 (getActionName): take kb_action as arg, simplify
4836 (funcHasFlag): add an assert, simplify.
4838 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4840 * toc.C (action): return a FuncRequest, simplify
4842 * lyxfunc.C (processKeySym): adjust
4843 (getStatus): delete version that takes an int.
4845 (dispatch): delete version that takes action as int
4847 (sendDispatchMessage): simplify and adjust
4849 * funcrequest.C (getArg): take unsigned int as arg
4851 * ToolbarBackend.C (read): adjust
4852 (add): delete version that takes func as a string.
4853 (getIton): take a FuncRequest as arg
4855 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4858 * MenuBackend.C (MenuItem): add a new construct that only takes a
4859 Kind, simplify the constructor use for submenus.
4861 (expandLastfiles): adjust
4862 (expandDocuments): adjust
4863 (expandFormats): adjust
4864 (expandFloatListInsert): adjust
4865 (expandFloatInsert): adjust
4866 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4868 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4869 Remove class variables lyx_pseudo_map and lyx_arg_map
4871 * LyXAction.C (searchActionArg): delete function
4872 (getPseudoAction): delete function
4873 (retrieveActionArg): delete function
4874 (LookupFunc): make it return kb_action, simplify.
4875 (getActionName): simplify
4877 * factory.C (createInset): fix new bug
4879 2003-09-19 Angus Leeming <leeming@lyx.org>
4881 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4882 masterFilename_ parameter in the include inset.
4884 * factory.C (createInset): changes due to the changes to InsetInclude.
4886 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4888 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4890 2003-09-18 Angus Leeming <leeming@lyx.org>
4893 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4894 Inset::fillWithBibKeys.
4895 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4897 2003-09-18 Angus Leeming <leeming@lyx.org>
4899 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4901 (ctor): pass and store a 'Buffer const &'
4902 (buffer): new member function.
4904 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4905 '*this' to the LaTeXFeatures ctor.
4907 2003-09-18 Angus Leeming <leeming@lyx.org>
4913 * text.C: rename EnumLColor as LColor_color.
4915 2003-09-18 Angus Leeming <leeming@lyx.org>
4917 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4918 remove #include "insets/insetbase.h" from cursor.h.
4920 2003-09-18 Angus Leeming <leeming@lyx.org>
4922 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4923 InsetOld_code to remove #include "inset.h".
4925 * iterators.C: add #include "insets/inset.h"
4927 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4929 * BufferView.C: remove more locking stuff that apparently doesn't
4930 do anything sensible.
4932 2003-09-16 André Pönitz <poenitz@gmx.net>
4935 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4938 2003-09-16 Angus Leeming <leeming@lyx.org>
4940 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4942 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4945 * paragraph.h: remove #include "lyxfont.h". Forward declare
4948 2003-09-16 Angus Leeming <leeming@lyx.org>
4950 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4951 of support/textutils.h.
4952 (isWord): move the contents of support/textutils.h's IsWordChar here.
4958 * text2.C: add #include "paragraph.h".
4961 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4963 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * LaTeX.C: use namespace alias for lyx::support::os
4971 2003-09-16 Angus Leeming <leeming@lyx.org>
4974 * bufferview_funcs.C:
4977 * paragraph_pimpl.C:
4979 * text.C: add #include "LColor.h".
4981 2003-09-16 Angus Leeming <leeming@lyx.org>
4983 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4984 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4986 Store the FontBits::color variable as an int rather than as an
4987 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4990 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4991 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4992 string calls together.
4994 * lyxrc.C: add #include "LColor.h".
4996 2003-09-15 Angus Leeming <leeming@lyx.org>
4998 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5001 2003-09-15 Angus Leeming <leeming@lyx.org>
5003 * LColor.h: add an EnumLColor wrapper for LColor::color.
5005 * lyxfont.[Ch] (color, setColor, realColor):
5006 * lyxtext.h, text.C (backgroundColor):
5007 pass EnumLColor args to/from the functions, rather than LColor::color
5011 * lyxtext.h: forward declare EnumLColor.
5013 * lyx_main.C: add #include "LColor.h".
5015 2003-09-15 Angus Leeming <leeming@lyx.org>
5017 * .cvsignore: add lyx-gtk.
5019 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5024 * ParagraphParameters.C
5028 * bufferview_funcs.C
5038 * vc-backend.C: remove usage of STRCONV
5040 2003-09-15 Angus Leeming <leeming@lyx.org>
5042 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5043 explicitly define the color passed to the painter.
5045 2003-09-15 Angus Leeming <leeming@lyx.org>
5047 * bufferparams.C (BufferParams): reorder member initializers to avoid
5050 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5052 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5053 * text.C (updateRowPositions): remove an unusual nop
5055 2003-09-12 André Pönitz <poenitz@gmx.net>
5057 * BufferView_pimpl.C:
5066 * Counters.[Ch]: finish the 'automatic counters' job
5068 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5070 * aspell.C: include <boost/assert.cpp> (compile fix)
5072 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5074 * boost.C (assertion_failed): use lyx::support::abort instead of
5077 2003-09-10 Angus Leeming <leeming@lyx.org>
5079 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5080 with their _fwd progeny.
5082 2003-09-09 Angus Leeming <leeming@lyx.org>
5084 134 files throughtout the source tree: replace 'using namespace abc;'
5085 directives with the appropriate 'using abc::xyz;' declarations.
5087 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5089 * boost.C (emergencyCleanup): moved here from LAssert.c
5090 (assertion_failed): new function, called by BOOST_ASSERT
5092 * several files: change Assert to BOOST_ASSERT
5094 2003-09-09 Angus Leeming <leeming@lyx.org>
5096 * buffer.[Ch]: Add an Impl class and move Buffer's member
5097 variables into it. As a result move several header files out of
5100 Add header files to lots of .C files all over the tree as a result.
5102 2003-09-09 Angus Leeming <leeming@lyx.org>
5104 * buffer.[Ch]: make Buffer's member variables private. Add
5107 Lots of changes all over the tree as a result.
5109 2003-09-08 Angus Leeming <leeming@lyx.org>
5111 * graph.C: #include <config.h>.
5113 2003-09-08 Angus Leeming <leeming@lyx.org>
5117 * BufferView_pimpl.C:
5146 * toc.C: remove redundant using directives.
5148 2003-09-07 Angus Leeming <leeming@lyx.org>
5150 * LaTeXFeatures.h: remove #include "support/types.h".
5151 * ToolbarBackend.h: remove #include <algorithm>.
5152 * changes.h: remove #include <ctime>.
5153 * debug.h: remove #include <iosfwd>.
5154 * graph.h: remove #include "support/std_string.h".
5155 * lyx_main.h: remove #include <csignal>.
5156 * lyxlex_pimpl.h: remove #include <fstream>.
5157 * sgml.h: remove #include <algorithm>, <utility>.
5158 * toc.h: remove #include "support/std_ostream.h".
5159 Add #include <iosfwd>.
5161 2003-09-07 Angus Leeming <leeming@lyx.org>
5163 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5165 * converter.h: forward declare LatexRunParams.
5166 * encoding.h: remove #include "lyxrc.h".
5167 * lyxtext.h: remove #include "LColor.h".
5168 * lyxtextclass.h: remove #include "support/types.h".
5169 * trans.h: remove #include "tex-accent.h".
5170 * trans_mgr.h: remove #include "tex-accent.h".
5171 * insets/inset.h: remove #include "support/types.h", <vector>.
5172 * insets/insetcollapsable.h: remove #include "LColor.h".
5173 * insets/insetinclude.h: remove #include "dimension.h".
5174 * insets/insetlatexaccent.h: remove #include "dimension.h".
5175 * insets/insetoptarg.h:: remove #include "insettext.h".
5176 * insets/insettext.h: remove #include "dimension.h",
5177 <boost/shared_ptr.hpp>
5179 * insets/renderers.h: add #include "dimension.h".
5180 * insets/updatableinset.h: add #include "support/types.h".
5182 * many .C files: Associated changes.
5184 2003-09-06 Angus Leeming <leeming@lyx.org>
5186 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5187 one, inside testInvariant.
5189 * PrinterParams.C: new file.
5190 * PrinterParams.[Ch]: move the function bodies out of line.
5192 2003-09-06 Angus Leeming <leeming@lyx.org>
5194 * ParagraphParameters.h: forward declare ParameterStruct rather than
5195 including its header file.
5196 (depth): moved out-of-line.
5198 2003-09-06 Angus Leeming <leeming@lyx.org>
5200 * BufferView_pimpl.h:
5203 * lyxfunc.h: forward declare LyXKeySym rather than
5204 #include "frontends/LyXKeySym.h".
5206 * BufferView_pimpl.C:
5209 * lyxfunc.C: associated changes.
5211 2003-09-06 Angus Leeming <leeming@lyx.org>
5213 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5214 As a result, can remove the #include "insets/inset.h" from BufferView.h
5216 2003-09-06 Angus Leeming <leeming@lyx.org>
5218 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5219 As a result, can remove the #include "insets/inset.h" from BufferView.h
5221 2003-09-06 Angus Leeming <leeming@lyx.org>
5227 * bufferview_funcs.C:
5228 * BufferView_pimpl.C:
5233 * ParagraphParameters.C:
5238 * frontends/controllers/ControlDocument.C:
5239 * insets/insetcaption.C: rearrange the #includes into some sort of
5242 * buffer.h: remove #includes ErrorList.h, undo.h
5244 2003-09-06 Angus Leeming <leeming@lyx.org>
5246 * support/types.h: add a 'depth_type' typedef, used to store the
5247 nesting depth of a paragraph.
5250 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5251 defining explicitly.
5254 * paragraph_funcs.h:
5255 * ParagraphParameters.h:
5256 * sgml.h: use lyx::depth_type rather than Paragraph or
5257 ParameterStruct's depth_type.
5260 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5263 * BufferView_pimpl.C:
5265 * ParagraphParameters.C:
5268 * bufferview_funcs.C:
5275 * frontends/LyXView.C:
5276 * frontends/controllers/ControlDocument.C:
5277 * frontends/controllers/ControlErrorList.C:
5278 * insets/insetbibitem.C:
5279 * insets/insetbranch.C:
5280 * insets/insetcaption.C:
5281 * insets/insetcollapsable.C:
5282 * insets/insetenv.C:
5283 * insets/insetert.C:
5284 * insets/insetfloat.C:
5285 * insets/insetfoot.C:
5286 * insets/insetfootlike.C:
5287 * insets/insetnewline.C:
5288 * insets/insetquotes.C:
5289 * insets/insettabular.C:
5290 * insets/insettext.C:
5291 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5293 * frontends/controllers/ControlChanges.C: #include "changes.h".
5295 2003-09-06 Angus Leeming <leeming@lyx.org>
5297 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5298 than #including paragraph.h.
5301 * RowList.h: deleted. Superfluous.
5311 * insets/insettext.h: use ParagraphList_fwd.h rather than
5314 * paragraph.h: don't forward declare ParagraphList.
5317 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5318 rather than ParagraphList.h. paragraph.h is still needed for the
5319 Paragraph::depth_type parameters.
5321 * textcursor.h: enable it to compile stand-alone in light of the
5324 * bufferview_funcs.C:
5336 * frontends/controllers/ControlParagraph.C:
5337 * frontends/controllers/ControlTabular.C:
5338 * insets/insetmarginal.C:
5339 * insets/insetminipage.C:
5340 * insets/insetnote.C:
5341 * insets/insetoptarg.C: add header files needed to compile again.
5343 2003-09-06 Angus Leeming <leeming@lyx.org>
5345 * RowList_fwd.h: new file, forward-declaring Row rather than
5346 #including lyxrow.h.
5351 * insets/insettext.h: use it instead of RowList.h
5353 * bufferview_funcs.C:
5360 * text3.C: #include "RowList.h".
5362 2003-09-05 Angus Leeming <leeming@lyx.org>
5364 * factory.C (createInset):
5365 * vspace.C (c-tor): replace sscanf call with an istringstream.
5366 * ispell.C: re-add missing HP/UX headers.
5367 * lyxserver.C: re-add missing os2 headers.
5369 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5378 * text3.C: re-add missing system headers, needed for 2.95.2.
5380 2003-09-05 Angus Leeming <leeming@lyx.org>
5382 Changes most place everywhere due to the removal of using directives
5383 from support/std_sstream.h.
5385 2003-09-05 Angus Leeming <leeming@lyx.org>
5387 Replace LString.h with support/std_string.h,
5388 Lsstream.h with support/std_sstream.h,
5389 support/LIstream.h with support/std_istream.h,
5390 support/LOstream.h with support/std_ostream.h.
5392 Changes resulting throughout the tree.
5394 2003-09-05 Angus Leeming <leeming@lyx.org>
5396 * sgml.h: ensure that the header file can be compiled stand-alone.
5397 * *.C: strip out redundant #includes. (320 in total.)
5399 2003-09-04 Angus Leeming <leeming@lyx.org>
5401 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5402 here (from getPackages).
5404 * debug.[Ch]: add a new EXTERNAL tag.
5406 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5408 * text2.C (cursorEnd): simplify
5410 (getColumnNearX): adjust
5412 * text.C (computeBidiTables): adjust
5415 * rowpainter.C (paintChars): adjust
5416 (paintSelection): adjust
5417 (paintChangeBar): adjust
5420 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5422 (numberOfSeparators): adjust
5424 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5430 * text3.C: Restricts the mouse click functionality
5431 of insets like bibtex, include, toc and floatlist to the visible
5432 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5433 up the dialogs. Cursor has to be in front of the inset (i.e.
5434 start of row) for this to function.
5436 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5438 * bufferview_funcs.C (currentState): output row information
5440 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5442 * bufferview_funcs.C (currentState): output paragraph position
5444 2003-09-04 Angus Leeming <leeming@lyx.org>
5446 * FloatList.h: move out #include "Floating.h".
5447 * LaTeX.h: move out #include "DepTable.h".
5448 * LyXAction.h: move out #include "funcrequest.h".
5449 * buffer.h: move out #include "author.h", "iterators.h".
5450 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5451 * lyx_main.h: move out #include "errorlist.h".
5452 * lyxfunc.h: move out #include "FuncStatus.h".
5453 * lyxtext: move out #include "lyxcursor.h".
5454 * paragraph_pimpl.h: move out #include "counters.h".
5456 2003-09-03 Angus Leeming <leeming@lyx.org>
5458 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5459 preamble_snippets list, enabling us to add snippets to the preamble
5460 only if the snippet was not there already.
5462 2003-09-04 Angus Leeming <leeming@lyx.org>
5464 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5466 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5471 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5473 * BranchList.C: point fix, earlier forgotten
5475 2003-09-02 Angus Leeming <leeming@lyx.org>
5477 * box.C (contains): renamed from 'contained' after a fantastic
5480 2003-09-02 John Levon <levon@movementarian.org>
5486 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5488 2003-09-02 John Levon <levon@movementarian.org>
5490 * text2.C: simplification of cursorEnd(), including partial
5493 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5495 * buffer.C (readFile): add a space
5497 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5499 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5501 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5503 * buffer.C (readFile): new function, take a filename and a
5504 ParagraphList::iterator
5506 (readFile): adjust, make it private. don't use setStream, make
5507 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5508 always contain the filename.
5510 * BufferView.C (insertLyXFile): simplify and make it work for
5513 2003-08-30 John Levon <levon@movementarian.org>
5515 * Makefile.am: fix dist (from Kayvan)
5517 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * most files: change to use const Buffer refs
5521 2003-08-27 André Pönitz <poenitz@gmx.net>
5523 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5524 on top of ownerPar().
5526 2003-08-27 John Levon <levon@movementarian.org>
5528 * funcrequest.C: properly initialise POD members
5530 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5532 * lyxtext.h (top_y): move top_y from here
5537 * BufferView_pimpl.[Ch]: to here
5538 * frontends/screen.C:
5539 * insets/insettabular.C:
5540 * insets/insettext.C: adjust
5541 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5543 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5546 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5548 2003-08-26 André Pönitz <poenitz@gmx.net>
5550 * paragraph_func.[Ch] (outerPar): new function
5553 * paragraph_funcs.C:
5554 * paragraph_funcs.h:
5555 * paragraph_pimpl.C:
5556 * text2.C: remove Inset::par_owner
5558 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5563 * text2.C: eliminates the needFullRow/display() stuff
5564 altogether, putting the logic in metrics/draw in the insets.
5566 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5568 * text2.C (redoParagraphInternal, redoParagraphs):
5569 * text.C (redoParagraph): add a call to updateRowPositions at the
5570 end of each 'metrics-like' call. Remove all others.
5571 (getRow): remove the 'y-computing' version.
5572 (getRowNearY): do not compute nor return the real y. Solve the
5573 'y < 0' problem and simplify.
5575 2003-08-22 Angus Leeming <leeming@lyx.org>
5577 * *.[Ch]: clean-up of licence and author blurbs.
5578 Also move config.h out of a few .h files and into a few .C files.
5580 2003-08-22 André Pönitz <poenitz@gmx.net>
5582 * lyxrow.[Ch]: add x_ and *fill_ members
5587 * text2.C: adjust/remove prepareToPrint() calls
5589 2003-08-22 André Pönitz <poenitz@gmx.net>
5591 * lyxrow.[Ch]: add end_ member
5593 * lyxrow_funcs.C: use LyXRow::end_
5595 * lyxtext.h (singleWidth): add LyXFont parameter
5598 * text2.C: adjust LyXText::singleWidth() calls
5600 * text.C (redoParagraph): simplify row breaking logic
5603 2003-08-19 André Pönitz <poenitz@gmx.net>
5605 * funcrequest.C: initialize button_ member
5608 * rowpainter.[Ch]: interface consolidation
5610 2003-08-18 André Pönitz <poenitz@gmx.net>
5613 * BufferView_pimpl.C:
5615 * paragraph_funcs.C:
5617 * text3.C: remove LyXScreen::draw() and fitCursor calls
5619 * BranchList.h: remove spurious semicolons
5621 * MenuBackend.C: fix branchlist related crash
5623 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5631 * bufferparams.[Ch]:
5635 * text3.C: implements the 'branch inset'
5636 idea. This allows the output of various versions of a document
5637 from a single source version, selectively outputing or suppressing
5638 output of parts of the text.
5639 This implementation contains a 'branch list editor' in a separate
5640 tab of the document settings dialog. Branches are user definable
5641 and have a "display colour" to distinguish them on-screen.
5643 ColorHandler was somewhat cleaned up.
5644 (1) make possible a dynamically growing LColor list by allowing
5645 the graphic context cache to grow along (vector);
5646 (2) eliminate an IMHO unnecessary step in colour allocation.
5648 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5650 * BufferView_pimpl.C: compile fix
5652 2003-08-15 André Pönitz <poenitz@gmx.net>
5654 * rowpainter.C: remove extra metrics calls
5656 * lyxtext.h: merge the two constructors into a single one,
5657 pass reference to owner's par list
5659 * BufferView_pimpl.C:
5663 2003-08-15 André Pönitz <poenitz@gmx.net>
5665 * lyxrow_funcs.[Ch]:
5668 * paragraph_funcs.C:
5673 * text_funcs.C: split LyXText::rowlist_ into individual
5674 Paragraph::rows_ chunks
5677 * BufferView_pimpl.[Ch]:
5680 * text3.C: remove toggleSelection()
5682 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5684 * bufferlist.C: beautify two alerts (shorter text of buttons)
5685 * buffer.C: Remove redundant ' ' from message
5687 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5688 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5689 rename VALIGN_CENTER to VALIGN_MIDDLE
5691 2003-08-11 André Pönitz <poenitz@gmx.net>
5693 * lyxtext.h (getPar):
5694 * text.C: new function
5696 2003-08-11 André Pönitz <poenitz@gmx.net>
5699 * tracer.[Ch]: remove unneeded files
5701 * InsetList.[Ch]: remove resizeInsetsLyXText()
5706 * text3.C: merge insertParagraphs() and appendParagraph()
5707 remove breakAgain(), update()
5709 * BufferView_pimpl.[Ch]:
5710 * bufferview_funcs.[Ch]:
5714 * tabular.C: adjust after text & InsetList changes.
5716 2003-08-08 André Pönitz <poenitz@gmx.net>
5718 * text.C (insertChar, backspace): replace rowlist fiddling
5719 with rebreak of full par
5722 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5723 checkParagraph, updateInset): removed
5725 2003-08-07 André Pönitz <poenitz@gmx.net>
5728 * text3.C: merge some LFUN handlers, remove dead code
5730 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5732 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5734 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5736 * text2.C (DEPM): fix part of bug 1255 and 1256
5738 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5740 * BufferView_pimpl.C (workAreaDispatch): change to use
5741 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5742 that are no mouse related.
5744 2003-08-05 André Pönitz <poenitz@gmx.net>
5747 * BufferView_pimpl.[Ch]:
5748 * bufferview_funcs.C:
5750 * text3.C: rip out "deep update"
5752 * textcursor.[Ch] (last_sel_cursor): remove unused member
5754 2003-08-04 André Pönitz <poenitz@gmx.net>
5757 * BufferView_pimpl.[Ch]:
5758 * ParagraphParameters.C:
5759 * bufferview_funcs.C:
5765 * text3.C: replace "complicated" BufferView::update(...) calls with
5768 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5770 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5772 * Makefile.am (lyx_SOURCES): add paper.h
5774 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5776 * Makefile.am: move things around so that both lyx-qt and
5777 lyx-xforms can be built (according to --with-frontend). Then lyx
5778 is a symbolic link to lyx-[firstfrontend]
5780 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5782 * Always use std::endl with lyxerr
5784 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5786 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5788 2003-08-01 André Pönitz <poenitz@gmx.net>
5791 * BufferView_pimpl.[Ch]:
5793 * text3.C: merge BufferView::repaint() and BufferView::update()
5795 2003-08-01 José Matos <jamatos@lyx.org>
5797 * buffer.[Ch]: file_format is no longer a buffer data element.
5799 2003-08-01 André Pönitz <poenitz@gmx.net>
5804 * text2.C: make redoParagraph more independent of current cursor
5806 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5808 * text2.C: remove unneeded members
5810 2003-07-30 André Pönitz <poenitz@gmx.net>
5812 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5814 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5815 create a single function...
5817 * paragraph_funcs.C (moveItem): ... here.
5820 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5822 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5824 * LColor.[Ch]: Add comment and greyedout logical colors.
5826 2003-07-30 André Pönitz <poenitz@gmx.net>
5828 * tabular.C: don't use Assert too heavily. This crashes where it
5831 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5833 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5834 is disabled (bug 1232)
5836 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5838 * factory.C: limited 'arg' scope
5840 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5842 * factory.C: fixed Note submenu issues
5844 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5846 * factory.C: submenu for Note/Comment/Greyedout
5848 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5851 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5853 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5856 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5857 greyedout. Patch provided by Jürgen Spitzmüller.
5859 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5861 * kbmap.C (read): fix error message when reading bind files
5863 2003-07-29 Angus Leeming <leeming@lyx.org>
5865 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5866 certainly does not do what it purports to do. I am doing it, and
5867 us, a favour by killing it.
5869 2003-07-28 José Matos <jamatos@lyx.org>
5871 * buffer.C (readBody, do_writeFile):
5872 * paragraph.C(readParagraph): \end_document replaces \the_end.
5874 2003-07-29 André Pönitz <poenitz@gmx.net>
5877 * BufferView_pimpl.[Ch]:
5881 * textcursor.[Ch]: remove toggleToggle & Co
5883 2003-07-28 José Matos <jamatos@fep.up.pt>
5885 * buffer.C (readParagraph):
5886 * params_func (readParToken, readParagraph):
5887 * paragraph.C (write): \layout -> \begin_layout.
5889 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5891 * lyxlex_pimpl.C (setFile): clean up slightly.
5893 * bufferparams.h: add compressed var
5895 * buffer_funcs.C (readFile): adjust for LyXLex change
5896 (newFile): ditto + simplify
5898 * buffer.C (writeFile): handle writing of compressed files
5900 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5901 Check if the file is compressed and set a bufferparm if so.
5903 * Makefile.am (lyx_LDADD): remove explicit -lz
5905 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5907 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5908 makeDocBookFile): put the real LyX version in the first line of
5912 * version.C.in: remove lyx_docversion
5914 * tabular.C (write_attribute): add a template-based version to
5915 write enums properly
5917 2003-07-28 André Pönitz <poenitz@gmx.net>
5922 * text3.C: use doubles again for x-coordinates. They are needed.
5924 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5926 * messages.C (getLocaleDir): use lyx_localedir()
5928 * lyxlex_pimpl.C (setFile): compress stuff
5930 * buffer.C (writeFile): add some compression stuff
5931 (do_writeFile): new func, dont call expliti close... will this
5934 * Makefile.am (lyx_LDADD): add -lz
5936 2003-07-28 José Matos <jamatos@fep.up.pt>
5938 * buffer.C: increment file format.
5939 * paragraph_funcs (readParagraph, readParToken):
5940 * paragraph.C (readParagraph): add \end_layout.
5942 2003-07-27 Angus Leeming <leeming@lyx.org>
5944 * Makefile.am: remove special casing for configure-time setting of
5945 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5947 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5948 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5950 2003-07-26 André Pönitz <poenitz@gmx.net>
5952 * paragraph_func.[Ch]:
5953 * paragraph.C (realizeFont): inline it whereever it is used
5958 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5961 2003-07-26 André Pönitz <poenitz@gmx.net>
5965 * text2.C: get rid of LyXText::need_break_row
5967 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * toc.[Ch]: put namespace toc inside namespace lyx
5971 * MenuBackend.C (expandToc2): adjust for lyx::toc
5974 * lyxfunc.C (dispatch): adjust for lyx::find
5976 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5977 lyx::find instead. Reorganize a bit.
5978 (LyXReplace): rename to replace
5979 (LyXFind): rename to find
5981 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5984 2003-07-26 André Pönitz <poenitz@gmx.net>
5986 * text.C (setHeightOfRow): restrict scope of temporary variable
5988 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5989 code (never has been used?)
5991 2003-07-27 Asger Alstrup <alstrup@local>
5993 * text.C (fill): Optimise algorithm to exploit that we can reuse
5994 the LyXFont for many characters.
5995 (setHeightOfRow): Same thing.
5996 (rowBreakPoint): Same thing.
5998 2003-07-26 Asger Alstrup <alstrup@local>
6000 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6002 * text.C (singleWidth): Spurious font copying in hot-spot
6003 singleWidth avoided. Reorder tests for arabic for efficiency.
6005 * text.C (fill): handle empty paragraphs better.
6007 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6010 * encoding.h: add includes
6012 * lyxrc.C: remove reading of bind files
6014 * lyx_main.C (init): setup bindings and menus only if we have a
6017 * kbmap.C (read): new method. Do the actual reading of bind
6020 * converter.C (dvipdfm_options):
6023 (output): adapt PAPER_* enums.
6025 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6027 * bufferparams.h: remove paper-related enums from there
6029 * paper.h: New file. A trivial header file to hold paper-related
6030 enums. It should later expand to contain many paper-related
6033 * lyxrc.C: declare extern displayTranslator
6035 2003-07-27 José Matos <jamatos@fep.up.pt>
6037 * tabular.[Ch] (linuxdoc): add support for tables and figures
6040 2003-07-27 José Matos <jamatos@fep.up.pt>
6042 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6043 consistency in both functions.
6044 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6046 2003-07-26 Asger Alstrup <alstrup@local>
6048 * rowpainter.C (paintRows): Change algorithm to work directly on
6049 the insets rather than asking every character in the document
6050 whether its an inset.
6052 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6054 * buffer.C (openFileWrite): factorize some code
6056 2003-07-26 Angus Leeming <leeming@lyx.org>
6059 * lyx_main.[Ch]: replace occurances of system_tempdir with
6062 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6064 * rename Inset to InsetOld
6066 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6068 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6069 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6070 which I think is a bit clearer. EDIT is gone, since it was
6071 premature optimisation, and broken for mathed anyway.
6072 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6073 with cursor positioning in insets as well (math insets still do not
6074 work, but that's a different story anyway.) It mysteriously
6075 crashes sometimes with undo in the first paragraph, but I'm fairly
6076 confident that this is a compiler bug.
6078 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6080 * paragraph.C (Paragraph): adjust for new clone return type
6082 (copyIntoMinibuffer): ditto
6084 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6086 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6087 by not having a special case, and always doing a full rebreak of
6088 the document after undo.
6090 2003-07-23 Angus Leeming <leeming@lyx.org>
6092 * factory.C (createInset): InsetExternal::setParams now takes a
6095 2003-07-23 Angus Leeming <leeming@lyx.org>
6097 * factory.C (createInset): changed interface to the external and
6098 graphics mailers' string2params functions.
6100 2003-07-23 Angus Leeming <leeming@lyx.org>
6102 * factory.C (createInset): pass a
6103 Buffer const * parameter to InsetExternalMailer's string2params.
6105 2003-07-22 John Levon <levon@movementarian.org>
6107 * Thesaurus.h: include the right aiksaurus header
6109 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6111 * MenuBackend.C (expand): check menu shortcuts unconditionally
6113 2003-07-21 Angus Leeming <leeming@lyx.org>
6115 * factory.C (createInset): pass a
6116 buffer_path parameter to InsetGraphicsMailer's string2params.
6118 2003-07-21 Angus Leeming <leeming@lyx.org>
6120 * BufferView_pimpl.C (buffer):
6123 * lyxfunc.C (dispatch):
6124 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6125 rather than the grfx shortcut.
6127 2003-07-21 André Pönitz <poenitz@gmx.net>
6129 * rowpainter.C: remove unused variables
6132 * tabular_funcs.h: move to tabular.C
6133 * Makefile.am: adjust
6135 * tabular.[Ch]: basic optical cleaning
6137 * author.h: pass references, not values
6139 2003-07-18 André Pönitz <poenitz@gmx.net>
6147 * text3.C: two-phase drawing for InsetText and InsetTabular
6148 some float -> int changes.
6150 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6152 * lyx_main.C: fix the fix
6154 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6156 * lyx_main.C: fix a crash in batch mode if no files specified
6159 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6161 * format.[Ch] (papersize): moved to BufferParams
6162 * converter.[Ch] (dvips_options): moved to BufferParams
6163 (dvipdfm_options): moved to anon namespace
6164 * bufferparams.[Ch]: added above functions.
6166 2003-07-17 André Pönitz <poenitz@gmx.net>
6170 * text2.C: don't call inset->update() anymore
6172 * metricsinfo.[Ch]: add convenience constructor
6174 2003-07-16 André Pönitz <poenitz@gmx.net>
6179 * text2.C: replace the LyXCursor::irow_ member with
6180 on-demand computation of the value
6182 2003-07-16 John Levon <levon@movementarian.org>
6184 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6186 2003-07-15 André Pönitz <poenitz@gmx.net>
6189 * text2.C: remove no more needed refresh_row
6191 2003-07-15 André Pönitz <poenitz@gmx.net>
6196 * text3.C: refresh_status tristate -> need_update bool
6198 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6200 * lyxtext.h (init): remove reinit argument (act as if always true)
6201 * text2.C: adjust to that
6203 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6205 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6206 * text3.C: use it to delete selections in some cases
6207 (bugs 441, 673, 702, 954).
6209 2003-07-14 André Pönitz <poenitz@gmx.net>
6211 * rowpainter.[Ch]: reduce interface
6213 2003-07-14 André Pönitz <poenitz@gmx.net>
6215 * BufferView_pimpl.C:
6216 * text2.C: adjust after removing unused BufferView * argument
6218 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6220 * text2.C (init): fix a crash fired on resize
6222 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6224 * buffer.[Ch]: added new closing signal
6225 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6226 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6227 BufferView::Pimpl via the closing the signal
6229 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6231 * buffer.[Ch]: take out all bv-related from buffer
6233 * BufferView_pimpl.[Ch]: connect to new signals
6234 * CutAndPaste.C: removed useless asserts
6235 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6238 * lyxfunc.C: moved view-related funciontality from vc here
6239 * paragraph.C: removed outdated comments
6242 2003-07-10 André Pönitz <poenitz@gmx.net>
6244 * BufferView_pimpl.C:
6248 * text2.C: remove InsetText::InnerCache, clean up consequences
6250 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6252 * ispell.C: fix two typos in error messages
6254 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6256 * Extend Note inset to other forms of annotation like Comment
6257 and Greyedout. Right button click gives dialog.
6259 Files modified or added (+):
6263 * ControlNote.[Ch] +
6265 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6266 frontends/controllers
6270 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6272 * aspell.C: add missing namespace lyx::support
6274 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6276 * BufferView.[Ch] (newFile): Add
6277 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6278 * LaTeX.[Ch] (message): added this signal and use it
6279 * buffer.[Ch] (busy, message): added these signals and use them
6280 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6284 * importer.C: use buffer signals instead of direct bv calling
6285 * lyx_cb.[Ch] (ShowMessage): removed
6288 * paragraph_funcs.C:
6289 * text2.C: use buffer signals
6291 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * introduce namespace lyx::graphics
6295 2003-07-02 André Pönitz <poenitz@gmx.net>
6297 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6299 2003-07-01 André Pönitz <poenitz@gmx.net>
6306 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6307 text*.C to text_func.C
6309 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6311 * introduce namespace lyx::support
6313 2003-06-30 André Pönitz <poenitz@gmx.net>
6318 * text.C: re-enable --with-included-string
6320 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * textcursor.C: add <config.h>
6324 * text.C (getWord): remove const from word_location arg
6326 * lyxvc.C (getLogFile): fix const type order
6328 * lyxtext.h: remove const from word_location arg, add arg name
6330 * lyxlayout.h: currect type on labeltype.
6332 * importer.C: correct \file
6334 * converter.C (intToFormat): use std:: on ret val, ws changes
6336 * bufferlist.h: correct \file
6338 * buffer.C (makeLinuxDocFile): fix const type order
6339 (makeDocBookFile): ditto
6340 (fillWithBibKeys): use std:: on stdlib args.
6342 * CutAndPaste.C: fix authors.
6343 (availableSelections): use std:: on return vector
6345 2003-06-27 André Pönitz <poenitz@gmx.net>
6347 * BufferView_pimpl.C:
6348 * bufferview_funcs.C:
6356 * text3.C: remove LyXCursor::row_ member
6359 * text.C: rename fullRebreak() to partialRebreak() and implement
6360 a fullRebreak() that really bereks fully
6362 * textcursor.h: new struct for cursor-related data
6364 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6366 * lyx_main.C (LyX): get full path of document loaded on the
6369 2003-06-26 André Pönitz <poenitz@gmx.net>
6371 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6372 remove unused/broken operator>,<,>=.
6374 * text.C: remove only use of broken operator<= in an Assert().
6376 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6378 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6379 moved errorlist_.clear to showErrorList
6381 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6383 * converter.C (scanLog, runLaTeX):
6384 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6385 move the bv->showErrorList call to the callers
6386 * lyxfunc.C: i.e. here...
6388 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6389 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6390 namespace, the second to...
6391 * buffer_funcs (BufferFormat, parseErrors): added
6392 * errorlist.C (ErrorList(TeXErrors const &)): removed
6394 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6396 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6398 2003-06-24 "Garst R. Reese" <reese@isn.net>
6402 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6404 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6406 * version.C.in: change docversion to 1.4
6408 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6410 * buffer.C: fix a bug just introduced
6412 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6414 * buffer.[Ch]: added the parseError signal and use it, removed
6416 * BufferView.[Ch] (addError): moved to ...
6417 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6418 to the Buffer::parseError signal to catch (guess what) parse errors
6419 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6421 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6423 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6424 ability to create a buffer and to return an existing one from
6425 the list. Moved these functions to...
6426 * buffer_funcs.[Ch]: added
6427 * BufferView.[Ch] (loadLyXFile): added
6428 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6429 job removed from bufferlist::loadLyXFile.
6430 * buffer.C (setReadOnly): make it work without view
6431 (i.e added an if (users))
6433 2003-06-19 Angus Leeming <leeming@lyx.org>
6436 * LyXAction.C (init):
6437 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6438 with LFUN_DIALOG_SHOW <name> <data>.
6440 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6442 * CutAndPaste.C (availableSelections): small compilation fix for
6443 ancient (gcc 2.9x) compilers
6445 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * text3.C (cursorNext): add tmp var
6449 * text2.C (updateCounters): for function calling out of for clause
6450 (replaceSelectionWithString): ditto
6451 (insertStringAsParagraphs): ditto
6452 (getColumnNearX): add tmp var
6453 (setCursorFromCoordinates): add tmp var
6454 (cursorDownParagraph): add tmp var
6455 (deleteEmptyParagraphMechanism): add tmp var
6457 * text.C (insertChar): add tmp var
6459 * rowpainter.C (paintDepthBar): add tmp var
6461 * CutAndPaste.C (availableSelections): potentially check all
6462 paragraphs in a cut to fill the shown strings.
6464 2003-06-18 André Pönitz <poenitz@gmx.net>
6466 * kbmap.[Ch]: use vector<> instead of list<>
6468 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6470 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6471 pasteSelection with index
6473 * text2.C (pasteSelection): modify, call pasteSelection with index
6475 * paragraph.C (asString): reimplement version with no interval to
6476 call the one with interval.
6478 * lyxtext.h: add index arg to pasteSelection
6480 * MenuBackend.C (MenuItem): handle PasteRecent
6481 (Menu::read::Menutags): add md_pasterecent
6483 (expandPasteRecent): new function
6486 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6488 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6490 (availableSelections): new function
6492 2003-06-17 Angus Leeming <leeming@lyx.org>
6494 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6496 2003-06-17 Angus Leeming <leeming@lyx.org>
6499 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6501 * lyxfunc.C (dispatch): invoke it.
6503 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6505 * iterators.C (operator++, ParPosition): reintroduce some
6506 const_cast for the benefit of older compilers.
6508 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6510 * text3.C (dispatch): do not modify clipboard when doing
6511 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6512 LFUN_DELETE_SKIP on a selection selection
6514 2003-06-16 André Pönitz <poenitz@gmx.net>
6520 * tabular.[Ch]: IU of clone() and getLabelList();
6522 2003-06-13 André Pönitz <poenitz@gmx.net>
6524 * tabular.h: compactification
6526 2003-06-12 André Pönitz <poenitz@gmx.net>
6530 * tabular_funcs.h: some renaming plus whitespace
6532 2003-06-12 André Pönitz <poenitz@gmx.net>
6535 * BufferView_pimpl.C:
6541 * toc.C: Return a Paragraph & for ParIterator::operator*()
6543 2003-06-11 John Levon <levon@movementarian.org>
6547 * ToolbarBackend.C: add "Toolbars" section and
6550 2003-06-10 Angus Leeming <leeming@lyx.org>
6553 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6555 * lyxfunc.C (dispatch): invoke it.
6557 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * main.C: protect <ios> with HAVE_IOS
6560 (main): protect sync_with_stdio with HAVE_IOS
6562 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6564 * text2.C (cutSelection): adjust
6565 (pasteSelection): adjust
6567 * messages.C: handle get of empty string
6569 * main.C (main): use sync_with_stdio(false)
6571 * lyxfunc.C (dispatch): adjust
6573 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6574 (WriteAs): remove unneeded BufferView arg.
6576 * bufferparams.h: use correct types on papersize, papersize2 and
6579 * bufferparams.C (readToken): adjust for type
6580 (writeLaTeX): add missing cases to switch.
6582 * bufferlist.C (quitWriteBuffer): adjust
6585 * buffer.C (asciiParagraph): remove some commented code.
6587 * CutAndPaste.C: remove current_view extern variable.
6588 (cutSelection): add BufferParams arg.
6589 (eraseSelection): add BufferParams arg.
6590 (pasteSelection): add Buffer const & arg
6592 2003-06-07 John Levon <levon@movementarian.org>
6595 * paragraph_funcs.C:
6596 * paragraph_pimpl.C:
6600 * paragraph.C: allow InsetERT to freely space lines,
6601 and some consolidation of code
6603 2003-06-06 José Matos <jamatos@fep.up.pt>
6605 * buffer.C (makeDocBookFile): fix bug #821
6607 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6609 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6611 2003-06-04 Angus Leeming <leeming@lyx.org>
6613 * buffer.C: bump format to 224.
6615 2003-06-05 André Pönitz <poenitz@gmx.net>
6617 * text2.C (redoParagraphs): remove two const_cast<>
6619 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6621 * ParagraphList.h: remove last remnants of NO_STD_LIST
6623 2003-06-03 Angus Leeming <leeming@lyx.org>
6625 * factory.C (createInset): small change to the way InsetExternal's params
6628 2003-06-04 André Pönitz <poenitz@gmx.net>
6630 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6632 * paragraph_pimpl.h:
6633 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6635 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6637 * undo_funcs.C: make some simple cases of undo work again
6639 2003-06-03 John Levon <levon@movementarian.org>
6641 * ispell.C: HPUX doesn't have sys/select.h
6644 2003-06-03 John Levon <levon@movementarian.org>
6646 * CutAndPaste.C: update tabular and include inset
6651 * paragraph.C: remove owningBuffer(), don't pass Buffer
6654 * factory.C: insetGraphicsParams changed
6656 2003-06-02 John Levon <levon@movementarian.org>
6662 * text3.C: remove insetparent
6664 2003-06-02 John Levon <levon@movementarian.org>
6667 * buffer.C: fix inset_iterator.end(), move out of line
6670 2003-06-01 John Levon <levon@movementarian.org>
6672 * text3.C: use a proper cut/paste when doing inset
6673 insert (from Jürgen Spitzmüller)
6675 2003-06-01 John Levon <levon@movementarian.org>
6677 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6679 2003-05-30 André Pönitz <poenitz@gmx.net>
6681 * rowpainter.C: unify second drawing phase
6683 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6685 * trans_mgr.C: remove one case of current_view
6687 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6689 * paragraph_funcs.h: remove paragraph.h include
6691 * paragraph.h: delete NO_STD_LIST stuff
6693 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6695 * buffer.h: remove paragraph.h include
6697 * ParagraphList.C: delete file
6699 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6701 * toc.C (getTocList): adjust
6703 * paragraph_pimpl.C (validate): adjust
6705 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6707 * paragraph.C (Paragraph): adjust
6708 (getPositionOfInset): use const_iterator, adjust
6709 (bibitem): use const_iterator, adjust
6710 (setInsetOwner): adjust
6712 * iterators.C (operator++): adjust
6714 * InsetList.[Ch]: Replace selfmade iterator with standard
6715 vector::iterator also introduce const_iterator. Remove getPos,
6716 getInset and setInset from InsetTable. Adjust accordingly.
6718 * BufferView.C (lockInset): adjust
6719 (ChangeInsets): adjust
6721 * tabular.[Ch]: delete commented same_id functions
6723 2003-05-28 John Levon <levon@movementarian.org>
6725 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6727 2003-05-28 André Pönitz <poenitz@gmx.net>
6729 * metricsinfo.[Ch]: remove 'fullredraw' member
6731 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6733 * lyxtextclass.C (operator): remove caching.
6735 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6739 * text2.C (cursorBottom): adjust
6740 (setCounter): use ParagraphList::find, adjust
6742 * text.C (workWidth): use ParagraphList::find, adjust
6744 * lyxcursor.C (LyXCursor): adjust
6746 * buffer.C (inset_iterator): adjust
6748 * ParagraphList.h: make iterator(value_type) private, make
6749 ParagraphList a friend of iterator.
6751 * ParagraphList.C (find): new function
6753 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6755 2003-05-27 André Pönitz <poenitz@gmx.net>
6757 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6759 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6761 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6763 2003-05-26 John Levon <levon@movementarian.org>
6765 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6767 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6769 * remove same_id from function signatures, adjust.
6771 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6775 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6777 * paragraph.C (Paragraph): get rid of same_ids parameter
6779 * ParagraphList.C (insert): adjust
6782 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6784 * paragraph_funcs.C (breakParagraph): adjust
6785 (breakParagraphConservative): adjust
6787 * buffer.C (readParagraph): adjust
6789 * ParagraphList.C (insert): take a reference instead of a pointer
6792 * paragraph.[Ch] (id): new function
6794 * bufferlist.C (newFile): adjust
6796 * ParagraphList.C (ParagraphList): adjust
6798 (push_back): take a reference instead of a pointer.
6800 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6802 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6805 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6806 set else use old code.
6808 * ParagraphList.C: remove all NO_NEXT code and only compile this
6809 code of NO_STD_LIST is set.
6811 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6813 * BufferView_pimpl.C:
6823 * graphics/GraphicsConverter.C:
6824 * graphics/PreviewLoader.C: header adjustment
6826 2003-05-23 Angus Leeming <leeming@lyx.org>
6828 * LaTeXFeatures.[Ch] (useBabel): new method.
6829 * bufferparams.C (writeLaTeX): use it.
6831 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6833 * ParagraphList.h (set): remove unused function.
6835 2003-05-23 André Pönitz <poenitz@gmx.net>
6838 * BufferView_pimpl.C:
6842 * undo_funcs.C: setUndo reworked
6844 * iterators.[Ch]: add access to topmost ParagraphList
6846 * lyxtext.[Ch] (workWidth): add a const
6848 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6850 * texrow.[Ch] (increasePos): remove function
6851 * exporter.C (export): removed unused var and outdated comment
6853 2003-05-23 Angus Leeming <leeming@lyx.org>
6855 * latexrunparams.h: rename fragile as moving_arg.
6856 * paragraph.C (simpleTeXOnePar): ditto.
6857 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6859 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6861 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6863 (textUndoOrRedo): comment out a currently unused var.
6865 * paragraph.h (NO_NEXT): enable NO_NEXT
6867 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6869 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6871 * exporter.C (Export): adjust for removeAutoInsets removal.
6873 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6875 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6877 * BufferView.[Ch] (removeAutoInsets): delete function
6879 2003-05-22 Angus Leeming <leeming@lyx.org>
6881 * latexrunparams.h: add a free_spacing variable.
6883 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6884 to pass moving_arg, as the data is stored in runparams.fragile.
6886 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6887 to Inset::latexOptional or to simpleTeXOnePar.
6889 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6890 free_spacing arg to Inset::latexOptional.
6892 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6895 2003-05-22 Angus Leeming <leeming@lyx.org>
6897 * latexrunparams.h: add fragile and use_babel variables.
6899 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6900 * buffer.C (makeLaTeXFile): store this returned value in
6901 runparams.use_babel, thus passing it to the inset::latex methods.
6903 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6904 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6906 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6907 longer has a fragile arg, as it is stored in runparams.fragile.
6909 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6910 moving_arg parameter as the data is stored in runparams.fragile.
6912 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6913 a fragile parameter as the data is stored in runparams.fragile.
6915 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6917 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6919 2003-05-22 Angus Leeming <leeming@lyx.org>
6921 * latexrunparams.h: add a 'bool nice' which defaults to false.
6923 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6924 now encapsulated within runparams.
6926 * bufferlist.C (updateIncludedTeXfiles):
6927 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6929 2003-05-22 Angus Leeming <leeming@lyx.org>
6931 * latexrunparams.h: new file containing struct LatexRunParams.
6932 * Makefile.am: add new file.
6934 * LaTeX.[Ch] (c-tor, run):
6935 * buffer.[Ch] (makeLaTeXFile):
6936 * bufferlist.[Ch] (updateIncludedTeXfiles):
6937 * converter.C (convert, scanLog):
6938 * converter.[Ch] (runLaTeX):
6939 * exporter.C (Export):
6940 * paragraph.[Ch] (simpleTeXOnePar):
6941 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6942 * paragraph_funcs.[Ch] (latexParagraphs):
6943 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6944 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6945 pass around a LatexRunParams parameter.
6947 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6949 * paragraph.[Ch]: remove unused constructor
6951 * ParagraphList.C (erase): new function, taking two iterators
6953 2003-05-22 André Pönitz <poenitz@gmx.net>
6955 * undo_funcs.C: remove duplicated code
6957 * iterator.[Ch]: operator=
6959 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6961 * tabular.C (SetMultiColumn): ws changes
6963 * rowpainter.C (paintFirst): get rid of a ->previous
6965 * lyx_cb.C (getPossibleLabel): parlist simplification
6967 * BufferView.C (ChangeInsets): simplify slightly.
6969 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6971 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6972 * lfuns.h: new LFUN_SPACE
6973 * lyxfunc.C: protected space has a new lfun
6974 * paragraph_funcs.C: read new space insets
6976 * factory.C: handle new space insets
6978 2003-05-22 André Pönitz <poenitz@gmx.net>
6981 * BufferView_pimpl.C:
6984 * undo_funcs.C: return a ParIterator from getParFromID.
6986 * iterators.[Ch]: add two const's
6988 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6990 * toc.C (getTocList): adjust
6992 * iterators.[Ch]: rework for parlist
6994 * buffer.C (par_iterator_begin): adjust
6995 (par_iterator_end): adjust
6997 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6999 * BufferView.C (removeAutoInsets): adjust
7000 (ChangeInsets): adjust
7002 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7004 * text.C (top_y): fix bug 1110
7006 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7008 * errorlist.[Ch]: added
7011 * BufferView_pimpl.C:
7012 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7015 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7017 * Makefile.am: ensure that lyx is relinked upon changes to the
7018 various "convenience" libs.
7020 2003-05-20 Angus Leeming <leeming@lyx.org>
7022 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7023 files are compiled in alphabetical order again.
7025 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7027 2003-05-19 Angus Leeming <leeming@lyx.org>
7029 * gettext.[Ch]: remove "char const * _(char const *)".
7031 2003-05-19 André Pönitz <poenitz@gmx.net>
7033 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7042 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7044 2003-05-19 André Pönitz <poenitz@gmx.net>
7048 * lyxtextclass.[Ch]:
7050 * paragraph_funcs.[Ch]:
7052 * text3.C: more insetenv work
7054 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7056 * ParagraphParameters.C (params2string): small bug fixed
7058 2003-05-16 André Pönitz <poenitz@gmx.net>
7061 * bufferview_funcs.C: patch from Kornel Benko to prevent
7062 crash when _(...) is called twice in a statement
7064 2003-05-16 André Pönitz <poenitz@gmx.net>
7071 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7073 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7075 * lyx_main.C (init): remove spurious static_cast
7077 2003-05-14 André Pönitz <poenitz@gmx.net>
7079 * BufferView.C: fix format string
7081 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7083 * BufferView.[Ch] (insertErrors): removed
7084 * BufferView.[Ch] (showErrorList): added
7085 * buffer.C (runChkTeX):
7086 * converter.C (scanLog): call showErrorList instead of inserterrors
7088 2003-05-13 André Pönitz <poenitz@gmx.net>
7090 * BufferView_pimpl.C:
7092 * bufferview_func.C:
7099 * tabular_funcs.h: tostr() from its own header
7101 * ParagraphParameters.C:
7106 * text3.C: STRCONV()
7108 2003-05-12 André Pönitz <poenitz@gmx.net>
7111 * BufferView_pimpl.C:
7115 * ParagraphParameters.C:
7119 * bufferview_funcs.C:
7132 * paragraph_funcs.C:
7136 * text3.C: boost::format -> bformat all over the place
7139 2003-05-09 André Pönitz <poenitz@gmx.net>
7141 * LColor.[Ch]: Pimpl the #include <map> away
7143 2003-05-09 John Levon <levon@movementarian.org>
7145 * bufferlist.C: never remove emergency saves
7147 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * Makefile.am: better lib building
7151 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7153 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7155 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7156 (simpleTeXSpecialChars): adjust
7157 (simpleTeXSpecialChars): adjust
7158 * paragraph.C (simpleTeXOnePar): adjust
7159 * buffer.C (makeLaTeXFile): adjust
7161 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7163 * text2.C (changeDepth): parlist cleanup
7164 (getColumnNearX): ditto
7166 * rowpainter.C (getLabelFont): parlist cleanup
7168 * bufferlist.C (newFile): parlist cleanup
7170 * CutAndPaste.C (eraseSelection): parlist cleanup
7172 * BufferView_pimpl.C (trackChanges): parlist cleanup
7175 * BufferView.C (lockInset): parlist cleanup.
7176 (ChangeInsets): ditto
7178 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * CutAndPaste.h: Update file header.
7182 * CutAndPaste.C: Update file header.
7183 Store the parts cut out of the Document in a limited_stack.
7184 (copySelection): adjust
7185 (pasteSelection): new function, takes the index in the limited stack.
7186 (nrOfParagraphs): adjust
7187 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7188 simplify error inset insertion.
7189 (checkPastePossible): adjust
7191 2003-05-06 John Levon <levon@movementarian.org>
7193 * text2.C: don't cast wrap inset to float
7195 2003-05-05 André Pönitz <poenitz@gmx.net>
7198 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7200 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7201 few naked Paragraph *.
7203 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7205 * bufferparams.C: Output warning if a document with missing
7206 TeX document class is loaded
7207 * exporter.C: Disable TeX exports if the document class is missing
7210 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7211 isTeXClassAvailable()
7213 2003-05-03 John Levon <levon@movementarian.org>
7216 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7217 explicit cursor show/hide
7219 * BufferView_pimpl.h:
7220 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7221 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7223 * lyxfunc.C: hide cursor before dispatching.
7228 * text3.C: remove explicit cursor hides
7230 2003-05-02 André Pönitz <poenitz@gmx.net>
7232 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7235 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7238 * text2.C: tiny whitespace
7240 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7242 * undo_funcs.C: almost only ws changes.
7244 * ParagraphList.C (splice): just return if pl is empty.
7246 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7248 * ParagraphList.C (splice): new function.
7250 * CutAndPaste.C (pasteSelection): use it
7252 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7254 * CutAndPaste.C (pasteSelection): remove the last next and
7255 previous from this file.
7257 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * CutAndPaste.C (pasteSelection): more clean up, user proper
7260 ParagraphList functions for pasteing.
7262 * ParagraphList.C (insert): new function, three arg insert
7264 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7266 * ParagraphList.C (insert): new function, three arg insert
7268 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7271 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7273 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7275 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7277 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7279 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7282 (copySelection): clean up a bit.
7283 (pasteSelection): use make_pair
7285 * ParagraphList.C (ParagraphList): implement copy constructor
7286 (operator=): implement, base on copy constructor.
7289 * paragraph.C (erase): return a bool
7291 * paragraph_pimpl.C (erasePos): remove function, move contents...
7292 (erase): ... here. Return a bool.
7293 (erase): call erase instead of erasePos.
7295 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7297 * ParagraphList.h: define PitPosPair
7298 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7299 ParagraphList, fix a bug on pasting multiple pars
7300 * text2.C: change interface to C&P
7302 2003-04-30 André Pönitz <poenitz@gmx.net>
7304 * undo_func.C: revert part of yesterday's patch 2
7306 2003-04-30 John Levon <levon@movementarian.org>
7308 * LColor.C: s/tabular/table/
7310 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7312 * text3.C (dispatch): do not convert iterator -> pointer
7313 * undo_funcs.C (setCursorParUndo): ditto
7314 * text_funcs.C (transposeChars): ditto
7316 * text2.C (setLayout): ws changes only
7318 * text.C (breakParagraph): do not convert iterator -> pointer
7320 (acceptChange): ditto
7321 (rejectChange): ditto
7326 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7329 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7331 * text3.C (gotoInset): YABG (yet another bad getChar)
7333 2003-04-29 André Pönitz <poenitz@gmx.net>
7335 * paragraph.h: make operator= private unimplemented as long as
7338 * ParagraphList.C: whitespace
7341 * paragraph_pimpl.[Ch]:
7342 * paragraph_funcs.C:
7344 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7347 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7349 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7351 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7352 * paragraph.[Ch] (erase):
7353 * paragraph_pimpl.[Ch] (erase): change return type and value
7354 * text2.C (cutSelection): some rework
7356 2003-04-28 John Levon <levon@movementarian.org>
7358 * bufferlist.C: changes for unsaved changes dialog
7360 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7362 * bufferlist.C (newFile): set language (messages_) for new
7365 * buffer.C (readFile): ws changes only.
7367 2003-04-28 André Pönitz <poenitz@gmx.net>
7372 * BufferView_pimpl.C:
7373 * BufferView.C: getParFromID related ParagraphList::iterator changes
7375 2003-04-28 André Pönitz <poenitz@gmx.net>
7377 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7380 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * messages.C: remove one more localedir class variable.
7384 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7386 * messages.C (getLocaleDir): singleton generation function
7388 (Messages): add a default constructor.
7390 * main.C (main): do not setup localedir here, do not call
7393 * gettext.C (_): use it.
7394 (gettext_init): delete funciton
7396 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7398 * gettext.C (getLyXMessages): new singleton generating function.
7400 * buffer.C (updateDocLang): adjust
7402 * Makefile.am (messages.o): add target
7403 (main.o): remove target
7405 2003-04-27 John Levon <levon@movementarian.org>
7410 * lyxvc.C: specify cancel button in Alert::prompt
7412 2003-04-26 John Levon <levon@movementarian.org>
7417 * LyXAction.C: add LFUN_INSET_SETTINGS
7419 * lyxfunc.C: don't enable tabular-feature when there's
7420 just any locking inset
7422 2003-04-26 John Levon <levon@movementarian.org>
7424 * bufferlist.C: re-add Cancel to buffer close question
7426 * lyxfunc.C: fix import UI a bit
7428 2003-04-25 John Levon <levon@movementarian.org>
7430 * gettext.C: remove the broken asserts for now
7432 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7434 * messages.C: make case where setlocale cannot comply work better.
7436 * buffer.C (updateDocLang): new function
7437 (changeLanguage): use it
7440 * text2.C (setCounter): use B_ a bit.
7442 * lyxlayout.C (Read): be sure to trim the label strings.
7444 * messages.C (Messages): fix typo in comment
7446 * buffer.C (readFile): set message_ after file is loaded.
7447 (makeDocBookFile): remove double return
7448 (changeLanguage): reset message_ upon language change.
7449 (B_): new func, use this to get translated buffer strings.
7451 * main.C: add myself and Jean Marc as authors.
7453 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * messages.[hC]: pimplify Messages, and three different pimpls to be
7456 used in different circumstances.
7458 * gettext.[Ch]: change for use with new message code.
7460 2003-04-24 André Pönitz <poenitz@gmx.net>
7462 * factory.C: support for eqref
7464 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7466 * messages.[Ch]: add missing char
7468 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7470 * messages.[Ch]: New files
7472 2003-04-18 John Levon <levon@movementarian.org>
7476 * BufferView_pimpl.C:
7480 * text2.C: remove layout-copy/paste (bug 778)
7482 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7484 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7486 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7488 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7489 if they succeed. Act accordingly.
7491 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7493 * text2.C (setCharFont): adjust
7494 (setCounter): adjust
7495 (insertStringAsLines): adjust
7497 * text.C (leftMargin): adjust
7498 (setHeightOfRow): adjust
7500 * rowpainter.C (paintFirst): adjust
7503 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7505 (isFirstInSequence): ditto
7506 (getEndLabel): ditto
7509 * paragraph.C (getParLanguage): comment out some hard stuff.
7511 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7513 (simpleDocBookOnePar): ditto
7514 (makeDocBookFile): use ParagraphList::iterator
7516 * CutAndPaste.C (pasteSelection): adjust
7518 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7520 * text2.C (getFont): adjust
7521 (getLayoutFont): adjust
7522 (getLabelFont): adjust
7524 * paragraph_funcs.C (TeXOnePar): adjust
7526 * buffer.C (simpleLinuxDocOnePar): adjust
7527 (simpleDocBookOnePar): adjust
7529 * CutAndPaste.C (pasteSelection): adjust
7531 * BufferView.C (getEncoding): adjust
7533 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7535 2003-04-16 John Levon <levon@movementarian.org>
7537 * lyxfind.C: use parlist stuff for search/changes
7539 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7541 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7543 * text2.C (deleteEmptyParagraphMechanism): adjust
7545 * text2.[Ch] (ownerParagraph): delete func (both of them
7547 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7549 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7551 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7553 * ParagraphList.C: prepare for NO_NEXT
7555 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * text2.C (getFont): adjust
7558 (getLayoutFont): adjust
7559 (getLabelFont): adjust
7561 * paragraph.C (getFont): adjust
7562 (getLabelFont): adjust
7563 (getLayoutFont): adjust
7565 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7567 2003-04-15 John Levon <levon@movementarian.org>
7571 * lyx_main.C: handle Include in .ui files
7573 2003-04-15 John Levon <levon@movementarian.org>
7575 * MenuBackend.C: make the doc files length shorter
7578 * ToolbarBackend.C: handle toolbar placement flags,
7581 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7583 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7586 * paragraph_funcs.C (TeXOnePar): adjust
7588 * paragraph.C (getLabelFont): add outerfont arg, adjust
7589 (getLayoutFont): ditto
7590 (simpleTeXOnePar): adjust
7592 * paragraph_pimpl.C (realizeFont): delete func
7594 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7596 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7597 row argument, constify cur argument.
7599 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7601 * text2.C (getFont): adjust
7602 (getLayoutFont): adjust
7603 (getLabelFont): adjust
7605 * paragraph_funcs.C (TeXOnePar): adjust
7606 (outerFont): new func...
7607 (realizeFont): ...moved out from here, changed this to facilitate
7610 * paragraph.C (getFont): take outerfont as arg, adjust
7611 (simpleTeXOnePar): add outerfont arg, adjust
7613 * buffer.C (simpleLinuxDocOnePar): adjust
7614 (simpleDocBookOnePar): adjust
7616 * CutAndPaste.C (pasteSelection): adjust
7618 * BufferView.C (getEncoding): adjust
7620 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7622 * text2.C (setCharFont): adjust
7623 (setCounter): adjust
7625 * text.C (leftMargin): adjust
7626 (setHeightOfRow): adjust
7628 * rowpainter.C (paintFirst): adjust
7631 * paragraph_pimpl.C (realizeFont): adjust
7633 * paragraph.C (isFirstInSequence): move from here...
7634 * paragraph_funcs.C (isFirstInSequence): ...to here
7636 * paragraph.C (outerHook): move from here...
7637 * paragraph_funcs.C (outerHook): ...to here
7639 * paragraph.C (depthHook): move from here...
7640 * paragraph_funcs.C (depthHook): ...to here
7642 * paragraph.C (getEndLabel): move from here...
7643 * paragraph_funcs.C (getEndLabel): ...to here
7645 * text2.C (realizeFont): move from here...
7646 * paragraph_funcs.C (realizeFont): ...to here
7648 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7652 2003-04-14 Angus Leeming <leeming@lyx.org>
7654 * LColor.[Ch]: scrap LColor mathcursor.
7656 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * lyxlex.[Ch] (text): delete function
7659 * trans.C (Load): adjust
7660 * paragraph_funcs.C (readParToken): adjust
7662 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7664 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7665 vector<char> instead of a char[].
7667 * lyxlex_pimpl.C (getString): adjust
7669 (lex): use getString
7673 * lyxlex.C (text): use pimpl_->getString()
7677 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7679 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7680 (makeFontEntriesLayoutSpecific): temp var for par.size()
7681 (setLayout): temp var for ownerParagraphs().end()
7682 (fullRebreak): temp var for rows().end()
7683 (selectionAsString): temp var for boost::next(startpit), realize
7684 that the while really is a regular for loop.
7685 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7686 setCursor in one place.
7687 (setParagraph): temp vr for ownerParagraphs().end()
7688 (updateCounters): make the while loop a for loop
7689 (cutSelection): temp var for ownerParagraphs().end()
7690 (updateInset): make the do {} while() a regular for loop
7691 (getCursorX): use temp vars
7692 (setCurrentFont): use temp vars
7693 (getColumnNearX): use temp vars
7695 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7697 * text.C (transformChar): use temp var for getChar
7698 (computeBidiTables): use temp var for row->par()
7699 (fill): move temp vars for row->par() and pit->layout() earlier in
7701 (labelFill): use temp var for row->par()
7702 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7703 asc and desc, realize that pit never changes and that firstpit is
7704 just a duplicate and not needed. Exchange rit->par() with pit in a
7706 (breakAgain): use a temp var for boost::next(rit)
7707 (breakAgainOneRow): ditto
7708 (breakParagraph): use a temp var for rows().begin()
7709 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7710 (cursorRightOneWord): use temp var for cursor.par() and
7711 cursor.pos(), remove usage of tmpcursor.
7712 (cursorLeftOneWord): use temp var for cursor.par() and
7713 cursor.pos() only set cur at end of function.
7715 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * text.C, text2.C: exchange all usage of Paragraph::next with
7718 boost::next(ParagraphList::iterator)
7720 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7722 * text2.C (cursorTop): simplify implementation
7723 (cursorBottom): ditto
7724 (setParagraph): use ParagraphList::iterator
7725 (setCurrentFont): adjust
7726 (getColumnNearX): adjust
7727 (cursorRight): adjust
7728 (cursorLeft): remove usage of Paragraph::previous
7729 (cursorUpParagraph): ditto
7730 (deleteEmptyParagraphMechanism): slight cleanup
7732 * text.C (isBoundary): take a Paragraph const & instead of a
7734 (addressBreakPoint): ditto
7735 (leftMargin): remove usage of Paragraph::previous.
7736 (setHeightOfRow): ditto
7737 (cursorLeftOneWord): ditto
7738 (selectNextWordToSpellcheck): ditto
7741 (breakParagraph): remove one usage of Paragraph::next
7742 (redoParagraph): ditto
7743 (acceptChange): ditto
7744 (insertChar): adjust
7745 (rowBreakPoint): adjust
7747 * bufferview_funcs.C (toggleAndShow): adjust
7749 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7751 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7752 methods to access it.
7754 * text.C: Added updateRowPositions to compute all row positions.
7755 Make top_y and getRowNearY() to use the cached y position
7757 2003-04-11 John Levon <levon@movementarian.org>
7759 * text.C (rowBreakPoint): reintroduce the labelEnd
7760 checks, code copied from the row fill stuff. Deep voodoo.
7762 * text.C (fill): add a comment and debugging for the
7765 2003-04-11 John Levon <levon@movementarian.org>
7767 * text.C: make sure fullrow insets get wrapped to the next line,
7768 even when they're in a manual label
7770 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * text2.C (insertParagraph): make it take ParagraphList::iterator
7774 (setLayout): make it return ParagraphList::iterator
7775 (redoParagraphs): ditto
7777 (checkParagraph): ditto
7779 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7781 * text2.C: adjust several funcs.
7782 (realizeFont): take a ParagraphList::iterator as arg.
7783 (getLayoutFont): ditto
7784 (getLabelFont): ditto
7785 (setCharFont): ditto
7787 * text.C: adjust several funcs.
7789 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7791 * text.C (selectNextWordToSpellcheck): don't accidentally
7794 2003-04-10 John Levon <levon@movementarian.org>
7796 * ToolbarBackend.C (getIcon): special handling for
7799 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7801 * text2.C (cursorRight): a getChar assert fixed
7803 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7805 * text2.C (getFont): change to take a ParagraphList::iterator
7806 instead of Paragraph*
7807 Adjust several functions.
7809 * text.C (transformChar): change to take a ParagraphList::iterator
7810 instead of Paragraph*
7811 (singleWidth): ditto
7812 Adjust several functions.
7814 * rowpainter.C: adjust several functions
7815 * rowpainter.h:store a ParagraphList::iterator and not a
7819 2003-04-09 John Levon <levon@movementarian.org>
7824 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7825 and the "help" bits as well
7827 2003-04-09 John Levon <levon@movementarian.org>
7830 * ToolbarBackend.C: allow multiple toolbars
7832 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7834 * undo_funcs.C (setCursorParUndo): adjust
7836 * text_funcs.C (transposeChars): adjust
7838 * text3.C (gotoNextInset): adjust
7841 * text2.C (setLayout): adjust
7842 (changeDepth): adjust
7844 (redoParagraphs): adjust
7845 (selectionAsString): adjust
7846 (setParagraph): adjust
7847 (insertInset): adjust
7848 (cutSelection): adjust
7849 (copySelection): adjust
7850 (pasteSelection): adjust
7851 (insertStringAsLines): adjust
7852 (updateInset): adjust
7853 (setCursor): change to take a ParagraphList::iterator parameter
7854 (setCursorIntern): change to take a ParagraphList::iterator parameter
7855 (setCurrentFont): adjust
7856 (cursorLeft): adjust
7857 (cursorRight): adjust
7858 (deleteEmptyParagraphMechanism): adjust
7860 * text.C (breakParagraph): adjust
7861 (insertChar): adjust
7862 (acceptChange): adjust
7863 (rejectChange): adjust
7864 (selectNextWordToSpellcheck): adjust
7865 (changeCase): adjust
7869 * lyxfind.C (SearchForward): adjust
7870 (SearchBackward): adjust
7871 (nextChange): adjust
7873 * lyxcursor.C (par): adjust
7875 * lyxcursor.h: store a ParagraphList::iterator instead of a
7878 * lyx_cb.C (getPossibleLabel): adjust
7880 * bufferview_funcs.C (toggleAndShow): adjust
7882 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7885 * BufferView.C (removeAutoInsets): adjust
7886 (lockedInsetStoreUndo): adjust
7888 2003-04-09 John Levon <levon@movementarian.org>
7890 * ToolbarBackend.C: try icon without argument
7891 if with argument fails
7893 2003-04-08 John Levon <levon@movementarian.org>
7896 * ToolbarBackend.C: add getIcon(), handle tooltip,
7897 and change from "Icon" to "Item".
7899 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7901 * BufferView.C (lockInset): another bad getchar crunched
7903 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7905 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7908 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7910 * lyxfind.C (searchForward, searchBackwards): bug 782
7912 2003-04-07 John Levon <levon@movementarian.org>
7914 * paragraph.C: remove dead comment
7916 * text.C: remove troublesome depth-fiddling code
7917 in leftMargin() and rightMargin() (bug 1017)
7919 * text.C: fix breaking of rows in nested lists
7922 * text2.C (updateCounters): fix up depth values
7925 2003-04-07 John Levon <levon@movementarian.org>
7927 * BufferView_pimpl.C: clear message when doc finishes resizing,
7928 and after a mouse event
7930 * lyxfunc.C: clear message after exiting inset
7932 2003-04-07 John Levon <levon@movementarian.org>
7934 * bufferview_funcs.C: show math status not outside
7935 status in the statusbar
7937 2003-04-07 John Levon <levon@movementarian.org>
7939 * lyxfunc.C: note status changed after a depth change
7941 2003-04-04 Angus Leeming <leeming@lyx.org>
7943 * LaTeX.h: move AuxInfo operator==, != out of line.
7944 Remove LaTeX virtual destructor; nothing derives from it.
7945 Move operator()() out of public area and rename it startscript().
7946 Change protected for private.
7948 2003-04-04 Angus Leeming <leeming@lyx.org>
7951 * text2.C: remove unneeded #includes.
7953 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7955 * text2.C (dEPM): fix the heigth of the next row
7957 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7959 * text.C: squashed an invalid getChar requester + some ws changes
7961 2003-04-03 John Levon <levon@movementarian.org>
7963 * bufferview_funcs.h:
7964 * bufferview_funcs.C:
7967 * text2.C: make getStatus work for the env depth lfuns
7969 2003-04-03 John Levon <levon@movementarian.org>
7971 * bufferview_funcs.h:
7972 * bufferview_funcs.C:
7975 * text2.C: parlistize decDepth(), by merging it with incDepth()
7977 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7979 * lyxrow.h: store a ParagraphList::iterator instead of a
7980 Paragraph* and adjust other class functions to suit.
7982 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7985 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7987 * text2.C (setCursor): do not anchor to cursor row for the time being
7989 2003-04-02 John Levon <levon@movementarian.org>
7996 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7998 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8000 * paragraph.h: make ParagraphList and ParagraphList::iterator
8001 friends of Paragraph.
8003 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8005 * ParagraphList.C: Use the private next_ and previous_ from
8008 2003-04-01 John Levon <levon@movementarian.org>
8012 * Makefile.am: rename, remove defaults gunk
8015 * MenuBackend.C: remove defaults gunk
8018 * Languages.C: remove defaults gunk
8021 * lyx_main.C: error out if files couldn't be found.
8023 2003-04-02 John Levon <levon@movementarian.org>
8025 * text2.C: make incDepth() use parlist
8027 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8029 * undo_funcs.C (firstUndoParagraph): adjust
8031 * text3.C (gotoInset): adjust
8032 (dispatch): adjust, and rewrite loop.
8034 * text2.C (init): adjust, and rewrite loop.
8035 (redoParagraphs): adjust
8036 (updateInset): adjust, and rewrite loop.
8037 (deleteEmptyParagraphMechanism): adjust
8039 * tabular.C (LyXTabular): adjust
8040 (SetMultiColumn): adjust
8043 * lyxtext.[Ch] (ownerParagraph): delete function
8044 (ownerParagraphs): new function returns a ParagraphList.
8046 * BufferView.C (removeAutoInsets): adjust
8047 (insertErrors): adjust
8048 (setCursorFromRow): adjust
8050 2003-04-01 Angus Leeming <leeming@lyx.org>
8052 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8055 2003-04-02 John Levon <levon@movementarian.org>
8061 * text_funcs.C: make transposeChars a free function
8063 * lyxrow_funcs.C: remove wrong comment
8065 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8068 * rowpainter.C: adjust
8073 * lyxrow_funcs. [Ch]: new files
8075 * lyxrow.[Ch]: remove next and previous pointers
8076 (next,previous): remove accessor functions
8077 (isParEnd): move to lyxrow_funcs
8078 (lastPos): move to lyxrow_funcs
8079 (nextRowIsAllInset): move to lyxrow_funcs
8080 (lastPrintablePos): move to lyxrow_funcs
8081 (numberOfSeparators): move to lyxrow_funcs
8082 (numberOfHfills): move to lyxrow_funcs
8083 (numberOfLabelHfills): move to lyxrow_funcs
8084 (hfillExpansion): move to lyxrow_funcs
8088 * bufferview_funcs.C (toggleAndShow): adjust
8090 * RowList.h: Remove class RowList from file leave just a
8093 * RowList.C: delete file
8095 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8098 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8100 * text3.C (cursorPrevious): adjust
8101 (cursorNext): adjust
8104 * text2.C (redoHeightOfParagraph): adjust
8105 (redoDrawingOfParagraph): adjust
8108 * text.C (breakParagraph): adjust
8109 (insertChar): adjust
8112 * rowpainter.C (RowPainter): adjust
8113 (leftMargin): simplify and adjust
8114 (most rowpainter functions): adjust.
8116 * rowpainter.h: store the row as RowList::iterator not as Row*
8118 * lyxcursor.C (row): taka RowList::iterator as arg
8121 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8124 2003-04-01 Angus Leeming <leeming@lyx.org>
8126 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8127 stuff like bool Bool.
8129 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8131 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8134 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8136 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8139 * lyxtext.h (rows): drop one version and leve a const variant that
8140 returns a RowList::iterator.
8142 2003-03-31 Angus Leeming <leeming@lyx.org>
8144 * text.C (fill): ensure that the signature is the same as that in the
8147 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8149 * text2.C (redoParagraphs): adjust
8150 (updateCounters): adjust
8151 (checkParagraph): adjust
8152 (getColumnNearX): adjust and reformat a bit.
8154 * text.C (top_y): adjust
8156 (leftMargin): adjust
8157 (prepareToPrint): adjust
8159 (getRowNearY): adjust
8161 * lyxtext.h: make rowlist_ mutable.
8163 * RowList.h: add const_iterator
8164 * RowList.C: adjust for RowList::const_iterator.
8166 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8169 2003-03-31 John Levon <levon@movementarian.org>
8172 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8174 * lyx_main.C: set default fonts from using lyx_gui funcs
8176 * exporter.C: pdf_mode moved from lyxrc
8179 * lyxfunc.C: changes from above
8181 2003-03-31 John Levon <levon@movementarian.org>
8183 * lyx_main.C: fix to the last fix
8185 2003-03-31 John Levon <levon@movementarian.org>
8187 * bufferlist.C: "Load original" -> "Load Original"
8193 * format.C: more Alert cleanups
8195 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8197 * text2.C (removeParagraph): make it take a RowList::iterator as
8199 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8200 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8202 * text.C (anchor_row): make it take a RowList::iterator as arg,
8204 (computeBidiTables): make it take a const reference to Row instead
8205 of Row pointer, adjust.
8206 (leftMargin): make it take a RowList::iterator as arg, adjust.
8207 (rowBreakPoint): adjust
8208 (breakAgainOneRow): make it take a RowList::iterator as arg,
8210 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8212 * bufferview_funcs.C (toggleAndShow): adjust
8214 2003-03-30 John Levon <levon@movementarian.org>
8218 * boost-inst.C: moved to support
8220 * several files: changes as a result
8222 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8224 * text2.C (LyXText): adjust.
8226 (removeRow): make it take a RowList::iterator as arg, adjust.
8227 (fullRebreak): adjust
8228 (deleteEmptyParagraphMechanism): adjust
8229 (clearPaint): adjust
8232 * text.C (top_y): adjust
8233 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8234 (breakAgain): make it take a RowList::iterator as arg, adjust.
8235 (breakParagraph): adjust
8236 (insertChar): adjust
8239 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8240 need_break_row, and refresh_row.
8242 * text3.C (dispatch): adjust
8244 * text2.C (checkParagraph): adjust
8246 (setCursorFromCoordinates): adjust
8248 * text.C (top_y): adjust
8250 (getRow): make it return a RowList::iterator, adjust
8251 (getRowNearY): make it return a RowList::iterator, adjust
8253 * text2.C (init): adjust
8254 (insertRow): remove function
8255 (insertParagraph): adjust
8256 (redoParagraphs): adjust
8257 (fullRebreak): adjust
8258 (updateCounters): adjust
8260 * text.C (top_y): rewrite to use RowList iterators.
8262 (setHeightOfRow): rewrite to sue RowList iterators.
8263 (appendParagraph): adjust
8264 (breakAgain): adjust
8265 (breakAgainOneRow): adjust
8266 (breakParagraph): adjust
8268 (getRowNearY): adjust, and remove commented code.
8270 * lyxtext.h (firstRow): delete function
8271 (lastRow): delete function
8272 (rows): new function (const and non-const versions.)
8273 (insertRow): delete function
8275 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8277 2003-03-29 John Levon <levon@movementarian.org>
8279 * BufferView_pimpl.C: always update scrollbar top
8280 because pasting text when we're anchored could mean we
8281 miss an update altogether
8283 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8285 * text2.C (init): use rowlist_.end() and not 0.
8286 (insertRow): change to take a RowList::iterator as arg, adjust
8288 (insertParagraph): change to take a RowList::iterator as arg,
8290 (redoParagraphs): remove some debug msgs.
8292 * text.C (appendParagraph): change to take a RowList::iterator
8293 arg, adjust for this.
8294 (breakAgain): add an assert
8295 (breakAgainOneRow): ditto
8297 2003-03-29 John Levon <levon@movementarian.org>
8299 * text2.C: do not clear selection after inc/decDepth
8302 2003-03-29 John Levon <levon@movementarian.org>
8305 * buffer.C: fix broken strerrors according to Lars
8307 2003-03-29 John Levon <levon@movementarian.org>
8309 * converters.C: more Alert cleanups
8311 2003-03-29 John Levon <levon@movementarian.org>
8313 * bufferview_funcs.C: remove pointless Alert
8315 * buffer.C: fix confusing error message when
8316 a template is chmoded 000
8318 2003-03-29 John Levon <levon@movementarian.org>
8322 * BufferView_pimpl.C: Alert fixes
8326 * tabular-old.C: remove unused table compat reading
8328 2003-03-29 John Levon <levon@movementarian.org>
8333 * lyx_cb.C: more Alert cleanups
8335 * lyxfunc.C: don't allow chktex if not latex document
8337 2003-03-29 John Levon <levon@movementarian.org>
8341 * buffer.C: warnings pushed down from support/,
8344 2003-03-29 John Levon <levon@movementarian.org>
8346 * lyxfunc.C: safety check for C-r (revert)
8348 2003-03-29 John Levon <levon@movementarian.org>
8351 * bufferlist.C: several UI fixes using Alert::prompt.
8352 Fix the pointless looping quit code. Fix stupid revert
8357 * lyx_cb.C: use Alert::prompt
8359 * lyx_main.C: remove a silly question
8361 * lyxfunc.C: remove a couple of silly questions,
8364 2003-03-28 John Levon <levon@movementarian.org>
8366 * text2.C: fix bug 974 (End on empty par)
8368 2003-03-28 John Levon <levon@movementarian.org>
8370 * BufferView_pimpl.C:
8372 * lfuns.h: remove do-nothing math greek lfuns
8374 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8376 * lyxgluelength.h (isValidGlueLength): add default arg on
8377 parameter 2. Remove default arg from friend in class.
8379 * lyxlength.h (isValidLength): add default arg on parameter 2.
8380 Remove default arg from friend in class.
8382 * text2.C (LyXText): adjust, initialize refresh_row.
8386 (insertParagraph): adjst
8387 (redoParagraphs): adjust
8388 (fullRebreak): adjust
8389 (updateCounters): adjust
8390 (deleteEmptyParagraphMechanism): first attempt at fixing a
8393 * text.C (top_y): adjust
8394 (setHeightOfRow): adjust
8396 (getRowNearY): adjust
8398 * lyxtext.h: include RowList.h
8399 (~LyXText): not needed anymore, deleted.
8400 (firstRow): modify for RowList
8401 (lastRow): new function
8402 Delete firstrow and lastrow class variables, add a Rowlist
8403 rowlist_ class variable.
8405 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8408 * RowList.C (insert): fix case where it == begin().
8410 2003-03-26 Angus Leeming <leeming@lyx.org>
8412 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8413 the thesaurus dialog.
8415 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8417 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8419 * RowList.[Ch]: new files
8421 * ParagraphList.C (erase): handle the case where it == begin
8424 2003-03-25 John Levon <levon@movementarian.org>
8428 * aspell.C: add new aspell support
8431 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8434 2003-03-25 Angus Leeming <leeming@lyx.org>
8437 * LyXAction.C (init): new LFUN_INSET_INSERT.
8439 * BufferView_pimpl.C (dispatch): split out part of the
8440 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8442 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8445 2003-03-25 Angus Leeming <leeming@lyx.org>
8447 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8449 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8452 * text3.C: remove useless row->height(0)
8454 2003-03-25 John Levon <levon@movementarian.org>
8458 * text3.C: rename the refreshing stuff to better names
8460 2003-03-24 John Levon <levon@movementarian.org>
8462 * BufferView_pimpl.h:
8463 * BufferView_pimpl.C: update layout choice on a mouse
8466 2003-03-23 John Levon <levon@movementarian.org>
8468 * Makefile.am: fix commandtags.h reference
8470 2003-03-22 John Levon <levon@movementarian.org>
8472 * BufferView_pimpl.C:
8477 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8479 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8482 * text.C: take the rtl methods out of line
8484 2003-03-21 André Pönitz <poenitz@gmx.net>
8486 * metricsinfo.[Ch]: new files containing structures to be passed around
8487 during the two-phase-drawing...
8489 2003-03-21 André Pönitz <poenitz@gmx.net>
8491 * lyxtextclass.C: read 'environment' tag.
8493 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8495 * text2.C (removeRow): fix bug 964
8497 2003-03-20 John Levon <levon@movementarian.org>
8501 * text2.C: paint cleanups. Inset::update() dropped font
8504 2003-03-19 John Levon <levon@movementarian.org>
8506 * lyxfunc.C: only fitcursor/markDirty if available()
8508 2003-03-19 John Levon <levon@movementarian.org>
8510 * commandtags.h: rename to ...
8512 * lfuns.h: ... this, and renumber / cleanup
8514 2003-03-19 John Levon <levon@movementarian.org>
8516 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8517 fit the cursor after an lfun
8521 * BufferView_pimpl.h:
8522 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8524 * LyXAction.C: layout-character should have ReadOnly
8526 * ParagraphParameters.C:
8528 * bufferview_funcs.C:
8535 * undo_funcs.C: changes from above
8537 2003-03-18 John Levon <levon@movementarian.org>
8539 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8540 remove it from update()
8542 * lyxfunc.C: update layout choice after an lfun
8544 * text3.C: remove extra updateLayoutChoice()s
8546 2003-03-18 John Levon <levon@movementarian.org>
8548 * text.C: top_y change means full repaint, fix
8549 a drawing bug with cursor movement
8551 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8555 * text2.C: anchor row on setCursor
8557 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8559 * lyxtext.h: remove almost all mutable keywords
8562 * text3.C: remove const keywords accordingly
8564 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8566 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8568 (TeXEnvironment): ditto
8571 2003-03-17 John Levon <levon@movementarian.org>
8573 * text.C (rowBreakPoint): remove attempt to fix displayed
8574 math insets inside a manual label
8576 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8578 * lyxtext.h: remove BufferView* as first arg from almost all class
8580 * other files: adjust.
8582 2003-03-17 John Levon <levon@movementarian.org>
8586 * text2.C: more paint cleanups
8588 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8591 * rowpainter.C: remove "smart" background painting code
8593 2003-03-16 John Levon <levon@movementarian.org>
8598 * text3.C: add helper functions for setting refresh_row/y
8600 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8602 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8603 newline inset which *can* get inserted in the pass_thru layouts.
8604 This is primarily for literate documents.
8606 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8608 * buffer.C: increment LYX_FORMAT to 223
8610 2003-03-14 André Pönitz <poenitz@gmx.net>
8612 * textclass.h: prepare for environment handling, ws changes
8613 * lyxlayout.C: read latexheader and latexfooter tags
8615 2003-03-14 John Levon <levon@movementarian.org>
8617 * text2.C: rewrite ::status() a bit
8619 2003-03-13 John Levon <levon@movementarian.org>
8621 * lyxtext.h: add some docs
8623 2003-03-13 John Levon <levon@movementarian.org>
8628 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8630 2003-03-13 John Levon <levon@movementarian.org>
8632 * text3.C: fix appendix redrawing
8634 2003-03-13 John Levon <levon@movementarian.org>
8636 * text.C (setHeightOfRow):
8638 * rowpainter.C: make appendix mark have the text
8639 "Appendix" so the user knows what it is
8642 * LColor.C: s/appendixline/appendix/ from above
8644 2003-03-13 John Levon <levon@movementarian.org>
8646 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8648 * text.C: fix a getChar(pos) bug properly
8650 2003-03-13 Angus Leeming <leeming@lyx.org>
8653 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8654 Probably only temporary. Let's see how things pan out.
8656 * BufferView.C (unlockInset):
8657 * BufferView_pimpl.C (fitCursor):
8658 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8660 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8661 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8663 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8664 new functions that convert ParagraphParameters to and from a string.
8666 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8667 BufferView::Pimpl's dispatch.
8668 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8670 2003-03-13 André Pönitz <poenitz@gmx.net>
8674 * factory.C: make it aware of InsetEnv
8676 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8678 * text2.C (setCursor): never ask for one past last
8679 (setCursor): add some debugging messages.
8681 * text.C (singleWidth): never ask for one past last
8682 (singleWidth): ditto
8684 (rightMargin): ditto
8685 (rowBreakPoint): ditto
8686 (setHeightOfRow): ditto
8687 (prepareToPrint): ditto
8689 * rowpainter.C (paintBackground): never ask for one past last
8690 (paintText): never ask for one past last
8692 * paragraph_pimpl.C (getChar): make the assert stricter, never
8693 allow the one past last pos to be taken
8695 * paragraph.C (getChar): ws changes only
8697 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8698 (numberOfSeparators): ditto
8699 (numberOfHfills): ditto
8701 2003-03-12 John Levon <levon@movementarian.org>
8707 * paragraph_funcs.C: fix per-buffer authorlists
8709 2003-03-12 John Levon <levon@movementarian.org>
8711 * text.C: fix newline in right address
8713 2003-03-12 Angus Leeming <leeming@lyx.org>
8715 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8716 duplicate those in LyXFunc::dispatch.
8720 * ToolbarDefaults.C:
8721 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8722 Add LFUN_FONTFREE_UPDATE.
8724 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8725 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8727 * bufferview_func.[Ch]: several new functions to facilliate
8728 transfer of data to and from the character dialog.
8730 2003-03-12 John Levon <levon@movementarian.org>
8735 * paragraph_funcs.C:
8736 * paragraph_pimpl.C:
8740 * text3.C: remove META_NEWLINE in favour of an inset
8743 * rowpainter.C: remove paintNewline (done by inset)
8745 2003-03-12 John Levon <levon@movementarian.org>
8747 * paragraph_pimpl.C: complain about bad getChar()s
8748 for a while at least
8750 2003-03-12 John Levon <levon@movementarian.org>
8753 * buffer.C: move paragraph read into a separate function,
8754 a little renaming to reflect that.
8757 * bufferparams.C: remove the author_ids map, not necessary now
8760 * factory.C: moved Buffer::readInset to here
8762 * paragraph_funcs.h:
8763 * paragraph_funcs.C: readParagraph free function moved from
8766 * tabular.C: name change
8768 2003-03-12 John Levon <levon@movementarian.org>
8771 * ParagraphParameters.C: move par params input to
8774 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8775 behave like a normal read from the stream wrt reading
8776 a line vs. a \\token
8778 2003-03-12 John Levon <levon@movementarian.org>
8781 * ParagraphParameters.h:
8782 * ParagraphParameters.C: move output code to a
8785 2003-03-12 John Levon <levon@movementarian.org>
8787 * BufferView.C (insertLyXFile):
8790 * tabular.C: use a parlist iterator for creating the
8793 2003-03-12 John Levon <levon@movementarian.org>
8795 * buffer.C: make current_change static local not
8798 2003-03-12 John Levon <levon@movementarian.org>
8800 * buffer.C: fix insertStringAsLines for change tracking
8802 2003-03-12 John Levon <levon@movementarian.org>
8809 * bufferparams.C: move author list into params. Rename some
8810 functions. Move the header reading into a separate token
8811 loop. Move the header token reading into BufferParams.
8813 2003-03-12 John Levon <levon@movementarian.org>
8815 * changes.C: put debug inside lyxerr.debugging() checks
8817 2003-03-11 André Pönitz <poenitz@gmx.net>
8819 * factory.C: make it aware of InsetHFill
8821 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8823 * buffer.C (latexParagraphs): move function from here...
8824 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8827 2003-03-10 Angus Leeming <leeming@lyx.org>
8829 * LyXAction.C (init): fix bug in poplating array with multiple entries
8830 with the same LFUN (spotted by JMarc).
8832 2003-03-10 John Levon <levon@movementarian.org>
8835 * text2.C: move getColumnNearX() near its
8838 2003-03-10 John Levon <levon@movementarian.org>
8840 * text.C: fix break before a minipage
8842 2003-03-10 John Levon <levon@movementarian.org>
8844 * text.C: fix the last commit
8846 2003-03-09 John Levon <levon@movementarian.org>
8850 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8851 bug 365 (don't break before insets unless needed). Don't
8852 return a value > last under any circumstances.
8854 2003-03-09 Angus Leeming <leeming@lyx.org>
8856 * BufferView_pimpl.C (trackChanges, dispatch): call
8857 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8859 2003-03-09 Angus Leeming <leeming@lyx.org>
8861 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8862 than Dialogs::showAboutlyx().
8864 2003-03-09 Angus Leeming <leeming@lyx.org>
8866 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8867 than Dialogs::showTabularCreate().
8869 2003-03-09 John Levon <levon@movementarian.org>
8873 * text2.C: 3rd arg to nextBreakPoint was always the same.
8876 2003-03-08 John Levon <levon@movementarian.org>
8883 * text2.C: Remove the "main" bit from the "main body"
8886 2003-03-08 John Levon <levon@movementarian.org>
8888 * text.C (leftMargin): The left margin of an empty
8889 manual label paragraph should not include the label width
8892 * text.C (prepareToPrint): don't attempt to measure hfills
8893 for empty manual label paragraphs - the answer should be 0
8895 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8897 * CutAndPaste.C: remove commented code and reindent.
8899 2003-03-08 John Levon <levon@movementarian.org>
8902 * lyxfunc.C: move reloadBuffer()
8905 * BufferView.C: to here
8907 * lyxvc.C: add comment
8910 * vc-backend.C: call bv->reload() to avoid
8911 getStatus() check on MENURELOAD
8913 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8915 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8916 to an old format .dep file.
8918 2003-03-07 Angus Leeming <leeming@lyx.org>
8920 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8921 when the LFUN_MOUSE_RELEASE should have been handled by
8922 inset->localDispatch.
8924 2003-03-07 Angus Leeming <leeming@lyx.org>
8926 * BufferView_pimpl.C (dispatch):
8927 * LyXAction.C (init):
8928 * ToolbarDefaults.C (init):
8930 * lyxfunc.C (getStatus):
8931 remove LFUN_INSET_GRAPHICS.
8933 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8935 2003-03-07 Angus Leeming <leeming@lyx.org>
8938 * LyXAction.C (init):
8939 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8941 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8944 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8946 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8947 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8949 2003-03-07 Angus Leeming <leeming@lyx.org>
8951 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8954 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8956 * ParagraphList.C (front): new function
8959 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8961 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8962 and top_row_offset_. removed var first_y.
8964 * text2.C (LyXText, removeRow):
8966 * BufferView_pimpl.C:
8967 use these methods instead of using first_y
8969 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8971 * text2.C (pasteSelection): adjust for checkPastePossible
8973 * CutAndPaste.C: remove Paragraph * buf and replace with
8974 ParagraphList paragraphs.
8975 (DeleteBuffer): delete
8976 (cutSelection): change the tc type to textclass_type
8977 (copySelection): change the tc type to textclass_type
8978 (copySelection): adjust for ParagraphList
8979 (pasteSelection): change the tc type to textclass_type
8980 (pasteSelection): adjust for Paragraphlist
8981 (nrOfParagraphs): simplify for ParagraphList
8982 (checkPastePossible): simplify for ParagraphList
8983 (checkPastePossible): remove unused arg
8985 * ParagraphList.C (insert): handle the case where there are no
8988 * CutAndPaste.h: make CutAndPaste a namespace.
8990 * text3.C (dispatch): adjust
8992 * text.C (breakParagraph): add a ParagraphList as arg
8994 * paragraph_funcs.C (breakParagraph): change to take a
8995 BufferParams and a ParagraphList as args.
8996 (breakParagraphConservative): ditto
8997 (mergeParagraph): ditto
8998 (TeXDeeper): add a ParagraphList arg
8999 (TeXEnvironment): ditto
9002 * buffer.C (readLyXformat2): adjust
9003 (insertStringAsLines): adjust
9004 (latexParagraphs): adjust
9006 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9007 (cutSelection): adjust
9008 (pasteSelection): adjust
9010 * BufferView_pimpl.C (insertInset): adjust
9012 2003-03-05 Angus Leeming <leeming@lyx.org>
9015 * LyXAction.C (init):
9016 * BufferView_pimpl.C (dispatch):
9017 * lyxfunc.C (getStatus):
9018 remove LFUN_CHILD_INSERT.
9020 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9022 2003-03-05 Angus Leeming <leeming@lyx.org>
9025 * LyXAction.C (init):
9026 * src/factory.C (createInset):
9027 * lyxfunc.C (getStatus):
9028 * text3.C (dispatch):
9029 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9031 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9033 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9035 * ParagraphList.C (insert): handle insert right before end()
9036 (erase): fix cases where it can be first or last paragraph.
9038 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9040 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9041 Paragraph::next and Paragraph::previous
9044 * text.C (breakParagraph): adjust
9046 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9047 BufferParams& as arg.
9048 (breakParagraph): use ParagraphList::insert
9049 (breakParagraphConservative): take a Buffer* instead of a
9050 BufferParams& as arg.
9051 (breakParagraphConservative): use ParagraphList::insert.
9053 * buffer.C (insertStringAsLines): un-const it
9054 (insertStringAsLines): adjust
9056 * ParagraphList.C (insert): new function
9058 * CutAndPaste.C (pasteSelection): adjust
9060 * text.C (backspace): adjust
9062 * tabular.C (SetMultiColumn): adjust
9064 * CutAndPaste.C (cutSelection): adjust
9065 (pasteSelection): adjust
9067 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9068 Buffer const * as arg
9070 * ParagraphList.C (erase): new function
9071 * paragraph_funcs.C (mergeParagraph): use it
9072 (mergeParagraph): make it take a Buffer* instead of a
9073 BufferParams* as arg
9075 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9077 (breakParagraphConservative): ditto
9079 * paragraph.h: remove the breakParagraph friend
9081 * paragraph.C (eraseIntern): new function
9082 (setChange): new function
9084 * paragraph_funcs.C (mergeParagraph): make it take a
9085 ParagraphList::iterator instead of a Paragraph *, adjust
9088 * paragraph.h: move an #endif so that the change tracking stuff
9089 also works in the NO_NEXT case.
9091 2003-03-04 Angus Leeming <leeming@lyx.org>
9094 * LyXAction.C: new LFUN_INSET_MODIFY.
9096 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9097 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9099 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9101 * several files: ws changes only
9103 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9104 (TeXEnvironment): ditto
9107 * buffer.C (makeLaTeXFile): adjust
9108 (latexParagraphs): make it take ParagraphList::iterator as args
9110 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9112 * buffer.C (latexParagraphs): adjust
9114 * paragraph.C (TeXOnePar): move function...
9115 (optArgInset): move function...
9116 (TeXEnvironment): move function...
9117 * paragraph_pimpl.C (TeXDeeper): move function...
9118 * paragraph_funcs.C: ...here
9120 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9122 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9124 * buffer.C (readInset): remove compability code for old Figure and
9127 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9129 * buffer.C: ws changes
9132 * BufferView_pimpl.C: ditto
9135 * bufferlist.h: ditto
9139 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9141 * converter.[Ch]: split into itself +
9144 * Makefile.am: += graph.[Ch] + format.[Ch]
9151 * lyxrc.C: added #include "format.h"
9153 2003-02-27 Angus Leeming <leeming@lyx.org>
9155 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9158 * factory.C (createInset): add "label" to the factory.
9160 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9161 string and do no more.
9163 2003-02-27 Angus Leeming <leeming@lyx.org>
9166 * LyXAction.C (init):
9167 * factory.C (createInset):
9168 * BufferView_pimpl.C (dispatch):
9169 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9171 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9173 * lyxfunc.C (dispatch):
9174 * text3.C (dispatch): pass name to params2string.
9176 2003-02-26 Angus Leeming <leeming@lyx.org>
9178 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9180 Rearrange the ~includes. Strip out the unnecessary ones.
9182 * factory.C (createInset): reformat.
9183 create new insets for the various LFUN_XYZ_APPLY lfuns.
9185 2003-02-26 John Levon <levon@movementarian.org>
9188 * lyxrow.C: add isParStart,isParEnd helpers
9190 * paragraph.h: make isInserted/DeletedText take refs
9192 * paragraph_funcs.h:
9193 * paragraph_funcs.C: remove #if 0'd code
9198 * text.C: use lyxrow helpers above.
9199 Move draw and paint routines to RowPainter.
9200 Make several methods use refs not pointers.
9201 Make backgroundColor() const.
9202 Add markChangeInDraw(), isInInset().
9203 Merge changeRegionCase into changeCase.
9204 Make workWidth() shouldn't-happen code into an Assert.
9207 * rowpainter.C: new class for painting a row.
9210 * vspace.C: make inPixels take a ref
9212 2003-02-26 Angus Leeming <leeming@lyx.org>
9214 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9217 2003-02-25 John Levon <levon@movementarian.org>
9219 * ispell.C: give the forked command a more accurate name
9221 2003-02-22 John Levon <levon@movementarian.org>
9224 * toc.C: make TocItem store an id not a Paragraph *
9227 2003-02-21 Angus Leeming <leeming@lyx.org>
9229 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9230 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9231 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9232 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9233 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9234 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9236 * BufferView_pimpl.C (dispatch):
9237 * LyXAction.C (init):
9238 * factory.C (createInset):
9239 * lyxfunc.C (getStatus, dispatch):
9240 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9242 2003-02-21 Angus Leeming <leeming@lyx.org>
9244 * BufferView_pimpl.C (MenuInsertLyXFile):
9245 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9246 * lyxfunc.C (menuNew, open, doImport):
9247 no longer pass a LyXView & to fileDlg.
9249 2003-02-21 Angus Leeming <leeming@lyx.org>
9251 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9252 * LyXAction.C: change, BIBKEY to BIBITEM.
9253 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9254 Change InsetBibKey to InsetBibitem.
9255 Change BIBKEY_CODE to BIBITEM_CODE.
9256 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9257 * factory.C: replace insetbib.h with insetbibitem.h.
9258 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9259 * paragraph.C: replace insetbib.h with insetbibitem.h.
9260 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9261 Change bibkey() to bibitem().
9262 * text.C: remove insetbib.h.
9263 * text2.C: replace insetbib.h with insetbibitem.h.
9264 change bibkey() to bibitem().
9265 * text3.C: remove insetbib.h.
9266 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9268 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9270 * lyxrc.C (output): enclose user email in quotes (in case there are
9273 2003-02-18 John Levon <levon@movementarian.org>
9275 * buffer.h: add std::
9277 2003-02-17 John Levon <levon@movementarian.org>
9283 * pspell.C: reworking. Especially in ispell, a large
9284 number of clean ups and bug fixes.
9286 * lyxfunc.C: fix revert to behave sensibly
9288 2003-02-17 André Pönitz <poenitz@gmx.net>
9291 * commandtags.h: new LFUN_INSERT_BIBKEY
9301 * paragraph_func.C: remove special bibkey handling
9303 2003-02-17 John Levon <levon@movementarian.org>
9305 * text.C (Delete): fix case where delete at the end of
9306 the very first paragraph would not merge the pars
9308 2003-02-17 John Levon <levon@movementarian.org>
9310 * lyxrow.C: fix lastPrintablePos()
9312 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9314 * bufferparams.C (writeLaTeX): add a std:here
9316 * buffer.C: and remove a using directive there
9318 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9320 * buffer.C (makeLaTeXFile): move the code that generates the
9323 * bufferparams.C (writeLaTeX): ... in this new method
9325 * LaTeXFeatures.C (getEncodingSet): make const
9326 (getLanguages): make const
9328 * MenuBackend.C (binding): returns the binding associated to this
9330 (add): sets the status of each item by calling getStatus. Adds
9332 (read): add support for OptSubMenu
9333 (expand): remove extra separator at the end of expanded menu
9335 2003-02-15 John Levon <levon@movementarian.org>
9338 * BufferView_pimpl.C:
9340 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9341 inset code that had no actual effect. Remove unneeded status
9344 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9346 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9349 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9351 * text.C (drawLengthMarker): also draw an arrow marker for
9352 symbolic lengths (medskip...)
9354 2003-02-14 John Levon <levon@movementarian.org>
9357 * tabular.C: better method names
9359 2003-02-14 John Levon <levon@movementarian.org>
9361 * BufferView_pimpl.C:
9366 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9367 it's a more accurate name. Remove some pointless uses.
9369 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9371 * text2.C (LyXText): change order of initilizers to shut off
9374 2003-02-14 John Levon <levon@movementarian.org>
9376 * buffer.C: use ParIterator for getParFromID()
9380 * paragraph_pimpl.h:
9381 * paragraph_pimpl.C: remove unused getParFromID()
9383 2003-02-14 John Levon <levon@movementarian.org>
9385 * buffer.C: remove some very old #if 0'd parse code
9387 2003-02-13 John Levon <levon@movementarian.org>
9391 * text2.C: move hfillExpansion(), numberOfSeparators(),
9392 rowLast(), rowLastPrintable(), numberofHfills(),
9393 numberOfLabelHfills() ...
9396 * lyxrow.C: ... to member functions here.
9401 * text.C: remove LyXText::beginningOfMainBody(), and call
9402 p->beginningOfMainBody() directly. Move the check for
9403 LABEL_MANUAL into the latter.
9410 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9416 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9417 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9419 2003-02-13 John Levon <levon@movementarian.org>
9421 * CutAndPaste.C: remove debug
9423 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9425 * paragraph.C (asString): remove two unused variables
9427 * lyxtextclass.C (readTitleType):
9429 (LyXTextClass): handle new members titletype_ and titlename_
9431 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9433 2003-02-09 John Levon <levon@movementarian.org>
9436 * buffer.C: replace hand-coded list with a map for the dep clean
9438 2003-02-08 John Levon <levon@movementarian.org>
9440 * LaTeX.C: consolidate code into showRunMessage() helper
9442 2003-02-08 John Levon <levon@movementarian.org>
9447 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9448 and pass the size in explicitly
9450 * BufferView_pimpl.h:
9451 * BufferView_pimpl.C:
9453 * BufferView.C: add getCurrentChange()
9455 * BufferView_pimpl.h:
9456 * BufferView_pimpl.C: handle change lfuns
9458 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9459 for changes. Mark pasted paragraphs as new.
9461 * support/lyxtime.h:
9462 * support/lyxtime.C:
9463 * DepTable.C: abstract time_t as lyx::time_type
9466 * LColor.C: add colours for new text, deleted text, changebars
9468 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9469 package use "usenames" option.
9473 * LyXAction.C: add change lfuns
9477 * author.C: author handling
9480 * buffer.C: add a per-buffer author list, with first entry as
9481 current author. Handle new .lyx tokens for change tracking. Output
9482 author list to .lyx file. Output dvipost stuff to .tex preamble.
9483 Bump lyx format to 222.
9486 * bufferlist.C: add setCurrentAuthor() to reset current author details
9490 * bufferparams.C: add param for tracking
9492 * bufferview_funcs.C: output change info in minibuffer
9496 * changes.C: add change-tracking structure
9499 * debug.C: add CHANGES debug flag
9502 * lyxfind.C: add code for finding the next change piece
9505 * lyxrc.C: add user_name and user_email
9508 * lyxrow.C: add a metric for the top of the text line
9511 * text.C: implement accept/rejectChange()
9514 * text.C: paint changebars. Paint new/deleted text in the chosen
9515 colours. Strike through deleted text.
9519 * paragraph_pimpl.h:
9520 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9521 in the current change to the insert functions. Rework erase to
9522 mark text as deleted, adding an eraseIntern() and a range-based
9523 erase(). Implement per-paragraph change lookup and
9526 * paragraph_funcs.C: Fixup paste for change tracking.
9528 * tabular.C: mark added row/columns as new.
9530 * text.C: fix rowLast() to never return -1. Don't allow
9531 spellchecking of deleted text. Track transpose changes. Don't
9532 allow paragraph break or merge where appropriate.
9534 * text2.C: leave cursor at end of selection after a cut.
9536 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9538 * text.C (getLengthMarkerHeight):
9539 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9540 visible on screen too.
9542 2003-02-07 John Levon <levon@movementarian.org>
9544 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9546 2003-02-05 Angus Leeming <leeming@lyx.org>
9548 * lyxserver.C (read_ready): revert my patch of 11 September last year
9549 as it sends PC cpu through the roof. Presumably this means that
9550 the lyxserver will no longer run on an Alpha...
9552 2003-01-30 Angus Leeming <leeming@lyx.org>
9554 * factory.C (createInset): create an InsetCommandParam of type "index"
9555 and use it to 'do the right thing'.
9557 * text2.C (getStringToIndex): ensure that cursor position is always
9558 reset to the reset_cursor position.
9560 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9562 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9565 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9569 * lyxfunc.C: Output messages with identical spelling, punctuation,
9572 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9574 * MenuBackend.C (expandFormats): List only viewable export formats
9577 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9580 * lyxfunc.C (getStatus): Make sure that formats other than
9581 "fax" can also be disabled
9583 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9585 * text3.C (dispatch): put the lfuns that insert insets in 3
9586 groups, and call doInsertInset with appropriate arguments.
9587 (doInsertInset): new function, that creates an inset and inserts
9588 it according to some boolean parameters.
9590 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9592 * buffer.C (readFile): remember to pass on 'par' when calling
9593 readFile recursively.
9595 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9597 * MenuBackend.C (expandFormats): add "..." to import formats.
9599 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9601 * paragraph.C (asString): Remove XForms RTL hacks.
9603 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9604 * buffer.C: fix typo
9606 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9608 * Makefile.am (LIBS): delete var
9609 (lyx_LDADD): add @LIBS@ here instead.
9611 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9613 * Clarify the meaning of "wheel mouse jump"
9615 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9617 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9620 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9622 * importer.C (Loaders): do not preallocate 3 elements in the
9623 vector, since one ends up with 6 elements otherwise
9625 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9627 * DepTable.C (write): write the file name as last element of the
9628 .dep file (because it may contain spaces)
9629 (read): read info in the right order
9631 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9633 * paragraph_pimpl.C (simpleTeXBlanks):
9634 (simpleTeXSpecialChars):
9635 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9637 * tabular.C (latex): add some missing case statements. Reindent.
9639 * MenuBackend.C (expandToc): remove unused variable.
9641 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9650 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9653 2003-01-05 John Levon <levon@movementarian.org>
9656 * BufferView.C: add getEncoding()
9659 * kbsequence.C: do not store last keypress
9662 * lyxfunc.C: store last keypress here instead. Pass encoding
9665 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9667 * lyx_main.C (init): remove annoying error message when following
9668 symbolic links (bug #780)
9670 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9672 * text.C (insertChar):
9673 * lyxrc.C (getDescription): remove extra spaces
9675 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9677 * lyxrc.C (getDescription): remove extra spaces
9679 2002-12-20 John Levon <levon@movementarian.org>
9681 * text3.C: hack fix for page up/down across tall rows
9683 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9685 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9688 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9690 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9691 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9692 thesaurus is not compiled in
9694 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9696 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9698 2002-12-16 Angus Leeming <leeming@lyx.org>
9701 * lyx_main.C (init): remove override_x_deadkeys stuff.
9703 2002-12-12 John Levon <levon@movementarian.org>
9705 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9706 insert. Only remove shift modifier under strict
9709 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9711 * MenuBackend.C (expandToc): fix crash.
9713 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9715 * MenuBackend.C (expandToc): gettext on float names.
9717 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9719 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9720 implement bool empty() [bug 490]
9722 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9724 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9726 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9728 * several files: ws changes
9730 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9732 * text2.C (setCounter): clean up a bit, use boost.format.
9733 (updateCounters): initialize par upon declaration.
9735 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9736 if the layout exists. We do not just store the layout any more.
9737 (SwitchLayoutsBetweenClasses): use boost.format
9739 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9741 * converter.C (convert): if from and to files are the same, use a
9742 temporary files as intermediary
9744 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9747 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9749 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9751 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9753 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9755 * tabular.C (asciiPrintCell): use string(size, char) instead of
9758 * sgml.C (openTag): fix order of arguments to string constructor
9761 * lyxfunc.C (dispatch): use boost.format
9763 * lots of files: change "c" -> 'c'
9765 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9767 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9769 2002-11-25 Angus Leeming <leeming@lyx.org>
9771 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9773 * lyx_main.C (init): compile fix.
9775 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9777 * lyx_cb.C (start): boost.formatify
9778 do not include <iostream>
9780 * lengthcommon.C: ws only
9782 * boost-inst.C,BoostFormat.h: add more explict instantations
9784 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9786 * lots of files: handle USE_BOOST_FORMAT
9788 2002-11-21 John Levon <levon@movementarian.org>
9790 * pspell.C: fix compile
9792 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9794 * lyxfunc.C (dispatch): use boost::format
9798 * lyxfont.C (stateText): use boost::format
9800 * lyx_main.C (LyX): use boost::format
9802 (queryUserLyXDir): ditto
9805 (typedef boost::function): use the recommened syntax.
9807 * importer.C (Import): use boost::format
9809 * debug.C (showLevel): use boost::format
9811 * converter.C (view): use boost::format
9816 * bufferview_funcs.C (currentState): use boost::format
9818 * bufferlist.C (emergencyWrite): use boost::format
9820 * buffer.C (readLyXformat2): use boost::format
9821 (parseSingleLyXformat2Token): ditto
9823 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9825 * LaTeX.C (run): use boost::format
9827 * Chktex.C (scanLogFile): use boost::format
9829 * BufferView_pimpl.C (savePosition): use boost::format
9830 (restorePosition): ditto
9831 (MenuInsertLyXFile): ditto
9833 * BoostFormat.h: help file for explicit instation.
9835 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9837 * tabular.C (latex): Support for block alignment in fixed width
9840 2002-11-17 John Levon <levon@movementarian.org>
9842 * BufferView_pimpl.C:
9844 * lyxfunc.C: split filedialog into open/save
9846 2002-11-08 Juergen Vigna <jug@sad.it>
9848 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9849 by my last patch (hopefully).
9851 2002-11-08 John Levon <levon@movementarian.org>
9860 * toc.C: ParConstIterator, and use it (from Lars)
9862 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9864 * lyxtextclass.[Ch]: revise and add doxygen comments
9866 2002-11-07 John Levon <levon@movementarian.org>
9868 * text.C: fix progress value for spellchecker
9870 * toc.C: fix navigate menu for insetwrap inside minipage
9872 * paragraph_funcs.C: added FIXME for suspect code
9874 2002-11-07 John Levon <levon@movementarian.org>
9876 * BufferView_pimpl.C: fix redrawing of insets
9879 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9881 * text2.C (updateCounters): fix bug 668
9883 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9885 * text3.C (dispatch): Do not make the buffer dirty when moving the
9888 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9890 * vc-backend.C: STRCONV
9893 * text2.C (setCounter): STRCONV
9895 * paragraph.C (asString): STRCONV
9897 * lyxlength.C (asString): STRCONV
9898 (asLatexString): ditto
9900 * lyxgluelength.C (asString): STRCONV
9901 (asLatexString): ditto
9903 * lyxfunc.C (dispatch): STRCONV
9906 * lyxfont.C (stateText): STRCONV
9908 * importer.C (Import): STRCONV
9910 * counters.C (labelItem): STRCONV
9911 (numberLabel): ditto
9912 (numberLabel): remove unused ostringstream o
9917 * bufferview_funcs.C (currentState): STRCONV
9919 * buffer.C (readFile): STRCONV
9920 (asciiParagraph): ditto
9921 (makeLaTeXFile): ditto
9923 * Spacing.C (writeEnvirBegin): STRCONV
9925 * LaTeXFeatures.C (getLanguages): STRCONV
9926 (getPackages): ditto
9928 (getBabelOptions): ditto
9929 (getTClassPreamble): ditto
9930 (getLyXSGMLEntities): ditto
9931 (getIncludedFiles): ditto
9935 (scanAuxFile): ditto
9938 * LString.h: add the STRCONV macros
9940 * BufferView_pimpl.C (savePosition): STRCONV
9941 (restorePosition): ditto
9942 (MenuInsertLyXFile): ditto
9944 * vc-backend.C (scanMaster): change from submatch[...] to
9947 * funcrequest.C: include config.h
9949 * factory.C: include config.h
9951 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9953 * box.C: include config.h
9955 * LaTeX.C (scanAuxFile): change from submatch[...] to
9959 2002-10-25 Angus Leeming <leeming@lyx.org>
9961 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9963 * ispell.[Ch] (setError): new method.
9964 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9965 Use setError() insetead of goto END.
9967 * lyx_cb.C (AutoSave): move out child process into new class
9970 2002-10-30 John Levon <levon@movementarian.org>
9972 * text3.C: make start appendix undoable
9974 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9976 * lyxlength.C (inPixels): Fix returned value.
9978 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9981 2002-10-24 Angus Leeming <leeming@lyx.org>
9983 * lyxgluelength.h: no need to forward declare BufferParams
9984 or BufferView, so don't.
9986 2002-10-21 John Levon <levon@movementarian.org>
9988 * BufferView.C: menuUndo ->undo, redo
9990 * BufferView.h: document, remove dead, make some methods private
9992 * paragraph_funcs.h:
9993 * paragraph_funcs.C:
9994 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9999 * sgml.C: move sgml open/close tag into sgml.C
10001 * bufferview_funcs.h: unused prototype
10004 * lyxfunc.C: remove unused
10007 * text.C: remove unused
10009 2002-10-21 John Levon <levon@movementarian.org>
10013 * BufferView_pimpl.h:
10014 * BufferView_pimpl.C: fix mouse wheel handling based on
10015 patch from Darren Freeman
10017 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10019 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10021 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10023 * lyxlength.C (inPixels): Fix hanfling of negative length.
10024 Fix LyXLength::MU case.
10026 2002-10-16 John Levon <levon@movementarian.org>
10028 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10030 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10032 * converter.C (view): add support for $$i (file name) and $$p
10033 (file path) for the viewer command. If $$i is not specified, then
10034 it is appended to the command (for compatibility with old syntax)
10036 2002-10-14 Juergen Vigna <jug@sad.it>
10038 * undo_funcs.C (textHandleUndo): alter the order in which the
10039 new undopar is added to the LyXText, as we have to set first
10040 the right prev/next and then add it as otherwise the rebuild of
10041 LyXText is not correct. Also reset the cursor to the right paragraph,
10042 with this IMO we could remove the hack in "redoParagraphs()".
10044 2002-10-09 Angus Leeming <leeming@lyx.org>
10046 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10047 to turn off an optimisation if a new inset is to be inserted.
10049 2002-10-11 André Pönitz <poenitz@gmx.net>
10051 * lyxtext.h: make some functions public to allow access
10052 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10054 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10056 * text3.C (dispatch): when changing layout, avoid an infinite loop
10059 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10061 * lyxrc.C (read): treat a viewer or converter command of "none" as
10064 * MenuBackend.C (expandFormats): for an update, also allow the
10065 formats that are not viewable
10067 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10068 script if it is newer than the lyxrc.defaults in user directory
10070 2002-10-07 André Pönitz <poenitz@gmx.net>
10072 * text.C: Vitaly Lipatov's small i18n fix
10074 2002-09-25 Angus Leeming <leeming@lyx.org>
10076 * ispell.h: doxygen fix.
10078 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10080 * buffer.h (readFile): Add a new argument to the method, to allow
10081 reading of old-format templates.
10083 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10085 * toc.C (getTocList): Get TOC from InsetWrap.
10087 2002-09-16 John Levon <levon@movementarian.org>
10089 * lyxfunc.C: check tabular for cut/copy too
10091 2002-09-12 John Levon <levon@movementarian.org>
10093 * LyXAction.C: tidy
10096 * factory.C: add header
10098 * paragraph_funcs.h:
10099 * paragraph_funcs.C: cleanup
10101 2002-09-11 John Levon <levon@movementarian.org>
10103 * PrinterParams.h: odd/even default to true
10105 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10107 * PrinterParams.h: update printer parameters for new xforms dialog
10109 2002-09-11 Angus Leeming <leeming@lyx.org>
10111 * lyxserver.C (read_ready): re-write to make it more transparent
10112 and to make it work in coherent fashion under Tru64 Unix.
10114 2002-09-11 André Pönitz <poenitz@gmx.net>
10118 * text3.C: implement LFUN_WORDSEL
10120 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10122 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10123 make floatlist_ a boost::shared_ptr<FloatList>
10125 * lyxtextclass.C: include FloatList.h
10126 (LyXTextClass): initialize floatlist_
10127 (TextClassTags): add TC_NOFLOAT
10128 (Read): match "nofloat" to TC_NOFLOAT and use it.
10129 (readFloat): modify call to floatlist_
10133 * FloatList.[Ch] (FloatList): remove commented out float
10135 (erase): new function
10137 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10139 * MenuBackend.C (expandToc): fix crash when there is no document
10142 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10144 * many files: Add insetwrap.
10146 2002-09-09 John Levon <levon@movementarian.org>
10148 * text2.C: remove confusing and awkward depth wraparound
10150 2002-09-09 John Levon <levon@movementarian.org>
10152 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10155 * buffer.C: remove getIncludeonlyList()
10158 * lyxfunc.C: remove headers
10160 2002-09-09 Juergen Vigna <jug@sad.it>
10162 * text.C (getColumnNearX): fix form Michael this is most
10163 probably a cut&paste bug.
10165 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10167 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10169 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10170 references, ws changes.
10172 * text2.C (init): update counters after init
10173 (insertParagraph): no need to set counter on idividual paragraphs.
10174 (setCounter): access the counters object in the textclass object
10175 on in the buffer object.
10176 (updateCounters): ditto
10178 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10179 shared_ptr<Counters> to avoid loading counters.h in all
10181 (LyXTextClass): initialize ctrs_
10182 (TextClassTags): add TC_COUNTER, and ...
10183 (Read): use it here.
10184 (CounterTags): new tags
10185 (readCounter): new function
10186 (counters): new funtion
10187 (defaultLayoutName): return a const reference
10189 * counters.C (Counters): remove contructor
10190 (newCounter): remove a couple of unneeded statements.
10191 (newCounter): simplify a bit.
10192 (numberLabel): some small formatting changes.
10194 * buffer.[Ch]: remove all traces of counters, move the Counters
10195 object to the LyXTextClass.
10197 2002-09-06 Alain Castera <castera@in2p3.fr>
10199 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10200 package to set the horizontal alignment on fixed width columns.
10203 * lyx_sty.h: added tabularnewline macro def.
10205 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10207 2002-09-06 John Levon <levon@movementarian.org>
10209 * LyXAction.C: tooltips for sub/superscript
10211 * MenuBackend.C: a bit more verbose
10213 * lyxfunc.C: tiny clean
10215 * undo_funcs.C: document undo_frozen
10217 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10219 * counters.C (Counters): add missing algorithm counter.
10221 * text2.C (setCounter): lookup the counter with layouts latexname
10222 instead of by section number.
10223 (setCounter): use a hackish way to lookup the correct enum
10225 a float name->type change
10226 reset enum couners with counter name directly instead of depth value.
10228 * counters.C (Counters): remove the push_backs, change to use the
10229 float type not the float name.
10230 (labelItem): remove unused string, float name->type change
10232 * counters.h: don't include vector, loose the enums and sects vectors
10234 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10236 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10237 (Read): add float->TC_FLOAT to textclassTags
10238 (Read): and handle it in the switch
10239 (readFloat): new function
10241 * FloatList.C (FloatList): comment out the hardcoded float
10244 * lyxlayout.h: ws change.
10246 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10248 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10250 2002-09-03 Angus Leeming <leeming@lyx.org>
10252 * BufferView_pimpl.h: qualified name is not allowed in member
10253 declaration: WorkArea & Pimpl::workarea() const;
10255 * factory.C: added using std::endl directive.
10257 * text3.C: added using std::find and std::vector directives.
10259 2002-08-29 André Pönitz <poenitz@gmx.net>
10262 * text2.C: remove unused member number_of_rows
10265 * BufferView2.C: remove file, move contents to...
10266 * BufferView.C: ... here
10268 * BufferView_pimpl.C:
10269 * factory.C: move more inset creation to factory
10271 * vspace.C: avoid direct usage of LyXText, ws changes
10274 don't provide direct access to WorkArea, use two simple
10275 acessors haveSelction() and workHeight() instead
10278 2002-08-29 John Levon <levon@movementarian.org>
10280 * BufferView_pimpl.C (dispatch): do not continue when
10283 2002-08-28 André Pönitz <poenitz@gmx.net>
10285 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10288 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10290 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10292 * buffer.C: increment LYX_FORMAT to 221
10294 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10295 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10297 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10299 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10301 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10303 * factory.C (createInset): use LyXTextClass::floats
10305 * MenuBackend.C (expandFloatListInsert):
10306 (expandFloatInsert):
10309 * text2.C (setCounter):
10311 * LaTeXFeatures.C (useFloat):
10312 (getFloatDefinitions):
10314 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10316 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10317 floatlist_, with accessor floats().
10319 * FloatList.h: remove global FloatList
10321 2002-08-26 André Pönitz <poenitz@gmx.net>
10323 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10327 * BufferView_pimpl.C:
10328 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10330 2002-08-25 John Levon <levon@movementarian.org>
10332 * LyXAction.C: fix margin note description
10334 2002-08-24 John Levon <levon@movementarian.org>
10338 * bufferview_funcs.C:
10340 * undo_funcs.C: cleanups
10342 * lyxfunc.C: disable CUT/COPY when no selection
10344 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10346 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10347 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10349 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10350 Add backward compatibility to "mono", "gray" and "no".
10352 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10354 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10355 (and file_format >= 200).
10357 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10359 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10361 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10363 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10365 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10367 * BufferView_pimpl.C:
10374 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10375 inset and code to make it work with the paragraph code. The inset
10376 can be anywhere in the paragraph, but will only do the expected
10377 thing in LaTeX if the layout file contains the parameter line
10379 (or more generally, a nonzero value) for that layout.
10381 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10383 * paragraph.h: remove the declaration of undefined counters class
10386 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10388 * text2.C (setCounter): fixed enumeration mis-count as reported by
10389 Dr. Richard Hawkins.
10391 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10393 * paragraph_funcs.h: remove some unneeded includes
10395 * text.C (backspace): pasteParagraph now in global scipe
10397 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10398 (pasteSelection): ditto
10400 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10401 * paragraph_funcs.C (pasteParagraph): ... here
10403 2002-08-20 André Pönitz <poenitz@gmx.net>
10405 * commandtags.h: new LFUNs for swapping/copying table row/colums
10408 * lyxfunc.C: support for new lfuns
10410 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10413 * buffer.[Ch]: remove NO_COMPABILITY stuff
10415 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10417 * boost.C (throw_exception): new file, with helper function for
10418 boost compiled without exceptions.
10423 * ParameterStruct.h:
10424 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10426 * bufferlist.C (emergencyWriteAll): use boost bind
10428 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10430 * text.C: include paragraph_funcs.h
10431 (breakParagraph): breakParagraph is now in global scope
10433 * paragraph_funcs.[Ch]: new files
10435 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10438 * buffer.C: include paragraph_funcs.h
10439 (insertStringAsLines): breakParagraph is now in global scope
10441 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10444 * CutAndPaste.C: include paragraph_funcs.h
10445 (cutSelection): breakParagraphConservative is now in global scope
10446 (pasteSelection): ditto
10448 * buffer.h: declare oprator== and operator!= for
10449 Buffer::inset_iterator
10451 * bufferlist.C (emergencyWrite): don't use fmt(...)
10453 * text3.C: add using std::endl
10455 * BufferView.C (moveCursorUpdate): remove default arg
10457 2002-08-20 André Pönitz <poenitz@gmx.net>
10459 * buffer.[Ch]: move inline functions to .C
10462 * BufferView_pimpl.C:
10464 * buffer.[Ch]: use improved inset_iterator
10467 * paragraph.[Ch]: write one paragraph at a time
10469 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10471 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10472 style if style is not specified.
10474 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10476 * text2.C (setCounter): when searching for right label for a
10477 caption, make sure to recurse to parent insets (so that a caption
10478 in a minipage in a figure float works) (bug #568)
10480 2002-08-20 André Pönitz <poenitz@gmx.net>
10482 * text3.C: new file for LyXText::dispatch() and helpers
10484 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10486 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10488 2002-08-19 André Pönitz <poenitz@gmx.net>
10491 * text.C: new LyXText::dispatch()
10493 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10495 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10497 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10499 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10502 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10504 * Makefile.am: use $(variables) instead of @substitutions@
10506 2002-08-15 André Pönitz <poenitz@gmx.net>
10509 * BufferView_pimpl.C: streamlining mathed <-> outer world
10513 * LyXAction.C: remove unused LFUN_MATH
10515 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10517 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10519 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10521 * paragraph.C (Paragraph): reformat a bit
10522 (cutIntoMinibuffer): use builtin InsetList function instad of
10526 * buffer.C: include boost/bind.hpp, add using std::for_each
10527 (writeFileAscii): use ParagraphList iterators
10528 (validate): use for_each for validate traversal of paragraphs
10529 (getBibkeyList): use ParagraphList iterators
10530 (resizeInsets): use for_each to resizeInsetsLyXText for all
10532 (getParFromID): use ParagraphList iterators
10534 * BufferView2.C (lockInset): use paragraph list and iterators
10536 2002-08-14 John Levon <levon@movementarian.org>
10538 * lyxserver.C: remove spurious xforms include
10540 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10542 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10544 2002-08-13 André Pönitz <poenitz@gmx.net>
10547 * lyxfunc.C: further cleaning
10549 2002-08-13 André Pönitz <poenitz@gmx.net>
10551 * funcrequest.h: new constructor
10553 * funcrequest.C: move stuff here from .h
10556 * BufferView_pimpl.C:
10559 * lyxfunc.C: subsequent changes
10561 * lyxfunc.h: new view() member function
10563 * lyxfunc.C: subsequent changes
10565 2002-08-13 Angus Leeming <leeming@lyx.org>
10568 * BufferView_pimpl.C:
10576 changes due to the changed LyXView interface that now returns references
10577 to member variables not pointers.
10579 2002-08-13 Angus Leeming <leeming@lyx.org>
10581 * WordLangTuple (word, lang_code): return references to strings,
10586 * lyxtext.h: forward-declare WordLangTuple.
10591 * text.C: #include "WordLangTuple.h".
10594 * text.C: (selectNextWordToSpellcheck): constify return type.
10596 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10602 * paragraph_pimpl.h:
10605 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10606 suggested by Angus.
10607 Made updateCounter always count from start of buffer, and removed
10608 second argument (par).
10609 Reverted floats number display to '#'. Perhaps I'll try again when the
10610 code base is sanitized a bit.
10612 2002-08-12 Angus Leeming <leeming@lyx.org>
10614 * buffer.[Ch] (getLabelList): constify.
10616 2002-08-07 André Pönitz <poenitz@gmx.net>
10618 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10620 * funcrequest.h: extension to keep mouse (x,y) position
10622 2002-08-12 Juergen Vigna <jug@sad.it>
10624 * BufferView2.C (insertErrors): forbid undo when inserting error
10627 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10629 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10631 * ParagraphList.[Ch]: new files
10633 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10635 * BufferView2.C (lockInset): ParagraphList changes
10638 * bufferlist.C: ditto
10642 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10644 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10645 unused class variable counter_,
10647 * paragraph.[Ch] (getFirstCounter): delete unused function
10649 * counters.C: include LAssert.h
10650 (reset): add a new function with no arg, change other version to
10651 not have def. arg and to not allow empty arg.
10653 * text2.C (setCounter): remove empty arg from call to Counters::reset
10655 2002-08-11 John Levon <levon@movementarian.org>
10657 * Makefile.am: add WordLangTuple.h
10659 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10661 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10662 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10664 * insets/insettext.C: InsetList changes
10666 * graphics/GraphicsSupport.C (operator()): InsetList changes
10668 * toc.C (getTocList): InsetList changes
10670 * paragraph_pimpl.[Ch]: InsetList changes
10672 * paragraph.[Ch]: InsetList changes
10674 * buffer.C (inset_iterator): InsetList changes
10675 (setParagraph): ditto
10676 * buffer.h (inset_iterator): ditto
10677 * iterators.C (operator++): ditto
10678 * iterators.h: ditto
10680 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10682 * InsetList.[Ch]: new files, most InsetList handling moved out of
10685 * BufferView2.C (removeAutoInsets): InsetList changes
10687 (ChangeInsets): ditto
10689 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10691 * paragraph_pimpl.h (empty): new function
10693 * paragraph.[Ch] (empty): new function
10695 * other files: use the new Paragraph::empty function
10697 2002-08-09 John Levon <levon@movementarian.org>
10699 * lyxtext.h: remove unused refresh_height
10701 2002-08-09 John Levon <levon@movementarian.org>
10708 * paragraph.C: move sgml char escaping out of paragraph
10711 * paragraph.C: remove id setter
10715 * paragraph_pimpl.C: remove dead tex_code_break_column
10717 * bufferview_funcs.C: small cleanup
10719 * lyxfunc.C: remove dead proto
10721 * lyxtext.h: make some stuff private. Remove some dead stuff.
10723 * lyxgluelength.C: make as[LyX]String() readable
10725 2002-08-08 John Levon <levon@movementarian.org>
10730 * ToolbarDefaults.C:
10733 * toc.C: lyxaction cleanup
10735 2002-08-08 John Levon <levon@movementarian.org>
10737 * BufferView2.C: small cleanup
10740 * lyxfind.C: move unnecessary header into the .C
10742 2002-08-08 John Levon <levon@movementarian.org>
10744 * funcrequest.h: just tedious nonsense
10747 * lyx_main.C: cleanups
10750 * vspace.C: remove dead header lyx_main.h
10752 2002-08-07 Angus Leeming <leeming@lyx.org>
10755 * paragraph_pimpl.h:
10756 Forward declare class Counters in paragraph.h by moving the ctrs member
10757 variable into Paragraph::Pimpl.
10758 (counters): new method, returning a reference to pimpl_->ctrs.
10760 * text2.C: ensuing changes.
10762 2002-08-07 John Levon <levon@movementarian.org>
10764 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10766 * BufferView_pimpl.C: announce X selection on double/triple
10769 * lyx_main.C: use correct bool in batch dispatch
10771 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10773 2002-08-07 André Pönitz <poenitz@gmx.net>
10775 * funcrequest.h: new class to wrap a kb_action and its argument
10778 * BufferView_pimpl[Ch]:
10782 * lyxrc.C: subsequent changes
10785 2002-08-07 John Levon <levon@movementarian.org>
10787 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10788 document options change.
10790 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10795 * makefile.am: move counters functionality over from
10796 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10798 2002-08-06 John Levon <levon@movementarian.org>
10800 * WordLangTuple.h: new file for word + language code tuple
10811 * BufferView2.C: use WordLangTuple
10814 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10816 2002-08-06 John Levon <levon@movementarian.org>
10818 * lyx_main.C: fix cmdline batch handling
10820 2002-08-06 André Pönitz <poenitz@gmx.net>
10822 * lyxrc.C: set default for show_banner to true
10824 2002-08-06 John Levon <levon@movementarian.org>
10826 * pspell.C: fix a crash, and allow new aspell to work
10828 2002-08-06 John Levon <levon@movementarian.org>
10831 * kbmap.C: small cleanup
10834 * vspace.C: add const
10836 2002-08-05 John Levon <levon@movementarian.org>
10838 * LyXAction.C: back to tabular-insert
10840 2002-08-04 John Levon <levon@movementarian.org>
10843 * BufferView.C: cosmetic change
10845 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10855 * BufferView2.C: purge all "Lyx" not "LyX" strings
10858 * lyxcursor.C: attempt to add some documentation
10863 * ToolbarDefaults.C:
10864 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10865 merge with LFUN_TABULAR_INSERT
10872 * pspell.C: split up i/pspell implementations into separate
10873 files, many cleanups
10875 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10877 * text2.C: some cleanup
10879 * lyxfunc.C: don't check for isp_command == "none" any more, it
10880 didn't make any sense
10882 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10887 * makefile.am: move counters functionality over
10888 from text2.C/paragraph.[Ch] to counters.[Ch], and
10890 2002-08-02 John Levon <levon@movementarian.org>
10892 * buffer.C: s/lyxconvert/lyx2lyx/
10894 2002-08-02 Angus Leeming <leeming@lyx.org>
10896 * lyxlex.C: revert John's change as it breaks reading of the user
10899 2002-08-02 Angus Leeming <leeming@lyx.org>
10901 * importer.C (Import):
10902 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10903 changes due to LyXView::view() now returning a boost::shared_ptr.
10905 2002-08-02 John Levon <levon@movementarian.org>
10907 * lyxlex.C: small cleanup
10909 2002-08-02 John Levon <levon@movementarian.org>
10911 * text2.C (status): small cleanup, no logic change
10913 2002-08-01 John Levon <levon@movementarian.org>
10916 * buffer.C (writeFile): don't output alerts, caller
10920 * lyx_cb.C: from above
10922 * lyxfunc.C: allow to open non-existent files
10924 2002-07-31 John Levon <levon@movementarian.org>
10926 * lyxserver.C: don't let incidental errors get
10929 2002-07-30 John Levon <levon@movementarian.org>
10931 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10933 2002-07-30 John Levon <levon@movementarian.org>
10936 * lyxserver.C: remove I/O callback too
10938 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10940 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10943 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10945 * many files: strip,frontStrip -> trim,ltrim,rtrim
10947 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10949 * PrinterParams.h: remove extern containsOnly, and include
10950 support/lstrings.h instead.
10952 * LaTeX.C (scanAuxFile): modify because of strip changes
10954 * buffer.C (makeLaTeXFile): ditto
10955 * bufferparams.C (writeFile): ditt
10956 * lyxfont.C (stateText): ditto
10957 * lyxserver.C (read_ready): ditto
10958 * vc-backend.C (scanMaster): ditto
10960 * BufferView_pimpl.h: ws changes
10962 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10964 2002-07-26 André Pönitz <poenitz@gmx.net>
10966 * kb_sequence.C: remove unnedred usings
10968 2002-07-26 Juergen Vigna <jug@sad.it>
10970 * lyxfind.C (LyXReplace): we have to check better if the returned
10971 text is not of theLockingInset()->getLockingInset().
10973 2002-07-25 Juergen Vigna <jug@sad.it>
10975 * lyxfind.C (LyXReplace): don't replace if we don't get the
10978 * undo_funcs.C (createUndo): remove debugging code.
10980 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10982 * buffer.C (parseSingleLyXformat2Token): Use default placement
10983 when reading old floats.
10985 * FloatList.C (FloatList): Change the default placement of figure
10986 and tables to "tbp".
10988 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10990 * MenuBackend.C: using std::max
10992 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10994 * MenuBackend.C (expandToc):
10995 (expandToc2): code moved from xforms menu frontend. It is now
10996 generic and TOCs are transparent to menu frontends.
10998 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11000 * toc.C (getTocList): protect against buf=0
11002 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11003 Menu as first parameter. Now, this calls itself recursively to
11004 expand a whole tree (this will be useful for TOC handling)
11005 (expandFloatInsert): remove 'wide' version of floats
11007 * MenuBackend.h (submenuname): returns the name of the submenu.
11008 (submenu): returns the submenu itself, provided it has been
11009 created by MenuBackend::expand
11011 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11013 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11014 insets which have noFontChange == true. (bug #172)
11016 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * BufferView_pimpl.C: add connection objects and use them...
11021 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11023 * MenuBackend.C (expandLastfiles):
11026 (expandFloatListInsert):
11027 (expandFloatInsert):
11028 (expand): split expand in parts
11030 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11032 * lyx_gui.C: use lyx_gui::exit()
11034 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11036 * LyXAction.C: show the failing pseudo action
11038 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11040 * buffer.C (readFile): Run the lyxconvert script in order to read
11043 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11047 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11049 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11053 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11055 2002-07-22 Herbert Voss <voss@lyx.org>
11058 * lyxlength.[Ch]: add support for the vertical lengths
11060 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11062 * toc.[Ch]: std:: fixes
11064 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11066 * lyxrc.C: do not include lyx_main.h
11068 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11074 * BufferView2.C: include "lyxlex.h"
11077 * bufferparams.h: do not #include "lyxlex.h"
11079 * lyxtextclasslist.C (Add): remove method
11080 (classlist): renamed to classlist_
11082 * paragraph_pimpl.C:
11086 * bufferview_funcs.C:
11091 * toc.C (getTocList): use BufferParams::getLyXTextClass
11093 * toc.C (getTocList): use InsetFloat::addToToc
11095 * toc.[Ch]: new files, containing helper functions to handle table
11098 * lyxfunc.C (dispatch): no need to remove spaces around command
11100 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11101 first command of the sequence; it is not very clever, but I do not
11102 have a better idea, actually
11104 * LyXAction.C (LookupFunc): make sure to remove space at the
11105 beginning and end of the command
11107 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11109 * MenuBackend.C (getMenubar): new method: return the menubar of
11111 (read): treat differently reading of menu and menubar (in
11112 particular, the menubar has no name now)
11113 (Menu::menubar): remove
11115 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11118 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11120 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11121 a bibitem inset in a RTL paragraph.
11123 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11125 * paragraph_pimpl.C: constify
11127 * BufferView_pimpl.C:
11129 * lyxfunc.C: fix dispatch in a nicer way
11131 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11133 * lyxfunc.C (dispatch):
11134 * BufferView_pimpl.C:
11135 * BufferView_pimpl.h:
11137 * BufferView.h: rename Dispatch() to dispatch()
11139 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11141 * lyxlayout.C (Read): honor DependsOn tag
11143 * lyxlayout.[Ch] (depends_on): new method
11145 * version.C.in: update lyx_docversion
11147 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11149 * paragraph.C (validate): remove from here...
11150 * paragraph_pimpl.C (validate): ... and move here
11151 (isTextAt): make it const
11153 * buffer.C (getLists): ws cleanup
11155 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11157 * language.C (read): Use iso8859-1 encoding in latex_lang
11158 (this prevents LyX from crashing when using iso10646-1 encoding).
11160 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11162 * text2.C (toggleInset): if cursor is inside an inset, close the
11163 inset and leave cursor _after_ it
11165 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11167 * lyxfunc.C: move minibuffer completion handling out of here
11169 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11171 * BufferView_pimpl.C:
11172 * LaTeX.C: fix dispatch calls
11174 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11176 * text.C (drawChars): Fix Arabic text rendering.
11178 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11182 * lyxfunc.C: remove message-push/pop
11186 * lyxfunc.C: rationalise some code by removing verboseDispatch
11187 in favour of a bool argument to dispatch()
11189 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11191 * lyx_main.C (init): make sure to read symlinks as absolute paths
11193 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11196 * lyxfunc.C: no need for commandshortcut to be a member
11198 2002-07-15 André Pönitz <poenitz@gmx.net>
11200 * converter.C: add support for $$s (scripts from lib/scripts dir)
11201 * lyx_main.C: white space
11203 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11207 * lyxrc.C: remove second exit confirmation
11209 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11214 * BufferView_pimpl.h:
11215 * BufferView_pimpl.C:
11216 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11218 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11220 * MenuBackend.C (expand): add numeric shortcuts to document menu
11222 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11224 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11226 * lyxfont.C (setLyXFamily):
11233 * buffer.C (asciiParagraph): use ascii_lowercase
11235 2002-07-15 Mike Fabian <mfabian@suse.de>
11237 * lyxlex_pimpl.C (search_kw):
11238 * lyxlex.C (getLongString):
11239 * converter.h (operator<):
11240 * converter.C (operator<):
11241 * buffer.C (parseSingleLyXformat2Token):
11243 * ToolbarDefaults.C (read):
11244 * MenuBackend.C (checkShortcuts):
11246 * LColor.C (getFromGUIName):
11247 (getFromLyXName): use the compare_ascii_no_case instead of
11248 compare_no_case, because in turkish, 'i' is not the lowercase
11249 version of 'I', and thus turkish locale breaks parsing of tags.
11251 2002-07-16 Angus Leeming <leeming@lyx.org>
11253 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11254 now takes a Buffer const & argument.
11256 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11258 * BufferView.C (resize): check there's a buffer to resize
11260 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11262 * lyxfunc.C: remove dead code
11265 * lyxserver.C: use lyx_guii::set_read_callback
11267 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11269 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11270 an inset in a RTL paragraph.
11272 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11274 * lyxfunc.C: repaint after a font size update
11276 2002-07-15 André Pönitz <poenitz@gmx.net>
11278 * lyxlength.C: inBP should be able to return negative values
11280 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11282 * lyxfunc.C: use lyx_gui::update_fonts()
11284 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11286 * lyxfunc.C: use lyx_gui::update_color()
11288 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11294 * lyxrc.C: remove file->new asks for name option, and let
11295 buffer-new take an argument
11297 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11299 * BufferView_pimpl.C: remove unneeded extra repaint()
11301 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11303 * LyXAction.C: allow command-sequence with NoBuffer
11305 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11307 2002-07-10 Angus Leeming <leeming@lyx.org>
11309 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11311 2002-07-09 Angus Leeming <leeming@lyx.org>
11313 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11315 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11317 * lengthcommon.h: whitespace
11319 * lyxfunc.C: update scrollbar after goto paragraph
11321 * lyxtext.h: factor out page break drawing, and fix it so
11322 page break/added space paints as selected nicely
11324 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11326 * BufferView_pimpl.C: add FIXMEs, clean up a little
11328 2002-07-09 André Pönitz <poenitz@gmx.net>
11330 * lyxfont.[Ch]: support for wasy symbols
11332 2002-07-08 André Pönitz <poenitz@gmx.net>
11334 * BufferView_pimpl.C: apply John's patch for #93.
11336 2002-07-05 Angus Leeming <leeming@lyx.org>
11338 * BufferView_pimpl.C (buffer): generate previews if desired.
11340 * LColor.h: add "preview" to the color enum.
11342 * LColor.C (LColor): add a corresponding entry to the items array.
11344 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11347 2002-07-05 Angus Leeming <leeming@lyx.org>
11349 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11350 The body of the code is now in the method that is passed an ostream &
11351 rather than a file name.
11352 Pass an additional only_preamble parameter, useful for the forthcoming
11355 2002-07-03 André Pönitz <poenitz@gmx.net>
11357 * lyxfunc.C: simplify getStatus() a bit for math stuff
11359 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11361 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11363 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11365 * text.C (changeRegionCase): do not change case of all the
11366 document when region ends at paragraph end (bug #461)
11368 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11370 * paragraph.C (startTeXParParams):
11371 (endTeXParParams): add \protect when necessary
11373 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11375 * BufferView_pimpl.C (workAreaExpose): remove warning
11377 2002-06-27 Angus Leeming <leeming@lyx.org>
11379 * Makefile.am: add lyxlayout_ptr_fwd.h.
11381 2002-06-26 André Pönitz <poenitz@gmx.net>
11383 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11385 2002-06-25 Angus Leeming <leeming@lyx.org>
11387 * lyxfunc.C (dispatch): Comment out the call to
11388 grfx::GCache::changeDisplay. The method no longer exists now that the
11389 pixmap generation part of the graphics loader has been moved into
11392 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11394 * text2.C: layout as layout
11396 * text.C: layout as layout
11398 * tabular.C (OldFormatRead): layout as layout
11400 * paragraph_pimpl.C (TeXDeeper): layout as layout
11401 (realizeFont): layout as layout
11403 * paragraph.C (writeFile): layout as layout
11404 (validate): layout as layout
11405 (getFont): layout as layout
11406 (getLabelFont): layout as layout
11407 (getLayoutFont): layout as layout
11408 (breakParagraph): layout as layout
11409 (stripLeadingSpaces): layout as layout
11410 (getEndLabel): layout as layout
11411 (getMaxDepthAfter): layout as layout
11412 (applyLayout): layout as layout
11413 (TeXOnePar): layout as layout
11414 (simpleTeXOnePar): layout as layout
11415 (TeXEnvironment): layout as layout
11416 (layout): layout as layout
11417 (layout): layout as layout
11419 * lyxtextclass.C (compare_name): new functor to work with
11420 shared_ptr, layout as layout
11421 (Read): layout as layout
11422 (hasLayout): layout as layout
11423 (operator): layout as layout
11424 (delete_layout): layout as layout
11425 (defaultLayout): layout as layout
11427 * lyxlayout_ptr_fwd.h: new file
11429 * lyxlayout.C (Read): layout as layout
11431 * lyx_cb.C (MenuInsertLabel): layout as layout
11433 * bufferlist.C (newFile): layout as layout
11435 * buffer.C (readLyXformat2): layout as layout
11436 (parseSingleLyXformat2Token): layout as layout
11437 (insertStringAsLines): layout as layout
11438 (asciiParagraph): layout as layout
11439 (latexParagraphs): layout as layout
11440 (makeLinuxDocFile): layout as layout
11441 (simpleLinuxDocOnePar): layout as layout
11442 (makeDocBookFile): layout as layout
11443 (simpleDocBookOnePar): layout as layout
11444 (getLists): layout as layout
11446 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11448 * CutAndPaste.C (cutSelection): layout as layout
11449 (pasteSelection): layout as layout
11450 (SwitchLayoutsBetweenClasses): layout as layout
11452 * BufferView_pimpl.C (Dispatch): layout as layout
11453 (smartQuote): layout as layout
11455 * BufferView2.C (unlockInset): layout as layout
11457 2002-06-24 André Pönitz <poenitz@gmx.net>
11459 * lyxfunc.C: fix #487
11461 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11465 * lyxfunc.C: remove display_shortcuts, show_banner
11467 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11469 * Buffer_pimpl.C: oops, update on resize
11471 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11478 * BufferView.C: use repaint()
11480 * BufferView_pimpl.h:
11481 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11482 as it's a clearer description. Remove superfluous
11485 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11487 * text.C: fix bug 488. Not ideal, but getting
11488 getWord() to work properly for the insets that
11489 matter is more difficult ...
11491 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11493 * BufferView_pimpl.C:
11496 * lyxfunc.C: remove the six million index lyxfuncs to just
11497 one, and DTRT (bug 458)
11499 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11503 * BufferView_pimpl.h:
11504 * BufferView_pimpl.C: clean up resize() stuff,
11505 and unnecessary updateScreen()s
11507 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11511 * BufferView_pimpl.h:
11512 * BufferView_pimpl.C:
11515 * minibuffer.C: remove focus management of workarea,
11516 not needed. Use screen's greyOut()
11518 2002-06-17 Herbert Voss <voss@lyx.org>
11520 * converter.C: (convert) do not post a message, when converting
11521 fails, let the calling function decide what to do in this case
11523 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11525 * lyxfunc.C: tidy up a little
11527 2002-06-16 <alstrup@diku.dk>
11529 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11530 Got rid of FORMS_H_LOCATION include. Now we are
11533 2002-06-15 LyX Development team <lyx@rilke>
11535 * buffer.[Ch] (sgmlOpenTag):
11536 (sgmlCloseTag): Added support for avoiding pernicious mixed
11537 content. Return number of lines written.
11539 (makeLinuxDocFile):
11540 (makeDocBookFile): Fixed calls to sgml*Tag.
11541 Simple white space clean.
11543 (simpleDocBookOnePar): Simple white space clean.
11545 * tabular.[Ch] (docBook): Renamed to docbook and got another
11546 argument to related with the pernicious mixed content.
11548 (docbookRow): Fixed calls for docbook inset method.
11550 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11552 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11553 so it's X11 independent.
11557 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11559 2002-06-15 Lyx Development team <lyx@electronia>
11561 * intl.h: Renamed getTrans to getTransManager.
11563 2002-06-14 Angus Leeming <leeming@lyx.org>
11565 * Makefile.am: nuke forgotten stl_string_fwd.h.
11567 2002-06-12 Angus Leeming <leeming@lyx.org>
11569 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11571 2002-06-13 Angus Leeming <leeming@lyx.org>
11574 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11576 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11578 * kbmap.C (getiso): add support for cyrillic and greek
11580 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11584 * BufferView_pimpl.h:
11585 * BufferView_pimpl.C: move bogus scrolling logic
11588 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11591 * BufferView_pimpl.C: view->resize() change
11593 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11595 * BufferView_pimpl.C: topCursorVisible
11598 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11602 * lyx_gui.C: move to frontends/
11606 * lyx_main.C: changes from above
11608 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11615 * lyx_main.C: minor tidy
11617 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11619 * BufferView_pimpl.h:
11620 * BufferView_pimpl.C:
11622 * BufferView.C: make painter() const,
11625 * BufferView2.C: use screen() accessor
11628 * lyx_main.C: some minor cleanup
11630 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11632 * BufferView_pimpl.h:
11633 * BufferView_pimpl.C: remove enter/leaveView,
11636 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11641 * BufferView_pimpl.h:
11642 * BufferView_pimpl.C: only construct screen once,
11645 * lyxrc.C: remove pointless comment
11647 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11650 * BufferView.C: remove active() and belowMouse()
11652 * BufferView_pimpl.h:
11653 * BufferView_pimpl.C: use workarea() not workarea_,
11654 and make it use a scoped_ptr instead
11656 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11658 * lyx_gui.C: add debug message on BadWindow
11660 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11662 * sp_spell.C: fdopen is not part of the C++ standard.
11664 * paragraph.C (InsetIterator): use >= instead of ==
11666 2002-06-07 Angus Leeming <leeming@lyx.org>
11668 Fixes needed to compile with Compaq cxx 6.5.
11669 * BufferView_pimpl.C:
11676 * lyxtextclasslist.C:
11681 all c-library variables have been moved into namespace std. Wrap
11682 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11687 Add a using std::abs declaration.
11689 * kbmap.h (modifier_pair):
11690 * paragraph.h (InsetTable, InsetList):
11691 * lyxfont.h (FontBits):
11692 type definition made public.
11694 * bufferlist.C (emergencyWriteAll): the compiler complains that
11695 there is more than one possible lyx::class_fun template to choose from.
11696 I re-named the void specialisation as lyx::void_class_fun.
11698 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11700 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11701 the compiler is is unable to find tostr in write_attribute.
11703 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11705 * buffer.C (sgmlError): hide #warning
11707 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11709 * xtl/*: get rid of xtl, which is not in use anyway
11711 * LyXAction.C (init):
11712 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11713 were unimplemented xtl experimentation
11715 2002-06-04 André Pönitz <poenitz@gmx.net>
11717 * lyxfunc.C: disable array operation on simple formulae
11719 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11721 * converter.C: constify a bit
11723 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11725 * lyx_gui.C: check xforms version correctly
11727 2002-04-30 Herbert Voss <voss@lyx.org>
11729 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11732 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11734 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11735 attempt to register it with a VCS)
11737 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11739 * lyx_main.C (init): honor variables LYX_DIR_13x and
11742 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11746 * lyx_main.C: fix a crash on bad command line,
11747 and give a useful exit status on error
11749 * lyxfunc.C (doImport): allow -i lyx to work
11751 2002-03-30 André Pönitz <poenitz@gmx.net>
11753 * lyxfunc.C: mathed font changes
11755 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11770 * trans_mgr.h: srcdocs, and some minor cleanups
11772 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11774 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11775 call getFont all the time)
11777 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11779 * switch from SigC signals to boost::signals
11781 2002-05-29 André Pönitz <poenitz@gmx.net>
11783 * paragraph_pimpl.C (getChar): don't call size() too often...
11785 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11787 * paragraph_pimpl.C (insertChar): do not try to update tables when
11788 appending (pos == size())
11790 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11791 in order to reduce drastically the number of comparisons needed to
11792 parse a large document
11794 2002-05-29 André Pönitz <poenitz@gmx.net>
11800 * textclasslist.[Ch]:
11801 * sp_ispell.h: whitespace change
11803 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11805 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11806 lyxaction directly now.
11808 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11812 * lyxvc.C: remove unused headers
11814 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11821 * undo_funcs.C: some cleanups. Use shared_ptr
11822 and a template for the undo stacks.
11824 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11826 * BufferView_pimpl.h:
11827 * BufferView_pimpl.C:
11834 * text2.C: use key_state/mouse_state
11836 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11838 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11841 * chset.C: change include order
11842 (loadFile): use boost regex and get rid of LRegex and LSubstring
11844 * Makefile.am (BOOST_LIBS): new variable
11845 (lyx_LDADD): use it
11847 * LaTeX.C: change include order.
11848 (scanAuxFile): use boost regex and get rid of LRegex and
11852 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11857 * FontInfo.C: moved to frontends/xforms/
11860 * FontLoader.C: moved into frontends for GUIIzation
11865 * lyxfunc.C: changes from above
11867 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11869 * LColor.C: remove spurious X include
11871 * BufferView_pimpl.C:
11876 * text2.C: move font metrics to frontends/
11878 2002-05-24 Juergen Vigna <jug@sad.it>
11880 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11881 setting the undo_cursor.
11883 * ParagraphParameters.h: include local includes first.
11885 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11887 * BufferView_pimpl.C:
11888 * BufferView_pimpl.h:
11892 * screen.C: move WorkArea into frontends/
11898 * BufferView2.C: move LyXScreen into frontends/
11902 * lyx_gui.C: move lyxlookup into frontends/xforms/
11904 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11907 * BufferView_pimpl.C:
11917 * bufferview_funcs.C:
11930 * vc-backend.C: move LyX/XFormsView into frontends/
11932 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11944 * text2.C: move Painter to frontends/
11946 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11948 * buffer.C: comment out some some code that depend upon lyx_format
11951 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11952 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11954 * buffer.h (NO_COMPABILITY): turn off compability
11956 * ColorHandler.C: include scoped_array.hpp
11958 * font.C: Use more specific smart_ptr header.
11961 * ShareContainer.h: ditto
11962 * lyx_main.h: ditto
11964 * FontInfo.h: ditto
11965 * BufferView_pimpl.h: ditto
11966 * ColorHandler.h: ditto
11968 * kbmap.C (defkey): change call to shared_ptr::reset
11970 2002-05-21 Juergen Vigna <jug@sad.it>
11972 * buffer.C (insertErtContents): fix to insert ert asis if it is
11973 non empty. Skip it completely if it contains only whitespaces.
11975 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11977 * BufferView_pimpl.C:
11978 * BufferView2.C: clear selection on paste (bug 393)
11980 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11982 * DepTable.C: include ctime
11984 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11986 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11988 2002-05-14 Juergen Vigna <jug@sad.it>
11990 * text.C (breakParagraph): fixed function to honor the keepempty
11991 layout in the right maner and also to permit the right breaking
11992 algorithm on empty or non empyt keepempty paragraphs.
11994 * paragraph.C (breakParagraph): we have to check also if the par
11995 is really empty (!size()) for isempty otherwise we do the wrong
11998 2002-05-10 Juergen Vigna <jug@sad.it>
12000 * buffer.[Ch] : The following are only changes to the ert
12001 compatibility read reading old LaTeX layout and font stuff and
12002 convert it to ERTInsets.
12004 * buffer.h: added isErtInset().
12006 * buffer.C (struct ErtComp): add a fromlayout bool to check
12007 if we're inside a LaTeX layout.
12008 (isErtInset): new helper function.
12009 (insertErtContents): look for other ert insets before this one
12010 and insert the contents there, so that we don't have subsequent
12011 ERT insets with nothing between them. This way we create only one
12012 inset with multiple paragraphs. Also check if we don't insert only
12013 spaces ' ' as they are ignored anyway afterwards in the .tex file
12014 so if we have only spaces we will ignore this latex part in the
12016 (parseSingleLyXformat2Token \\layout): better compatibility when
12017 reading layout-latex stuff.
12018 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12020 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12021 stuff after reading the inset only get the information back from
12024 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12026 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12028 * LaTeXFeatures.C (getBabelOptions): New method.
12030 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12032 * BufferView_pimpl.C (Dispatch): work around missing argument for
12035 2002-05-08 Juergen Vigna <jug@sad.it>
12037 * text.C (leftMargin): handle paragraph leftindent.
12039 * paragraph.C (writeFile): write the new \\leftindent tag.
12040 (validate): handle leftindent code.
12041 (TeXEnvironment): handle paragraphleftindent code again.
12043 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12045 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12046 for paragrap_extra indent code and new token \\leftindent.
12047 (latexParagraphs): handle the leftindent as environment.
12049 * ParameterStruct.h: added leftindent support.
12051 * ParagraphParameters.C (leftIndent): added support functions for
12052 the paragraph left indent.
12054 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12057 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12059 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12062 * text.C (computeBidiTables): No bidi in insetERT.
12064 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12067 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12069 * version.C.in: pre 5
12071 2002-05-02 José Matos <jamatos@fep.up.pt>
12072 * buffer.C (makeDocBookFile): white space changes, add newline to
12074 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12076 * tabular.C (docBook): fix typo.
12078 2002-05-03 Juergen Vigna <jug@sad.it>
12080 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12081 change in LyXText as we can not be sure it was not freed.
12082 (drawOneRow): remove unused code.
12084 * text.C (drawInset): redo the calculation of the need_break_row as
12085 it could have a row which was already freed.
12086 (draw): look at the return value of drawInset and return false if
12087 it also returned false.
12088 (paintRowText): look at the return value of draw and return false if
12089 it also returned false.
12091 * lyxtext.h: added bool return type to drawInset() and draw() so that
12092 if we have a change in the row so that the rowbreak has to be redone
12093 we abort drawing as it will be called again.
12095 2002-05-02 Juergen Vigna <jug@sad.it>
12097 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12098 a change in the maintext also if we're inside an inset.
12099 (Dispatch): set the cursor again after a break line and after the
12100 screen has been updated as it could be we're in a different row.
12102 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12103 to set the cursor behind the pargraph with > size().
12104 (setCursor): check also for the same paragraph when checking where
12105 to put the cursor if we have a NFR inset.
12107 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12108 parts of layout read further up as it still was in the wrong
12111 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * screen.C (drawFromTo): change sine fullRebreak always return
12116 * buffer.C (parseSingleLyXformat2Token): reindent some
12118 * BufferView_pimpl.C (update): change since fullRebreak always
12120 (Dispatch): git rid of the last hardcoded "Standard"s.
12122 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12124 * text2.[Ch] (fullRebreak): make it return void now that we always
12127 2002-04-30 Juergen Vigna <jug@sad.it>
12129 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12130 ert compatibility check for "latex" layout.
12132 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12134 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12135 minipages: use col% instead of p%, and also use the current font.
12136 (makeLaTeXFile): Fix use babel condition.
12137 (parseSingleLyXformat2Token): Correct font when reading old floats.
12139 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12141 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12142 inserting list of floats.
12144 2002-04-25 Herbert Voss <voss@lyx.org>
12146 * MenuBackend.C (expand): don't add the graphics extensions to the
12149 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12151 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12152 non-existing layout, do not complain if it was the default layout
12153 of the original class (bug #342)
12155 2002-04-24 Juergen Vigna <jug@sad.it>
12157 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12158 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12160 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12162 * buffer.C (getBibkeyList): If using \bibliography, return the
12163 option field with the reference itself. Enables us to provide natbib
12164 support when using \bibliography.
12166 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12168 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12170 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12171 natbib is provided by the LaTeX class.
12173 2002-04-23 Juergen Vigna <jug@sad.it>
12175 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12178 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12180 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12182 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12184 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12185 ensuremath around textordmasculine, textordfeminine and
12188 2002-04-19 Juergen Vigna <jug@sad.it>
12190 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12191 reinitializing the buffer otherwise row-dimensions may be wrong.
12192 (update): reset also the selection cursors if they do exits otherwise
12193 their x/y positions may be wrong.
12195 * text2.C (cursorDown): don't enter the inset if we came from a row
12196 above and are one row over the inset.
12198 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12199 really leaving an inset.
12201 2002-04-18 Juergen Vigna <jug@sad.it>
12203 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12204 of the selected paragraph does not have the selected layout also if
12207 * text2.C (setLayout): fixed bug which did not change last selected
12210 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12211 changed the read and substituted \\end_float with \\end_inset!
12213 * BufferView_pimpl.C (cursorPrevious):
12214 (cursorNext): fixed to make it work with rows heigher than the work
12215 area without moving the cursor only the draw of the row.
12216 (workAreaMotionNotify): fix jumping over high rows.
12218 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12220 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12223 2002-04-16 Juergen Vigna <jug@sad.it>
12225 * text2.C (setCursor): set also the irow().
12226 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12228 (cursorDown): support for locking an inset if the x_fix value goes
12229 inside it. That way I can transverse insets too with cursor up/down.
12231 * lyxrow.h: added irow helper function same as other (i) functions.
12233 * BufferView_pimpl.C (cursorPrevious):
12234 (cursorNext): fixed for insets!
12236 2002-04-15 Juergen Vigna <jug@sad.it>
12238 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12239 position otherwise it is wrong in some cases.
12241 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12242 inside the inset before the call.
12244 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12246 * buffer.[Ch] (getBibkeyList): make it const.
12248 2002-04-12 Juergen Vigna <jug@sad.it>
12250 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12252 * text2.C (getCursorX): new helper function
12253 (setCursor): compute also ix_
12254 (setCursorFromCoordinates): set also ix.
12256 * lyxcursor.h: added ix_ and helper functions.
12258 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12260 * buffer.C (insertStringAsLines): dont break paragraph if the this
12261 paragraph is inside an inset which does not permit it!
12263 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12264 also with no chars on this paragraph.
12265 (paintRowText): only paint stuff if it's inside the workarea!
12267 * paragraph.C (breakParagraph): honor keepempty flag and break the
12268 paragraph always below not above.
12270 * BufferView2.C (unlockInset): update the paragraph layout on inset
12271 unlock as we changed paragraph in such a case.
12273 * lyxfind.C (LyXFind): clear the former selection if not found!
12275 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12276 again called in insertChar().
12278 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12279 an inset which uses the whole row!
12280 (rightMargin): ditto.
12281 (insertChar): force a rebreak if we inserted an inset!
12283 2002-03-28 Herbert Voss <voss@lyx.org>
12285 * lyxlength.[Ch]: add inBP() to get the right PS-point
12286 units (BigPoint). With inPixels we have rounding errors
12288 2002-04-11 Juergen Vigna <jug@sad.it>
12290 * text2.C (setCursorFromCoordinates): set iy to the right value.
12291 (setCursor): add check if row->previous exists!
12293 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12294 an old float_type as this was the case in the old code!
12296 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12298 * BufferView2.C (showLockedInsetCursor): use iy
12299 (fitLockedInsetCursor): ditto
12301 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12302 locked insets as there we have the right value now.
12304 * lyxcursor.C: added iy_ variable and iy functions to set to the
12305 baseline of cursor-y of the locked inset.
12307 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12308 (setCursor): fixed for insets which need a full row.
12310 * text.C (rowLastPrintable): don't ignore the last space when before
12311 an inset which needs a full row.
12312 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12313 as last character of a row when before a inset which needs a full row.
12315 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * version.C.in: update date
12319 * text2.C (fullRebreak): try to always return true and see what
12322 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12324 * MenuBackend.C (expand): use Floating::listName
12326 * FloatList.C (FloatList): add listName argument to the built-in
12329 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12330 text associated with the float.
12332 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12334 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12336 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12338 * ShareContainer.h: add a couple of missing typenames.
12340 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12342 * lyxrc.C (getDescription): use _() correctly rather than N_().
12344 2002-03-28 Herbert Voss <voss@lyx.org>
12346 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12347 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12349 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12351 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12352 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12354 2002-03-29 Juergen Vigna <jug@sad.it>
12356 * lyxfunc.C (dispatch): add a missing fitCursor call.
12358 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12359 it was scrolled by a cursor move, so return the bool status.
12361 * BufferView.C (fitCursor): return the bool flag also to the outside
12362 world as this is needed.
12364 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12366 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12367 call the edit() as it is not needed (and wrong) IMO.
12368 (workAreaButtonPress): set the screen_first variable before evt.
12369 unlock the inset as this may change screen_first and then we have
12370 a wrong y position for the click!
12372 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12374 * MenuBackend.C (expand): another translation that I missed
12376 2002-03-28 Juergen Vigna <jug@sad.it>
12378 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12380 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12382 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12384 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12386 * MenuBackend.C (expand): fix export/view/update when there is no
12389 2002-03-27 Herbert Voss <voss@lyx.org>
12391 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12394 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12396 * bufferview_funcs.C (currentState): only show paragraph number
12397 for is DEVEL_VERSION is set.
12399 * lyxfunc.C (dispatch): put warning in INFO channel
12401 * MenuBackend.C (expand): translate the name of floats
12403 * FloatList.C (FloatList): mark the float names for translation
12405 * converter.C (convert): use LibScriptSearch
12407 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12409 * MenuBackend.C (defaults): fix default menu (we might as well get
12412 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12414 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12417 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12419 * lyxvc.C: reorder includes.
12421 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12423 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12426 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12428 * CutAndPaste.C: change layouts earlier on paste
12429 to avoid crashing when calling getFont()
12431 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12433 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12436 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12438 * WorkArea.C: remove 'Pending' debug message.
12440 * most files: ws cleanup
12442 * buffer.[Ch]: ws changes
12444 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12446 2002-03-21 Juergen Vigna <jug@sad.it>
12448 * tabular.C (SetMultiColumn): collapse also the contents of the
12449 cells and set the last border right. Added a Buffer const * param.
12451 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12453 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12456 2002-03-19 Juergen Vigna <jug@sad.it>
12458 * text2.C (clearSelection): reset also xsel_cache.
12460 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12461 where it needs to be called (John tells us to do so too :)
12462 (selectionLost): reset sel_cache.
12464 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12466 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12468 * text2.C (setCursorIntern): put debuging code in INSETS channel
12470 2002-03-19 André Pönitz <poenitz@gmx.net>
12472 * lyxfunc.C: tiny whitespace change
12474 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12476 * ToolbarDefaults.C (init):
12477 * LyXAction.C (init):
12479 * BufferView_pimpl.C (Dispatch):
12480 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12482 2002-03-19 Allan Rae <rae@lyx.org>
12484 * exporter.C (Export): removeAutoInsets before doing anything else.
12485 While I've just introduced a dependency on BufferView this really is
12486 the best place to clean the buffer otherwise you need to cleanup in
12487 a dozen places before calling export or cleanup in a dozen functions
12490 * converter.C (runLaTeX):
12491 (scanLog): Better handling of removeAutoInsets and screen updates.
12493 * lyxfunc.C (dispatch): small whitespace changes
12495 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12497 * WorkArea.C (C_WorkAreaEvent): return a value.
12498 (event_cb): return 1 if we handled the event, 0 otherwise.
12500 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12502 2002-03-18 Juergen Vigna <jug@sad.it>
12504 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12505 (GetAdditionalWidth): ditto.
12506 (RightLine): ditto.
12509 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12510 inset if we're there actually (probably not used right now but this
12511 is the direction to go for unifying code).
12512 (paste): disable code to clear the selection.
12514 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12515 inside an InsetText and move the check further up as it is in the
12518 * text2.C (pasteSelection): set a selection over the pasted text.
12520 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12522 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12523 and libgraphics to build on Cygwin.
12525 2002-03-15 Juergen Vigna <jug@sad.it>
12527 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12528 inserting an Inset into the paragraph. I know this is not the best
12529 fix but we already use current_view in CutAndPaste so we will remove
12530 all of it's using at the same time.
12532 * buffer.C (sgmlError): deactivated function till it is rewritten in
12533 the right mode, now it can create problems.
12535 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12536 before accessing it.
12538 2002-03-14 Juergen Vigna <jug@sad.it>
12540 * undo_funcs.C (textHandleUndo): do the right thing when updating
12541 the inset after the undo/redo.
12543 * text2.C (setCursor): just some testcode for #44 not ready yet.
12545 * undo_funcs.C (textHandleUndo): set the next() and previous()
12546 pointers of the paragraph to 0 before deleting otherwise we have
12547 problems with the Paragraph::[destructor].
12549 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12550 on a paragraph insertion.
12552 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * buffer.C (asciiParagraph): use += operator for char append to
12557 * paragraph.C (getFontSettings): compare >= not just >
12558 (highestFontInRange): ditto
12561 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * paragraph.C: change several algorithm to be more appripriate for
12564 the problem domain. This is lookip in FontList and in the InsetList.
12566 2002-03-13 André Pönitz <poenitz@gmx.net>
12569 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12571 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12576 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12578 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12580 * Painter.C (display): anon helper function, adjust code for this
12582 (pixmap): remove function.
12584 * Painter.h: remove private display variable.
12586 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12588 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12590 * WorkArea.[Ch]: remove figinset_canvas cruft.
12592 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12594 * lyxtextclass.C (operator): add one item cache optimization.
12596 * bufferlist.h: doxy changes
12598 * bufferlist.C: ws changes
12600 * DepTable.[Ch] (ext_exist): place const in the right spot.
12602 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12604 (workAreaExpose): call resizeInsets when the with BufferView changes.
12605 (Dispatch): adjust for protectedBlank removal
12606 (specialChar): call updateInset if the insert went ok.
12608 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12609 specialChar instead.
12611 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12613 * BufferView.h: doxy change
12615 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12617 * lyxtextclass.C (operator[]): remove non-const version
12618 (defaultLayout): remove non-const version
12620 2002-03-12 Juergen Vigna <jug@sad.it>
12622 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12623 did resize the LyXText too.
12625 * buffer.C (readLyXformat2): set layout information on newly allocated
12628 * tabular.C (OldFormatRead): set layout information on the paragraph.
12630 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12632 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12634 2002-03-11 Juergen Vigna <jug@sad.it>
12636 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12638 (resizeCurrentBuffer): force also the insets to resize themselfes.
12639 (moveCursorUpdate): fixed up for InsetText.
12641 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12644 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12645 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12646 value of Dialogs::tooltipsEnabled().
12647 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12649 2002-03-08 Juergen Vigna <jug@sad.it>
12651 * BufferView_pimpl.C (updateInset): update inset inside inset also
12652 if it isn't inside theLockingInset().
12654 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * buffer.C (asciiParagraph): redo some of the word and line length
12658 (getLists): look for Caption instead of caption.
12660 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12662 * buffer.C (Buffer): initialize niceFile to true
12664 (makeLinuxDocFile):
12665 (makeDocBookFile): make sure niceFile is true on exit
12667 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12669 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12671 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12673 * LyXSendto.C: remove.
12674 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12675 * lyx_gui.C: remove now-redundant comment.
12676 * ColorHandler.h: remove forward declaration of class WorkArea.
12677 * lyxfunc.C: remove #include "WorkArea.h".
12679 2002-03-07 Juergen Vigna <jug@sad.it>
12681 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12682 got moved away with the DEPM and also set the inset_owner always
12683 right which before could have been omitted.
12685 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12687 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12688 wanted layout is not found.
12690 2002-03-07 Juergen Vigna <jug@sad.it>
12692 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12694 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12696 * paragraph.C (breakParagraph): use default layout not layout of
12698 (Paragraph): clear ParagraphParameters.
12700 2002-03-06 Juergen Vigna <jug@sad.it>
12702 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12703 otherwise it would not be a valid lenght. Fixed a special case in
12704 the minipage compatibility read where we end the document with a
12707 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12708 was set as it could be 0 for InsetTexts first entry.
12710 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * paragraph.C (writeFile): if layout is empty write out
12713 defaultLayoutName().
12715 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12716 file without named layout we set layout to defaultLayoutName().
12718 2002-03-06 Juergen Vigna <jug@sad.it>
12720 * CutAndPaste.C (copySelection): set layout for new paragraph.
12722 * text.C (prepareToPrint): leave ERT inset left aligned
12723 (leftMargin): don't indent paragraphs inside ERT insets
12725 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12727 * paragraph.C (breakParagraph): dont call clear do the work manually
12729 * paragraph.[Ch] (clear): remove function
12731 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * paragraph.C (Paragraph): dont call clear, the work has already
12736 * lyxtextclass.C (operator): assert if n is empty
12738 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12739 work manually instead.
12741 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12743 * BufferView_pimpl.C: protect selectionLost against text == 0
12745 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12747 * text.C (breakParagraph): fix a setting layout to '0' problem.
12749 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12751 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12752 final location of file, for the included files, and graphics.
12754 2002-03-05 Juergen Vigna <jug@sad.it>
12756 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12758 2002-03-04 Juergen Vigna <jug@sad.it>
12760 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12762 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12763 last column of multicolumn cells.
12764 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12766 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12768 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12769 file if it doesn't go to a temporary file.
12771 * buffer.C (sgmlOpenTag):
12772 (sgmlCloseTag): remove extra newline insertion.
12774 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12776 * text.C (getRowNearY): comment out debug msg
12778 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * text2.C: first -> first_y
12782 * text.C (getRowNearY): add some attemts at a possible
12783 optimization, not working.
12785 * tabular.[Ch]: add BufferParams to several function so that newly
12786 created paragraph can be initialized to he default layotu for the
12789 * tabular-old.C (ReadOld): add buf->params to call of Init
12791 * screen.C: rename text->first to text->first_y
12793 * paragraph.C (breakParagraph): always set layout in the broken
12796 * lyxtextclass.C (Read): remove lowercase
12799 (delete_layout): ditto
12801 * lyxtext.h: rename first -> first_y
12803 * lyxlayout.C (Read): remove lowercase
12806 (obsoleted_by): ditto
12808 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12810 * buffer.C (insertErtContents): add params are to InsetERT
12811 (parseSingleLyXformat2Token): add code to check if a paragraphs
12812 layout really exist.
12813 (parseSingleLyXformat2Token): add params to several inset
12815 (asciiParagraph): remove lowercase, do the layout comparisons with
12818 * BufferView_pimpl.C (cursorNext): first -> first_y
12819 (resizeCurrentBuffer): first -> first_y
12820 (updateScrollbar): first -> first_y
12821 (scrollCB): first -> first_y
12822 (workAreaMotionNotify): first -> first_y
12823 (workAreaButtonPress): first -> first_y
12824 (checkInsetHit): first -> first_y
12825 (cursorPrevious): first -> first_y
12826 (cursorNext): first -> first_y
12827 (Dispatch): add buffer_->params to severl inset contructors
12829 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12831 * lyxlayout.C (Read): remove some debug info that I forgot.
12833 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12834 clean up the code slightly.
12835 (makeLinuxDocFile): ditto
12836 (makeDocBookFile): ditto
12838 * text2.C: layout as string
12840 * text.C: layout as string
12842 * paragraph_pimpl.C: layout as string
12844 * paragraph.[Ch]: layout as string
12846 * lyxtextclasslist.[Ch]: layout as string
12848 * lyxtextclass.[Ch]: layout as string
12850 * lyxtext.h: layout as string
12852 * lyxlayout.[Ch]: layout as string
12854 * lyx_cb.C: layout as string
12856 * bufferview_funcs.C: layout as string
12858 * bufferparams.C: layout as string
12860 * buffer.C: layout as string
12862 * LyXView.[Ch]: layout as string
12864 * LaTeXFeatures.[Ch]: layout as string
12866 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12868 * BufferView_pimpl.C: change current_layout to string, remove
12873 (workAreaButtonRelease): layout as string
12875 * BufferView2.C (unlockInset): adjust
12877 * vspace.C (asLatexCommand): use an explict temp variable.
12879 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12881 * Makefile.am: use FRONTEND_*
12883 2002-03-01 Juergen Vigna <jug@sad.it>
12885 * tabular.C (SetWidthOfMulticolCell): changed to something better
12886 I hope but still work in progress.
12887 (recalculateMulticolumnsOfColumn): renamed function from
12888 recalculateMulticolCells as it is more appropriate now.
12889 (SetWidthOfCell): calculate multicols better.
12891 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12893 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12895 * lyxfunc.C (processKeySym): print sequence also if it is
12896 `deleted' (complete)
12898 * kbsequence.C (print): print sequence even if it is deleted
12899 (complete would be a better word, actually).
12901 * lyxfunc.C (dispatch): print complete options after a prefix key
12903 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12905 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12907 * text2.C (setCharFont): eliminate setCharFont code duplication.
12909 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12911 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12912 LFUN_TABULAR_FEATURE (bug #177)
12914 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12916 * Makefile.am: remove figure.h
12918 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12920 * Bufferview_pimpl.C:
12932 * text2.C: remove #include "lyx_gui_misc.h".
12934 * LaTeX.C: added #include <cstdio>
12936 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12938 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12939 that the paragraph following this one can have.
12941 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12943 * vspace.C (asLatexCommand): fix bogus gcc warning
12945 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12947 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12949 * text2.C (setLayout): get rid of redundant code
12951 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12953 * text2.C (incDepth): make sure depth cannot be increased beyond
12956 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12958 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12959 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12961 * PainterBase.h (image):
12962 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12963 a LyXImage const *.
12965 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12969 * BufferView_pimpl.C:
12970 * BufferView_pimpl.h:
12990 * sp_spell.C: remove fig inset, and the crap house of
12991 cards that follows it
12993 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12998 * os2_errortable.h:
12999 * nt_defines.h: move .h into support/
13001 * vms_defines.h: remove
13003 * WorkArea.C: add space in debug output
13007 * buffer.C: add WITH_WARNINGS
13011 * bufferlist.C: s/retrive/retrieve/, add docs
13020 * chset.C: add docs
13022 * lyxgui.C: add ID to X error handler
13024 * lyxtestclass.c: fix typo
13026 2002-02-26 Juergen Vigna <jug@sad.it>
13028 * tabular_funcs.C (write_attribute): changed so that some default
13029 attributes are not written at all.
13030 (getTokenValue): set default values before trying to read the
13031 value so we have the return value always set as default if we don't
13032 find the token we search for.
13034 * tabular.C (Write): write bools as bools not as strings!
13036 2002-02-22 Juergen Vigna <jug@sad.it>
13038 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13039 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13041 * text.C (leftMargin): don't add an indent for paragraphs inside
13042 tabular cells (fix #208).
13044 2002-02-21 José Matos <jamatos@fep.up.pt>
13046 * tabular.C (docBook): fixed support for long tables.
13048 2002-02-20 Juergen Vigna <jug@sad.it>
13050 * text2.C (getFont): get the drawing font of the Inset if this
13051 paragraph is inside an inset (only important for InsetERT for now).
13053 * buffer.C (insertErtContents): use new lanugage params in ERT
13056 * CutAndPaste.C: commenting out seemingly uneeded code.
13058 2002-02-19 Allan Rae <rae@lyx.org>
13060 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13061 Iterators might be simple to use but they also get invalidated.
13062 (removeAutoInsets): renamed saved cursor tracking variables and added
13063 some comments to clarify what everything does.
13065 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13072 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13073 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13076 * vc-backend.h: remove #include "support/syscall.h"
13080 * converter.C: rearrange #includes in Lars' approved fashion.
13082 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13083 forward declare class Timeout in the header file.
13085 * XFormsView.C: changes due to the above.
13087 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13088 similar to LyXView.
13090 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13091 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13093 2002-02-18 José Matos <jamatos@fep.up.pt>
13095 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13098 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13100 * a lot of small ws changes
13101 * add a lot of using std::XXX
13102 * use std construcs some places where approp.
13103 * use some exisint stuff from lyxfunctional where approp.
13104 * Make file changes to use partial linking (lets test this now...)
13106 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13110 remove #include "support/syscontr.h" as it's redundant. Always has been.
13118 change Systemcalls::System to Systemcalls::Wait and
13119 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13120 No change of functionality, just reflects the stripped down Systemcalls
13123 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13125 * debug.[Ch]: add a GRAPHICS type to the enum.
13127 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13129 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13131 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13134 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13136 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13137 match the changes below.
13139 * text2.C (toggleInset): if there is not editable inset at cursor
13140 position, try to see if cursor is _inside_ a collapsable inset
13143 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13145 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13146 document menu has a nice checkbox
13148 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13150 * lyxlength.C (asLatexString): change PW to output as percent of
13153 * lengthcommon.C: change '%' to 't%'
13155 * lyxfunc.C (dispatch): a few comments from Martin
13157 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13161 * BufferView_pimpl.h:
13162 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13165 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13167 * vspace.C (inPixels): fix compiler warning
13169 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13171 * lyxfunc.C (getStatus): fix status message for disabled commands.
13173 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13175 * BufferView_pimpl.C: fix crash on close buffer
13176 during selection (#227)
13178 2002-01-27 Herbert Voss <voss@lyx.org>
13180 * buffer.C: link old Figure to new graphic inset
13182 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13184 * FontLoader.C (getFontinfo): Change the latex font names in order
13185 to match the names of type1inst.
13187 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13189 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13191 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13192 (extchanged): ditto
13194 (remove_files_with_extension): ditto
13195 (remove_file): ditto
13198 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13199 document is smaller than the work area height. Do not initialize
13200 static variables to 0.
13202 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13204 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13206 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13207 LFUN_LAYOUT_PARAGRAPHS.
13209 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13210 tabular. It is possible to provide a possible cell, which will
13211 typically be the actcell from the corresponding insettabular
13213 * lyxfunc.C (getStatus): small cleanup; disable
13214 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13217 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13219 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13221 * paragraph.C (startTeXParParams):
13222 (endTeXParParams): new methods. The LaTeX code to
13223 start/end paragraph formatting
13224 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13225 empty (fixes bug #200)
13227 * vspace.C (inPixels): adapt to the change below
13228 (inPixels): [later] more cleanups (remove unused variables)
13230 * lyxlength.C (inPixels): change to use a width and a height as
13233 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13235 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13236 Replaced with \paperwidth
13238 * DepTable.C (insert): add std:: qualifier
13240 2002-01-18 Allan Rae <rae@lyx.org>
13242 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13245 * text.C (drawInset): Turned out I didn't know enough about how
13246 rebreaking worked. This fixes most of the redraw problems. I see
13247 an occasional cursor trail when a line is broken now and the cursor
13248 placement can seem out by a few pixels also after a rebreak.
13250 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13252 * buffer.C (parseSingleLyXformat2Token): update because minipage
13253 width is now a LyXLength
13255 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13257 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13260 2002-01-17 Juergen Vigna <jug@sad.it>
13262 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13264 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13265 is set correctly and the inset is updated correctly.
13267 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13269 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13270 the beginning of the loop.
13272 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13274 * lyxrc.C: improve help for use_scalable_fonts
13276 2002-01-17 Allan Rae <rae@lyx.org>
13278 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13280 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13282 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13283 make sure to set their inset_owner to the right value (bug #171)
13285 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13288 * DepTable.C: Implement mtime checking to reduce time spent doing
13291 2002-01-16 Juergen Vigna <jug@sad.it>
13293 * tabular.C (GetAdditionalHeight): one of error fixed.
13295 * lyxrc.C (output): small fix in writing use_pspell.
13297 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13299 * sp_base.h: #include LString.h
13301 2002-01-16 Allan Rae <rae@lyx.org>
13303 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13304 Can someone check this please?
13306 * text.C (drawInset): It was possible that p.row would be removed by
13307 breakAgainOneRow upsetting a few other settings. There may be another
13308 small tweak possible by setting need_break_row = 0 when p.row has been
13309 removed but I don't know enough about the logic here.
13311 2002-01-15 Allan Rae <rae@lyx.org>
13313 * text.C (insertChar): removed conditional truism.
13315 * BufferView2.C (removeAutoInsets): More tweaks.
13316 cur_par_prev could be a stray pointer. Check for trailing empty line
13317 in case last line was cur_par and only had an error inset on it.
13319 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13321 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13324 * vc-backend.C (most methods):
13325 * exporter.C (Export):
13326 * converter.C (convert):
13328 * LyXSendto.C (SendtoApplyCB):
13329 * lyxfunc.C (dispatch):
13333 * lyx_cb.C (AutoSave):
13335 * BufferView_pimpl.C (MenuInsertLyXFile):
13336 * buffer.C (runChktex): use Buffer::filePath().
13338 * buffer.h: rename filename to filename_; rename filepath to
13339 filepath_ and make it private
13340 (filePath): new method
13342 * buffer.C (writeFile): use fileName()
13345 * lyx_main.C (init): fix starting of LyX when the binary is a
13346 link from so,ewhere else.
13348 * minibuffer.C: include <cctype> for isprint
13350 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13352 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13353 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13354 name clash with InsetCollapsable's width function.
13356 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13358 * lastfiles.C: include <iterator>
13360 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13362 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13365 * buffer.C (makeLaTeXFile): ditto.
13366 Also make loop operation more transparent.
13368 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13370 * ToolbarDefaults.C: remove trailing comma closing namespace.
13372 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13374 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13377 * trans.C (Load): comment out unused variable, allowed.
13379 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13381 * minibuffer.[Ch] (append_char): new method to recieve input from the
13382 drop-down completion browser. If a key was pressed, then recieve this
13383 char and append it to the existing string.
13384 (peek_event): modify the positioning data passed to the completion
13385 browser so that it can be placed above the minibuffer rather than below.
13386 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13388 * LyXAction.C (init): alloe error-next for readonly documents.
13390 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13393 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13395 * bufferlist.C (readFile): create the buffer _after_ checking that
13398 * lyxfunc.C (verboseDispatch): fix handling of arguments
13400 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13402 * lyxrc.C: use string::erase() instead of initializing to "".
13405 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13407 * BufferView_pimpl.h:
13408 * BufferView_pimpl.C:
13411 * text2.C: tell X when we have made a selection for copying
13413 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13415 * BufferView_pimpl.C (MenuInsertLyXFile):
13416 * lyxfunc.C (menuNew):
13418 (doImport): add shortcuts to directory buttons
13420 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13423 * lyxfunc.C (setStatusMessage):
13424 (getStatusMessage): new methods
13425 (getStatus):use setStatusMessage instead of setErrorMessage
13426 (dispatch): when function is disabled, set error message here
13427 [instead of in getStatus previously]
13429 * BufferView_pimpl.C (workAreaButtonRelease): update
13430 toolbar/menubar here too.
13432 2002-01-13 Allan Rae <rae@lyx.org>
13434 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13435 Now seems indestructible. Remaining task is to audit all other
13436 code affected by deleteEmptyParagraphMechanism. One small quirk
13437 left is that an empty document with an error in the preamble can
13438 be made to report an error but no error box appears. I don't know
13440 (removeAutoInsets): Improved comments.
13442 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13445 * Thesaurus.C: update for Aiksaurus 0.14
13447 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13449 * text2.C (firstParagraph): removed member function, all uses
13450 replaces with ownerParagraph
13451 (redoParagraphs): here
13452 (updateInset): here
13453 (toggleAppendix): here
13454 * BufferView2.C (insertErrors): here
13455 (setCursorFromRow): here
13457 2002-01-13 Allan Rae <rae@lyx.org>
13459 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13460 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13461 There is still a way to segfault this although you may have to do this
13462 multiple times: Have an InsetERT with an unknown command in it.
13463 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13464 <down-arrow>, <Enter> again, View->DVI, BANG!
13466 * text2.C (setCursor):
13467 (deleteEmptyParagraphMechanism):
13468 * lyxtext.h (setCursor):
13469 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13470 Making use of the return value may help fix other bugs.
13472 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13474 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13476 * LyXView.C (updateMenubar): call MenuBar::update here
13477 (updateToolbar): but not here
13478 (showState): do not update toolbar/menubar
13480 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13481 should need to care about that.
13483 * lyxfunc.C (verboseDispatch): simplify a bit
13484 (getStatus): have a version which takes a pseudoaction, and
13485 another which requires a (kb_action,string).
13487 * LyXAction.C (retrieveActionArg): make it work also when action
13488 is not a pseudo-action.
13489 (getActionName): simplify a bit
13492 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13494 * lyxfunc.C (verboseDispatch): new families of methods with
13495 several ways to specify a command and a bool to indicate whether
13496 the command name and shortcut should be displayed in minibuffer
13497 (eventually, we could extend that to a finer bitmask like
13498 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13499 (dispatch): the pristine dispatch command which just, well,
13500 dispatchs! Note it still sets its result to minibuffer; I'm not
13503 * lyxfunc.h: remove setHintMessage
13505 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13507 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13509 * BufferView_pimpl.C (specialChar): delete new inset if we have
13510 not been able to insert it.
13512 * kbmap.C: revert to using int instead of kb_action, since all we
13513 are dealing with is pseudo-actions.
13515 * LyXAction.C (searchActionArg): change to return int instead of
13516 kb_action, since the result is a pseudoaction.
13518 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13520 * buffer.C (insertErtContents): Fix (partially) the font bug.
13522 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13524 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13525 as the other one is broken on my machine!
13527 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13530 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13532 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13534 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13535 reflect their actual use. Provide compatibility code for older lyxrc
13538 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13540 change names of popup font variables in line with the changes to lyxrc.C
13542 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13544 * buffer.C (asciiParagraph): avoid outputing a word twice after
13547 * lyxrc.C (getDescription): document that document_path and
13548 template_path can be empty.
13550 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13552 * LaTeXFeatures.C (getMacros):
13553 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13555 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13557 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13559 (getPackages): rename feature "floats" to "float". Use an array to
13560 iterate over 'simple' features (i.e. just a \usepackage). Add
13561 handling of "amsmath" (renamed from "amsstyle").
13563 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13565 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13568 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13570 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13571 FuncStaus::FuncStatus & FuncStaus::some_method().
13573 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13575 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13576 of the func_satus stuff. Edited and massaged in various ways by
13579 * lyxfunc.C (getStatus): use FuncStatus
13581 2002-01-08 Juergen Vigna <jug@sad.it>
13583 * text.C (nextBreakPoint): use function Inset::isChar().
13585 * paragraph.C (TeXOnePar): use function
13586 Inset::forceDefaultParagraphs.
13588 * buffer.C (latexParagraphs): use function
13589 Inset::forceDefaultParagraphs.
13591 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13593 * lyx_gui.C (init): set the style of the menu popups to
13594 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13596 2002-01-07 Juergen Vigna <jug@sad.it>
13598 * text.C (setHeightOfRow): small fix
13599 (prepareToPrint): don't look at alignment if we don't have the place
13602 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13604 * box.C: New file. Move the Box methods and functions out of box.h,
13605 following Lars' suggestion.
13607 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13609 * box.h: #include "support/LOstream.h", needed for inlined function.
13612 * lyxtextclasslist.C: added some using std declarations.
13614 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13616 * box.h: make signed dimensions to allow insets wider than
13617 the screen (bug #162)
13619 * BufferView_pimpl.C: add some insetHit debug
13621 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13623 * vc-backend.C: add FIXME
13625 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13627 * lyxfunc.C (getStatus): enable code for showing math font status
13630 2002-01-07 Juergen Vigna <jug@sad.it>
13632 * text.C (nextBreakPoint): removed debug output not needed anymore.
13634 2002-01-06 Juergen Vigna <jug@sad.it>
13636 * text.C (nextBreakPoint): fixed up this function we had this bug
13637 since ever but now hopefully we break row better.
13638 (insertChar): we have to check if an inset is the next char as it
13639 could now happen that a large inset is causing a break.
13641 2002-01-05 Juergen Vigna <jug@sad.it>
13643 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13644 if it doesn't like to be drawed.
13646 2002-01-04 Juergen Vigna <jug@sad.it>
13648 * BufferView2.C (lockInset): forgot to set a cursor.
13650 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13652 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13654 * FormMathsPanel.C:
13657 * form_maths_panel.C:
13658 * form_maths_panel.h:
13659 * form_maths_panel.fd: implemented sub- and super- buttons in math
13662 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13663 (or ^ space) to be used as in TeX (req'd by André).
13665 * lyxfunc.C: Allow ^ and _ again to be used both as
13666 super/subscript (mathed) and as themselves (in text).
13668 2002-01-03 Allan Rae <rae@lyx.org>
13670 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13671 "LyX" or the filename of the current buffer if it has one. This is a
13672 modified form of John Levon's patch.
13674 * XFormsView.C (setWindowTitle): also set icon title.
13676 * LyXView.h (setWindowTitle): signature changed.
13677 * XFormsView.h (setWindowTitle): ditto.
13679 2002-01-02 Juergen Vigna <jug@sad.it>
13681 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13683 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13685 * screen.C (topCursorVisible): introduce a temp var for
13686 text->cursor.row(), handle the case where this row is null. (kindo
13689 * text2.C (setCursor): add a couple of asserts.
13691 * paragraph.h (inset_iterator): add -> operator
13693 * paragraph.[Ch] (autoDeleteInsets): remove member function
13695 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13696 cursor pos correctly and handle inset deletion by itself.
13697 (insertErrors): move iterator declaration out of for expression
13699 * lyxtextclass.C: add <algorithm>
13701 * Makefile.am: added the new files to sources, removed layout.C
13703 * layout.C: removed file
13705 * layout.h: remove LYX_DUMMY_LAYOUT
13707 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13711 * lyxtextclass.[Ch]:
13712 * lyxtextclasslist.[Ch]: new files
13714 * include order changes to a lot of files, also changes because of
13717 2001-12-27 Juergen Vigna <jug@sad.it>
13719 * buffer.C (asciiParagraph): more fixes.
13721 * tabular.C (ascii): make ascii export support export of only the
13722 data separated by a column-delimiter.
13723 (ascii): better support for ascii export.
13725 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13727 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13729 * tabular_funcs.C: use a "using std::getline" instead of the
13730 previous fix from Angus (necessary for cxx + lyxstring)
13732 2001-12-24 Juergen Vigna <jug@sad.it>
13734 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13736 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13737 problems. First check a minipage also if we have some ert-contents
13738 (not only on par->size(), second set the right depth of the paragraph
13739 on the relink to the root-paragraph-list!
13741 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13742 which then did not anymore update the main paragraphs on undo/redo!
13744 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13746 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13747 code. Support all font-changing funcs (even those which are not in
13748 menu currently). Support for reporting font settings in
13749 mathed (disabled until Andre provides a function on mathed's side).
13751 * func_status.h (toggle): small helper function to set toggle
13754 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13756 * tabular_funcs.C: getline -> std::getline
13758 2001-12-21 Juergen Vigna <jug@sad.it>
13760 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13761 accessed and could be 0 (I couldn't generate this but it seems
13764 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13766 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13767 * tabular_funcs.h: here and include iosfwd
13769 2001-12-20 Juergen Vigna <jug@sad.it>
13771 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13772 inside inset but undo_par was.
13774 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13776 * Thesaurus.C: always include <config.h> in sources.
13780 * box.h: do not include <config.h> in header files
13782 * text.C (paintLastRow): remove unused variable
13784 * text.C (transformChar):
13786 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13788 * Painter.C (text):
13789 * font.C (width): rewrite to use uppercase() instead of
13792 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13794 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13796 * lyxfind.C: clean up of find failure position change
13798 2001-12-20 Juergen Vigna <jug@sad.it>
13800 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13802 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13803 (TeXRow): added to LaTeX a single tabular row.
13804 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13805 (Latex): simplified and finally good LT-h/f support.
13806 (various_functions): just small adaptions for LT-h/f support.
13808 * tabular_funcs.[hC]: added and moved here all not classfunctions
13811 2001-12-19 Juergen Vigna <jug@sad.it>
13813 * tabular.[Ch]: better support for longtabular options (not finished
13816 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13818 * text.C (paintLastRow): use the label font instead of the font of
13819 the last character to compute the size of *_BOX. This makes more
13820 sense and avoids a crash with empty paragraphs.
13821 Use Painter::rectangle to draw EMPTY_BOX.
13823 2001-12-19 Juergen Vigna <jug@sad.it>
13825 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13826 the paragraphs if the replaced paragraph is not the first one!
13827 Tried to delete not used paragraphs but does not work yet so for
13828 now it's inside #ifdef's and by default off!
13830 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13832 * MenuBackend.C: include "lyx_main.h" instead of declaring
13833 lastfiles (actually was declared as LastFiles* instead of a
13836 2001-12-17 Juergen Vigna <jug@sad.it>
13838 * tabular.C (AppendColumn): applied John's fix
13840 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13844 * BufferView_pimpl.h:
13845 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13848 * box.h: new start of class for above
13850 * lyxfunc.C: ignore space-only minibuffer dispatches.
13851 Show the command name when it doesn't exist
13853 * minibuffer.C: don't add empty lines to the history
13855 * minibuffer.C: add a space on dropdown completion
13857 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13859 * text.C: fix line above/below drawing in insets
13861 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13863 * lyxlength.C (LyXLength): Initialize private variables.
13865 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13867 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13868 when inserting error insets.
13870 2001-12-13 Juergen Vigna <jug@sad.it>
13872 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13873 actually sometimes the before-paragraph.
13874 (setUndo): don't clear the redostack if we're not actually undoing!
13876 2001-12-06 Juergen Vigna <jug@sad.it>
13878 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13879 and fixed redoing of main paragraph, so we can use it now ;)
13881 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13883 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13885 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13888 2001-12-13 André Pönitz <poenitz@gmx.net>
13891 * undo_func.C: minor cleanup
13893 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13895 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13896 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13897 font in urw-fonts package which is marked as -urw-fontspecific and
13898 does not work (incidentally, changing the encoding in the
13899 fonts.dir of this package to -adobe-fontspecific fixes the
13902 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13903 is a crash when undoing first paragraph (Juergen, please take a
13904 look). THis does not mean the undo fix is wrong, just that it
13907 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13908 the (Paragraph*) version when needed instead of duplicating the
13911 * text.C (workWidth): use Inset::parOwner to find out where the
13912 inset has been inserted. This is a huge performance gain for large
13913 documents with lots of insets. If Inset::parOwner is not set, fall
13914 back on the brute force method
13916 * paragraph_pimpl.C (insertInset):
13917 * paragraph.C (Paragraph):
13918 (cutIntoMinibuffer): set parOwner of insets when
13919 inserting/removing them
13921 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13923 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13929 * mathed/formulabase.C:
13930 * mathed/math_cursor.[Ch]:
13931 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13934 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13936 * lyxlength.[Ch] (operator!=): new function
13938 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13940 * text.C (workWidth): use Inset::parOwner to find out where the
13941 inset has been inserted. This is a huge performance gain for large
13942 documents with lots of insets. If Inset::parOwner is not set, fall
13943 back on the brute force method
13945 * paragraph_pimpl.C (insertInset):
13946 * paragraph.C (Paragraph):
13947 (cutIntoMinibuffer): set parOwner of insets when
13948 inserting/removing them
13950 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13952 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13954 * tabular-old.C (getTokenValue):
13955 * tabular.C (getTokenValue):
13956 (write_attribute): new versions for LyXLength
13957 (everywhere): adjust the use of widths
13959 * tabular.h: change the type of widths from string to LyXLength
13961 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13963 * paragraph.C: fixed missing line number count when exporting
13964 Environments to LaTeX file
13966 * buffer.C: added informational message for checking line numbers.
13968 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13970 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13971 paragraph, do the 'double space' part, but not the 'empty
13974 * text.C (workWidth): small optimization
13975 (getLengthMarkerHeight): use minimal size for negative lengths.
13977 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13979 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13981 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13983 2001-12-11 André Pönitz <poenitz@gmx.net>
13986 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13988 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13990 * text2.C: keep selection on a setFont()
13992 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13994 * lyx_cb.C: another bv->text misuse, from insert label
13996 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13999 * kbsequence.C: re-instate nmodifier mask
14001 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14003 * lyx_main.h: make lyxGUI private.
14005 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14007 * lyxfind.C: place the cursor correctly on failed search
14009 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14011 * text.C (getLengthMarkerHeight): for small heights, the arrows
14012 are not always on top/bottom of the text
14013 (drawLengthMarker): smaller arrows; take the left margin in
14014 account; draw also vfills.
14016 (paintLastRow): remove special code for vfill and standard spaces,
14017 since everything is handled in drawLengthMarker now.
14019 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14021 * buffer.C (insertErtContents): try to handle font and language
14022 interaction a bit better.g
14024 * ColorHandler.C (updateColor): change the hash to cover the whole
14025 LColor enum, ws cleanup
14026 (getGCLinepars): ditto
14027 (getGCLinepars): only lookup in the linecache once.
14029 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14031 * iterators.C (operator++): Make the iterator more robust
14033 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14035 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14037 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14040 * text.C: better added space drawing
14042 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14045 * BufferView2.C: fix layout combo update on inset unlock
14047 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14049 * Makefile.am: don't compile unused files
14051 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14055 * LyXAction.C: remove old LFUN_LAYOUTNO
14057 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14059 * paragraph_pimpl.h:
14060 * paragraph_pimpl.C: isTextAt() doesn't need font param
14062 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14065 * lyxlex.C: little cleanup
14067 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14069 * BufferView_pimpl.C: fix insertAscii for insets
14071 2001-12-05 Juergen Vigna <jug@sad.it>
14073 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14074 set the right font on the "multi" paragraph paste!
14076 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * lyxlength.C: remove out-commented code.
14084 * BufferView_pimpl:
14098 * vc-backend.C: change "while(" to "while ("
14100 * lyxlength.[Ch]: add zero function to check if length is zero or
14102 * lyxgluelength.C: use it
14104 2001-12-05 Allan Rae <rae@lyx.org>
14106 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14107 Works for 2.95.3, from what I understand of Garst's reports this should
14108 work for other g++ versions. We're screwed if the abs(int) definition
14109 changed between bugfix releases of gcc.
14111 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14113 * text.C: fix chapter label offset !
14115 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14118 * text.C: fix hfill at end of line, clean up
14120 2001-12-04 Juergen Vigna <jug@sad.it>
14122 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14123 that we force an update of the inset and it's owners if neccessary.
14125 2001-12-03 Juergen Vigna <jug@sad.it>
14127 * text.C (rowLast): simplified code
14129 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14131 * lyxfunc.C: fix show options on timeout
14133 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14135 * screen.C (topCursorVisible): scroll half a page when the cursor
14136 reached top of bottom of screen
14138 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14140 * minibuffer.C: deactivate on loss of focus
14142 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14144 * vspace.[Ch] (operator!=): add operator.
14146 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14148 * BufferView_pimpl.C: refuse to open an inset when
14149 there's a selection.
14151 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14153 * BufferView_pimpl.C: allow to click on RHS of full row insets
14155 2001-11-30 Juergen Vigna <jug@sad.it>
14157 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14158 insets for undo reasons.
14160 2001-11-28 André Pönitz <poenitz@gmx.net>
14162 * vspace.[Ch]: cosmetical changes
14164 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14174 * kbsequence.C: part re-write of old kb code
14177 * WorkArea.C: remove Lgb_bug_find_hack
14179 2001-11-30 José Matos <jamatos@fep.up.pt>
14181 * buffer.C (makeDocBookFile): add a comment to point a hack.
14182 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14183 Fixed a double write of labels.
14185 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14188 * LaTeX.h Fixed bug in LaTeX class where it would not
14189 re-run latex if no depfiles were changed, but the .dvi was removed.
14191 2001-11-28 André Pönitz <poenitz@gmx.net>
14193 * all the files from the change on 2001/11/26:
14194 use lyx::layout_type instead of LyXTextClass::size_type
14195 use lyx::textclass_type instead of LyXTextClassList::size_type
14197 2001-11-29 Juergen Vigna <jug@sad.it>
14199 * text.C: added support for paragraph::isFreeSpacing()
14201 * buffer.C: same as above
14203 * paragraph.h: inserted isFreeSpacing() function to enable
14204 FreeSpacing inside InsetERT.
14206 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14207 of the paragraph's in the cut/copy buffer to 0!
14209 * text2.C (removeRow): remove the assert as it can!
14211 * lyxtext.h: added helper function firstRow returning firstrow and
14212 made firstrow private again.
14214 * BufferView2.C (lockInset): don't relock if we're already locked!
14216 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14217 the only paragraph.
14218 (removeRow): added Assert::(firstrow)
14220 * debug.C: forgot to add INSETTEXT here.
14222 2001-11-28 Juergen Vigna <jug@sad.it>
14224 * sp_spell.C (initialize): changed error text to more general
14225 spellchecker command use (not only ispell!)
14227 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14229 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14231 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14233 * vspace.C: initialise lyxgluelength on failure
14235 2001-11-28 Allan Rae <rae@lyx.org>
14237 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14238 declaration & definition that looks like a function declaration.
14240 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14242 * BufferView2.C (copy):
14243 (copyEnvironment): do not clear the selection when doing a copy.
14245 * text.C (paintFirstRow): compilation fix
14247 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14249 * tabular.C (Latex): correct line count when writing latex.
14251 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14253 * paragraph_pimpl.h:
14254 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14257 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14261 * LColor.C: change vfillline->added_space
14263 * text.C: add markers and text for added space
14265 * vspace.C: fix comment
14267 2001-11-28 André Pönitz <poenitz@gmx.net>
14269 * paragraph.C: whitespace changes
14270 * all the other files from the change on 2001/11/26:
14271 change *::pos_type into lyx::pos_type
14273 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14275 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14276 language of the document when inserting error insets.
14278 2001-11-26 André Pönitz <poenitz@gmx.net>
14280 * BufferView_pimpl.[Ch]:
14288 * paragraph_pimpl.[Ch]:
14291 * text2.C: reduce header dependencies, introduce type for positions
14293 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14295 * <various>: change to use Alert.h
14297 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14299 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14300 when encountering an unknown token.
14301 (readLyXformat2): Show an error message if there were unknown tokens.
14303 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14306 * BufferView_pimpl.C:
14310 * text2.C: use par->isInset()
14312 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14314 * paragraph_pimpl.h:
14315 * paragraph_pimpl.C: cleanup
14317 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14319 * text2.C (removeRow):
14320 * text.C (setHeightOfRow): remove useless (and costly) call to
14323 2001-11-20 Allan Rae <rae@lyx.org>
14325 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14326 Now need Inset*::checkInsertChar() to return true for appropriate
14327 cases so that the characters in the minibuffer will actually be
14330 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14332 * text.C: change the order of the includes.
14333 (workWidth): initialize it at once.
14334 (workWidth): make maxw unsigned
14335 (setHeightOfRow): remove unused variable (inset)
14336 (selectSelectedWord): remove unused variable (inset)
14337 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14339 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14341 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14342 server is not running.
14344 (closeConnection): add debug info when server is disabled.
14346 * ColorHandler.C (getGCForeground): send debug message to GUI
14349 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14351 * kbmap.C (bind): modify because return conventions of
14352 kb_sequence::parse have changed.
14354 * kbsequence.C (parse): only ignore spaces and not any stupid
14355 control character. This avoids tests like s[i] <= ' ', which are
14356 guaranteed to fail with 8bit characters and signed chars.
14357 Change return code to string::npos when there have been no error
14358 (0 was a bad idea when error is at first character)
14360 2001-11-14 José Matos <jamatos@fep.up.pt>
14363 * buffer.C (simpleDocBookOnePar): removed unused argument.
14365 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14367 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14368 insets which are part of a word. Paragraph::isLetter takes care of
14369 that now. Use Paragraph::isInset to identify insets.
14370 (selectSelectedWord): do not test for hyphenation break.
14372 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14373 that protected spaces are considered as spaces.
14375 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14378 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14381 * lyxserver.C: fix it. and small cleanup.
14383 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14385 * BufferView_pimpl.C: use inline helpers
14388 * LaTeXFeatures.C: fix typos
14391 * Spacing.C: move spacing_string into class
14393 * ToolbarDefaults.C: move stuff into namespace anon
14395 * layout.h: update enum
14397 * lyxfunc.C: use better debug
14399 * minibuffer.h: fix typo
14403 * WorkArea.C: add and use Debug::WORKAREA
14407 * text2.C: code re-organisation, inline helpers
14409 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14411 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14412 std::vector.empty().
14414 2001-11-09 Allan Rae <rae@lyx.org>
14416 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14417 '\n's after tables. Tabular and ERT inset work now makes this no
14420 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14423 * minibuffer.C: fix crash, improve drop-down completion
14425 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14428 * lyxserver.C: invalidate fd's when doing endPipe()
14430 2001-11-08 José Matos <jamatos@fep.up.pt>
14432 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14433 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14436 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14438 2001-11-07 José Matos <jamatos@fep.up.pt>
14441 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14444 * buffer.C (sgmlOpenTag):
14445 * buffer.C (sgmlCloseTag): removed debug info.
14447 * buffer.h (sgmlOpenTag):
14448 * buffer.h (sgmlCloseTag): made public.
14450 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14452 * buffer.C (saveParamsAsDefaults):
14453 * lyx_cb.C (MenuLayoutSave): remove
14455 * LyXAction.C (init):
14457 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14459 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14461 * buffer.C (setPaperStuff): removed from here...
14463 * bufferparams.C (setPaperStuff): ... and moved there.
14465 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14469 * XFormsView.C: add support for drop-down completion
14471 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14473 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14476 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14478 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14481 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14483 * lyx_main.C: change ref to known bugs
14485 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14487 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14488 to work around older babel problems.
14490 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14492 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14494 2001-10-24 Juergen Vigna <jug@sad.it>
14496 * tabular-old.C (ReadOld): below variable changes reflected.
14498 * tabular.[Ch]: added ltType struct for longtable header/footer
14499 defines and changed all instances where they are used. Added
14500 future support for double top/bottom rows.
14502 2001-10-24 José Matos <jamatos@fep.up.pt>
14504 * buffer.h (docbookHandleCaption):
14505 * buffer.C (docbookHandleCaption): removed unused function.
14506 (makeDocBookFile): moved docbook supported version to v4.1.
14508 2001-10-24 José Matos <jamatos@fep.up.pt>
14511 * tabular.C (docbookRow): new function to export docbook code of a row.
14512 (DocBook): now honors the longtable flags.
14514 2001-10-23 José Matos <jamatos@fep.up.pt>
14517 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14518 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14520 * buffer.C (makeLinuxDocFile):
14521 (makeDocBookFile): reworked the preamble, more clean, and with
14522 support for lyx defined entities. Changed the document declaration
14523 to be more XML friendly.
14525 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14526 if we need to output XML that should be done with a filter.
14528 2001-10-22 Juergen Vigna <jug@sad.it>
14530 * sp_pspell.h (class PSpell): add alive function needed in the
14531 controller to see if the spellchecker could be started.
14533 2001-10-22 Juergen Vigna <jug@sad.it>
14535 * buffer.C (insertStringAsLines): modify the font for inserting
14536 chars in certain conditions by calling checkInsertChar(font).
14538 2001-10-19 Juergen Vigna <jug@sad.it>
14540 * text.C (workWidth): use getRow instead of wrong algorithm.
14541 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14543 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14548 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14550 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14552 * text.C (workWidth): do not search for the exact row when
14553 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14554 optimization for big documents.
14556 2001-10-18 Juergen Vigna <jug@sad.it>
14558 * text.C (workWidth): new function with added Inset * parameter.
14560 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14562 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14564 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14565 change return type of getColumnNearX.
14568 * text.C (changeRegionCase): use uppercase/lowercase instead of
14571 (rightMargin): simplify code by factoring out the uses of
14576 (appendParagraph): use Paragraph::size_type
14578 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14580 * vspace.C (asLatexString): add a missing break
14582 2001-10-15 Herbert Voss <voss@perce.de>
14584 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14586 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14588 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14591 2001-10-10 André Pönitz <poenitz@gmx.net>
14593 * lyxfunc.C: removed greek_kb_flag.
14595 2001-10-10 Herbert Voss <voss@perce.de>
14597 * lyx_main.C: delete global string help_lyxdir.
14599 2001-10-09 Herbert Voss <voss@perce.de>
14601 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14603 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14605 * lyx_main.C: added global string help_lyxdir.
14607 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14609 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14611 * lyxrc.C (set_font_norm_type): support iso8859-4
14613 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14615 * LaTeX.C (deplog): add another regex for MikTeX
14617 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14619 * lyxrc.C (set_font_norm_type): support iso8859-3
14621 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14623 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14625 * LaTeXFeatures.C: remove special case of french and index
14627 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14628 before \begin{document}). This solves several incompatibilities.
14630 2001-10-03 Garst Reese <reese@isn.net>
14632 * lyx_cb.C: change CheckTex error msg.
14634 2001-10-03 José Matos <jamatos@fep.up.pt>
14636 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14638 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14640 * .cvsignore: update
14642 * lyx_main.C (commandLineVersionInfo): use new style version info.
14644 * buffer.C (writeFile):
14646 (makeLinuxDocFile):
14647 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14649 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14651 * version.h: update to use stuff in version.C
14653 * version.C.in: new file. Contains version information determined
14654 at compile time. This is a merging of version.h and
14657 2001-10-03 Juergen Vigna <jug@sad.it>
14659 * BufferView_pimpl.C (update): don't change "dirty" status in
14662 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14664 * WorkArea.C (c-tor): re-position version string slightly.
14666 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14668 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14669 revert to previous code.
14671 WorkArea.[Ch]: (show, destroySplash): methods removed.
14673 WorkArea.C: rework code so that it's an amalgam of the codes before and
14674 after the splash screen was moved to WorkArea.
14676 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14679 * vspace.C (inPixels):
14682 * buffer.C (insertStringAsLines):
14683 (asciiParagraph): fix types to be large enough
14685 * lyxlex_pimpl.h: change member status from short to int
14687 * layout.h: fix type of endlabeltype
14690 * kbsequence.C (parse): change return type to string::size_type
14692 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14695 * Bullet.C (bulletSize):
14696 (bulletEntry): do not use short ints as parameters
14698 * BufferView2.C (insertLyXFile): change a char to an int.
14700 * WorkArea.C (WorkArea): remove unneeded floats in computation
14702 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14704 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14706 * paragraph.C (asString): Do not ignore newline/hfill chars when
14707 copying to the clipboard.
14709 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14711 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14712 after a multi-line inset.
14714 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14716 * paragraph.C (validate): Set NeedLyXFootnoteCode
14718 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14720 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14721 and decrease-error to decrease.
14723 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14725 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14726 it more readable (should be equivalent)
14728 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14730 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14732 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14734 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14735 of a cursor (row, etc.) after a character has been deleted
14736 (deleteEmptyParagraphMechanism): call the method above on _all_
14737 cursors held by the LyXText when a double space has been
14740 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14742 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14744 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14746 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14747 background. Use greyOut() and the new show() methods to toggle between
14748 the foreground and background. Add code to remove the splash after
14749 its initial showing.
14751 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14752 (create_forms): no longer call Dialogs::showSplash.
14754 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14756 * .cvsignore: add version_info.h
14758 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14760 * version_info.h.in: new file
14762 * Makefile.am: add version_info.h.in
14764 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14765 version_info.h instead of VERSION_INFO
14767 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14769 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14770 The ERT inset now returns string().
14772 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14774 * lyxtext.h, text.C (selectNextWord): renamed as
14775 selectNextWordToSpellcheck.
14777 * text.C (selectNextWordToSpellcheck): Modified to not select
14778 words inside an ERT inset.
14780 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14782 * lyx_cb.C (MenuLayoutSave): change a bit the question
14784 * sp_base.h: include <sys/types.h>
14786 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14788 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14790 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14792 * several files: fix typos in user-visible strings
14794 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14796 * text2.C (pasteSelection): do not set the selection, since it
14797 will be cleared later. Actually, the intent was to fix the way the
14798 selection was set, but I figured rmoving the code was just as good.
14800 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14802 * FontLoader.C (available): Check if font is available without
14805 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14807 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14809 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14811 * lyxrc.[Ch]: added display_graphics variable and associated code.
14813 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14815 * bufferparams.C (hasClassDefaults): new method. Returns true if
14816 the buffer parameters correspond to known class defaults
14818 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14820 * XFormsView.C (show): set minimum size to the main window.
14822 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14824 * text2.C (copySelection):
14826 * lyxfind.C (LyXReplace):
14827 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14828 LyXText::selectionAsString.
14830 * paragraph.C (asString): add "label" argument to the second form
14832 * text2.C (selectionAsString): add "label" argument and pass it to
14833 Paragraph::asString.
14835 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14837 * lyx_main.C (commandLineHelp): remove version information
14839 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14841 * lyx_main.C: add -version commandline option
14843 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14845 * paragraph.h: make the optional constructor arg required instead.
14846 some modifications to other files because of this.
14848 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14850 * lyxserver.C (C_LyXComm_callback): make it static
14852 * lyx_main.C (error_handler): make it static
14854 * lyx_gui.C (LyX_XErrHandler): make it static
14856 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14858 * WorkArea.C: make the extern "C" methods static.
14860 * Makefile.am (lyx_LDADD): simplify
14862 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14864 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14865 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14867 * LyXAction.C (init):
14868 * lyxfunc.C (dispatch): associated code removal.
14870 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14872 * lyxfont.h (isSymbolFont): shut off warning
14874 * text.C (setHeightOfRow):
14875 (getVisibleRow): fix crash with empty paragraphs which have a
14878 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14880 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14883 2001-09-04 José Matos <jamatos@fep.up.pt>
14886 * tabular.C (docbook): rename docBook method to docbook.
14888 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14890 * Makefile.am: add dependencies to main.o.
14892 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14894 * FontLoader.C (available): Return false if !lyxrc.use_gui
14896 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14898 * FontInfo.C (query):
14899 * converter.C (view):
14900 * importer.C (Import):
14901 * exporter.C (Export): Can not -> cannot.
14903 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14905 * BufferView_pimpl.C: allow to create index inset even if
14908 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14910 * buffer.C (getLists): replace boost::tie code with an explicit pair
14911 as boost::tie can break some compilers.
14913 * iterators.h: Added a std:: declaration to the return type of
14916 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14918 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14921 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14923 * iterators.[Ch]: New files. Provide paragraph iterators.
14925 * buffer.C (changeLanguage): Use paragraph iterators.
14926 (isMultiLingual): ditto
14928 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14930 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14932 * FontLoader.C: Support for cmr font.
14934 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14936 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14937 (available): New method.
14939 * FontInfo.C (getFontname): Use scalable fonts even when
14940 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14943 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14945 * converter.C (Formats::view): reverted! Incorrect fix.
14947 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14949 * converter.C (Formats::view): only output the -paper option
14950 if the dvi viewer is xdvi, thereby fixing bug #233429.
14952 2001-08-23 Herbert Voss <voss@perce>
14954 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14956 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14958 * Spacing.h (Spacing): Set space to Default on in the default
14961 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14963 * vc-backend.h (RCS::versionString): add RCS to version
14964 (CVS::versionString): add CVS to version
14966 * vc-backend.C (scanMaster): do not add CVS to version.
14967 (scanMaster): do not add RCS to version
14969 * lyxvc.C (versionString): new method
14971 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14973 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14975 * Spacing.C (set): initialize fval
14977 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14979 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14982 2001-08-16 Juergen Vigna <jug@sad.it>
14984 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14986 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14988 * BufferView_pimpl.C:
14991 * text2.C: setParagraph takes linespacing now
14993 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14995 * LyxAction.C: add internal LFUN_CITATION_INSERT
14997 * LyXView.C: actually apply fix
14999 * bufferlist.C: fix open non-existent file
15001 * lyxfind.C: fix indentation
15003 * lyxfunc.C: remove unneeded assert, fix typo
15005 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15007 * MenuBackend.C: use "Floatname List"
15009 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15011 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15012 when converting LaTeX layout to insetERT.
15013 Generate a non-collapsed float when reading old float
15015 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15017 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15020 2001-08-13 Juergen Vigna <jug@sad.it>
15022 * text.C (fill): return 0 instead of 20 as this seems to be the more
15025 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15027 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15030 2001-08-13 Juergen Vigna <jug@sad.it>
15032 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15034 (SearchBackward): comment out the unlocking of the inset_owner this
15035 should not be needed!
15037 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15039 * Many files: Remove inherit_language, and add latex_language
15041 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15042 collapsible insets.
15044 2001-08-10 Juergen Vigna <jug@sad.it>
15046 * text.C (prepareToPrint): fixed hfill-width in draw!
15048 * BufferView2.C (selectLastWord): save the selection cursor as this
15049 now is cleared in the function LyXText::clearSelection!
15051 2001-08-08 Juergen Vigna <jug@sad.it>
15053 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15054 BACKSPACE type functions.
15056 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15057 is only cutted from the document but not put in the cut-buffer, where
15058 still the old stuff should be.
15060 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15062 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15064 * tabular.C (SetWidthOfCell): fixed special case where the width
15066 (LeftLine): handle '|' in align_special.
15068 (LeftAlreadyDrawed): ditto
15069 (SetWidthOfCell): ditto
15071 2001-08-07 Juergen Vigna <jug@sad.it>
15073 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15075 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15077 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15078 * lyxlex.[hC]: ditto
15080 2001-08-06 Juergen Vigna <jug@sad.it>
15082 * text.C (getVisibleRow): fix up row clearing a bit.
15084 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15086 * minibuffer.C: make sure the X server sees the changes in the input.
15088 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15090 * paragraph.C (getFont): split into...
15091 (getLabelFont): this
15092 (getLayoutFont): and this
15093 * paragraph_pimpl.C (realizeFont): calling this
15095 * text2.C (getFont): split into...
15096 (getLayoutFont): this
15097 (getLabelFont): and this
15098 (realizeFont): all three calling this
15100 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15103 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15105 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15107 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15109 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15110 layouts from the Quote inset insertion.
15112 2001-08-03 Juergen Vigna <jug@sad.it>
15114 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15116 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15117 only if status not is already CHANGED_IN_DRAW (second level).
15119 * text.C (draw): don't set the need_break_row when inside an
15122 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15124 * buffer.C (parseSingleLyXformat2Token): handle more latex
15127 * bufferview_funcs.[hC]: change function names to
15128 begin with small char, adjust other files.
15130 2001-08-02 André Pönitz <poenitz@gmx.net>
15133 BufferView_pimpl.C: remove broken special code for math-greek
15135 2001-08-02 Juergen Vigna <jug@sad.it>
15137 * BufferView_pimpl.C (update): redone this function so that we
15138 update the text again if there was a CHANGE_IN_DRAW.
15140 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15141 (drawFromTo): added a new internal bool which is used by draw() and
15143 (general): some cursor drawing problems fixed.
15145 2001-08-01 Juergen Vigna <jug@sad.it>
15147 * lyxfind.C (LyXFind): fixed
15148 (SearchForward): ditto
15149 (SearchBackward): ditto
15151 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15152 spurius drawing of the cursor in the main area.
15154 * text2.C (status): small fix which could lead to a segfault!
15155 (clearSelection): remove unneeded BufferView param.
15157 2001-08-01 André Pönitz <poenitz@gmx.net>
15159 * lyxfunc.C: small change due to changed mathed interface
15161 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15163 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15165 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15167 * lyxfunc.c: fail gracefully if file doesn't exist
15172 * BufferView_pimpl.C: IsDirWriteable() proto changed
15174 * LyXView.C: fix updateWindowTitle() to store the last title
15176 2001-07-31 Juergen Vigna <jug@sad.it>
15178 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15179 the font (wrong since using of Paragraph::highestFontInRange).
15181 * paragraph.C (highestFontInRange): added a default_size parameter.
15183 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15184 (setHeightOfRow): reformat
15186 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15188 * converter.[hC] + affected files: move to (inital-char)lowercase
15191 * ParagraphParameters.C (ParagraphParameters): remove commented code
15193 * PainterBase.[Ch]: remove commented code
15195 * LaTeXFeatures.h: add "bool floats" for float.sty
15197 * LaTeXFeatures.C (LaTeXFeatures): init floats
15198 (require): handle float
15199 (getPackages): do it with floats
15201 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15203 * BufferView_pimpl.C (Dispatch): improve handling of
15204 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15206 * commandtags.h: #include lyxfont.h here temporarily to avoid
15209 * bufferlist.h: include LString.h here.
15211 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15213 * text2.C (getStringToIndex): new method.
15215 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15217 * *: Reduced header file dependencies all over.
15219 2001-07-30 Baruch Even <baruch@lyx.org>
15221 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15223 2001-07-29 Baruch Even <baruch@lyx.org>
15225 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15227 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15229 * ParameterStruct.h (endif): add a default constructor to make
15230 sure that all variables is initialized.
15232 * ParagraphParameters.C (ParagraphParameters): adjust
15234 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15236 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15237 index; also, check that there is something to index, and that it
15238 does not span over several paragraphs.
15239 (doubleClick): use WHOLE_WORD_STRICT for double click.
15241 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15243 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15246 2001-07-26 Baruch Even <baruch@lyx.org>
15248 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15249 an InsetFig figure, backwards compatible reading of old figure code.
15251 2001-07-27 Juergen Vigna <jug@sad.it>
15253 * text2.C: font.realize function adaption.
15255 * text.C (draw): add a warnings lyxerr text if needed.
15257 * layout.C: font.realize function adaption.
15259 * language.C: add inherit_language and implement it's handlings
15261 * bufferview_funcs.C (StyleReset): remove language parameter from
15262 font creation (should be language_inherit now).
15264 * bufferparams.C (writeFile): handle ignore_language.
15266 * paragraph.C (getFontSettings): the language has to be resolved
15267 otherwise we have problems in LyXFont!
15269 * lyxfont.C (lyxWriteChanges): added document_language parameter
15270 (update): removed unneeded language parameter
15272 * paragraph.C (validate): fixed wrong output of color-package when
15273 using interface colors for certain fonts in certain environments,
15274 which should not seen as that on the final output.
15276 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15278 * BufferView_pimpl.C:
15283 * LyXAction.C: add thesaurus support
15286 * lyxfind.C: add "once" parameter, for thesaurus, to not
15287 move to the next match
15289 2001-07-26 Juergen Vigna <jug@sad.it>
15291 * lyxfont.C (realize): honor ignore_language too!
15294 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15296 * text.C (draw): one place more for ignore_language to not draw
15299 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15301 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15303 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15305 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15306 the minipage conversion problem.
15308 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15310 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15313 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15315 * BufferView.h: don't forward declare WorkArea
15317 * BufferView.C: don't include WorkArea.h
15319 2001-07-25 André Pönitz <poenitz@gmx.net>
15323 * lyxfunc.C: new LFUN 'math-space'
15325 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15327 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15329 * text2.C (toggleInset): call open/close
15331 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15333 * lyxfunc.C (dispatch): add debug for the disabled case
15335 * font.C (buttonText): make similar to rectText
15337 * buffer.C (readInset): comment out parsing of insetlist and
15340 * PainterBase.C (rectText): small correction
15342 * BufferView_pimpl.C: comment out insettheorem and insetlist
15343 * LyXAction.C: ditto
15344 * commandtags.h: ditto
15346 2001-07-24 Juergen Vigna <jug@sad.it>
15348 * text.C (draw): honor the ignore_language.
15350 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15352 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15354 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15357 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15359 * lyxtext.h: remove unused (and unimplemented) methods
15361 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15363 * text.C (getVisibleRow): honor background color
15366 * Painter.h: remove default color argument for fillRectangle
15368 * text.C (backgroundColor): new method
15370 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15372 * text.C (getVisibleRow): adjust
15374 * font.[Ch] (rectText): new method, metrics
15375 (buttonText): new method, metrics
15377 * PainterBase.[hC]: make rectText and buttonText always draw and take
15380 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15382 * ToolbarDefaults.C (read):
15383 * MenuBackend.C (read): allow escaping in all strings
15385 * BufferView_pimpl.C (insertAndEditInset): new method.
15386 (Dispatch): use insertAndEditInset whenever appropriate.
15388 * BufferView_pimpl.C (insertNote): removed
15390 * BufferView_pimpl.C (smartQuote): new method, moved from
15391 BufferView; if an insetquote cannot be inserted, insert a '"'
15394 * BufferView2.C: remove insertCorrectQuote();
15396 * lyxfunc.C (getStatus): Add support for all remaingin
15397 inset-insert lfuns.
15399 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15401 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15402 command (necessary to pass " as parameter of self-insert.
15404 * text.C (selectWordWhenUnderCursor):
15405 (selectWord): add word_location parameter
15406 (selectWordWhenUnderCursor): same + remove special code for word
15408 (selectNextWord): use kind() to guess type of insetspecialchar,
15411 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15412 (insertErtContents): create ert insets as collapsed.
15413 (readInset): better compatibility code for Info inset.
15415 2001-07-20 Juergen Vigna <jug@sad.it>
15417 * lyxfunc.C (dispatch): use always LyXFind now!
15419 * text2.C (init): add a reinit flag so that the LyXText can be
15420 reinited instead of deleted and reallocated (used in InsetText).
15422 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15428 2001-07-18 Juergen Vigna <jug@sad.it>
15430 * text.C (selectNextWord): handle insets inside inset by calling
15431 always the bv->text functions so that we can go up the_locking_inset!
15433 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15434 in strange locations when inside an inset!
15436 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15437 handling to include insets.
15439 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15441 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15443 * LyXAction.C (init):
15445 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15446 LIGATURE_BREAK, since the name is so stupid.
15448 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15450 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15453 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15455 * sp_form.[Ch]: remove.
15457 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15459 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15462 * src/buffer.C (readInset): ditto.
15464 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15466 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15467 menuSeparator(), endOfSentenceDot(), ldots() and
15468 hyphenationPoint(), which are therefore removed.
15469 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15471 * LyXAction.C (init):
15472 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15474 * paragraph.C (getWord): removed.
15476 * BufferView_pimpl.C (Dispatch): use last word or selection for
15477 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15479 * lyx_main.C (queryUserLyXDir): do not ask before creating
15480 user_dir, except if it has been named explicitely.
15482 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15484 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15485 a document of zero size.
15487 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15489 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15490 approriately in the c-tor and in require().
15491 (getPackages): output the appropriate LaTeX for natbib support.
15493 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15494 variables "use_natbib" and "use_numerical_citations" when reading the
15496 (readInset): read the various natbib cite commands.
15497 (validate): white-space change.
15499 * bufferparams.[Ch]: new variables "bool use_natbib" and
15500 "bool use_numerical_citations".
15501 (writeFile): output them in the LyX file.
15503 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15505 * lyxfunc.C (getStatus): add support for all the inset insertion
15508 * text2.C (insertInset):
15509 * paragraph.C (insetAllowed):
15510 * BufferView_pimpl.C (insertInset): update to take in account the
15511 renaming of insertInsetAllowed
15513 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15515 * text2.C (getInset): new method. returns inset at cursor position.
15517 * BufferView_pimpl.C (Dispatch): changes because of this.
15519 * LyXAction.C (init): rename open-stuff to inset-toggle.
15521 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15523 * text2.C (toggleInset): renamed from openStuff; use
15526 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15528 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15530 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15532 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15534 * buffer.C (readLyXformat2): Add filename to the error dialog
15536 2001-07-18 Juergen Vigna <jug@sad.it>
15538 * tabular.C (GetCellNumber): put an assert here instead of the check!
15540 2001-07-17 Juergen Vigna <jug@sad.it>
15542 * BufferView_pimpl.C (toggleSelection): adapted too.
15544 * text.C (selectNextWord): adapted for use with insets.
15545 (selectSelectedWord): ditto
15547 2001-07-17 Juergen Vigna <jug@sad.it>
15549 * sp_spell.C (PSpell): fix initialitation order.
15551 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15553 * paragraph.C: spacing
15555 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15557 * sp_spell.C: repair language selection for pspell
15559 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15561 * lyxfunc.h: change more methods to begin with lower char.
15563 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15565 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15566 for unknown layouts.
15568 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15570 * buffer.C (readLyXformat2): Generate an error dialog if there are
15573 2001-07-16 Juergen Vigna <jug@sad.it>
15575 * sp_spell.C: always compile ISpell part.
15577 * lyxrc.C: added use_pspell entry and it's handling.
15579 2001-07-13 Juergen Vigna <jug@sad.it>
15581 * sp_spell.C: removed double includes.
15583 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15585 Consistent use of Lsstream.h:
15586 * Lsstream.h: added using std::stringstream for consistencies sake.
15588 * buffer.C: removed using std::stringstream
15590 * lyxfont.C (stateText):
15591 * paragraph.C (asString):
15592 * text.C (selectNextWord, selectSelectedWord):
15593 * text2.C (setCounter):
15594 * vspace.C (asString, asLatexString):
15595 std::ostringstream -> ostringstream.
15597 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15599 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15600 * commandtags.h: add LFUN_HELP_ABOUTLYX
15601 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15603 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15605 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15607 * lyx_gui_misc.C: remove spellchecker
15608 * lyxfunc.C: showSpellchecker
15610 * sp_ispell.h: added
15611 * sp_pspell.h: added
15612 * sp_spell.C: added
15613 * sp_form.[Ch]: removed
15614 * spellchecker.[Ch]: removed
15616 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15618 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15620 (simpleTeXSpecialChars): Simply print the input character without
15621 any special translation if pass_thru is set.
15623 * layout.h: Added bool pass_thru to layout class for being able to
15624 implement pass through of a paragraph for Literate Programming.
15626 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15627 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15628 * layout.C (Read): add "passthru" to list of layout tags and add
15629 code to set the pass_thru boolean when it is read.
15631 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15633 * trans_decl.h: remove allowed from KmodInfo
15635 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15636 remove allowed code
15639 * paragraph_pimpl.C (erase): use boost::prior
15641 * Painter.C (text): use data() instead of c_str() when length is
15643 * WorkArea.C (putClipboard): ditto
15644 * font.h (width): ditto
15646 * BufferView2.C: use it-> instead of (*it). for iterators
15648 * paragraph_pimpl.C: ditto
15649 * paragraph.C: ditto
15650 * minibuffer.C: ditto
15651 * language.C: ditto
15653 * encoding.C: ditto
15654 * counters.C: ditto
15655 * converter.C: ditto
15657 * Variables.C: ditto
15658 * TextCache.C: ditto
15659 * MenuBackend.C: ditto
15660 * LyXAction.C: ditto
15662 * FloatList.C: ditto
15663 * DepTable.C: ditto
15664 * ColorHandler.C (LyXColorHandler): ditto
15666 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15668 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15670 * text2.C (openStuff): reintroduce this method (which had been
15671 nuked in NEW_INSETS frenzy).
15673 * lyxfunc.C (Dispatch): when an action has not been handled, use
15674 its name in the error message, not its number.
15676 * paragraph.C (inInset): change method name to begin with lowercase.
15679 * text2.C: updates because of this.
15681 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15683 * ToolbarDefaults.C (add): add spaces in error message
15685 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15687 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15688 (readLyXformat2): rename return_par to first_par, use lyxlex's
15689 pushToken and remove the manual push handling.
15690 (parseSingleLyXformat2Token): add another ert comp. variable:
15691 in_tabular, rename return_par to first_par. handle newlines better
15693 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15695 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15697 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15699 * text2.C (getParFromID): removed
15701 * buffer.C (getParFromID): new method moved form lyxtext.
15702 * BufferView2.C (insertErrors): adjust
15703 (setCursorFromRow): adjust
15704 * BufferView_pimpl.C (restorePosition): adjust
15705 * lyxfunc.C (Dispatch): adjust
15706 * undo_funcs.C (textUndo): adjust
15708 (textHandleUndo): adjust
15709 (textHandleUndo): adjust
15711 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15713 * buffer.C: up' the LYX_FORMAT
15715 * lyxfont.h: turn NO_LATEX on as default
15717 * buffer.C (insertErtContents): new methods of tex style compability.
15718 (parseSingleLyXformat2Token): use it several places.
15719 * tabular.C (OldFormatRead): and here
15721 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15723 * text2.C: remove some commented code.
15726 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15727 * trans.C: changes because of the above.
15729 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15731 * text2.C (setCounter): Fix counters bug with bibliography layout.
15733 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15735 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15736 own member functions
15737 (simpleTeXSpecialChars): ditto
15739 2001-07-06 Juergen Vigna <jug@sad.it>
15741 * a lot of files: changed the access to LyXText::status and the
15742 call of undo-functions.
15744 * undo.[Ch]: added a inset_id to the undo informations.
15746 * undo_funcs.[Ch]: added and moved here all undo functions.
15748 * lyxtext.h: give the status enum a weight, made status_ a private
15749 variable and made accessor functions for it, removed the whole bunch
15750 of undo-functions as they are now in their own file, make some
15751 functions publically available. Added function ownerParagraph with
15754 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15755 made InInset() a const function, added getParFromID() function.
15757 * buffer.[Ch]: added const version for inset_iterator functions,
15758 added getInsetFromID() function.
15760 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15761 changed undo functions for new version.
15763 2001-07-05 Juergen Vigna <jug@sad.it>
15765 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15766 unknow mechanism does not call the proper constructor but only this
15767 one also if I request the other!?
15769 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15771 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15773 * text2.C (LyXText): use initialization lists.
15775 * lyxtext.h (Selection): initialize set_ and mark_
15776 (init): remove method
15778 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15780 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15782 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15784 * screen.[Ch]: change method names to begin with lowercase
15786 * BufferView_pimpl.C (updateScrollbar): simplify further and
15787 hopefully make it a bit faster.
15789 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15791 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15792 calling directly xforms functions.
15794 * Painter.C (Painter):
15795 * lyx_cb.C (MenuWrite):
15796 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15799 * lyx_gui.C: remove bogus guiruntime extern declaration.
15801 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15803 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15805 (redoDrawingOfParagraph): ditto
15806 (redoParagraphs): ditto
15807 (cutSelection): don't create a object for CutAndPaste use the
15808 static method directly
15809 (pasteSelection): ditto
15811 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15814 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15816 * modifications to some other files because of this.
15818 * Makefile.am (lyx_SOURCES): add XFormsView
15820 * XFormsView.[Ch]: new files
15822 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15823 the main window. Move the gui dependent stuff to XFormsView
15825 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15827 * tabular.C (GetCellInset): update cur_cell also in the row/col
15828 version of this function.
15830 * lyxfunc.C: no need to include figure_form.h here.
15836 * lyxvc.C: no need to include forms.h here.
15838 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15840 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15842 * lyxfunc.C (Dispatch):
15844 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15845 constructor argument.
15847 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15849 * paragraph.C (Paragraph): dont't clear, and just set layout.
15850 (makeSameLayout): use params's copy contructor.
15852 * ParagraphParameters.[Ch] (makeSame): delete method
15854 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15856 * Variables.[Ch]: fix indentation, rename set to isSet
15858 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15860 * lyxfunc.C (Dispatch): fix typo
15862 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15864 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15867 * bufferlist.C: include assert.h for emergencyWrite().
15869 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15871 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15872 give up at last (bug #425202) !
15874 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15880 * spellchecker.C: strip spellchecker options and bring up
15881 preferences tab instead
15883 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15885 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15886 the istringstream constructor
15888 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15890 * paragraph.C (getLayout): fix return value
15892 * paragraph.h: do not declare getLayout as inline.
15894 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15896 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15898 * lyxcursor.h (operator<): new func
15899 (operator>): new func
15900 (operator>=): new func
15901 (operator<=): new func
15903 * text.C (changeCase): use selection.start and selection.end
15904 (changeRegionCase): require from to be <= to. Require par to be a
15907 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15909 2001-06-27 Juergen Vigna <jug@sad.it>
15911 * text.C (cursorLeftOneWord): changed to return the cursor and added
15912 overlay with BufferView * parameter which calls this one.
15914 (selectWord): use new getWord function.
15915 (changeCase): renamed from changeWordCase as and extended to work
15916 also on selections.
15918 * lyxtext.h: added enum word_location
15920 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15921 changeCase as this operates now also on selections.
15923 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15925 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15927 * many files: send debug output to Debug::INFO instead of
15930 * converter.C (View):
15932 (Move): send debug output to Debug::FILES instead of console.
15934 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15936 * lyxfunc.C (getStatus): use func_status
15938 * func_status.h: new header, describing the results of
15939 LyXFunc::getStatus;
15941 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15944 2001-06-25 The LyX Project <jug@sad.it>
15946 * buffer.C (sgmlOpenTag):
15948 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15950 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15952 * text2.C: remove some dead code
15954 * tabular.C (GetCellInset): store the last cell checked (gotten)
15956 * tabular.h: add the helper for the speedup
15958 * lyxtext.h: remove some dead code
15960 2001-06-26 The LyX Project <Asger>
15962 * paragraph.C: Change export to LaTeX of alignment to
15963 \begin{center} and family for better roundtrip work with reLyX.
15965 * Tune the math drawing a bit.
15967 2001-06-25 The LyX Project <Asger>
15969 * LColor.C (LColor): New color for math background. New color
15972 2001-06-25 The LyX Project <jug@sad.it>
15974 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15976 * lyxfunc.C (Open):
15977 * bufferlist.C (newFile): do not restrict to files ending with
15980 * BufferView_pimpl.C (MenuInsertLyXFile):
15982 2001-06-24 The LyX Project <jug@sad.it>
15984 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15987 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15989 * lyxtext.h: rename most methods to begin with a small char.
15990 Lots of changes because of this.
15992 * paragraph.C (Paragraph): do not call fitToSize
15993 (erase): call Pimpl::erase
15994 (insertChar): call Pimpl::insertChar
15995 (insertInset): call Pipl::insertInset
15996 (breakParagraph): do not call fitToSize
15997 (breakParagraphConservative): do not call fitToSize
15998 (fitToSize): remove method
16000 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16002 2001-06-24 The LyX Project <Asger>
16004 * Fix Qt compilation^2
16006 2001-06-24 The LyX Project <jug@sad.it>
16008 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16009 depthHook(getDepth()-1).
16012 * ParagraphParameters.h:
16013 * ParameterStruct.h: change type of depth to unsigned int ==
16014 depth_type. Many adaptations to other files before of that.
16016 2001-06-24 The LyX Project <Asger>
16018 * Fix Qt compilation.
16020 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16022 * paragraph.h: renamed several methods to begin with small letter.
16023 several changes to many parts of the code because of this.
16025 2001-06-23 The LyX Project <jug@sad.it>
16027 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16028 rewritten to discard all double spaces when KeepEmpty is off
16029 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16030 to only handle newlines but not fiddle with spaces and friends.
16032 * lyxfunc.C (MenuNew): when doing 'new from template', use
16033 template_path as default directory
16035 2001-06-23 The LyX Project <Asger>
16037 * Clean-up of header file includes all over
16038 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16040 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16042 * paragraph.h: renamed from lyxparagraph.h
16044 2001-06-23 Asger <lyx@violet.home.sad.it>
16046 * Buffer.h: Removed Buffer::resize
16047 * BufferList.h: Removed BufferList::resize
16048 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16049 the document lazily when we change the width, or the font settings.
16051 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16053 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16055 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16057 * buffer.h: remove out of date comment
16059 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16062 * screen.C: fix "theoretical" GC leak
16064 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16066 * LaTeX.C (scanAuxFile):
16067 (deplog): remove trailing \r when reading stream (useful under
16070 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16072 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16073 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16074 and BufferView::theLockingInset(Inset*), so should use them and not
16075 access bv_->text->the_locking_inset directly.
16077 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16079 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16082 * tex-defs.h: remove old unused file
16084 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16086 * BufferView_pimpl.C: fix typo, remove minibuffer message
16087 when buffer has loaded
16089 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16091 * lyxfunc.C (Dispatch): use stringstream
16092 (MenuNew): use stringstream
16093 (Open): use stringstream
16095 * importer.C (Import): use stringstream
16097 * bufferview_funcs.C (CurrentState): use stringstream
16099 * LaTeX.C (run): use stringstream
16101 * BufferView_pimpl.C (savePosition): use stringstream
16102 (restorePosition): use stringstream
16103 (MenuInsertLyXFile): use stringstream
16105 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16118 * vspace.C: removed // -*- C++ -*- as first line.
16121 * version.h: added // -*- C++ -*- as first line.
16123 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16125 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16127 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16130 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16132 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16135 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16137 * gettext.C: include LString.h even when --disable-nls is on.
16139 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16141 * converter.h (Get): changed argument type from int to
16142 FormatList::size_type to avoid unnecessary conversion.
16144 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16147 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16149 * gettext.h: include LString.h even when --disable-nls is on.
16151 2001-06-07 Juergen Vigna <jug@sad.it>
16153 * text.C (BreakAgain): subst spaces with tabs.
16155 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16156 (resizeInsetsLyXText): set force on resizeLyXText.
16158 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16160 * gettext.h (gettext_init):
16161 (locale_init): use a real definition instead of a macro
16163 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16165 * Bufferview_pimpl.C:
16167 * LColor.C: further lcolor tidies
16169 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16171 * BufferView_pimpl.C (updateScrollbar): simplify.
16173 * BufferView2.C: don't include insets/insetinfo.h, change
16174 prototype for insertInset and call the Pimpl version. let
16175 updateInset call Pimpl version.
16177 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16178 gotoInset to BufferView::Pimpl
16180 2001-06-01 Juergen Vigna <jug@sad.it>
16182 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16183 inside a LockingInset (is the update needed at all?).
16185 2001-05-31 Juergen Vigna <jug@sad.it>
16187 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16188 here not the old one otherwise how should we compare it afterwards
16191 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16196 * FontInfo.C: bring C functions into global namespace when
16199 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16201 * LString.h: make sure config.h has been loaded before LString.h.
16203 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16204 (one for each char read by EatLine!).
16206 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16209 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16211 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16212 to the same as the par we break from
16214 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16216 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16218 * MenuBackend.C (expand): also create menu entries for wide
16219 versions of the floats.
16221 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16223 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16225 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16226 frontends/Makefile.am
16232 * tabular.C (getTokenValue): add std::
16234 * tabular-old.C (getTokenValue): add std::
16235 (getTokenValue): ditto
16236 (getTokenValue): ditto
16238 * screen.C (ToggleSelection): adjust
16240 * lyxtext.h: put selection cursors inside a Selection struct.
16242 * lyxfunc.C (moveCursorUpdate): adjust
16244 * lyxfont.C (latexWriteStartChanges): add std::
16246 * lyxfind.C: adjust
16248 * font.h: delete with(char const *, LyXFont const &)
16250 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16252 * FontInfo.C (getFontname): add std::
16254 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16255 (workAreaButtonPress): adjust
16256 (tripleClick): adjust
16258 (moveCursorUpdate): adjust
16261 * BufferView2.C (gotoInset): adjust
16263 2001-05-30 Juergen Vigna <jug@sad.it>
16265 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16266 to check pspell I add this as default as I now have new pspell
16267 libraries and they seem to use this.
16269 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16271 * text2.C (CutSelection): make the cursor valid before the call to
16274 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16276 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16277 relied on 0 terminated strings and other horrors. Bug found due to
16278 the new assert in lyxstring!
16280 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16283 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16285 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16288 * lyxfunc.C (processKeySym): change method of getting to the
16291 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16292 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16293 * BufferView_pimpl.[Ch]: here as private methods.
16295 2001-05-28 Juergen Vigna <jug@sad.it>
16297 * text.C (SetHeightOfRow): added the update() call again as it is
16298 needed to initialize inset dimensions!
16300 2001-05-16 Juergen Vigna <jug@sad.it>
16302 * text2.C (SetCharFont): Add new function with BufferView * and
16303 bool toggleall parameters for setting insets internal fonts.
16304 (SetFont): Freeze the undo as we may change fonts in Insets and
16305 all this change should be inside only one Undo!
16307 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16308 setting font's in insets as for them we have the SetFont function!
16310 2001-05-15 Juergen Vigna <jug@sad.it>
16312 * text2.C (ClearSelection): to be sure we REALLY don't have any
16315 * tabular.C (TeXCellPreamble): fixed the left border problem for
16318 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16320 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16323 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16325 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16326 LFUN_BREAKPARAGRAPH.
16328 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16329 help test to "internal only", similar for LFUN_INSERT_URL
16331 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16332 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16333 auto_region_delete and deadkeys.
16335 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16338 * LColor.C: remove some dead entries, tidy a little
16340 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16342 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16344 (Dispatch): implement LFUN_ESCAPE
16346 * commandtags.h: add LFUN_ESCAPE
16348 * LyXAction.C (init): add entry for LFUN_ESCAPE
16350 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16351 Remove commented code.
16352 (insertNote): moved here
16353 (open_new_inset): moved here
16355 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16358 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16360 * kbmap.C (findbinding): clean it up and make it work correctly.
16362 * lyx_main.C (init): do not pass argc and argv as parameters
16364 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16366 * buffer.C: fix path for OS/2 & Win32
16370 * lyx_main.C: Added os:: class.
16372 * os2_defines.h: update
16374 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16376 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16377 better by trying again with reduced state.
16379 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16381 * lyxrc.C (read): print error about invalid key sequence only when
16382 debugging (because not all latinX keysyms are known to some X
16385 * kbsequence.C (getiso): add a few std:: qualifiers
16386 (getiso): comment out extra return statement.
16388 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16390 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16392 (Dispatch): enhance the accent inset a bit. (not perfect)
16394 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16396 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16398 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16400 * bufferlist.C (emergencyWrite): fix assert() call
16402 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16404 * text.C (InsertChar): Added trivial patch to only send the "you
16405 can not do multiple spaces this way" message once during a
16408 2001-05-08 Baruch Even <baruch@lyx.org>
16410 * Makefile.am: Changed order of libraries to get LyX to link properly
16411 with the gnome frontend.
16413 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16415 * LaTeXFeatures.h: add a std:: qualifier
16417 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16419 * paragraph.C (String): use stringstream
16421 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16423 * paragraph.C (writeFile): remove footflag arg
16425 * buffer.C (makeLaTeXFile): use stringstream
16426 (latexParagraphs): remove footnot gurba
16428 * LaTeXFeatures.C (getPackages): use stringstream
16429 (getMacros): likewise
16430 (getTClassPreamble): likewise
16431 (getFloatDefinitions): new method
16433 * paragraph.C (writeFile): reindent
16436 * WorkArea.h: revert the xpos + etc changes.
16438 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16440 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16442 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16443 (pasteSelection): likewise
16444 * text2.C (CreateUndo): likewise
16446 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16448 * minibuffer.C (peek_event): temporarily reduce the functionality
16449 of the minibuffer (to allow args on lfuns)
16451 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16452 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16454 * buffer.C (readInset): add compability reading of old float
16455 lists, add reading of new style float list.
16456 (readInset): avoid reevaluation of inscmd.getCmdName()
16457 (getLists): reindent
16459 * MenuBackend.C (MenuItem): implement parsing of
16460 md_floatlistinsert and md_floatinsert.
16461 (expand::LastFiles): move initalizaton of iterators out of loop,
16462 avoid reevaluation.
16463 (expand::Documents): introduce typdedef vector<string> Strings,
16465 (expand::ExportFormats): introduce typedef vector<Format const *>
16466 Formats, and use it.
16467 (expand): implement FloatListInsert and FloatInsert.
16469 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16470 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16471 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16473 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16475 (Dispatch::LFUN_FLOAT_LIST): implement
16477 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16479 * LaTeX.C (run): Fix problem with --export code.
16481 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16483 * BufferView.[Ch] (workarea): removed.
16484 (getClipboard) new method; wrapper for workarea()->getClipboard()
16486 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16489 * WorkArea.h (width, height, xpos, ypos): These methods all
16490 returned the dimensions of the work_area sub-area of WorkArea,
16491 resulting in a position error if the WorkArea were resized. Now
16492 return the dimensions of the entire WorkArea.
16494 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16496 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16498 * LaTeX.C (deplog): correct the syntax of regex reg1
16500 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16502 * undo.C: remove !NEW_INSETS cruft
16504 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16506 * text2.C: remove !NEW_INSETS cruft
16508 * text.C: remove !NEW_INSETS cruft
16510 * tabular.C: remove !NEW_INSETS cruft
16512 * spellchecker.C: remove !NEW_INSETS cruft
16514 * lyxtext.h: remove !NEW_INSETS cruft
16516 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16518 * lyxfunc.C: remove !NEW_INSETS cruft
16520 * lyxfind.C: remove !NEW_INSETS cruft
16522 * lyx_cb.C: remove !NEW_INSETS cruft
16524 * figureForm.C: remove !NEW_INSETS cruft
16526 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16528 * buffer.[Ch]: remove !NEW_INSETS cruft
16530 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16532 * CutAndPaste.C: remove !NEW_INSETS cruft
16534 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16536 * BufferView2.C: remove !NEW_INSETS cruft
16538 * BufferView.h: remove !NEW_INSETS cruft
16540 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16542 * Lsstream.h: include LString.h before the sstream headers to
16543 fix problem with gcc 2.95.3 and lyxstring
16545 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16547 * lyx_main.C: add using directives when needed for C functions
16548 declared in std:: namespace.
16550 2001-04-27 Juergen Vigna <jug@sad.it>
16552 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16553 (SetHeightOfRow): comment out the update call should not be needed!
16555 2001-04-13 Juergen Vigna <jug@sad.it>
16557 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16558 (LyXTabular): tried to minimize operator= operations (and realized
16559 hopfully Lars wish).
16561 2001-04-27 Juergen Vigna <jug@sad.it>
16563 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16565 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16567 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16569 * buffer.C (readInset): hack to make listof algorithm work
16571 * BufferView_pimpl.C: hack to make listof algorithm work
16573 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16575 * LyXAction.C: removed all !NEW_INSETS cruft
16576 (init): moved lfun_item in method
16578 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16580 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16582 * BufferView2.C (theLockingInset): white space.
16584 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16586 * minibuffer.C: include <iostream>
16588 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16590 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16592 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16594 * text.[Ch] (TransposeChars): new method
16596 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16598 * call message directly through LyXView instead of through LyXFunc
16599 * BufferView2.C: adjust
16600 * BufferView_pimpl.C: adjust
16601 * FontLoader.C: adjust
16603 * bufferview_funcs.C: adjust
16604 * converter.C: adjust
16605 * figureForm.C: adjust
16606 * importer.C: adjust
16608 * lyx_gui_misc.C: adjust
16609 * lyxfunc.C: adjust
16612 + more files in subdirs
16614 * lyxparagraph.h (size): move up int file
16617 * adjust all uses of Assert to lyx::Assert.
16619 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16620 lyxfunctional in namespace lyx
16621 * layout.C (hasLayout): ditto
16624 (delete_layout): ditto
16625 (NumberOfClass): ditto
16626 * converter.C (GetFormat): ditto
16631 * bufferlist.C (getFileNames): ditto
16632 (emergencyWriteAll): ditto
16635 * MenuBackend.C (hasSubmenu): ditto
16638 * BufferView_pimpl.C (getInsetByCode): ditto
16640 2001-04-18 Juergen Vigna <jug@sad.it>
16642 * vspace.C (asLatexString): fixed the 100% problem.
16644 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16646 * lyxfunc.C (Dispatch):
16648 * minibuffer.h: add a few std:: qualifiers
16650 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16652 * minibuffer.[Ch]: reimplement so that commands is initiated and
16653 run from lyxfunc, simplified som handling, and made the completion
16654 and history code for complete. wip.
16656 * lyxfunc.C (processKeySym): call message
16657 (miniDispatch): new temporary method
16658 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16659 (LFUN_MESSAGE): implement
16660 (LFUN_MESSAGE_PUSH): implement
16661 (LFUN_MESSAGE_POP): implement
16662 (initMiniBuffer): the initial/defualt minibuffer message.
16664 * lyxfont.[Ch]: inline some more getters
16666 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16668 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16670 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16671 (AutoSave): use LFUN_MESSAGE
16672 (Reconfigure): ditto
16674 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16676 * figureForm.C: use LFUN_MESSAGE
16678 * converter.C (runLaTeX): use LFUN_MESSAGE
16680 * bufferview_funcs.C: use LFUN_MESSAGE
16682 (changeDepth): ditto
16684 * bufferparams.h: use boost::
16686 * bufferlist.h: inherit privately from noncopyable
16688 * bufferlist.C (loadLyXFile): remove some commented code.
16690 * buffer.C (runChktex): use LFUN_MESSAGE
16692 * ShareContainer.h: inherit privately from noncopyable
16694 * ParagraphParameters.[hC] (depth): inline it.
16696 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16698 (message): new method
16699 (messagePush): ditto
16700 (messagePop): ditto
16701 (show): init minibuffer
16702 (showState): direct call
16704 * LaTeX.[Ch]: inherit privately from noncopyable
16705 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16706 instead of WriteStatus.
16708 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16710 * BufferView_pimpl.C (buffer): don't init minibuffer
16711 (workAreaButtonPress): use LFUN_MESSAGE
16712 (workAreaButtonRelease): ditto
16713 (savePosition): ditto
16714 (restorePosition): ditto
16715 (MenuInsertLyXFile): ditto
16716 (workAreaExpose): don't init minibuffer
16717 (update): remove commented code, simplify
16719 * BufferView2.C (openStuff): use LFUN_MESSAGE
16720 (toggleFloat): ditto
16723 (copyEnvironment): ditto
16724 (pasteEnvironment): ditto
16729 (updateInset): remove some commented code
16731 * lastfiles.h: inherit privately from noncopyable
16734 * lyx_main.h: ditto
16736 * lyxlex_pimpl.h: ditto
16738 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16739 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16740 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16742 * LyXAction.h: inherit privately from noncopyable, add methods
16743 func_begin, func_end, returning iterators to the func map.
16745 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16746 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16747 (func_begin): new method
16748 (func_end): new method
16750 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16752 (copySelection): ditto
16753 (pasteSelection): ditto
16755 * BufferView.C: whitespace change
16756 * BufferView.h: inherit privately from noncopyable
16758 2001-04-16 Allan Rae <rae@lyx.org>
16760 * tabular-old.C (l_getline):
16761 * spellchecker.C (sc_check_word):
16762 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16763 an unrecognised preprocessor directive. So ensure they're wrapped.
16765 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16767 * src/exporter.C (Export): Give an error message when path to file
16770 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16772 * LaTeX.C (deplog): Always check that foundfile exists.
16774 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16777 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16779 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16781 * tabular.[Ch] (getLabelList): implement new method
16783 * minibuffer.h: comment ouf setTiimer
16785 * minibuffer.C (ExecutingCB): constify res
16786 (peek_event): constify s
16787 (Set): constify ntext
16788 (Init): constify nicename
16790 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16792 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16793 (savePosition): use two params to Minibuffer::Set
16794 (restorePosition): ditto
16796 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16798 * lyx_main.C: include language.h
16800 * Makefile.am (lyx_main.o): add language.h
16802 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16808 * CutAndPaste.C: include gettext.h
16810 * lyxfont.h: remove old hack with ON and OFF.
16813 * lyxfont.h: do not include language.h...
16818 * bufferview_funcs.C:
16824 * paragraph.C: ... but do it here instead
16826 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16828 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16830 * tabular.C: small reformat
16832 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16835 (BreakParagraph): ditto
16836 (SetOnlyLayout): ditto
16839 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16842 * lastfiles.C: removed most using decl, add std:: where needed
16844 * buffer.C: ws changes
16846 * MenuBackend.C (class compare_format): put into anon namespace
16847 (expand): constify label, names, action, action2
16850 * text.C (SingleWidth): constify font
16851 (IsBoundary): constify rtl2
16852 (GetVisibleRow): constify ww
16854 * LaTeX.C (deplog): constify logfile
16856 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16858 (workAreaExpose): constify widthChange, heightChange
16860 * lyxrow.C (par): moved
16863 * lyxrow.h: as inlines here
16865 * lyxfont.h (shape): moved from lyxfont.C
16866 (emph): moved from lyxfont.C
16868 * lyxfont.C (LyXFont): use initialization list for all
16870 (shape): move to lyxfont.h as inline
16871 (emph): move to lyxfont.h as inline
16874 2001-04-04 Juergen Vigna <jug@sad.it>
16876 * vspace.C: had to include stdio.h for use of sscanf
16878 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16881 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16882 independent of xforms.
16884 2001-04-02 Juergen Vigna <jug@sad.it>
16886 * spellchecker.C: fixed namespace placing!
16888 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16890 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16891 the LyXParagraph * is 0.
16893 2001-03-29 Juergen Vigna <jug@sad.it>
16895 * vspace.C: added support for %, c%, p%, l%.
16896 (stringFromUnit): added helper function.
16897 (asLatexString): changed to give right results for the %-values.
16899 * buffer.C: convert the widthp in a width%.
16901 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16903 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16906 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16907 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16909 * lyx_cb.[Ch]: see above.
16911 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16915 * lyx.[Ch]: replaced by figure_form.[Ch].
16919 * lyxfunc.C: changed headers associated with above changes.
16921 2001-03-27 Juergen Vigna <jug@sad.it>
16923 * BufferView_pimpl.C: set the temporary cursor right!
16925 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16927 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16929 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16931 * LString.h: removed "using std::getline"!
16933 * BufferView_pimpl.C (Dispatch): changes due to changes in
16934 InsetInclude::Params.
16936 * buffer.C (tag_name): removed redundant break statements as they were
16937 producing lots of warnings with my compiler.
16939 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16941 * LString.h: add "using std::getline" when using the real <string>.
16943 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16945 * buffer.C: removed bitset usage.
16946 PAR_TAG moved to an anonymous name space.
16947 (tag_name): new funtion, also in the anonymous namespace.
16948 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16949 (makeDocBookFile): clean code. Completed transition from string arrays
16951 (SimpleDocBookOnePar): code clean.
16953 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16955 * tabular.C: add some comments.
16957 2001-03-22 Juergen Vigna <jug@sad.it>
16959 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16960 compatibility read a bit and fixed bug with minipage in different
16963 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16965 * buffer.C (pop_tag): removed.
16966 (push_tag): removed.
16967 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16968 array replaced with vector. Added support for CDATA sections.
16969 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16971 (makeDocBookFile): XML conformant declaration of CDATA section,
16972 fixed bug related to <emphasis> in the first paragraph char.
16973 (sgmlOpenTag): exclude empty tags.
16974 (sgmlCloseTag): ditto.
16976 * buffer.h (pop_tag): removed.
16977 (push_tag): removed.
16979 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16981 * language.h (Languages): added size_type and size().
16983 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16985 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16986 response on compability reading of minipages. One probliem is that
16987 the old usage of minipages was «flertydig»
16989 * several files here and in subdirs: don't use static at file
16990 scope use anon namespaces instead.
16992 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16994 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16995 LaTeX output. This is necessary for Literate document
16998 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17000 * buffer.C: insert hfill when needed.
17002 * tabular.C (l_getline): use string::erase, small whitespace change.
17004 * BufferView_pimpl.C: try the anon namespace.
17005 * WorkArea.C: ditto
17007 2001-03-16 Juergen Vigna <jug@sad.it>
17009 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17010 otherwise it won't open options-dialogs.
17012 * buffer.C: honor pextraWidth(p) on converting minipages.
17014 * tabular.C (l_getline): changed the functions to strip trailing \r.
17016 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17018 * BufferView_pimpl.C:
17019 * minibuffer..C: added "using SigC::slot" declaration.
17021 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17023 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17029 * paragraph.C: ditto
17031 * lyxtext.h: NO_PEXTRA
17033 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17035 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17036 * ParameterStruct.h: ditto
17037 * ParagraphParameters.h: ditto
17038 * lyxparagraph.h: ditto
17040 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17042 * buffer.C: add compability for minipage alignment.
17043 (latexParagraphs): remove unwanted pextra check.
17045 * several files: remove CXX_WORKING_NAMESPACES
17047 * buffer.C (pop_tag): tie is in namespace boost
17049 * BufferView.h: noncopyable is in namespace boost
17051 * lyx_main.h: ditto
17054 * lastfiles.h: ditto
17055 * bufferlist.h: ditto
17056 * ShareContainer.h: ditto
17058 * LyXAction.h: ditto
17061 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17063 * Merging changes from BRANCH_MVC back into HEAD.
17065 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17067 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17069 * BufferView_pimpl.C: change from intl.C
17073 * Makefile.am: move combox.*
17079 * intl.C: remove dialog (covered by prefs)
17081 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17083 * lyxfunc.C (Dispatch): removed redundant break statement.
17085 2001-03-14 Juergen Vigna <jug@sad.it>
17087 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17089 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17091 * buffer.C: add hack to fix compability reading of minipages.
17093 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17095 * buffer.C (getLists): Cleanup.
17097 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17099 * lyxfont.C (update): don't honor toggleall on font size.
17101 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17105 * Makefile.am: moved to frontends/xforms/
17109 * BufferView_pimpl.C: changes for moved mathpanel
17111 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17113 * gettext.h: fix gettext_init() in --disable-nls
17115 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17117 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17119 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17122 * lyx.h: strip external form
17124 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17126 * BufferView_pimpl.C: add comment, destroySplash()
17128 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17130 * BufferView_pimpl.C:
17134 * lyxfunc.C: use re-worked insetinclude
17136 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17138 * buffer.C: add using std::stringstream.
17140 * lyx_cb.C: readd using std::ios.
17142 * buffer.C: add using std::map.
17144 * BufferView_pimpl.C: add using std::vector.
17146 * ShareContainer.h: add std:: to swap.
17148 * buffer.h: add some typedefs
17149 * buffer.C (getLists): use them
17150 (getLists): renamed from getTocList.
17151 add a counter for the different float types and use it in the
17153 (getLists): use the same counter for the NEW_INSETS and the "non"
17156 * lyx_cb.h: remove unused items, includes, using etc.
17158 * ShareContainer.h: remove some commented code, add more comments
17159 and "documentation".
17161 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17163 * buffer.C (getTocList): make the list also when NEW_INSETS is
17166 * buffer.h: remove TocType
17168 * buffer.C (getTocList): change to return a map<string,
17169 vector<TocItem> >, implement for dynamic number of list.
17171 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17172 * text2.C (PasteSelection): adjust
17173 * CutAndPaste.C (pasteSelection): adjust
17175 * FloatList.C (FloatList): update from the new_insets branch.
17176 * Floating.[Ch]: ditto
17177 * LaTeXFeatures.C: ditto
17179 * lyxlex_pimpl.C: ditto
17181 * paragraph.C (Last): remove when NEW_INSETS is defined.
17183 * other file: changes because of the above.
17185 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17187 * lyxparagraph.h: rename next to next_, previous to previous_,
17188 make them private for NEW_INSETS. Rename Next() to next(),
17189 Previous() to previous().
17191 * other files: changes because of the above.
17193 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17196 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17199 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17201 * main.C (main): pass lyx_localedir to gettext_init().
17203 * gettext.h: remove locale_init and gettext_init macros
17205 * gettext.C (locale_init): new function
17206 (gettext_init): new function
17208 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17211 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17213 * Moved credits to frontends:
17214 * credits.[Ch]: removed
17215 * credits_form.[Ch]: removed
17216 * lyx_gui_misc.C: remove credits stuff
17219 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17221 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17223 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17224 unneeded destructor.
17226 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17227 a standalone pointer again.
17229 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17231 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17237 * ToolbarDefaults.C:
17246 * BufferView_pimpl.C: use new file dialog in GUII
17249 * lyx_cb.C: remove LayoutsCB to Toolbar
17251 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17253 * ShareContainer.h (get): add std:: qualifier
17255 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17257 * ShareContainer.h: define a proper ShareContainer::value_type
17258 type (and use typename to please compaq cxx)
17260 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17262 * lyxparagraph.h: move serveral local vars to
17263 ParameterStruct/ParagraphParameters., use ShareContainer in
17264 FontTable., make vars in FontTable private and add getter and
17267 * paragraph.C: changes because of the above.
17269 * lyxfont.h: remove copy constructor and copy assignment. (the
17270 default ones is ok), move number inside FontBits. move inlines to
17273 * lyxfont.C: add number to initializaton of statics, move several
17274 inlines here. constify several local vars. some whitespace
17275 cleanup. Dont hide outerscope variables.
17277 * Spacing.h: add two new constructors to match the set methods.
17279 * ShareContainer.h: new file, will perhaps be moved to support
17281 * ParameterStruct.h: new file
17283 * ParagraphParameters.h: new file
17285 * ParagraphParameters.C: new file
17287 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17288 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17290 * BufferView_pimpl.C: ParagraphParameter changes.
17291 * buffer.C: Likewise.
17292 * bufferview_funcs.C: Likewise.
17293 * text.C: Likewise.
17294 * text2.C: Likewise.
17296 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17298 * lyxfind.C (LyXReplace): do not redefine default argument in
17300 (IsStringInText): ditto
17301 (SearchForward): ditto
17302 (SearchBackward): ditto
17304 2001-03-06 Juergen Vigna <jug@sad.it>
17306 * lyxfind.C (IsStringInText): put parentes around expressions.
17308 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17310 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17312 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17314 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17316 * stl_string_fwd.h: add comment
17318 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17321 * tabular.C: remove unused DocBook methods
17327 killed DO_USE_DEFAULT_LANGUAGE
17329 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17331 * lyx_gui.C: do not include language.h.
17333 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17334 arguments in function implementation.
17336 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17338 * BufferView_pimpl.C: add <ctime>
17340 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17342 * BufferView_pimpl.C: add using std::find_if
17344 2001-02-27 José Matos <jamatos@fep.up.pt>
17346 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17349 2001-02-11 José Matos <jamatos@fep.up.pt>
17351 * buffer.C (makeDocBookFile): command styles now have a parameter as
17352 "title" by default.
17354 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17356 * layout_forms.[Ch]: removed
17357 * lyx_cb.[Ch]: out character
17358 * lyx_gui.C: out character
17359 * lyx_gui_misc.C: out character
17360 * bufferview_funcs.C: : out character,
17361 added toggleall as parameter in ToggleAndShow
17363 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17365 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17367 * text2.C (SetCurrentFont): Disable number property at boundary.
17369 2001-02-26 Juergen Vigna <jug@sad.it>
17371 * lyxfunc.C (getStatus): added a string argument override function so
17372 that this is correctly called from LyXFunc::Dispatch if it contains a
17373 do_not_use_argument which is used!
17374 (Dispatch): added check for "custom" export and call appropriate func.
17376 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17378 * lyxrc.C: Add language_command_local, language_use_babel and
17379 language_global_options.
17381 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17383 * buffer.C (makeLaTeXFile): Use language_use_babel and
17384 language_global_options.
17386 2001-02-23 Juergen Vigna <jug@sad.it>
17388 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17389 which works with LyXText and putted it inside BufferView. Here now we
17390 only call for that part the BufferView::Dispatch() function.
17392 * BufferView.C (Dispatch): added.
17394 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17395 functions which needs to use a LyXText over from LyXFunc.
17396 (MenuInsertLyXFile): added
17397 (getInsetByCode): added
17398 (moveCursorUpdate): added
17399 (static TEXT): added
17401 2001-02-22 Juergen Vigna <jug@sad.it>
17403 * BufferView_pimpl.C (update): call a status update to see if LyXText
17406 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17408 * vc-backend.C (revert): implement for CVS
17409 (getLog): implement for CVS
17411 2001-02-20 Juergen Vigna <jug@sad.it>
17413 * text2.C (ClearSelection): added BufferView param for inset_owner call
17415 * lyxfunc.C (TEXT): added this function and use it instead of
17416 directly owner->view()-text of getLyXText().
17418 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17420 * src/layout_forms.C: out preamble
17421 * src/layout_forms.h: out preamble
17422 * src/lyx_cb.C: out preamble
17423 * src/lyx_cb.h: out preamble
17424 * src/lyx_gui.C: out preamble
17425 * src/lyx_gui_misc.C: out preamble
17426 * src/lyxfunc.C: connect with guii preamble
17428 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17430 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17432 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17434 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17435 whether to run bibtex.
17437 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17439 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17441 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17443 * Makefile.am (lyx_SOURCES): removed bibforms.h
17445 * vspace.h: doxygen
17447 * text.C (GetVisibleRow): make several local vars const
17449 * tabular.C: small cleanup.
17451 * lyxserver.C (callback): use compare instead of strncmp
17453 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17454 inlines to after class or to paragraph.C
17456 * lyxfont.h: remove friend operator!=
17458 * converter.h: move friend bool operator< to non friend and after
17461 * combox.h: small cleanup
17463 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17464 to inlines after class def.
17466 * buffer.C (pop_tag): use string operations instead of strcmp
17468 * bmtable.c: doxygen, small cleanup
17470 * LaTeX.h: remove friend operator==
17472 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17484 * BufferView_pimpl.C:
17485 * BufferView.[Ch]: remove cruft
17487 2001-02-14 Juergen Vigna <jug@sad.it>
17489 * lyxfunc.C: removed #if 0 unused code
17491 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17493 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17495 * text2.C (SetSelection): added a BufferView * parameter
17497 2001-02-13 Juergen Vigna <jug@sad.it>
17499 * lyxfunc.C (Dispatch): fixed protected blank problem.
17500 * BufferView2.C (protectedBlank): added LyxText * parameter.
17502 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17503 (AppendColumn): same as above for column_info.
17505 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17506 (moveCursorUpdate): use a LyXText param for support of InsetText.
17508 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17509 (tripleClick): ditto
17511 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17513 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17515 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17517 * text2.C (SetSelection): set correct update status if inset_owner
17518 (ToggleFree): ditto
17520 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17522 * tabular.C: remove some commented code.
17524 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17526 * BufferView_pimpl.C: call hideSplash()
17528 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17531 * bibforms.h: remove
17534 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17535 add LFUN_CHILD_CREATE
17537 * counters.h: fix tiny typo
17542 * lyx.C: move splash to frontends/xforms/
17544 * lyx_gui_misc.C: move Include and Bibform to frontends
17546 * lyxvc.h: clarify comment
17548 * vspace.C: tiny housekeeping
17550 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17552 * text.C (PrepareToPrint): RTL Fix.
17554 * paragraph.C (GetUChar): New method.
17555 (String): Use GetUChar.
17557 * buffer.C (asciiParagraph): Use GetUChar.
17559 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17561 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17563 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17566 * buffer.C: rename to getLogName(), handle
17567 build log / latex log nicely
17569 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17572 * MenuBackend.h: remove support for reference menuitem type.
17574 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17576 * BufferView_pimpl.C: housekeeping
17577 * BufferView_pimpl.h:
17582 * minibuffer.h: move Timeout GUI-I
17584 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17586 * lyxrc.C (read): Update converters data-structures.
17588 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17590 * LaTeX.h (operator!=): add operator != for Aux_Info
17592 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17594 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17596 * LaTeXLog.C: deleted, useful code moved to Buffer
17599 * buffer.C: new function getLatexLogName()
17605 * lyxfunc.C: use frontends for LaTeX and VC logs
17607 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17609 * LaTeX.h: yet another std:: that Allan forgot.
17611 * Variables.C (set): renamed from isset(), because this clashes
17612 with some HP-UX macros (grr).
17614 2001-02-06 Allan Rae <rae@lyx.org>
17616 * LaTeX.h: Another bug fix. Missing std:: this time.
17618 2001-02-04 Allan Rae <rae@lyx.org>
17620 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17621 floats problem. I've left it commented out because it's not quite
17622 correct. It should also test that the current object is a table or
17623 figure inset. But I haven't gotten around to figuring out how to do
17624 that. I *think* it'll be something like: "table" == inset.type()
17626 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17629 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17631 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17632 all the citation/databases/styles in the auxilary file.
17633 (run): Rerun latex if there was a babel language error.
17635 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17637 * text.C (Backspace): Preserve the font when changing newline char
17639 (BreakParagraph): If the cursor is before a space, delete the space.
17641 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17643 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17645 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17646 new argument (code).
17647 (ChangeCitationsIfUnique): New method.
17649 * paragraph.C (GetPositionOfInset): Handle bibkey.
17651 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17653 * BufferView_pimpl.h: change type of Position::par_pos to
17654 LyXParagraph::size_type.
17656 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17658 * BufferView_pimpl.C (savePosition, restorePosition): Write
17659 messages to minibuffer.
17661 2001-01-28 José Matos <jamatos@fep.up.pt>
17663 * buffer.C (makeDocBookFile): adds support for document language.
17664 A silly restriction on the name of LatexCommand types where removed.
17665 Added support for CDATA sections, allows to chars unescaped, used
17666 among others in code, to avoid escape < and >.
17668 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17670 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17671 saved positions instrad of a stack. Furthermore, a position is
17672 stored using paragraph id/paragraph position.
17674 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17675 Remove LFUN_REF_BACK.
17677 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17679 * converter.C (dvipdfm_options): New method.
17681 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17683 * vspace.C (isValidLength): Fix for empty input string.
17685 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17687 * LyXAction.C (init): change description of LFUN_FIGURE to
17690 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17692 * LaTeX.C: add using directive
17694 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17696 * MenuBackend.C (expand): Fix the sorting of the formats.
17698 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17700 * lyx_main.C: tiny error message fix
17702 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17704 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17705 calling fl_initialize(). This fixes the problem with ',' as
17706 decimal separator in text files.
17708 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17710 * trans.C (process): Fix the keymap bug.
17712 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17714 * LaTeX.C (scanAuxFiles): New method. Provides support for
17715 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17716 (scanLogFile) Scan for "run BibTeX" messages.
17718 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17719 OT1 font encoding. Also, load the aecompl package if the ae
17722 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17724 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17726 * texrow.C (increasePos): turn two error messages into debug
17729 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17731 * LaTeX.C (scanAux): Handle the \@input macro.
17732 (runBibTeX): Use scanAux().
17734 * language.C (latex_options_): New field.
17736 * LaTeXFeatures.C (getMacros): Add language macros.
17738 * buffer.C (makeLaTeXFile): Small fix.
17740 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17742 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17744 * text2.C: add a using directive.
17746 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17751 * lyxfunc.C: kill LyXBell.
17753 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17755 * text.C (IsBoundary): Remove the error message
17757 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17759 * lyxrc.C (setDefaults): Correct initialization value for
17762 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17764 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17767 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17768 and GotoNextNote().
17770 * src/LyXAction.C: Added reference-next.
17772 * text.C (InsertChar): Use contains instead of strchr.
17774 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17776 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17778 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17779 alignment commands (when needed).
17781 * text.C (InsertChar): Add ':' to number separator chars.