1 2005-06-09 Angus Leeming <leeming@lyx.org>
3 * lyxsocket.C: remove stub code as it isn't needed by
4 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
6 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
9 effectively disabled -x
11 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
14 when it actually makes sense.
16 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
18 * BufferView_pimpl.C: revert to showCursor in connection with
19 Lars's front-end stack
21 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
23 * text.C (redoParagraph): move cursor right after a bibitem
26 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
28 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * buffer_funcs.C (bufferErrors): fix computation of the end of an
33 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
35 * BufferView.[Ch] (update):
36 * BufferView_pimpl.[Ch] (update, metrics):
37 * dimension.h (operator==):
38 * lyxfunc.C (dispatch):
39 * metricsinfo.h (ViewMetricsInfo):
40 * rowpainter.C (paintText):
42 * text.C (redoParagraph):
43 * text3.C (dispatch): Make LyX only repaint current paragraph in
44 case of character insert --> speedup. Also fix cursor draw
47 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
49 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
50 avoid a crash (bug 1891)
52 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * text2.C (getStringToIndex): constify cur argument.
58 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
59 argument has been given
60 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
61 try to invoke LFUN_INSET_APPLY).
63 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
64 if no inset was created by doInsertInset
65 (doInsertInset): return true if an inset has been inserted.
67 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * vspace.C (asGUIName): new method. A version of the space
70 suitable for showing on screen.
72 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
75 * lyxrc.C: rename "ASCII" to "Plain Text"
77 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * buffer_funcs.C (expandLabel): take a Buffer as argument;
80 translate the labelstring.
81 (setCounter): translate labelstring as needed.
83 * output_docbook.C (makeCommand): fix expandLabel invokation
85 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
87 * BufferView.C: fix dialog title
89 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
91 * lyx_main.C (priv_exec): fix logic error with help from Angus
92 * lyx_main.C (parse_execute): set is_gui = false and remove now
93 obsolete comment about a segfault
95 2005-05-18 Angus Leeming <leeming@lyx.org>
97 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
99 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
101 * tabular.[hC]: added setCellInset to fix tabular paste.
103 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
105 * buffer.C (save): check if destination is writable before trying
108 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
110 * BufferView_pimpl.C (update): fix processEvents -caused update
113 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * buffer_funcs.C (setCounter): fix test for numbering of
118 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
119 depth correctly; use optional argument when it exists
121 * lyxtextclass.C: remove unused MaxCounterTags enum
122 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
123 (max_toclevel, min_toclevel): new methods.
125 * MenuBackend.C (expandToc2): fix case where depth is smaller than
126 the smallest depth in toc.
128 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
129 layouts that should not appear in a table of contents.
131 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
133 * cursor.h (undispatched, noUpdate): add comments from André
135 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
139 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
141 2005-05-07 André Pönitz <poenitz@gmx.net>
143 * cursor.[Ch] (leaveInset): new function
145 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
147 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
149 2005-05-04 Angus Leeming <leeming@lyx.org>
151 * lyxfunc.C (getStatus): disable the spell checker dialog if
152 none of USE_[AIP]SPELL are defined.
154 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
156 * tabular.C (setWidthOfCell): remove obsolete comment
158 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
160 * paragraph.C (bibitem):
161 * buffer_funcs.C (setCounter):
162 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
164 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
166 * text3.C (getStatus): immediately return after setOnOff
168 * rowpainter.C: fix drawing of appendix start
170 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
172 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
173 SwitchBetweenClasses and remove the unused return value.
174 Handle character styles, too
176 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
178 * factory.C (createInset): handle undefined character styles
180 2005-05-02 Angus Leeming <leeming@lyx.org>
182 * buffer.C: protect the #include of utime.h with a preprocessor
185 2005-05-02 Angus Leeming <leeming@lyx.org>
187 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
188 function so that auto-saving works, albeit in a blocking manner.
190 * Makefile.am: make compilation of the client sub directory, of
191 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
192 on conditionals set at configure time.
194 * SpellBase.[Ch]: no longer an abstract base class. Instead,
195 it can be compiled in its own right but has no-op functionality.
197 * aspell.C, pspell.C: remove preprocessor guards. The files should
198 be compiled only if the necessary functionality exists.
200 * lyxserver.C, lyxsocket.C: disable on Windows.
202 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
204 * text.C (leftMargin): Fix the parindent use bug (1764)
207 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
209 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
212 2005-04-25 Angus Leeming <leeming@lyx.org>
220 include <config.h> in .C files, not .h ones.
222 protect headers inside preprocessor guards.
224 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
226 * FuncStatus.h (StatusCodes): document
228 2005-04-21 André Pönitz <poenitz@gmx.net>
230 * FuncStatus.h (enabled, onoff): document
232 2005-04-19 Angus Leeming <leeming@lyx.org>
234 * BufferView_pimpl.C (cursorToggle): no longer test whether
235 any child processes have been reaped before calling
236 handleCompletedProcesses().
238 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
240 * text3.C (dispatch): fix, finally fix, the language problem in
241 new lyxtexts, without disabling on-the-fly font changes (Helge's
244 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
246 * text3.C (dispatch): set cursor on double/triple click events
249 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
251 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
252 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
254 * rowpainter.C (paintFirst): simplify the code a little bit. In
255 particular, remove the test for secnumdepth.
256 * text.C (setHeightOfRow): only allocate space for chapter number
257 when updateCounters provided an actual label, instead of looking
258 at secnumdepth directly.
260 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
262 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
263 paragraphs when secnumdepth is large enough or, for environments,
264 when they are not the first in a sequence.
266 2005-04-17 Angus Leeming <leeming@lyx.org>
268 * buffer.C (makeLaTeXFile): replace code to manipulate a path
269 containing space and '~' characters with a call to latex_path().
271 2005-04-17 Angus Leeming <leeming@lyx.org>
273 * converter.C (convert): protect all args of convertDefault.sh
276 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
278 * text3.C (dispatch): change the layout to "Caption" after inserting
281 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
283 * text3.C (dispatch): fix language problem in newly created
284 textinsets (and main text) in non-english docs
286 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
288 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
289 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
290 * text3.C (getStatus): disable LFUN_INSET_MODIFY
292 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
297 * rowpainter.C (getFont): Fix metrics bug introduced by inset
300 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
302 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
303 output of \item arguments without trailing text.
305 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * FontIterator.C (operator*): avoid a copy of the font.
309 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
311 * rowpainter.C (getFont): fix language bug from previous fix
313 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
315 * rowpainter.C (RowPainter, getFont): fix font inside inset
318 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
320 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
321 preventing inserted font, deco, delim insets jumping to start of
324 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
326 * lyxfunc.C (dispatch): translate message before sending it to the
329 2005-03-29 Angus Leeming <leeming@lyx.org>
331 * lyx_main.C (priv_exec): call os::internal_path on each file passed
332 to LyX on the command line.
334 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
336 * vc-backend.C: use QuoteName to protect file names wherever
339 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
342 * BranchList.h: fix bugs 1844,1845: document settings don't
345 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
347 * lyxrc.C (setDefaults, read, output, getDescription): add support
348 for tex_allows_spaces.
350 * exporter.C (Export): allows files in directory containing spaces
351 if tex_allows_spaces is true.
353 * buffer.C (makeLaTeXFile): if the document path contains spaces,
354 output it in double quotes.
356 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
358 * rowpainter.C: use default text height for drawing change tracker
361 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
363 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
365 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
368 directory is missing.
370 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
372 * text2.C: fixed the fix, extended to other case.
374 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
376 * text2.C: fix for cursor up/down stuck in math [bug 1792]
378 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
380 * text2.C (cursorUp): get rid of a crash
381 * text.C (x2pos): add an assert
383 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
385 * lyxfunc.C (getStatus): fix warning when assertions are disabled
389 * dociterator.C: include <boost/current_function.hpp>, which is
390 needed when assertions are disabled.
392 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
394 * text2.C: fix for stuck cursor when traversing two
395 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
397 2005-02-25 Andreas Vox <avox@arcor.de>
399 * output_docbook.C (makeParagraph): suppress trailing newline
400 after a run of paragraphs
402 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
404 * paragraph.C: fix for confused change tracker when pasting
405 text that begins with a lineseparator. [bug 1827]
406 (setChange(0, Change::INSERTED);)
408 * paragraph_funcs.C: fix for lost changes on triple-paste
409 in change tracking mode [bug 1827] (par.setChange()).
411 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
413 * text2.C (updateCounters, setCounter, expandLabel): move to
416 * buffer_funcs.C (updateCounters): turn into a free standing
417 function and add a buffer parameter. Remove dead code for tracking
419 (setCounter): change into a free-standing function which gets a
420 dociterator as argument. Use this iterator to fix captions in a
421 simple way. When no float is found above the caption, use the
422 labelstring of the caption layout as default.
424 * text.C (breakParagraph, backspace):
425 * text2.C (init, setLayout, changeDepth):
426 * text3.C (dispatch):
427 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
430 * dociterator.C (forwardPar): make it much faster by calling
431 forwardPos() only when really necessary.
433 * output_docbook.C (makeCommand): adapt to expandLabel move.
435 * cursor.C: remove unused variable
437 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
439 * paragraph_funcs.C: fix crash when pasting insets in change
440 tracking mode [bug 1277] (honour change type in moveItem).
442 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
444 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
446 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * BufferView.C (setCursor): change to use a DocIterator.
449 (gotoLabel): use BufferView::setCursor (other part of bug 781).
450 (putSelectionAt): adapt to BufferView::setCursor change.
452 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
453 moved here from LyXText and rewritten to use proper cursor
454 methods. Fixes bug 1787, 616 and 835.
456 * BufferView_pimpl.C (restorePosition): set the cursor correctly
457 when inside an inset (part of bug 781).
458 (dispatch): adapt to change of BufferView::setCursor.
459 (getStatus, dispatch): handle LFUN_GOTOERROR,
460 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
462 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
463 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
464 * text3.C (gotoNextInset, gotoInset): removed.
466 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
470 2005-02-15 Angus Leeming <leeming@lyx.org>
472 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
473 can be used meaningfully in a comparison.
475 2005-02-13 André Pönitz <poenitz@gmx.net>
477 * bufferview_funcs.C (coordOffset): improve cursor drawing
479 2005-02-13 André Pönitz <poenitz@gmx.net>
481 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
482 * Cursor.C (dispatch): use fixIfBroken
483 * lyxfunc.C (getStatus): use fixIfBroken
485 2005-02-15 Angus Leeming <leeming@lyx.org>
487 * lyx_main.C (error_handler):
489 * lyxrc.C (setDefaults):
491 #include "environment.h".
493 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
495 2005-02-15 Angus Leeming <leeming@lyx.org>
497 * lyxserver.C (startPipe): squash MSVC warning "local variable
498 'fd' used without having been initialized".
500 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
502 * BufferView_pimpl.C: revert accidental commit.
504 2005-02-14 André Pönitz <poenitz@gmx.net>
506 * dociterator.[Ch]: new member forwardPosNoDescent(),
507 which doesn't enter nested insets.
508 * text2.C (setFont): use forwardPosNoDescent() instead
509 of ForwardPos() (fixes crash on font change).
511 2005-02-13 Angus Leeming <leeming@lyx.org>
513 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
514 only if lyxrc.path_prefix is not empty.
516 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
518 * bufferparams.C (readGraphicsDriver): prevent crash
520 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
522 * text2.C (setCounter): check for inInset() == 0
524 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
526 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
527 but use update() to get correct screen display; use convert
528 instead of istringstream.
529 (getStatus): handle LFUN_GOTO_PARAGRAPH
531 * lyxfunc.C (dispatch, getStatus): do not handle
532 LFUN_GOTO_PARAGRAPH here.
534 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
536 * text3.C (dispatch): size() -> depth()
538 * text2.C: remove some debug output
540 * paragraph.C: ws changes only
542 * lyxfunc.C (getStatus): size() -> depth()
544 * dociterator.h (clear, push_back, pop_back, internalData,
545 operator[], resize, empty): new functions
546 Make StableDocIterator and operator== be friends. Don't inherit
547 from std::vector use a privat class variable slices_ instead.
550 * dociterator.C: update because of not inheriting from std::vector
551 anymore. Call explictly to slices_ instead. Use depth() instead of
552 size() and top() instead of back()
554 * cursor.C: chagne size() -> depth and back() -> top(). Also
555 remove some direct operator[](i) calls in favour of foo[i]
556 (getFont): remove some dead code
558 * bufferview_funcs.C (coordOffset): size() -> depth()
560 * buffer.C: ws changes only
562 * CutAndPaste.C (eraseSelection): back() -> top()
564 * BufferView_pimpl.C (selectionRequested): back() -> top()
566 * BufferView.C (setCursor): size() -> depth()
568 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
570 * text3.C (cursorPrevious): return true if depm changed something
572 (dispatch): rename sl to oldTopSlice, remove moving use the new
573 NoUpdate func attrib instead. Make sure that needsUpdate is set
574 for function that have NoUpdate, but where depm might have changed
577 * text2.C (cursorLeft): make us return true if depm changed
580 (cursorUpParagraph): ditto
581 (curosrDownParagraph): ditto
582 (cursorUp, cursorDown): ditto, make sure to read comments in code
583 (deleteEmptyParagraphMechanism): remove an assert, also return
584 true if just a single char was deleted.
586 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
587 cursor that we modify, to avoid modifying an active cursor before
588 we call setCursor. This allows depm to run. Also return true if
589 depm deleted something.
591 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
592 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
593 cursorDownParagraph, cursorPrevious and cursorNext, return true if
594 something was changed in the buffer because of them (ie. depm run)
596 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
597 debug messages. Make update by default be false. Make sure that
598 the result of update is retained throught several calls down to
601 * LyXAction.h: add a new func_attrib: NoUpdate
603 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
604 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
605 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
607 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
609 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
611 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
612 bv_->owner(), bv_->buffer() by direct references to the private
614 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
615 (getStatus): isSavedPosition() is in BufferView::Pimpl.
616 (fitCursor): center() is in BufferView::Pimpl.
617 (getStatus, trackChanges, dispatch): no need for a temporary buf
619 (fitCursor, workAreaDispatch): use workarea().workheight()
621 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
623 * CutAndPaste.C (pasteSelectionHelper): fix a crash
625 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
627 * buffer.C: format up to 241.
628 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
629 break if pasting into ERT
630 * lyxfunc.C (getStatus): suppress mathpanel and
631 LFUN_DIALOG_SHOW_NEW_INSET in ERT
633 2005-02-01 Angus Leeming <leeming@lyx.org>
635 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
637 2005-02-01 Angus Leeming <leeming@lyx.org>
639 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
640 calling fs::is_directory().
642 2005-01-31 Angus Leeming <leeming@lyx.org>
644 * lyx_main.C (priv_exec): specify explicitly the relative location
645 of the top level build directory when run in-place.
647 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
650 LyXText containing the cursor, not the top-level one.
652 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
654 (insertStringAsLines): rename par to pit; use temporary variable
655 par to hold a Paragraph; do not store par.layout() in a variable,
656 since the pointer may die when breaking paragraphs; pass pars to
657 breakParagraph() instead of Buffer::paragraphs().
659 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
661 * lyxlex_pimpl.h: #include <fstream>.
663 * BufferView.[Ch] (getLyXText): add a const version.
665 * BufferView_pimpl.C: add debug aids.
670 * paragraph_funcs.h: add commentary explaining what the class does.
673 * coordcache.[Ch]: add lots of commentary.
674 (startUpdating, doneUpdating): debug aids.
675 (arrays, insets, parPos, getParPos): accessors to private data.
677 * cursor_slice.[Ch] (text): add a const version.
678 * dociterator.[Ch] (text, innerText): add const versions.
680 * lyxtext.h (breakParagraph): change the keep_layout arg to a
683 * paragraph.C (getRow, pos2ros): add asserts.
685 * paragraph.h: add commentary. Lots of.
687 * paragraph.[Ch] (metrucs, draw): removed.
690 * rowpainter.[Ch]: const-correct changes.
692 * text.C: various obvious clean-ups. Removal of ancient cruft.
695 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
697 * vc-backend.C (find_file): rewrite to use boost.filesystem
700 * main.C (main): set default name check for boost.filesystem to
703 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
706 (actOnUpdatedPrefs): ditto
708 * lyx_main.C (init): rewrite to use boost.filesystem
709 (queryUserLyXDir): ditto
711 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
712 (getContentsOfAsciiFile): ditto
714 * lastfiles.C (readFile): rewrite to use boost.filesystem
716 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
718 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
721 * buffer.C (Buffer): adjust for destroydir
722 (getLogName): rewrite to use boost.filesystem
724 (save): use fs::copy_file (from fs_extras)
726 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
728 * LaTeX.C (run): rewrite to use boost.filesystem
729 (scanAuxFiles): ditto
730 (handleFoundFile): ditto
732 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
734 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
736 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
738 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
740 * lyxlayout.[Ch]: change some vars from float to double
742 * buffer.C (readFile): make a local var const
744 * Several files: use convert<> instead of atoi,strToXXX and friends
746 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
748 * LaTeXFeatures.[Ch]: Add a static list packages_ that
749 holds the contents of packages.lst. New functions getAvailable
750 and isAvailable to parse and check that list, resp.
754 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
756 * bufferparams.[Ch]: new param output_changes.
758 * Buffer.C: increase file format to 240.
759 Use output_changes and isVailable.
763 * paragraph_pimpl.C: Use output_changes and isVailable.
765 2005-01-23 Angus Leeming <leeming@lyx.org>
767 * output_latex.C: #include "insetbibitem.h", rather than
768 forward declare function bibitemWidest.
770 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
772 * lyx_main.C (init): make it compile on the Mac.
774 2005-01-20 Angus Leeming <leeming@lyx.org>
776 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
777 (setLyXMisc): (char string literal) != (char string literal) is
778 performing a comparison on the addresses. Convert one operand
779 explicitly to string to guarantee expected behaviour.
782 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
785 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
787 * output_plaintext.C: remove unneeded #include gzstream.h.
789 2005-01-20 Angus Leeming <leeming@lyx.org>
791 * SpellBase.h: rename some of the elements of the Result enum.
798 * pspell.C (check): ditto
800 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
802 * buffer.C: add #include <fstream>.
804 * lyx_main.C (init): Compile fix.
806 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
808 2005-01-20 Angus Leeming <leeming@lyx.org>
810 * mover.h: change commentary to reflect the changed meaning of
813 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * output_linuxdoc.C (linuxdocParagraphs): silence warning
817 * lyxfind.C (MatchString::operator()): remove bogus semicolon
819 2005-01-20 Angus Leeming <leeming@lyx.org>
821 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
822 printing diagnostic data by not dereferecing an iterator past the
825 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
827 * buffer.C (readHeader): use "&&" rather than "and".
829 * lyxserver.h (inPipeName, outPipeName): make these const.
831 2005-01-19 Angus Leeming <leeming@lyx.org>
833 * lyx_main.C (error_handler, init): protect SIGHUP with
834 #ifdef SIGHUP guards.
836 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
838 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
840 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
842 * text.C (setHeightOfRow): add a margin at the top and bottom of
843 the document (bug 1761)
845 2005-01-17 Angus Leeming <leeming@lyx.org>
847 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
848 with "python ". Workaround for a brain-dead Windows.
850 2005-01-16 Angus Leeming <leeming@lyx.org>
852 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
853 for MacOSX and Windows to use prependEnvPath.
854 Strip out the hard-coded block to add elements to the PATH for
855 MacOSX and replace it with a call to prependEnvPath using the
856 contents of LyXRC::path_prefix.
857 (queryUserLyXDir): strip out the code to run reconfigure, instead
858 returning a boolean indicating the necessity to do so.
859 (reconfigureUserLyXDir): contains the code to reconfigure the
860 user support directory. Is now called after the various LyXRC data
861 files have been read.
863 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
865 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
867 * converter.[Ch] (convert): take a new parameter try_default. Use
868 a default converter (imagemagick) if try_default is true.
870 2005-01-13 Angus Leeming <leeming@lyx.org>
872 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
874 (write): output LyXRC::cygwin_path_fix as necessary.
876 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
879 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
881 2005-01-12 Angus Leeming <leeming@lyx.org>
883 * lyx_main.C (init): set the PATH variable to include the
884 directory containing the LyX binary when running on Mac or Windows.
886 2005-01-12 Angus Leeming <leeming@lyx.org>
888 * lyx_main.C (init): remove cruft that purports to set the locale
889 dir. It doesn't and is not needed anyway.
891 2005-01-10 Angus Leeming <leeming@lyx.org>
893 * Makefile.am: remove the lyx_main.C special casing.
895 * BufferView_pimpl.C:
901 * messages.C: use support/package.h to provide the paths to the
902 various directories used by LyX.
904 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
906 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
907 layout if pasting into an empty paragraph)
909 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
911 * tex-accent.C: add <string>
913 2005-01-06 José Matos <jamatos@lyx.org>
915 * ParagraphParameters.C (write): put every parameter in its own line.
916 * paragraph.C (write): reduce number of consecutive empty lines exported.
917 * buffer.C (LYX_FORMAT): increase file format to 239.
919 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
921 * everywhere: change support/tostr.h -> support/convert.h
923 * tabular.C: make all write_attributes templates, tostr -> convert
925 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
926 (emptyTag): and -> &&, and fix type for ret from getChar
927 (getFirstWord): fix type for ret from getChar
928 (onlyText): and -> &&
929 (simpleDocBookOnePar): and not -> && !, fix type for ret from
932 * toc.C (goTo, action):
933 * text3.C (dispatch):
934 * text.C (currentState):
935 * tex-accent.C (DoAccent):
938 * lyxfunc.C (menuNew):
939 * lyxfinc.C (replace):
940 * counters.C (laberItem):
941 * bufferview_funcs.C (font2string):
942 * bufferparams.C (writeFile):
943 * buffer.C (readFile):
945 * MenuBackend.C: tostr -> convert
947 * LaTeX.C (runMessage): fix format
948 (scanAuxFiles): tostr -> convert
950 * BufferView_pimpl.C (savePosition): fix format
951 (restorePosition): ditto
954 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
956 * Spacing.[Ch]: New method getValueAsString().
960 * ParagraphParameters.C:
963 * text3.C: store/read spacing value as string.
965 * rowpainter.C: change float value (spacing_val) to double.
967 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
968 broken custom document spacing).
970 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
972 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
973 namespace, also more use of temp references and const
975 * cursor.[Ch] (getStatus): move to lyxfunc.C
977 * bufferparams.C: reformat slightly
979 * bufferview_funcs.C (font2string): constify arg
985 * buffer_funcs.C: (many funcs): constify arg on function
986 definitions, also make more local vars const, also add ASSERTS on
989 * buffer.C (LYX_FORMAT): put const in correct place
990 (many funcs): constify arg on function definitions, also make
991 more local vars const
993 * aspell_local.h: remove "struct" from typdef setup
995 * aspell.C (check): make word_ok const
996 (nextMiss): simplify slightly
999 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1001 * lyxrc.[Ch]: store all float values as strings.
1002 use int (not float) for lyxrc.dpi.
1004 2005-01-04 Angus Leeming <leeming@lyx.org>
1006 * lyx_cb.C (Reconfigure):
1007 * lyx_main.C (queryUserLyXDir):
1008 to run the <system_lyxdir>/configure correctly on Windows, prefix
1009 the path to the script with "sh " when generating the string that
1010 is passed to system().
1012 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1014 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1016 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1018 * lyxlength.C (asLatexString): get rid of setprecision
1020 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1022 * text2.C (setLayout): remove unused variable endpit.
1023 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1025 * paragraph.C (onlyText): remove unused variable style.
1027 * cursor.C (bruteFind): remove unused variables beg and end.
1029 * Makefile.am (dist_noinset_DATA): not needed anymore
1031 * cheaders/*: remove.
1033 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1035 * text3.C: fix LFUN_MATH_MODE.
1037 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1039 * buffer_funcs.C (countWords): new function. Counts words between
1042 * BufferView_pimpl.C (getStatus, dispatch): handle
1045 * LyXAction.C (init):
1046 * lfuns.h: add LFUN_WORDS_COUNT.
1048 2004-12-19 Angus Leeming <leeming@lyx.org>
1050 * buffer.C (save): s/slashify_path/internal_path/.
1052 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1054 * lyxfind.C (findChange): do not search for end of pars, because
1055 the change tracker cannot handle this (fixes bug 1719).
1057 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1059 * paragraph.[Ch] (autoBreakRows): remove
1061 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1063 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1064 avoid using the paragraph one
1066 * text2.C (LyXText, insertStringAsLines): adjust
1068 2004-12-16 Angus Leeming <leeming@lyx.org>
1072 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1074 2004-12-14 Angus Leeming <leeming@lyx.org>
1076 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1078 * bufferlist.C (emergencyWrite):
1079 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1082 2004-12-14 Angus Leeming <leeming@lyx.org>
1084 * main.C: (main): no longer pass pointers to os::init.
1086 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1088 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1089 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1091 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1094 * text3.C: remove selection_possible global flag
1096 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1098 * text2.C (getSelectionSpan): remove
1099 (changeDepth, changeDepthAllowed): adjust
1101 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1103 * Makefile.am (BOOST_LIBS): use boost variables
1105 2004-12-03 José Matos <jamatos@lyx.org>
1107 * buffer.C: format up to 238.
1109 2004-12-03 José Matos <jamatos@lyx.org>
1111 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1113 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1115 * cursor.C (goUpDown): remove call to idxUpDown2
1117 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1119 * tabular.[Ch]: use size_t-like types for cell, row and column
1122 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1124 * lyxfunc.C (getStatus): do not lose previous information when
1125 calling BufferView::getStatus; do not set a default "Command
1126 disabled" message at the beginning, but just before returning.
1128 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1130 * cursor.h (getStatus): add better comment from src/cursor.C
1132 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1134 * text3.C (getStatus): return false when the lfun is not handled
1136 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1138 * broken_headers.h: remove
1140 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1142 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1144 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1145 offset_ref accessors
1147 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1148 top_y_, merge fitcursor with update
1149 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1151 (metrics): introduce
1152 (workAreaDispatch): adapt to new coord scheme
1153 (redoCurrentBuffer): remove
1155 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1157 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1160 * coordcache.[Ch]: add paragraph cache and helpers
1162 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1165 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1166 (targetX, setTargetX): introduce
1168 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1169 baseline -> ascent, as the rest of lyx
1171 * lyxtext.h: remove redoParagraphs, updateParPositions,
1172 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1173 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1174 have ascent/descent (ascent is ascent of first par)
1176 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1179 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1181 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1183 * pariterator.C: fix infinite loop introduced in par->pit renaming
1185 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1186 in insets and LyXText, draw two off-screen paragraphs using
1187 NullPainter, and adapt to new coord scheme
1191 * text3.C: adapt lfun handlers to the new coord scheme, which
1192 means: there's only guaranteed coord information for onscreen pars
1193 plus one above and one below. This implies that one can do search
1194 from y coordinates in the range [-1,workHeight]
1196 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1198 * rename a lot of InsetOld to InsetBase
1200 2004-11-25 Angus Leeming <leeming@lyx.org>
1202 * BufferView_pimpl.C:
1204 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1206 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1209 call BufferView::getStatus if LCursor::getStatus did nothing
1210 (setStatusMessage, getStatusMessage): removed.
1212 * FuncStatus.C (message): new methods. Used to provide an error
1213 message indicating why a command is disabled.
1214 (clear, |=, FuncStatus): update for message.
1216 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1218 * lyxfunc.C (dispatch): always call sendDispatchMessage
1220 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1223 * BufferView_pimpl.C:
1228 * cursor_slice.[Ch]:
1231 * paragraph_funcs.C:
1237 * undo.C: par->pit renaming
1239 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1241 * tabular.C (cellstruct): use initialization, store a shared_ptr
1242 to insettext instead of the insettext directly, adjust to fit.
1243 (operator=): new function
1244 (swap): new function
1245 (rowstruct): use initialization
1246 (columnstruct): use initialization
1247 (ltType): use initialization
1250 * lyxlength.h (swap): new function
1252 * LColor.[Ch] (operator=): use the common semantics
1254 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1256 * lyxfind.C (findNextChange): update the bufferview after setting
1259 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1261 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1262 number of InsetOptArgs has already been inserted.
1264 * output_latex.C (latexOptArgInsets): new method. This outputs all
1265 the optarg insets, up to the limit defined in the layout file.
1266 (optArgInset): removed
1267 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1269 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1271 * paragraph.C (isLetter): remove special spellchecker-related
1272 code; return true also for digits
1273 (isWord, isKomma): remove
1275 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1276 * lyxfind.C (MatchString()): use isLetter instead of isWord
1278 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1280 * pariterator.h (operatir=): comment out un-implemented member
1283 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1286 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1288 * lyxfont.h: include LColor.h to satisfy concept checks.
1290 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1292 * pariterator.h: add typdefs for value_type, difference_type,
1293 pointer and reference to satisfy concept checks. Also add default
1294 constructor for same reason.
1296 * pariterator.C (operator++): add post-increment operator to
1297 satisfy concept checks.
1299 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1302 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1304 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1305 checks. Also rename base_type to BaseType to follow naming
1308 * FloatList.h: include Floating.h to satisfy concept checks.
1310 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1312 * lyxfunc.C (getStatus): when the origin of the request is menu or
1313 toolbar, and the LyXView does not have focus, do as if there was
1314 no buffer (bug 1720)
1316 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1317 FuncRequest to individual entries of LFUN_SEQUENCE
1319 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1321 * output_latex.C (TeXOnePar): override runparams.moving_arg
1322 according to the needprotect value of the current paragraph (bug
1325 * paragraph.C (simpleTeXOnePar): no need to override
1326 runparams.moving_args here
1328 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1330 * vspace.C: fix off-by-one-error, related to fix #1682
1332 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1334 * lengthcommon.C: a more general fix for bug 1682
1336 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1338 * text.C (backspace): fix crash
1340 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1342 * format.[Ch] (getFormatFromFile): new method
1343 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1345 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1347 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1349 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1351 * lyxfunc.C (dispatch): remove the verbose argument
1352 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1355 * kbmap.C (defkey): set the origin of func to KEYBOARD
1357 * MenuBackend.C (MenuItem):
1358 * ToolbarBackend.C (add): set the origin of func to UI
1360 * funcrequest.[Ch]: add origin member, which indicates which part
1361 of LyX requests an action
1363 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1365 * converter.C (move): don't lie in the error message
1366 * converter.h (isReachable, move): document
1368 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1370 * buffer.C: remove unused using lyx::support::atoi
1371 * paragraph_funcs.C: ditto
1373 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1375 * bufferlist.C (exists): use bind and equal_to instead of
1378 * lyxtextclasslist.C (NumberOfClass): ditto
1380 * cursor.C (insert): use for_each instead of explicit for loop
1382 * bufferlist.C (getFileNames): use std::transform and
1383 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1385 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1388 * buffer.C (changeLanguage): use for_each instead of explicit for
1390 (hasParWithID): implement using getParFromID
1392 * LaTeXFeatures.C: ws change only
1394 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1397 * BufferView_pimpl.C (trackChanges): use for_each instead of
1400 2004-11-04 André Pönitz <poenitz@gmx.net>
1403 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1405 * dociterator.C (asDocIterator): use hard assert again.
1407 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1409 * lyxlength.C (asLatexString): rewrite so that it does not use
1412 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1414 * text3.C (specialChar, dispatch): make sure cursor moves to the
1415 right after inserting an inset
1417 2004-11-02 José Matos <jamatos@lyx.org>
1419 * output_docbook.C (docbook):
1420 * paragraph.C (getID):
1421 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1422 garantee that the output is always legal.
1424 * tabular.C (docbook):
1425 * outputprams.[Ch]: remove mixed contents.
1427 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1429 * text2.C (setCounter): prevent endless loop
1431 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1433 * exporter.C (copyFile): use the mover instead of support::copy()
1434 * exporter.C (Export): pass format and latex name to copyFile()
1435 * exporter.h (addExternalFile): document
1436 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1438 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1440 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1442 2004-10-30 José Matos <jamatos@lyx.org>
1444 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1445 text and no inset or font change. This allows to use CDATA
1446 sections just for the whole paragraph.
1448 2004-10-30 José Matos <jamatos@lyx.org>
1450 * paragraph.C (getFirstWord): remove unused variable.
1452 2004-10-30 José Matos <jamatos@lyx.org>
1454 * paragraph.C (getFirstWord): the content should always be escaped
1456 (simpleDocBookOnePar):
1457 * output_docbook.C (makeEnvironment): replace reference to CDATA
1460 2004-10-30 José Matos <jamatos@lyx.org>
1462 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1464 2004-10-30 José Matos <jamatos@lyx.org>
1466 * output_docbook.C (makeParagraphs):
1467 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1468 standard paragraph has only a given type of content drop the wrapper.
1470 2004-10-29 José Matos <jamatos@lyx.org>
1472 * output_docbook.C (makeEnvironment):
1474 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1476 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1478 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1479 (cleanID): sanitize any id.
1481 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1483 * buffer.C, lyxlex_pimpl.C:
1484 * lyxlex_pimpl.C (setFile):
1485 s/getExtFromContents/getFormatFromContents/
1487 2004-10-28 José Matos <jamatos@lyx.org>
1489 * output_docbook.C (makeEnvironment): move id to broadest possible
1492 * sgml.C (openTag): apply substitution of <> for all attributes.
1494 2004-10-28 José Matos <jamatos@lyx.org>
1496 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1497 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1498 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1500 * sgml.[Ch]: new version for open and closeTag for paragraph and
1501 for strings. Now they handle the ids of paragraphs.
1503 2004-10-26 Angus Leeming <leeming@lyx.org>
1505 * Makefile.am: add mover.[Ch].
1507 * converter.C (convert, move): use the new Movers to move external
1508 files to the temp directory.
1510 * lyx_main.C (init): ensure that the global system_movers data
1513 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1516 * mover.[Ch]: new files, defining a Mover as a utility to move an
1517 external file between directories and, if necessary, manipulate this
1518 file using a helper script.
1520 2004-10-25 José Matos <jamatos@lyx.org>
1522 * output_docbook.C (makeCommand): merge two if's that tested the
1525 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1527 * sgml.C (escapeString): fix warning in a better way
1529 2004-10-25 José Matos <jamatos@lyx.org>
1531 * sgml.C (escapeString): import the require boosts header file for
1532 tie, and avoid a signed unsigned comparison.
1534 2004-10-25 José Matos <jamatos@lyx.org>
1536 * sgml.h: add #include <string>
1538 2004-10-25 José Matos <jamatos@lyx.org>
1540 * sgml.[Ch] (escapeString): new function to escape all the string.
1542 2004-10-24 José Matos <jamatos@lyx.org>
1544 * paragraph.[Ch] (getFirstWord): new function to get the first
1545 word. Useful for description.
1546 (simpleDocBookOnePar): remove depth argument, add another that
1547 says where to start the paragraph.
1549 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1550 use the new functions to fix cleanly the support for descriptions.
1552 2004-10-24 José Matos <jamatos@lyx.org>
1554 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1555 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1556 * output_linuxdoc.C (linuxdocParagraphs):
1557 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1558 add buffer as argument.
1560 2004-10-24 José Matos <jamatos@lyx.org>
1562 * output_docbook.C (makeEnvironment, searchEnvironment): place
1563 CDATA inside paragraphs and fix scope for listitems.
1565 2004-10-24 José Matos <jamatos@lyx.org>
1567 * output_docbook.C: remove using statement for stack.
1569 2004-10-23 José Matos <jamatos@lyx.org>
1571 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1572 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1573 docbook. The new scheme is recursive and makes use of iterators, the
1574 same as latex export works.
1575 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1576 directly with the paragraph contents. This code was moved up to
1577 output_docbook.C (docbookParagraphs).
1578 * sgml.C (openTag, closeTag): removed unneeded newlines.
1579 (closeEnvTags) removed.
1581 2004-10-23 André Pönitz <poenitz@gmx.net>
1583 * undo.C (textUndoOrRedo):
1584 * dociterator.C (asDocIterator): work around crash
1586 * cursor.C (getStatus): replace ASSERT by more verbose error message
1587 and manual correction of the problem. Should increase stability
1588 while providing more sensible information.
1590 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1592 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1594 * bufferlist.C (previous, next): new methods
1597 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1599 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1601 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1602 entities to preamble.
1604 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1606 * messages.C (Pimpl): strip off translation context information
1608 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1610 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1611 the cursor is correct (bug 1694)
1613 2004-10-13 José Matos <jamatos@lyx.org>
1615 * output_docbook.C (docbookParagraphs): fix closing tags in the
1616 end of the document.
1618 2004-10-09 José Matos <jamatos@lyx.org>
1620 * buffer.C: format up to 237.
1621 * bufferparams.C (write): use tostr to convert booleans to strings.
1623 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1625 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1627 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1629 * LaTeX.C: implement use of babel language in xindy.
1631 2004-10-05 José Matos <jamatos@lyx.org>
1633 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1634 Add new translators to help reading and writing the lyx file.
1636 2004-10-05 José Matos <jamatos@lyx.org>
1638 * ParagraphParameters.C (read):
1639 * text.C (readParToken): replace nexToken by more appropriate lex
1642 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1644 * LaTeX.C (runMakeIndex):
1645 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1646 (usually 'makeindex') configurable.
1648 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1649 with a variable rather than with a number.
1651 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1653 * output_latex.C (TeXOnePar): make sure font setting is the first
1654 thing that gets output (and the last at the end). Should fix bug
1657 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1659 * pch.h: use proper signal include
1661 * LaTeX.h: Use preferred calling of Boost.Signal
1664 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1666 * pch.h: dont include <boost/function/function0.hpp>
1668 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1670 * paragraph_pimpl.h: remove usage of ShareContainer
1672 * paragraph_pimpl.C: remove initialization of ShareContainer.
1674 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1678 * BufferView.C (putSelectionAt): change the semantics when
1679 backwards == true: now, this just swaps cursor and anchor wrt the
1682 * BufferView.h (putSelectionAt): add some documentation
1684 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1685 make sure backwardChar is done at least once (to avoid getting
1687 (findNextChange): use putSelectionAt in the forward direction
1688 (operator()): use Paragraph::isWord
1690 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1692 * Spacing.C (set): c_str fix
1694 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1696 * lyx_cb.C (Reconfigure): quote the name of configure script in
1697 case it contains spaces
1699 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1703 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1704 (BOOST_LIBS): use top_buildir when looking for the file
1706 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1708 * pch.h: do not use include boost/format.hpp, multiple symbols
1709 will result (gcc bug)
1712 2004-08-23 José Matos <jamatos@lyx.org>
1714 * bufferparams.C (readToken): fix reading of the author field.
1716 2004-08-20 José Matos <jamatos@lyx.org>
1718 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1720 2004-08-20 José Matos <jamatos@lyx.org>
1722 * lyxlex.[Ch] (findToken): remove function.
1724 * ParagraphParameters.C (findToken):
1725 * bufferparams.C (findToken): replace call for previous function
1726 with local copy. This local function has one more argument, the
1727 read string argument.
1729 2004-08-16 José Matos <jamatos@lyx.org>
1731 * ParagraphParameters.C (write):
1732 * Spacing.C (writeFile):
1733 * bufferparams.C (writeLaTeX):
1734 * lyx_cb.C (Reconfigure):
1735 * paragraph.C (write):
1736 * tabular.C (write): remove unnecessary space at end of line.
1739 2004-08-16 José Matos <jamatos@lyx.org>
1741 * text.C (readParagraph): remove debug message.
1743 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1745 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1748 * output_plaintext.C (asciiParagraph): set depth correctly
1750 * outputparams.h: add member depth
1752 * paragraph_funcs.C (ownerPar): remove.
1754 * text2.C (setCounter): remove first_pit; comment out some
1755 non-working code that uses ownerPar
1757 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1760 2004-08-16 José Matos <jamatos@lyx.org>
1762 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1763 For the same level of importance use the same chanel to report problems.
1764 (read): add code to deal with \begin_body and \end_body.
1767 2004-08-15 José Matos <jamatos@lyx.org>
1769 * lyxlex.C (getString): fix comment, buffer::readBody is now
1770 buffer:readDocument.
1772 * tex-strings.C (string_papersize): Default -> default,
1773 Custom -> custom, for consistency with other options.
1775 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1779 * Makefile.am: support pch
1781 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1783 * text.C (readParToken): remove the static LyXFont variable and
1784 pass it as a parameter instead. This fixes a nasty bug where an
1785 inset will be inserted with a bad font in some situations
1786 (readParagraph): adapt
1788 * text2.C (setCounter): reduce number of calls to pars_[pit]
1790 * text.C (singleWidth): add an assert, fix a test
1792 * rowpainter.C (paintText): reduce number of calls to singleWidth
1794 * paragraph.C (isHfill):
1795 (isNewline): ws only
1797 2004-08-14 André Pönitz <poenitz@gmx.net>
1802 * lyxtext.h (several functions): use a Paragraph & argument
1805 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1807 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1809 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1811 * text.C (singleWidth): remove useless test
1813 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1815 * tabular.h: remove bogus comments
1817 * tabular.C (getDescentOfRow):
1818 (isPartOfMultiColumn): add assertions
1820 * lyxlength.C (inPixels): remove #warning
1822 2004-08-14 André Pönitz <poenitz@gmx.net>
1824 * paragraph.h: inline getChar()
1826 * BufferView.h: remove unused declarations
1828 2004-08-14 José Matos <jamatos@lyx.org>
1830 * Buffer.[Ch] (readDocument): new name for old readBody.
1831 * Buffer.C: new file format, new keywords: \begin_document,
1832 \begin_header, \begin_body, \end_body.
1834 * bufferparams.C (readToken): replace all calls to lex.nextToken
1835 by lex.next(). Do the same to eatLine except where really needed.
1837 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1838 line when writing to the lyx file.
1840 * output_plaintext.C (asciiParagraph): fix Bibliography style
1843 * text.C (read): fix end of file handling.
1845 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1847 * MenuBackend.C (Menu::operator[]): new method to access
1848 individual menu items
1849 (Menu::hasFunc): new method. search for an item that corresponds
1851 (MenuBackend::specialMenu): new method
1852 (MenuBackend::expand): if a special menu has been set, skip
1853 entries whose func() appears in this menu
1855 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1857 * text3.C: use Debug::DEBUG a bit more
1859 * text.C (leftMargin): try to simplify a tiny bit change var x to
1860 l_margin. Dont output the wide margins always.
1861 (rightMargin): no margin in inner texts
1863 * rowpainter.h (nestMargin): new func
1864 (changebarMargin): new func
1865 (rightMargin): new func
1867 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1871 * factory.C (createInset): modify setDrawFrame
1873 * cursor.C: use Debug::DEBUG a bit more
1875 2004-08-14 André Pönitz <poenitz@gmx.net>
1878 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1879 cache for all insets in (at least partially) visible (top-level)
1882 * BufferView_pimpl.C: reset external coord cache before every update.
1883 This means the coord cache only contains valid entries.
1885 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1888 * BufferView_pimpl.C (getInsetByCode): move function out of class
1889 and change in to a template in anon namespace. Also fix to do what
1892 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1895 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1897 (breakParagraph): rename par to par_offset and use a local
1898 reference. Add code to keep the language over a rebreak.
1899 (breakParagraphConservative): rename par to par_offset, use a
1901 (mergeParagraph): ditto
1903 (isFirstInSequence): ditto
1904 (outerFont): rename pit to par_offset
1906 * paragraph.C: ws change
1907 * paragraph.h: ditto
1911 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1913 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1916 * paragraph.C (simpleTeXOnePar): when we have a \item with
1917 optional argument, enclose the argument with curly brackets (in
1918 case it contains a closing square bracket)
1922 * text3.C (checkInsetHit): constify
1924 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1926 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1927 documents (bug 1629)
1929 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1931 Fix toggling of collapsable insets with the mouse (bug 1558)
1933 * lyxfunc.C (dispatch): adapt to LCursor changes
1935 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1936 make sure that dispatch is not invoked twice
1938 * cursor.C (needsUpdate): new method
1939 (dispatch): return void
1940 (result): new method, to access the DispatchResult of the cursor.
1942 2004-08-13 José Matos <jamatos@lyx.org>
1944 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1946 2004-08-13 André Pönitz <poenitz@gmx.net>
1948 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1950 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1953 2004-08-12 André Pönitz <poenitz@gmx.net>
1955 * text3.C: take out the 'cursor right' form insertInset and only
1956 do it in those places when it is really needed. Fixes crash on
1959 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1961 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1963 * BufferView_pimpl.C (setBuffer): initialize the current font of
1964 the underlying LyXText
1966 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1968 * kbsequence.C (print): use UI native formatting for menu
1971 * text.C (insertChar): call Paragraph::insertChar with a font
1974 * paragraph.C (insertInset, insertChar): the version that takes a
1975 LyXFont argument is now a wrapper around the other one (the
1976 opposite used to be true).
1978 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1979 argument. Font setting is done in Paragraph now.
1981 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1983 * outputparams.h: add new members intitle and lang.
1985 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1986 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1988 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1990 * text3.C (dispatch): remove special handling of button 4 and 5,
1991 it is now taken care of in the frontend code.
1993 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1995 * Spacing.h: add <string> (STLPort compile fix)
1997 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1999 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2001 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2003 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2006 * converter.C (showMessage): inherit from unary_function, make
2009 * buffer.C (writeFile): initialize retval
2011 * InsetList.h: rename private variable list to list_
2012 * InsetList.[Ch]: adjust accordingly.
2014 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2016 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2017 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2018 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2019 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2020 * ParagraphParameters.C, LaTeXFeatures.C: replace
2021 "support/std_sstream.h" with <sstream>
2023 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2025 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2026 * lyxsocket.C (LyXServerSocket): ditto
2027 (serverCallback): ditto
2029 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2031 * LaTeXFeatures.C: check release date when loading jurabib.
2033 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2035 * lyxserver.C (startPipe): call register_socket_callback
2036 (endPipe): call unregister_socket_callback
2038 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2040 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2041 (LyXServerSocket): register the callback
2042 (LyXServerSocket): unregister the callback
2043 (fd): delete function
2044 (serverCallback): improve error checking and setup the callbacks.
2045 (dataCallback): change arg to fd.
2046 (writeln): new func (copied fro the client socket) used for server
2048 (LyXDataSocket): simplify
2049 (~LyXDataSocket): close ann unregiser callback
2050 (server): delete function
2051 (fd): delete function
2052 (readln): small changes, improve some std::string usage
2053 (writeln): constify a bit
2055 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2057 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2060 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2062 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2063 after it has been populated
2065 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2067 * text2.C (insertInset): move cursor when inserting inset.
2069 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2071 * kbmap.C (findbindings): a couple of new methods. returns a
2072 container of kb_sequence objects. The real work is done by the
2073 private recursive version
2074 (printbindings): uses findbindings to print out a bracketed list
2075 of bindings (renamed from findbinding).
2077 * MenuBackend.C (binding): use kb_keymap::findbindings
2079 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2081 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2083 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2085 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2087 * paragraph.C (isWord): return true on insets that report
2090 * text.C (getWord): use Paragraph::isWord to decide what is in a
2091 word and what is not; fix bug 1609.
2093 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2095 * tex-strings.C: add "none" to string_paperpackages[], fixes
2096 off-by-one-error in the paperpackage selection.
2099 * tex-strings.[Ch]: char const * string[n]
2100 -> char const * const string[]
2102 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2104 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2105 command, return early.
2107 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2109 * debug.h: add DEBUG to enum and fix size of ANY.
2111 * debug.C: add support for Debug::DEBUG
2112 (showTags): cast errorTags.level to unsigned int
2114 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2115 (redoCurrentBuffer): ditto
2116 (updateScrollbar): ditto
2117 * cursor.C (dispatch): ditto
2118 * text2.C (setLayout): ditto
2120 (updateCounters): ditto
2122 (deleteEmptyParagraphMechanism): ditto
2124 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2126 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2127 annotations to cleanup the Makefile slightly.
2129 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2131 * lyxrc.C: do not set user_email to a default value but use empty
2132 instead. The entry used to be translated, which does not work
2133 since at the point where lyxrc is constructed there is no
2134 translation service available
2136 * messages.C (getLocaleDir): remove and use directly
2137 lyx_localedir() instead
2139 2004-06-02 Angus Leeming <leeming@lyx.org>
2141 Fix crash caused by dereferencing null pointer 'exportdata' in
2142 OutputParams by creating a new ExportData variable on the heap,
2143 storing it in a boost::shared_ptr.
2144 The crash was triggered when generating an Instant Preview
2145 of an external inset.
2147 * Makefile.am: add outputparams.C
2149 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2150 (c-tor): allocate memory to it.
2152 * exporter.C (c-tor): associated changes.
2154 2004-06-01 Angus Leeming <leeming@lyx.org>
2156 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2157 contains data before calling isInset(0). (Bug 1513.)
2159 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2161 * exporter.C (checkOverwrite): new method
2162 * exporter.C (copyFile): new method
2163 * exporter.C (Export): copy referenced files to the document dir
2164 * exporter.[Ch]: new class ExportedFile
2165 * exporter.[Ch]: new class ExportData. Contains currently the
2166 names of referenced external files
2167 * outputparams.h: add exportdata member.
2169 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2171 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2174 2004-05-19 Angus Leeming <leeming@lyx.org>
2179 * lyxfunc.C: small changes due to the introduction of namespace
2180 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2182 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2184 * text3.C (dispatch): supress update when only moving the cursor
2185 * cursor.C (selHandle): remove commented code
2187 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2189 * paragraph.C (startTeXParParams): correct column count
2190 * CutAndPaste.C (pasteSelection): remove const_cast
2191 * output_docbook.C (docbookParagraphs): remove const_cast
2192 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2193 const_cast and return ParagraphList::const_iterator
2194 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2195 * output_plaintext.C (writeFileAscii): remove const_cast
2196 * paragraph.[Ch] (simpleTeXOnePar): make const
2197 * paragraph_funcs.C (outerPar): use const iterators
2198 * paragraph_pimpl.C (validate): use const iterators
2199 * text.C (setHeightOfRow): use const iterators
2201 2004-05-17 Angus Leeming <leeming@lyx.org>
2204 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2206 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2207 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2208 if the citation engine has changed.
2210 2004-05-14 José Matos <jamatos@lyx.org>
2212 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2213 if the textclass does not provide it. Have it different for sgml and
2215 support the language of document.
2216 * output_docbook.C (docbookParagraphs):
2217 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2218 first anchor as the id of the paragraph, remove special case code.
2219 * sgml.C (escapeChar): escape only < & >.
2221 2004-05-14 Angus Leeming <leeming@lyx.org>
2223 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2224 dependencies on src/frontends/controllers/biblio.h. Define a
2225 CiteEngine_enum wrapper class to enable the enum to be forward
2228 2004-05-12 Angus Leeming <leeming@lyx.org>
2230 * buffer.C: up LYX_FORMAT to 234.
2231 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2232 use_numerical_citations with a single biblio::CiteEngine cite_engine
2234 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2236 2004-05-13 José Matos <jamatos@lyx.org>
2239 * converter.C (Converter, readFlags): add xml member.
2240 * outputparams.h: add XML flavor.
2241 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2243 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2245 * lyxfunc.C (dispatch):
2246 (getStatus): fix handling of LFUN_SEQUENCE
2248 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2250 * debug.C (showLevel): do not forget the end-of-line marker
2252 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2254 * kbmap.C (read): do not stop parsing a bind file when an error
2257 2004-04-29 Angus Leeming <leeming@lyx.org>
2262 * text2.C: wrap a bunch of #warning statements
2263 inside #ifdef WITH_WARNINGS blocks.
2265 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2267 * buffer.C: increment format to 233.
2269 2004-04-28 Angus Leeming <leeming@lyx.org>
2271 * BufferView_pimpl.C:
2274 s/updateToolbar()/updateToolbars()/
2275 s/Toolbar.h/Toolbars.h/
2277 2004-04-28 Angus Leeming <leeming@lyx.org>
2279 * BufferView.[Ch] (c-tor):
2280 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2281 No longer passes these data to the WorkArea generator.
2283 2004-04-28 Angus Leeming <leeming@lyx.org>
2285 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2287 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2289 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2291 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2293 * output_latex.C (TeXEnvironment): make sure that there is a line
2294 break before \end{foo} for the last paragraph of a document
2295 (TeXOnePar): if the paragraph is at the end of the document (or
2296 inset) and the language has to be reset, then make sure that the
2297 line break is _before_ the language command, not after (fixes bug
2298 1225); also make sure that the language reset command is the first
2299 thing after the paragraph (to ensure proper nesting of
2300 environments and thus fix bug 1404)
2302 2004-04-21 John Levon <levon@movementarian.org>
2305 * ToolbarBackend.C: make "name" be a programmatic name
2306 and a gui_name field.
2308 * lyxfunc.C: display the minibuffer on M-x
2310 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2312 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2315 2004-04-19 Angus Leeming <leeming@lyx.org>
2317 * BufferView_pimpl.C (setBuffer): changed preview interface.
2319 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2322 2004-04-19 John Levon <levon@movementarian.org>
2324 * BufferView_pimpl.C:
2325 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2327 2004-04-05 Angus Leeming <leeming@lyx.org>
2329 * text.C (redoParagraphs): add call to updateCounters(), thereby
2330 fixing the missing "Figure #:" label from the caption of a
2333 2004-04-13 Angus Leeming <leeming@lyx.org>
2335 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2336 cursor is clicked out of an inset.
2338 2004-04-13 Angus Leeming <leeming@lyx.org>
2340 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2341 than an InsetOld one.
2343 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2345 * format.[Ch]: add editor to Format
2346 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2347 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2349 2004-04-08 André Pönitz <poenitz@gmx.net>
2351 * metricsinfo.h: remove PainterInfo::width member
2353 2004-04-08 Angus Leeming <leeming@lyx.org>
2355 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2356 "\providecommand" rather than "\newcommand", thereby preventing
2357 clashes with packages that define "\boldsymbol" themselves.
2360 2004-04-08 Angus Leeming <leeming@lyx.org>
2362 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2363 thereby squashing an unnecessary warning.
2365 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2367 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2370 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2372 * BufferView.C (setCursor): call redoParagraph (some insets could
2374 (putSelectionAt): remove the 'double update' trick
2376 * BufferView_pimpl.C (fitCursor): call refreshPar
2377 (workAreaDispatch): remove an uneeded update call
2378 (dispatch): remove some manual update calls
2380 * cursor.[Ch]: remove cached_y_, updatePos
2381 (selHandle): set noUpdate when appropriate
2383 * lyxfunc.C (dispatch): track if we need an update
2385 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2387 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2388 (paintSelection): cheap optimization, do not call cursorX when not
2390 (paintPars): change signature
2393 (paintTextInset): adjust
2397 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2399 * lengthcommon.C: compilation fix: remove explicit array size from
2400 unit_name[] and friends
2402 2004-04-05 Angus Leeming <leeming@lyx.org>
2404 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2406 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2407 present only for the preferences dialog.
2408 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2410 2004-04-05 Angus Leeming <leeming@lyx.org>
2412 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2413 to enable the frontends to export changes to lyxrc correctly.
2415 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2417 2004-04-07 André Pönitz <poenitz@gmx.net>
2419 * cursor.[Ch] (selClear, adjust): remove math
2421 * cursor_slice.C: more agressive assert
2424 * BufferView_pimpl.C: rework mouse event dispatch
2431 2004-04-05 André Pönitz <poenitz@gmx.net>
2433 * cursor.[Ch] (valign, halign...): remove unneeded functions
2435 2004-04-05 Angus Leeming <leeming@lyx.org>
2437 * lyxlength.[Ch] (unit_name et al.): const-correct.
2439 2004-04-05 Angus Leeming <leeming@lyx.org>
2441 * BufferView_pimpl.C:
2450 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2452 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2454 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2456 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2458 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2459 * BufferView_pimpl.[Ch] (getStatus)
2460 * BufferView.[Ch] (getStatus): add
2461 * lyxfunc.C (getStatus): move lfuns handled in
2462 BufferView::dispatch to te function above
2463 * Cursor.C (setSelection): set selection() = true
2465 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2467 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2469 2004-03-31 Angus Leeming <leeming@lyx.org>
2471 * lyxfunc.C (dispatch): Fall through to the generic
2472 Dialogs::show("preamble").
2474 2004-03-31 Angus Leeming <leeming@lyx.org>
2476 * lyxfunc.C (dispatch): Fall through to the generic
2477 Dialogs::show("spellchecker").
2479 2004-03-31 Angus Leeming <leeming@lyx.org>
2481 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2484 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2489 * insetiterator.[Ch]:
2494 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2496 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2498 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2499 insets where we are putting the cursor.
2501 2004-03-31 Angus Leeming <leeming@lyx.org>
2504 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2506 * lyxrc.[Ch] (read, write): overloaded member functions taking
2507 a std::[io]stream arguments.
2509 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2511 2004-03-31 Angus Leeming <leeming@lyx.org>
2513 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2514 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2516 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2517 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2519 2004-03-31 Angus Leeming <leeming@lyx.org>
2521 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2522 the LFUN_ALL_INSETS_TOGGLE code.
2524 2004-03-30 Angus Leeming <leeming@lyx.org>
2526 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2527 has died. Fall through to the generic Dialogs::show("document").
2529 2004-03-30 Angus Leeming <leeming@lyx.org>
2532 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2533 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2535 * lyxfunc.C (getStatus, dispatch): define the actions for these
2536 lfuns. Little more than a cut and pste job from ControlDocument.C
2538 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2540 2004-03-30 Angus Leeming <leeming@lyx.org>
2543 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2544 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2546 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2547 open/closed state of ollapsable insets. Usage:
2549 all-inset-toggle <state> <name>, where
2550 <state> == "open" || "closed" || "toggle" and
2551 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2553 * lyxtext.h, text2.C (toggleInset): removed.
2555 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2556 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2557 now passes LFUN_INSET_TOGGLE to the found inset.
2559 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2560 is now invoked as "all-insets-toggle toggle branch".
2562 2004-03-30 Angus Leeming <leeming@lyx.org>
2566 * pariterator.[Ch]: added/corrected header blurb.
2568 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2570 * dociterator.[Ch]: add an inset_ member
2571 (backwardPos): implemented
2572 (backwardPos, forwardPos): use inset_ when the stack is empty.
2573 (doc_iterator_begin, doc_iterator_end): implemented
2574 * pariterator.[Ch]: adjust, add begin, end
2575 * insetiterator.[Ch]: adjust, add begin, end
2579 * BufferView_pimpl.C:
2580 * CutAndPaste.C: adjust
2582 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2584 * buffer.C: increment file format to 232.
2585 * LaTeXFeatures.C: add bibtopic package.
2586 * bufferparams.[Ch]: param \use_bibtopic.
2588 * lyxrc.[Ch]: add lyxrc bibtex_command
2589 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2591 * buffer.C: increment file format to 231.
2593 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2595 * dociterator.C: implement forwardPar
2596 * iterators.[Ch]: remove, replaced by
2597 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2599 * BufferView_pimpl.C:
2602 * bufferview_funcs.C:
2608 * Makefile.am: adjust
2610 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2612 * CutAndPaste.C (pasteSelection): fix 2 crashes
2613 (eraseSelection): fix a crash
2614 * paragraph_funcs.C: remove a warning
2616 2004-03-28 Angus Leeming <leeming@lyx.org>
2619 * LyXAction.C (init): new LFUN_PRINT.
2621 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2623 2004-03-27 Angus Leeming <leeming@lyx.org>
2626 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2628 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2630 2004-03-27 Angus Leeming <leeming@lyx.org>
2632 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2633 insetlist always contains non-null pointers to insets.
2635 2004-03-26 Angus Leeming <leeming@lyx.org>
2637 * src/BufferView_pimpl.C:
2638 * src/CutAndPaste.C:
2641 * src/output_plaintext.C:
2642 * src/outputparams.h:
2643 * src/paragraph_funcs.C:
2647 * src/frontends/controllers/ControlErrorList.C:
2648 * src/frontends/gtk/FileDialogPrivate.C:
2649 * src/frontends/gtk/GPainter.C:
2650 * src/frontends/gtk/GToolbar.C:
2651 * src/frontends/qt2/QRef.C:
2652 * src/mathed/math_scriptinset.C: squash compiler warnings.
2654 2004-03-26 Angus Leeming <leeming@lyx.org>
2656 * ispell.C (LaunchIspell::start):
2657 * lyx_cb.C (AutoSaveBuffer::start):
2658 invoke run(DontWait) rather than runNonBlocking().
2660 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2662 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2664 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2666 * kbsequence.C (print): adjust
2668 * kbmap.C (printKeySym): rename and change signature
2669 (printKey): use LyXKeySym::print()
2671 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2673 * undo.C: add using std::advance to compile for stlport
2675 2004-03-24 Angus Leeming <leeming@lyx.org>
2677 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2678 it leads to a crash when no buffer is present.
2680 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2681 Martin Vermeer <martin.vermeer@hut.fi>
2683 * lyxfunc.C (dispatch):
2684 * bufferparams.C (readToken): use the new LColor::setColor
2686 * LColor.[Ch] (setColor): new version that takes two strings as
2687 argument and creates a new color entry if necessary
2689 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2691 * buffer.C (makeLaTeXFile): if the main latex file that is
2692 processed is usually a subdocument of some master, then pretend
2693 for a while that it is actually the master
2695 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2697 * buffer.C (getLabelList):
2698 (getBibkeyList): use getMasterBuffer()
2699 (getMasterBuffer): new method. Returns the main document in the
2700 case where one is using included documents.
2702 2004-03-25 André Pönitz <poenitz@gmx.net>
2706 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2708 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2710 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2711 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2713 * ParameterStruct.h: merge with ParagraphParameters
2715 * lyxtext.h: remove LyXText::parOffset() and getPar()
2717 * text3.C: Remove all 'manual' update calls. We do now one per user
2718 interaction which is completely sufficient.
2722 * BufferView_pimpl.C:
2723 * FontIterator.[Ch]:
2725 * ParagraphParameters.[Ch]:
2730 * cursor_slice.[Ch]:
2737 * output_docbook.[Ch]:
2738 * output_latex.[Ch]:
2739 * output_linuxdoc.[Ch]:
2740 * output_plaintext.[Ch]:
2742 * paragraph_funcs.[Ch]:
2743 * paragraph_pimpl.[Ch]:
2751 * frontends/controllers/ControlDocument.C:
2752 * frontends/controllers/ControlErrorList.C:
2753 * frontends/controllers/ControlSpellchecker.C:
2756 * insets/insetbase.h:
2757 * insets/insetbibitem.C:
2758 * insets/insetbox.C:
2759 * insets/insetbranch.C:
2760 * insets/insetcaption.C:
2761 * insets/insetcharstyle.C:
2762 * insets/insetcharstyle.h:
2763 * insets/insetcollapsable.C:
2764 * insets/insetcollapsable.h:
2765 * insets/insetert.C:
2766 * insets/insetfloat.C:
2767 * insets/insetfoot.C:
2768 * insets/insetmarginal.C:
2769 * insets/insetnote.C:
2770 * insets/insetoptarg.C:
2771 * insets/insettabular.C:
2772 * insets/insettext.C:
2773 * insets/insettext.h:
2774 * insets/insetwrap.C:
2775 * mathed/math_mboxinset.C:
2776 * mathed/math_nestinset.C:
2777 * mathed/math_scriptinset.C:
2778 * mathed/math_scriptinset.h:
2781 2004-03-24 Angus Leeming <leeming@lyx.org>
2783 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2784 deal with any child processes that have finished but are waiting to
2785 communicate this fact to the rest of LyX.
2787 2004-03-24 Angus Leeming <leeming@lyx.org>
2789 64-bit compile fixes.
2791 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2792 (c-tor): pass lyx::pos_types rather than ints.
2794 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2797 * text.C (Delete): compile fix.
2798 (getPar): ensure that function declaration is the same as that in
2801 2004-03-23 Angus Leeming <leeming@lyx.org>
2803 * ispell.C (LaunchIspell):
2804 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2805 a boost::shred_ptr rather than a std::auto_ptr.
2807 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2809 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2810 handle LFUN_FILE_INSERT_*
2812 * lyxrc.C (setDefaults, getDescription, output, read):
2813 * lyxrc.h: remove ps_command
2815 2004-03-22 Angus Leeming <leeming@lyx.org>
2817 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2818 Ensure that error_handler is processed once only and that all data
2819 is saved before attempting to output any warning messages.
2821 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2823 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2825 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2827 2004-03-19 André Pönitz <poenitz@gmx.net>
2829 * cursor.[Ch] (reset): take main text inset as argument
2831 * BufferView: adjust
2832 * BufferView_pimpl.C: adjust
2834 * paragraph.[Ch]: fix completely broken operator=()
2836 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2838 * LColor.C (getFromLyXName): make sure that the color name is used
2841 2004-03-17 Angus Leeming <leeming@lyx.org>
2844 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2846 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2847 dialog and to kill a forked process.
2849 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2851 * text2.C (setCursorFromCoordinates): fix font problem
2853 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2855 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2856 bogus "rebuild cursor" code
2858 2004-03-11 André Pönitz <poenitz@gmx.net>
2860 * buffer.[Ch]: use InsetText instead of LyXText as container for
2863 * dociterator.[Ch]: drop the BufferView * member which is not needed
2864 anymore after the change to buffer.C
2866 * paragraph_funcs.C:
2870 * BufferView_pimpl.[Ch]:
2872 * cursor_slice.[Ch]: adjust
2874 * text3.C: fix bug in mathDispatch
2876 2004-03-08 André Pönitz <poenitz@gmx.net>
2878 * undo.[Ch]: use 'StableDocumentIterator' as base for
2881 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2884 * bufferparams.[Ch]: add jurabib support and param.
2886 * LaTeX.C: add FIXME/comment.
2888 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2890 * buffer.C: increment file format to 230.
2892 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2894 * cursor.C (dispatch): avoid infinite loops
2896 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2898 * rowpainter.C (paintSelection): fix x coordinates
2900 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2902 * text.C (rowBreakPoint): fix breaking before displayed insets
2904 2004-03-01 André Pönitz <poenitz@gmx.net>
2906 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2908 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2912 * BufferView_pimpl.C:
2920 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2926 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2927 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2929 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2931 * Bidi.[Ch] (computeTables): const correctness
2932 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2933 fill_hfill, fill_label_hfill and x from Row
2934 * lyxtext.h: prepareToPrint returns a RowMetrics
2935 * rowPainter.C: adjust
2936 * text.C (prepareToPrint): use width, not textWidth. adjust
2937 (redoParagraphInternal, cursorX): adjust
2938 * text2.C (getColumnNearX): adjust
2939 (init): put a default value to the top LyXText::width
2941 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2943 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2945 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2947 * lyxtext.h: add FontIterator class
2949 * text.C (FontIterator, operator*, operator->, operator++): add
2950 (rowBreakPoint, setRowWidth): adjust (fixing a
2953 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2955 * BufferView_pimpl.C (workAreaDispatch): allow also
2956 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2958 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2960 * text.C (rowBreakPoint): fix a bug showing with very large insets
2962 2004-02-25 André Pönitz <poenitz@gmx.net>
2965 * cursor.[Ch]: move some mathed specific code to mathed
2967 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2969 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2970 use_tempdir in preferences
2971 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2973 * lyx_main.C: ensure that tempdir is valid
2974 * lyxlex.h: correct typo
2975 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2976 * paragraph.[Ch] (isMultiLingual): make const
2977 * cursor.[Ch] (openable): make const
2979 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2981 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2983 2004-02-20 André Pönitz <poenitz@gmx.net>
2985 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2987 * cursor.[Ch]: prepare for localized getStatus()
2993 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2995 2004-02-20 André Pönitz <poenitz@gmx.net>
2997 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2999 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3001 * text2.C (setCursorFromCoordinates): switch to absolute coords
3003 (cursorDown): adjust
3004 * text3.C (dispatch): adjust
3006 2004-02-16 André Pönitz <poenitz@gmx.net>
3008 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3011 * cursor_slice.[Ch]: remove unneeded acessor function
3013 * lyxtext.h: rename rtl() to isRTL()
3021 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3023 * rowpainter.C (paintSelection): coord fix
3025 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3027 * Spacing.C: compile fix
3029 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3031 * cursor.C (dispatch): restore current_ before returning
3033 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3035 * text2.C (cursorUp, cursorDown): fix coords
3038 2004-02-12 André Pönitz <poenitz@gmx.net>
3043 * text3.C: add LCursor & parameter to most cursor movement functions
3044 remove usage of LyXText::cursorRow() and cursorPar()
3046 * cursor.[Ch]: add textRow() needed members
3049 * BufferView_pimpl.C:
3052 * BufferView_pimpl.C: adjust
3054 2004-02-11 André Pönitz <poenitz@gmx.net>
3058 * BufferView_pimpl.C: shift undo/redo handling
3060 * cursor.[Ch]: fix mathed crash
3063 * lyxtext.h: move selectionAsText to LCursor
3071 * rowpainter.C: fix excessive drawing
3073 2004-02-06 André Pönitz <poenitz@gmx.net>
3076 * BufferView_pimpl.[Ch]:
3077 * text3.C: move some text specific LFUN handling
3079 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3081 * text3.C (checkInsetHit): adjust coords
3082 * text2.C (getColumnNearX): adjust coords
3083 (edit): adjust coords
3084 * text.C (getRowNearY): add two asserts
3086 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3089 * format.C: add using std::distance to compile on gcc 2.95/stlport
3091 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3093 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3095 2004-02-04 André Pönitz <poenitz@gmx.net>
3097 * BufferView.[Ch] (insertInset):
3098 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3103 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3105 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3106 on the default clause of the switch
3107 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3108 wasn't catched by LCursor::dispatch
3110 2004-02-03 André Pönitz <poenitz@gmx.net>
3113 * cursor.[Ch]: some additional asserts
3115 * undo.[Ch]: remove LyXText dependency in interface
3119 * lyxtext.h (firstPar, lastPar): remove dead functions
3124 * paragraph.[Ch]: adjust
3126 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3128 * lyxfind.C (find): fix argument order in call to ::find
3130 2004-02-02 André Pönitz <poenitz@gmx.net>
3132 * cursor.[Ch]: remove direct access to anchor
3134 * text.C: remove findText() hack
3136 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3138 * iterators.[Ch] (lockPath): remove in favour of...
3139 * BufferView.[Ch] (setCursor): this addition
3140 * BufferView.C (putSelectionAt): adjust
3141 * undo.C (performUndoOrRedo): adjust
3142 * lyxfunc.C (dispatch): adjust
3144 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3146 * iterators.C (lockPath): add a missing slice
3147 * undo.C (performUndoOrRedo): remove redundant positioning code
3149 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3151 * vc-backend.C (scanMaster): ";" -> ';'
3153 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3155 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3156 std::binary_function
3158 * lyxtextclass.C (compare_name): rename to...
3159 (LayoutNamesEqual): ...this
3161 * lyxlex_pimpl.C (compare_tags): inherit from
3162 std::binary_function, put back into anon namespace
3164 * lyxfind.C (MatchString): inherig from std::binary_function
3165 (findChange): use empty() istead of !size()
3167 * format.C (FormatNamesEqual): new functor
3174 * converter.C (compare_Converter): rename to...
3175 (ConverterEqual): ...this, and fixup a bit.
3176 (getConverter): use it, and make function const
3177 (getNumber): use it, and make function const
3181 * bufferlist.C: add using boost::bind
3183 * MenuBackend.C (MenuNamesEqual): new functor
3184 (hasMenu): use it, and make function const
3185 (hasSubmenu): use nested bind to get rid of compare_memfun.
3187 2004-01-30 André Pönitz <poenitz@gmx.net>
3189 * BufferView_pimpl.C:
3192 * cursor_slice.[Ch]:
3195 * paragraph_funcs.C:
3196 * paragraph_funcs.h:
3200 * text3.C: move some of the edit(x,y) handling to the insets
3201 some coordinate changes.
3203 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3205 * text.C: add using statements for std::advance and std::distance
3207 * paragraph.C: add using statement for std::distance
3209 * lyxfind.C: add using statement for std::advance
3211 * cursor.C (region): remove std:: from swap
3212 (openable): use nucleus in stead of operator->
3214 * BufferView.C: add using statements for std::distance and std::swap
3216 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3218 * iterators.C: Remove the pimple, move the needed structures to
3219 the header file. Create accessor for the positions stack.
3220 (asPosIterator): remove function
3222 * PosIterator.C (PosIterator): move constructors to top of file
3223 (PosIterator): reimplement the constructor taking a ParIterator in
3225 (setFrom): new function
3226 (operator!=): inline it
3228 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3230 * lyxfind.C (replaceAll): use std::advance
3232 * iterators.h: inherit from std::iterator.
3234 * PosIterator.C (advance, distance): remove
3235 * PosIterator.h: interit from std::iterator.
3237 2004-01-26 André Pönitz <poenitz@gmx.net>
3240 * BufferView_pimpl.[Ch]:
3244 * bufferview_funcs.C:
3254 * output_linuxdoc.C:
3255 * output_plaintext.C:
3257 * paragraph_funcs.[Ch]:
3258 * paragraph_pimpl.[Ch]:
3264 * text3.C: more IU: dumps most of the rest of the mathcursor
3265 implementation into cursor.[Ch]; "globalize" a bit of it.
3267 2004-01-25 Angus Leeming <leeming@lyx.org>
3269 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3271 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3273 * LaTeXFeatures.h: add nice_ and nice() const
3274 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3276 2004-01-20 André Pönitz <poenitz@gmx.net>
3279 * BufferView_pimpl.C:
3281 * bufferview_funcs.C:
3283 * cursor_slice.[Ch]:
3294 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3295 LCursor and mathcursor parts to LCursor and InsetBase.
3297 2004-01-15 André Pönitz <poenitz@gmx.net>
3299 * cursor_slice.[Ch]: add a few covienience functions
3301 * funcrequest.[Ch]: remove BufferView * member
3303 * BufferView_pimpl.C:
3310 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3312 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3314 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3315 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3317 2004-01-13 André Pönitz <poenitz@gmx.net>
3320 * lyxtext.h: hide cursor and selection anchor behind accessor function
3323 * BufferView_pimpl.[Ch]:
3325 * bufferview_funcs.C:
3335 * cursor_slice.[Ch]: some integer type changes for inset unification
3337 * lyxcursor.[hC]: remove, it's CursorSlice now.
3340 * BufferView_pimpl.[Ch]:
3341 * bufferview_funcs.C:
3347 * textcursor.[Ch]: adjust
3349 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3351 * text2.C (undoSpan): add and use
3352 * text.C (breakParagraph): use undoSpan (fix bug 578)
3355 2004-01-08 Angus Leeming <leeming@lyx.org>
3357 * BufferView_pimpl.C (MenuInsertLyXFile):
3358 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3359 * lyxfunc.C (menuNew, open, doImport):
3360 FileFilterList change to the FileDialog open and save functions.
3362 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3364 * ShareContainer.h: make isEqual and isUnique adaptable
3366 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3368 2004-01-07 Angus Leeming <leeming@lyx.org>
3371 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3373 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3375 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3376 functions replacing find, replace and replaceAll.
3378 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3379 LFUN_WORDFIND(FORWARD|BACKWARD).
3381 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3383 * text.C (breakParagraph): remove an outdated #warning
3385 2004-01-07 André Pönitz <poenitz@gmx.net>
3387 * lyxfind.C: somewhat clearer logic
3389 * text.C: prevent crash in cursorX on unitialized row cache
3391 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3393 * lyxcursor.[Ch] (operator>): add
3394 * textcursor.C (selStart, selEnd): use std::min and std::max
3396 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3398 * Chktex.C: include boost/format.hpp
3400 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3402 * InsetList.C: replace functor MathcIt with adaptable functor
3404 (insetIterator): modify accordingly
3406 * BranchList.h: move the BranchNamesEqual functor here from...
3407 * BranchList.C: ... to here
3409 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3411 (add): replace a finding loop with std::find_if.
3413 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3415 * output_docbook.C: moving LatexParam functionality into
3418 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3420 * buffer.C: increment format to 229.
3422 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3425 * lyx_sty.[Ch]: remove minipageindent_def
3431 * text3.C: remove LFUN_INSET_MINIPAGE
3433 2003-12-28 Angus Leeming <leeming@lyx.org>
3435 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3437 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3439 * text2.C (setParagraph): fix off-by-one crash
3441 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3443 * output_docbook.C: header stuff for AGU
3445 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3447 * text2.C (redoCursor): remove
3450 * BufferView_pimpl.C: remove calls to redoCursor and
3451 setCursor(cursor.par(), cursor.pos()) all around
3453 2003-12-15 Angus Leeming <leeming@lyx.org>
3455 * buffer.C: up the format to 228.
3457 2003-12-15 André Pönitz <poenitz@gmx.net>
3459 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3464 * BufferView_pimpl.C:
3473 2003-12-15 Angus Leeming <leeming@lyx.org>
3475 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3476 than getFromGUIName to manipulate the color.
3478 2003-12-14 Angus Leeming <leeming@lyx.org>
3480 * BranchList.[Ch]: minimize the API.
3481 (Branch::getBranch, getColor): now return a 'const &'.
3482 (Branch::setSelected) now returns a bool set to true if the
3483 selection status changes.
3484 (BranchList::clear, size, getColor, setColor, setSelected,
3485 allBranches, allSelected, separator): removed.
3486 (BranchList::find): new functions, returning the Branch with
3488 (BranchList::add, remove): return a bool indicating that
3489 the operation was successful.
3491 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3492 new InsetBranch::isBranchSlected member function.
3494 * LColor.[Ch]: mimimize the API.
3495 (fill): renamed as addColor and made private.
3496 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3497 versions of these functions taking a string arg have been removed.
3499 * bufferparams.C (readToken):
3500 * lyxfunc.C (dispatch):
3501 * lyxrc.C (read): changes due to the altered BranchList and
3504 * factory.C (createInset, readInset): changes due to altered
3507 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3510 * lyxfunc.C: remove insetminipage. "minipage-insert"
3511 now produces a frameless minipage box inset.
3513 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3515 * textcursor.[Ch] (selStart,selEnd): add new methods
3516 remove selection::start, end, use LyXCursor::operator<
3517 * lyxcursor.[Ch] (operator<): add
3518 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3519 * BufferView.[Ch] (unsetXSel): add
3520 * text2.C (clearSelection): use unsetXSel,adjust
3523 * rowpainter.C: adjust
3524 * bufferview_funcs.C (put_selection_at): adjust
3526 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3528 * BufferView_pimpl.C: small coord. correction
3530 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3532 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3533 dragging over the splash screen.
3535 2003-12-11 Angus Leeming <leeming@lyx.org>
3537 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3538 as it is now handled in LyXText::dispatch.
3540 * text3.C (doInsertInset): remove a level of nesting.
3542 2003-12-11 Angus Leeming <leeming@lyx.org>
3544 * factory.C (createInset): changes due to the changed interface to
3545 InsetCommandMailer::string2params.
3547 2003-12-10 Angus Leeming <leeming@lyx.org>
3549 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3550 'dialog-show-new-inset <inset name>'
3552 2003-12-10 Angus Leeming <leeming@lyx.org>
3554 * buffer.C: up the format to 227.
3556 * factory.C: the box inset is now identified simply by 'Box'.
3558 2003-12-10 Angus Leeming <leeming@lyx.org>
3560 * buffer.C: up the format to 226.
3562 * factory.C: the note inset is now identified simply by 'Note'.
3564 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3566 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3567 when a pit is enough. Standarize a couple of loops.
3569 2003-12-05 Angus Leeming <leeming@lyx.org>
3571 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3572 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3573 data to the re-worked "log" dialog.
3575 2003-12-03 André Pönitz <poenitz@gmx.net>
3581 * paragraph_funcs.C:
3583 * text2.C: use Inset::getText instead of Inset::getParagraph
3585 2003-12-03 André Pönitz <poenitz@gmx.net>
3589 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3590 InsetText::read() as LyXText::read()
3592 2003-12-02 Angus Leeming <leeming@lyx.org>
3594 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3595 type. Add a comment in the implementation that the function uses
3596 the stream's bad() function rather than fail() as the std::streams
3599 2003-12-02 André Pönitz <poenitz@gmx.net>
3601 * lyxlex.[Ch]: make interface more similar to std::stream
3603 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3605 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3607 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3609 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3611 * vspace.[Ch]: remove VSpace::NONE
3613 2003-12-01 André Pönitz <poenitz@gmx.net>
3616 * lyxtext.h: move ParagraphList member to LyXText
3617 rename LyXText::ownerParagraphs to LyXText::paragraph
3620 * bufferview_funcs.C:
3630 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3632 * undo.C: fix cursor positioning
3634 2003-12-01 John Levon <levon@movementarian.org>
3636 * BufferView_pimpl.C: fix a crash on exit with
3639 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3641 * BranchList.C: fix setSelected() method.
3643 2003-11-28 André Pönitz <poenitz@gmx.net>
3645 * ParagraphParameters.[Ch]:
3646 * ParameterStruct.h: remove space above/below from Paragraph to
3649 * BufferView_pimpl.C:
3655 * paragraph_funcs.C:
3661 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3663 * factory.C: Syntax change for CharStyles
3665 2003-11-28 André Pönitz <poenitz@gmx.net>
3670 * buffer.[Ch]: move LyXText member
3672 2003-11-28 André Pönitz <poenitz@gmx.net>
3674 * BufferView.[Ch]: make LyXText * text a private member
3676 * BufferView_pimpl.C:
3687 * output_plaintext.C: cleanup
3689 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3692 * lyxtextclass.[Ch]: parametrize SGML document header
3694 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3697 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3700 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3702 * text2.C (setFont): rework using PosIterator (no more recursive)
3703 (setCharFont): no more needed
3704 (setLayout): no more selection cursors fiddling (done by redoCursor)
3705 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3706 destroy remaining ones)
3708 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3710 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3712 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3715 * text3.C: adjust + re-allow multi par depth changes
3716 * textcursor.C: simplify a bit
3718 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3724 * src/output_docbook.C:
3725 * src/output_latex.C:
3730 * src/text2.C: Introducing a number of tags parametrizing various
3731 XML formats that we may want to support
3733 2003-11-25 André Pönitz <poenitz@gmx.net>
3735 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3737 * lyxtext.h (leftMargin/rightMargin): simplify interface
3744 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3746 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3747 master file to any child files. Fixes bug 546.
3749 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3751 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3753 2003-11-24 André Pönitz <poenitz@gmx.net>
3755 * rowpainter.C: simplification
3757 * text2.C (updateCounters): remove call to redoParagraph on
3758 changed labels as this is far too expensive.
3760 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3762 * converter.C (convert): fix a crash: this function gets
3763 called with buffer == 0 from importer code.
3765 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3767 * text3.C (cursorPrevious): make sure that we do not compare
3768 iterators form different containers.
3771 * rowpainter.C (paintSelection): make sure that we do not compare
3772 iterators from different containers.
3774 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3775 iterators from different ParagraphList containers.
3778 * text2.C (LyXText): change order of initialization slightly
3779 (operator=): new function. copy all variables except cache_par_
3780 (moveUp): make sure that we do not compare iterators from
3781 different ParagraphList constainers.
3784 * text.C (firstPar): new function
3785 (lastPar): new function
3786 (endPar): new function
3788 * lyxtext.h: move things around and group public functions, public
3789 variables, private functions, private variables
3791 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3793 * factory.C: change call to InsetERT constructor to avoid
3794 additional invocation of method status
3795 * text2.C (toggleInset): remove redundant update() call
3796 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3797 instead of a Bufferview pointer
3799 2003-11-21 André Pönitz <poenitz@gmx.net>
3801 * rowpainter.C: simplification
3803 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3805 * text3.C (dispatch): make possible to extend a word/row selection
3808 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3810 * lyxtext.h: x0_,y0_ -> xo_,yo_
3811 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3812 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3813 * rowpainter.C (paintRows): paint full paragraphs
3815 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3817 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3820 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3822 * lyxtext.h: add x0_, y0_
3823 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3824 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3826 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3828 * text2.C (setCursorIntern): move the x_target update here *
3829 * text3.C: change some bv() to true/false in calls to
3830 cursorUp/Down/Right/Left
3831 * cursor.C: use helper function.
3833 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3835 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3836 * paragraph_funcs.[Ch]: correct comment
3837 * rowpainter.C: do not paint selections away from bv->cursor()
3838 Fix a long standing selection painting bug.
3839 * text3.C: generalize mouse-selection code to LyXTexts other that
3841 * textcursor.C: do not use y coords if we can use par offsets
3843 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3845 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3846 cursor position after e.g. inset insert)
3848 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3850 * lyxfind.C (replace): adjust to locking removal + some
3853 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3855 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3858 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3861 * output_docbook.C: XML sanitation: new layout
3862 parameters InnerTag and CommandDepth
3864 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3866 * BufferView_pimpl.C:
3868 * text3.C: Fix the insertion and modification of button-style
3871 2003-11-13 André Pönitz <poenitz@gmx.net>
3873 * InsetList.[Ch]: remove deleteLyXText
3875 * paragraph.[Ch]: cache beginOfBody position
3880 * text3.C: remove superfluous update() calls
3884 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3886 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3887 * BufferView.C (fitLockedInsetCursor): remove
3888 * cursor.[Ch] (getDim): add
3889 * text.C (getRowNearY): add faster version
3890 * text3.C: remove some update calls
3892 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3904 * text3.C: The Character Style /XML short element patch.
3906 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3909 * factory.C: Small step to solving 'unable to insert some insets'
3912 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3914 * cursor.[Ch] (updatePos): new function for updating the y
3915 position of the tip inset
3916 * bufferview_funcs.C (put_selection_at):
3917 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3919 2003-11-11 André Pönitz <poenitz@gmx.net>
3921 * text.C: remove big comment on invalid Paragraph pointers as it is
3924 2003-11-11 André Pönitz <poenitz@gmx.net>
3926 * text_funcs.[Ch]: merge with ...
3934 * Makefile.am: remove text_funcs.[Ch]
3936 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3938 * cursor.C (getPos): return absolute cached y coord
3940 * BufferView_pimpl.C (fitCursor): new simplistic code
3941 (workAreaDispatch): add a fitCursor call
3943 2003-11-10 André Pönitz <poenitz@gmx.net>
3946 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3948 2003-11-10 André Pönitz <poenitz@gmx.net>
3950 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3951 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3952 indicate that the cursor needs to leave an inset
3954 * lyxtext.h: remove inset locking
3956 * cursor.[Ch]: re-implement functionality provided by inset locking
3959 * BufferView_pimpl.[Ch]:
3961 * bufferview_funcs.[Ch]:
3973 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3975 * PosIterator.[Ch]: replace the stack with a vector, add inset
3977 * iterators.[C]: adjust
3979 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3981 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3983 * paragraph_funcs.C (readParToken): put the correct id in the
3984 error item, not the id of the top paragraph
3986 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3988 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3989 * bufferview_funcs.C (put_selection_at): use the above
3991 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3993 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3995 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3997 * output_linuxdoc.h:
3998 * output_plaintext.h:
4000 * output_docbook.h: add #include statements
4002 2003-11-05 José Matos <jamatos@lyx.org>
4004 * output_docbook.[Ch]:
4005 * output_latex.[Ch]:
4006 * output_linuxdoc.[Ch]:
4007 * output_plaintext.[Ch]: New files for output formats.
4008 * output.[Ch]: New file for helper functions.
4011 * paragraph_funcs.[Ch]: output functions moved to new files.
4013 * outputparams.h: rename of latexrunparams.h
4021 * paragraph_funcs.[Ch]:
4022 * paragraph_pimpl.[Ch]:
4023 * tabular.[Ch]: rename ascii to plaintext
4024 and LatexRunParams to OutputParams.
4026 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4028 * iterators.[Ch] (text): require bv argument
4029 * undo.C (recordUndo):
4030 * lyxfunc.C (dispatch):
4031 * bufferview_funcs.C (put_selection_at): adjust
4033 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4035 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4037 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4039 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4042 2003-11-04 André Pönitz <poenitz@gmx.net>
4044 * cursor.[Ch]: restructure
4047 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4049 * iterators.[Ch] (asCursor): remove
4051 * lfuns.h: remove LFUN_INSET_EDIT
4057 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4059 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4061 * lyxfind.[Ch]: complete overhaul
4062 * BufferView_pimpl.C:
4064 * paragraph.[Ch] (insert): add
4066 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4070 * text.C: remove dead spellcheck code
4072 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * dispatchresult.h: add a val setter
4076 * cursor.C (dispatch): use a tempvar for data_[i]
4078 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4080 * PosIterator.[Ch]: compile fix
4082 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4084 * text.C (cursorPar): deactivate the cursor cache
4086 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4088 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4090 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * text3.C (dispatch): adjust for new DisptchResult semantics.
4094 * lyxfunc.C (dispatch): handle update when return from
4095 Cursor::dispatch, adjust for new DispatchResult semantics.
4097 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4098 DispatchResult(true) mean to not update. Add class functions for
4099 setting dispatched and update, as well as reading.
4101 * cursor.C (dispatch): don't handle update here
4103 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4106 * trans_mgr.C: adjust
4108 * paragraph_funcs.C (readParToken): exception safety
4110 * lyxvc.h: store the vcs pointer in a scoped_ptr
4113 * lyxsocket.C (serverCallback): exception safety
4115 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4117 * ispell.C (clone): make it return a auto_ptr
4119 * factory.C (createInset): exception safety
4120 (readInset): exception safety
4122 * bufferlist.C (newBuffer): exception safety
4124 * Thesaurus.C (Thesaurus): use initialization for aik_
4126 * MenuBackend.C (expandToc): exception safety.
4128 2003-11-03 André Pönitz <poenitz@gmx.net>
4132 * bufferview_funcs.C: remove getInsetFromId()
4135 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4141 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4143 * PosIterator.C (distance, advance): new
4144 * bufferview_funcs.[Ch] (put_selection_at): new
4145 * iterators.[Ch] (lockPath): new
4147 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4149 * iterators.[Ch] (asPosIterator): added
4150 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4151 * PosIterator.[Ch]: added
4153 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * cursor.C (dispatch):
4158 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4160 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4161 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4162 contructor, add a class function dispatched. Remove operator>=
4164 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4166 * debug.C: only use the default constructor for debugstream
4169 * main.C (main): include debug.h and setup the lyxerr streambuf
4172 2003-10-31 José Matos <jamatos@lyx.org>
4174 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4176 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4177 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4178 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4179 * paragraph_pimpl.C (simpleTeXSpecialC):
4180 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4181 add LatexRunParams argument.
4183 * exporter.C (Export): change call accordingly.
4185 * latexrunparams.h: add new member to take care of the other backends.
4186 2003-10-30 José Matos <jamatos@lyx.org>
4188 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4189 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4190 factorise code for paragraph output.
4192 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4195 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4197 * text3.C (dispatch):
4198 * lyxfunc.C (dispatch):
4199 * cursor.C (dispatch):
4200 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4202 * dispatchresult.h: make the dispatch_result_t ctor explicit
4204 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4207 * buffer.C: small refactoring of docbook stuff
4209 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4211 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4214 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4217 operator dispatch_result_t, and operators for == != and >=
4219 * cursor.C (dispatch): adjust for operator dispatch_result_t
4220 removal. comment out call to update
4222 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4224 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4232 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4235 * dispatchresult.h: new file, DispatchResult broken out of
4238 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4240 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4242 * text.C (rowBreakPoint): put a hack inside #if 0
4244 2003-10-28 André Pönitz <poenitz@gmx.net>
4248 * paragraph_funcs.C:
4251 * text2.C: general cleanup (lots of small stuff)
4253 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4255 * text2.C (cursorEnd): simple fix to the "end key goes to one
4256 before the end on last row" bug
4258 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4260 * text.C (backspace): fix the "zombie characters"
4262 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4264 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4266 2003-10-27 André Pönitz <poenitz@gmx.net>
4268 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4270 * factory.C: handle new InsetPagebreak, InsetLine
4272 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4273 and move handling into new InsetPagebreak, InsetLine
4275 * BufferView_pimpl.C:
4277 * ParagraphParameters.C:
4278 * ParameterStruct.h:
4283 * paragraph_funcs.C:
4284 * paragraph_pimpl.C:
4290 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4293 * lyxrow_funcs.[Ch]:
4299 * text3.C: remove lastPos uses in favour of Row::endpos
4301 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4303 * undo.C (performUndoOrRedo): fix two crashes by setting a
4304 cursor by hand and reordering some calls. Use bv->lockInset instead
4305 of inset->edit because the latter loses cursor information
4307 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4309 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4311 (rowBreakPoint): fix width. change point to point + 1.
4312 Add a missing check.
4314 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4317 * lyxfunc.C: fix (at least partly) the problems
4318 with the Nav menu and headers inside branch insets
4321 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4323 * paragraph.C (getChar): add strong asserts
4325 * lyxrow_funcs.C (lastPos): remove hideous hack
4327 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4328 (fill): adjust to that (avoid an infinite loop)
4330 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4332 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4334 2003-10-23 André Pönitz <poenitz@gmx.net>
4336 * RowList_fwd.h: change list<> to vector<> to gain speed
4337 after suggestion from Alfredo
4339 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4341 * lyxtext.h: move the bidi stuff from here...
4344 * Bidi.[Ch]: ... to here
4346 2003-10-23 André Pönitz <poenitz@gmx.net>
4349 * text.C (isLastRow, isFirstRow): new functions
4351 * paragraph.h: new width cache member
4353 * rowpainter.C: replace RowList::iterator with Row & where possible
4355 * lyxfunc.C: replace several view()->text with a single call
4357 * toc.C: fix 'unused' warning
4359 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4362 when woring with stream::pos_type
4363 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4365 2003-10-22 André Pönitz <poenitz@gmx.net>
4368 * text.C: use Row & instead of RowList::iterator
4370 * lyxrow.h: rename end() to endpos()
4376 2003-10-22 Angus Leeming <leeming@lyx.org>
4378 * buffer.[Ch] (fully_loaded): new member function, returning true
4379 only when the file has been loaded fully.
4380 Used to prevent the premature generation of previews and by the
4381 citation inset to prevent computation of the natbib-style label.
4383 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4384 templates are all set up.
4386 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4388 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4390 * text.C: fixed an "oops" in the "is a bit silly"
4393 2003-10-21 André Pönitz <poenitz@gmx.net>
4395 * FuncStatus.[Ch]: small stuff, whitespace
4397 * lyxfont.[Ch]: operator<<() for debug reasons
4401 * lyxtext.h: whitespace, spelling
4403 * paragraph.C: naming of variables
4406 * text2.C: small stuff
4409 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4411 * text.C: (1) finish off the inset display() work;
4412 (2) fix the "is a bit silly" bug (accessing char
4415 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4417 * text.C: re-introduce display() for insets, fixing the
4418 various bugs (stretch of line above, math inset
4421 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4423 * text.C (rightMargin): remove spurious semicolon
4425 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4428 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4430 * text3.C: fix one crash due to wrong cursor def
4432 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4434 * vc-backend.C (scanMaster): make the regex static
4436 * LaTeX.C (scanAuxFile): make the regexs static
4438 * text3.C (doInsertInset, dispatch, dispatch):
4439 * text2.C (cursorUp, cursorDown):
4440 * text.C (selectNextWordToSpellcheck):
4441 * BufferView_pimpl.C (dispatch):
4442 * lyxfunc.C (dispatch): localDispatch -> dispatch
4444 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4446 * lyxsocket.C: include <cerrno>
4448 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4450 * lyxfunc.C (dispatch): remove textcache stuff
4452 * bufferlist.C (release): remove textcache stuff
4455 * TextCache.C: delete file
4456 * TextCache.h: delete file
4458 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4460 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4461 delete of the bv_->text.
4462 (resizeCurrentBuffer): remove texcache stuff
4463 (workAreaResize): ditto
4465 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4470 2003-10-16 André Pönitz <poenitz@gmx.net>
4477 * text3.C: speed up by storing y positions per paragraph plus per-row
4478 offset instead of having a 'full' y position in the row.
4480 2003-10-15 André Pönitz <poenitz@gmx.net>
4484 * undo.[Ch]: make undo aware of inner insets
4486 2003-10-14 Angus Leeming <leeming@lyx.org>
4488 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4489 static member functions LyX::ref() and LyX::cref.
4490 (lastfiles): new accessor functions for the new lastfiles_ member var.
4491 (addLyXView, views_): add a new LyXView to the list of views_.
4492 (updateInset): loop over all LyXViews to call their own updateInset
4493 member function, returning a pointer to the Buffer owning the inset.
4495 * BufferView_pimpl.C (loadLyXFile):
4496 * MenuBackend.C (expandLastfiles):
4497 * bufferlist.C (MenuWrite, QuitLyX):
4498 lastfiles is no longer a global variable.
4499 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4501 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4502 static function. Access through LyX::cref().emergencyCleanup().
4504 2003-10-14 André Pönitz <poenitz@gmx.net>
4506 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4508 * undo.[Ch]: restoring part of 'undo in insets'
4511 * undo_funcs.[Ch]: merge with undo.[Ch]
4513 * tabular.C: small cleansing stuff
4515 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4517 * paragraph_funcs.C (readParToken): report unknown insets as error
4518 boxes. Use the outer paragraph as location (also for unknown
4521 * factory.C (readInset): do not abort on reading an unknown inset.
4522 Eat it and return 0.
4524 2003-10-13 Angus Leeming <leeming@lyx.org>
4526 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4528 * lyxrc.C: displayTranslator is now a function,
4529 declared in GraphicsTypes.h.
4531 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4533 * format.C: new placeholder $$a to pass the socket address.
4535 * bufferlist.[Ch]: new function getBufferFromTmp.
4537 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4538 files in the temporary dir.
4540 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4542 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4544 * Makefile.am: add lyxsocket.[Ch].
4546 * lyx_main.C (error_handler): handle SIGPIPE.
4548 2003-10-13 André Pönitz <poenitz@gmx.net>
4550 * BufferView_pimpl.C:
4555 * undo_funcs.[Ch]: use paroffset_type instead of
4556 ParagraphList::iterators to prevent multiple conversion
4557 (and get a more robust interface)
4559 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4563 * text3.C (dispatch): ditto
4565 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4568 move the onlyfile, use onlyfile instead of foundfile in a couple
4571 * DepTable.C (update): flush the error stream a bit more
4573 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * lyxserver.C (callback): adjust
4577 * lyxfunc.C (getStatus): add a missing brace in commented code
4578 (ensureBufferClean): reindent
4579 (dispatch): delete version taking a string
4581 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * LaTeX.C (deplog): move found file handlig from here...
4584 (handleFoundFile): .. to new function here.
4585 (deplog): make sure to discover several files mentioned on the
4588 2003-10-10 André Pönitz <poenitz@gmx.net>
4595 * text3.C: fix some of the tabular crashes
4597 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4599 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4601 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4603 2003-10-09 André Pönitz <poenitz@gmx.net>
4605 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4608 * BufferView_pimpl.C:
4609 * bufferview_funcs.C:
4620 * undo_funcs.C: adjust
4622 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4624 * text2.C (incrementItemDepth): new function, use a backtracking
4625 algorithm to discover the correct item depth.
4626 (resetEnumCounterIfNeeded): new function, use a backtracking
4627 algorithm to discover if counter reset is needed.
4628 (setCounter): use them. Simplify a bit. Add different labels for
4629 different item depths for itemize.
4631 * paragraph.C (Paragraph): remove initialization of enumdepth
4634 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4635 enumerate and itemize. Change the type of itemdepth to signed char.
4637 2003-10-08 André Pönitz <poenitz@gmx.net>
4639 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4644 * tabular.[Ch]: fix crash after 'row-insert'
4646 2003-10-08 Angus Leeming <leeming@lyx.org>
4648 Fix doxygen warnings.
4650 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4651 Remove CutAndPaste:: prefix from header file declaration.
4653 * LColor.h (fill): remove LColor:: prefix from declaration.
4655 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4656 use lyx::depth_type rather than Paragraph::depth_type so that
4657 header file and .C file match.
4659 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4661 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4662 * aspell.C: \file aspell_local.C -> \file aspell.C
4663 * gettext.C: \file gettext.C -> \file src/gettext.C
4664 * gettext.h: \file gettext.h -> \file src/gettext.h
4665 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4666 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4667 * text.C: \file text.C -> \file src/text.C
4669 * toc.C: move comment so that doxygen is not confused.
4671 2003-10-07 Angus Leeming <leeming@lyx.org>
4673 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4675 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4678 * aspell_local.h: add forgotten std::string's.
4680 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4687 * text3.C: The Box patch. Fancybox support, minipage, parbox
4689 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4695 * ParagraphParameters.h:
4705 * lyxtextclasslist.h:
4708 * paragraph_pimpl.C:
4709 * textcursor.h: add <string> and other small fixes to make Lars'
4710 std::string patch compile with STLport.
4712 2003-10-06 Angus Leeming <leeming@lyx.org>
4714 * LColor.h: Add missing #include <string>.
4716 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4718 * All most all file in all subdirs: Make <string> be the prefered
4719 way of getting to std::string, add using declarations.
4721 2003-10-06 André Pönitz <poenitz@gmx.net>
4723 * metricsinfo.C: initialize LyXFont before changing attribute.
4724 (fixes the 'math in \emph is upright' bug)
4726 2003-10-06 André Pönitz <poenitz@gmx.net>
4728 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4730 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4733 * paragraph_pimpl.C: Small fixes to build using STLport
4735 2003-10-02 André Pönitz <poenitz@gmx.net>
4738 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4740 2003-10-01 André Pönitz <poenitz@gmx.net>
4742 * factory.C: assert early
4744 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4746 * lyx_main.C: remove the global debug object
4748 * debug.h: adjust for new debugstream
4750 * debug.C: adjust for new debugstream and keep the global debug
4753 2003-09-22 Angus Leeming <leeming@lyx.org>
4755 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4756 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4757 an incomplete class LyXFont.
4759 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4761 * factory.C: bug fix in branches
4763 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4765 * lyxfunc.C (processKeySym): adjust
4767 (dispatch): change arg name from ev to func, adjust
4768 (sendDispatchMessage): ditto
4770 * lyx_main.C (defaultKeyBindings): adjust keybindings
4771 (deadKeyBindings): ditto
4773 * kbsequence.C (addkey): return a FuncRequest
4775 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4777 * kbmap.C (bind): take a FuncRequest as arg, adjust
4780 (defkey): change to take a FuncRequest as arg, adjust
4781 (findbinding): take a FuncRequest as arg, adjust.
4783 * funcrequest.h (operator=): added
4785 * funcrequest.C (FuncRequest): default kb_action changed from
4786 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4788 * buffer.C (dispatch): simplify
4789 (dispatch): adjust to take a FuncRequest as arg, adjust
4791 * boost.C (assertion_failed): change assertion message slightly
4793 * ToolbarBackend.C (read): simplify
4795 * MenuBackend.C (binding): adjust call to findbinding, add a
4796 message if no binding is found.
4798 (expandToc): correct by adding a empty FuncRequest
4800 * LyXAction.C: include <boost/assert.hpp>
4801 (isPseudoAction): delete function
4802 (LookupFunc): change name to...
4803 (lookupFunc): this. change return type to FuncRequest.
4804 (getActionName): take kb_action as arg, simplify
4805 (funcHasFlag): add an assert, simplify.
4807 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * toc.C (action): return a FuncRequest, simplify
4811 * lyxfunc.C (processKeySym): adjust
4812 (getStatus): delete version that takes an int.
4814 (dispatch): delete version that takes action as int
4816 (sendDispatchMessage): simplify and adjust
4818 * funcrequest.C (getArg): take unsigned int as arg
4820 * ToolbarBackend.C (read): adjust
4821 (add): delete version that takes func as a string.
4822 (getIton): take a FuncRequest as arg
4824 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4827 * MenuBackend.C (MenuItem): add a new construct that only takes a
4828 Kind, simplify the constructor use for submenus.
4830 (expandLastfiles): adjust
4831 (expandDocuments): adjust
4832 (expandFormats): adjust
4833 (expandFloatListInsert): adjust
4834 (expandFloatInsert): adjust
4835 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4837 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4838 Remove class variables lyx_pseudo_map and lyx_arg_map
4840 * LyXAction.C (searchActionArg): delete function
4841 (getPseudoAction): delete function
4842 (retrieveActionArg): delete function
4843 (LookupFunc): make it return kb_action, simplify.
4844 (getActionName): simplify
4846 * factory.C (createInset): fix new bug
4848 2003-09-19 Angus Leeming <leeming@lyx.org>
4850 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4851 masterFilename_ parameter in the include inset.
4853 * factory.C (createInset): changes due to the changes to InsetInclude.
4855 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4857 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4859 2003-09-18 Angus Leeming <leeming@lyx.org>
4862 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4863 Inset::fillWithBibKeys.
4864 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4866 2003-09-18 Angus Leeming <leeming@lyx.org>
4868 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4870 (ctor): pass and store a 'Buffer const &'
4871 (buffer): new member function.
4873 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4874 '*this' to the LaTeXFeatures ctor.
4876 2003-09-18 Angus Leeming <leeming@lyx.org>
4882 * text.C: rename EnumLColor as LColor_color.
4884 2003-09-18 Angus Leeming <leeming@lyx.org>
4886 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4887 remove #include "insets/insetbase.h" from cursor.h.
4889 2003-09-18 Angus Leeming <leeming@lyx.org>
4891 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4892 InsetOld_code to remove #include "inset.h".
4894 * iterators.C: add #include "insets/inset.h"
4896 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4898 * BufferView.C: remove more locking stuff that apparently doesn't
4899 do anything sensible.
4901 2003-09-16 André Pönitz <poenitz@gmx.net>
4904 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4907 2003-09-16 Angus Leeming <leeming@lyx.org>
4909 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4911 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4914 * paragraph.h: remove #include "lyxfont.h". Forward declare
4917 2003-09-16 Angus Leeming <leeming@lyx.org>
4919 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4920 of support/textutils.h.
4921 (isWord): move the contents of support/textutils.h's IsWordChar here.
4927 * text2.C: add #include "paragraph.h".
4930 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4932 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * LaTeX.C: use namespace alias for lyx::support::os
4940 2003-09-16 Angus Leeming <leeming@lyx.org>
4943 * bufferview_funcs.C:
4946 * paragraph_pimpl.C:
4948 * text.C: add #include "LColor.h".
4950 2003-09-16 Angus Leeming <leeming@lyx.org>
4952 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4953 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4955 Store the FontBits::color variable as an int rather than as an
4956 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4959 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4960 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4961 string calls together.
4963 * lyxrc.C: add #include "LColor.h".
4965 2003-09-15 Angus Leeming <leeming@lyx.org>
4967 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4970 2003-09-15 Angus Leeming <leeming@lyx.org>
4972 * LColor.h: add an EnumLColor wrapper for LColor::color.
4974 * lyxfont.[Ch] (color, setColor, realColor):
4975 * lyxtext.h, text.C (backgroundColor):
4976 pass EnumLColor args to/from the functions, rather than LColor::color
4980 * lyxtext.h: forward declare EnumLColor.
4982 * lyx_main.C: add #include "LColor.h".
4984 2003-09-15 Angus Leeming <leeming@lyx.org>
4986 * .cvsignore: add lyx-gtk.
4988 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4993 * ParagraphParameters.C
4997 * bufferview_funcs.C
5007 * vc-backend.C: remove usage of STRCONV
5009 2003-09-15 Angus Leeming <leeming@lyx.org>
5011 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5012 explicitly define the color passed to the painter.
5014 2003-09-15 Angus Leeming <leeming@lyx.org>
5016 * bufferparams.C (BufferParams): reorder member initializers to avoid
5019 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5021 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5022 * text.C (updateRowPositions): remove an unusual nop
5024 2003-09-12 André Pönitz <poenitz@gmx.net>
5026 * BufferView_pimpl.C:
5035 * Counters.[Ch]: finish the 'automatic counters' job
5037 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5039 * aspell.C: include <boost/assert.cpp> (compile fix)
5041 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5043 * boost.C (assertion_failed): use lyx::support::abort instead of
5046 2003-09-10 Angus Leeming <leeming@lyx.org>
5048 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5049 with their _fwd progeny.
5051 2003-09-09 Angus Leeming <leeming@lyx.org>
5053 134 files throughtout the source tree: replace 'using namespace abc;'
5054 directives with the appropriate 'using abc::xyz;' declarations.
5056 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5058 * boost.C (emergencyCleanup): moved here from LAssert.c
5059 (assertion_failed): new function, called by BOOST_ASSERT
5061 * several files: change Assert to BOOST_ASSERT
5063 2003-09-09 Angus Leeming <leeming@lyx.org>
5065 * buffer.[Ch]: Add an Impl class and move Buffer's member
5066 variables into it. As a result move several header files out of
5069 Add header files to lots of .C files all over the tree as a result.
5071 2003-09-09 Angus Leeming <leeming@lyx.org>
5073 * buffer.[Ch]: make Buffer's member variables private. Add
5076 Lots of changes all over the tree as a result.
5078 2003-09-08 Angus Leeming <leeming@lyx.org>
5080 * graph.C: #include <config.h>.
5082 2003-09-08 Angus Leeming <leeming@lyx.org>
5086 * BufferView_pimpl.C:
5115 * toc.C: remove redundant using directives.
5117 2003-09-07 Angus Leeming <leeming@lyx.org>
5119 * LaTeXFeatures.h: remove #include "support/types.h".
5120 * ToolbarBackend.h: remove #include <algorithm>.
5121 * changes.h: remove #include <ctime>.
5122 * debug.h: remove #include <iosfwd>.
5123 * graph.h: remove #include "support/std_string.h".
5124 * lyx_main.h: remove #include <csignal>.
5125 * lyxlex_pimpl.h: remove #include <fstream>.
5126 * sgml.h: remove #include <algorithm>, <utility>.
5127 * toc.h: remove #include "support/std_ostream.h".
5128 Add #include <iosfwd>.
5130 2003-09-07 Angus Leeming <leeming@lyx.org>
5132 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5134 * converter.h: forward declare LatexRunParams.
5135 * encoding.h: remove #include "lyxrc.h".
5136 * lyxtext.h: remove #include "LColor.h".
5137 * lyxtextclass.h: remove #include "support/types.h".
5138 * trans.h: remove #include "tex-accent.h".
5139 * trans_mgr.h: remove #include "tex-accent.h".
5140 * insets/inset.h: remove #include "support/types.h", <vector>.
5141 * insets/insetcollapsable.h: remove #include "LColor.h".
5142 * insets/insetinclude.h: remove #include "dimension.h".
5143 * insets/insetlatexaccent.h: remove #include "dimension.h".
5144 * insets/insetoptarg.h:: remove #include "insettext.h".
5145 * insets/insettext.h: remove #include "dimension.h",
5146 <boost/shared_ptr.hpp>
5148 * insets/renderers.h: add #include "dimension.h".
5149 * insets/updatableinset.h: add #include "support/types.h".
5151 * many .C files: Associated changes.
5153 2003-09-06 Angus Leeming <leeming@lyx.org>
5155 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5156 one, inside testInvariant.
5158 * PrinterParams.C: new file.
5159 * PrinterParams.[Ch]: move the function bodies out of line.
5161 2003-09-06 Angus Leeming <leeming@lyx.org>
5163 * ParagraphParameters.h: forward declare ParameterStruct rather than
5164 including its header file.
5165 (depth): moved out-of-line.
5167 2003-09-06 Angus Leeming <leeming@lyx.org>
5169 * BufferView_pimpl.h:
5172 * lyxfunc.h: forward declare LyXKeySym rather than
5173 #include "frontends/LyXKeySym.h".
5175 * BufferView_pimpl.C:
5178 * lyxfunc.C: associated changes.
5180 2003-09-06 Angus Leeming <leeming@lyx.org>
5182 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5183 As a result, can remove the #include "insets/inset.h" from BufferView.h
5185 2003-09-06 Angus Leeming <leeming@lyx.org>
5187 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5188 As a result, can remove the #include "insets/inset.h" from BufferView.h
5190 2003-09-06 Angus Leeming <leeming@lyx.org>
5196 * bufferview_funcs.C:
5197 * BufferView_pimpl.C:
5202 * ParagraphParameters.C:
5207 * frontends/controllers/ControlDocument.C:
5208 * insets/insetcaption.C: rearrange the #includes into some sort of
5211 * buffer.h: remove #includes ErrorList.h, undo.h
5213 2003-09-06 Angus Leeming <leeming@lyx.org>
5215 * support/types.h: add a 'depth_type' typedef, used to store the
5216 nesting depth of a paragraph.
5219 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5220 defining explicitly.
5223 * paragraph_funcs.h:
5224 * ParagraphParameters.h:
5225 * sgml.h: use lyx::depth_type rather than Paragraph or
5226 ParameterStruct's depth_type.
5229 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5232 * BufferView_pimpl.C:
5234 * ParagraphParameters.C:
5237 * bufferview_funcs.C:
5244 * frontends/LyXView.C:
5245 * frontends/controllers/ControlDocument.C:
5246 * frontends/controllers/ControlErrorList.C:
5247 * insets/insetbibitem.C:
5248 * insets/insetbranch.C:
5249 * insets/insetcaption.C:
5250 * insets/insetcollapsable.C:
5251 * insets/insetenv.C:
5252 * insets/insetert.C:
5253 * insets/insetfloat.C:
5254 * insets/insetfoot.C:
5255 * insets/insetfootlike.C:
5256 * insets/insetnewline.C:
5257 * insets/insetquotes.C:
5258 * insets/insettabular.C:
5259 * insets/insettext.C:
5260 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5262 * frontends/controllers/ControlChanges.C: #include "changes.h".
5264 2003-09-06 Angus Leeming <leeming@lyx.org>
5266 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5267 than #including paragraph.h.
5270 * RowList.h: deleted. Superfluous.
5280 * insets/insettext.h: use ParagraphList_fwd.h rather than
5283 * paragraph.h: don't forward declare ParagraphList.
5286 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5287 rather than ParagraphList.h. paragraph.h is still needed for the
5288 Paragraph::depth_type parameters.
5290 * textcursor.h: enable it to compile stand-alone in light of the
5293 * bufferview_funcs.C:
5305 * frontends/controllers/ControlParagraph.C:
5306 * frontends/controllers/ControlTabular.C:
5307 * insets/insetmarginal.C:
5308 * insets/insetminipage.C:
5309 * insets/insetnote.C:
5310 * insets/insetoptarg.C: add header files needed to compile again.
5312 2003-09-06 Angus Leeming <leeming@lyx.org>
5314 * RowList_fwd.h: new file, forward-declaring Row rather than
5315 #including lyxrow.h.
5320 * insets/insettext.h: use it instead of RowList.h
5322 * bufferview_funcs.C:
5329 * text3.C: #include "RowList.h".
5331 2003-09-05 Angus Leeming <leeming@lyx.org>
5333 * factory.C (createInset):
5334 * vspace.C (c-tor): replace sscanf call with an istringstream.
5335 * ispell.C: re-add missing HP/UX headers.
5336 * lyxserver.C: re-add missing os2 headers.
5338 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5347 * text3.C: re-add missing system headers, needed for 2.95.2.
5349 2003-09-05 Angus Leeming <leeming@lyx.org>
5351 Changes most place everywhere due to the removal of using directives
5352 from support/std_sstream.h.
5354 2003-09-05 Angus Leeming <leeming@lyx.org>
5356 Replace LString.h with support/std_string.h,
5357 Lsstream.h with support/std_sstream.h,
5358 support/LIstream.h with support/std_istream.h,
5359 support/LOstream.h with support/std_ostream.h.
5361 Changes resulting throughout the tree.
5363 2003-09-05 Angus Leeming <leeming@lyx.org>
5365 * sgml.h: ensure that the header file can be compiled stand-alone.
5366 * *.C: strip out redundant #includes. (320 in total.)
5368 2003-09-04 Angus Leeming <leeming@lyx.org>
5370 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5371 here (from getPackages).
5373 * debug.[Ch]: add a new EXTERNAL tag.
5375 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5377 * text2.C (cursorEnd): simplify
5379 (getColumnNearX): adjust
5381 * text.C (computeBidiTables): adjust
5384 * rowpainter.C (paintChars): adjust
5385 (paintSelection): adjust
5386 (paintChangeBar): adjust
5389 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5391 (numberOfSeparators): adjust
5393 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5399 * text3.C: Restricts the mouse click functionality
5400 of insets like bibtex, include, toc and floatlist to the visible
5401 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5402 up the dialogs. Cursor has to be in front of the inset (i.e.
5403 start of row) for this to function.
5405 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5407 * bufferview_funcs.C (currentState): output row information
5409 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5411 * bufferview_funcs.C (currentState): output paragraph position
5413 2003-09-04 Angus Leeming <leeming@lyx.org>
5415 * FloatList.h: move out #include "Floating.h".
5416 * LaTeX.h: move out #include "DepTable.h".
5417 * LyXAction.h: move out #include "funcrequest.h".
5418 * buffer.h: move out #include "author.h", "iterators.h".
5419 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5420 * lyx_main.h: move out #include "errorlist.h".
5421 * lyxfunc.h: move out #include "FuncStatus.h".
5422 * lyxtext: move out #include "lyxcursor.h".
5423 * paragraph_pimpl.h: move out #include "counters.h".
5425 2003-09-03 Angus Leeming <leeming@lyx.org>
5427 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5428 preamble_snippets list, enabling us to add snippets to the preamble
5429 only if the snippet was not there already.
5431 2003-09-04 Angus Leeming <leeming@lyx.org>
5433 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5435 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5437 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5440 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5442 * BranchList.C: point fix, earlier forgotten
5444 2003-09-02 Angus Leeming <leeming@lyx.org>
5446 * box.C (contains): renamed from 'contained' after a fantastic
5449 2003-09-02 John Levon <levon@movementarian.org>
5455 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5457 2003-09-02 John Levon <levon@movementarian.org>
5459 * text2.C: simplification of cursorEnd(), including partial
5462 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5464 * buffer.C (readFile): add a space
5466 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5468 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5470 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5472 * buffer.C (readFile): new function, take a filename and a
5473 ParagraphList::iterator
5475 (readFile): adjust, make it private. don't use setStream, make
5476 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5477 always contain the filename.
5479 * BufferView.C (insertLyXFile): simplify and make it work for
5482 2003-08-30 John Levon <levon@movementarian.org>
5484 * Makefile.am: fix dist (from Kayvan)
5486 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5488 * most files: change to use const Buffer refs
5490 2003-08-27 André Pönitz <poenitz@gmx.net>
5492 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5493 on top of ownerPar().
5495 2003-08-27 John Levon <levon@movementarian.org>
5497 * funcrequest.C: properly initialise POD members
5499 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5501 * lyxtext.h (top_y): move top_y from here
5506 * BufferView_pimpl.[Ch]: to here
5507 * frontends/screen.C:
5508 * insets/insettabular.C:
5509 * insets/insettext.C: adjust
5510 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5512 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5515 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5517 2003-08-26 André Pönitz <poenitz@gmx.net>
5519 * paragraph_func.[Ch] (outerPar): new function
5522 * paragraph_funcs.C:
5523 * paragraph_funcs.h:
5524 * paragraph_pimpl.C:
5525 * text2.C: remove Inset::par_owner
5527 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5532 * text2.C: eliminates the needFullRow/display() stuff
5533 altogether, putting the logic in metrics/draw in the insets.
5535 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5537 * text2.C (redoParagraphInternal, redoParagraphs):
5538 * text.C (redoParagraph): add a call to updateRowPositions at the
5539 end of each 'metrics-like' call. Remove all others.
5540 (getRow): remove the 'y-computing' version.
5541 (getRowNearY): do not compute nor return the real y. Solve the
5542 'y < 0' problem and simplify.
5544 2003-08-22 Angus Leeming <leeming@lyx.org>
5546 * *.[Ch]: clean-up of licence and author blurbs.
5547 Also move config.h out of a few .h files and into a few .C files.
5549 2003-08-22 André Pönitz <poenitz@gmx.net>
5551 * lyxrow.[Ch]: add x_ and *fill_ members
5556 * text2.C: adjust/remove prepareToPrint() calls
5558 2003-08-22 André Pönitz <poenitz@gmx.net>
5560 * lyxrow.[Ch]: add end_ member
5562 * lyxrow_funcs.C: use LyXRow::end_
5564 * lyxtext.h (singleWidth): add LyXFont parameter
5567 * text2.C: adjust LyXText::singleWidth() calls
5569 * text.C (redoParagraph): simplify row breaking logic
5572 2003-08-19 André Pönitz <poenitz@gmx.net>
5574 * funcrequest.C: initialize button_ member
5577 * rowpainter.[Ch]: interface consolidation
5579 2003-08-18 André Pönitz <poenitz@gmx.net>
5582 * BufferView_pimpl.C:
5584 * paragraph_funcs.C:
5586 * text3.C: remove LyXScreen::draw() and fitCursor calls
5588 * BranchList.h: remove spurious semicolons
5590 * MenuBackend.C: fix branchlist related crash
5592 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5600 * bufferparams.[Ch]:
5604 * text3.C: implements the 'branch inset'
5605 idea. This allows the output of various versions of a document
5606 from a single source version, selectively outputing or suppressing
5607 output of parts of the text.
5608 This implementation contains a 'branch list editor' in a separate
5609 tab of the document settings dialog. Branches are user definable
5610 and have a "display colour" to distinguish them on-screen.
5612 ColorHandler was somewhat cleaned up.
5613 (1) make possible a dynamically growing LColor list by allowing
5614 the graphic context cache to grow along (vector);
5615 (2) eliminate an IMHO unnecessary step in colour allocation.
5617 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5619 * BufferView_pimpl.C: compile fix
5621 2003-08-15 André Pönitz <poenitz@gmx.net>
5623 * rowpainter.C: remove extra metrics calls
5625 * lyxtext.h: merge the two constructors into a single one,
5626 pass reference to owner's par list
5628 * BufferView_pimpl.C:
5632 2003-08-15 André Pönitz <poenitz@gmx.net>
5634 * lyxrow_funcs.[Ch]:
5637 * paragraph_funcs.C:
5642 * text_funcs.C: split LyXText::rowlist_ into individual
5643 Paragraph::rows_ chunks
5646 * BufferView_pimpl.[Ch]:
5649 * text3.C: remove toggleSelection()
5651 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5653 * bufferlist.C: beautify two alerts (shorter text of buttons)
5654 * buffer.C: Remove redundant ' ' from message
5656 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5657 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5658 rename VALIGN_CENTER to VALIGN_MIDDLE
5660 2003-08-11 André Pönitz <poenitz@gmx.net>
5662 * lyxtext.h (getPar):
5663 * text.C: new function
5665 2003-08-11 André Pönitz <poenitz@gmx.net>
5668 * tracer.[Ch]: remove unneeded files
5670 * InsetList.[Ch]: remove resizeInsetsLyXText()
5675 * text3.C: merge insertParagraphs() and appendParagraph()
5676 remove breakAgain(), update()
5678 * BufferView_pimpl.[Ch]:
5679 * bufferview_funcs.[Ch]:
5683 * tabular.C: adjust after text & InsetList changes.
5685 2003-08-08 André Pönitz <poenitz@gmx.net>
5687 * text.C (insertChar, backspace): replace rowlist fiddling
5688 with rebreak of full par
5691 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5692 checkParagraph, updateInset): removed
5694 2003-08-07 André Pönitz <poenitz@gmx.net>
5697 * text3.C: merge some LFUN handlers, remove dead code
5699 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5701 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5703 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5705 * text2.C (DEPM): fix part of bug 1255 and 1256
5707 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5709 * BufferView_pimpl.C (workAreaDispatch): change to use
5710 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5711 that are no mouse related.
5713 2003-08-05 André Pönitz <poenitz@gmx.net>
5716 * BufferView_pimpl.[Ch]:
5717 * bufferview_funcs.C:
5719 * text3.C: rip out "deep update"
5721 * textcursor.[Ch] (last_sel_cursor): remove unused member
5723 2003-08-04 André Pönitz <poenitz@gmx.net>
5726 * BufferView_pimpl.[Ch]:
5727 * ParagraphParameters.C:
5728 * bufferview_funcs.C:
5734 * text3.C: replace "complicated" BufferView::update(...) calls with
5737 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5739 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5741 * Makefile.am (lyx_SOURCES): add paper.h
5743 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5745 * Makefile.am: move things around so that both lyx-qt and
5746 lyx-xforms can be built (according to --with-frontend). Then lyx
5747 is a symbolic link to lyx-[firstfrontend]
5749 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5751 * Always use std::endl with lyxerr
5753 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5755 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5757 2003-08-01 André Pönitz <poenitz@gmx.net>
5760 * BufferView_pimpl.[Ch]:
5762 * text3.C: merge BufferView::repaint() and BufferView::update()
5764 2003-08-01 José Matos <jamatos@lyx.org>
5766 * buffer.[Ch]: file_format is no longer a buffer data element.
5768 2003-08-01 André Pönitz <poenitz@gmx.net>
5773 * text2.C: make redoParagraph more independent of current cursor
5775 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5777 * text2.C: remove unneeded members
5779 2003-07-30 André Pönitz <poenitz@gmx.net>
5781 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5783 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5784 create a single function...
5786 * paragraph_funcs.C (moveItem): ... here.
5789 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5791 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5793 * LColor.[Ch]: Add comment and greyedout logical colors.
5795 2003-07-30 André Pönitz <poenitz@gmx.net>
5797 * tabular.C: don't use Assert too heavily. This crashes where it
5800 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5802 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5803 is disabled (bug 1232)
5805 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5807 * factory.C: limited 'arg' scope
5809 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5811 * factory.C: fixed Note submenu issues
5813 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5815 * factory.C: submenu for Note/Comment/Greyedout
5817 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5820 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5822 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5825 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5826 greyedout. Patch provided by Jürgen Spitzmüller.
5828 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5830 * kbmap.C (read): fix error message when reading bind files
5832 2003-07-29 Angus Leeming <leeming@lyx.org>
5834 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5835 certainly does not do what it purports to do. I am doing it, and
5836 us, a favour by killing it.
5838 2003-07-28 José Matos <jamatos@lyx.org>
5840 * buffer.C (readBody, do_writeFile):
5841 * paragraph.C(readParagraph): \end_document replaces \the_end.
5843 2003-07-29 André Pönitz <poenitz@gmx.net>
5846 * BufferView_pimpl.[Ch]:
5850 * textcursor.[Ch]: remove toggleToggle & Co
5852 2003-07-28 José Matos <jamatos@fep.up.pt>
5854 * buffer.C (readParagraph):
5855 * params_func (readParToken, readParagraph):
5856 * paragraph.C (write): \layout -> \begin_layout.
5858 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5860 * lyxlex_pimpl.C (setFile): clean up slightly.
5862 * bufferparams.h: add compressed var
5864 * buffer_funcs.C (readFile): adjust for LyXLex change
5865 (newFile): ditto + simplify
5867 * buffer.C (writeFile): handle writing of compressed files
5869 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5870 Check if the file is compressed and set a bufferparm if so.
5872 * Makefile.am (lyx_LDADD): remove explicit -lz
5874 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5876 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5877 makeDocBookFile): put the real LyX version in the first line of
5881 * version.C.in: remove lyx_docversion
5883 * tabular.C (write_attribute): add a template-based version to
5884 write enums properly
5886 2003-07-28 André Pönitz <poenitz@gmx.net>
5891 * text3.C: use doubles again for x-coordinates. They are needed.
5893 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5895 * messages.C (getLocaleDir): use lyx_localedir()
5897 * lyxlex_pimpl.C (setFile): compress stuff
5899 * buffer.C (writeFile): add some compression stuff
5900 (do_writeFile): new func, dont call expliti close... will this
5903 * Makefile.am (lyx_LDADD): add -lz
5905 2003-07-28 José Matos <jamatos@fep.up.pt>
5907 * buffer.C: increment file format.
5908 * paragraph_funcs (readParagraph, readParToken):
5909 * paragraph.C (readParagraph): add \end_layout.
5911 2003-07-27 Angus Leeming <leeming@lyx.org>
5913 * Makefile.am: remove special casing for configure-time setting of
5914 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5916 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5917 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5919 2003-07-26 André Pönitz <poenitz@gmx.net>
5921 * paragraph_func.[Ch]:
5922 * paragraph.C (realizeFont): inline it whereever it is used
5927 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5930 2003-07-26 André Pönitz <poenitz@gmx.net>
5934 * text2.C: get rid of LyXText::need_break_row
5936 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5938 * toc.[Ch]: put namespace toc inside namespace lyx
5940 * MenuBackend.C (expandToc2): adjust for lyx::toc
5943 * lyxfunc.C (dispatch): adjust for lyx::find
5945 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5946 lyx::find instead. Reorganize a bit.
5947 (LyXReplace): rename to replace
5948 (LyXFind): rename to find
5950 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5953 2003-07-26 André Pönitz <poenitz@gmx.net>
5955 * text.C (setHeightOfRow): restrict scope of temporary variable
5957 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5958 code (never has been used?)
5960 2003-07-27 Asger Alstrup <alstrup@local>
5962 * text.C (fill): Optimise algorithm to exploit that we can reuse
5963 the LyXFont for many characters.
5964 (setHeightOfRow): Same thing.
5965 (rowBreakPoint): Same thing.
5967 2003-07-26 Asger Alstrup <alstrup@local>
5969 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5971 * text.C (singleWidth): Spurious font copying in hot-spot
5972 singleWidth avoided. Reorder tests for arabic for efficiency.
5974 * text.C (fill): handle empty paragraphs better.
5976 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5979 * encoding.h: add includes
5981 * lyxrc.C: remove reading of bind files
5983 * lyx_main.C (init): setup bindings and menus only if we have a
5986 * kbmap.C (read): new method. Do the actual reading of bind
5989 * converter.C (dvipdfm_options):
5992 (output): adapt PAPER_* enums.
5994 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5996 * bufferparams.h: remove paper-related enums from there
5998 * paper.h: New file. A trivial header file to hold paper-related
5999 enums. It should later expand to contain many paper-related
6002 * lyxrc.C: declare extern displayTranslator
6004 2003-07-27 José Matos <jamatos@fep.up.pt>
6006 * tabular.[Ch] (linuxdoc): add support for tables and figures
6009 2003-07-27 José Matos <jamatos@fep.up.pt>
6011 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6012 consistency in both functions.
6013 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6015 2003-07-26 Asger Alstrup <alstrup@local>
6017 * rowpainter.C (paintRows): Change algorithm to work directly on
6018 the insets rather than asking every character in the document
6019 whether its an inset.
6021 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6023 * buffer.C (openFileWrite): factorize some code
6025 2003-07-26 Angus Leeming <leeming@lyx.org>
6028 * lyx_main.[Ch]: replace occurances of system_tempdir with
6031 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6033 * rename Inset to InsetOld
6035 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6037 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6038 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6039 which I think is a bit clearer. EDIT is gone, since it was
6040 premature optimisation, and broken for mathed anyway.
6041 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6042 with cursor positioning in insets as well (math insets still do not
6043 work, but that's a different story anyway.) It mysteriously
6044 crashes sometimes with undo in the first paragraph, but I'm fairly
6045 confident that this is a compiler bug.
6047 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6049 * paragraph.C (Paragraph): adjust for new clone return type
6051 (copyIntoMinibuffer): ditto
6053 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6055 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6056 by not having a special case, and always doing a full rebreak of
6057 the document after undo.
6059 2003-07-23 Angus Leeming <leeming@lyx.org>
6061 * factory.C (createInset): InsetExternal::setParams now takes a
6064 2003-07-23 Angus Leeming <leeming@lyx.org>
6066 * factory.C (createInset): changed interface to the external and
6067 graphics mailers' string2params functions.
6069 2003-07-23 Angus Leeming <leeming@lyx.org>
6071 * factory.C (createInset): pass a
6072 Buffer const * parameter to InsetExternalMailer's string2params.
6074 2003-07-22 John Levon <levon@movementarian.org>
6076 * Thesaurus.h: include the right aiksaurus header
6078 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6080 * MenuBackend.C (expand): check menu shortcuts unconditionally
6082 2003-07-21 Angus Leeming <leeming@lyx.org>
6084 * factory.C (createInset): pass a
6085 buffer_path parameter to InsetGraphicsMailer's string2params.
6087 2003-07-21 Angus Leeming <leeming@lyx.org>
6089 * BufferView_pimpl.C (buffer):
6092 * lyxfunc.C (dispatch):
6093 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6094 rather than the grfx shortcut.
6096 2003-07-21 André Pönitz <poenitz@gmx.net>
6098 * rowpainter.C: remove unused variables
6101 * tabular_funcs.h: move to tabular.C
6102 * Makefile.am: adjust
6104 * tabular.[Ch]: basic optical cleaning
6106 * author.h: pass references, not values
6108 2003-07-18 André Pönitz <poenitz@gmx.net>
6116 * text3.C: two-phase drawing for InsetText and InsetTabular
6117 some float -> int changes.
6119 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6121 * lyx_main.C: fix the fix
6123 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6125 * lyx_main.C: fix a crash in batch mode if no files specified
6128 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6130 * format.[Ch] (papersize): moved to BufferParams
6131 * converter.[Ch] (dvips_options): moved to BufferParams
6132 (dvipdfm_options): moved to anon namespace
6133 * bufferparams.[Ch]: added above functions.
6135 2003-07-17 André Pönitz <poenitz@gmx.net>
6139 * text2.C: don't call inset->update() anymore
6141 * metricsinfo.[Ch]: add convenience constructor
6143 2003-07-16 André Pönitz <poenitz@gmx.net>
6148 * text2.C: replace the LyXCursor::irow_ member with
6149 on-demand computation of the value
6151 2003-07-16 John Levon <levon@movementarian.org>
6153 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6155 2003-07-15 André Pönitz <poenitz@gmx.net>
6158 * text2.C: remove no more needed refresh_row
6160 2003-07-15 André Pönitz <poenitz@gmx.net>
6165 * text3.C: refresh_status tristate -> need_update bool
6167 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6169 * lyxtext.h (init): remove reinit argument (act as if always true)
6170 * text2.C: adjust to that
6172 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6174 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6175 * text3.C: use it to delete selections in some cases
6176 (bugs 441, 673, 702, 954).
6178 2003-07-14 André Pönitz <poenitz@gmx.net>
6180 * rowpainter.[Ch]: reduce interface
6182 2003-07-14 André Pönitz <poenitz@gmx.net>
6184 * BufferView_pimpl.C:
6185 * text2.C: adjust after removing unused BufferView * argument
6187 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6189 * text2.C (init): fix a crash fired on resize
6191 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6193 * buffer.[Ch]: added new closing signal
6194 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6195 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6196 BufferView::Pimpl via the closing the signal
6198 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6200 * buffer.[Ch]: take out all bv-related from buffer
6202 * BufferView_pimpl.[Ch]: connect to new signals
6203 * CutAndPaste.C: removed useless asserts
6204 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6207 * lyxfunc.C: moved view-related funciontality from vc here
6208 * paragraph.C: removed outdated comments
6211 2003-07-10 André Pönitz <poenitz@gmx.net>
6213 * BufferView_pimpl.C:
6217 * text2.C: remove InsetText::InnerCache, clean up consequences
6219 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6221 * ispell.C: fix two typos in error messages
6223 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6225 * Extend Note inset to other forms of annotation like Comment
6226 and Greyedout. Right button click gives dialog.
6228 Files modified or added (+):
6232 * ControlNote.[Ch] +
6234 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6235 frontends/controllers
6239 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6241 * aspell.C: add missing namespace lyx::support
6243 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6245 * BufferView.[Ch] (newFile): Add
6246 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6247 * LaTeX.[Ch] (message): added this signal and use it
6248 * buffer.[Ch] (busy, message): added these signals and use them
6249 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6253 * importer.C: use buffer signals instead of direct bv calling
6254 * lyx_cb.[Ch] (ShowMessage): removed
6257 * paragraph_funcs.C:
6258 * text2.C: use buffer signals
6260 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6262 * introduce namespace lyx::graphics
6264 2003-07-02 André Pönitz <poenitz@gmx.net>
6266 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6268 2003-07-01 André Pönitz <poenitz@gmx.net>
6275 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6276 text*.C to text_func.C
6278 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6280 * introduce namespace lyx::support
6282 2003-06-30 André Pönitz <poenitz@gmx.net>
6287 * text.C: re-enable --with-included-string
6289 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6291 * textcursor.C: add <config.h>
6293 * text.C (getWord): remove const from word_location arg
6295 * lyxvc.C (getLogFile): fix const type order
6297 * lyxtext.h: remove const from word_location arg, add arg name
6299 * lyxlayout.h: currect type on labeltype.
6301 * importer.C: correct \file
6303 * converter.C (intToFormat): use std:: on ret val, ws changes
6305 * bufferlist.h: correct \file
6307 * buffer.C (makeLinuxDocFile): fix const type order
6308 (makeDocBookFile): ditto
6309 (fillWithBibKeys): use std:: on stdlib args.
6311 * CutAndPaste.C: fix authors.
6312 (availableSelections): use std:: on return vector
6314 2003-06-27 André Pönitz <poenitz@gmx.net>
6316 * BufferView_pimpl.C:
6317 * bufferview_funcs.C:
6325 * text3.C: remove LyXCursor::row_ member
6328 * text.C: rename fullRebreak() to partialRebreak() and implement
6329 a fullRebreak() that really bereks fully
6331 * textcursor.h: new struct for cursor-related data
6333 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6335 * lyx_main.C (LyX): get full path of document loaded on the
6338 2003-06-26 André Pönitz <poenitz@gmx.net>
6340 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6341 remove unused/broken operator>,<,>=.
6343 * text.C: remove only use of broken operator<= in an Assert().
6345 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6347 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6348 moved errorlist_.clear to showErrorList
6350 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6352 * converter.C (scanLog, runLaTeX):
6353 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6354 move the bv->showErrorList call to the callers
6355 * lyxfunc.C: i.e. here...
6357 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6358 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6359 namespace, the second to...
6360 * buffer_funcs (BufferFormat, parseErrors): added
6361 * errorlist.C (ErrorList(TeXErrors const &)): removed
6363 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6365 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6367 2003-06-24 "Garst R. Reese" <reese@isn.net>
6371 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6373 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6375 * version.C.in: change docversion to 1.4
6377 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6379 * buffer.C: fix a bug just introduced
6381 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6383 * buffer.[Ch]: added the parseError signal and use it, removed
6385 * BufferView.[Ch] (addError): moved to ...
6386 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6387 to the Buffer::parseError signal to catch (guess what) parse errors
6388 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6390 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6392 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6393 ability to create a buffer and to return an existing one from
6394 the list. Moved these functions to...
6395 * buffer_funcs.[Ch]: added
6396 * BufferView.[Ch] (loadLyXFile): added
6397 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6398 job removed from bufferlist::loadLyXFile.
6399 * buffer.C (setReadOnly): make it work without view
6400 (i.e added an if (users))
6402 2003-06-19 Angus Leeming <leeming@lyx.org>
6405 * LyXAction.C (init):
6406 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6407 with LFUN_DIALOG_SHOW <name> <data>.
6409 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6411 * CutAndPaste.C (availableSelections): small compilation fix for
6412 ancient (gcc 2.9x) compilers
6414 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6416 * text3.C (cursorNext): add tmp var
6418 * text2.C (updateCounters): for function calling out of for clause
6419 (replaceSelectionWithString): ditto
6420 (insertStringAsParagraphs): ditto
6421 (getColumnNearX): add tmp var
6422 (setCursorFromCoordinates): add tmp var
6423 (cursorDownParagraph): add tmp var
6424 (deleteEmptyParagraphMechanism): add tmp var
6426 * text.C (insertChar): add tmp var
6428 * rowpainter.C (paintDepthBar): add tmp var
6430 * CutAndPaste.C (availableSelections): potentially check all
6431 paragraphs in a cut to fill the shown strings.
6433 2003-06-18 André Pönitz <poenitz@gmx.net>
6435 * kbmap.[Ch]: use vector<> instead of list<>
6437 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6439 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6440 pasteSelection with index
6442 * text2.C (pasteSelection): modify, call pasteSelection with index
6444 * paragraph.C (asString): reimplement version with no interval to
6445 call the one with interval.
6447 * lyxtext.h: add index arg to pasteSelection
6449 * MenuBackend.C (MenuItem): handle PasteRecent
6450 (Menu::read::Menutags): add md_pasterecent
6452 (expandPasteRecent): new function
6455 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6457 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6459 (availableSelections): new function
6461 2003-06-17 Angus Leeming <leeming@lyx.org>
6463 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6465 2003-06-17 Angus Leeming <leeming@lyx.org>
6468 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6470 * lyxfunc.C (dispatch): invoke it.
6472 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6474 * iterators.C (operator++, ParPosition): reintroduce some
6475 const_cast for the benefit of older compilers.
6477 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6479 * text3.C (dispatch): do not modify clipboard when doing
6480 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6481 LFUN_DELETE_SKIP on a selection selection
6483 2003-06-16 André Pönitz <poenitz@gmx.net>
6489 * tabular.[Ch]: IU of clone() and getLabelList();
6491 2003-06-13 André Pönitz <poenitz@gmx.net>
6493 * tabular.h: compactification
6495 2003-06-12 André Pönitz <poenitz@gmx.net>
6499 * tabular_funcs.h: some renaming plus whitespace
6501 2003-06-12 André Pönitz <poenitz@gmx.net>
6504 * BufferView_pimpl.C:
6510 * toc.C: Return a Paragraph & for ParIterator::operator*()
6512 2003-06-11 John Levon <levon@movementarian.org>
6516 * ToolbarBackend.C: add "Toolbars" section and
6519 2003-06-10 Angus Leeming <leeming@lyx.org>
6522 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6524 * lyxfunc.C (dispatch): invoke it.
6526 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6528 * main.C: protect <ios> with HAVE_IOS
6529 (main): protect sync_with_stdio with HAVE_IOS
6531 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6533 * text2.C (cutSelection): adjust
6534 (pasteSelection): adjust
6536 * messages.C: handle get of empty string
6538 * main.C (main): use sync_with_stdio(false)
6540 * lyxfunc.C (dispatch): adjust
6542 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6543 (WriteAs): remove unneeded BufferView arg.
6545 * bufferparams.h: use correct types on papersize, papersize2 and
6548 * bufferparams.C (readToken): adjust for type
6549 (writeLaTeX): add missing cases to switch.
6551 * bufferlist.C (quitWriteBuffer): adjust
6554 * buffer.C (asciiParagraph): remove some commented code.
6556 * CutAndPaste.C: remove current_view extern variable.
6557 (cutSelection): add BufferParams arg.
6558 (eraseSelection): add BufferParams arg.
6559 (pasteSelection): add Buffer const & arg
6561 2003-06-07 John Levon <levon@movementarian.org>
6564 * paragraph_funcs.C:
6565 * paragraph_pimpl.C:
6569 * paragraph.C: allow InsetERT to freely space lines,
6570 and some consolidation of code
6572 2003-06-06 José Matos <jamatos@fep.up.pt>
6574 * buffer.C (makeDocBookFile): fix bug #821
6576 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6578 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6580 2003-06-04 Angus Leeming <leeming@lyx.org>
6582 * buffer.C: bump format to 224.
6584 2003-06-05 André Pönitz <poenitz@gmx.net>
6586 * text2.C (redoParagraphs): remove two const_cast<>
6588 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6590 * ParagraphList.h: remove last remnants of NO_STD_LIST
6592 2003-06-03 Angus Leeming <leeming@lyx.org>
6594 * factory.C (createInset): small change to the way InsetExternal's params
6597 2003-06-04 André Pönitz <poenitz@gmx.net>
6599 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6601 * paragraph_pimpl.h:
6602 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6604 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6606 * undo_funcs.C: make some simple cases of undo work again
6608 2003-06-03 John Levon <levon@movementarian.org>
6610 * ispell.C: HPUX doesn't have sys/select.h
6613 2003-06-03 John Levon <levon@movementarian.org>
6615 * CutAndPaste.C: update tabular and include inset
6620 * paragraph.C: remove owningBuffer(), don't pass Buffer
6623 * factory.C: insetGraphicsParams changed
6625 2003-06-02 John Levon <levon@movementarian.org>
6631 * text3.C: remove insetparent
6633 2003-06-02 John Levon <levon@movementarian.org>
6636 * buffer.C: fix inset_iterator.end(), move out of line
6639 2003-06-01 John Levon <levon@movementarian.org>
6641 * text3.C: use a proper cut/paste when doing inset
6642 insert (from Jürgen Spitzmüller)
6644 2003-06-01 John Levon <levon@movementarian.org>
6646 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6648 2003-05-30 André Pönitz <poenitz@gmx.net>
6650 * rowpainter.C: unify second drawing phase
6652 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6654 * trans_mgr.C: remove one case of current_view
6656 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6658 * paragraph_funcs.h: remove paragraph.h include
6660 * paragraph.h: delete NO_STD_LIST stuff
6662 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6664 * buffer.h: remove paragraph.h include
6666 * ParagraphList.C: delete file
6668 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6670 * toc.C (getTocList): adjust
6672 * paragraph_pimpl.C (validate): adjust
6674 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6676 * paragraph.C (Paragraph): adjust
6677 (getPositionOfInset): use const_iterator, adjust
6678 (bibitem): use const_iterator, adjust
6679 (setInsetOwner): adjust
6681 * iterators.C (operator++): adjust
6683 * InsetList.[Ch]: Replace selfmade iterator with standard
6684 vector::iterator also introduce const_iterator. Remove getPos,
6685 getInset and setInset from InsetTable. Adjust accordingly.
6687 * BufferView.C (lockInset): adjust
6688 (ChangeInsets): adjust
6690 * tabular.[Ch]: delete commented same_id functions
6692 2003-05-28 John Levon <levon@movementarian.org>
6694 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6696 2003-05-28 André Pönitz <poenitz@gmx.net>
6698 * metricsinfo.[Ch]: remove 'fullredraw' member
6700 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6702 * lyxtextclass.C (operator): remove caching.
6704 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6708 * text2.C (cursorBottom): adjust
6709 (setCounter): use ParagraphList::find, adjust
6711 * text.C (workWidth): use ParagraphList::find, adjust
6713 * lyxcursor.C (LyXCursor): adjust
6715 * buffer.C (inset_iterator): adjust
6717 * ParagraphList.h: make iterator(value_type) private, make
6718 ParagraphList a friend of iterator.
6720 * ParagraphList.C (find): new function
6722 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6724 2003-05-27 André Pönitz <poenitz@gmx.net>
6726 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6728 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6730 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6732 2003-05-26 John Levon <levon@movementarian.org>
6734 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6736 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * remove same_id from function signatures, adjust.
6740 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6742 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6744 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6746 * paragraph.C (Paragraph): get rid of same_ids parameter
6748 * ParagraphList.C (insert): adjust
6751 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6753 * paragraph_funcs.C (breakParagraph): adjust
6754 (breakParagraphConservative): adjust
6756 * buffer.C (readParagraph): adjust
6758 * ParagraphList.C (insert): take a reference instead of a pointer
6761 * paragraph.[Ch] (id): new function
6763 * bufferlist.C (newFile): adjust
6765 * ParagraphList.C (ParagraphList): adjust
6767 (push_back): take a reference instead of a pointer.
6769 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6771 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6774 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6775 set else use old code.
6777 * ParagraphList.C: remove all NO_NEXT code and only compile this
6778 code of NO_STD_LIST is set.
6780 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6782 * BufferView_pimpl.C:
6792 * graphics/GraphicsConverter.C:
6793 * graphics/PreviewLoader.C: header adjustment
6795 2003-05-23 Angus Leeming <leeming@lyx.org>
6797 * LaTeXFeatures.[Ch] (useBabel): new method.
6798 * bufferparams.C (writeLaTeX): use it.
6800 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6802 * ParagraphList.h (set): remove unused function.
6804 2003-05-23 André Pönitz <poenitz@gmx.net>
6807 * BufferView_pimpl.C:
6811 * undo_funcs.C: setUndo reworked
6813 * iterators.[Ch]: add access to topmost ParagraphList
6815 * lyxtext.[Ch] (workWidth): add a const
6817 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6819 * texrow.[Ch] (increasePos): remove function
6820 * exporter.C (export): removed unused var and outdated comment
6822 2003-05-23 Angus Leeming <leeming@lyx.org>
6824 * latexrunparams.h: rename fragile as moving_arg.
6825 * paragraph.C (simpleTeXOnePar): ditto.
6826 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6828 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6830 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6832 (textUndoOrRedo): comment out a currently unused var.
6834 * paragraph.h (NO_NEXT): enable NO_NEXT
6836 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6838 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6840 * exporter.C (Export): adjust for removeAutoInsets removal.
6842 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6844 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6846 * BufferView.[Ch] (removeAutoInsets): delete function
6848 2003-05-22 Angus Leeming <leeming@lyx.org>
6850 * latexrunparams.h: add a free_spacing variable.
6852 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6853 to pass moving_arg, as the data is stored in runparams.fragile.
6855 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6856 to Inset::latexOptional or to simpleTeXOnePar.
6858 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6859 free_spacing arg to Inset::latexOptional.
6861 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6864 2003-05-22 Angus Leeming <leeming@lyx.org>
6866 * latexrunparams.h: add fragile and use_babel variables.
6868 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6869 * buffer.C (makeLaTeXFile): store this returned value in
6870 runparams.use_babel, thus passing it to the inset::latex methods.
6872 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6873 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6875 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6876 longer has a fragile arg, as it is stored in runparams.fragile.
6878 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6879 moving_arg parameter as the data is stored in runparams.fragile.
6881 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6882 a fragile parameter as the data is stored in runparams.fragile.
6884 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6886 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6888 2003-05-22 Angus Leeming <leeming@lyx.org>
6890 * latexrunparams.h: add a 'bool nice' which defaults to false.
6892 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6893 now encapsulated within runparams.
6895 * bufferlist.C (updateIncludedTeXfiles):
6896 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6898 2003-05-22 Angus Leeming <leeming@lyx.org>
6900 * latexrunparams.h: new file containing struct LatexRunParams.
6901 * Makefile.am: add new file.
6903 * LaTeX.[Ch] (c-tor, run):
6904 * buffer.[Ch] (makeLaTeXFile):
6905 * bufferlist.[Ch] (updateIncludedTeXfiles):
6906 * converter.C (convert, scanLog):
6907 * converter.[Ch] (runLaTeX):
6908 * exporter.C (Export):
6909 * paragraph.[Ch] (simpleTeXOnePar):
6910 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6911 * paragraph_funcs.[Ch] (latexParagraphs):
6912 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6913 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6914 pass around a LatexRunParams parameter.
6916 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6918 * paragraph.[Ch]: remove unused constructor
6920 * ParagraphList.C (erase): new function, taking two iterators
6922 2003-05-22 André Pönitz <poenitz@gmx.net>
6924 * undo_funcs.C: remove duplicated code
6926 * iterator.[Ch]: operator=
6928 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6930 * tabular.C (SetMultiColumn): ws changes
6932 * rowpainter.C (paintFirst): get rid of a ->previous
6934 * lyx_cb.C (getPossibleLabel): parlist simplification
6936 * BufferView.C (ChangeInsets): simplify slightly.
6938 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6940 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6941 * lfuns.h: new LFUN_SPACE
6942 * lyxfunc.C: protected space has a new lfun
6943 * paragraph_funcs.C: read new space insets
6945 * factory.C: handle new space insets
6947 2003-05-22 André Pönitz <poenitz@gmx.net>
6950 * BufferView_pimpl.C:
6953 * undo_funcs.C: return a ParIterator from getParFromID.
6955 * iterators.[Ch]: add two const's
6957 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6959 * toc.C (getTocList): adjust
6961 * iterators.[Ch]: rework for parlist
6963 * buffer.C (par_iterator_begin): adjust
6964 (par_iterator_end): adjust
6966 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6968 * BufferView.C (removeAutoInsets): adjust
6969 (ChangeInsets): adjust
6971 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6973 * text.C (top_y): fix bug 1110
6975 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6977 * errorlist.[Ch]: added
6980 * BufferView_pimpl.C:
6981 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6984 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6986 * Makefile.am: ensure that lyx is relinked upon changes to the
6987 various "convenience" libs.
6989 2003-05-20 Angus Leeming <leeming@lyx.org>
6991 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6992 files are compiled in alphabetical order again.
6994 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6996 2003-05-19 Angus Leeming <leeming@lyx.org>
6998 * gettext.[Ch]: remove "char const * _(char const *)".
7000 2003-05-19 André Pönitz <poenitz@gmx.net>
7002 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7011 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7013 2003-05-19 André Pönitz <poenitz@gmx.net>
7017 * lyxtextclass.[Ch]:
7019 * paragraph_funcs.[Ch]:
7021 * text3.C: more insetenv work
7023 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7025 * ParagraphParameters.C (params2string): small bug fixed
7027 2003-05-16 André Pönitz <poenitz@gmx.net>
7030 * bufferview_funcs.C: patch from Kornel Benko to prevent
7031 crash when _(...) is called twice in a statement
7033 2003-05-16 André Pönitz <poenitz@gmx.net>
7040 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7042 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7044 * lyx_main.C (init): remove spurious static_cast
7046 2003-05-14 André Pönitz <poenitz@gmx.net>
7048 * BufferView.C: fix format string
7050 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7052 * BufferView.[Ch] (insertErrors): removed
7053 * BufferView.[Ch] (showErrorList): added
7054 * buffer.C (runChkTeX):
7055 * converter.C (scanLog): call showErrorList instead of inserterrors
7057 2003-05-13 André Pönitz <poenitz@gmx.net>
7059 * BufferView_pimpl.C:
7061 * bufferview_func.C:
7068 * tabular_funcs.h: tostr() from its own header
7070 * ParagraphParameters.C:
7075 * text3.C: STRCONV()
7077 2003-05-12 André Pönitz <poenitz@gmx.net>
7080 * BufferView_pimpl.C:
7084 * ParagraphParameters.C:
7088 * bufferview_funcs.C:
7101 * paragraph_funcs.C:
7105 * text3.C: boost::format -> bformat all over the place
7108 2003-05-09 André Pönitz <poenitz@gmx.net>
7110 * LColor.[Ch]: Pimpl the #include <map> away
7112 2003-05-09 John Levon <levon@movementarian.org>
7114 * bufferlist.C: never remove emergency saves
7116 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * Makefile.am: better lib building
7120 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7122 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7124 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7125 (simpleTeXSpecialChars): adjust
7126 (simpleTeXSpecialChars): adjust
7127 * paragraph.C (simpleTeXOnePar): adjust
7128 * buffer.C (makeLaTeXFile): adjust
7130 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7132 * text2.C (changeDepth): parlist cleanup
7133 (getColumnNearX): ditto
7135 * rowpainter.C (getLabelFont): parlist cleanup
7137 * bufferlist.C (newFile): parlist cleanup
7139 * CutAndPaste.C (eraseSelection): parlist cleanup
7141 * BufferView_pimpl.C (trackChanges): parlist cleanup
7144 * BufferView.C (lockInset): parlist cleanup.
7145 (ChangeInsets): ditto
7147 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * CutAndPaste.h: Update file header.
7151 * CutAndPaste.C: Update file header.
7152 Store the parts cut out of the Document in a limited_stack.
7153 (copySelection): adjust
7154 (pasteSelection): new function, takes the index in the limited stack.
7155 (nrOfParagraphs): adjust
7156 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7157 simplify error inset insertion.
7158 (checkPastePossible): adjust
7160 2003-05-06 John Levon <levon@movementarian.org>
7162 * text2.C: don't cast wrap inset to float
7164 2003-05-05 André Pönitz <poenitz@gmx.net>
7167 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7169 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7170 few naked Paragraph *.
7172 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7174 * bufferparams.C: Output warning if a document with missing
7175 TeX document class is loaded
7176 * exporter.C: Disable TeX exports if the document class is missing
7179 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7180 isTeXClassAvailable()
7182 2003-05-03 John Levon <levon@movementarian.org>
7185 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7186 explicit cursor show/hide
7188 * BufferView_pimpl.h:
7189 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7190 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7192 * lyxfunc.C: hide cursor before dispatching.
7197 * text3.C: remove explicit cursor hides
7199 2003-05-02 André Pönitz <poenitz@gmx.net>
7201 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7204 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7207 * text2.C: tiny whitespace
7209 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7211 * undo_funcs.C: almost only ws changes.
7213 * ParagraphList.C (splice): just return if pl is empty.
7215 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7217 * ParagraphList.C (splice): new function.
7219 * CutAndPaste.C (pasteSelection): use it
7221 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7223 * CutAndPaste.C (pasteSelection): remove the last next and
7224 previous from this file.
7226 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7228 * CutAndPaste.C (pasteSelection): more clean up, user proper
7229 ParagraphList functions for pasteing.
7231 * ParagraphList.C (insert): new function, three arg insert
7233 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7235 * ParagraphList.C (insert): new function, three arg insert
7237 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7240 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7242 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7244 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7248 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7250 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7251 (copySelection): clean up a bit.
7252 (pasteSelection): use make_pair
7254 * ParagraphList.C (ParagraphList): implement copy constructor
7255 (operator=): implement, base on copy constructor.
7258 * paragraph.C (erase): return a bool
7260 * paragraph_pimpl.C (erasePos): remove function, move contents...
7261 (erase): ... here. Return a bool.
7262 (erase): call erase instead of erasePos.
7264 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7266 * ParagraphList.h: define PitPosPair
7267 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7268 ParagraphList, fix a bug on pasting multiple pars
7269 * text2.C: change interface to C&P
7271 2003-04-30 André Pönitz <poenitz@gmx.net>
7273 * undo_func.C: revert part of yesterday's patch 2
7275 2003-04-30 John Levon <levon@movementarian.org>
7277 * LColor.C: s/tabular/table/
7279 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * text3.C (dispatch): do not convert iterator -> pointer
7282 * undo_funcs.C (setCursorParUndo): ditto
7283 * text_funcs.C (transposeChars): ditto
7285 * text2.C (setLayout): ws changes only
7287 * text.C (breakParagraph): do not convert iterator -> pointer
7289 (acceptChange): ditto
7290 (rejectChange): ditto
7295 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7298 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7300 * text3.C (gotoInset): YABG (yet another bad getChar)
7302 2003-04-29 André Pönitz <poenitz@gmx.net>
7304 * paragraph.h: make operator= private unimplemented as long as
7307 * ParagraphList.C: whitespace
7310 * paragraph_pimpl.[Ch]:
7311 * paragraph_funcs.C:
7313 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7316 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7318 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7320 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7321 * paragraph.[Ch] (erase):
7322 * paragraph_pimpl.[Ch] (erase): change return type and value
7323 * text2.C (cutSelection): some rework
7325 2003-04-28 John Levon <levon@movementarian.org>
7327 * bufferlist.C: changes for unsaved changes dialog
7329 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * bufferlist.C (newFile): set language (messages_) for new
7334 * buffer.C (readFile): ws changes only.
7336 2003-04-28 André Pönitz <poenitz@gmx.net>
7341 * BufferView_pimpl.C:
7342 * BufferView.C: getParFromID related ParagraphList::iterator changes
7344 2003-04-28 André Pönitz <poenitz@gmx.net>
7346 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7349 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7351 * messages.C: remove one more localedir class variable.
7353 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7355 * messages.C (getLocaleDir): singleton generation function
7357 (Messages): add a default constructor.
7359 * main.C (main): do not setup localedir here, do not call
7362 * gettext.C (_): use it.
7363 (gettext_init): delete funciton
7365 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7367 * gettext.C (getLyXMessages): new singleton generating function.
7369 * buffer.C (updateDocLang): adjust
7371 * Makefile.am (messages.o): add target
7372 (main.o): remove target
7374 2003-04-27 John Levon <levon@movementarian.org>
7379 * lyxvc.C: specify cancel button in Alert::prompt
7381 2003-04-26 John Levon <levon@movementarian.org>
7386 * LyXAction.C: add LFUN_INSET_SETTINGS
7388 * lyxfunc.C: don't enable tabular-feature when there's
7389 just any locking inset
7391 2003-04-26 John Levon <levon@movementarian.org>
7393 * bufferlist.C: re-add Cancel to buffer close question
7395 * lyxfunc.C: fix import UI a bit
7397 2003-04-25 John Levon <levon@movementarian.org>
7399 * gettext.C: remove the broken asserts for now
7401 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7403 * messages.C: make case where setlocale cannot comply work better.
7405 * buffer.C (updateDocLang): new function
7406 (changeLanguage): use it
7409 * text2.C (setCounter): use B_ a bit.
7411 * lyxlayout.C (Read): be sure to trim the label strings.
7413 * messages.C (Messages): fix typo in comment
7415 * buffer.C (readFile): set message_ after file is loaded.
7416 (makeDocBookFile): remove double return
7417 (changeLanguage): reset message_ upon language change.
7418 (B_): new func, use this to get translated buffer strings.
7420 * main.C: add myself and Jean Marc as authors.
7422 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7424 * messages.[hC]: pimplify Messages, and three different pimpls to be
7425 used in different circumstances.
7427 * gettext.[Ch]: change for use with new message code.
7429 2003-04-24 André Pönitz <poenitz@gmx.net>
7431 * factory.C: support for eqref
7433 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7435 * messages.[Ch]: add missing char
7437 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7439 * messages.[Ch]: New files
7441 2003-04-18 John Levon <levon@movementarian.org>
7445 * BufferView_pimpl.C:
7449 * text2.C: remove layout-copy/paste (bug 778)
7451 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7453 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7455 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7457 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7458 if they succeed. Act accordingly.
7460 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7462 * text2.C (setCharFont): adjust
7463 (setCounter): adjust
7464 (insertStringAsLines): adjust
7466 * text.C (leftMargin): adjust
7467 (setHeightOfRow): adjust
7469 * rowpainter.C (paintFirst): adjust
7472 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7474 (isFirstInSequence): ditto
7475 (getEndLabel): ditto
7478 * paragraph.C (getParLanguage): comment out some hard stuff.
7480 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7482 (simpleDocBookOnePar): ditto
7483 (makeDocBookFile): use ParagraphList::iterator
7485 * CutAndPaste.C (pasteSelection): adjust
7487 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7489 * text2.C (getFont): adjust
7490 (getLayoutFont): adjust
7491 (getLabelFont): adjust
7493 * paragraph_funcs.C (TeXOnePar): adjust
7495 * buffer.C (simpleLinuxDocOnePar): adjust
7496 (simpleDocBookOnePar): adjust
7498 * CutAndPaste.C (pasteSelection): adjust
7500 * BufferView.C (getEncoding): adjust
7502 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7504 2003-04-16 John Levon <levon@movementarian.org>
7506 * lyxfind.C: use parlist stuff for search/changes
7508 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7510 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7512 * text2.C (deleteEmptyParagraphMechanism): adjust
7514 * text2.[Ch] (ownerParagraph): delete func (both of them
7516 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7520 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * ParagraphList.C: prepare for NO_NEXT
7524 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7526 * text2.C (getFont): adjust
7527 (getLayoutFont): adjust
7528 (getLabelFont): adjust
7530 * paragraph.C (getFont): adjust
7531 (getLabelFont): adjust
7532 (getLayoutFont): adjust
7534 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7536 2003-04-15 John Levon <levon@movementarian.org>
7540 * lyx_main.C: handle Include in .ui files
7542 2003-04-15 John Levon <levon@movementarian.org>
7544 * MenuBackend.C: make the doc files length shorter
7547 * ToolbarBackend.C: handle toolbar placement flags,
7550 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7555 * paragraph_funcs.C (TeXOnePar): adjust
7557 * paragraph.C (getLabelFont): add outerfont arg, adjust
7558 (getLayoutFont): ditto
7559 (simpleTeXOnePar): adjust
7561 * paragraph_pimpl.C (realizeFont): delete func
7563 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7565 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7566 row argument, constify cur argument.
7568 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7570 * text2.C (getFont): adjust
7571 (getLayoutFont): adjust
7572 (getLabelFont): adjust
7574 * paragraph_funcs.C (TeXOnePar): adjust
7575 (outerFont): new func...
7576 (realizeFont): ...moved out from here, changed this to facilitate
7579 * paragraph.C (getFont): take outerfont as arg, adjust
7580 (simpleTeXOnePar): add outerfont arg, adjust
7582 * buffer.C (simpleLinuxDocOnePar): adjust
7583 (simpleDocBookOnePar): adjust
7585 * CutAndPaste.C (pasteSelection): adjust
7587 * BufferView.C (getEncoding): adjust
7589 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * text2.C (setCharFont): adjust
7592 (setCounter): adjust
7594 * text.C (leftMargin): adjust
7595 (setHeightOfRow): adjust
7597 * rowpainter.C (paintFirst): adjust
7600 * paragraph_pimpl.C (realizeFont): adjust
7602 * paragraph.C (isFirstInSequence): move from here...
7603 * paragraph_funcs.C (isFirstInSequence): ...to here
7605 * paragraph.C (outerHook): move from here...
7606 * paragraph_funcs.C (outerHook): ...to here
7608 * paragraph.C (depthHook): move from here...
7609 * paragraph_funcs.C (depthHook): ...to here
7611 * paragraph.C (getEndLabel): move from here...
7612 * paragraph_funcs.C (getEndLabel): ...to here
7614 * text2.C (realizeFont): move from here...
7615 * paragraph_funcs.C (realizeFont): ...to here
7617 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7619 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7621 2003-04-14 Angus Leeming <leeming@lyx.org>
7623 * LColor.[Ch]: scrap LColor mathcursor.
7625 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7627 * lyxlex.[Ch] (text): delete function
7628 * trans.C (Load): adjust
7629 * paragraph_funcs.C (readParToken): adjust
7631 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7633 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7634 vector<char> instead of a char[].
7636 * lyxlex_pimpl.C (getString): adjust
7638 (lex): use getString
7642 * lyxlex.C (text): use pimpl_->getString()
7646 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7648 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7649 (makeFontEntriesLayoutSpecific): temp var for par.size()
7650 (setLayout): temp var for ownerParagraphs().end()
7651 (fullRebreak): temp var for rows().end()
7652 (selectionAsString): temp var for boost::next(startpit), realize
7653 that the while really is a regular for loop.
7654 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7655 setCursor in one place.
7656 (setParagraph): temp vr for ownerParagraphs().end()
7657 (updateCounters): make the while loop a for loop
7658 (cutSelection): temp var for ownerParagraphs().end()
7659 (updateInset): make the do {} while() a regular for loop
7660 (getCursorX): use temp vars
7661 (setCurrentFont): use temp vars
7662 (getColumnNearX): use temp vars
7664 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7666 * text.C (transformChar): use temp var for getChar
7667 (computeBidiTables): use temp var for row->par()
7668 (fill): move temp vars for row->par() and pit->layout() earlier in
7670 (labelFill): use temp var for row->par()
7671 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7672 asc and desc, realize that pit never changes and that firstpit is
7673 just a duplicate and not needed. Exchange rit->par() with pit in a
7675 (breakAgain): use a temp var for boost::next(rit)
7676 (breakAgainOneRow): ditto
7677 (breakParagraph): use a temp var for rows().begin()
7678 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7679 (cursorRightOneWord): use temp var for cursor.par() and
7680 cursor.pos(), remove usage of tmpcursor.
7681 (cursorLeftOneWord): use temp var for cursor.par() and
7682 cursor.pos() only set cur at end of function.
7684 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7686 * text.C, text2.C: exchange all usage of Paragraph::next with
7687 boost::next(ParagraphList::iterator)
7689 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7691 * text2.C (cursorTop): simplify implementation
7692 (cursorBottom): ditto
7693 (setParagraph): use ParagraphList::iterator
7694 (setCurrentFont): adjust
7695 (getColumnNearX): adjust
7696 (cursorRight): adjust
7697 (cursorLeft): remove usage of Paragraph::previous
7698 (cursorUpParagraph): ditto
7699 (deleteEmptyParagraphMechanism): slight cleanup
7701 * text.C (isBoundary): take a Paragraph const & instead of a
7703 (addressBreakPoint): ditto
7704 (leftMargin): remove usage of Paragraph::previous.
7705 (setHeightOfRow): ditto
7706 (cursorLeftOneWord): ditto
7707 (selectNextWordToSpellcheck): ditto
7710 (breakParagraph): remove one usage of Paragraph::next
7711 (redoParagraph): ditto
7712 (acceptChange): ditto
7713 (insertChar): adjust
7714 (rowBreakPoint): adjust
7716 * bufferview_funcs.C (toggleAndShow): adjust
7718 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7720 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7721 methods to access it.
7723 * text.C: Added updateRowPositions to compute all row positions.
7724 Make top_y and getRowNearY() to use the cached y position
7726 2003-04-11 John Levon <levon@movementarian.org>
7728 * text.C (rowBreakPoint): reintroduce the labelEnd
7729 checks, code copied from the row fill stuff. Deep voodoo.
7731 * text.C (fill): add a comment and debugging for the
7734 2003-04-11 John Levon <levon@movementarian.org>
7736 * text.C: make sure fullrow insets get wrapped to the next line,
7737 even when they're in a manual label
7739 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7741 * text2.C (insertParagraph): make it take ParagraphList::iterator
7743 (setLayout): make it return ParagraphList::iterator
7744 (redoParagraphs): ditto
7746 (checkParagraph): ditto
7748 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7750 * text2.C: adjust several funcs.
7751 (realizeFont): take a ParagraphList::iterator as arg.
7752 (getLayoutFont): ditto
7753 (getLabelFont): ditto
7754 (setCharFont): ditto
7756 * text.C: adjust several funcs.
7758 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7760 * text.C (selectNextWordToSpellcheck): don't accidentally
7763 2003-04-10 John Levon <levon@movementarian.org>
7765 * ToolbarBackend.C (getIcon): special handling for
7768 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7770 * text2.C (cursorRight): a getChar assert fixed
7772 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7774 * text2.C (getFont): change to take a ParagraphList::iterator
7775 instead of Paragraph*
7776 Adjust several functions.
7778 * text.C (transformChar): change to take a ParagraphList::iterator
7779 instead of Paragraph*
7780 (singleWidth): ditto
7781 Adjust several functions.
7783 * rowpainter.C: adjust several functions
7784 * rowpainter.h:store a ParagraphList::iterator and not a
7788 2003-04-09 John Levon <levon@movementarian.org>
7793 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7794 and the "help" bits as well
7796 2003-04-09 John Levon <levon@movementarian.org>
7799 * ToolbarBackend.C: allow multiple toolbars
7801 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7803 * undo_funcs.C (setCursorParUndo): adjust
7805 * text_funcs.C (transposeChars): adjust
7807 * text3.C (gotoNextInset): adjust
7810 * text2.C (setLayout): adjust
7811 (changeDepth): adjust
7813 (redoParagraphs): adjust
7814 (selectionAsString): adjust
7815 (setParagraph): adjust
7816 (insertInset): adjust
7817 (cutSelection): adjust
7818 (copySelection): adjust
7819 (pasteSelection): adjust
7820 (insertStringAsLines): adjust
7821 (updateInset): adjust
7822 (setCursor): change to take a ParagraphList::iterator parameter
7823 (setCursorIntern): change to take a ParagraphList::iterator parameter
7824 (setCurrentFont): adjust
7825 (cursorLeft): adjust
7826 (cursorRight): adjust
7827 (deleteEmptyParagraphMechanism): adjust
7829 * text.C (breakParagraph): adjust
7830 (insertChar): adjust
7831 (acceptChange): adjust
7832 (rejectChange): adjust
7833 (selectNextWordToSpellcheck): adjust
7834 (changeCase): adjust
7838 * lyxfind.C (SearchForward): adjust
7839 (SearchBackward): adjust
7840 (nextChange): adjust
7842 * lyxcursor.C (par): adjust
7844 * lyxcursor.h: store a ParagraphList::iterator instead of a
7847 * lyx_cb.C (getPossibleLabel): adjust
7849 * bufferview_funcs.C (toggleAndShow): adjust
7851 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7854 * BufferView.C (removeAutoInsets): adjust
7855 (lockedInsetStoreUndo): adjust
7857 2003-04-09 John Levon <levon@movementarian.org>
7859 * ToolbarBackend.C: try icon without argument
7860 if with argument fails
7862 2003-04-08 John Levon <levon@movementarian.org>
7865 * ToolbarBackend.C: add getIcon(), handle tooltip,
7866 and change from "Icon" to "Item".
7868 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7870 * BufferView.C (lockInset): another bad getchar crunched
7872 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7874 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7877 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7879 * lyxfind.C (searchForward, searchBackwards): bug 782
7881 2003-04-07 John Levon <levon@movementarian.org>
7883 * paragraph.C: remove dead comment
7885 * text.C: remove troublesome depth-fiddling code
7886 in leftMargin() and rightMargin() (bug 1017)
7888 * text.C: fix breaking of rows in nested lists
7891 * text2.C (updateCounters): fix up depth values
7894 2003-04-07 John Levon <levon@movementarian.org>
7896 * BufferView_pimpl.C: clear message when doc finishes resizing,
7897 and after a mouse event
7899 * lyxfunc.C: clear message after exiting inset
7901 2003-04-07 John Levon <levon@movementarian.org>
7903 * bufferview_funcs.C: show math status not outside
7904 status in the statusbar
7906 2003-04-07 John Levon <levon@movementarian.org>
7908 * lyxfunc.C: note status changed after a depth change
7910 2003-04-04 Angus Leeming <leeming@lyx.org>
7912 * LaTeX.h: move AuxInfo operator==, != out of line.
7913 Remove LaTeX virtual destructor; nothing derives from it.
7914 Move operator()() out of public area and rename it startscript().
7915 Change protected for private.
7917 2003-04-04 Angus Leeming <leeming@lyx.org>
7920 * text2.C: remove unneeded #includes.
7922 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7924 * text2.C (dEPM): fix the heigth of the next row
7926 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7928 * text.C: squashed an invalid getChar requester + some ws changes
7930 2003-04-03 John Levon <levon@movementarian.org>
7932 * bufferview_funcs.h:
7933 * bufferview_funcs.C:
7936 * text2.C: make getStatus work for the env depth lfuns
7938 2003-04-03 John Levon <levon@movementarian.org>
7940 * bufferview_funcs.h:
7941 * bufferview_funcs.C:
7944 * text2.C: parlistize decDepth(), by merging it with incDepth()
7946 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * lyxrow.h: store a ParagraphList::iterator instead of a
7949 Paragraph* and adjust other class functions to suit.
7951 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7954 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7956 * text2.C (setCursor): do not anchor to cursor row for the time being
7958 2003-04-02 John Levon <levon@movementarian.org>
7965 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7967 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7969 * paragraph.h: make ParagraphList and ParagraphList::iterator
7970 friends of Paragraph.
7972 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7974 * ParagraphList.C: Use the private next_ and previous_ from
7977 2003-04-01 John Levon <levon@movementarian.org>
7981 * Makefile.am: rename, remove defaults gunk
7984 * MenuBackend.C: remove defaults gunk
7987 * Languages.C: remove defaults gunk
7990 * lyx_main.C: error out if files couldn't be found.
7992 2003-04-02 John Levon <levon@movementarian.org>
7994 * text2.C: make incDepth() use parlist
7996 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7998 * undo_funcs.C (firstUndoParagraph): adjust
8000 * text3.C (gotoInset): adjust
8001 (dispatch): adjust, and rewrite loop.
8003 * text2.C (init): adjust, and rewrite loop.
8004 (redoParagraphs): adjust
8005 (updateInset): adjust, and rewrite loop.
8006 (deleteEmptyParagraphMechanism): adjust
8008 * tabular.C (LyXTabular): adjust
8009 (SetMultiColumn): adjust
8012 * lyxtext.[Ch] (ownerParagraph): delete function
8013 (ownerParagraphs): new function returns a ParagraphList.
8015 * BufferView.C (removeAutoInsets): adjust
8016 (insertErrors): adjust
8017 (setCursorFromRow): adjust
8019 2003-04-01 Angus Leeming <leeming@lyx.org>
8021 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8024 2003-04-02 John Levon <levon@movementarian.org>
8030 * text_funcs.C: make transposeChars a free function
8032 * lyxrow_funcs.C: remove wrong comment
8034 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8037 * rowpainter.C: adjust
8042 * lyxrow_funcs. [Ch]: new files
8044 * lyxrow.[Ch]: remove next and previous pointers
8045 (next,previous): remove accessor functions
8046 (isParEnd): move to lyxrow_funcs
8047 (lastPos): move to lyxrow_funcs
8048 (nextRowIsAllInset): move to lyxrow_funcs
8049 (lastPrintablePos): move to lyxrow_funcs
8050 (numberOfSeparators): move to lyxrow_funcs
8051 (numberOfHfills): move to lyxrow_funcs
8052 (numberOfLabelHfills): move to lyxrow_funcs
8053 (hfillExpansion): move to lyxrow_funcs
8057 * bufferview_funcs.C (toggleAndShow): adjust
8059 * RowList.h: Remove class RowList from file leave just a
8062 * RowList.C: delete file
8064 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8067 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * text3.C (cursorPrevious): adjust
8070 (cursorNext): adjust
8073 * text2.C (redoHeightOfParagraph): adjust
8074 (redoDrawingOfParagraph): adjust
8077 * text.C (breakParagraph): adjust
8078 (insertChar): adjust
8081 * rowpainter.C (RowPainter): adjust
8082 (leftMargin): simplify and adjust
8083 (most rowpainter functions): adjust.
8085 * rowpainter.h: store the row as RowList::iterator not as Row*
8087 * lyxcursor.C (row): taka RowList::iterator as arg
8090 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8093 2003-04-01 Angus Leeming <leeming@lyx.org>
8095 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8096 stuff like bool Bool.
8098 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8100 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8103 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8108 * lyxtext.h (rows): drop one version and leve a const variant that
8109 returns a RowList::iterator.
8111 2003-03-31 Angus Leeming <leeming@lyx.org>
8113 * text.C (fill): ensure that the signature is the same as that in the
8116 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8118 * text2.C (redoParagraphs): adjust
8119 (updateCounters): adjust
8120 (checkParagraph): adjust
8121 (getColumnNearX): adjust and reformat a bit.
8123 * text.C (top_y): adjust
8125 (leftMargin): adjust
8126 (prepareToPrint): adjust
8128 (getRowNearY): adjust
8130 * lyxtext.h: make rowlist_ mutable.
8132 * RowList.h: add const_iterator
8133 * RowList.C: adjust for RowList::const_iterator.
8135 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8138 2003-03-31 John Levon <levon@movementarian.org>
8141 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8143 * lyx_main.C: set default fonts from using lyx_gui funcs
8145 * exporter.C: pdf_mode moved from lyxrc
8148 * lyxfunc.C: changes from above
8150 2003-03-31 John Levon <levon@movementarian.org>
8152 * lyx_main.C: fix to the last fix
8154 2003-03-31 John Levon <levon@movementarian.org>
8156 * bufferlist.C: "Load original" -> "Load Original"
8162 * format.C: more Alert cleanups
8164 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8166 * text2.C (removeParagraph): make it take a RowList::iterator as
8168 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8169 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8171 * text.C (anchor_row): make it take a RowList::iterator as arg,
8173 (computeBidiTables): make it take a const reference to Row instead
8174 of Row pointer, adjust.
8175 (leftMargin): make it take a RowList::iterator as arg, adjust.
8176 (rowBreakPoint): adjust
8177 (breakAgainOneRow): make it take a RowList::iterator as arg,
8179 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8181 * bufferview_funcs.C (toggleAndShow): adjust
8183 2003-03-30 John Levon <levon@movementarian.org>
8187 * boost-inst.C: moved to support
8189 * several files: changes as a result
8191 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8193 * text2.C (LyXText): adjust.
8195 (removeRow): make it take a RowList::iterator as arg, adjust.
8196 (fullRebreak): adjust
8197 (deleteEmptyParagraphMechanism): adjust
8198 (clearPaint): adjust
8201 * text.C (top_y): adjust
8202 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8203 (breakAgain): make it take a RowList::iterator as arg, adjust.
8204 (breakParagraph): adjust
8205 (insertChar): adjust
8208 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8209 need_break_row, and refresh_row.
8211 * text3.C (dispatch): adjust
8213 * text2.C (checkParagraph): adjust
8215 (setCursorFromCoordinates): adjust
8217 * text.C (top_y): adjust
8219 (getRow): make it return a RowList::iterator, adjust
8220 (getRowNearY): make it return a RowList::iterator, adjust
8222 * text2.C (init): adjust
8223 (insertRow): remove function
8224 (insertParagraph): adjust
8225 (redoParagraphs): adjust
8226 (fullRebreak): adjust
8227 (updateCounters): adjust
8229 * text.C (top_y): rewrite to use RowList iterators.
8231 (setHeightOfRow): rewrite to sue RowList iterators.
8232 (appendParagraph): adjust
8233 (breakAgain): adjust
8234 (breakAgainOneRow): adjust
8235 (breakParagraph): adjust
8237 (getRowNearY): adjust, and remove commented code.
8239 * lyxtext.h (firstRow): delete function
8240 (lastRow): delete function
8241 (rows): new function (const and non-const versions.)
8242 (insertRow): delete function
8244 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8246 2003-03-29 John Levon <levon@movementarian.org>
8248 * BufferView_pimpl.C: always update scrollbar top
8249 because pasting text when we're anchored could mean we
8250 miss an update altogether
8252 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8254 * text2.C (init): use rowlist_.end() and not 0.
8255 (insertRow): change to take a RowList::iterator as arg, adjust
8257 (insertParagraph): change to take a RowList::iterator as arg,
8259 (redoParagraphs): remove some debug msgs.
8261 * text.C (appendParagraph): change to take a RowList::iterator
8262 arg, adjust for this.
8263 (breakAgain): add an assert
8264 (breakAgainOneRow): ditto
8266 2003-03-29 John Levon <levon@movementarian.org>
8268 * text2.C: do not clear selection after inc/decDepth
8271 2003-03-29 John Levon <levon@movementarian.org>
8274 * buffer.C: fix broken strerrors according to Lars
8276 2003-03-29 John Levon <levon@movementarian.org>
8278 * converters.C: more Alert cleanups
8280 2003-03-29 John Levon <levon@movementarian.org>
8282 * bufferview_funcs.C: remove pointless Alert
8284 * buffer.C: fix confusing error message when
8285 a template is chmoded 000
8287 2003-03-29 John Levon <levon@movementarian.org>
8291 * BufferView_pimpl.C: Alert fixes
8295 * tabular-old.C: remove unused table compat reading
8297 2003-03-29 John Levon <levon@movementarian.org>
8302 * lyx_cb.C: more Alert cleanups
8304 * lyxfunc.C: don't allow chktex if not latex document
8306 2003-03-29 John Levon <levon@movementarian.org>
8310 * buffer.C: warnings pushed down from support/,
8313 2003-03-29 John Levon <levon@movementarian.org>
8315 * lyxfunc.C: safety check for C-r (revert)
8317 2003-03-29 John Levon <levon@movementarian.org>
8320 * bufferlist.C: several UI fixes using Alert::prompt.
8321 Fix the pointless looping quit code. Fix stupid revert
8326 * lyx_cb.C: use Alert::prompt
8328 * lyx_main.C: remove a silly question
8330 * lyxfunc.C: remove a couple of silly questions,
8333 2003-03-28 John Levon <levon@movementarian.org>
8335 * text2.C: fix bug 974 (End on empty par)
8337 2003-03-28 John Levon <levon@movementarian.org>
8339 * BufferView_pimpl.C:
8341 * lfuns.h: remove do-nothing math greek lfuns
8343 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8345 * lyxgluelength.h (isValidGlueLength): add default arg on
8346 parameter 2. Remove default arg from friend in class.
8348 * lyxlength.h (isValidLength): add default arg on parameter 2.
8349 Remove default arg from friend in class.
8351 * text2.C (LyXText): adjust, initialize refresh_row.
8355 (insertParagraph): adjst
8356 (redoParagraphs): adjust
8357 (fullRebreak): adjust
8358 (updateCounters): adjust
8359 (deleteEmptyParagraphMechanism): first attempt at fixing a
8362 * text.C (top_y): adjust
8363 (setHeightOfRow): adjust
8365 (getRowNearY): adjust
8367 * lyxtext.h: include RowList.h
8368 (~LyXText): not needed anymore, deleted.
8369 (firstRow): modify for RowList
8370 (lastRow): new function
8371 Delete firstrow and lastrow class variables, add a Rowlist
8372 rowlist_ class variable.
8374 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8377 * RowList.C (insert): fix case where it == begin().
8379 2003-03-26 Angus Leeming <leeming@lyx.org>
8381 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8382 the thesaurus dialog.
8384 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8386 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8388 * RowList.[Ch]: new files
8390 * ParagraphList.C (erase): handle the case where it == begin
8393 2003-03-25 John Levon <levon@movementarian.org>
8397 * aspell.C: add new aspell support
8400 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8403 2003-03-25 Angus Leeming <leeming@lyx.org>
8406 * LyXAction.C (init): new LFUN_INSET_INSERT.
8408 * BufferView_pimpl.C (dispatch): split out part of the
8409 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8411 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8414 2003-03-25 Angus Leeming <leeming@lyx.org>
8416 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8418 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8421 * text3.C: remove useless row->height(0)
8423 2003-03-25 John Levon <levon@movementarian.org>
8427 * text3.C: rename the refreshing stuff to better names
8429 2003-03-24 John Levon <levon@movementarian.org>
8431 * BufferView_pimpl.h:
8432 * BufferView_pimpl.C: update layout choice on a mouse
8435 2003-03-23 John Levon <levon@movementarian.org>
8437 * Makefile.am: fix commandtags.h reference
8439 2003-03-22 John Levon <levon@movementarian.org>
8441 * BufferView_pimpl.C:
8446 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8448 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8451 * text.C: take the rtl methods out of line
8453 2003-03-21 André Pönitz <poenitz@gmx.net>
8455 * metricsinfo.[Ch]: new files containing structures to be passed around
8456 during the two-phase-drawing...
8458 2003-03-21 André Pönitz <poenitz@gmx.net>
8460 * lyxtextclass.C: read 'environment' tag.
8462 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8464 * text2.C (removeRow): fix bug 964
8466 2003-03-20 John Levon <levon@movementarian.org>
8470 * text2.C: paint cleanups. Inset::update() dropped font
8473 2003-03-19 John Levon <levon@movementarian.org>
8475 * lyxfunc.C: only fitcursor/markDirty if available()
8477 2003-03-19 John Levon <levon@movementarian.org>
8479 * commandtags.h: rename to ...
8481 * lfuns.h: ... this, and renumber / cleanup
8483 2003-03-19 John Levon <levon@movementarian.org>
8485 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8486 fit the cursor after an lfun
8490 * BufferView_pimpl.h:
8491 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8493 * LyXAction.C: layout-character should have ReadOnly
8495 * ParagraphParameters.C:
8497 * bufferview_funcs.C:
8504 * undo_funcs.C: changes from above
8506 2003-03-18 John Levon <levon@movementarian.org>
8508 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8509 remove it from update()
8511 * lyxfunc.C: update layout choice after an lfun
8513 * text3.C: remove extra updateLayoutChoice()s
8515 2003-03-18 John Levon <levon@movementarian.org>
8517 * text.C: top_y change means full repaint, fix
8518 a drawing bug with cursor movement
8520 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8524 * text2.C: anchor row on setCursor
8526 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8528 * lyxtext.h: remove almost all mutable keywords
8531 * text3.C: remove const keywords accordingly
8533 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8535 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8537 (TeXEnvironment): ditto
8540 2003-03-17 John Levon <levon@movementarian.org>
8542 * text.C (rowBreakPoint): remove attempt to fix displayed
8543 math insets inside a manual label
8545 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8547 * lyxtext.h: remove BufferView* as first arg from almost all class
8549 * other files: adjust.
8551 2003-03-17 John Levon <levon@movementarian.org>
8555 * text2.C: more paint cleanups
8557 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8560 * rowpainter.C: remove "smart" background painting code
8562 2003-03-16 John Levon <levon@movementarian.org>
8567 * text3.C: add helper functions for setting refresh_row/y
8569 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8571 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8572 newline inset which *can* get inserted in the pass_thru layouts.
8573 This is primarily for literate documents.
8575 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8577 * buffer.C: increment LYX_FORMAT to 223
8579 2003-03-14 André Pönitz <poenitz@gmx.net>
8581 * textclass.h: prepare for environment handling, ws changes
8582 * lyxlayout.C: read latexheader and latexfooter tags
8584 2003-03-14 John Levon <levon@movementarian.org>
8586 * text2.C: rewrite ::status() a bit
8588 2003-03-13 John Levon <levon@movementarian.org>
8590 * lyxtext.h: add some docs
8592 2003-03-13 John Levon <levon@movementarian.org>
8597 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8599 2003-03-13 John Levon <levon@movementarian.org>
8601 * text3.C: fix appendix redrawing
8603 2003-03-13 John Levon <levon@movementarian.org>
8605 * text.C (setHeightOfRow):
8607 * rowpainter.C: make appendix mark have the text
8608 "Appendix" so the user knows what it is
8611 * LColor.C: s/appendixline/appendix/ from above
8613 2003-03-13 John Levon <levon@movementarian.org>
8615 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8617 * text.C: fix a getChar(pos) bug properly
8619 2003-03-13 Angus Leeming <leeming@lyx.org>
8622 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8623 Probably only temporary. Let's see how things pan out.
8625 * BufferView.C (unlockInset):
8626 * BufferView_pimpl.C (fitCursor):
8627 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8629 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8630 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8632 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8633 new functions that convert ParagraphParameters to and from a string.
8635 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8636 BufferView::Pimpl's dispatch.
8637 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8639 2003-03-13 André Pönitz <poenitz@gmx.net>
8643 * factory.C: make it aware of InsetEnv
8645 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8647 * text2.C (setCursor): never ask for one past last
8648 (setCursor): add some debugging messages.
8650 * text.C (singleWidth): never ask for one past last
8651 (singleWidth): ditto
8653 (rightMargin): ditto
8654 (rowBreakPoint): ditto
8655 (setHeightOfRow): ditto
8656 (prepareToPrint): ditto
8658 * rowpainter.C (paintBackground): never ask for one past last
8659 (paintText): never ask for one past last
8661 * paragraph_pimpl.C (getChar): make the assert stricter, never
8662 allow the one past last pos to be taken
8664 * paragraph.C (getChar): ws changes only
8666 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8667 (numberOfSeparators): ditto
8668 (numberOfHfills): ditto
8670 2003-03-12 John Levon <levon@movementarian.org>
8676 * paragraph_funcs.C: fix per-buffer authorlists
8678 2003-03-12 John Levon <levon@movementarian.org>
8680 * text.C: fix newline in right address
8682 2003-03-12 Angus Leeming <leeming@lyx.org>
8684 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8685 duplicate those in LyXFunc::dispatch.
8689 * ToolbarDefaults.C:
8690 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8691 Add LFUN_FONTFREE_UPDATE.
8693 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8694 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8696 * bufferview_func.[Ch]: several new functions to facilliate
8697 transfer of data to and from the character dialog.
8699 2003-03-12 John Levon <levon@movementarian.org>
8704 * paragraph_funcs.C:
8705 * paragraph_pimpl.C:
8709 * text3.C: remove META_NEWLINE in favour of an inset
8712 * rowpainter.C: remove paintNewline (done by inset)
8714 2003-03-12 John Levon <levon@movementarian.org>
8716 * paragraph_pimpl.C: complain about bad getChar()s
8717 for a while at least
8719 2003-03-12 John Levon <levon@movementarian.org>
8722 * buffer.C: move paragraph read into a separate function,
8723 a little renaming to reflect that.
8726 * bufferparams.C: remove the author_ids map, not necessary now
8729 * factory.C: moved Buffer::readInset to here
8731 * paragraph_funcs.h:
8732 * paragraph_funcs.C: readParagraph free function moved from
8735 * tabular.C: name change
8737 2003-03-12 John Levon <levon@movementarian.org>
8740 * ParagraphParameters.C: move par params input to
8743 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8744 behave like a normal read from the stream wrt reading
8745 a line vs. a \\token
8747 2003-03-12 John Levon <levon@movementarian.org>
8750 * ParagraphParameters.h:
8751 * ParagraphParameters.C: move output code to a
8754 2003-03-12 John Levon <levon@movementarian.org>
8756 * BufferView.C (insertLyXFile):
8759 * tabular.C: use a parlist iterator for creating the
8762 2003-03-12 John Levon <levon@movementarian.org>
8764 * buffer.C: make current_change static local not
8767 2003-03-12 John Levon <levon@movementarian.org>
8769 * buffer.C: fix insertStringAsLines for change tracking
8771 2003-03-12 John Levon <levon@movementarian.org>
8778 * bufferparams.C: move author list into params. Rename some
8779 functions. Move the header reading into a separate token
8780 loop. Move the header token reading into BufferParams.
8782 2003-03-12 John Levon <levon@movementarian.org>
8784 * changes.C: put debug inside lyxerr.debugging() checks
8786 2003-03-11 André Pönitz <poenitz@gmx.net>
8788 * factory.C: make it aware of InsetHFill
8790 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8792 * buffer.C (latexParagraphs): move function from here...
8793 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8796 2003-03-10 Angus Leeming <leeming@lyx.org>
8798 * LyXAction.C (init): fix bug in poplating array with multiple entries
8799 with the same LFUN (spotted by JMarc).
8801 2003-03-10 John Levon <levon@movementarian.org>
8804 * text2.C: move getColumnNearX() near its
8807 2003-03-10 John Levon <levon@movementarian.org>
8809 * text.C: fix break before a minipage
8811 2003-03-10 John Levon <levon@movementarian.org>
8813 * text.C: fix the last commit
8815 2003-03-09 John Levon <levon@movementarian.org>
8819 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8820 bug 365 (don't break before insets unless needed). Don't
8821 return a value > last under any circumstances.
8823 2003-03-09 Angus Leeming <leeming@lyx.org>
8825 * BufferView_pimpl.C (trackChanges, dispatch): call
8826 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8828 2003-03-09 Angus Leeming <leeming@lyx.org>
8830 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8831 than Dialogs::showAboutlyx().
8833 2003-03-09 Angus Leeming <leeming@lyx.org>
8835 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8836 than Dialogs::showTabularCreate().
8838 2003-03-09 John Levon <levon@movementarian.org>
8842 * text2.C: 3rd arg to nextBreakPoint was always the same.
8845 2003-03-08 John Levon <levon@movementarian.org>
8852 * text2.C: Remove the "main" bit from the "main body"
8855 2003-03-08 John Levon <levon@movementarian.org>
8857 * text.C (leftMargin): The left margin of an empty
8858 manual label paragraph should not include the label width
8861 * text.C (prepareToPrint): don't attempt to measure hfills
8862 for empty manual label paragraphs - the answer should be 0
8864 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8866 * CutAndPaste.C: remove commented code and reindent.
8868 2003-03-08 John Levon <levon@movementarian.org>
8871 * lyxfunc.C: move reloadBuffer()
8874 * BufferView.C: to here
8876 * lyxvc.C: add comment
8879 * vc-backend.C: call bv->reload() to avoid
8880 getStatus() check on MENURELOAD
8882 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8884 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8885 to an old format .dep file.
8887 2003-03-07 Angus Leeming <leeming@lyx.org>
8889 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8890 when the LFUN_MOUSE_RELEASE should have been handled by
8891 inset->localDispatch.
8893 2003-03-07 Angus Leeming <leeming@lyx.org>
8895 * BufferView_pimpl.C (dispatch):
8896 * LyXAction.C (init):
8897 * ToolbarDefaults.C (init):
8899 * lyxfunc.C (getStatus):
8900 remove LFUN_INSET_GRAPHICS.
8902 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8904 2003-03-07 Angus Leeming <leeming@lyx.org>
8907 * LyXAction.C (init):
8908 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8910 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8913 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8915 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8916 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8918 2003-03-07 Angus Leeming <leeming@lyx.org>
8920 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8923 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8925 * ParagraphList.C (front): new function
8928 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8930 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8931 and top_row_offset_. removed var first_y.
8933 * text2.C (LyXText, removeRow):
8935 * BufferView_pimpl.C:
8936 use these methods instead of using first_y
8938 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8940 * text2.C (pasteSelection): adjust for checkPastePossible
8942 * CutAndPaste.C: remove Paragraph * buf and replace with
8943 ParagraphList paragraphs.
8944 (DeleteBuffer): delete
8945 (cutSelection): change the tc type to textclass_type
8946 (copySelection): change the tc type to textclass_type
8947 (copySelection): adjust for ParagraphList
8948 (pasteSelection): change the tc type to textclass_type
8949 (pasteSelection): adjust for Paragraphlist
8950 (nrOfParagraphs): simplify for ParagraphList
8951 (checkPastePossible): simplify for ParagraphList
8952 (checkPastePossible): remove unused arg
8954 * ParagraphList.C (insert): handle the case where there are no
8957 * CutAndPaste.h: make CutAndPaste a namespace.
8959 * text3.C (dispatch): adjust
8961 * text.C (breakParagraph): add a ParagraphList as arg
8963 * paragraph_funcs.C (breakParagraph): change to take a
8964 BufferParams and a ParagraphList as args.
8965 (breakParagraphConservative): ditto
8966 (mergeParagraph): ditto
8967 (TeXDeeper): add a ParagraphList arg
8968 (TeXEnvironment): ditto
8971 * buffer.C (readLyXformat2): adjust
8972 (insertStringAsLines): adjust
8973 (latexParagraphs): adjust
8975 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8976 (cutSelection): adjust
8977 (pasteSelection): adjust
8979 * BufferView_pimpl.C (insertInset): adjust
8981 2003-03-05 Angus Leeming <leeming@lyx.org>
8984 * LyXAction.C (init):
8985 * BufferView_pimpl.C (dispatch):
8986 * lyxfunc.C (getStatus):
8987 remove LFUN_CHILD_INSERT.
8989 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8991 2003-03-05 Angus Leeming <leeming@lyx.org>
8994 * LyXAction.C (init):
8995 * src/factory.C (createInset):
8996 * lyxfunc.C (getStatus):
8997 * text3.C (dispatch):
8998 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9000 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9002 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9004 * ParagraphList.C (insert): handle insert right before end()
9005 (erase): fix cases where it can be first or last paragraph.
9007 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9009 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9010 Paragraph::next and Paragraph::previous
9013 * text.C (breakParagraph): adjust
9015 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9016 BufferParams& as arg.
9017 (breakParagraph): use ParagraphList::insert
9018 (breakParagraphConservative): take a Buffer* instead of a
9019 BufferParams& as arg.
9020 (breakParagraphConservative): use ParagraphList::insert.
9022 * buffer.C (insertStringAsLines): un-const it
9023 (insertStringAsLines): adjust
9025 * ParagraphList.C (insert): new function
9027 * CutAndPaste.C (pasteSelection): adjust
9029 * text.C (backspace): adjust
9031 * tabular.C (SetMultiColumn): adjust
9033 * CutAndPaste.C (cutSelection): adjust
9034 (pasteSelection): adjust
9036 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9037 Buffer const * as arg
9039 * ParagraphList.C (erase): new function
9040 * paragraph_funcs.C (mergeParagraph): use it
9041 (mergeParagraph): make it take a Buffer* instead of a
9042 BufferParams* as arg
9044 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9046 (breakParagraphConservative): ditto
9048 * paragraph.h: remove the breakParagraph friend
9050 * paragraph.C (eraseIntern): new function
9051 (setChange): new function
9053 * paragraph_funcs.C (mergeParagraph): make it take a
9054 ParagraphList::iterator instead of a Paragraph *, adjust
9057 * paragraph.h: move an #endif so that the change tracking stuff
9058 also works in the NO_NEXT case.
9060 2003-03-04 Angus Leeming <leeming@lyx.org>
9063 * LyXAction.C: new LFUN_INSET_MODIFY.
9065 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9066 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9068 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9070 * several files: ws changes only
9072 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9073 (TeXEnvironment): ditto
9076 * buffer.C (makeLaTeXFile): adjust
9077 (latexParagraphs): make it take ParagraphList::iterator as args
9079 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9081 * buffer.C (latexParagraphs): adjust
9083 * paragraph.C (TeXOnePar): move function...
9084 (optArgInset): move function...
9085 (TeXEnvironment): move function...
9086 * paragraph_pimpl.C (TeXDeeper): move function...
9087 * paragraph_funcs.C: ...here
9089 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9091 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9093 * buffer.C (readInset): remove compability code for old Figure and
9096 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9098 * buffer.C: ws changes
9101 * BufferView_pimpl.C: ditto
9104 * bufferlist.h: ditto
9108 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9110 * converter.[Ch]: split into itself +
9113 * Makefile.am: += graph.[Ch] + format.[Ch]
9120 * lyxrc.C: added #include "format.h"
9122 2003-02-27 Angus Leeming <leeming@lyx.org>
9124 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9127 * factory.C (createInset): add "label" to the factory.
9129 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9130 string and do no more.
9132 2003-02-27 Angus Leeming <leeming@lyx.org>
9135 * LyXAction.C (init):
9136 * factory.C (createInset):
9137 * BufferView_pimpl.C (dispatch):
9138 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9140 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9142 * lyxfunc.C (dispatch):
9143 * text3.C (dispatch): pass name to params2string.
9145 2003-02-26 Angus Leeming <leeming@lyx.org>
9147 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9149 Rearrange the ~includes. Strip out the unnecessary ones.
9151 * factory.C (createInset): reformat.
9152 create new insets for the various LFUN_XYZ_APPLY lfuns.
9154 2003-02-26 John Levon <levon@movementarian.org>
9157 * lyxrow.C: add isParStart,isParEnd helpers
9159 * paragraph.h: make isInserted/DeletedText take refs
9161 * paragraph_funcs.h:
9162 * paragraph_funcs.C: remove #if 0'd code
9167 * text.C: use lyxrow helpers above.
9168 Move draw and paint routines to RowPainter.
9169 Make several methods use refs not pointers.
9170 Make backgroundColor() const.
9171 Add markChangeInDraw(), isInInset().
9172 Merge changeRegionCase into changeCase.
9173 Make workWidth() shouldn't-happen code into an Assert.
9176 * rowpainter.C: new class for painting a row.
9179 * vspace.C: make inPixels take a ref
9181 2003-02-26 Angus Leeming <leeming@lyx.org>
9183 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9186 2003-02-25 John Levon <levon@movementarian.org>
9188 * ispell.C: give the forked command a more accurate name
9190 2003-02-22 John Levon <levon@movementarian.org>
9193 * toc.C: make TocItem store an id not a Paragraph *
9196 2003-02-21 Angus Leeming <leeming@lyx.org>
9198 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9199 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9200 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9201 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9202 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9203 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9205 * BufferView_pimpl.C (dispatch):
9206 * LyXAction.C (init):
9207 * factory.C (createInset):
9208 * lyxfunc.C (getStatus, dispatch):
9209 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9211 2003-02-21 Angus Leeming <leeming@lyx.org>
9213 * BufferView_pimpl.C (MenuInsertLyXFile):
9214 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9215 * lyxfunc.C (menuNew, open, doImport):
9216 no longer pass a LyXView & to fileDlg.
9218 2003-02-21 Angus Leeming <leeming@lyx.org>
9220 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9221 * LyXAction.C: change, BIBKEY to BIBITEM.
9222 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9223 Change InsetBibKey to InsetBibitem.
9224 Change BIBKEY_CODE to BIBITEM_CODE.
9225 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9226 * factory.C: replace insetbib.h with insetbibitem.h.
9227 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9228 * paragraph.C: replace insetbib.h with insetbibitem.h.
9229 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9230 Change bibkey() to bibitem().
9231 * text.C: remove insetbib.h.
9232 * text2.C: replace insetbib.h with insetbibitem.h.
9233 change bibkey() to bibitem().
9234 * text3.C: remove insetbib.h.
9235 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9237 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9239 * lyxrc.C (output): enclose user email in quotes (in case there are
9242 2003-02-18 John Levon <levon@movementarian.org>
9244 * buffer.h: add std::
9246 2003-02-17 John Levon <levon@movementarian.org>
9252 * pspell.C: reworking. Especially in ispell, a large
9253 number of clean ups and bug fixes.
9255 * lyxfunc.C: fix revert to behave sensibly
9257 2003-02-17 André Pönitz <poenitz@gmx.net>
9260 * commandtags.h: new LFUN_INSERT_BIBKEY
9270 * paragraph_func.C: remove special bibkey handling
9272 2003-02-17 John Levon <levon@movementarian.org>
9274 * text.C (Delete): fix case where delete at the end of
9275 the very first paragraph would not merge the pars
9277 2003-02-17 John Levon <levon@movementarian.org>
9279 * lyxrow.C: fix lastPrintablePos()
9281 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9283 * bufferparams.C (writeLaTeX): add a std:here
9285 * buffer.C: and remove a using directive there
9287 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9289 * buffer.C (makeLaTeXFile): move the code that generates the
9292 * bufferparams.C (writeLaTeX): ... in this new method
9294 * LaTeXFeatures.C (getEncodingSet): make const
9295 (getLanguages): make const
9297 * MenuBackend.C (binding): returns the binding associated to this
9299 (add): sets the status of each item by calling getStatus. Adds
9301 (read): add support for OptSubMenu
9302 (expand): remove extra separator at the end of expanded menu
9304 2003-02-15 John Levon <levon@movementarian.org>
9307 * BufferView_pimpl.C:
9309 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9310 inset code that had no actual effect. Remove unneeded status
9313 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9315 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9318 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9320 * text.C (drawLengthMarker): also draw an arrow marker for
9321 symbolic lengths (medskip...)
9323 2003-02-14 John Levon <levon@movementarian.org>
9326 * tabular.C: better method names
9328 2003-02-14 John Levon <levon@movementarian.org>
9330 * BufferView_pimpl.C:
9335 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9336 it's a more accurate name. Remove some pointless uses.
9338 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9340 * text2.C (LyXText): change order of initilizers to shut off
9343 2003-02-14 John Levon <levon@movementarian.org>
9345 * buffer.C: use ParIterator for getParFromID()
9349 * paragraph_pimpl.h:
9350 * paragraph_pimpl.C: remove unused getParFromID()
9352 2003-02-14 John Levon <levon@movementarian.org>
9354 * buffer.C: remove some very old #if 0'd parse code
9356 2003-02-13 John Levon <levon@movementarian.org>
9360 * text2.C: move hfillExpansion(), numberOfSeparators(),
9361 rowLast(), rowLastPrintable(), numberofHfills(),
9362 numberOfLabelHfills() ...
9365 * lyxrow.C: ... to member functions here.
9370 * text.C: remove LyXText::beginningOfMainBody(), and call
9371 p->beginningOfMainBody() directly. Move the check for
9372 LABEL_MANUAL into the latter.
9379 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9385 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9386 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9388 2003-02-13 John Levon <levon@movementarian.org>
9390 * CutAndPaste.C: remove debug
9392 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9394 * paragraph.C (asString): remove two unused variables
9396 * lyxtextclass.C (readTitleType):
9398 (LyXTextClass): handle new members titletype_ and titlename_
9400 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9402 2003-02-09 John Levon <levon@movementarian.org>
9405 * buffer.C: replace hand-coded list with a map for the dep clean
9407 2003-02-08 John Levon <levon@movementarian.org>
9409 * LaTeX.C: consolidate code into showRunMessage() helper
9411 2003-02-08 John Levon <levon@movementarian.org>
9416 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9417 and pass the size in explicitly
9419 * BufferView_pimpl.h:
9420 * BufferView_pimpl.C:
9422 * BufferView.C: add getCurrentChange()
9424 * BufferView_pimpl.h:
9425 * BufferView_pimpl.C: handle change lfuns
9427 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9428 for changes. Mark pasted paragraphs as new.
9430 * support/lyxtime.h:
9431 * support/lyxtime.C:
9432 * DepTable.C: abstract time_t as lyx::time_type
9435 * LColor.C: add colours for new text, deleted text, changebars
9437 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9438 package use "usenames" option.
9442 * LyXAction.C: add change lfuns
9446 * author.C: author handling
9449 * buffer.C: add a per-buffer author list, with first entry as
9450 current author. Handle new .lyx tokens for change tracking. Output
9451 author list to .lyx file. Output dvipost stuff to .tex preamble.
9452 Bump lyx format to 222.
9455 * bufferlist.C: add setCurrentAuthor() to reset current author details
9459 * bufferparams.C: add param for tracking
9461 * bufferview_funcs.C: output change info in minibuffer
9465 * changes.C: add change-tracking structure
9468 * debug.C: add CHANGES debug flag
9471 * lyxfind.C: add code for finding the next change piece
9474 * lyxrc.C: add user_name and user_email
9477 * lyxrow.C: add a metric for the top of the text line
9480 * text.C: implement accept/rejectChange()
9483 * text.C: paint changebars. Paint new/deleted text in the chosen
9484 colours. Strike through deleted text.
9488 * paragraph_pimpl.h:
9489 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9490 in the current change to the insert functions. Rework erase to
9491 mark text as deleted, adding an eraseIntern() and a range-based
9492 erase(). Implement per-paragraph change lookup and
9495 * paragraph_funcs.C: Fixup paste for change tracking.
9497 * tabular.C: mark added row/columns as new.
9499 * text.C: fix rowLast() to never return -1. Don't allow
9500 spellchecking of deleted text. Track transpose changes. Don't
9501 allow paragraph break or merge where appropriate.
9503 * text2.C: leave cursor at end of selection after a cut.
9505 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9507 * text.C (getLengthMarkerHeight):
9508 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9509 visible on screen too.
9511 2003-02-07 John Levon <levon@movementarian.org>
9513 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9515 2003-02-05 Angus Leeming <leeming@lyx.org>
9517 * lyxserver.C (read_ready): revert my patch of 11 September last year
9518 as it sends PC cpu through the roof. Presumably this means that
9519 the lyxserver will no longer run on an Alpha...
9521 2003-01-30 Angus Leeming <leeming@lyx.org>
9523 * factory.C (createInset): create an InsetCommandParam of type "index"
9524 and use it to 'do the right thing'.
9526 * text2.C (getStringToIndex): ensure that cursor position is always
9527 reset to the reset_cursor position.
9529 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9531 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9534 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9538 * lyxfunc.C: Output messages with identical spelling, punctuation,
9541 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9543 * MenuBackend.C (expandFormats): List only viewable export formats
9546 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9549 * lyxfunc.C (getStatus): Make sure that formats other than
9550 "fax" can also be disabled
9552 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9554 * text3.C (dispatch): put the lfuns that insert insets in 3
9555 groups, and call doInsertInset with appropriate arguments.
9556 (doInsertInset): new function, that creates an inset and inserts
9557 it according to some boolean parameters.
9559 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9561 * buffer.C (readFile): remember to pass on 'par' when calling
9562 readFile recursively.
9564 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9566 * MenuBackend.C (expandFormats): add "..." to import formats.
9568 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9570 * paragraph.C (asString): Remove XForms RTL hacks.
9572 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9573 * buffer.C: fix typo
9575 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9577 * Makefile.am (LIBS): delete var
9578 (lyx_LDADD): add @LIBS@ here instead.
9580 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9582 * Clarify the meaning of "wheel mouse jump"
9584 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9586 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9589 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9591 * importer.C (Loaders): do not preallocate 3 elements in the
9592 vector, since one ends up with 6 elements otherwise
9594 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9596 * DepTable.C (write): write the file name as last element of the
9597 .dep file (because it may contain spaces)
9598 (read): read info in the right order
9600 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9602 * paragraph_pimpl.C (simpleTeXBlanks):
9603 (simpleTeXSpecialChars):
9604 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9606 * tabular.C (latex): add some missing case statements. Reindent.
9608 * MenuBackend.C (expandToc): remove unused variable.
9610 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9619 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9622 2003-01-05 John Levon <levon@movementarian.org>
9625 * BufferView.C: add getEncoding()
9628 * kbsequence.C: do not store last keypress
9631 * lyxfunc.C: store last keypress here instead. Pass encoding
9634 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9636 * lyx_main.C (init): remove annoying error message when following
9637 symbolic links (bug #780)
9639 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9641 * text.C (insertChar):
9642 * lyxrc.C (getDescription): remove extra spaces
9644 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9646 * lyxrc.C (getDescription): remove extra spaces
9648 2002-12-20 John Levon <levon@movementarian.org>
9650 * text3.C: hack fix for page up/down across tall rows
9652 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9654 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9657 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9659 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9660 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9661 thesaurus is not compiled in
9663 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9665 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9667 2002-12-16 Angus Leeming <leeming@lyx.org>
9670 * lyx_main.C (init): remove override_x_deadkeys stuff.
9672 2002-12-12 John Levon <levon@movementarian.org>
9674 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9675 insert. Only remove shift modifier under strict
9678 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9680 * MenuBackend.C (expandToc): fix crash.
9682 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9684 * MenuBackend.C (expandToc): gettext on float names.
9686 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9688 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9689 implement bool empty() [bug 490]
9691 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9693 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9695 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9697 * several files: ws changes
9699 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9701 * text2.C (setCounter): clean up a bit, use boost.format.
9702 (updateCounters): initialize par upon declaration.
9704 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9705 if the layout exists. We do not just store the layout any more.
9706 (SwitchLayoutsBetweenClasses): use boost.format
9708 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9710 * converter.C (convert): if from and to files are the same, use a
9711 temporary files as intermediary
9713 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9716 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9718 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9720 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9722 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9724 * tabular.C (asciiPrintCell): use string(size, char) instead of
9727 * sgml.C (openTag): fix order of arguments to string constructor
9730 * lyxfunc.C (dispatch): use boost.format
9732 * lots of files: change "c" -> 'c'
9734 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9736 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9738 2002-11-25 Angus Leeming <leeming@lyx.org>
9740 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9742 * lyx_main.C (init): compile fix.
9744 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9746 * lyx_cb.C (start): boost.formatify
9747 do not include <iostream>
9749 * lengthcommon.C: ws only
9751 * boost-inst.C,BoostFormat.h: add more explict instantations
9753 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9755 * lots of files: handle USE_BOOST_FORMAT
9757 2002-11-21 John Levon <levon@movementarian.org>
9759 * pspell.C: fix compile
9761 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9763 * lyxfunc.C (dispatch): use boost::format
9767 * lyxfont.C (stateText): use boost::format
9769 * lyx_main.C (LyX): use boost::format
9771 (queryUserLyXDir): ditto
9774 (typedef boost::function): use the recommened syntax.
9776 * importer.C (Import): use boost::format
9778 * debug.C (showLevel): use boost::format
9780 * converter.C (view): use boost::format
9785 * bufferview_funcs.C (currentState): use boost::format
9787 * bufferlist.C (emergencyWrite): use boost::format
9789 * buffer.C (readLyXformat2): use boost::format
9790 (parseSingleLyXformat2Token): ditto
9792 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9794 * LaTeX.C (run): use boost::format
9796 * Chktex.C (scanLogFile): use boost::format
9798 * BufferView_pimpl.C (savePosition): use boost::format
9799 (restorePosition): ditto
9800 (MenuInsertLyXFile): ditto
9802 * BoostFormat.h: help file for explicit instation.
9804 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9806 * tabular.C (latex): Support for block alignment in fixed width
9809 2002-11-17 John Levon <levon@movementarian.org>
9811 * BufferView_pimpl.C:
9813 * lyxfunc.C: split filedialog into open/save
9815 2002-11-08 Juergen Vigna <jug@sad.it>
9817 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9818 by my last patch (hopefully).
9820 2002-11-08 John Levon <levon@movementarian.org>
9829 * toc.C: ParConstIterator, and use it (from Lars)
9831 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9833 * lyxtextclass.[Ch]: revise and add doxygen comments
9835 2002-11-07 John Levon <levon@movementarian.org>
9837 * text.C: fix progress value for spellchecker
9839 * toc.C: fix navigate menu for insetwrap inside minipage
9841 * paragraph_funcs.C: added FIXME for suspect code
9843 2002-11-07 John Levon <levon@movementarian.org>
9845 * BufferView_pimpl.C: fix redrawing of insets
9848 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * text2.C (updateCounters): fix bug 668
9852 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9854 * text3.C (dispatch): Do not make the buffer dirty when moving the
9857 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9859 * vc-backend.C: STRCONV
9862 * text2.C (setCounter): STRCONV
9864 * paragraph.C (asString): STRCONV
9866 * lyxlength.C (asString): STRCONV
9867 (asLatexString): ditto
9869 * lyxgluelength.C (asString): STRCONV
9870 (asLatexString): ditto
9872 * lyxfunc.C (dispatch): STRCONV
9875 * lyxfont.C (stateText): STRCONV
9877 * importer.C (Import): STRCONV
9879 * counters.C (labelItem): STRCONV
9880 (numberLabel): ditto
9881 (numberLabel): remove unused ostringstream o
9886 * bufferview_funcs.C (currentState): STRCONV
9888 * buffer.C (readFile): STRCONV
9889 (asciiParagraph): ditto
9890 (makeLaTeXFile): ditto
9892 * Spacing.C (writeEnvirBegin): STRCONV
9894 * LaTeXFeatures.C (getLanguages): STRCONV
9895 (getPackages): ditto
9897 (getBabelOptions): ditto
9898 (getTClassPreamble): ditto
9899 (getLyXSGMLEntities): ditto
9900 (getIncludedFiles): ditto
9904 (scanAuxFile): ditto
9907 * LString.h: add the STRCONV macros
9909 * BufferView_pimpl.C (savePosition): STRCONV
9910 (restorePosition): ditto
9911 (MenuInsertLyXFile): ditto
9913 * vc-backend.C (scanMaster): change from submatch[...] to
9916 * funcrequest.C: include config.h
9918 * factory.C: include config.h
9920 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9922 * box.C: include config.h
9924 * LaTeX.C (scanAuxFile): change from submatch[...] to
9928 2002-10-25 Angus Leeming <leeming@lyx.org>
9930 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9932 * ispell.[Ch] (setError): new method.
9933 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9934 Use setError() insetead of goto END.
9936 * lyx_cb.C (AutoSave): move out child process into new class
9939 2002-10-30 John Levon <levon@movementarian.org>
9941 * text3.C: make start appendix undoable
9943 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9945 * lyxlength.C (inPixels): Fix returned value.
9947 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9950 2002-10-24 Angus Leeming <leeming@lyx.org>
9952 * lyxgluelength.h: no need to forward declare BufferParams
9953 or BufferView, so don't.
9955 2002-10-21 John Levon <levon@movementarian.org>
9957 * BufferView.C: menuUndo ->undo, redo
9959 * BufferView.h: document, remove dead, make some methods private
9961 * paragraph_funcs.h:
9962 * paragraph_funcs.C:
9963 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9968 * sgml.C: move sgml open/close tag into sgml.C
9970 * bufferview_funcs.h: unused prototype
9973 * lyxfunc.C: remove unused
9976 * text.C: remove unused
9978 2002-10-21 John Levon <levon@movementarian.org>
9982 * BufferView_pimpl.h:
9983 * BufferView_pimpl.C: fix mouse wheel handling based on
9984 patch from Darren Freeman
9986 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9988 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9990 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9992 * lyxlength.C (inPixels): Fix hanfling of negative length.
9993 Fix LyXLength::MU case.
9995 2002-10-16 John Levon <levon@movementarian.org>
9997 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9999 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10001 * converter.C (view): add support for $$i (file name) and $$p
10002 (file path) for the viewer command. If $$i is not specified, then
10003 it is appended to the command (for compatibility with old syntax)
10005 2002-10-14 Juergen Vigna <jug@sad.it>
10007 * undo_funcs.C (textHandleUndo): alter the order in which the
10008 new undopar is added to the LyXText, as we have to set first
10009 the right prev/next and then add it as otherwise the rebuild of
10010 LyXText is not correct. Also reset the cursor to the right paragraph,
10011 with this IMO we could remove the hack in "redoParagraphs()".
10013 2002-10-09 Angus Leeming <leeming@lyx.org>
10015 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10016 to turn off an optimisation if a new inset is to be inserted.
10018 2002-10-11 André Pönitz <poenitz@gmx.net>
10020 * lyxtext.h: make some functions public to allow access
10021 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10023 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10025 * text3.C (dispatch): when changing layout, avoid an infinite loop
10028 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10030 * lyxrc.C (read): treat a viewer or converter command of "none" as
10033 * MenuBackend.C (expandFormats): for an update, also allow the
10034 formats that are not viewable
10036 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10037 script if it is newer than the lyxrc.defaults in user directory
10039 2002-10-07 André Pönitz <poenitz@gmx.net>
10041 * text.C: Vitaly Lipatov's small i18n fix
10043 2002-09-25 Angus Leeming <leeming@lyx.org>
10045 * ispell.h: doxygen fix.
10047 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10049 * buffer.h (readFile): Add a new argument to the method, to allow
10050 reading of old-format templates.
10052 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10054 * toc.C (getTocList): Get TOC from InsetWrap.
10056 2002-09-16 John Levon <levon@movementarian.org>
10058 * lyxfunc.C: check tabular for cut/copy too
10060 2002-09-12 John Levon <levon@movementarian.org>
10062 * LyXAction.C: tidy
10065 * factory.C: add header
10067 * paragraph_funcs.h:
10068 * paragraph_funcs.C: cleanup
10070 2002-09-11 John Levon <levon@movementarian.org>
10072 * PrinterParams.h: odd/even default to true
10074 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10076 * PrinterParams.h: update printer parameters for new xforms dialog
10078 2002-09-11 Angus Leeming <leeming@lyx.org>
10080 * lyxserver.C (read_ready): re-write to make it more transparent
10081 and to make it work in coherent fashion under Tru64 Unix.
10083 2002-09-11 André Pönitz <poenitz@gmx.net>
10087 * text3.C: implement LFUN_WORDSEL
10089 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10091 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10092 make floatlist_ a boost::shared_ptr<FloatList>
10094 * lyxtextclass.C: include FloatList.h
10095 (LyXTextClass): initialize floatlist_
10096 (TextClassTags): add TC_NOFLOAT
10097 (Read): match "nofloat" to TC_NOFLOAT and use it.
10098 (readFloat): modify call to floatlist_
10102 * FloatList.[Ch] (FloatList): remove commented out float
10104 (erase): new function
10106 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10108 * MenuBackend.C (expandToc): fix crash when there is no document
10111 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10113 * many files: Add insetwrap.
10115 2002-09-09 John Levon <levon@movementarian.org>
10117 * text2.C: remove confusing and awkward depth wraparound
10119 2002-09-09 John Levon <levon@movementarian.org>
10121 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10124 * buffer.C: remove getIncludeonlyList()
10127 * lyxfunc.C: remove headers
10129 2002-09-09 Juergen Vigna <jug@sad.it>
10131 * text.C (getColumnNearX): fix form Michael this is most
10132 probably a cut&paste bug.
10134 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10136 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10138 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10139 references, ws changes.
10141 * text2.C (init): update counters after init
10142 (insertParagraph): no need to set counter on idividual paragraphs.
10143 (setCounter): access the counters object in the textclass object
10144 on in the buffer object.
10145 (updateCounters): ditto
10147 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10148 shared_ptr<Counters> to avoid loading counters.h in all
10150 (LyXTextClass): initialize ctrs_
10151 (TextClassTags): add TC_COUNTER, and ...
10152 (Read): use it here.
10153 (CounterTags): new tags
10154 (readCounter): new function
10155 (counters): new funtion
10156 (defaultLayoutName): return a const reference
10158 * counters.C (Counters): remove contructor
10159 (newCounter): remove a couple of unneeded statements.
10160 (newCounter): simplify a bit.
10161 (numberLabel): some small formatting changes.
10163 * buffer.[Ch]: remove all traces of counters, move the Counters
10164 object to the LyXTextClass.
10166 2002-09-06 Alain Castera <castera@in2p3.fr>
10168 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10169 package to set the horizontal alignment on fixed width columns.
10172 * lyx_sty.h: added tabularnewline macro def.
10174 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10176 2002-09-06 John Levon <levon@movementarian.org>
10178 * LyXAction.C: tooltips for sub/superscript
10180 * MenuBackend.C: a bit more verbose
10182 * lyxfunc.C: tiny clean
10184 * undo_funcs.C: document undo_frozen
10186 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10188 * counters.C (Counters): add missing algorithm counter.
10190 * text2.C (setCounter): lookup the counter with layouts latexname
10191 instead of by section number.
10192 (setCounter): use a hackish way to lookup the correct enum
10194 a float name->type change
10195 reset enum couners with counter name directly instead of depth value.
10197 * counters.C (Counters): remove the push_backs, change to use the
10198 float type not the float name.
10199 (labelItem): remove unused string, float name->type change
10201 * counters.h: don't include vector, loose the enums and sects vectors
10203 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10205 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10206 (Read): add float->TC_FLOAT to textclassTags
10207 (Read): and handle it in the switch
10208 (readFloat): new function
10210 * FloatList.C (FloatList): comment out the hardcoded float
10213 * lyxlayout.h: ws change.
10215 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10217 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10219 2002-09-03 Angus Leeming <leeming@lyx.org>
10221 * BufferView_pimpl.h: qualified name is not allowed in member
10222 declaration: WorkArea & Pimpl::workarea() const;
10224 * factory.C: added using std::endl directive.
10226 * text3.C: added using std::find and std::vector directives.
10228 2002-08-29 André Pönitz <poenitz@gmx.net>
10231 * text2.C: remove unused member number_of_rows
10234 * BufferView2.C: remove file, move contents to...
10235 * BufferView.C: ... here
10237 * BufferView_pimpl.C:
10238 * factory.C: move more inset creation to factory
10240 * vspace.C: avoid direct usage of LyXText, ws changes
10243 don't provide direct access to WorkArea, use two simple
10244 acessors haveSelction() and workHeight() instead
10247 2002-08-29 John Levon <levon@movementarian.org>
10249 * BufferView_pimpl.C (dispatch): do not continue when
10252 2002-08-28 André Pönitz <poenitz@gmx.net>
10254 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10257 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10259 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10261 * buffer.C: increment LYX_FORMAT to 221
10263 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10264 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10266 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10268 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10270 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10272 * factory.C (createInset): use LyXTextClass::floats
10274 * MenuBackend.C (expandFloatListInsert):
10275 (expandFloatInsert):
10278 * text2.C (setCounter):
10280 * LaTeXFeatures.C (useFloat):
10281 (getFloatDefinitions):
10283 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10285 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10286 floatlist_, with accessor floats().
10288 * FloatList.h: remove global FloatList
10290 2002-08-26 André Pönitz <poenitz@gmx.net>
10292 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10296 * BufferView_pimpl.C:
10297 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10299 2002-08-25 John Levon <levon@movementarian.org>
10301 * LyXAction.C: fix margin note description
10303 2002-08-24 John Levon <levon@movementarian.org>
10307 * bufferview_funcs.C:
10309 * undo_funcs.C: cleanups
10311 * lyxfunc.C: disable CUT/COPY when no selection
10313 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10315 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10316 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10318 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10319 Add backward compatibility to "mono", "gray" and "no".
10321 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10323 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10324 (and file_format >= 200).
10326 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10328 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10330 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10332 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10334 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10336 * BufferView_pimpl.C:
10343 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10344 inset and code to make it work with the paragraph code. The inset
10345 can be anywhere in the paragraph, but will only do the expected
10346 thing in LaTeX if the layout file contains the parameter line
10348 (or more generally, a nonzero value) for that layout.
10350 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10352 * paragraph.h: remove the declaration of undefined counters class
10355 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10357 * text2.C (setCounter): fixed enumeration mis-count as reported by
10358 Dr. Richard Hawkins.
10360 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10362 * paragraph_funcs.h: remove some unneeded includes
10364 * text.C (backspace): pasteParagraph now in global scipe
10366 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10367 (pasteSelection): ditto
10369 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10370 * paragraph_funcs.C (pasteParagraph): ... here
10372 2002-08-20 André Pönitz <poenitz@gmx.net>
10374 * commandtags.h: new LFUNs for swapping/copying table row/colums
10377 * lyxfunc.C: support for new lfuns
10379 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10382 * buffer.[Ch]: remove NO_COMPABILITY stuff
10384 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10386 * boost.C (throw_exception): new file, with helper function for
10387 boost compiled without exceptions.
10392 * ParameterStruct.h:
10393 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10395 * bufferlist.C (emergencyWriteAll): use boost bind
10397 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10399 * text.C: include paragraph_funcs.h
10400 (breakParagraph): breakParagraph is now in global scope
10402 * paragraph_funcs.[Ch]: new files
10404 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10407 * buffer.C: include paragraph_funcs.h
10408 (insertStringAsLines): breakParagraph is now in global scope
10410 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10413 * CutAndPaste.C: include paragraph_funcs.h
10414 (cutSelection): breakParagraphConservative is now in global scope
10415 (pasteSelection): ditto
10417 * buffer.h: declare oprator== and operator!= for
10418 Buffer::inset_iterator
10420 * bufferlist.C (emergencyWrite): don't use fmt(...)
10422 * text3.C: add using std::endl
10424 * BufferView.C (moveCursorUpdate): remove default arg
10426 2002-08-20 André Pönitz <poenitz@gmx.net>
10428 * buffer.[Ch]: move inline functions to .C
10431 * BufferView_pimpl.C:
10433 * buffer.[Ch]: use improved inset_iterator
10436 * paragraph.[Ch]: write one paragraph at a time
10438 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10440 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10441 style if style is not specified.
10443 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10445 * text2.C (setCounter): when searching for right label for a
10446 caption, make sure to recurse to parent insets (so that a caption
10447 in a minipage in a figure float works) (bug #568)
10449 2002-08-20 André Pönitz <poenitz@gmx.net>
10451 * text3.C: new file for LyXText::dispatch() and helpers
10453 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10455 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10457 2002-08-19 André Pönitz <poenitz@gmx.net>
10460 * text.C: new LyXText::dispatch()
10462 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10464 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10466 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10468 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10471 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10473 * Makefile.am: use $(variables) instead of @substitutions@
10475 2002-08-15 André Pönitz <poenitz@gmx.net>
10478 * BufferView_pimpl.C: streamlining mathed <-> outer world
10482 * LyXAction.C: remove unused LFUN_MATH
10484 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10486 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10488 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10490 * paragraph.C (Paragraph): reformat a bit
10491 (cutIntoMinibuffer): use builtin InsetList function instad of
10495 * buffer.C: include boost/bind.hpp, add using std::for_each
10496 (writeFileAscii): use ParagraphList iterators
10497 (validate): use for_each for validate traversal of paragraphs
10498 (getBibkeyList): use ParagraphList iterators
10499 (resizeInsets): use for_each to resizeInsetsLyXText for all
10501 (getParFromID): use ParagraphList iterators
10503 * BufferView2.C (lockInset): use paragraph list and iterators
10505 2002-08-14 John Levon <levon@movementarian.org>
10507 * lyxserver.C: remove spurious xforms include
10509 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10511 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10513 2002-08-13 André Pönitz <poenitz@gmx.net>
10516 * lyxfunc.C: further cleaning
10518 2002-08-13 André Pönitz <poenitz@gmx.net>
10520 * funcrequest.h: new constructor
10522 * funcrequest.C: move stuff here from .h
10525 * BufferView_pimpl.C:
10528 * lyxfunc.C: subsequent changes
10530 * lyxfunc.h: new view() member function
10532 * lyxfunc.C: subsequent changes
10534 2002-08-13 Angus Leeming <leeming@lyx.org>
10537 * BufferView_pimpl.C:
10545 changes due to the changed LyXView interface that now returns references
10546 to member variables not pointers.
10548 2002-08-13 Angus Leeming <leeming@lyx.org>
10550 * WordLangTuple (word, lang_code): return references to strings,
10555 * lyxtext.h: forward-declare WordLangTuple.
10560 * text.C: #include "WordLangTuple.h".
10563 * text.C: (selectNextWordToSpellcheck): constify return type.
10565 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10571 * paragraph_pimpl.h:
10574 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10575 suggested by Angus.
10576 Made updateCounter always count from start of buffer, and removed
10577 second argument (par).
10578 Reverted floats number display to '#'. Perhaps I'll try again when the
10579 code base is sanitized a bit.
10581 2002-08-12 Angus Leeming <leeming@lyx.org>
10583 * buffer.[Ch] (getLabelList): constify.
10585 2002-08-07 André Pönitz <poenitz@gmx.net>
10587 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10589 * funcrequest.h: extension to keep mouse (x,y) position
10591 2002-08-12 Juergen Vigna <jug@sad.it>
10593 * BufferView2.C (insertErrors): forbid undo when inserting error
10596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10598 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10600 * ParagraphList.[Ch]: new files
10602 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10604 * BufferView2.C (lockInset): ParagraphList changes
10607 * bufferlist.C: ditto
10611 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10613 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10614 unused class variable counter_,
10616 * paragraph.[Ch] (getFirstCounter): delete unused function
10618 * counters.C: include LAssert.h
10619 (reset): add a new function with no arg, change other version to
10620 not have def. arg and to not allow empty arg.
10622 * text2.C (setCounter): remove empty arg from call to Counters::reset
10624 2002-08-11 John Levon <levon@movementarian.org>
10626 * Makefile.am: add WordLangTuple.h
10628 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10630 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10631 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10633 * insets/insettext.C: InsetList changes
10635 * graphics/GraphicsSupport.C (operator()): InsetList changes
10637 * toc.C (getTocList): InsetList changes
10639 * paragraph_pimpl.[Ch]: InsetList changes
10641 * paragraph.[Ch]: InsetList changes
10643 * buffer.C (inset_iterator): InsetList changes
10644 (setParagraph): ditto
10645 * buffer.h (inset_iterator): ditto
10646 * iterators.C (operator++): ditto
10647 * iterators.h: ditto
10649 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10651 * InsetList.[Ch]: new files, most InsetList handling moved out of
10654 * BufferView2.C (removeAutoInsets): InsetList changes
10656 (ChangeInsets): ditto
10658 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10660 * paragraph_pimpl.h (empty): new function
10662 * paragraph.[Ch] (empty): new function
10664 * other files: use the new Paragraph::empty function
10666 2002-08-09 John Levon <levon@movementarian.org>
10668 * lyxtext.h: remove unused refresh_height
10670 2002-08-09 John Levon <levon@movementarian.org>
10677 * paragraph.C: move sgml char escaping out of paragraph
10680 * paragraph.C: remove id setter
10684 * paragraph_pimpl.C: remove dead tex_code_break_column
10686 * bufferview_funcs.C: small cleanup
10688 * lyxfunc.C: remove dead proto
10690 * lyxtext.h: make some stuff private. Remove some dead stuff.
10692 * lyxgluelength.C: make as[LyX]String() readable
10694 2002-08-08 John Levon <levon@movementarian.org>
10699 * ToolbarDefaults.C:
10702 * toc.C: lyxaction cleanup
10704 2002-08-08 John Levon <levon@movementarian.org>
10706 * BufferView2.C: small cleanup
10709 * lyxfind.C: move unnecessary header into the .C
10711 2002-08-08 John Levon <levon@movementarian.org>
10713 * funcrequest.h: just tedious nonsense
10716 * lyx_main.C: cleanups
10719 * vspace.C: remove dead header lyx_main.h
10721 2002-08-07 Angus Leeming <leeming@lyx.org>
10724 * paragraph_pimpl.h:
10725 Forward declare class Counters in paragraph.h by moving the ctrs member
10726 variable into Paragraph::Pimpl.
10727 (counters): new method, returning a reference to pimpl_->ctrs.
10729 * text2.C: ensuing changes.
10731 2002-08-07 John Levon <levon@movementarian.org>
10733 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10735 * BufferView_pimpl.C: announce X selection on double/triple
10738 * lyx_main.C: use correct bool in batch dispatch
10740 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10742 2002-08-07 André Pönitz <poenitz@gmx.net>
10744 * funcrequest.h: new class to wrap a kb_action and its argument
10747 * BufferView_pimpl[Ch]:
10751 * lyxrc.C: subsequent changes
10754 2002-08-07 John Levon <levon@movementarian.org>
10756 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10757 document options change.
10759 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10764 * makefile.am: move counters functionality over from
10765 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10767 2002-08-06 John Levon <levon@movementarian.org>
10769 * WordLangTuple.h: new file for word + language code tuple
10780 * BufferView2.C: use WordLangTuple
10783 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10785 2002-08-06 John Levon <levon@movementarian.org>
10787 * lyx_main.C: fix cmdline batch handling
10789 2002-08-06 André Pönitz <poenitz@gmx.net>
10791 * lyxrc.C: set default for show_banner to true
10793 2002-08-06 John Levon <levon@movementarian.org>
10795 * pspell.C: fix a crash, and allow new aspell to work
10797 2002-08-06 John Levon <levon@movementarian.org>
10800 * kbmap.C: small cleanup
10803 * vspace.C: add const
10805 2002-08-05 John Levon <levon@movementarian.org>
10807 * LyXAction.C: back to tabular-insert
10809 2002-08-04 John Levon <levon@movementarian.org>
10812 * BufferView.C: cosmetic change
10814 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10824 * BufferView2.C: purge all "Lyx" not "LyX" strings
10827 * lyxcursor.C: attempt to add some documentation
10832 * ToolbarDefaults.C:
10833 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10834 merge with LFUN_TABULAR_INSERT
10841 * pspell.C: split up i/pspell implementations into separate
10842 files, many cleanups
10844 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10846 * text2.C: some cleanup
10848 * lyxfunc.C: don't check for isp_command == "none" any more, it
10849 didn't make any sense
10851 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10856 * makefile.am: move counters functionality over
10857 from text2.C/paragraph.[Ch] to counters.[Ch], and
10859 2002-08-02 John Levon <levon@movementarian.org>
10861 * buffer.C: s/lyxconvert/lyx2lyx/
10863 2002-08-02 Angus Leeming <leeming@lyx.org>
10865 * lyxlex.C: revert John's change as it breaks reading of the user
10868 2002-08-02 Angus Leeming <leeming@lyx.org>
10870 * importer.C (Import):
10871 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10872 changes due to LyXView::view() now returning a boost::shared_ptr.
10874 2002-08-02 John Levon <levon@movementarian.org>
10876 * lyxlex.C: small cleanup
10878 2002-08-02 John Levon <levon@movementarian.org>
10880 * text2.C (status): small cleanup, no logic change
10882 2002-08-01 John Levon <levon@movementarian.org>
10885 * buffer.C (writeFile): don't output alerts, caller
10889 * lyx_cb.C: from above
10891 * lyxfunc.C: allow to open non-existent files
10893 2002-07-31 John Levon <levon@movementarian.org>
10895 * lyxserver.C: don't let incidental errors get
10898 2002-07-30 John Levon <levon@movementarian.org>
10900 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10902 2002-07-30 John Levon <levon@movementarian.org>
10905 * lyxserver.C: remove I/O callback too
10907 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10909 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10912 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10914 * many files: strip,frontStrip -> trim,ltrim,rtrim
10916 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10918 * PrinterParams.h: remove extern containsOnly, and include
10919 support/lstrings.h instead.
10921 * LaTeX.C (scanAuxFile): modify because of strip changes
10923 * buffer.C (makeLaTeXFile): ditto
10924 * bufferparams.C (writeFile): ditt
10925 * lyxfont.C (stateText): ditto
10926 * lyxserver.C (read_ready): ditto
10927 * vc-backend.C (scanMaster): ditto
10929 * BufferView_pimpl.h: ws changes
10931 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10933 2002-07-26 André Pönitz <poenitz@gmx.net>
10935 * kb_sequence.C: remove unnedred usings
10937 2002-07-26 Juergen Vigna <jug@sad.it>
10939 * lyxfind.C (LyXReplace): we have to check better if the returned
10940 text is not of theLockingInset()->getLockingInset().
10942 2002-07-25 Juergen Vigna <jug@sad.it>
10944 * lyxfind.C (LyXReplace): don't replace if we don't get the
10947 * undo_funcs.C (createUndo): remove debugging code.
10949 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10951 * buffer.C (parseSingleLyXformat2Token): Use default placement
10952 when reading old floats.
10954 * FloatList.C (FloatList): Change the default placement of figure
10955 and tables to "tbp".
10957 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10959 * MenuBackend.C: using std::max
10961 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10963 * MenuBackend.C (expandToc):
10964 (expandToc2): code moved from xforms menu frontend. It is now
10965 generic and TOCs are transparent to menu frontends.
10967 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10969 * toc.C (getTocList): protect against buf=0
10971 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10972 Menu as first parameter. Now, this calls itself recursively to
10973 expand a whole tree (this will be useful for TOC handling)
10974 (expandFloatInsert): remove 'wide' version of floats
10976 * MenuBackend.h (submenuname): returns the name of the submenu.
10977 (submenu): returns the submenu itself, provided it has been
10978 created by MenuBackend::expand
10980 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10982 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10983 insets which have noFontChange == true. (bug #172)
10985 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10987 * BufferView_pimpl.C: add connection objects and use them...
10990 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10992 * MenuBackend.C (expandLastfiles):
10995 (expandFloatListInsert):
10996 (expandFloatInsert):
10997 (expand): split expand in parts
10999 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11001 * lyx_gui.C: use lyx_gui::exit()
11003 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11005 * LyXAction.C: show the failing pseudo action
11007 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11009 * buffer.C (readFile): Run the lyxconvert script in order to read
11012 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11016 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11018 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11022 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11024 2002-07-22 Herbert Voss <voss@lyx.org>
11027 * lyxlength.[Ch]: add support for the vertical lengths
11029 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11031 * toc.[Ch]: std:: fixes
11033 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * lyxrc.C: do not include lyx_main.h
11037 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11043 * BufferView2.C: include "lyxlex.h"
11046 * bufferparams.h: do not #include "lyxlex.h"
11048 * lyxtextclasslist.C (Add): remove method
11049 (classlist): renamed to classlist_
11051 * paragraph_pimpl.C:
11055 * bufferview_funcs.C:
11060 * toc.C (getTocList): use BufferParams::getLyXTextClass
11062 * toc.C (getTocList): use InsetFloat::addToToc
11064 * toc.[Ch]: new files, containing helper functions to handle table
11067 * lyxfunc.C (dispatch): no need to remove spaces around command
11069 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11070 first command of the sequence; it is not very clever, but I do not
11071 have a better idea, actually
11073 * LyXAction.C (LookupFunc): make sure to remove space at the
11074 beginning and end of the command
11076 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11078 * MenuBackend.C (getMenubar): new method: return the menubar of
11080 (read): treat differently reading of menu and menubar (in
11081 particular, the menubar has no name now)
11082 (Menu::menubar): remove
11084 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11087 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11089 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11090 a bibitem inset in a RTL paragraph.
11092 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11094 * paragraph_pimpl.C: constify
11096 * BufferView_pimpl.C:
11098 * lyxfunc.C: fix dispatch in a nicer way
11100 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11102 * lyxfunc.C (dispatch):
11103 * BufferView_pimpl.C:
11104 * BufferView_pimpl.h:
11106 * BufferView.h: rename Dispatch() to dispatch()
11108 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11110 * lyxlayout.C (Read): honor DependsOn tag
11112 * lyxlayout.[Ch] (depends_on): new method
11114 * version.C.in: update lyx_docversion
11116 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11118 * paragraph.C (validate): remove from here...
11119 * paragraph_pimpl.C (validate): ... and move here
11120 (isTextAt): make it const
11122 * buffer.C (getLists): ws cleanup
11124 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11126 * language.C (read): Use iso8859-1 encoding in latex_lang
11127 (this prevents LyX from crashing when using iso10646-1 encoding).
11129 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11131 * text2.C (toggleInset): if cursor is inside an inset, close the
11132 inset and leave cursor _after_ it
11134 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11136 * lyxfunc.C: move minibuffer completion handling out of here
11138 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11140 * BufferView_pimpl.C:
11141 * LaTeX.C: fix dispatch calls
11143 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11145 * text.C (drawChars): Fix Arabic text rendering.
11147 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11151 * lyxfunc.C: remove message-push/pop
11155 * lyxfunc.C: rationalise some code by removing verboseDispatch
11156 in favour of a bool argument to dispatch()
11158 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * lyx_main.C (init): make sure to read symlinks as absolute paths
11162 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11165 * lyxfunc.C: no need for commandshortcut to be a member
11167 2002-07-15 André Pönitz <poenitz@gmx.net>
11169 * converter.C: add support for $$s (scripts from lib/scripts dir)
11170 * lyx_main.C: white space
11172 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11176 * lyxrc.C: remove second exit confirmation
11178 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11183 * BufferView_pimpl.h:
11184 * BufferView_pimpl.C:
11185 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11187 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11189 * MenuBackend.C (expand): add numeric shortcuts to document menu
11191 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11193 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11195 * lyxfont.C (setLyXFamily):
11202 * buffer.C (asciiParagraph): use ascii_lowercase
11204 2002-07-15 Mike Fabian <mfabian@suse.de>
11206 * lyxlex_pimpl.C (search_kw):
11207 * lyxlex.C (getLongString):
11208 * converter.h (operator<):
11209 * converter.C (operator<):
11210 * buffer.C (parseSingleLyXformat2Token):
11212 * ToolbarDefaults.C (read):
11213 * MenuBackend.C (checkShortcuts):
11215 * LColor.C (getFromGUIName):
11216 (getFromLyXName): use the compare_ascii_no_case instead of
11217 compare_no_case, because in turkish, 'i' is not the lowercase
11218 version of 'I', and thus turkish locale breaks parsing of tags.
11220 2002-07-16 Angus Leeming <leeming@lyx.org>
11222 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11223 now takes a Buffer const & argument.
11225 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11227 * BufferView.C (resize): check there's a buffer to resize
11229 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11231 * lyxfunc.C: remove dead code
11234 * lyxserver.C: use lyx_guii::set_read_callback
11236 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11238 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11239 an inset in a RTL paragraph.
11241 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11243 * lyxfunc.C: repaint after a font size update
11245 2002-07-15 André Pönitz <poenitz@gmx.net>
11247 * lyxlength.C: inBP should be able to return negative values
11249 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11251 * lyxfunc.C: use lyx_gui::update_fonts()
11253 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11255 * lyxfunc.C: use lyx_gui::update_color()
11257 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11263 * lyxrc.C: remove file->new asks for name option, and let
11264 buffer-new take an argument
11266 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11268 * BufferView_pimpl.C: remove unneeded extra repaint()
11270 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11272 * LyXAction.C: allow command-sequence with NoBuffer
11274 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11276 2002-07-10 Angus Leeming <leeming@lyx.org>
11278 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11280 2002-07-09 Angus Leeming <leeming@lyx.org>
11282 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11284 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11286 * lengthcommon.h: whitespace
11288 * lyxfunc.C: update scrollbar after goto paragraph
11290 * lyxtext.h: factor out page break drawing, and fix it so
11291 page break/added space paints as selected nicely
11293 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11295 * BufferView_pimpl.C: add FIXMEs, clean up a little
11297 2002-07-09 André Pönitz <poenitz@gmx.net>
11299 * lyxfont.[Ch]: support for wasy symbols
11301 2002-07-08 André Pönitz <poenitz@gmx.net>
11303 * BufferView_pimpl.C: apply John's patch for #93.
11305 2002-07-05 Angus Leeming <leeming@lyx.org>
11307 * BufferView_pimpl.C (buffer): generate previews if desired.
11309 * LColor.h: add "preview" to the color enum.
11311 * LColor.C (LColor): add a corresponding entry to the items array.
11313 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11316 2002-07-05 Angus Leeming <leeming@lyx.org>
11318 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11319 The body of the code is now in the method that is passed an ostream &
11320 rather than a file name.
11321 Pass an additional only_preamble parameter, useful for the forthcoming
11324 2002-07-03 André Pönitz <poenitz@gmx.net>
11326 * lyxfunc.C: simplify getStatus() a bit for math stuff
11328 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11330 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11332 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11334 * text.C (changeRegionCase): do not change case of all the
11335 document when region ends at paragraph end (bug #461)
11337 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11339 * paragraph.C (startTeXParParams):
11340 (endTeXParParams): add \protect when necessary
11342 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11344 * BufferView_pimpl.C (workAreaExpose): remove warning
11346 2002-06-27 Angus Leeming <leeming@lyx.org>
11348 * Makefile.am: add lyxlayout_ptr_fwd.h.
11350 2002-06-26 André Pönitz <poenitz@gmx.net>
11352 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11354 2002-06-25 Angus Leeming <leeming@lyx.org>
11356 * lyxfunc.C (dispatch): Comment out the call to
11357 grfx::GCache::changeDisplay. The method no longer exists now that the
11358 pixmap generation part of the graphics loader has been moved into
11361 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11363 * text2.C: layout as layout
11365 * text.C: layout as layout
11367 * tabular.C (OldFormatRead): layout as layout
11369 * paragraph_pimpl.C (TeXDeeper): layout as layout
11370 (realizeFont): layout as layout
11372 * paragraph.C (writeFile): layout as layout
11373 (validate): layout as layout
11374 (getFont): layout as layout
11375 (getLabelFont): layout as layout
11376 (getLayoutFont): layout as layout
11377 (breakParagraph): layout as layout
11378 (stripLeadingSpaces): layout as layout
11379 (getEndLabel): layout as layout
11380 (getMaxDepthAfter): layout as layout
11381 (applyLayout): layout as layout
11382 (TeXOnePar): layout as layout
11383 (simpleTeXOnePar): layout as layout
11384 (TeXEnvironment): layout as layout
11385 (layout): layout as layout
11386 (layout): layout as layout
11388 * lyxtextclass.C (compare_name): new functor to work with
11389 shared_ptr, layout as layout
11390 (Read): layout as layout
11391 (hasLayout): layout as layout
11392 (operator): layout as layout
11393 (delete_layout): layout as layout
11394 (defaultLayout): layout as layout
11396 * lyxlayout_ptr_fwd.h: new file
11398 * lyxlayout.C (Read): layout as layout
11400 * lyx_cb.C (MenuInsertLabel): layout as layout
11402 * bufferlist.C (newFile): layout as layout
11404 * buffer.C (readLyXformat2): layout as layout
11405 (parseSingleLyXformat2Token): layout as layout
11406 (insertStringAsLines): layout as layout
11407 (asciiParagraph): layout as layout
11408 (latexParagraphs): layout as layout
11409 (makeLinuxDocFile): layout as layout
11410 (simpleLinuxDocOnePar): layout as layout
11411 (makeDocBookFile): layout as layout
11412 (simpleDocBookOnePar): layout as layout
11413 (getLists): layout as layout
11415 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11417 * CutAndPaste.C (cutSelection): layout as layout
11418 (pasteSelection): layout as layout
11419 (SwitchLayoutsBetweenClasses): layout as layout
11421 * BufferView_pimpl.C (Dispatch): layout as layout
11422 (smartQuote): layout as layout
11424 * BufferView2.C (unlockInset): layout as layout
11426 2002-06-24 André Pönitz <poenitz@gmx.net>
11428 * lyxfunc.C: fix #487
11430 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11434 * lyxfunc.C: remove display_shortcuts, show_banner
11436 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11438 * Buffer_pimpl.C: oops, update on resize
11440 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11447 * BufferView.C: use repaint()
11449 * BufferView_pimpl.h:
11450 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11451 as it's a clearer description. Remove superfluous
11454 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11456 * text.C: fix bug 488. Not ideal, but getting
11457 getWord() to work properly for the insets that
11458 matter is more difficult ...
11460 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11462 * BufferView_pimpl.C:
11465 * lyxfunc.C: remove the six million index lyxfuncs to just
11466 one, and DTRT (bug 458)
11468 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11472 * BufferView_pimpl.h:
11473 * BufferView_pimpl.C: clean up resize() stuff,
11474 and unnecessary updateScreen()s
11476 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11480 * BufferView_pimpl.h:
11481 * BufferView_pimpl.C:
11484 * minibuffer.C: remove focus management of workarea,
11485 not needed. Use screen's greyOut()
11487 2002-06-17 Herbert Voss <voss@lyx.org>
11489 * converter.C: (convert) do not post a message, when converting
11490 fails, let the calling function decide what to do in this case
11492 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11494 * lyxfunc.C: tidy up a little
11496 2002-06-16 <alstrup@diku.dk>
11498 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11499 Got rid of FORMS_H_LOCATION include. Now we are
11502 2002-06-15 LyX Development team <lyx@rilke>
11504 * buffer.[Ch] (sgmlOpenTag):
11505 (sgmlCloseTag): Added support for avoiding pernicious mixed
11506 content. Return number of lines written.
11508 (makeLinuxDocFile):
11509 (makeDocBookFile): Fixed calls to sgml*Tag.
11510 Simple white space clean.
11512 (simpleDocBookOnePar): Simple white space clean.
11514 * tabular.[Ch] (docBook): Renamed to docbook and got another
11515 argument to related with the pernicious mixed content.
11517 (docbookRow): Fixed calls for docbook inset method.
11519 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11521 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11522 so it's X11 independent.
11526 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11528 2002-06-15 Lyx Development team <lyx@electronia>
11530 * intl.h: Renamed getTrans to getTransManager.
11532 2002-06-14 Angus Leeming <leeming@lyx.org>
11534 * Makefile.am: nuke forgotten stl_string_fwd.h.
11536 2002-06-12 Angus Leeming <leeming@lyx.org>
11538 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11540 2002-06-13 Angus Leeming <leeming@lyx.org>
11543 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11545 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11547 * kbmap.C (getiso): add support for cyrillic and greek
11549 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11553 * BufferView_pimpl.h:
11554 * BufferView_pimpl.C: move bogus scrolling logic
11557 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11560 * BufferView_pimpl.C: view->resize() change
11562 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11564 * BufferView_pimpl.C: topCursorVisible
11567 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11571 * lyx_gui.C: move to frontends/
11575 * lyx_main.C: changes from above
11577 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11584 * lyx_main.C: minor tidy
11586 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11588 * BufferView_pimpl.h:
11589 * BufferView_pimpl.C:
11591 * BufferView.C: make painter() const,
11594 * BufferView2.C: use screen() accessor
11597 * lyx_main.C: some minor cleanup
11599 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11601 * BufferView_pimpl.h:
11602 * BufferView_pimpl.C: remove enter/leaveView,
11605 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11610 * BufferView_pimpl.h:
11611 * BufferView_pimpl.C: only construct screen once,
11614 * lyxrc.C: remove pointless comment
11616 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11619 * BufferView.C: remove active() and belowMouse()
11621 * BufferView_pimpl.h:
11622 * BufferView_pimpl.C: use workarea() not workarea_,
11623 and make it use a scoped_ptr instead
11625 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11627 * lyx_gui.C: add debug message on BadWindow
11629 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11631 * sp_spell.C: fdopen is not part of the C++ standard.
11633 * paragraph.C (InsetIterator): use >= instead of ==
11635 2002-06-07 Angus Leeming <leeming@lyx.org>
11637 Fixes needed to compile with Compaq cxx 6.5.
11638 * BufferView_pimpl.C:
11645 * lyxtextclasslist.C:
11650 all c-library variables have been moved into namespace std. Wrap
11651 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11656 Add a using std::abs declaration.
11658 * kbmap.h (modifier_pair):
11659 * paragraph.h (InsetTable, InsetList):
11660 * lyxfont.h (FontBits):
11661 type definition made public.
11663 * bufferlist.C (emergencyWriteAll): the compiler complains that
11664 there is more than one possible lyx::class_fun template to choose from.
11665 I re-named the void specialisation as lyx::void_class_fun.
11667 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11669 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11670 the compiler is is unable to find tostr in write_attribute.
11672 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11674 * buffer.C (sgmlError): hide #warning
11676 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11678 * xtl/*: get rid of xtl, which is not in use anyway
11680 * LyXAction.C (init):
11681 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11682 were unimplemented xtl experimentation
11684 2002-06-04 André Pönitz <poenitz@gmx.net>
11686 * lyxfunc.C: disable array operation on simple formulae
11688 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11690 * converter.C: constify a bit
11692 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11694 * lyx_gui.C: check xforms version correctly
11696 2002-04-30 Herbert Voss <voss@lyx.org>
11698 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11701 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11703 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11704 attempt to register it with a VCS)
11706 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11708 * lyx_main.C (init): honor variables LYX_DIR_13x and
11711 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11715 * lyx_main.C: fix a crash on bad command line,
11716 and give a useful exit status on error
11718 * lyxfunc.C (doImport): allow -i lyx to work
11720 2002-03-30 André Pönitz <poenitz@gmx.net>
11722 * lyxfunc.C: mathed font changes
11724 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11739 * trans_mgr.h: srcdocs, and some minor cleanups
11741 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11743 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11744 call getFont all the time)
11746 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11748 * switch from SigC signals to boost::signals
11750 2002-05-29 André Pönitz <poenitz@gmx.net>
11752 * paragraph_pimpl.C (getChar): don't call size() too often...
11754 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11756 * paragraph_pimpl.C (insertChar): do not try to update tables when
11757 appending (pos == size())
11759 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11760 in order to reduce drastically the number of comparisons needed to
11761 parse a large document
11763 2002-05-29 André Pönitz <poenitz@gmx.net>
11769 * textclasslist.[Ch]:
11770 * sp_ispell.h: whitespace change
11772 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11774 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11775 lyxaction directly now.
11777 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11781 * lyxvc.C: remove unused headers
11783 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11790 * undo_funcs.C: some cleanups. Use shared_ptr
11791 and a template for the undo stacks.
11793 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11795 * BufferView_pimpl.h:
11796 * BufferView_pimpl.C:
11803 * text2.C: use key_state/mouse_state
11805 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11810 * chset.C: change include order
11811 (loadFile): use boost regex and get rid of LRegex and LSubstring
11813 * Makefile.am (BOOST_LIBS): new variable
11814 (lyx_LDADD): use it
11816 * LaTeX.C: change include order.
11817 (scanAuxFile): use boost regex and get rid of LRegex and
11821 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11826 * FontInfo.C: moved to frontends/xforms/
11829 * FontLoader.C: moved into frontends for GUIIzation
11834 * lyxfunc.C: changes from above
11836 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11838 * LColor.C: remove spurious X include
11840 * BufferView_pimpl.C:
11845 * text2.C: move font metrics to frontends/
11847 2002-05-24 Juergen Vigna <jug@sad.it>
11849 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11850 setting the undo_cursor.
11852 * ParagraphParameters.h: include local includes first.
11854 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11856 * BufferView_pimpl.C:
11857 * BufferView_pimpl.h:
11861 * screen.C: move WorkArea into frontends/
11867 * BufferView2.C: move LyXScreen into frontends/
11871 * lyx_gui.C: move lyxlookup into frontends/xforms/
11873 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11876 * BufferView_pimpl.C:
11886 * bufferview_funcs.C:
11899 * vc-backend.C: move LyX/XFormsView into frontends/
11901 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11913 * text2.C: move Painter to frontends/
11915 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11917 * buffer.C: comment out some some code that depend upon lyx_format
11920 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11921 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11923 * buffer.h (NO_COMPABILITY): turn off compability
11925 * ColorHandler.C: include scoped_array.hpp
11927 * font.C: Use more specific smart_ptr header.
11930 * ShareContainer.h: ditto
11931 * lyx_main.h: ditto
11933 * FontInfo.h: ditto
11934 * BufferView_pimpl.h: ditto
11935 * ColorHandler.h: ditto
11937 * kbmap.C (defkey): change call to shared_ptr::reset
11939 2002-05-21 Juergen Vigna <jug@sad.it>
11941 * buffer.C (insertErtContents): fix to insert ert asis if it is
11942 non empty. Skip it completely if it contains only whitespaces.
11944 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11946 * BufferView_pimpl.C:
11947 * BufferView2.C: clear selection on paste (bug 393)
11949 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11951 * DepTable.C: include ctime
11953 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11955 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11957 2002-05-14 Juergen Vigna <jug@sad.it>
11959 * text.C (breakParagraph): fixed function to honor the keepempty
11960 layout in the right maner and also to permit the right breaking
11961 algorithm on empty or non empyt keepempty paragraphs.
11963 * paragraph.C (breakParagraph): we have to check also if the par
11964 is really empty (!size()) for isempty otherwise we do the wrong
11967 2002-05-10 Juergen Vigna <jug@sad.it>
11969 * buffer.[Ch] : The following are only changes to the ert
11970 compatibility read reading old LaTeX layout and font stuff and
11971 convert it to ERTInsets.
11973 * buffer.h: added isErtInset().
11975 * buffer.C (struct ErtComp): add a fromlayout bool to check
11976 if we're inside a LaTeX layout.
11977 (isErtInset): new helper function.
11978 (insertErtContents): look for other ert insets before this one
11979 and insert the contents there, so that we don't have subsequent
11980 ERT insets with nothing between them. This way we create only one
11981 inset with multiple paragraphs. Also check if we don't insert only
11982 spaces ' ' as they are ignored anyway afterwards in the .tex file
11983 so if we have only spaces we will ignore this latex part in the
11985 (parseSingleLyXformat2Token \\layout): better compatibility when
11986 reading layout-latex stuff.
11987 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11989 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11990 stuff after reading the inset only get the information back from
11993 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11995 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11997 * LaTeXFeatures.C (getBabelOptions): New method.
11999 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * BufferView_pimpl.C (Dispatch): work around missing argument for
12004 2002-05-08 Juergen Vigna <jug@sad.it>
12006 * text.C (leftMargin): handle paragraph leftindent.
12008 * paragraph.C (writeFile): write the new \\leftindent tag.
12009 (validate): handle leftindent code.
12010 (TeXEnvironment): handle paragraphleftindent code again.
12012 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12014 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12015 for paragrap_extra indent code and new token \\leftindent.
12016 (latexParagraphs): handle the leftindent as environment.
12018 * ParameterStruct.h: added leftindent support.
12020 * ParagraphParameters.C (leftIndent): added support functions for
12021 the paragraph left indent.
12023 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12026 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12028 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12031 * text.C (computeBidiTables): No bidi in insetERT.
12033 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12036 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12038 * version.C.in: pre 5
12040 2002-05-02 José Matos <jamatos@fep.up.pt>
12041 * buffer.C (makeDocBookFile): white space changes, add newline to
12043 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12045 * tabular.C (docBook): fix typo.
12047 2002-05-03 Juergen Vigna <jug@sad.it>
12049 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12050 change in LyXText as we can not be sure it was not freed.
12051 (drawOneRow): remove unused code.
12053 * text.C (drawInset): redo the calculation of the need_break_row as
12054 it could have a row which was already freed.
12055 (draw): look at the return value of drawInset and return false if
12056 it also returned false.
12057 (paintRowText): look at the return value of draw and return false if
12058 it also returned false.
12060 * lyxtext.h: added bool return type to drawInset() and draw() so that
12061 if we have a change in the row so that the rowbreak has to be redone
12062 we abort drawing as it will be called again.
12064 2002-05-02 Juergen Vigna <jug@sad.it>
12066 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12067 a change in the maintext also if we're inside an inset.
12068 (Dispatch): set the cursor again after a break line and after the
12069 screen has been updated as it could be we're in a different row.
12071 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12072 to set the cursor behind the pargraph with > size().
12073 (setCursor): check also for the same paragraph when checking where
12074 to put the cursor if we have a NFR inset.
12076 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12077 parts of layout read further up as it still was in the wrong
12080 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12082 * screen.C (drawFromTo): change sine fullRebreak always return
12085 * buffer.C (parseSingleLyXformat2Token): reindent some
12087 * BufferView_pimpl.C (update): change since fullRebreak always
12089 (Dispatch): git rid of the last hardcoded "Standard"s.
12091 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12093 * text2.[Ch] (fullRebreak): make it return void now that we always
12096 2002-04-30 Juergen Vigna <jug@sad.it>
12098 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12099 ert compatibility check for "latex" layout.
12101 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12103 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12104 minipages: use col% instead of p%, and also use the current font.
12105 (makeLaTeXFile): Fix use babel condition.
12106 (parseSingleLyXformat2Token): Correct font when reading old floats.
12108 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12110 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12111 inserting list of floats.
12113 2002-04-25 Herbert Voss <voss@lyx.org>
12115 * MenuBackend.C (expand): don't add the graphics extensions to the
12118 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12120 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12121 non-existing layout, do not complain if it was the default layout
12122 of the original class (bug #342)
12124 2002-04-24 Juergen Vigna <jug@sad.it>
12126 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12127 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12129 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12131 * buffer.C (getBibkeyList): If using \bibliography, return the
12132 option field with the reference itself. Enables us to provide natbib
12133 support when using \bibliography.
12135 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12137 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12139 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12140 natbib is provided by the LaTeX class.
12142 2002-04-23 Juergen Vigna <jug@sad.it>
12144 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12147 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12149 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12151 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12153 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12154 ensuremath around textordmasculine, textordfeminine and
12157 2002-04-19 Juergen Vigna <jug@sad.it>
12159 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12160 reinitializing the buffer otherwise row-dimensions may be wrong.
12161 (update): reset also the selection cursors if they do exits otherwise
12162 their x/y positions may be wrong.
12164 * text2.C (cursorDown): don't enter the inset if we came from a row
12165 above and are one row over the inset.
12167 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12168 really leaving an inset.
12170 2002-04-18 Juergen Vigna <jug@sad.it>
12172 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12173 of the selected paragraph does not have the selected layout also if
12176 * text2.C (setLayout): fixed bug which did not change last selected
12179 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12180 changed the read and substituted \\end_float with \\end_inset!
12182 * BufferView_pimpl.C (cursorPrevious):
12183 (cursorNext): fixed to make it work with rows heigher than the work
12184 area without moving the cursor only the draw of the row.
12185 (workAreaMotionNotify): fix jumping over high rows.
12187 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12192 2002-04-16 Juergen Vigna <jug@sad.it>
12194 * text2.C (setCursor): set also the irow().
12195 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12197 (cursorDown): support for locking an inset if the x_fix value goes
12198 inside it. That way I can transverse insets too with cursor up/down.
12200 * lyxrow.h: added irow helper function same as other (i) functions.
12202 * BufferView_pimpl.C (cursorPrevious):
12203 (cursorNext): fixed for insets!
12205 2002-04-15 Juergen Vigna <jug@sad.it>
12207 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12208 position otherwise it is wrong in some cases.
12210 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12211 inside the inset before the call.
12213 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12215 * buffer.[Ch] (getBibkeyList): make it const.
12217 2002-04-12 Juergen Vigna <jug@sad.it>
12219 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12221 * text2.C (getCursorX): new helper function
12222 (setCursor): compute also ix_
12223 (setCursorFromCoordinates): set also ix.
12225 * lyxcursor.h: added ix_ and helper functions.
12227 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12229 * buffer.C (insertStringAsLines): dont break paragraph if the this
12230 paragraph is inside an inset which does not permit it!
12232 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12233 also with no chars on this paragraph.
12234 (paintRowText): only paint stuff if it's inside the workarea!
12236 * paragraph.C (breakParagraph): honor keepempty flag and break the
12237 paragraph always below not above.
12239 * BufferView2.C (unlockInset): update the paragraph layout on inset
12240 unlock as we changed paragraph in such a case.
12242 * lyxfind.C (LyXFind): clear the former selection if not found!
12244 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12245 again called in insertChar().
12247 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12248 an inset which uses the whole row!
12249 (rightMargin): ditto.
12250 (insertChar): force a rebreak if we inserted an inset!
12252 2002-03-28 Herbert Voss <voss@lyx.org>
12254 * lyxlength.[Ch]: add inBP() to get the right PS-point
12255 units (BigPoint). With inPixels we have rounding errors
12257 2002-04-11 Juergen Vigna <jug@sad.it>
12259 * text2.C (setCursorFromCoordinates): set iy to the right value.
12260 (setCursor): add check if row->previous exists!
12262 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12263 an old float_type as this was the case in the old code!
12265 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12267 * BufferView2.C (showLockedInsetCursor): use iy
12268 (fitLockedInsetCursor): ditto
12270 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12271 locked insets as there we have the right value now.
12273 * lyxcursor.C: added iy_ variable and iy functions to set to the
12274 baseline of cursor-y of the locked inset.
12276 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12277 (setCursor): fixed for insets which need a full row.
12279 * text.C (rowLastPrintable): don't ignore the last space when before
12280 an inset which needs a full row.
12281 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12282 as last character of a row when before a inset which needs a full row.
12284 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12286 * version.C.in: update date
12288 * text2.C (fullRebreak): try to always return true and see what
12291 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12293 * MenuBackend.C (expand): use Floating::listName
12295 * FloatList.C (FloatList): add listName argument to the built-in
12298 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12299 text associated with the float.
12301 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12303 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12305 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12307 * ShareContainer.h: add a couple of missing typenames.
12309 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12311 * lyxrc.C (getDescription): use _() correctly rather than N_().
12313 2002-03-28 Herbert Voss <voss@lyx.org>
12315 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12316 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12318 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12320 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12321 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12323 2002-03-29 Juergen Vigna <jug@sad.it>
12325 * lyxfunc.C (dispatch): add a missing fitCursor call.
12327 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12328 it was scrolled by a cursor move, so return the bool status.
12330 * BufferView.C (fitCursor): return the bool flag also to the outside
12331 world as this is needed.
12333 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12335 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12336 call the edit() as it is not needed (and wrong) IMO.
12337 (workAreaButtonPress): set the screen_first variable before evt.
12338 unlock the inset as this may change screen_first and then we have
12339 a wrong y position for the click!
12341 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12343 * MenuBackend.C (expand): another translation that I missed
12345 2002-03-28 Juergen Vigna <jug@sad.it>
12347 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12349 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12351 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12353 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12355 * MenuBackend.C (expand): fix export/view/update when there is no
12358 2002-03-27 Herbert Voss <voss@lyx.org>
12360 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12363 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12365 * bufferview_funcs.C (currentState): only show paragraph number
12366 for is DEVEL_VERSION is set.
12368 * lyxfunc.C (dispatch): put warning in INFO channel
12370 * MenuBackend.C (expand): translate the name of floats
12372 * FloatList.C (FloatList): mark the float names for translation
12374 * converter.C (convert): use LibScriptSearch
12376 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12378 * MenuBackend.C (defaults): fix default menu (we might as well get
12381 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12386 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12388 * lyxvc.C: reorder includes.
12390 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12392 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12395 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12397 * CutAndPaste.C: change layouts earlier on paste
12398 to avoid crashing when calling getFont()
12400 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12402 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12405 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12407 * WorkArea.C: remove 'Pending' debug message.
12409 * most files: ws cleanup
12411 * buffer.[Ch]: ws changes
12413 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12415 2002-03-21 Juergen Vigna <jug@sad.it>
12417 * tabular.C (SetMultiColumn): collapse also the contents of the
12418 cells and set the last border right. Added a Buffer const * param.
12420 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12425 2002-03-19 Juergen Vigna <jug@sad.it>
12427 * text2.C (clearSelection): reset also xsel_cache.
12429 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12430 where it needs to be called (John tells us to do so too :)
12431 (selectionLost): reset sel_cache.
12433 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12435 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12437 * text2.C (setCursorIntern): put debuging code in INSETS channel
12439 2002-03-19 André Pönitz <poenitz@gmx.net>
12441 * lyxfunc.C: tiny whitespace change
12443 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12445 * ToolbarDefaults.C (init):
12446 * LyXAction.C (init):
12448 * BufferView_pimpl.C (Dispatch):
12449 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12451 2002-03-19 Allan Rae <rae@lyx.org>
12453 * exporter.C (Export): removeAutoInsets before doing anything else.
12454 While I've just introduced a dependency on BufferView this really is
12455 the best place to clean the buffer otherwise you need to cleanup in
12456 a dozen places before calling export or cleanup in a dozen functions
12459 * converter.C (runLaTeX):
12460 (scanLog): Better handling of removeAutoInsets and screen updates.
12462 * lyxfunc.C (dispatch): small whitespace changes
12464 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12466 * WorkArea.C (C_WorkAreaEvent): return a value.
12467 (event_cb): return 1 if we handled the event, 0 otherwise.
12469 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12471 2002-03-18 Juergen Vigna <jug@sad.it>
12473 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12474 (GetAdditionalWidth): ditto.
12475 (RightLine): ditto.
12478 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12479 inset if we're there actually (probably not used right now but this
12480 is the direction to go for unifying code).
12481 (paste): disable code to clear the selection.
12483 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12484 inside an InsetText and move the check further up as it is in the
12487 * text2.C (pasteSelection): set a selection over the pasted text.
12489 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12491 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12492 and libgraphics to build on Cygwin.
12494 2002-03-15 Juergen Vigna <jug@sad.it>
12496 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12497 inserting an Inset into the paragraph. I know this is not the best
12498 fix but we already use current_view in CutAndPaste so we will remove
12499 all of it's using at the same time.
12501 * buffer.C (sgmlError): deactivated function till it is rewritten in
12502 the right mode, now it can create problems.
12504 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12505 before accessing it.
12507 2002-03-14 Juergen Vigna <jug@sad.it>
12509 * undo_funcs.C (textHandleUndo): do the right thing when updating
12510 the inset after the undo/redo.
12512 * text2.C (setCursor): just some testcode for #44 not ready yet.
12514 * undo_funcs.C (textHandleUndo): set the next() and previous()
12515 pointers of the paragraph to 0 before deleting otherwise we have
12516 problems with the Paragraph::[destructor].
12518 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12519 on a paragraph insertion.
12521 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * buffer.C (asciiParagraph): use += operator for char append to
12526 * paragraph.C (getFontSettings): compare >= not just >
12527 (highestFontInRange): ditto
12530 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12532 * paragraph.C: change several algorithm to be more appripriate for
12533 the problem domain. This is lookip in FontList and in the InsetList.
12535 2002-03-13 André Pönitz <poenitz@gmx.net>
12538 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12540 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12545 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12547 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12549 * Painter.C (display): anon helper function, adjust code for this
12551 (pixmap): remove function.
12553 * Painter.h: remove private display variable.
12555 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12557 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12559 * WorkArea.[Ch]: remove figinset_canvas cruft.
12561 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * lyxtextclass.C (operator): add one item cache optimization.
12565 * bufferlist.h: doxy changes
12567 * bufferlist.C: ws changes
12569 * DepTable.[Ch] (ext_exist): place const in the right spot.
12571 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12573 (workAreaExpose): call resizeInsets when the with BufferView changes.
12574 (Dispatch): adjust for protectedBlank removal
12575 (specialChar): call updateInset if the insert went ok.
12577 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12578 specialChar instead.
12580 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12582 * BufferView.h: doxy change
12584 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12586 * lyxtextclass.C (operator[]): remove non-const version
12587 (defaultLayout): remove non-const version
12589 2002-03-12 Juergen Vigna <jug@sad.it>
12591 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12592 did resize the LyXText too.
12594 * buffer.C (readLyXformat2): set layout information on newly allocated
12597 * tabular.C (OldFormatRead): set layout information on the paragraph.
12599 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12601 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12603 2002-03-11 Juergen Vigna <jug@sad.it>
12605 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12607 (resizeCurrentBuffer): force also the insets to resize themselfes.
12608 (moveCursorUpdate): fixed up for InsetText.
12610 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12613 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12614 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12615 value of Dialogs::tooltipsEnabled().
12616 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12618 2002-03-08 Juergen Vigna <jug@sad.it>
12620 * BufferView_pimpl.C (updateInset): update inset inside inset also
12621 if it isn't inside theLockingInset().
12623 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12625 * buffer.C (asciiParagraph): redo some of the word and line length
12627 (getLists): look for Caption instead of caption.
12629 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12631 * buffer.C (Buffer): initialize niceFile to true
12633 (makeLinuxDocFile):
12634 (makeDocBookFile): make sure niceFile is true on exit
12636 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12638 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12640 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12642 * LyXSendto.C: remove.
12643 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12644 * lyx_gui.C: remove now-redundant comment.
12645 * ColorHandler.h: remove forward declaration of class WorkArea.
12646 * lyxfunc.C: remove #include "WorkArea.h".
12648 2002-03-07 Juergen Vigna <jug@sad.it>
12650 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12651 got moved away with the DEPM and also set the inset_owner always
12652 right which before could have been omitted.
12654 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12657 wanted layout is not found.
12659 2002-03-07 Juergen Vigna <jug@sad.it>
12661 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12663 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12665 * paragraph.C (breakParagraph): use default layout not layout of
12667 (Paragraph): clear ParagraphParameters.
12669 2002-03-06 Juergen Vigna <jug@sad.it>
12671 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12672 otherwise it would not be a valid lenght. Fixed a special case in
12673 the minipage compatibility read where we end the document with a
12676 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12677 was set as it could be 0 for InsetTexts first entry.
12679 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * paragraph.C (writeFile): if layout is empty write out
12682 defaultLayoutName().
12684 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12685 file without named layout we set layout to defaultLayoutName().
12687 2002-03-06 Juergen Vigna <jug@sad.it>
12689 * CutAndPaste.C (copySelection): set layout for new paragraph.
12691 * text.C (prepareToPrint): leave ERT inset left aligned
12692 (leftMargin): don't indent paragraphs inside ERT insets
12694 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12696 * paragraph.C (breakParagraph): dont call clear do the work manually
12698 * paragraph.[Ch] (clear): remove function
12700 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12702 * paragraph.C (Paragraph): dont call clear, the work has already
12705 * lyxtextclass.C (operator): assert if n is empty
12707 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12708 work manually instead.
12710 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12712 * BufferView_pimpl.C: protect selectionLost against text == 0
12714 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * text.C (breakParagraph): fix a setting layout to '0' problem.
12718 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12720 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12721 final location of file, for the included files, and graphics.
12723 2002-03-05 Juergen Vigna <jug@sad.it>
12725 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12727 2002-03-04 Juergen Vigna <jug@sad.it>
12729 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12731 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12732 last column of multicolumn cells.
12733 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12735 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12737 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12738 file if it doesn't go to a temporary file.
12740 * buffer.C (sgmlOpenTag):
12741 (sgmlCloseTag): remove extra newline insertion.
12743 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * text.C (getRowNearY): comment out debug msg
12747 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12749 * text2.C: first -> first_y
12751 * text.C (getRowNearY): add some attemts at a possible
12752 optimization, not working.
12754 * tabular.[Ch]: add BufferParams to several function so that newly
12755 created paragraph can be initialized to he default layotu for the
12758 * tabular-old.C (ReadOld): add buf->params to call of Init
12760 * screen.C: rename text->first to text->first_y
12762 * paragraph.C (breakParagraph): always set layout in the broken
12765 * lyxtextclass.C (Read): remove lowercase
12768 (delete_layout): ditto
12770 * lyxtext.h: rename first -> first_y
12772 * lyxlayout.C (Read): remove lowercase
12775 (obsoleted_by): ditto
12777 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12779 * buffer.C (insertErtContents): add params are to InsetERT
12780 (parseSingleLyXformat2Token): add code to check if a paragraphs
12781 layout really exist.
12782 (parseSingleLyXformat2Token): add params to several inset
12784 (asciiParagraph): remove lowercase, do the layout comparisons with
12787 * BufferView_pimpl.C (cursorNext): first -> first_y
12788 (resizeCurrentBuffer): first -> first_y
12789 (updateScrollbar): first -> first_y
12790 (scrollCB): first -> first_y
12791 (workAreaMotionNotify): first -> first_y
12792 (workAreaButtonPress): first -> first_y
12793 (checkInsetHit): first -> first_y
12794 (cursorPrevious): first -> first_y
12795 (cursorNext): first -> first_y
12796 (Dispatch): add buffer_->params to severl inset contructors
12798 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12800 * lyxlayout.C (Read): remove some debug info that I forgot.
12802 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12803 clean up the code slightly.
12804 (makeLinuxDocFile): ditto
12805 (makeDocBookFile): ditto
12807 * text2.C: layout as string
12809 * text.C: layout as string
12811 * paragraph_pimpl.C: layout as string
12813 * paragraph.[Ch]: layout as string
12815 * lyxtextclasslist.[Ch]: layout as string
12817 * lyxtextclass.[Ch]: layout as string
12819 * lyxtext.h: layout as string
12821 * lyxlayout.[Ch]: layout as string
12823 * lyx_cb.C: layout as string
12825 * bufferview_funcs.C: layout as string
12827 * bufferparams.C: layout as string
12829 * buffer.C: layout as string
12831 * LyXView.[Ch]: layout as string
12833 * LaTeXFeatures.[Ch]: layout as string
12835 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12837 * BufferView_pimpl.C: change current_layout to string, remove
12842 (workAreaButtonRelease): layout as string
12844 * BufferView2.C (unlockInset): adjust
12846 * vspace.C (asLatexCommand): use an explict temp variable.
12848 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12850 * Makefile.am: use FRONTEND_*
12852 2002-03-01 Juergen Vigna <jug@sad.it>
12854 * tabular.C (SetWidthOfMulticolCell): changed to something better
12855 I hope but still work in progress.
12856 (recalculateMulticolumnsOfColumn): renamed function from
12857 recalculateMulticolCells as it is more appropriate now.
12858 (SetWidthOfCell): calculate multicols better.
12860 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12862 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12864 * lyxfunc.C (processKeySym): print sequence also if it is
12865 `deleted' (complete)
12867 * kbsequence.C (print): print sequence even if it is deleted
12868 (complete would be a better word, actually).
12870 * lyxfunc.C (dispatch): print complete options after a prefix key
12872 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12874 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12876 * text2.C (setCharFont): eliminate setCharFont code duplication.
12878 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12880 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12881 LFUN_TABULAR_FEATURE (bug #177)
12883 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12885 * Makefile.am: remove figure.h
12887 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12889 * Bufferview_pimpl.C:
12901 * text2.C: remove #include "lyx_gui_misc.h".
12903 * LaTeX.C: added #include <cstdio>
12905 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12907 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12908 that the paragraph following this one can have.
12910 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12912 * vspace.C (asLatexCommand): fix bogus gcc warning
12914 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12916 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12918 * text2.C (setLayout): get rid of redundant code
12920 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12922 * text2.C (incDepth): make sure depth cannot be increased beyond
12925 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12927 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12928 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12930 * PainterBase.h (image):
12931 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12932 a LyXImage const *.
12934 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12938 * BufferView_pimpl.C:
12939 * BufferView_pimpl.h:
12959 * sp_spell.C: remove fig inset, and the crap house of
12960 cards that follows it
12962 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12967 * os2_errortable.h:
12968 * nt_defines.h: move .h into support/
12970 * vms_defines.h: remove
12972 * WorkArea.C: add space in debug output
12976 * buffer.C: add WITH_WARNINGS
12980 * bufferlist.C: s/retrive/retrieve/, add docs
12989 * chset.C: add docs
12991 * lyxgui.C: add ID to X error handler
12993 * lyxtestclass.c: fix typo
12995 2002-02-26 Juergen Vigna <jug@sad.it>
12997 * tabular_funcs.C (write_attribute): changed so that some default
12998 attributes are not written at all.
12999 (getTokenValue): set default values before trying to read the
13000 value so we have the return value always set as default if we don't
13001 find the token we search for.
13003 * tabular.C (Write): write bools as bools not as strings!
13005 2002-02-22 Juergen Vigna <jug@sad.it>
13007 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13008 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13010 * text.C (leftMargin): don't add an indent for paragraphs inside
13011 tabular cells (fix #208).
13013 2002-02-21 José Matos <jamatos@fep.up.pt>
13015 * tabular.C (docBook): fixed support for long tables.
13017 2002-02-20 Juergen Vigna <jug@sad.it>
13019 * text2.C (getFont): get the drawing font of the Inset if this
13020 paragraph is inside an inset (only important for InsetERT for now).
13022 * buffer.C (insertErtContents): use new lanugage params in ERT
13025 * CutAndPaste.C: commenting out seemingly uneeded code.
13027 2002-02-19 Allan Rae <rae@lyx.org>
13029 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13030 Iterators might be simple to use but they also get invalidated.
13031 (removeAutoInsets): renamed saved cursor tracking variables and added
13032 some comments to clarify what everything does.
13034 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13041 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13042 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13045 * vc-backend.h: remove #include "support/syscall.h"
13049 * converter.C: rearrange #includes in Lars' approved fashion.
13051 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13052 forward declare class Timeout in the header file.
13054 * XFormsView.C: changes due to the above.
13056 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13057 similar to LyXView.
13059 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13060 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13062 2002-02-18 José Matos <jamatos@fep.up.pt>
13064 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13067 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13069 * a lot of small ws changes
13070 * add a lot of using std::XXX
13071 * use std construcs some places where approp.
13072 * use some exisint stuff from lyxfunctional where approp.
13073 * Make file changes to use partial linking (lets test this now...)
13075 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13079 remove #include "support/syscontr.h" as it's redundant. Always has been.
13087 change Systemcalls::System to Systemcalls::Wait and
13088 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13089 No change of functionality, just reflects the stripped down Systemcalls
13092 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13094 * debug.[Ch]: add a GRAPHICS type to the enum.
13096 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13098 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13100 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13103 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13105 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13106 match the changes below.
13108 * text2.C (toggleInset): if there is not editable inset at cursor
13109 position, try to see if cursor is _inside_ a collapsable inset
13112 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13114 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13115 document menu has a nice checkbox
13117 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13119 * lyxlength.C (asLatexString): change PW to output as percent of
13122 * lengthcommon.C: change '%' to 't%'
13124 * lyxfunc.C (dispatch): a few comments from Martin
13126 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13130 * BufferView_pimpl.h:
13131 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13134 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13136 * vspace.C (inPixels): fix compiler warning
13138 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13140 * lyxfunc.C (getStatus): fix status message for disabled commands.
13142 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13144 * BufferView_pimpl.C: fix crash on close buffer
13145 during selection (#227)
13147 2002-01-27 Herbert Voss <voss@lyx.org>
13149 * buffer.C: link old Figure to new graphic inset
13151 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13153 * FontLoader.C (getFontinfo): Change the latex font names in order
13154 to match the names of type1inst.
13156 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13158 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13160 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13161 (extchanged): ditto
13163 (remove_files_with_extension): ditto
13164 (remove_file): ditto
13167 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13168 document is smaller than the work area height. Do not initialize
13169 static variables to 0.
13171 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13173 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13175 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13176 LFUN_LAYOUT_PARAGRAPHS.
13178 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13179 tabular. It is possible to provide a possible cell, which will
13180 typically be the actcell from the corresponding insettabular
13182 * lyxfunc.C (getStatus): small cleanup; disable
13183 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13186 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13188 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13190 * paragraph.C (startTeXParParams):
13191 (endTeXParParams): new methods. The LaTeX code to
13192 start/end paragraph formatting
13193 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13194 empty (fixes bug #200)
13196 * vspace.C (inPixels): adapt to the change below
13197 (inPixels): [later] more cleanups (remove unused variables)
13199 * lyxlength.C (inPixels): change to use a width and a height as
13202 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13204 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13205 Replaced with \paperwidth
13207 * DepTable.C (insert): add std:: qualifier
13209 2002-01-18 Allan Rae <rae@lyx.org>
13211 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13214 * text.C (drawInset): Turned out I didn't know enough about how
13215 rebreaking worked. This fixes most of the redraw problems. I see
13216 an occasional cursor trail when a line is broken now and the cursor
13217 placement can seem out by a few pixels also after a rebreak.
13219 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13221 * buffer.C (parseSingleLyXformat2Token): update because minipage
13222 width is now a LyXLength
13224 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13226 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13229 2002-01-17 Juergen Vigna <jug@sad.it>
13231 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13233 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13234 is set correctly and the inset is updated correctly.
13236 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13238 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13239 the beginning of the loop.
13241 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13243 * lyxrc.C: improve help for use_scalable_fonts
13245 2002-01-17 Allan Rae <rae@lyx.org>
13247 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13249 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13251 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13252 make sure to set their inset_owner to the right value (bug #171)
13254 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13257 * DepTable.C: Implement mtime checking to reduce time spent doing
13260 2002-01-16 Juergen Vigna <jug@sad.it>
13262 * tabular.C (GetAdditionalHeight): one of error fixed.
13264 * lyxrc.C (output): small fix in writing use_pspell.
13266 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13268 * sp_base.h: #include LString.h
13270 2002-01-16 Allan Rae <rae@lyx.org>
13272 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13273 Can someone check this please?
13275 * text.C (drawInset): It was possible that p.row would be removed by
13276 breakAgainOneRow upsetting a few other settings. There may be another
13277 small tweak possible by setting need_break_row = 0 when p.row has been
13278 removed but I don't know enough about the logic here.
13280 2002-01-15 Allan Rae <rae@lyx.org>
13282 * text.C (insertChar): removed conditional truism.
13284 * BufferView2.C (removeAutoInsets): More tweaks.
13285 cur_par_prev could be a stray pointer. Check for trailing empty line
13286 in case last line was cur_par and only had an error inset on it.
13288 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13290 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13293 * vc-backend.C (most methods):
13294 * exporter.C (Export):
13295 * converter.C (convert):
13297 * LyXSendto.C (SendtoApplyCB):
13298 * lyxfunc.C (dispatch):
13302 * lyx_cb.C (AutoSave):
13304 * BufferView_pimpl.C (MenuInsertLyXFile):
13305 * buffer.C (runChktex): use Buffer::filePath().
13307 * buffer.h: rename filename to filename_; rename filepath to
13308 filepath_ and make it private
13309 (filePath): new method
13311 * buffer.C (writeFile): use fileName()
13314 * lyx_main.C (init): fix starting of LyX when the binary is a
13315 link from so,ewhere else.
13317 * minibuffer.C: include <cctype> for isprint
13319 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13321 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13322 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13323 name clash with InsetCollapsable's width function.
13325 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13327 * lastfiles.C: include <iterator>
13329 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13331 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13334 * buffer.C (makeLaTeXFile): ditto.
13335 Also make loop operation more transparent.
13337 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13339 * ToolbarDefaults.C: remove trailing comma closing namespace.
13341 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13343 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13346 * trans.C (Load): comment out unused variable, allowed.
13348 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13350 * minibuffer.[Ch] (append_char): new method to recieve input from the
13351 drop-down completion browser. If a key was pressed, then recieve this
13352 char and append it to the existing string.
13353 (peek_event): modify the positioning data passed to the completion
13354 browser so that it can be placed above the minibuffer rather than below.
13355 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13357 * LyXAction.C (init): alloe error-next for readonly documents.
13359 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13362 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13364 * bufferlist.C (readFile): create the buffer _after_ checking that
13367 * lyxfunc.C (verboseDispatch): fix handling of arguments
13369 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13371 * lyxrc.C: use string::erase() instead of initializing to "".
13374 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13376 * BufferView_pimpl.h:
13377 * BufferView_pimpl.C:
13380 * text2.C: tell X when we have made a selection for copying
13382 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13384 * BufferView_pimpl.C (MenuInsertLyXFile):
13385 * lyxfunc.C (menuNew):
13387 (doImport): add shortcuts to directory buttons
13389 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13392 * lyxfunc.C (setStatusMessage):
13393 (getStatusMessage): new methods
13394 (getStatus):use setStatusMessage instead of setErrorMessage
13395 (dispatch): when function is disabled, set error message here
13396 [instead of in getStatus previously]
13398 * BufferView_pimpl.C (workAreaButtonRelease): update
13399 toolbar/menubar here too.
13401 2002-01-13 Allan Rae <rae@lyx.org>
13403 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13404 Now seems indestructible. Remaining task is to audit all other
13405 code affected by deleteEmptyParagraphMechanism. One small quirk
13406 left is that an empty document with an error in the preamble can
13407 be made to report an error but no error box appears. I don't know
13409 (removeAutoInsets): Improved comments.
13411 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13414 * Thesaurus.C: update for Aiksaurus 0.14
13416 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13418 * text2.C (firstParagraph): removed member function, all uses
13419 replaces with ownerParagraph
13420 (redoParagraphs): here
13421 (updateInset): here
13422 (toggleAppendix): here
13423 * BufferView2.C (insertErrors): here
13424 (setCursorFromRow): here
13426 2002-01-13 Allan Rae <rae@lyx.org>
13428 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13429 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13430 There is still a way to segfault this although you may have to do this
13431 multiple times: Have an InsetERT with an unknown command in it.
13432 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13433 <down-arrow>, <Enter> again, View->DVI, BANG!
13435 * text2.C (setCursor):
13436 (deleteEmptyParagraphMechanism):
13437 * lyxtext.h (setCursor):
13438 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13439 Making use of the return value may help fix other bugs.
13441 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13443 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13445 * LyXView.C (updateMenubar): call MenuBar::update here
13446 (updateToolbar): but not here
13447 (showState): do not update toolbar/menubar
13449 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13450 should need to care about that.
13452 * lyxfunc.C (verboseDispatch): simplify a bit
13453 (getStatus): have a version which takes a pseudoaction, and
13454 another which requires a (kb_action,string).
13456 * LyXAction.C (retrieveActionArg): make it work also when action
13457 is not a pseudo-action.
13458 (getActionName): simplify a bit
13461 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13463 * lyxfunc.C (verboseDispatch): new families of methods with
13464 several ways to specify a command and a bool to indicate whether
13465 the command name and shortcut should be displayed in minibuffer
13466 (eventually, we could extend that to a finer bitmask like
13467 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13468 (dispatch): the pristine dispatch command which just, well,
13469 dispatchs! Note it still sets its result to minibuffer; I'm not
13472 * lyxfunc.h: remove setHintMessage
13474 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13476 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13478 * BufferView_pimpl.C (specialChar): delete new inset if we have
13479 not been able to insert it.
13481 * kbmap.C: revert to using int instead of kb_action, since all we
13482 are dealing with is pseudo-actions.
13484 * LyXAction.C (searchActionArg): change to return int instead of
13485 kb_action, since the result is a pseudoaction.
13487 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13489 * buffer.C (insertErtContents): Fix (partially) the font bug.
13491 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13493 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13494 as the other one is broken on my machine!
13496 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13499 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13501 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13503 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13504 reflect their actual use. Provide compatibility code for older lyxrc
13507 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13509 change names of popup font variables in line with the changes to lyxrc.C
13511 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13513 * buffer.C (asciiParagraph): avoid outputing a word twice after
13516 * lyxrc.C (getDescription): document that document_path and
13517 template_path can be empty.
13519 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13521 * LaTeXFeatures.C (getMacros):
13522 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13524 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13526 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13528 (getPackages): rename feature "floats" to "float". Use an array to
13529 iterate over 'simple' features (i.e. just a \usepackage). Add
13530 handling of "amsmath" (renamed from "amsstyle").
13532 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13534 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13537 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13539 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13540 FuncStaus::FuncStatus & FuncStaus::some_method().
13542 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13544 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13545 of the func_satus stuff. Edited and massaged in various ways by
13548 * lyxfunc.C (getStatus): use FuncStatus
13550 2002-01-08 Juergen Vigna <jug@sad.it>
13552 * text.C (nextBreakPoint): use function Inset::isChar().
13554 * paragraph.C (TeXOnePar): use function
13555 Inset::forceDefaultParagraphs.
13557 * buffer.C (latexParagraphs): use function
13558 Inset::forceDefaultParagraphs.
13560 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13562 * lyx_gui.C (init): set the style of the menu popups to
13563 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13565 2002-01-07 Juergen Vigna <jug@sad.it>
13567 * text.C (setHeightOfRow): small fix
13568 (prepareToPrint): don't look at alignment if we don't have the place
13571 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13573 * box.C: New file. Move the Box methods and functions out of box.h,
13574 following Lars' suggestion.
13576 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13578 * box.h: #include "support/LOstream.h", needed for inlined function.
13581 * lyxtextclasslist.C: added some using std declarations.
13583 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13585 * box.h: make signed dimensions to allow insets wider than
13586 the screen (bug #162)
13588 * BufferView_pimpl.C: add some insetHit debug
13590 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13592 * vc-backend.C: add FIXME
13594 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13596 * lyxfunc.C (getStatus): enable code for showing math font status
13599 2002-01-07 Juergen Vigna <jug@sad.it>
13601 * text.C (nextBreakPoint): removed debug output not needed anymore.
13603 2002-01-06 Juergen Vigna <jug@sad.it>
13605 * text.C (nextBreakPoint): fixed up this function we had this bug
13606 since ever but now hopefully we break row better.
13607 (insertChar): we have to check if an inset is the next char as it
13608 could now happen that a large inset is causing a break.
13610 2002-01-05 Juergen Vigna <jug@sad.it>
13612 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13613 if it doesn't like to be drawed.
13615 2002-01-04 Juergen Vigna <jug@sad.it>
13617 * BufferView2.C (lockInset): forgot to set a cursor.
13619 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13621 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13623 * FormMathsPanel.C:
13626 * form_maths_panel.C:
13627 * form_maths_panel.h:
13628 * form_maths_panel.fd: implemented sub- and super- buttons in math
13631 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13632 (or ^ space) to be used as in TeX (req'd by André).
13634 * lyxfunc.C: Allow ^ and _ again to be used both as
13635 super/subscript (mathed) and as themselves (in text).
13637 2002-01-03 Allan Rae <rae@lyx.org>
13639 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13640 "LyX" or the filename of the current buffer if it has one. This is a
13641 modified form of John Levon's patch.
13643 * XFormsView.C (setWindowTitle): also set icon title.
13645 * LyXView.h (setWindowTitle): signature changed.
13646 * XFormsView.h (setWindowTitle): ditto.
13648 2002-01-02 Juergen Vigna <jug@sad.it>
13650 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13652 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13654 * screen.C (topCursorVisible): introduce a temp var for
13655 text->cursor.row(), handle the case where this row is null. (kindo
13658 * text2.C (setCursor): add a couple of asserts.
13660 * paragraph.h (inset_iterator): add -> operator
13662 * paragraph.[Ch] (autoDeleteInsets): remove member function
13664 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13665 cursor pos correctly and handle inset deletion by itself.
13666 (insertErrors): move iterator declaration out of for expression
13668 * lyxtextclass.C: add <algorithm>
13670 * Makefile.am: added the new files to sources, removed layout.C
13672 * layout.C: removed file
13674 * layout.h: remove LYX_DUMMY_LAYOUT
13676 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13680 * lyxtextclass.[Ch]:
13681 * lyxtextclasslist.[Ch]: new files
13683 * include order changes to a lot of files, also changes because of
13686 2001-12-27 Juergen Vigna <jug@sad.it>
13688 * buffer.C (asciiParagraph): more fixes.
13690 * tabular.C (ascii): make ascii export support export of only the
13691 data separated by a column-delimiter.
13692 (ascii): better support for ascii export.
13694 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13696 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13698 * tabular_funcs.C: use a "using std::getline" instead of the
13699 previous fix from Angus (necessary for cxx + lyxstring)
13701 2001-12-24 Juergen Vigna <jug@sad.it>
13703 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13705 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13706 problems. First check a minipage also if we have some ert-contents
13707 (not only on par->size(), second set the right depth of the paragraph
13708 on the relink to the root-paragraph-list!
13710 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13711 which then did not anymore update the main paragraphs on undo/redo!
13713 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13715 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13716 code. Support all font-changing funcs (even those which are not in
13717 menu currently). Support for reporting font settings in
13718 mathed (disabled until Andre provides a function on mathed's side).
13720 * func_status.h (toggle): small helper function to set toggle
13723 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13725 * tabular_funcs.C: getline -> std::getline
13727 2001-12-21 Juergen Vigna <jug@sad.it>
13729 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13730 accessed and could be 0 (I couldn't generate this but it seems
13733 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13735 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13736 * tabular_funcs.h: here and include iosfwd
13738 2001-12-20 Juergen Vigna <jug@sad.it>
13740 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13741 inside inset but undo_par was.
13743 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13745 * Thesaurus.C: always include <config.h> in sources.
13749 * box.h: do not include <config.h> in header files
13751 * text.C (paintLastRow): remove unused variable
13753 * text.C (transformChar):
13755 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13757 * Painter.C (text):
13758 * font.C (width): rewrite to use uppercase() instead of
13761 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13763 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13765 * lyxfind.C: clean up of find failure position change
13767 2001-12-20 Juergen Vigna <jug@sad.it>
13769 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13771 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13772 (TeXRow): added to LaTeX a single tabular row.
13773 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13774 (Latex): simplified and finally good LT-h/f support.
13775 (various_functions): just small adaptions for LT-h/f support.
13777 * tabular_funcs.[hC]: added and moved here all not classfunctions
13780 2001-12-19 Juergen Vigna <jug@sad.it>
13782 * tabular.[Ch]: better support for longtabular options (not finished
13785 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13787 * text.C (paintLastRow): use the label font instead of the font of
13788 the last character to compute the size of *_BOX. This makes more
13789 sense and avoids a crash with empty paragraphs.
13790 Use Painter::rectangle to draw EMPTY_BOX.
13792 2001-12-19 Juergen Vigna <jug@sad.it>
13794 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13795 the paragraphs if the replaced paragraph is not the first one!
13796 Tried to delete not used paragraphs but does not work yet so for
13797 now it's inside #ifdef's and by default off!
13799 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13801 * MenuBackend.C: include "lyx_main.h" instead of declaring
13802 lastfiles (actually was declared as LastFiles* instead of a
13805 2001-12-17 Juergen Vigna <jug@sad.it>
13807 * tabular.C (AppendColumn): applied John's fix
13809 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13813 * BufferView_pimpl.h:
13814 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13817 * box.h: new start of class for above
13819 * lyxfunc.C: ignore space-only minibuffer dispatches.
13820 Show the command name when it doesn't exist
13822 * minibuffer.C: don't add empty lines to the history
13824 * minibuffer.C: add a space on dropdown completion
13826 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13828 * text.C: fix line above/below drawing in insets
13830 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13832 * lyxlength.C (LyXLength): Initialize private variables.
13834 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13836 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13837 when inserting error insets.
13839 2001-12-13 Juergen Vigna <jug@sad.it>
13841 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13842 actually sometimes the before-paragraph.
13843 (setUndo): don't clear the redostack if we're not actually undoing!
13845 2001-12-06 Juergen Vigna <jug@sad.it>
13847 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13848 and fixed redoing of main paragraph, so we can use it now ;)
13850 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13852 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13854 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13857 2001-12-13 André Pönitz <poenitz@gmx.net>
13860 * undo_func.C: minor cleanup
13862 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13864 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13865 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13866 font in urw-fonts package which is marked as -urw-fontspecific and
13867 does not work (incidentally, changing the encoding in the
13868 fonts.dir of this package to -adobe-fontspecific fixes the
13871 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13872 is a crash when undoing first paragraph (Juergen, please take a
13873 look). THis does not mean the undo fix is wrong, just that it
13876 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13877 the (Paragraph*) version when needed instead of duplicating the
13880 * text.C (workWidth): use Inset::parOwner to find out where the
13881 inset has been inserted. This is a huge performance gain for large
13882 documents with lots of insets. If Inset::parOwner is not set, fall
13883 back on the brute force method
13885 * paragraph_pimpl.C (insertInset):
13886 * paragraph.C (Paragraph):
13887 (cutIntoMinibuffer): set parOwner of insets when
13888 inserting/removing them
13890 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13892 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13898 * mathed/formulabase.C:
13899 * mathed/math_cursor.[Ch]:
13900 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13903 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13905 * lyxlength.[Ch] (operator!=): new function
13907 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13909 * text.C (workWidth): use Inset::parOwner to find out where the
13910 inset has been inserted. This is a huge performance gain for large
13911 documents with lots of insets. If Inset::parOwner is not set, fall
13912 back on the brute force method
13914 * paragraph_pimpl.C (insertInset):
13915 * paragraph.C (Paragraph):
13916 (cutIntoMinibuffer): set parOwner of insets when
13917 inserting/removing them
13919 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13921 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13923 * tabular-old.C (getTokenValue):
13924 * tabular.C (getTokenValue):
13925 (write_attribute): new versions for LyXLength
13926 (everywhere): adjust the use of widths
13928 * tabular.h: change the type of widths from string to LyXLength
13930 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13932 * paragraph.C: fixed missing line number count when exporting
13933 Environments to LaTeX file
13935 * buffer.C: added informational message for checking line numbers.
13937 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13939 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13940 paragraph, do the 'double space' part, but not the 'empty
13943 * text.C (workWidth): small optimization
13944 (getLengthMarkerHeight): use minimal size for negative lengths.
13946 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13948 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13950 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13952 2001-12-11 André Pönitz <poenitz@gmx.net>
13955 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13957 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13959 * text2.C: keep selection on a setFont()
13961 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13963 * lyx_cb.C: another bv->text misuse, from insert label
13965 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13968 * kbsequence.C: re-instate nmodifier mask
13970 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13972 * lyx_main.h: make lyxGUI private.
13974 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13976 * lyxfind.C: place the cursor correctly on failed search
13978 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13980 * text.C (getLengthMarkerHeight): for small heights, the arrows
13981 are not always on top/bottom of the text
13982 (drawLengthMarker): smaller arrows; take the left margin in
13983 account; draw also vfills.
13985 (paintLastRow): remove special code for vfill and standard spaces,
13986 since everything is handled in drawLengthMarker now.
13988 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13990 * buffer.C (insertErtContents): try to handle font and language
13991 interaction a bit better.g
13993 * ColorHandler.C (updateColor): change the hash to cover the whole
13994 LColor enum, ws cleanup
13995 (getGCLinepars): ditto
13996 (getGCLinepars): only lookup in the linecache once.
13998 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14000 * iterators.C (operator++): Make the iterator more robust
14002 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14004 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14006 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14009 * text.C: better added space drawing
14011 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14014 * BufferView2.C: fix layout combo update on inset unlock
14016 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14018 * Makefile.am: don't compile unused files
14020 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14024 * LyXAction.C: remove old LFUN_LAYOUTNO
14026 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14028 * paragraph_pimpl.h:
14029 * paragraph_pimpl.C: isTextAt() doesn't need font param
14031 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14034 * lyxlex.C: little cleanup
14036 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14038 * BufferView_pimpl.C: fix insertAscii for insets
14040 2001-12-05 Juergen Vigna <jug@sad.it>
14042 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14043 set the right font on the "multi" paragraph paste!
14045 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14051 * lyxlength.C: remove out-commented code.
14053 * BufferView_pimpl:
14067 * vc-backend.C: change "while(" to "while ("
14069 * lyxlength.[Ch]: add zero function to check if length is zero or
14071 * lyxgluelength.C: use it
14073 2001-12-05 Allan Rae <rae@lyx.org>
14075 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14076 Works for 2.95.3, from what I understand of Garst's reports this should
14077 work for other g++ versions. We're screwed if the abs(int) definition
14078 changed between bugfix releases of gcc.
14080 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14082 * text.C: fix chapter label offset !
14084 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14087 * text.C: fix hfill at end of line, clean up
14089 2001-12-04 Juergen Vigna <jug@sad.it>
14091 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14092 that we force an update of the inset and it's owners if neccessary.
14094 2001-12-03 Juergen Vigna <jug@sad.it>
14096 * text.C (rowLast): simplified code
14098 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14100 * lyxfunc.C: fix show options on timeout
14102 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14104 * screen.C (topCursorVisible): scroll half a page when the cursor
14105 reached top of bottom of screen
14107 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14109 * minibuffer.C: deactivate on loss of focus
14111 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14113 * vspace.[Ch] (operator!=): add operator.
14115 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14117 * BufferView_pimpl.C: refuse to open an inset when
14118 there's a selection.
14120 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14122 * BufferView_pimpl.C: allow to click on RHS of full row insets
14124 2001-11-30 Juergen Vigna <jug@sad.it>
14126 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14127 insets for undo reasons.
14129 2001-11-28 André Pönitz <poenitz@gmx.net>
14131 * vspace.[Ch]: cosmetical changes
14133 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14143 * kbsequence.C: part re-write of old kb code
14146 * WorkArea.C: remove Lgb_bug_find_hack
14148 2001-11-30 José Matos <jamatos@fep.up.pt>
14150 * buffer.C (makeDocBookFile): add a comment to point a hack.
14151 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14152 Fixed a double write of labels.
14154 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14157 * LaTeX.h Fixed bug in LaTeX class where it would not
14158 re-run latex if no depfiles were changed, but the .dvi was removed.
14160 2001-11-28 André Pönitz <poenitz@gmx.net>
14162 * all the files from the change on 2001/11/26:
14163 use lyx::layout_type instead of LyXTextClass::size_type
14164 use lyx::textclass_type instead of LyXTextClassList::size_type
14166 2001-11-29 Juergen Vigna <jug@sad.it>
14168 * text.C: added support for paragraph::isFreeSpacing()
14170 * buffer.C: same as above
14172 * paragraph.h: inserted isFreeSpacing() function to enable
14173 FreeSpacing inside InsetERT.
14175 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14176 of the paragraph's in the cut/copy buffer to 0!
14178 * text2.C (removeRow): remove the assert as it can!
14180 * lyxtext.h: added helper function firstRow returning firstrow and
14181 made firstrow private again.
14183 * BufferView2.C (lockInset): don't relock if we're already locked!
14185 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14186 the only paragraph.
14187 (removeRow): added Assert::(firstrow)
14189 * debug.C: forgot to add INSETTEXT here.
14191 2001-11-28 Juergen Vigna <jug@sad.it>
14193 * sp_spell.C (initialize): changed error text to more general
14194 spellchecker command use (not only ispell!)
14196 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14198 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14200 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14202 * vspace.C: initialise lyxgluelength on failure
14204 2001-11-28 Allan Rae <rae@lyx.org>
14206 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14207 declaration & definition that looks like a function declaration.
14209 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * BufferView2.C (copy):
14212 (copyEnvironment): do not clear the selection when doing a copy.
14214 * text.C (paintFirstRow): compilation fix
14216 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14218 * tabular.C (Latex): correct line count when writing latex.
14220 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14222 * paragraph_pimpl.h:
14223 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14226 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14230 * LColor.C: change vfillline->added_space
14232 * text.C: add markers and text for added space
14234 * vspace.C: fix comment
14236 2001-11-28 André Pönitz <poenitz@gmx.net>
14238 * paragraph.C: whitespace changes
14239 * all the other files from the change on 2001/11/26:
14240 change *::pos_type into lyx::pos_type
14242 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14244 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14245 language of the document when inserting error insets.
14247 2001-11-26 André Pönitz <poenitz@gmx.net>
14249 * BufferView_pimpl.[Ch]:
14257 * paragraph_pimpl.[Ch]:
14260 * text2.C: reduce header dependencies, introduce type for positions
14262 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14264 * <various>: change to use Alert.h
14266 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14268 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14269 when encountering an unknown token.
14270 (readLyXformat2): Show an error message if there were unknown tokens.
14272 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14275 * BufferView_pimpl.C:
14279 * text2.C: use par->isInset()
14281 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14283 * paragraph_pimpl.h:
14284 * paragraph_pimpl.C: cleanup
14286 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14288 * text2.C (removeRow):
14289 * text.C (setHeightOfRow): remove useless (and costly) call to
14292 2001-11-20 Allan Rae <rae@lyx.org>
14294 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14295 Now need Inset*::checkInsertChar() to return true for appropriate
14296 cases so that the characters in the minibuffer will actually be
14299 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14301 * text.C: change the order of the includes.
14302 (workWidth): initialize it at once.
14303 (workWidth): make maxw unsigned
14304 (setHeightOfRow): remove unused variable (inset)
14305 (selectSelectedWord): remove unused variable (inset)
14306 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14308 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14310 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14311 server is not running.
14313 (closeConnection): add debug info when server is disabled.
14315 * ColorHandler.C (getGCForeground): send debug message to GUI
14318 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14320 * kbmap.C (bind): modify because return conventions of
14321 kb_sequence::parse have changed.
14323 * kbsequence.C (parse): only ignore spaces and not any stupid
14324 control character. This avoids tests like s[i] <= ' ', which are
14325 guaranteed to fail with 8bit characters and signed chars.
14326 Change return code to string::npos when there have been no error
14327 (0 was a bad idea when error is at first character)
14329 2001-11-14 José Matos <jamatos@fep.up.pt>
14332 * buffer.C (simpleDocBookOnePar): removed unused argument.
14334 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14336 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14337 insets which are part of a word. Paragraph::isLetter takes care of
14338 that now. Use Paragraph::isInset to identify insets.
14339 (selectSelectedWord): do not test for hyphenation break.
14341 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14342 that protected spaces are considered as spaces.
14344 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14347 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14350 * lyxserver.C: fix it. and small cleanup.
14352 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14354 * BufferView_pimpl.C: use inline helpers
14357 * LaTeXFeatures.C: fix typos
14360 * Spacing.C: move spacing_string into class
14362 * ToolbarDefaults.C: move stuff into namespace anon
14364 * layout.h: update enum
14366 * lyxfunc.C: use better debug
14368 * minibuffer.h: fix typo
14372 * WorkArea.C: add and use Debug::WORKAREA
14376 * text2.C: code re-organisation, inline helpers
14378 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14380 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14381 std::vector.empty().
14383 2001-11-09 Allan Rae <rae@lyx.org>
14385 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14386 '\n's after tables. Tabular and ERT inset work now makes this no
14389 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14392 * minibuffer.C: fix crash, improve drop-down completion
14394 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14397 * lyxserver.C: invalidate fd's when doing endPipe()
14399 2001-11-08 José Matos <jamatos@fep.up.pt>
14401 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14402 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14405 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14407 2001-11-07 José Matos <jamatos@fep.up.pt>
14410 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14413 * buffer.C (sgmlOpenTag):
14414 * buffer.C (sgmlCloseTag): removed debug info.
14416 * buffer.h (sgmlOpenTag):
14417 * buffer.h (sgmlCloseTag): made public.
14419 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14421 * buffer.C (saveParamsAsDefaults):
14422 * lyx_cb.C (MenuLayoutSave): remove
14424 * LyXAction.C (init):
14426 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14428 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14430 * buffer.C (setPaperStuff): removed from here...
14432 * bufferparams.C (setPaperStuff): ... and moved there.
14434 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14438 * XFormsView.C: add support for drop-down completion
14440 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14442 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14445 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14447 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14450 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14452 * lyx_main.C: change ref to known bugs
14454 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14456 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14457 to work around older babel problems.
14459 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14461 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14463 2001-10-24 Juergen Vigna <jug@sad.it>
14465 * tabular-old.C (ReadOld): below variable changes reflected.
14467 * tabular.[Ch]: added ltType struct for longtable header/footer
14468 defines and changed all instances where they are used. Added
14469 future support for double top/bottom rows.
14471 2001-10-24 José Matos <jamatos@fep.up.pt>
14473 * buffer.h (docbookHandleCaption):
14474 * buffer.C (docbookHandleCaption): removed unused function.
14475 (makeDocBookFile): moved docbook supported version to v4.1.
14477 2001-10-24 José Matos <jamatos@fep.up.pt>
14480 * tabular.C (docbookRow): new function to export docbook code of a row.
14481 (DocBook): now honors the longtable flags.
14483 2001-10-23 José Matos <jamatos@fep.up.pt>
14486 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14487 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14489 * buffer.C (makeLinuxDocFile):
14490 (makeDocBookFile): reworked the preamble, more clean, and with
14491 support for lyx defined entities. Changed the document declaration
14492 to be more XML friendly.
14494 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14495 if we need to output XML that should be done with a filter.
14497 2001-10-22 Juergen Vigna <jug@sad.it>
14499 * sp_pspell.h (class PSpell): add alive function needed in the
14500 controller to see if the spellchecker could be started.
14502 2001-10-22 Juergen Vigna <jug@sad.it>
14504 * buffer.C (insertStringAsLines): modify the font for inserting
14505 chars in certain conditions by calling checkInsertChar(font).
14507 2001-10-19 Juergen Vigna <jug@sad.it>
14509 * text.C (workWidth): use getRow instead of wrong algorithm.
14510 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14512 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14517 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14519 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14521 * text.C (workWidth): do not search for the exact row when
14522 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14523 optimization for big documents.
14525 2001-10-18 Juergen Vigna <jug@sad.it>
14527 * text.C (workWidth): new function with added Inset * parameter.
14529 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14531 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14533 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14534 change return type of getColumnNearX.
14537 * text.C (changeRegionCase): use uppercase/lowercase instead of
14540 (rightMargin): simplify code by factoring out the uses of
14545 (appendParagraph): use Paragraph::size_type
14547 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14549 * vspace.C (asLatexString): add a missing break
14551 2001-10-15 Herbert Voss <voss@perce.de>
14553 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14555 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14557 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14560 2001-10-10 André Pönitz <poenitz@gmx.net>
14562 * lyxfunc.C: removed greek_kb_flag.
14564 2001-10-10 Herbert Voss <voss@perce.de>
14566 * lyx_main.C: delete global string help_lyxdir.
14568 2001-10-09 Herbert Voss <voss@perce.de>
14570 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14572 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14574 * lyx_main.C: added global string help_lyxdir.
14576 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14578 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14580 * lyxrc.C (set_font_norm_type): support iso8859-4
14582 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14584 * LaTeX.C (deplog): add another regex for MikTeX
14586 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14588 * lyxrc.C (set_font_norm_type): support iso8859-3
14590 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14592 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14594 * LaTeXFeatures.C: remove special case of french and index
14596 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14597 before \begin{document}). This solves several incompatibilities.
14599 2001-10-03 Garst Reese <reese@isn.net>
14601 * lyx_cb.C: change CheckTex error msg.
14603 2001-10-03 José Matos <jamatos@fep.up.pt>
14605 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14607 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14609 * .cvsignore: update
14611 * lyx_main.C (commandLineVersionInfo): use new style version info.
14613 * buffer.C (writeFile):
14615 (makeLinuxDocFile):
14616 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14618 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14620 * version.h: update to use stuff in version.C
14622 * version.C.in: new file. Contains version information determined
14623 at compile time. This is a merging of version.h and
14626 2001-10-03 Juergen Vigna <jug@sad.it>
14628 * BufferView_pimpl.C (update): don't change "dirty" status in
14631 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14633 * WorkArea.C (c-tor): re-position version string slightly.
14635 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14637 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14638 revert to previous code.
14640 WorkArea.[Ch]: (show, destroySplash): methods removed.
14642 WorkArea.C: rework code so that it's an amalgam of the codes before and
14643 after the splash screen was moved to WorkArea.
14645 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14648 * vspace.C (inPixels):
14651 * buffer.C (insertStringAsLines):
14652 (asciiParagraph): fix types to be large enough
14654 * lyxlex_pimpl.h: change member status from short to int
14656 * layout.h: fix type of endlabeltype
14659 * kbsequence.C (parse): change return type to string::size_type
14661 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14664 * Bullet.C (bulletSize):
14665 (bulletEntry): do not use short ints as parameters
14667 * BufferView2.C (insertLyXFile): change a char to an int.
14669 * WorkArea.C (WorkArea): remove unneeded floats in computation
14671 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14673 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14675 * paragraph.C (asString): Do not ignore newline/hfill chars when
14676 copying to the clipboard.
14678 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14680 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14681 after a multi-line inset.
14683 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14685 * paragraph.C (validate): Set NeedLyXFootnoteCode
14687 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14689 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14690 and decrease-error to decrease.
14692 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14694 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14695 it more readable (should be equivalent)
14697 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14699 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14701 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14704 of a cursor (row, etc.) after a character has been deleted
14705 (deleteEmptyParagraphMechanism): call the method above on _all_
14706 cursors held by the LyXText when a double space has been
14709 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14711 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14713 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14715 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14716 background. Use greyOut() and the new show() methods to toggle between
14717 the foreground and background. Add code to remove the splash after
14718 its initial showing.
14720 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14721 (create_forms): no longer call Dialogs::showSplash.
14723 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14725 * .cvsignore: add version_info.h
14727 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14729 * version_info.h.in: new file
14731 * Makefile.am: add version_info.h.in
14733 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14734 version_info.h instead of VERSION_INFO
14736 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14738 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14739 The ERT inset now returns string().
14741 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14743 * lyxtext.h, text.C (selectNextWord): renamed as
14744 selectNextWordToSpellcheck.
14746 * text.C (selectNextWordToSpellcheck): Modified to not select
14747 words inside an ERT inset.
14749 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14751 * lyx_cb.C (MenuLayoutSave): change a bit the question
14753 * sp_base.h: include <sys/types.h>
14755 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14757 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14759 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14761 * several files: fix typos in user-visible strings
14763 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14765 * text2.C (pasteSelection): do not set the selection, since it
14766 will be cleared later. Actually, the intent was to fix the way the
14767 selection was set, but I figured rmoving the code was just as good.
14769 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14771 * FontLoader.C (available): Check if font is available without
14774 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14776 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14778 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14780 * lyxrc.[Ch]: added display_graphics variable and associated code.
14782 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14784 * bufferparams.C (hasClassDefaults): new method. Returns true if
14785 the buffer parameters correspond to known class defaults
14787 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14789 * XFormsView.C (show): set minimum size to the main window.
14791 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14793 * text2.C (copySelection):
14795 * lyxfind.C (LyXReplace):
14796 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14797 LyXText::selectionAsString.
14799 * paragraph.C (asString): add "label" argument to the second form
14801 * text2.C (selectionAsString): add "label" argument and pass it to
14802 Paragraph::asString.
14804 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14806 * lyx_main.C (commandLineHelp): remove version information
14808 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14810 * lyx_main.C: add -version commandline option
14812 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14814 * paragraph.h: make the optional constructor arg required instead.
14815 some modifications to other files because of this.
14817 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14819 * lyxserver.C (C_LyXComm_callback): make it static
14821 * lyx_main.C (error_handler): make it static
14823 * lyx_gui.C (LyX_XErrHandler): make it static
14825 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14827 * WorkArea.C: make the extern "C" methods static.
14829 * Makefile.am (lyx_LDADD): simplify
14831 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14833 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14834 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14836 * LyXAction.C (init):
14837 * lyxfunc.C (dispatch): associated code removal.
14839 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14841 * lyxfont.h (isSymbolFont): shut off warning
14843 * text.C (setHeightOfRow):
14844 (getVisibleRow): fix crash with empty paragraphs which have a
14847 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14849 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14852 2001-09-04 José Matos <jamatos@fep.up.pt>
14855 * tabular.C (docbook): rename docBook method to docbook.
14857 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14859 * Makefile.am: add dependencies to main.o.
14861 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14863 * FontLoader.C (available): Return false if !lyxrc.use_gui
14865 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14867 * FontInfo.C (query):
14868 * converter.C (view):
14869 * importer.C (Import):
14870 * exporter.C (Export): Can not -> cannot.
14872 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14874 * BufferView_pimpl.C: allow to create index inset even if
14877 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14879 * buffer.C (getLists): replace boost::tie code with an explicit pair
14880 as boost::tie can break some compilers.
14882 * iterators.h: Added a std:: declaration to the return type of
14885 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14887 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14890 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14892 * iterators.[Ch]: New files. Provide paragraph iterators.
14894 * buffer.C (changeLanguage): Use paragraph iterators.
14895 (isMultiLingual): ditto
14897 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14899 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14901 * FontLoader.C: Support for cmr font.
14903 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14905 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14906 (available): New method.
14908 * FontInfo.C (getFontname): Use scalable fonts even when
14909 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14912 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14914 * converter.C (Formats::view): reverted! Incorrect fix.
14916 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14918 * converter.C (Formats::view): only output the -paper option
14919 if the dvi viewer is xdvi, thereby fixing bug #233429.
14921 2001-08-23 Herbert Voss <voss@perce>
14923 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14925 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14927 * Spacing.h (Spacing): Set space to Default on in the default
14930 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14932 * vc-backend.h (RCS::versionString): add RCS to version
14933 (CVS::versionString): add CVS to version
14935 * vc-backend.C (scanMaster): do not add CVS to version.
14936 (scanMaster): do not add RCS to version
14938 * lyxvc.C (versionString): new method
14940 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14942 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14944 * Spacing.C (set): initialize fval
14946 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14948 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14951 2001-08-16 Juergen Vigna <jug@sad.it>
14953 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14955 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14957 * BufferView_pimpl.C:
14960 * text2.C: setParagraph takes linespacing now
14962 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14964 * LyxAction.C: add internal LFUN_CITATION_INSERT
14966 * LyXView.C: actually apply fix
14968 * bufferlist.C: fix open non-existent file
14970 * lyxfind.C: fix indentation
14972 * lyxfunc.C: remove unneeded assert, fix typo
14974 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14976 * MenuBackend.C: use "Floatname List"
14978 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14980 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14981 when converting LaTeX layout to insetERT.
14982 Generate a non-collapsed float when reading old float
14984 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14986 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14989 2001-08-13 Juergen Vigna <jug@sad.it>
14991 * text.C (fill): return 0 instead of 20 as this seems to be the more
14994 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14996 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14999 2001-08-13 Juergen Vigna <jug@sad.it>
15001 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15003 (SearchBackward): comment out the unlocking of the inset_owner this
15004 should not be needed!
15006 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15008 * Many files: Remove inherit_language, and add latex_language
15010 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15011 collapsible insets.
15013 2001-08-10 Juergen Vigna <jug@sad.it>
15015 * text.C (prepareToPrint): fixed hfill-width in draw!
15017 * BufferView2.C (selectLastWord): save the selection cursor as this
15018 now is cleared in the function LyXText::clearSelection!
15020 2001-08-08 Juergen Vigna <jug@sad.it>
15022 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15023 BACKSPACE type functions.
15025 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15026 is only cutted from the document but not put in the cut-buffer, where
15027 still the old stuff should be.
15029 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15031 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15033 * tabular.C (SetWidthOfCell): fixed special case where the width
15035 (LeftLine): handle '|' in align_special.
15037 (LeftAlreadyDrawed): ditto
15038 (SetWidthOfCell): ditto
15040 2001-08-07 Juergen Vigna <jug@sad.it>
15042 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15044 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15046 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15047 * lyxlex.[hC]: ditto
15049 2001-08-06 Juergen Vigna <jug@sad.it>
15051 * text.C (getVisibleRow): fix up row clearing a bit.
15053 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15055 * minibuffer.C: make sure the X server sees the changes in the input.
15057 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15059 * paragraph.C (getFont): split into...
15060 (getLabelFont): this
15061 (getLayoutFont): and this
15062 * paragraph_pimpl.C (realizeFont): calling this
15064 * text2.C (getFont): split into...
15065 (getLayoutFont): this
15066 (getLabelFont): and this
15067 (realizeFont): all three calling this
15069 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15072 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15074 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15076 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15078 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15079 layouts from the Quote inset insertion.
15081 2001-08-03 Juergen Vigna <jug@sad.it>
15083 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15085 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15086 only if status not is already CHANGED_IN_DRAW (second level).
15088 * text.C (draw): don't set the need_break_row when inside an
15091 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15093 * buffer.C (parseSingleLyXformat2Token): handle more latex
15096 * bufferview_funcs.[hC]: change function names to
15097 begin with small char, adjust other files.
15099 2001-08-02 André Pönitz <poenitz@gmx.net>
15102 BufferView_pimpl.C: remove broken special code for math-greek
15104 2001-08-02 Juergen Vigna <jug@sad.it>
15106 * BufferView_pimpl.C (update): redone this function so that we
15107 update the text again if there was a CHANGE_IN_DRAW.
15109 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15110 (drawFromTo): added a new internal bool which is used by draw() and
15112 (general): some cursor drawing problems fixed.
15114 2001-08-01 Juergen Vigna <jug@sad.it>
15116 * lyxfind.C (LyXFind): fixed
15117 (SearchForward): ditto
15118 (SearchBackward): ditto
15120 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15121 spurius drawing of the cursor in the main area.
15123 * text2.C (status): small fix which could lead to a segfault!
15124 (clearSelection): remove unneeded BufferView param.
15126 2001-08-01 André Pönitz <poenitz@gmx.net>
15128 * lyxfunc.C: small change due to changed mathed interface
15130 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15132 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15134 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15136 * lyxfunc.c: fail gracefully if file doesn't exist
15141 * BufferView_pimpl.C: IsDirWriteable() proto changed
15143 * LyXView.C: fix updateWindowTitle() to store the last title
15145 2001-07-31 Juergen Vigna <jug@sad.it>
15147 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15148 the font (wrong since using of Paragraph::highestFontInRange).
15150 * paragraph.C (highestFontInRange): added a default_size parameter.
15152 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15153 (setHeightOfRow): reformat
15155 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15157 * converter.[hC] + affected files: move to (inital-char)lowercase
15160 * ParagraphParameters.C (ParagraphParameters): remove commented code
15162 * PainterBase.[Ch]: remove commented code
15164 * LaTeXFeatures.h: add "bool floats" for float.sty
15166 * LaTeXFeatures.C (LaTeXFeatures): init floats
15167 (require): handle float
15168 (getPackages): do it with floats
15170 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * BufferView_pimpl.C (Dispatch): improve handling of
15173 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15175 * commandtags.h: #include lyxfont.h here temporarily to avoid
15178 * bufferlist.h: include LString.h here.
15180 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15182 * text2.C (getStringToIndex): new method.
15184 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15186 * *: Reduced header file dependencies all over.
15188 2001-07-30 Baruch Even <baruch@lyx.org>
15190 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15192 2001-07-29 Baruch Even <baruch@lyx.org>
15194 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15196 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15198 * ParameterStruct.h (endif): add a default constructor to make
15199 sure that all variables is initialized.
15201 * ParagraphParameters.C (ParagraphParameters): adjust
15203 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15205 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15206 index; also, check that there is something to index, and that it
15207 does not span over several paragraphs.
15208 (doubleClick): use WHOLE_WORD_STRICT for double click.
15210 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15212 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15215 2001-07-26 Baruch Even <baruch@lyx.org>
15217 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15218 an InsetFig figure, backwards compatible reading of old figure code.
15220 2001-07-27 Juergen Vigna <jug@sad.it>
15222 * text2.C: font.realize function adaption.
15224 * text.C (draw): add a warnings lyxerr text if needed.
15226 * layout.C: font.realize function adaption.
15228 * language.C: add inherit_language and implement it's handlings
15230 * bufferview_funcs.C (StyleReset): remove language parameter from
15231 font creation (should be language_inherit now).
15233 * bufferparams.C (writeFile): handle ignore_language.
15235 * paragraph.C (getFontSettings): the language has to be resolved
15236 otherwise we have problems in LyXFont!
15238 * lyxfont.C (lyxWriteChanges): added document_language parameter
15239 (update): removed unneeded language parameter
15241 * paragraph.C (validate): fixed wrong output of color-package when
15242 using interface colors for certain fonts in certain environments,
15243 which should not seen as that on the final output.
15245 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15247 * BufferView_pimpl.C:
15252 * LyXAction.C: add thesaurus support
15255 * lyxfind.C: add "once" parameter, for thesaurus, to not
15256 move to the next match
15258 2001-07-26 Juergen Vigna <jug@sad.it>
15260 * lyxfont.C (realize): honor ignore_language too!
15263 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15265 * text.C (draw): one place more for ignore_language to not draw
15268 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15270 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15272 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15274 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15275 the minipage conversion problem.
15277 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15279 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15282 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15284 * BufferView.h: don't forward declare WorkArea
15286 * BufferView.C: don't include WorkArea.h
15288 2001-07-25 André Pönitz <poenitz@gmx.net>
15292 * lyxfunc.C: new LFUN 'math-space'
15294 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15296 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15298 * text2.C (toggleInset): call open/close
15300 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15302 * lyxfunc.C (dispatch): add debug for the disabled case
15304 * font.C (buttonText): make similar to rectText
15306 * buffer.C (readInset): comment out parsing of insetlist and
15309 * PainterBase.C (rectText): small correction
15311 * BufferView_pimpl.C: comment out insettheorem and insetlist
15312 * LyXAction.C: ditto
15313 * commandtags.h: ditto
15315 2001-07-24 Juergen Vigna <jug@sad.it>
15317 * text.C (draw): honor the ignore_language.
15319 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15321 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15323 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15326 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15328 * lyxtext.h: remove unused (and unimplemented) methods
15330 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15332 * text.C (getVisibleRow): honor background color
15335 * Painter.h: remove default color argument for fillRectangle
15337 * text.C (backgroundColor): new method
15339 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15341 * text.C (getVisibleRow): adjust
15343 * font.[Ch] (rectText): new method, metrics
15344 (buttonText): new method, metrics
15346 * PainterBase.[hC]: make rectText and buttonText always draw and take
15349 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15351 * ToolbarDefaults.C (read):
15352 * MenuBackend.C (read): allow escaping in all strings
15354 * BufferView_pimpl.C (insertAndEditInset): new method.
15355 (Dispatch): use insertAndEditInset whenever appropriate.
15357 * BufferView_pimpl.C (insertNote): removed
15359 * BufferView_pimpl.C (smartQuote): new method, moved from
15360 BufferView; if an insetquote cannot be inserted, insert a '"'
15363 * BufferView2.C: remove insertCorrectQuote();
15365 * lyxfunc.C (getStatus): Add support for all remaingin
15366 inset-insert lfuns.
15368 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15370 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15371 command (necessary to pass " as parameter of self-insert.
15373 * text.C (selectWordWhenUnderCursor):
15374 (selectWord): add word_location parameter
15375 (selectWordWhenUnderCursor): same + remove special code for word
15377 (selectNextWord): use kind() to guess type of insetspecialchar,
15380 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15381 (insertErtContents): create ert insets as collapsed.
15382 (readInset): better compatibility code for Info inset.
15384 2001-07-20 Juergen Vigna <jug@sad.it>
15386 * lyxfunc.C (dispatch): use always LyXFind now!
15388 * text2.C (init): add a reinit flag so that the LyXText can be
15389 reinited instead of deleted and reallocated (used in InsetText).
15391 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15397 2001-07-18 Juergen Vigna <jug@sad.it>
15399 * text.C (selectNextWord): handle insets inside inset by calling
15400 always the bv->text functions so that we can go up the_locking_inset!
15402 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15403 in strange locations when inside an inset!
15405 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15406 handling to include insets.
15408 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15410 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15412 * LyXAction.C (init):
15414 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15415 LIGATURE_BREAK, since the name is so stupid.
15417 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15419 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15422 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15424 * sp_form.[Ch]: remove.
15426 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15428 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15431 * src/buffer.C (readInset): ditto.
15433 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15435 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15436 menuSeparator(), endOfSentenceDot(), ldots() and
15437 hyphenationPoint(), which are therefore removed.
15438 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15440 * LyXAction.C (init):
15441 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15443 * paragraph.C (getWord): removed.
15445 * BufferView_pimpl.C (Dispatch): use last word or selection for
15446 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15448 * lyx_main.C (queryUserLyXDir): do not ask before creating
15449 user_dir, except if it has been named explicitely.
15451 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15453 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15454 a document of zero size.
15456 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15458 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15459 approriately in the c-tor and in require().
15460 (getPackages): output the appropriate LaTeX for natbib support.
15462 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15463 variables "use_natbib" and "use_numerical_citations" when reading the
15465 (readInset): read the various natbib cite commands.
15466 (validate): white-space change.
15468 * bufferparams.[Ch]: new variables "bool use_natbib" and
15469 "bool use_numerical_citations".
15470 (writeFile): output them in the LyX file.
15472 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15474 * lyxfunc.C (getStatus): add support for all the inset insertion
15477 * text2.C (insertInset):
15478 * paragraph.C (insetAllowed):
15479 * BufferView_pimpl.C (insertInset): update to take in account the
15480 renaming of insertInsetAllowed
15482 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15484 * text2.C (getInset): new method. returns inset at cursor position.
15486 * BufferView_pimpl.C (Dispatch): changes because of this.
15488 * LyXAction.C (init): rename open-stuff to inset-toggle.
15490 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15492 * text2.C (toggleInset): renamed from openStuff; use
15495 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15497 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15499 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15501 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15503 * buffer.C (readLyXformat2): Add filename to the error dialog
15505 2001-07-18 Juergen Vigna <jug@sad.it>
15507 * tabular.C (GetCellNumber): put an assert here instead of the check!
15509 2001-07-17 Juergen Vigna <jug@sad.it>
15511 * BufferView_pimpl.C (toggleSelection): adapted too.
15513 * text.C (selectNextWord): adapted for use with insets.
15514 (selectSelectedWord): ditto
15516 2001-07-17 Juergen Vigna <jug@sad.it>
15518 * sp_spell.C (PSpell): fix initialitation order.
15520 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15522 * paragraph.C: spacing
15524 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15526 * sp_spell.C: repair language selection for pspell
15528 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15530 * lyxfunc.h: change more methods to begin with lower char.
15532 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15534 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15535 for unknown layouts.
15537 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15539 * buffer.C (readLyXformat2): Generate an error dialog if there are
15542 2001-07-16 Juergen Vigna <jug@sad.it>
15544 * sp_spell.C: always compile ISpell part.
15546 * lyxrc.C: added use_pspell entry and it's handling.
15548 2001-07-13 Juergen Vigna <jug@sad.it>
15550 * sp_spell.C: removed double includes.
15552 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15554 Consistent use of Lsstream.h:
15555 * Lsstream.h: added using std::stringstream for consistencies sake.
15557 * buffer.C: removed using std::stringstream
15559 * lyxfont.C (stateText):
15560 * paragraph.C (asString):
15561 * text.C (selectNextWord, selectSelectedWord):
15562 * text2.C (setCounter):
15563 * vspace.C (asString, asLatexString):
15564 std::ostringstream -> ostringstream.
15566 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15568 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15569 * commandtags.h: add LFUN_HELP_ABOUTLYX
15570 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15572 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15574 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15576 * lyx_gui_misc.C: remove spellchecker
15577 * lyxfunc.C: showSpellchecker
15579 * sp_ispell.h: added
15580 * sp_pspell.h: added
15581 * sp_spell.C: added
15582 * sp_form.[Ch]: removed
15583 * spellchecker.[Ch]: removed
15585 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15587 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15589 (simpleTeXSpecialChars): Simply print the input character without
15590 any special translation if pass_thru is set.
15592 * layout.h: Added bool pass_thru to layout class for being able to
15593 implement pass through of a paragraph for Literate Programming.
15595 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15596 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15597 * layout.C (Read): add "passthru" to list of layout tags and add
15598 code to set the pass_thru boolean when it is read.
15600 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15602 * trans_decl.h: remove allowed from KmodInfo
15604 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15605 remove allowed code
15608 * paragraph_pimpl.C (erase): use boost::prior
15610 * Painter.C (text): use data() instead of c_str() when length is
15612 * WorkArea.C (putClipboard): ditto
15613 * font.h (width): ditto
15615 * BufferView2.C: use it-> instead of (*it). for iterators
15617 * paragraph_pimpl.C: ditto
15618 * paragraph.C: ditto
15619 * minibuffer.C: ditto
15620 * language.C: ditto
15622 * encoding.C: ditto
15623 * counters.C: ditto
15624 * converter.C: ditto
15626 * Variables.C: ditto
15627 * TextCache.C: ditto
15628 * MenuBackend.C: ditto
15629 * LyXAction.C: ditto
15631 * FloatList.C: ditto
15632 * DepTable.C: ditto
15633 * ColorHandler.C (LyXColorHandler): ditto
15635 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15637 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15639 * text2.C (openStuff): reintroduce this method (which had been
15640 nuked in NEW_INSETS frenzy).
15642 * lyxfunc.C (Dispatch): when an action has not been handled, use
15643 its name in the error message, not its number.
15645 * paragraph.C (inInset): change method name to begin with lowercase.
15648 * text2.C: updates because of this.
15650 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15652 * ToolbarDefaults.C (add): add spaces in error message
15654 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15656 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15657 (readLyXformat2): rename return_par to first_par, use lyxlex's
15658 pushToken and remove the manual push handling.
15659 (parseSingleLyXformat2Token): add another ert comp. variable:
15660 in_tabular, rename return_par to first_par. handle newlines better
15662 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15664 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15666 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15668 * text2.C (getParFromID): removed
15670 * buffer.C (getParFromID): new method moved form lyxtext.
15671 * BufferView2.C (insertErrors): adjust
15672 (setCursorFromRow): adjust
15673 * BufferView_pimpl.C (restorePosition): adjust
15674 * lyxfunc.C (Dispatch): adjust
15675 * undo_funcs.C (textUndo): adjust
15677 (textHandleUndo): adjust
15678 (textHandleUndo): adjust
15680 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15682 * buffer.C: up' the LYX_FORMAT
15684 * lyxfont.h: turn NO_LATEX on as default
15686 * buffer.C (insertErtContents): new methods of tex style compability.
15687 (parseSingleLyXformat2Token): use it several places.
15688 * tabular.C (OldFormatRead): and here
15690 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15692 * text2.C: remove some commented code.
15695 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15696 * trans.C: changes because of the above.
15698 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15700 * text2.C (setCounter): Fix counters bug with bibliography layout.
15702 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15704 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15705 own member functions
15706 (simpleTeXSpecialChars): ditto
15708 2001-07-06 Juergen Vigna <jug@sad.it>
15710 * a lot of files: changed the access to LyXText::status and the
15711 call of undo-functions.
15713 * undo.[Ch]: added a inset_id to the undo informations.
15715 * undo_funcs.[Ch]: added and moved here all undo functions.
15717 * lyxtext.h: give the status enum a weight, made status_ a private
15718 variable and made accessor functions for it, removed the whole bunch
15719 of undo-functions as they are now in their own file, make some
15720 functions publically available. Added function ownerParagraph with
15723 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15724 made InInset() a const function, added getParFromID() function.
15726 * buffer.[Ch]: added const version for inset_iterator functions,
15727 added getInsetFromID() function.
15729 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15730 changed undo functions for new version.
15732 2001-07-05 Juergen Vigna <jug@sad.it>
15734 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15735 unknow mechanism does not call the proper constructor but only this
15736 one also if I request the other!?
15738 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15740 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15742 * text2.C (LyXText): use initialization lists.
15744 * lyxtext.h (Selection): initialize set_ and mark_
15745 (init): remove method
15747 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15749 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15751 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15753 * screen.[Ch]: change method names to begin with lowercase
15755 * BufferView_pimpl.C (updateScrollbar): simplify further and
15756 hopefully make it a bit faster.
15758 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15760 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15761 calling directly xforms functions.
15763 * Painter.C (Painter):
15764 * lyx_cb.C (MenuWrite):
15765 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15768 * lyx_gui.C: remove bogus guiruntime extern declaration.
15770 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15772 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15774 (redoDrawingOfParagraph): ditto
15775 (redoParagraphs): ditto
15776 (cutSelection): don't create a object for CutAndPaste use the
15777 static method directly
15778 (pasteSelection): ditto
15780 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15783 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15785 * modifications to some other files because of this.
15787 * Makefile.am (lyx_SOURCES): add XFormsView
15789 * XFormsView.[Ch]: new files
15791 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15792 the main window. Move the gui dependent stuff to XFormsView
15794 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15796 * tabular.C (GetCellInset): update cur_cell also in the row/col
15797 version of this function.
15799 * lyxfunc.C: no need to include figure_form.h here.
15805 * lyxvc.C: no need to include forms.h here.
15807 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15809 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15811 * lyxfunc.C (Dispatch):
15813 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15814 constructor argument.
15816 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15818 * paragraph.C (Paragraph): dont't clear, and just set layout.
15819 (makeSameLayout): use params's copy contructor.
15821 * ParagraphParameters.[Ch] (makeSame): delete method
15823 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15825 * Variables.[Ch]: fix indentation, rename set to isSet
15827 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15829 * lyxfunc.C (Dispatch): fix typo
15831 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15833 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15836 * bufferlist.C: include assert.h for emergencyWrite().
15838 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15840 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15841 give up at last (bug #425202) !
15843 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15849 * spellchecker.C: strip spellchecker options and bring up
15850 preferences tab instead
15852 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15854 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15855 the istringstream constructor
15857 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15859 * paragraph.C (getLayout): fix return value
15861 * paragraph.h: do not declare getLayout as inline.
15863 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15865 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15867 * lyxcursor.h (operator<): new func
15868 (operator>): new func
15869 (operator>=): new func
15870 (operator<=): new func
15872 * text.C (changeCase): use selection.start and selection.end
15873 (changeRegionCase): require from to be <= to. Require par to be a
15876 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15878 2001-06-27 Juergen Vigna <jug@sad.it>
15880 * text.C (cursorLeftOneWord): changed to return the cursor and added
15881 overlay with BufferView * parameter which calls this one.
15883 (selectWord): use new getWord function.
15884 (changeCase): renamed from changeWordCase as and extended to work
15885 also on selections.
15887 * lyxtext.h: added enum word_location
15889 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15890 changeCase as this operates now also on selections.
15892 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15894 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15896 * many files: send debug output to Debug::INFO instead of
15899 * converter.C (View):
15901 (Move): send debug output to Debug::FILES instead of console.
15903 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15905 * lyxfunc.C (getStatus): use func_status
15907 * func_status.h: new header, describing the results of
15908 LyXFunc::getStatus;
15910 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15913 2001-06-25 The LyX Project <jug@sad.it>
15915 * buffer.C (sgmlOpenTag):
15917 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15919 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15921 * text2.C: remove some dead code
15923 * tabular.C (GetCellInset): store the last cell checked (gotten)
15925 * tabular.h: add the helper for the speedup
15927 * lyxtext.h: remove some dead code
15929 2001-06-26 The LyX Project <Asger>
15931 * paragraph.C: Change export to LaTeX of alignment to
15932 \begin{center} and family for better roundtrip work with reLyX.
15934 * Tune the math drawing a bit.
15936 2001-06-25 The LyX Project <Asger>
15938 * LColor.C (LColor): New color for math background. New color
15941 2001-06-25 The LyX Project <jug@sad.it>
15943 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15945 * lyxfunc.C (Open):
15946 * bufferlist.C (newFile): do not restrict to files ending with
15949 * BufferView_pimpl.C (MenuInsertLyXFile):
15951 2001-06-24 The LyX Project <jug@sad.it>
15953 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15956 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15958 * lyxtext.h: rename most methods to begin with a small char.
15959 Lots of changes because of this.
15961 * paragraph.C (Paragraph): do not call fitToSize
15962 (erase): call Pimpl::erase
15963 (insertChar): call Pimpl::insertChar
15964 (insertInset): call Pipl::insertInset
15965 (breakParagraph): do not call fitToSize
15966 (breakParagraphConservative): do not call fitToSize
15967 (fitToSize): remove method
15969 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15971 2001-06-24 The LyX Project <Asger>
15973 * Fix Qt compilation^2
15975 2001-06-24 The LyX Project <jug@sad.it>
15977 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15978 depthHook(getDepth()-1).
15981 * ParagraphParameters.h:
15982 * ParameterStruct.h: change type of depth to unsigned int ==
15983 depth_type. Many adaptations to other files before of that.
15985 2001-06-24 The LyX Project <Asger>
15987 * Fix Qt compilation.
15989 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15991 * paragraph.h: renamed several methods to begin with small letter.
15992 several changes to many parts of the code because of this.
15994 2001-06-23 The LyX Project <jug@sad.it>
15996 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15997 rewritten to discard all double spaces when KeepEmpty is off
15998 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15999 to only handle newlines but not fiddle with spaces and friends.
16001 * lyxfunc.C (MenuNew): when doing 'new from template', use
16002 template_path as default directory
16004 2001-06-23 The LyX Project <Asger>
16006 * Clean-up of header file includes all over
16007 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16009 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16011 * paragraph.h: renamed from lyxparagraph.h
16013 2001-06-23 Asger <lyx@violet.home.sad.it>
16015 * Buffer.h: Removed Buffer::resize
16016 * BufferList.h: Removed BufferList::resize
16017 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16018 the document lazily when we change the width, or the font settings.
16020 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16022 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16024 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16026 * buffer.h: remove out of date comment
16028 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16031 * screen.C: fix "theoretical" GC leak
16033 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16035 * LaTeX.C (scanAuxFile):
16036 (deplog): remove trailing \r when reading stream (useful under
16039 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16041 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16042 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16043 and BufferView::theLockingInset(Inset*), so should use them and not
16044 access bv_->text->the_locking_inset directly.
16046 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16048 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16051 * tex-defs.h: remove old unused file
16053 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16055 * BufferView_pimpl.C: fix typo, remove minibuffer message
16056 when buffer has loaded
16058 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16060 * lyxfunc.C (Dispatch): use stringstream
16061 (MenuNew): use stringstream
16062 (Open): use stringstream
16064 * importer.C (Import): use stringstream
16066 * bufferview_funcs.C (CurrentState): use stringstream
16068 * LaTeX.C (run): use stringstream
16070 * BufferView_pimpl.C (savePosition): use stringstream
16071 (restorePosition): use stringstream
16072 (MenuInsertLyXFile): use stringstream
16074 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16087 * vspace.C: removed // -*- C++ -*- as first line.
16090 * version.h: added // -*- C++ -*- as first line.
16092 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16094 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16096 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16099 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16101 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16104 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16106 * gettext.C: include LString.h even when --disable-nls is on.
16108 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16110 * converter.h (Get): changed argument type from int to
16111 FormatList::size_type to avoid unnecessary conversion.
16113 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16116 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16118 * gettext.h: include LString.h even when --disable-nls is on.
16120 2001-06-07 Juergen Vigna <jug@sad.it>
16122 * text.C (BreakAgain): subst spaces with tabs.
16124 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16125 (resizeInsetsLyXText): set force on resizeLyXText.
16127 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16129 * gettext.h (gettext_init):
16130 (locale_init): use a real definition instead of a macro
16132 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16134 * Bufferview_pimpl.C:
16136 * LColor.C: further lcolor tidies
16138 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16140 * BufferView_pimpl.C (updateScrollbar): simplify.
16142 * BufferView2.C: don't include insets/insetinfo.h, change
16143 prototype for insertInset and call the Pimpl version. let
16144 updateInset call Pimpl version.
16146 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16147 gotoInset to BufferView::Pimpl
16149 2001-06-01 Juergen Vigna <jug@sad.it>
16151 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16152 inside a LockingInset (is the update needed at all?).
16154 2001-05-31 Juergen Vigna <jug@sad.it>
16156 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16157 here not the old one otherwise how should we compare it afterwards
16160 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16165 * FontInfo.C: bring C functions into global namespace when
16168 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16170 * LString.h: make sure config.h has been loaded before LString.h.
16172 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16173 (one for each char read by EatLine!).
16175 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16178 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16180 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16181 to the same as the par we break from
16183 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16185 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16187 * MenuBackend.C (expand): also create menu entries for wide
16188 versions of the floats.
16190 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16192 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16194 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16195 frontends/Makefile.am
16201 * tabular.C (getTokenValue): add std::
16203 * tabular-old.C (getTokenValue): add std::
16204 (getTokenValue): ditto
16205 (getTokenValue): ditto
16207 * screen.C (ToggleSelection): adjust
16209 * lyxtext.h: put selection cursors inside a Selection struct.
16211 * lyxfunc.C (moveCursorUpdate): adjust
16213 * lyxfont.C (latexWriteStartChanges): add std::
16215 * lyxfind.C: adjust
16217 * font.h: delete with(char const *, LyXFont const &)
16219 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16221 * FontInfo.C (getFontname): add std::
16223 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16224 (workAreaButtonPress): adjust
16225 (tripleClick): adjust
16227 (moveCursorUpdate): adjust
16230 * BufferView2.C (gotoInset): adjust
16232 2001-05-30 Juergen Vigna <jug@sad.it>
16234 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16235 to check pspell I add this as default as I now have new pspell
16236 libraries and they seem to use this.
16238 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16240 * text2.C (CutSelection): make the cursor valid before the call to
16243 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16245 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16246 relied on 0 terminated strings and other horrors. Bug found due to
16247 the new assert in lyxstring!
16249 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16252 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16254 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16257 * lyxfunc.C (processKeySym): change method of getting to the
16260 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16261 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16262 * BufferView_pimpl.[Ch]: here as private methods.
16264 2001-05-28 Juergen Vigna <jug@sad.it>
16266 * text.C (SetHeightOfRow): added the update() call again as it is
16267 needed to initialize inset dimensions!
16269 2001-05-16 Juergen Vigna <jug@sad.it>
16271 * text2.C (SetCharFont): Add new function with BufferView * and
16272 bool toggleall parameters for setting insets internal fonts.
16273 (SetFont): Freeze the undo as we may change fonts in Insets and
16274 all this change should be inside only one Undo!
16276 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16277 setting font's in insets as for them we have the SetFont function!
16279 2001-05-15 Juergen Vigna <jug@sad.it>
16281 * text2.C (ClearSelection): to be sure we REALLY don't have any
16284 * tabular.C (TeXCellPreamble): fixed the left border problem for
16287 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16289 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16292 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16294 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16295 LFUN_BREAKPARAGRAPH.
16297 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16298 help test to "internal only", similar for LFUN_INSERT_URL
16300 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16301 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16302 auto_region_delete and deadkeys.
16304 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16307 * LColor.C: remove some dead entries, tidy a little
16309 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16311 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16313 (Dispatch): implement LFUN_ESCAPE
16315 * commandtags.h: add LFUN_ESCAPE
16317 * LyXAction.C (init): add entry for LFUN_ESCAPE
16319 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16320 Remove commented code.
16321 (insertNote): moved here
16322 (open_new_inset): moved here
16324 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16327 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16329 * kbmap.C (findbinding): clean it up and make it work correctly.
16331 * lyx_main.C (init): do not pass argc and argv as parameters
16333 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16335 * buffer.C: fix path for OS/2 & Win32
16339 * lyx_main.C: Added os:: class.
16341 * os2_defines.h: update
16343 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16345 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16346 better by trying again with reduced state.
16348 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16350 * lyxrc.C (read): print error about invalid key sequence only when
16351 debugging (because not all latinX keysyms are known to some X
16354 * kbsequence.C (getiso): add a few std:: qualifiers
16355 (getiso): comment out extra return statement.
16357 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16359 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16361 (Dispatch): enhance the accent inset a bit. (not perfect)
16363 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16365 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16367 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16369 * bufferlist.C (emergencyWrite): fix assert() call
16371 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16373 * text.C (InsertChar): Added trivial patch to only send the "you
16374 can not do multiple spaces this way" message once during a
16377 2001-05-08 Baruch Even <baruch@lyx.org>
16379 * Makefile.am: Changed order of libraries to get LyX to link properly
16380 with the gnome frontend.
16382 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16384 * LaTeXFeatures.h: add a std:: qualifier
16386 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16388 * paragraph.C (String): use stringstream
16390 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16392 * paragraph.C (writeFile): remove footflag arg
16394 * buffer.C (makeLaTeXFile): use stringstream
16395 (latexParagraphs): remove footnot gurba
16397 * LaTeXFeatures.C (getPackages): use stringstream
16398 (getMacros): likewise
16399 (getTClassPreamble): likewise
16400 (getFloatDefinitions): new method
16402 * paragraph.C (writeFile): reindent
16405 * WorkArea.h: revert the xpos + etc changes.
16407 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16409 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16411 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16412 (pasteSelection): likewise
16413 * text2.C (CreateUndo): likewise
16415 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16417 * minibuffer.C (peek_event): temporarily reduce the functionality
16418 of the minibuffer (to allow args on lfuns)
16420 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16421 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16423 * buffer.C (readInset): add compability reading of old float
16424 lists, add reading of new style float list.
16425 (readInset): avoid reevaluation of inscmd.getCmdName()
16426 (getLists): reindent
16428 * MenuBackend.C (MenuItem): implement parsing of
16429 md_floatlistinsert and md_floatinsert.
16430 (expand::LastFiles): move initalizaton of iterators out of loop,
16431 avoid reevaluation.
16432 (expand::Documents): introduce typdedef vector<string> Strings,
16434 (expand::ExportFormats): introduce typedef vector<Format const *>
16435 Formats, and use it.
16436 (expand): implement FloatListInsert and FloatInsert.
16438 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16439 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16440 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16442 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16444 (Dispatch::LFUN_FLOAT_LIST): implement
16446 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16448 * LaTeX.C (run): Fix problem with --export code.
16450 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16452 * BufferView.[Ch] (workarea): removed.
16453 (getClipboard) new method; wrapper for workarea()->getClipboard()
16455 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16458 * WorkArea.h (width, height, xpos, ypos): These methods all
16459 returned the dimensions of the work_area sub-area of WorkArea,
16460 resulting in a position error if the WorkArea were resized. Now
16461 return the dimensions of the entire WorkArea.
16463 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16465 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16467 * LaTeX.C (deplog): correct the syntax of regex reg1
16469 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16471 * undo.C: remove !NEW_INSETS cruft
16473 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16475 * text2.C: remove !NEW_INSETS cruft
16477 * text.C: remove !NEW_INSETS cruft
16479 * tabular.C: remove !NEW_INSETS cruft
16481 * spellchecker.C: remove !NEW_INSETS cruft
16483 * lyxtext.h: remove !NEW_INSETS cruft
16485 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16487 * lyxfunc.C: remove !NEW_INSETS cruft
16489 * lyxfind.C: remove !NEW_INSETS cruft
16491 * lyx_cb.C: remove !NEW_INSETS cruft
16493 * figureForm.C: remove !NEW_INSETS cruft
16495 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16497 * buffer.[Ch]: remove !NEW_INSETS cruft
16499 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16501 * CutAndPaste.C: remove !NEW_INSETS cruft
16503 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16505 * BufferView2.C: remove !NEW_INSETS cruft
16507 * BufferView.h: remove !NEW_INSETS cruft
16509 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16511 * Lsstream.h: include LString.h before the sstream headers to
16512 fix problem with gcc 2.95.3 and lyxstring
16514 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16516 * lyx_main.C: add using directives when needed for C functions
16517 declared in std:: namespace.
16519 2001-04-27 Juergen Vigna <jug@sad.it>
16521 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16522 (SetHeightOfRow): comment out the update call should not be needed!
16524 2001-04-13 Juergen Vigna <jug@sad.it>
16526 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16527 (LyXTabular): tried to minimize operator= operations (and realized
16528 hopfully Lars wish).
16530 2001-04-27 Juergen Vigna <jug@sad.it>
16532 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16534 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16536 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16538 * buffer.C (readInset): hack to make listof algorithm work
16540 * BufferView_pimpl.C: hack to make listof algorithm work
16542 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16544 * LyXAction.C: removed all !NEW_INSETS cruft
16545 (init): moved lfun_item in method
16547 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16549 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16551 * BufferView2.C (theLockingInset): white space.
16553 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16555 * minibuffer.C: include <iostream>
16557 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16559 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16561 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16563 * text.[Ch] (TransposeChars): new method
16565 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16567 * call message directly through LyXView instead of through LyXFunc
16568 * BufferView2.C: adjust
16569 * BufferView_pimpl.C: adjust
16570 * FontLoader.C: adjust
16572 * bufferview_funcs.C: adjust
16573 * converter.C: adjust
16574 * figureForm.C: adjust
16575 * importer.C: adjust
16577 * lyx_gui_misc.C: adjust
16578 * lyxfunc.C: adjust
16581 + more files in subdirs
16583 * lyxparagraph.h (size): move up int file
16586 * adjust all uses of Assert to lyx::Assert.
16588 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16589 lyxfunctional in namespace lyx
16590 * layout.C (hasLayout): ditto
16593 (delete_layout): ditto
16594 (NumberOfClass): ditto
16595 * converter.C (GetFormat): ditto
16600 * bufferlist.C (getFileNames): ditto
16601 (emergencyWriteAll): ditto
16604 * MenuBackend.C (hasSubmenu): ditto
16607 * BufferView_pimpl.C (getInsetByCode): ditto
16609 2001-04-18 Juergen Vigna <jug@sad.it>
16611 * vspace.C (asLatexString): fixed the 100% problem.
16613 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16615 * lyxfunc.C (Dispatch):
16617 * minibuffer.h: add a few std:: qualifiers
16619 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16621 * minibuffer.[Ch]: reimplement so that commands is initiated and
16622 run from lyxfunc, simplified som handling, and made the completion
16623 and history code for complete. wip.
16625 * lyxfunc.C (processKeySym): call message
16626 (miniDispatch): new temporary method
16627 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16628 (LFUN_MESSAGE): implement
16629 (LFUN_MESSAGE_PUSH): implement
16630 (LFUN_MESSAGE_POP): implement
16631 (initMiniBuffer): the initial/defualt minibuffer message.
16633 * lyxfont.[Ch]: inline some more getters
16635 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16637 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16639 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16640 (AutoSave): use LFUN_MESSAGE
16641 (Reconfigure): ditto
16643 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16645 * figureForm.C: use LFUN_MESSAGE
16647 * converter.C (runLaTeX): use LFUN_MESSAGE
16649 * bufferview_funcs.C: use LFUN_MESSAGE
16651 (changeDepth): ditto
16653 * bufferparams.h: use boost::
16655 * bufferlist.h: inherit privately from noncopyable
16657 * bufferlist.C (loadLyXFile): remove some commented code.
16659 * buffer.C (runChktex): use LFUN_MESSAGE
16661 * ShareContainer.h: inherit privately from noncopyable
16663 * ParagraphParameters.[hC] (depth): inline it.
16665 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16667 (message): new method
16668 (messagePush): ditto
16669 (messagePop): ditto
16670 (show): init minibuffer
16671 (showState): direct call
16673 * LaTeX.[Ch]: inherit privately from noncopyable
16674 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16675 instead of WriteStatus.
16677 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16679 * BufferView_pimpl.C (buffer): don't init minibuffer
16680 (workAreaButtonPress): use LFUN_MESSAGE
16681 (workAreaButtonRelease): ditto
16682 (savePosition): ditto
16683 (restorePosition): ditto
16684 (MenuInsertLyXFile): ditto
16685 (workAreaExpose): don't init minibuffer
16686 (update): remove commented code, simplify
16688 * BufferView2.C (openStuff): use LFUN_MESSAGE
16689 (toggleFloat): ditto
16692 (copyEnvironment): ditto
16693 (pasteEnvironment): ditto
16698 (updateInset): remove some commented code
16700 * lastfiles.h: inherit privately from noncopyable
16703 * lyx_main.h: ditto
16705 * lyxlex_pimpl.h: ditto
16707 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16708 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16709 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16711 * LyXAction.h: inherit privately from noncopyable, add methods
16712 func_begin, func_end, returning iterators to the func map.
16714 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16715 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16716 (func_begin): new method
16717 (func_end): new method
16719 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16721 (copySelection): ditto
16722 (pasteSelection): ditto
16724 * BufferView.C: whitespace change
16725 * BufferView.h: inherit privately from noncopyable
16727 2001-04-16 Allan Rae <rae@lyx.org>
16729 * tabular-old.C (l_getline):
16730 * spellchecker.C (sc_check_word):
16731 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16732 an unrecognised preprocessor directive. So ensure they're wrapped.
16734 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16736 * src/exporter.C (Export): Give an error message when path to file
16739 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16741 * LaTeX.C (deplog): Always check that foundfile exists.
16743 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16746 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16748 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16750 * tabular.[Ch] (getLabelList): implement new method
16752 * minibuffer.h: comment ouf setTiimer
16754 * minibuffer.C (ExecutingCB): constify res
16755 (peek_event): constify s
16756 (Set): constify ntext
16757 (Init): constify nicename
16759 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16761 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16762 (savePosition): use two params to Minibuffer::Set
16763 (restorePosition): ditto
16765 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16767 * lyx_main.C: include language.h
16769 * Makefile.am (lyx_main.o): add language.h
16771 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16777 * CutAndPaste.C: include gettext.h
16779 * lyxfont.h: remove old hack with ON and OFF.
16782 * lyxfont.h: do not include language.h...
16787 * bufferview_funcs.C:
16793 * paragraph.C: ... but do it here instead
16795 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16797 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16799 * tabular.C: small reformat
16801 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16804 (BreakParagraph): ditto
16805 (SetOnlyLayout): ditto
16808 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16811 * lastfiles.C: removed most using decl, add std:: where needed
16813 * buffer.C: ws changes
16815 * MenuBackend.C (class compare_format): put into anon namespace
16816 (expand): constify label, names, action, action2
16819 * text.C (SingleWidth): constify font
16820 (IsBoundary): constify rtl2
16821 (GetVisibleRow): constify ww
16823 * LaTeX.C (deplog): constify logfile
16825 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16827 (workAreaExpose): constify widthChange, heightChange
16829 * lyxrow.C (par): moved
16832 * lyxrow.h: as inlines here
16834 * lyxfont.h (shape): moved from lyxfont.C
16835 (emph): moved from lyxfont.C
16837 * lyxfont.C (LyXFont): use initialization list for all
16839 (shape): move to lyxfont.h as inline
16840 (emph): move to lyxfont.h as inline
16843 2001-04-04 Juergen Vigna <jug@sad.it>
16845 * vspace.C: had to include stdio.h for use of sscanf
16847 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16850 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16851 independent of xforms.
16853 2001-04-02 Juergen Vigna <jug@sad.it>
16855 * spellchecker.C: fixed namespace placing!
16857 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16859 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16860 the LyXParagraph * is 0.
16862 2001-03-29 Juergen Vigna <jug@sad.it>
16864 * vspace.C: added support for %, c%, p%, l%.
16865 (stringFromUnit): added helper function.
16866 (asLatexString): changed to give right results for the %-values.
16868 * buffer.C: convert the widthp in a width%.
16870 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16872 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16875 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16876 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16878 * lyx_cb.[Ch]: see above.
16880 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16884 * lyx.[Ch]: replaced by figure_form.[Ch].
16888 * lyxfunc.C: changed headers associated with above changes.
16890 2001-03-27 Juergen Vigna <jug@sad.it>
16892 * BufferView_pimpl.C: set the temporary cursor right!
16894 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16896 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16898 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16900 * LString.h: removed "using std::getline"!
16902 * BufferView_pimpl.C (Dispatch): changes due to changes in
16903 InsetInclude::Params.
16905 * buffer.C (tag_name): removed redundant break statements as they were
16906 producing lots of warnings with my compiler.
16908 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16910 * LString.h: add "using std::getline" when using the real <string>.
16912 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16914 * buffer.C: removed bitset usage.
16915 PAR_TAG moved to an anonymous name space.
16916 (tag_name): new funtion, also in the anonymous namespace.
16917 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16918 (makeDocBookFile): clean code. Completed transition from string arrays
16920 (SimpleDocBookOnePar): code clean.
16922 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16924 * tabular.C: add some comments.
16926 2001-03-22 Juergen Vigna <jug@sad.it>
16928 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16929 compatibility read a bit and fixed bug with minipage in different
16932 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16934 * buffer.C (pop_tag): removed.
16935 (push_tag): removed.
16936 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16937 array replaced with vector. Added support for CDATA sections.
16938 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16940 (makeDocBookFile): XML conformant declaration of CDATA section,
16941 fixed bug related to <emphasis> in the first paragraph char.
16942 (sgmlOpenTag): exclude empty tags.
16943 (sgmlCloseTag): ditto.
16945 * buffer.h (pop_tag): removed.
16946 (push_tag): removed.
16948 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16950 * language.h (Languages): added size_type and size().
16952 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16954 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16955 response on compability reading of minipages. One probliem is that
16956 the old usage of minipages was «flertydig»
16958 * several files here and in subdirs: don't use static at file
16959 scope use anon namespaces instead.
16961 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16963 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16964 LaTeX output. This is necessary for Literate document
16967 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16969 * buffer.C: insert hfill when needed.
16971 * tabular.C (l_getline): use string::erase, small whitespace change.
16973 * BufferView_pimpl.C: try the anon namespace.
16974 * WorkArea.C: ditto
16976 2001-03-16 Juergen Vigna <jug@sad.it>
16978 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16979 otherwise it won't open options-dialogs.
16981 * buffer.C: honor pextraWidth(p) on converting minipages.
16983 * tabular.C (l_getline): changed the functions to strip trailing \r.
16985 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16987 * BufferView_pimpl.C:
16988 * minibuffer..C: added "using SigC::slot" declaration.
16990 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16992 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16998 * paragraph.C: ditto
17000 * lyxtext.h: NO_PEXTRA
17002 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17004 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17005 * ParameterStruct.h: ditto
17006 * ParagraphParameters.h: ditto
17007 * lyxparagraph.h: ditto
17009 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17011 * buffer.C: add compability for minipage alignment.
17012 (latexParagraphs): remove unwanted pextra check.
17014 * several files: remove CXX_WORKING_NAMESPACES
17016 * buffer.C (pop_tag): tie is in namespace boost
17018 * BufferView.h: noncopyable is in namespace boost
17020 * lyx_main.h: ditto
17023 * lastfiles.h: ditto
17024 * bufferlist.h: ditto
17025 * ShareContainer.h: ditto
17027 * LyXAction.h: ditto
17030 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17032 * Merging changes from BRANCH_MVC back into HEAD.
17034 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17036 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17038 * BufferView_pimpl.C: change from intl.C
17042 * Makefile.am: move combox.*
17048 * intl.C: remove dialog (covered by prefs)
17050 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17052 * lyxfunc.C (Dispatch): removed redundant break statement.
17054 2001-03-14 Juergen Vigna <jug@sad.it>
17056 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17058 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17060 * buffer.C: add hack to fix compability reading of minipages.
17062 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17064 * buffer.C (getLists): Cleanup.
17066 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17068 * lyxfont.C (update): don't honor toggleall on font size.
17070 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17074 * Makefile.am: moved to frontends/xforms/
17078 * BufferView_pimpl.C: changes for moved mathpanel
17080 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17082 * gettext.h: fix gettext_init() in --disable-nls
17084 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17086 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17088 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17091 * lyx.h: strip external form
17093 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17095 * BufferView_pimpl.C: add comment, destroySplash()
17097 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17099 * BufferView_pimpl.C:
17103 * lyxfunc.C: use re-worked insetinclude
17105 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17107 * buffer.C: add using std::stringstream.
17109 * lyx_cb.C: readd using std::ios.
17111 * buffer.C: add using std::map.
17113 * BufferView_pimpl.C: add using std::vector.
17115 * ShareContainer.h: add std:: to swap.
17117 * buffer.h: add some typedefs
17118 * buffer.C (getLists): use them
17119 (getLists): renamed from getTocList.
17120 add a counter for the different float types and use it in the
17122 (getLists): use the same counter for the NEW_INSETS and the "non"
17125 * lyx_cb.h: remove unused items, includes, using etc.
17127 * ShareContainer.h: remove some commented code, add more comments
17128 and "documentation".
17130 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17132 * buffer.C (getTocList): make the list also when NEW_INSETS is
17135 * buffer.h: remove TocType
17137 * buffer.C (getTocList): change to return a map<string,
17138 vector<TocItem> >, implement for dynamic number of list.
17140 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17141 * text2.C (PasteSelection): adjust
17142 * CutAndPaste.C (pasteSelection): adjust
17144 * FloatList.C (FloatList): update from the new_insets branch.
17145 * Floating.[Ch]: ditto
17146 * LaTeXFeatures.C: ditto
17148 * lyxlex_pimpl.C: ditto
17150 * paragraph.C (Last): remove when NEW_INSETS is defined.
17152 * other file: changes because of the above.
17154 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17156 * lyxparagraph.h: rename next to next_, previous to previous_,
17157 make them private for NEW_INSETS. Rename Next() to next(),
17158 Previous() to previous().
17160 * other files: changes because of the above.
17162 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17165 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17168 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17170 * main.C (main): pass lyx_localedir to gettext_init().
17172 * gettext.h: remove locale_init and gettext_init macros
17174 * gettext.C (locale_init): new function
17175 (gettext_init): new function
17177 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17180 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17182 * Moved credits to frontends:
17183 * credits.[Ch]: removed
17184 * credits_form.[Ch]: removed
17185 * lyx_gui_misc.C: remove credits stuff
17188 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17190 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17192 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17193 unneeded destructor.
17195 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17196 a standalone pointer again.
17198 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17200 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17206 * ToolbarDefaults.C:
17215 * BufferView_pimpl.C: use new file dialog in GUII
17218 * lyx_cb.C: remove LayoutsCB to Toolbar
17220 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17222 * ShareContainer.h (get): add std:: qualifier
17224 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17226 * ShareContainer.h: define a proper ShareContainer::value_type
17227 type (and use typename to please compaq cxx)
17229 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17231 * lyxparagraph.h: move serveral local vars to
17232 ParameterStruct/ParagraphParameters., use ShareContainer in
17233 FontTable., make vars in FontTable private and add getter and
17236 * paragraph.C: changes because of the above.
17238 * lyxfont.h: remove copy constructor and copy assignment. (the
17239 default ones is ok), move number inside FontBits. move inlines to
17242 * lyxfont.C: add number to initializaton of statics, move several
17243 inlines here. constify several local vars. some whitespace
17244 cleanup. Dont hide outerscope variables.
17246 * Spacing.h: add two new constructors to match the set methods.
17248 * ShareContainer.h: new file, will perhaps be moved to support
17250 * ParameterStruct.h: new file
17252 * ParagraphParameters.h: new file
17254 * ParagraphParameters.C: new file
17256 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17257 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17259 * BufferView_pimpl.C: ParagraphParameter changes.
17260 * buffer.C: Likewise.
17261 * bufferview_funcs.C: Likewise.
17262 * text.C: Likewise.
17263 * text2.C: Likewise.
17265 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17267 * lyxfind.C (LyXReplace): do not redefine default argument in
17269 (IsStringInText): ditto
17270 (SearchForward): ditto
17271 (SearchBackward): ditto
17273 2001-03-06 Juergen Vigna <jug@sad.it>
17275 * lyxfind.C (IsStringInText): put parentes around expressions.
17277 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17279 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17281 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17283 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17285 * stl_string_fwd.h: add comment
17287 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17290 * tabular.C: remove unused DocBook methods
17296 killed DO_USE_DEFAULT_LANGUAGE
17298 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17300 * lyx_gui.C: do not include language.h.
17302 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17303 arguments in function implementation.
17305 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17307 * BufferView_pimpl.C: add <ctime>
17309 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17311 * BufferView_pimpl.C: add using std::find_if
17313 2001-02-27 José Matos <jamatos@fep.up.pt>
17315 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17318 2001-02-11 José Matos <jamatos@fep.up.pt>
17320 * buffer.C (makeDocBookFile): command styles now have a parameter as
17321 "title" by default.
17323 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17325 * layout_forms.[Ch]: removed
17326 * lyx_cb.[Ch]: out character
17327 * lyx_gui.C: out character
17328 * lyx_gui_misc.C: out character
17329 * bufferview_funcs.C: : out character,
17330 added toggleall as parameter in ToggleAndShow
17332 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17334 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17336 * text2.C (SetCurrentFont): Disable number property at boundary.
17338 2001-02-26 Juergen Vigna <jug@sad.it>
17340 * lyxfunc.C (getStatus): added a string argument override function so
17341 that this is correctly called from LyXFunc::Dispatch if it contains a
17342 do_not_use_argument which is used!
17343 (Dispatch): added check for "custom" export and call appropriate func.
17345 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17347 * lyxrc.C: Add language_command_local, language_use_babel and
17348 language_global_options.
17350 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17352 * buffer.C (makeLaTeXFile): Use language_use_babel and
17353 language_global_options.
17355 2001-02-23 Juergen Vigna <jug@sad.it>
17357 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17358 which works with LyXText and putted it inside BufferView. Here now we
17359 only call for that part the BufferView::Dispatch() function.
17361 * BufferView.C (Dispatch): added.
17363 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17364 functions which needs to use a LyXText over from LyXFunc.
17365 (MenuInsertLyXFile): added
17366 (getInsetByCode): added
17367 (moveCursorUpdate): added
17368 (static TEXT): added
17370 2001-02-22 Juergen Vigna <jug@sad.it>
17372 * BufferView_pimpl.C (update): call a status update to see if LyXText
17375 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17377 * vc-backend.C (revert): implement for CVS
17378 (getLog): implement for CVS
17380 2001-02-20 Juergen Vigna <jug@sad.it>
17382 * text2.C (ClearSelection): added BufferView param for inset_owner call
17384 * lyxfunc.C (TEXT): added this function and use it instead of
17385 directly owner->view()-text of getLyXText().
17387 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17389 * src/layout_forms.C: out preamble
17390 * src/layout_forms.h: out preamble
17391 * src/lyx_cb.C: out preamble
17392 * src/lyx_cb.h: out preamble
17393 * src/lyx_gui.C: out preamble
17394 * src/lyx_gui_misc.C: out preamble
17395 * src/lyxfunc.C: connect with guii preamble
17397 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17399 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17401 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17403 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17404 whether to run bibtex.
17406 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17408 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17410 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17412 * Makefile.am (lyx_SOURCES): removed bibforms.h
17414 * vspace.h: doxygen
17416 * text.C (GetVisibleRow): make several local vars const
17418 * tabular.C: small cleanup.
17420 * lyxserver.C (callback): use compare instead of strncmp
17422 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17423 inlines to after class or to paragraph.C
17425 * lyxfont.h: remove friend operator!=
17427 * converter.h: move friend bool operator< to non friend and after
17430 * combox.h: small cleanup
17432 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17433 to inlines after class def.
17435 * buffer.C (pop_tag): use string operations instead of strcmp
17437 * bmtable.c: doxygen, small cleanup
17439 * LaTeX.h: remove friend operator==
17441 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17453 * BufferView_pimpl.C:
17454 * BufferView.[Ch]: remove cruft
17456 2001-02-14 Juergen Vigna <jug@sad.it>
17458 * lyxfunc.C: removed #if 0 unused code
17460 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17462 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17464 * text2.C (SetSelection): added a BufferView * parameter
17466 2001-02-13 Juergen Vigna <jug@sad.it>
17468 * lyxfunc.C (Dispatch): fixed protected blank problem.
17469 * BufferView2.C (protectedBlank): added LyxText * parameter.
17471 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17472 (AppendColumn): same as above for column_info.
17474 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17475 (moveCursorUpdate): use a LyXText param for support of InsetText.
17477 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17478 (tripleClick): ditto
17480 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17482 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17484 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17486 * text2.C (SetSelection): set correct update status if inset_owner
17487 (ToggleFree): ditto
17489 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17491 * tabular.C: remove some commented code.
17493 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17495 * BufferView_pimpl.C: call hideSplash()
17497 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17500 * bibforms.h: remove
17503 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17504 add LFUN_CHILD_CREATE
17506 * counters.h: fix tiny typo
17511 * lyx.C: move splash to frontends/xforms/
17513 * lyx_gui_misc.C: move Include and Bibform to frontends
17515 * lyxvc.h: clarify comment
17517 * vspace.C: tiny housekeeping
17519 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17521 * text.C (PrepareToPrint): RTL Fix.
17523 * paragraph.C (GetUChar): New method.
17524 (String): Use GetUChar.
17526 * buffer.C (asciiParagraph): Use GetUChar.
17528 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17530 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17532 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17535 * buffer.C: rename to getLogName(), handle
17536 build log / latex log nicely
17538 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17541 * MenuBackend.h: remove support for reference menuitem type.
17543 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17545 * BufferView_pimpl.C: housekeeping
17546 * BufferView_pimpl.h:
17551 * minibuffer.h: move Timeout GUI-I
17553 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17555 * lyxrc.C (read): Update converters data-structures.
17557 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17559 * LaTeX.h (operator!=): add operator != for Aux_Info
17561 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17563 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17565 * LaTeXLog.C: deleted, useful code moved to Buffer
17568 * buffer.C: new function getLatexLogName()
17574 * lyxfunc.C: use frontends for LaTeX and VC logs
17576 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17578 * LaTeX.h: yet another std:: that Allan forgot.
17580 * Variables.C (set): renamed from isset(), because this clashes
17581 with some HP-UX macros (grr).
17583 2001-02-06 Allan Rae <rae@lyx.org>
17585 * LaTeX.h: Another bug fix. Missing std:: this time.
17587 2001-02-04 Allan Rae <rae@lyx.org>
17589 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17590 floats problem. I've left it commented out because it's not quite
17591 correct. It should also test that the current object is a table or
17592 figure inset. But I haven't gotten around to figuring out how to do
17593 that. I *think* it'll be something like: "table" == inset.type()
17595 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17598 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17600 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17601 all the citation/databases/styles in the auxilary file.
17602 (run): Rerun latex if there was a babel language error.
17604 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17606 * text.C (Backspace): Preserve the font when changing newline char
17608 (BreakParagraph): If the cursor is before a space, delete the space.
17610 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17612 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17614 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17615 new argument (code).
17616 (ChangeCitationsIfUnique): New method.
17618 * paragraph.C (GetPositionOfInset): Handle bibkey.
17620 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17622 * BufferView_pimpl.h: change type of Position::par_pos to
17623 LyXParagraph::size_type.
17625 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17627 * BufferView_pimpl.C (savePosition, restorePosition): Write
17628 messages to minibuffer.
17630 2001-01-28 José Matos <jamatos@fep.up.pt>
17632 * buffer.C (makeDocBookFile): adds support for document language.
17633 A silly restriction on the name of LatexCommand types where removed.
17634 Added support for CDATA sections, allows to chars unescaped, used
17635 among others in code, to avoid escape < and >.
17637 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17639 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17640 saved positions instrad of a stack. Furthermore, a position is
17641 stored using paragraph id/paragraph position.
17643 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17644 Remove LFUN_REF_BACK.
17646 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17648 * converter.C (dvipdfm_options): New method.
17650 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17652 * vspace.C (isValidLength): Fix for empty input string.
17654 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17656 * LyXAction.C (init): change description of LFUN_FIGURE to
17659 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17661 * LaTeX.C: add using directive
17663 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17665 * MenuBackend.C (expand): Fix the sorting of the formats.
17667 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17669 * lyx_main.C: tiny error message fix
17671 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17673 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17674 calling fl_initialize(). This fixes the problem with ',' as
17675 decimal separator in text files.
17677 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17679 * trans.C (process): Fix the keymap bug.
17681 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17683 * LaTeX.C (scanAuxFiles): New method. Provides support for
17684 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17685 (scanLogFile) Scan for "run BibTeX" messages.
17687 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17688 OT1 font encoding. Also, load the aecompl package if the ae
17691 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17693 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17695 * texrow.C (increasePos): turn two error messages into debug
17698 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17700 * LaTeX.C (scanAux): Handle the \@input macro.
17701 (runBibTeX): Use scanAux().
17703 * language.C (latex_options_): New field.
17705 * LaTeXFeatures.C (getMacros): Add language macros.
17707 * buffer.C (makeLaTeXFile): Small fix.
17709 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17711 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17713 * text2.C: add a using directive.
17715 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17720 * lyxfunc.C: kill LyXBell.
17722 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17724 * text.C (IsBoundary): Remove the error message
17726 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17728 * lyxrc.C (setDefaults): Correct initialization value for
17731 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17733 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17736 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17737 and GotoNextNote().
17739 * src/LyXAction.C: Added reference-next.
17741 * text.C (InsertChar): Use contains instead of strchr.
17743 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17745 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17747 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17748 alignment commands (when needed).
17750 * text.C (InsertChar): Add ':' to number separator chars.