1 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * text.C (redoParagraph): move cursor right after a bibitem
6 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
8 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10 * buffer_funcs.C (bufferErrors): fix computation of the end of an
13 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
15 * BufferView.[Ch] (update):
16 * BufferView_pimpl.[Ch] (update, metrics):
17 * dimension.h (operator==):
18 * lyxfunc.C (dispatch):
19 * metricsinfo.h (ViewMetricsInfo):
20 * rowpainter.C (paintText):
22 * text.C (redoParagraph):
23 * text3.C (dispatch): Make LyX only repaint current paragraph in
24 case of character insert --> speedup. Also fix cursor draw
27 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
30 avoid a crash (bug 1891)
32 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * text2.C (getStringToIndex): constify cur argument.
38 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
39 argument has been given
40 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
41 try to invoke LFUN_INSET_APPLY).
43 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
44 if no inset was created by doInsertInset
45 (doInsertInset): return true if an inset has been inserted.
47 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
49 * vspace.C (asGUIName): new method. A version of the space
50 suitable for showing on screen.
52 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
55 * lyxrc.C: rename "ASCII" to "Plain Text"
57 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * buffer_funcs.C (expandLabel): take a Buffer as argument;
60 translate the labelstring.
61 (setCounter): translate labelstring as needed.
63 * output_docbook.C (makeCommand): fix expandLabel invokation
65 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
67 * BufferView.C: fix dialog title
69 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * lyx_main.C (priv_exec): fix logic error with help from Angus
72 * lyx_main.C (parse_execute): set is_gui = false and remove now
73 obsolete comment about a segfault
75 2005-05-18 Angus Leeming <leeming@lyx.org>
77 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
79 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
81 * tabular.[hC]: added setCellInset to fix tabular paste.
83 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
85 * buffer.C (save): check if destination is writable before trying
88 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
90 * BufferView_pimpl.C (update): fix processEvents -caused update
93 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * buffer_funcs.C (setCounter): fix test for numbering of
98 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
99 depth correctly; use optional argument when it exists
101 * lyxtextclass.C: remove unused MaxCounterTags enum
102 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
103 (max_toclevel, min_toclevel): new methods.
105 * MenuBackend.C (expandToc2): fix case where depth is smaller than
106 the smallest depth in toc.
108 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
109 layouts that should not appear in a table of contents.
111 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
113 * cursor.h (undispatched, noUpdate): add comments from André
115 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
119 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
121 2005-05-07 André Pönitz <poenitz@gmx.net>
123 * cursor.[Ch] (leaveInset): new function
125 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
127 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
129 2005-05-04 Angus Leeming <leeming@lyx.org>
131 * lyxfunc.C (getStatus): disable the spell checker dialog if
132 none of USE_[AIP]SPELL are defined.
134 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
136 * tabular.C (setWidthOfCell): remove obsolete comment
138 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
140 * paragraph.C (bibitem):
141 * buffer_funcs.C (setCounter):
142 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
144 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
146 * text3.C (getStatus): immediately return after setOnOff
148 * rowpainter.C: fix drawing of appendix start
150 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
152 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
153 SwitchBetweenClasses and remove the unused return value.
154 Handle character styles, too
156 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
158 * factory.C (createInset): handle undefined character styles
160 2005-05-02 Angus Leeming <leeming@lyx.org>
162 * buffer.C: protect the #include of utime.h with a preprocessor
165 2005-05-02 Angus Leeming <leeming@lyx.org>
167 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
168 function so that auto-saving works, albeit in a blocking manner.
170 * Makefile.am: make compilation of the client sub directory, of
171 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
172 on conditionals set at configure time.
174 * SpellBase.[Ch]: no longer an abstract base class. Instead,
175 it can be compiled in its own right but has no-op functionality.
177 * aspell.C, pspell.C: remove preprocessor guards. The files should
178 be compiled only if the necessary functionality exists.
180 * lyxserver.C, lyxsocket.C: disable on Windows.
182 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
184 * text.C (leftMargin): Fix the parindent use bug (1764)
187 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
189 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
192 2005-04-25 Angus Leeming <leeming@lyx.org>
200 include <config.h> in .C files, not .h ones.
202 protect headers inside preprocessor guards.
204 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
206 * FuncStatus.h (StatusCodes): document
208 2005-04-21 André Pönitz <poenitz@gmx.net>
210 * FuncStatus.h (enabled, onoff): document
212 2005-04-19 Angus Leeming <leeming@lyx.org>
214 * BufferView_pimpl.C (cursorToggle): no longer test whether
215 any child processes have been reaped before calling
216 handleCompletedProcesses().
218 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
220 * text3.C (dispatch): fix, finally fix, the language problem in
221 new lyxtexts, without disabling on-the-fly font changes (Helge's
224 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
226 * text3.C (dispatch): set cursor on double/triple click events
229 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
232 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
234 * rowpainter.C (paintFirst): simplify the code a little bit. In
235 particular, remove the test for secnumdepth.
236 * text.C (setHeightOfRow): only allocate space for chapter number
237 when updateCounters provided an actual label, instead of looking
238 at secnumdepth directly.
240 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
242 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
243 paragraphs when secnumdepth is large enough or, for environments,
244 when they are not the first in a sequence.
246 2005-04-17 Angus Leeming <leeming@lyx.org>
248 * buffer.C (makeLaTeXFile): replace code to manipulate a path
249 containing space and '~' characters with a call to latex_path().
251 2005-04-17 Angus Leeming <leeming@lyx.org>
253 * converter.C (convert): protect all args of convertDefault.sh
256 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * text3.C (dispatch): change the layout to "Caption" after inserting
261 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
263 * text3.C (dispatch): fix language problem in newly created
264 textinsets (and main text) in non-english docs
266 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
268 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
269 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
270 * text3.C (getStatus): disable LFUN_INSET_MODIFY
272 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
277 * rowpainter.C (getFont): Fix metrics bug introduced by inset
280 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
282 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
283 output of \item arguments without trailing text.
285 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
287 * FontIterator.C (operator*): avoid a copy of the font.
289 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
291 * rowpainter.C (getFont): fix language bug from previous fix
293 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
295 * rowpainter.C (RowPainter, getFont): fix font inside inset
298 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
300 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
301 preventing inserted font, deco, delim insets jumping to start of
304 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * lyxfunc.C (dispatch): translate message before sending it to the
309 2005-03-29 Angus Leeming <leeming@lyx.org>
311 * lyx_main.C (priv_exec): call os::internal_path on each file passed
312 to LyX on the command line.
314 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
316 * vc-backend.C: use QuoteName to protect file names wherever
319 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
322 * BranchList.h: fix bugs 1844,1845: document settings don't
325 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
327 * lyxrc.C (setDefaults, read, output, getDescription): add support
328 for tex_allows_spaces.
330 * exporter.C (Export): allows files in directory containing spaces
331 if tex_allows_spaces is true.
333 * buffer.C (makeLaTeXFile): if the document path contains spaces,
334 output it in double quotes.
336 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
338 * rowpainter.C: use default text height for drawing change tracker
341 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
343 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
345 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
347 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
348 directory is missing.
350 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
352 * text2.C: fixed the fix, extended to other case.
354 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
356 * text2.C: fix for cursor up/down stuck in math [bug 1792]
358 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
360 * text2.C (cursorUp): get rid of a crash
361 * text.C (x2pos): add an assert
363 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * lyxfunc.C (getStatus): fix warning when assertions are disabled
369 * dociterator.C: include <boost/current_function.hpp>, which is
370 needed when assertions are disabled.
372 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
374 * text2.C: fix for stuck cursor when traversing two
375 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
377 2005-02-25 Andreas Vox <avox@arcor.de>
379 * output_docbook.C (makeParagraph): suppress trailing newline
380 after a run of paragraphs
382 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
384 * paragraph.C: fix for confused change tracker when pasting
385 text that begins with a lineseparator. [bug 1827]
386 (setChange(0, Change::INSERTED);)
388 * paragraph_funcs.C: fix for lost changes on triple-paste
389 in change tracking mode [bug 1827] (par.setChange()).
391 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * text2.C (updateCounters, setCounter, expandLabel): move to
396 * buffer_funcs.C (updateCounters): turn into a free standing
397 function and add a buffer parameter. Remove dead code for tracking
399 (setCounter): change into a free-standing function which gets a
400 dociterator as argument. Use this iterator to fix captions in a
401 simple way. When no float is found above the caption, use the
402 labelstring of the caption layout as default.
404 * text.C (breakParagraph, backspace):
405 * text2.C (init, setLayout, changeDepth):
406 * text3.C (dispatch):
407 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
410 * dociterator.C (forwardPar): make it much faster by calling
411 forwardPos() only when really necessary.
413 * output_docbook.C (makeCommand): adapt to expandLabel move.
415 * cursor.C: remove unused variable
417 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
419 * paragraph_funcs.C: fix crash when pasting insets in change
420 tracking mode [bug 1277] (honour change type in moveItem).
422 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
424 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
426 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
428 * BufferView.C (setCursor): change to use a DocIterator.
429 (gotoLabel): use BufferView::setCursor (other part of bug 781).
430 (putSelectionAt): adapt to BufferView::setCursor change.
432 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
433 moved here from LyXText and rewritten to use proper cursor
434 methods. Fixes bug 1787, 616 and 835.
436 * BufferView_pimpl.C (restorePosition): set the cursor correctly
437 when inside an inset (part of bug 781).
438 (dispatch): adapt to change of BufferView::setCursor.
439 (getStatus, dispatch): handle LFUN_GOTOERROR,
440 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
442 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
443 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
444 * text3.C (gotoNextInset, gotoInset): removed.
446 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
450 2005-02-15 Angus Leeming <leeming@lyx.org>
452 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
453 can be used meaningfully in a comparison.
455 2005-02-13 André Pönitz <poenitz@gmx.net>
457 * bufferview_funcs.C (coordOffset): improve cursor drawing
459 2005-02-13 André Pönitz <poenitz@gmx.net>
461 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
462 * Cursor.C (dispatch): use fixIfBroken
463 * lyxfunc.C (getStatus): use fixIfBroken
465 2005-02-15 Angus Leeming <leeming@lyx.org>
467 * lyx_main.C (error_handler):
469 * lyxrc.C (setDefaults):
471 #include "environment.h".
473 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
475 2005-02-15 Angus Leeming <leeming@lyx.org>
477 * lyxserver.C (startPipe): squash MSVC warning "local variable
478 'fd' used without having been initialized".
480 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
482 * BufferView_pimpl.C: revert accidental commit.
484 2005-02-14 André Pönitz <poenitz@gmx.net>
486 * dociterator.[Ch]: new member forwardPosNoDescent(),
487 which doesn't enter nested insets.
488 * text2.C (setFont): use forwardPosNoDescent() instead
489 of ForwardPos() (fixes crash on font change).
491 2005-02-13 Angus Leeming <leeming@lyx.org>
493 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
494 only if lyxrc.path_prefix is not empty.
496 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
498 * bufferparams.C (readGraphicsDriver): prevent crash
500 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
502 * text2.C (setCounter): check for inInset() == 0
504 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
506 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
507 but use update() to get correct screen display; use convert
508 instead of istringstream.
509 (getStatus): handle LFUN_GOTO_PARAGRAPH
511 * lyxfunc.C (dispatch, getStatus): do not handle
512 LFUN_GOTO_PARAGRAPH here.
514 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
516 * text3.C (dispatch): size() -> depth()
518 * text2.C: remove some debug output
520 * paragraph.C: ws changes only
522 * lyxfunc.C (getStatus): size() -> depth()
524 * dociterator.h (clear, push_back, pop_back, internalData,
525 operator[], resize, empty): new functions
526 Make StableDocIterator and operator== be friends. Don't inherit
527 from std::vector use a privat class variable slices_ instead.
530 * dociterator.C: update because of not inheriting from std::vector
531 anymore. Call explictly to slices_ instead. Use depth() instead of
532 size() and top() instead of back()
534 * cursor.C: chagne size() -> depth and back() -> top(). Also
535 remove some direct operator[](i) calls in favour of foo[i]
536 (getFont): remove some dead code
538 * bufferview_funcs.C (coordOffset): size() -> depth()
540 * buffer.C: ws changes only
542 * CutAndPaste.C (eraseSelection): back() -> top()
544 * BufferView_pimpl.C (selectionRequested): back() -> top()
546 * BufferView.C (setCursor): size() -> depth()
548 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
550 * text3.C (cursorPrevious): return true if depm changed something
552 (dispatch): rename sl to oldTopSlice, remove moving use the new
553 NoUpdate func attrib instead. Make sure that needsUpdate is set
554 for function that have NoUpdate, but where depm might have changed
557 * text2.C (cursorLeft): make us return true if depm changed
560 (cursorUpParagraph): ditto
561 (curosrDownParagraph): ditto
562 (cursorUp, cursorDown): ditto, make sure to read comments in code
563 (deleteEmptyParagraphMechanism): remove an assert, also return
564 true if just a single char was deleted.
566 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
567 cursor that we modify, to avoid modifying an active cursor before
568 we call setCursor. This allows depm to run. Also return true if
569 depm deleted something.
571 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
572 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
573 cursorDownParagraph, cursorPrevious and cursorNext, return true if
574 something was changed in the buffer because of them (ie. depm run)
576 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
577 debug messages. Make update by default be false. Make sure that
578 the result of update is retained throught several calls down to
581 * LyXAction.h: add a new func_attrib: NoUpdate
583 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
584 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
585 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
587 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
589 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
591 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
592 bv_->owner(), bv_->buffer() by direct references to the private
594 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
595 (getStatus): isSavedPosition() is in BufferView::Pimpl.
596 (fitCursor): center() is in BufferView::Pimpl.
597 (getStatus, trackChanges, dispatch): no need for a temporary buf
599 (fitCursor, workAreaDispatch): use workarea().workheight()
601 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
603 * CutAndPaste.C (pasteSelectionHelper): fix a crash
605 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
607 * buffer.C: format up to 241.
608 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
609 break if pasting into ERT
610 * lyxfunc.C (getStatus): suppress mathpanel and
611 LFUN_DIALOG_SHOW_NEW_INSET in ERT
613 2005-02-01 Angus Leeming <leeming@lyx.org>
615 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
617 2005-02-01 Angus Leeming <leeming@lyx.org>
619 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
620 calling fs::is_directory().
622 2005-01-31 Angus Leeming <leeming@lyx.org>
624 * lyx_main.C (priv_exec): specify explicitly the relative location
625 of the top level build directory when run in-place.
627 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
630 LyXText containing the cursor, not the top-level one.
632 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
634 (insertStringAsLines): rename par to pit; use temporary variable
635 par to hold a Paragraph; do not store par.layout() in a variable,
636 since the pointer may die when breaking paragraphs; pass pars to
637 breakParagraph() instead of Buffer::paragraphs().
639 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
641 * lyxlex_pimpl.h: #include <fstream>.
643 * BufferView.[Ch] (getLyXText): add a const version.
645 * BufferView_pimpl.C: add debug aids.
650 * paragraph_funcs.h: add commentary explaining what the class does.
653 * coordcache.[Ch]: add lots of commentary.
654 (startUpdating, doneUpdating): debug aids.
655 (arrays, insets, parPos, getParPos): accessors to private data.
657 * cursor_slice.[Ch] (text): add a const version.
658 * dociterator.[Ch] (text, innerText): add const versions.
660 * lyxtext.h (breakParagraph): change the keep_layout arg to a
663 * paragraph.C (getRow, pos2ros): add asserts.
665 * paragraph.h: add commentary. Lots of.
667 * paragraph.[Ch] (metrucs, draw): removed.
670 * rowpainter.[Ch]: const-correct changes.
672 * text.C: various obvious clean-ups. Removal of ancient cruft.
675 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
677 * vc-backend.C (find_file): rewrite to use boost.filesystem
680 * main.C (main): set default name check for boost.filesystem to
683 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
686 (actOnUpdatedPrefs): ditto
688 * lyx_main.C (init): rewrite to use boost.filesystem
689 (queryUserLyXDir): ditto
691 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
692 (getContentsOfAsciiFile): ditto
694 * lastfiles.C (readFile): rewrite to use boost.filesystem
696 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
698 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
701 * buffer.C (Buffer): adjust for destroydir
702 (getLogName): rewrite to use boost.filesystem
704 (save): use fs::copy_file (from fs_extras)
706 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
708 * LaTeX.C (run): rewrite to use boost.filesystem
709 (scanAuxFiles): ditto
710 (handleFoundFile): ditto
712 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
714 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
716 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
718 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
720 * lyxlayout.[Ch]: change some vars from float to double
722 * buffer.C (readFile): make a local var const
724 * Several files: use convert<> instead of atoi,strToXXX and friends
726 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
728 * LaTeXFeatures.[Ch]: Add a static list packages_ that
729 holds the contents of packages.lst. New functions getAvailable
730 and isAvailable to parse and check that list, resp.
734 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
736 * bufferparams.[Ch]: new param output_changes.
738 * Buffer.C: increase file format to 240.
739 Use output_changes and isVailable.
743 * paragraph_pimpl.C: Use output_changes and isVailable.
745 2005-01-23 Angus Leeming <leeming@lyx.org>
747 * output_latex.C: #include "insetbibitem.h", rather than
748 forward declare function bibitemWidest.
750 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
752 * lyx_main.C (init): make it compile on the Mac.
754 2005-01-20 Angus Leeming <leeming@lyx.org>
756 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
757 (setLyXMisc): (char string literal) != (char string literal) is
758 performing a comparison on the addresses. Convert one operand
759 explicitly to string to guarantee expected behaviour.
762 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
765 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
767 * output_plaintext.C: remove unneeded #include gzstream.h.
769 2005-01-20 Angus Leeming <leeming@lyx.org>
771 * SpellBase.h: rename some of the elements of the Result enum.
778 * pspell.C (check): ditto
780 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
782 * buffer.C: add #include <fstream>.
784 * lyx_main.C (init): Compile fix.
786 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
788 2005-01-20 Angus Leeming <leeming@lyx.org>
790 * mover.h: change commentary to reflect the changed meaning of
793 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
795 * output_linuxdoc.C (linuxdocParagraphs): silence warning
797 * lyxfind.C (MatchString::operator()): remove bogus semicolon
799 2005-01-20 Angus Leeming <leeming@lyx.org>
801 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
802 printing diagnostic data by not dereferecing an iterator past the
805 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
807 * buffer.C (readHeader): use "&&" rather than "and".
809 * lyxserver.h (inPipeName, outPipeName): make these const.
811 2005-01-19 Angus Leeming <leeming@lyx.org>
813 * lyx_main.C (error_handler, init): protect SIGHUP with
814 #ifdef SIGHUP guards.
816 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
818 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
820 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * text.C (setHeightOfRow): add a margin at the top and bottom of
823 the document (bug 1761)
825 2005-01-17 Angus Leeming <leeming@lyx.org>
827 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
828 with "python ". Workaround for a brain-dead Windows.
830 2005-01-16 Angus Leeming <leeming@lyx.org>
832 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
833 for MacOSX and Windows to use prependEnvPath.
834 Strip out the hard-coded block to add elements to the PATH for
835 MacOSX and replace it with a call to prependEnvPath using the
836 contents of LyXRC::path_prefix.
837 (queryUserLyXDir): strip out the code to run reconfigure, instead
838 returning a boolean indicating the necessity to do so.
839 (reconfigureUserLyXDir): contains the code to reconfigure the
840 user support directory. Is now called after the various LyXRC data
841 files have been read.
843 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
845 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * converter.[Ch] (convert): take a new parameter try_default. Use
848 a default converter (imagemagick) if try_default is true.
850 2005-01-13 Angus Leeming <leeming@lyx.org>
852 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
854 (write): output LyXRC::cygwin_path_fix as necessary.
856 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
859 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
861 2005-01-12 Angus Leeming <leeming@lyx.org>
863 * lyx_main.C (init): set the PATH variable to include the
864 directory containing the LyX binary when running on Mac or Windows.
866 2005-01-12 Angus Leeming <leeming@lyx.org>
868 * lyx_main.C (init): remove cruft that purports to set the locale
869 dir. It doesn't and is not needed anyway.
871 2005-01-10 Angus Leeming <leeming@lyx.org>
873 * Makefile.am: remove the lyx_main.C special casing.
875 * BufferView_pimpl.C:
881 * messages.C: use support/package.h to provide the paths to the
882 various directories used by LyX.
884 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
886 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
887 layout if pasting into an empty paragraph)
889 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
891 * tex-accent.C: add <string>
893 2005-01-06 José Matos <jamatos@lyx.org>
895 * ParagraphParameters.C (write): put every parameter in its own line.
896 * paragraph.C (write): reduce number of consecutive empty lines exported.
897 * buffer.C (LYX_FORMAT): increase file format to 239.
899 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
901 * everywhere: change support/tostr.h -> support/convert.h
903 * tabular.C: make all write_attributes templates, tostr -> convert
905 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
906 (emptyTag): and -> &&, and fix type for ret from getChar
907 (getFirstWord): fix type for ret from getChar
908 (onlyText): and -> &&
909 (simpleDocBookOnePar): and not -> && !, fix type for ret from
912 * toc.C (goTo, action):
913 * text3.C (dispatch):
914 * text.C (currentState):
915 * tex-accent.C (DoAccent):
918 * lyxfunc.C (menuNew):
919 * lyxfinc.C (replace):
920 * counters.C (laberItem):
921 * bufferview_funcs.C (font2string):
922 * bufferparams.C (writeFile):
923 * buffer.C (readFile):
925 * MenuBackend.C: tostr -> convert
927 * LaTeX.C (runMessage): fix format
928 (scanAuxFiles): tostr -> convert
930 * BufferView_pimpl.C (savePosition): fix format
931 (restorePosition): ditto
934 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
936 * Spacing.[Ch]: New method getValueAsString().
940 * ParagraphParameters.C:
943 * text3.C: store/read spacing value as string.
945 * rowpainter.C: change float value (spacing_val) to double.
947 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
948 broken custom document spacing).
950 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
952 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
953 namespace, also more use of temp references and const
955 * cursor.[Ch] (getStatus): move to lyxfunc.C
957 * bufferparams.C: reformat slightly
959 * bufferview_funcs.C (font2string): constify arg
965 * buffer_funcs.C: (many funcs): constify arg on function
966 definitions, also make more local vars const, also add ASSERTS on
969 * buffer.C (LYX_FORMAT): put const in correct place
970 (many funcs): constify arg on function definitions, also make
971 more local vars const
973 * aspell_local.h: remove "struct" from typdef setup
975 * aspell.C (check): make word_ok const
976 (nextMiss): simplify slightly
979 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
981 * lyxrc.[Ch]: store all float values as strings.
982 use int (not float) for lyxrc.dpi.
984 2005-01-04 Angus Leeming <leeming@lyx.org>
986 * lyx_cb.C (Reconfigure):
987 * lyx_main.C (queryUserLyXDir):
988 to run the <system_lyxdir>/configure correctly on Windows, prefix
989 the path to the script with "sh " when generating the string that
990 is passed to system().
992 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
994 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
996 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
998 * lyxlength.C (asLatexString): get rid of setprecision
1000 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1002 * text2.C (setLayout): remove unused variable endpit.
1003 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1005 * paragraph.C (onlyText): remove unused variable style.
1007 * cursor.C (bruteFind): remove unused variables beg and end.
1009 * Makefile.am (dist_noinset_DATA): not needed anymore
1011 * cheaders/*: remove.
1013 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1015 * text3.C: fix LFUN_MATH_MODE.
1017 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1019 * buffer_funcs.C (countWords): new function. Counts words between
1022 * BufferView_pimpl.C (getStatus, dispatch): handle
1025 * LyXAction.C (init):
1026 * lfuns.h: add LFUN_WORDS_COUNT.
1028 2004-12-19 Angus Leeming <leeming@lyx.org>
1030 * buffer.C (save): s/slashify_path/internal_path/.
1032 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1034 * lyxfind.C (findChange): do not search for end of pars, because
1035 the change tracker cannot handle this (fixes bug 1719).
1037 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1039 * paragraph.[Ch] (autoBreakRows): remove
1041 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1043 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1044 avoid using the paragraph one
1046 * text2.C (LyXText, insertStringAsLines): adjust
1048 2004-12-16 Angus Leeming <leeming@lyx.org>
1052 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1054 2004-12-14 Angus Leeming <leeming@lyx.org>
1056 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1058 * bufferlist.C (emergencyWrite):
1059 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1062 2004-12-14 Angus Leeming <leeming@lyx.org>
1064 * main.C: (main): no longer pass pointers to os::init.
1066 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1068 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1069 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1071 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1074 * text3.C: remove selection_possible global flag
1076 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1078 * text2.C (getSelectionSpan): remove
1079 (changeDepth, changeDepthAllowed): adjust
1081 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1083 * Makefile.am (BOOST_LIBS): use boost variables
1085 2004-12-03 José Matos <jamatos@lyx.org>
1087 * buffer.C: format up to 238.
1089 2004-12-03 José Matos <jamatos@lyx.org>
1091 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1093 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1095 * cursor.C (goUpDown): remove call to idxUpDown2
1097 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1099 * tabular.[Ch]: use size_t-like types for cell, row and column
1102 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1104 * lyxfunc.C (getStatus): do not lose previous information when
1105 calling BufferView::getStatus; do not set a default "Command
1106 disabled" message at the beginning, but just before returning.
1108 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1110 * cursor.h (getStatus): add better comment from src/cursor.C
1112 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * text3.C (getStatus): return false when the lfun is not handled
1116 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1118 * broken_headers.h: remove
1120 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1122 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1124 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1125 offset_ref accessors
1127 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1128 top_y_, merge fitcursor with update
1129 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1131 (metrics): introduce
1132 (workAreaDispatch): adapt to new coord scheme
1133 (redoCurrentBuffer): remove
1135 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1137 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1140 * coordcache.[Ch]: add paragraph cache and helpers
1142 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1145 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1146 (targetX, setTargetX): introduce
1148 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1149 baseline -> ascent, as the rest of lyx
1151 * lyxtext.h: remove redoParagraphs, updateParPositions,
1152 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1153 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1154 have ascent/descent (ascent is ascent of first par)
1156 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1159 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1161 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1163 * pariterator.C: fix infinite loop introduced in par->pit renaming
1165 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1166 in insets and LyXText, draw two off-screen paragraphs using
1167 NullPainter, and adapt to new coord scheme
1171 * text3.C: adapt lfun handlers to the new coord scheme, which
1172 means: there's only guaranteed coord information for onscreen pars
1173 plus one above and one below. This implies that one can do search
1174 from y coordinates in the range [-1,workHeight]
1176 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1178 * rename a lot of InsetOld to InsetBase
1180 2004-11-25 Angus Leeming <leeming@lyx.org>
1182 * BufferView_pimpl.C:
1184 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1186 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1188 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1189 call BufferView::getStatus if LCursor::getStatus did nothing
1190 (setStatusMessage, getStatusMessage): removed.
1192 * FuncStatus.C (message): new methods. Used to provide an error
1193 message indicating why a command is disabled.
1194 (clear, |=, FuncStatus): update for message.
1196 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1198 * lyxfunc.C (dispatch): always call sendDispatchMessage
1200 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1203 * BufferView_pimpl.C:
1208 * cursor_slice.[Ch]:
1211 * paragraph_funcs.C:
1217 * undo.C: par->pit renaming
1219 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1221 * tabular.C (cellstruct): use initialization, store a shared_ptr
1222 to insettext instead of the insettext directly, adjust to fit.
1223 (operator=): new function
1224 (swap): new function
1225 (rowstruct): use initialization
1226 (columnstruct): use initialization
1227 (ltType): use initialization
1230 * lyxlength.h (swap): new function
1232 * LColor.[Ch] (operator=): use the common semantics
1234 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1236 * lyxfind.C (findNextChange): update the bufferview after setting
1239 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1241 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1242 number of InsetOptArgs has already been inserted.
1244 * output_latex.C (latexOptArgInsets): new method. This outputs all
1245 the optarg insets, up to the limit defined in the layout file.
1246 (optArgInset): removed
1247 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1249 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1251 * paragraph.C (isLetter): remove special spellchecker-related
1252 code; return true also for digits
1253 (isWord, isKomma): remove
1255 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1256 * lyxfind.C (MatchString()): use isLetter instead of isWord
1258 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1260 * pariterator.h (operatir=): comment out un-implemented member
1263 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1266 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1268 * lyxfont.h: include LColor.h to satisfy concept checks.
1270 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1272 * pariterator.h: add typdefs for value_type, difference_type,
1273 pointer and reference to satisfy concept checks. Also add default
1274 constructor for same reason.
1276 * pariterator.C (operator++): add post-increment operator to
1277 satisfy concept checks.
1279 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1282 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1284 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1285 checks. Also rename base_type to BaseType to follow naming
1288 * FloatList.h: include Floating.h to satisfy concept checks.
1290 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1292 * lyxfunc.C (getStatus): when the origin of the request is menu or
1293 toolbar, and the LyXView does not have focus, do as if there was
1294 no buffer (bug 1720)
1296 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1297 FuncRequest to individual entries of LFUN_SEQUENCE
1299 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1301 * output_latex.C (TeXOnePar): override runparams.moving_arg
1302 according to the needprotect value of the current paragraph (bug
1305 * paragraph.C (simpleTeXOnePar): no need to override
1306 runparams.moving_args here
1308 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1310 * vspace.C: fix off-by-one-error, related to fix #1682
1312 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1314 * lengthcommon.C: a more general fix for bug 1682
1316 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1318 * text.C (backspace): fix crash
1320 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1322 * format.[Ch] (getFormatFromFile): new method
1323 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1325 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1327 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1329 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1331 * lyxfunc.C (dispatch): remove the verbose argument
1332 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1335 * kbmap.C (defkey): set the origin of func to KEYBOARD
1337 * MenuBackend.C (MenuItem):
1338 * ToolbarBackend.C (add): set the origin of func to UI
1340 * funcrequest.[Ch]: add origin member, which indicates which part
1341 of LyX requests an action
1343 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1345 * converter.C (move): don't lie in the error message
1346 * converter.h (isReachable, move): document
1348 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1350 * buffer.C: remove unused using lyx::support::atoi
1351 * paragraph_funcs.C: ditto
1353 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1355 * bufferlist.C (exists): use bind and equal_to instead of
1358 * lyxtextclasslist.C (NumberOfClass): ditto
1360 * cursor.C (insert): use for_each instead of explicit for loop
1362 * bufferlist.C (getFileNames): use std::transform and
1363 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1365 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1368 * buffer.C (changeLanguage): use for_each instead of explicit for
1370 (hasParWithID): implement using getParFromID
1372 * LaTeXFeatures.C: ws change only
1374 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1377 * BufferView_pimpl.C (trackChanges): use for_each instead of
1380 2004-11-04 André Pönitz <poenitz@gmx.net>
1383 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1385 * dociterator.C (asDocIterator): use hard assert again.
1387 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1389 * lyxlength.C (asLatexString): rewrite so that it does not use
1392 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1394 * text3.C (specialChar, dispatch): make sure cursor moves to the
1395 right after inserting an inset
1397 2004-11-02 José Matos <jamatos@lyx.org>
1399 * output_docbook.C (docbook):
1400 * paragraph.C (getID):
1401 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1402 garantee that the output is always legal.
1404 * tabular.C (docbook):
1405 * outputprams.[Ch]: remove mixed contents.
1407 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1409 * text2.C (setCounter): prevent endless loop
1411 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1413 * exporter.C (copyFile): use the mover instead of support::copy()
1414 * exporter.C (Export): pass format and latex name to copyFile()
1415 * exporter.h (addExternalFile): document
1416 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1418 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1420 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1422 2004-10-30 José Matos <jamatos@lyx.org>
1424 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1425 text and no inset or font change. This allows to use CDATA
1426 sections just for the whole paragraph.
1428 2004-10-30 José Matos <jamatos@lyx.org>
1430 * paragraph.C (getFirstWord): remove unused variable.
1432 2004-10-30 José Matos <jamatos@lyx.org>
1434 * paragraph.C (getFirstWord): the content should always be escaped
1436 (simpleDocBookOnePar):
1437 * output_docbook.C (makeEnvironment): replace reference to CDATA
1440 2004-10-30 José Matos <jamatos@lyx.org>
1442 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1444 2004-10-30 José Matos <jamatos@lyx.org>
1446 * output_docbook.C (makeParagraphs):
1447 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1448 standard paragraph has only a given type of content drop the wrapper.
1450 2004-10-29 José Matos <jamatos@lyx.org>
1452 * output_docbook.C (makeEnvironment):
1454 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1456 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1458 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1459 (cleanID): sanitize any id.
1461 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1463 * buffer.C, lyxlex_pimpl.C:
1464 * lyxlex_pimpl.C (setFile):
1465 s/getExtFromContents/getFormatFromContents/
1467 2004-10-28 José Matos <jamatos@lyx.org>
1469 * output_docbook.C (makeEnvironment): move id to broadest possible
1472 * sgml.C (openTag): apply substitution of <> for all attributes.
1474 2004-10-28 José Matos <jamatos@lyx.org>
1476 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1477 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1478 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1480 * sgml.[Ch]: new version for open and closeTag for paragraph and
1481 for strings. Now they handle the ids of paragraphs.
1483 2004-10-26 Angus Leeming <leeming@lyx.org>
1485 * Makefile.am: add mover.[Ch].
1487 * converter.C (convert, move): use the new Movers to move external
1488 files to the temp directory.
1490 * lyx_main.C (init): ensure that the global system_movers data
1493 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1496 * mover.[Ch]: new files, defining a Mover as a utility to move an
1497 external file between directories and, if necessary, manipulate this
1498 file using a helper script.
1500 2004-10-25 José Matos <jamatos@lyx.org>
1502 * output_docbook.C (makeCommand): merge two if's that tested the
1505 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1507 * sgml.C (escapeString): fix warning in a better way
1509 2004-10-25 José Matos <jamatos@lyx.org>
1511 * sgml.C (escapeString): import the require boosts header file for
1512 tie, and avoid a signed unsigned comparison.
1514 2004-10-25 José Matos <jamatos@lyx.org>
1516 * sgml.h: add #include <string>
1518 2004-10-25 José Matos <jamatos@lyx.org>
1520 * sgml.[Ch] (escapeString): new function to escape all the string.
1522 2004-10-24 José Matos <jamatos@lyx.org>
1524 * paragraph.[Ch] (getFirstWord): new function to get the first
1525 word. Useful for description.
1526 (simpleDocBookOnePar): remove depth argument, add another that
1527 says where to start the paragraph.
1529 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1530 use the new functions to fix cleanly the support for descriptions.
1532 2004-10-24 José Matos <jamatos@lyx.org>
1534 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1535 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1536 * output_linuxdoc.C (linuxdocParagraphs):
1537 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1538 add buffer as argument.
1540 2004-10-24 José Matos <jamatos@lyx.org>
1542 * output_docbook.C (makeEnvironment, searchEnvironment): place
1543 CDATA inside paragraphs and fix scope for listitems.
1545 2004-10-24 José Matos <jamatos@lyx.org>
1547 * output_docbook.C: remove using statement for stack.
1549 2004-10-23 José Matos <jamatos@lyx.org>
1551 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1552 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1553 docbook. The new scheme is recursive and makes use of iterators, the
1554 same as latex export works.
1555 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1556 directly with the paragraph contents. This code was moved up to
1557 output_docbook.C (docbookParagraphs).
1558 * sgml.C (openTag, closeTag): removed unneeded newlines.
1559 (closeEnvTags) removed.
1561 2004-10-23 André Pönitz <poenitz@gmx.net>
1563 * undo.C (textUndoOrRedo):
1564 * dociterator.C (asDocIterator): work around crash
1566 * cursor.C (getStatus): replace ASSERT by more verbose error message
1567 and manual correction of the problem. Should increase stability
1568 while providing more sensible information.
1570 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1572 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1574 * bufferlist.C (previous, next): new methods
1577 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1579 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1581 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1582 entities to preamble.
1584 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1586 * messages.C (Pimpl): strip off translation context information
1588 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1590 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1591 the cursor is correct (bug 1694)
1593 2004-10-13 José Matos <jamatos@lyx.org>
1595 * output_docbook.C (docbookParagraphs): fix closing tags in the
1596 end of the document.
1598 2004-10-09 José Matos <jamatos@lyx.org>
1600 * buffer.C: format up to 237.
1601 * bufferparams.C (write): use tostr to convert booleans to strings.
1603 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1605 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1607 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1609 * LaTeX.C: implement use of babel language in xindy.
1611 2004-10-05 José Matos <jamatos@lyx.org>
1613 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1614 Add new translators to help reading and writing the lyx file.
1616 2004-10-05 José Matos <jamatos@lyx.org>
1618 * ParagraphParameters.C (read):
1619 * text.C (readParToken): replace nexToken by more appropriate lex
1622 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1624 * LaTeX.C (runMakeIndex):
1625 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1626 (usually 'makeindex') configurable.
1628 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1629 with a variable rather than with a number.
1631 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1633 * output_latex.C (TeXOnePar): make sure font setting is the first
1634 thing that gets output (and the last at the end). Should fix bug
1637 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1639 * pch.h: use proper signal include
1641 * LaTeX.h: Use preferred calling of Boost.Signal
1644 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1646 * pch.h: dont include <boost/function/function0.hpp>
1648 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1650 * paragraph_pimpl.h: remove usage of ShareContainer
1652 * paragraph_pimpl.C: remove initialization of ShareContainer.
1654 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1658 * BufferView.C (putSelectionAt): change the semantics when
1659 backwards == true: now, this just swaps cursor and anchor wrt the
1662 * BufferView.h (putSelectionAt): add some documentation
1664 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1665 make sure backwardChar is done at least once (to avoid getting
1667 (findNextChange): use putSelectionAt in the forward direction
1668 (operator()): use Paragraph::isWord
1670 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1672 * Spacing.C (set): c_str fix
1674 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1676 * lyx_cb.C (Reconfigure): quote the name of configure script in
1677 case it contains spaces
1679 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1683 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1684 (BOOST_LIBS): use top_buildir when looking for the file
1686 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1688 * pch.h: do not use include boost/format.hpp, multiple symbols
1689 will result (gcc bug)
1692 2004-08-23 José Matos <jamatos@lyx.org>
1694 * bufferparams.C (readToken): fix reading of the author field.
1696 2004-08-20 José Matos <jamatos@lyx.org>
1698 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1700 2004-08-20 José Matos <jamatos@lyx.org>
1702 * lyxlex.[Ch] (findToken): remove function.
1704 * ParagraphParameters.C (findToken):
1705 * bufferparams.C (findToken): replace call for previous function
1706 with local copy. This local function has one more argument, the
1707 read string argument.
1709 2004-08-16 José Matos <jamatos@lyx.org>
1711 * ParagraphParameters.C (write):
1712 * Spacing.C (writeFile):
1713 * bufferparams.C (writeLaTeX):
1714 * lyx_cb.C (Reconfigure):
1715 * paragraph.C (write):
1716 * tabular.C (write): remove unnecessary space at end of line.
1719 2004-08-16 José Matos <jamatos@lyx.org>
1721 * text.C (readParagraph): remove debug message.
1723 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1725 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1728 * output_plaintext.C (asciiParagraph): set depth correctly
1730 * outputparams.h: add member depth
1732 * paragraph_funcs.C (ownerPar): remove.
1734 * text2.C (setCounter): remove first_pit; comment out some
1735 non-working code that uses ownerPar
1737 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1740 2004-08-16 José Matos <jamatos@lyx.org>
1742 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1743 For the same level of importance use the same chanel to report problems.
1744 (read): add code to deal with \begin_body and \end_body.
1747 2004-08-15 José Matos <jamatos@lyx.org>
1749 * lyxlex.C (getString): fix comment, buffer::readBody is now
1750 buffer:readDocument.
1752 * tex-strings.C (string_papersize): Default -> default,
1753 Custom -> custom, for consistency with other options.
1755 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1759 * Makefile.am: support pch
1761 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1763 * text.C (readParToken): remove the static LyXFont variable and
1764 pass it as a parameter instead. This fixes a nasty bug where an
1765 inset will be inserted with a bad font in some situations
1766 (readParagraph): adapt
1768 * text2.C (setCounter): reduce number of calls to pars_[pit]
1770 * text.C (singleWidth): add an assert, fix a test
1772 * rowpainter.C (paintText): reduce number of calls to singleWidth
1774 * paragraph.C (isHfill):
1775 (isNewline): ws only
1777 2004-08-14 André Pönitz <poenitz@gmx.net>
1782 * lyxtext.h (several functions): use a Paragraph & argument
1785 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1787 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1789 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1791 * text.C (singleWidth): remove useless test
1793 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1795 * tabular.h: remove bogus comments
1797 * tabular.C (getDescentOfRow):
1798 (isPartOfMultiColumn): add assertions
1800 * lyxlength.C (inPixels): remove #warning
1802 2004-08-14 André Pönitz <poenitz@gmx.net>
1804 * paragraph.h: inline getChar()
1806 * BufferView.h: remove unused declarations
1808 2004-08-14 José Matos <jamatos@lyx.org>
1810 * Buffer.[Ch] (readDocument): new name for old readBody.
1811 * Buffer.C: new file format, new keywords: \begin_document,
1812 \begin_header, \begin_body, \end_body.
1814 * bufferparams.C (readToken): replace all calls to lex.nextToken
1815 by lex.next(). Do the same to eatLine except where really needed.
1817 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1818 line when writing to the lyx file.
1820 * output_plaintext.C (asciiParagraph): fix Bibliography style
1823 * text.C (read): fix end of file handling.
1825 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1827 * MenuBackend.C (Menu::operator[]): new method to access
1828 individual menu items
1829 (Menu::hasFunc): new method. search for an item that corresponds
1831 (MenuBackend::specialMenu): new method
1832 (MenuBackend::expand): if a special menu has been set, skip
1833 entries whose func() appears in this menu
1835 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1837 * text3.C: use Debug::DEBUG a bit more
1839 * text.C (leftMargin): try to simplify a tiny bit change var x to
1840 l_margin. Dont output the wide margins always.
1841 (rightMargin): no margin in inner texts
1843 * rowpainter.h (nestMargin): new func
1844 (changebarMargin): new func
1845 (rightMargin): new func
1847 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1851 * factory.C (createInset): modify setDrawFrame
1853 * cursor.C: use Debug::DEBUG a bit more
1855 2004-08-14 André Pönitz <poenitz@gmx.net>
1858 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1859 cache for all insets in (at least partially) visible (top-level)
1862 * BufferView_pimpl.C: reset external coord cache before every update.
1863 This means the coord cache only contains valid entries.
1865 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1868 * BufferView_pimpl.C (getInsetByCode): move function out of class
1869 and change in to a template in anon namespace. Also fix to do what
1872 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1875 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1877 (breakParagraph): rename par to par_offset and use a local
1878 reference. Add code to keep the language over a rebreak.
1879 (breakParagraphConservative): rename par to par_offset, use a
1881 (mergeParagraph): ditto
1883 (isFirstInSequence): ditto
1884 (outerFont): rename pit to par_offset
1886 * paragraph.C: ws change
1887 * paragraph.h: ditto
1891 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1896 * paragraph.C (simpleTeXOnePar): when we have a \item with
1897 optional argument, enclose the argument with curly brackets (in
1898 case it contains a closing square bracket)
1902 * text3.C (checkInsetHit): constify
1904 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1906 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1907 documents (bug 1629)
1909 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1911 Fix toggling of collapsable insets with the mouse (bug 1558)
1913 * lyxfunc.C (dispatch): adapt to LCursor changes
1915 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1916 make sure that dispatch is not invoked twice
1918 * cursor.C (needsUpdate): new method
1919 (dispatch): return void
1920 (result): new method, to access the DispatchResult of the cursor.
1922 2004-08-13 José Matos <jamatos@lyx.org>
1924 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1926 2004-08-13 André Pönitz <poenitz@gmx.net>
1928 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1930 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1933 2004-08-12 André Pönitz <poenitz@gmx.net>
1935 * text3.C: take out the 'cursor right' form insertInset and only
1936 do it in those places when it is really needed. Fixes crash on
1939 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1941 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1943 * BufferView_pimpl.C (setBuffer): initialize the current font of
1944 the underlying LyXText
1946 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1948 * kbsequence.C (print): use UI native formatting for menu
1951 * text.C (insertChar): call Paragraph::insertChar with a font
1954 * paragraph.C (insertInset, insertChar): the version that takes a
1955 LyXFont argument is now a wrapper around the other one (the
1956 opposite used to be true).
1958 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1959 argument. Font setting is done in Paragraph now.
1961 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1963 * outputparams.h: add new members intitle and lang.
1965 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1966 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1968 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1970 * text3.C (dispatch): remove special handling of button 4 and 5,
1971 it is now taken care of in the frontend code.
1973 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1975 * Spacing.h: add <string> (STLPort compile fix)
1977 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1979 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1981 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1983 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1986 * converter.C (showMessage): inherit from unary_function, make
1989 * buffer.C (writeFile): initialize retval
1991 * InsetList.h: rename private variable list to list_
1992 * InsetList.[Ch]: adjust accordingly.
1994 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1996 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1997 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1998 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1999 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2000 * ParagraphParameters.C, LaTeXFeatures.C: replace
2001 "support/std_sstream.h" with <sstream>
2003 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2005 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2006 * lyxsocket.C (LyXServerSocket): ditto
2007 (serverCallback): ditto
2009 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2011 * LaTeXFeatures.C: check release date when loading jurabib.
2013 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2015 * lyxserver.C (startPipe): call register_socket_callback
2016 (endPipe): call unregister_socket_callback
2018 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2020 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2021 (LyXServerSocket): register the callback
2022 (LyXServerSocket): unregister the callback
2023 (fd): delete function
2024 (serverCallback): improve error checking and setup the callbacks.
2025 (dataCallback): change arg to fd.
2026 (writeln): new func (copied fro the client socket) used for server
2028 (LyXDataSocket): simplify
2029 (~LyXDataSocket): close ann unregiser callback
2030 (server): delete function
2031 (fd): delete function
2032 (readln): small changes, improve some std::string usage
2033 (writeln): constify a bit
2035 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2037 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2040 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2042 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2043 after it has been populated
2045 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2047 * text2.C (insertInset): move cursor when inserting inset.
2049 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2051 * kbmap.C (findbindings): a couple of new methods. returns a
2052 container of kb_sequence objects. The real work is done by the
2053 private recursive version
2054 (printbindings): uses findbindings to print out a bracketed list
2055 of bindings (renamed from findbinding).
2057 * MenuBackend.C (binding): use kb_keymap::findbindings
2059 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2061 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2063 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2065 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2067 * paragraph.C (isWord): return true on insets that report
2070 * text.C (getWord): use Paragraph::isWord to decide what is in a
2071 word and what is not; fix bug 1609.
2073 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2075 * tex-strings.C: add "none" to string_paperpackages[], fixes
2076 off-by-one-error in the paperpackage selection.
2079 * tex-strings.[Ch]: char const * string[n]
2080 -> char const * const string[]
2082 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2084 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2085 command, return early.
2087 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2089 * debug.h: add DEBUG to enum and fix size of ANY.
2091 * debug.C: add support for Debug::DEBUG
2092 (showTags): cast errorTags.level to unsigned int
2094 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2095 (redoCurrentBuffer): ditto
2096 (updateScrollbar): ditto
2097 * cursor.C (dispatch): ditto
2098 * text2.C (setLayout): ditto
2100 (updateCounters): ditto
2102 (deleteEmptyParagraphMechanism): ditto
2104 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2106 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2107 annotations to cleanup the Makefile slightly.
2109 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2111 * lyxrc.C: do not set user_email to a default value but use empty
2112 instead. The entry used to be translated, which does not work
2113 since at the point where lyxrc is constructed there is no
2114 translation service available
2116 * messages.C (getLocaleDir): remove and use directly
2117 lyx_localedir() instead
2119 2004-06-02 Angus Leeming <leeming@lyx.org>
2121 Fix crash caused by dereferencing null pointer 'exportdata' in
2122 OutputParams by creating a new ExportData variable on the heap,
2123 storing it in a boost::shared_ptr.
2124 The crash was triggered when generating an Instant Preview
2125 of an external inset.
2127 * Makefile.am: add outputparams.C
2129 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2130 (c-tor): allocate memory to it.
2132 * exporter.C (c-tor): associated changes.
2134 2004-06-01 Angus Leeming <leeming@lyx.org>
2136 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2137 contains data before calling isInset(0). (Bug 1513.)
2139 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2141 * exporter.C (checkOverwrite): new method
2142 * exporter.C (copyFile): new method
2143 * exporter.C (Export): copy referenced files to the document dir
2144 * exporter.[Ch]: new class ExportedFile
2145 * exporter.[Ch]: new class ExportData. Contains currently the
2146 names of referenced external files
2147 * outputparams.h: add exportdata member.
2149 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2151 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2154 2004-05-19 Angus Leeming <leeming@lyx.org>
2159 * lyxfunc.C: small changes due to the introduction of namespace
2160 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2162 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2164 * text3.C (dispatch): supress update when only moving the cursor
2165 * cursor.C (selHandle): remove commented code
2167 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2169 * paragraph.C (startTeXParParams): correct column count
2170 * CutAndPaste.C (pasteSelection): remove const_cast
2171 * output_docbook.C (docbookParagraphs): remove const_cast
2172 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2173 const_cast and return ParagraphList::const_iterator
2174 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2175 * output_plaintext.C (writeFileAscii): remove const_cast
2176 * paragraph.[Ch] (simpleTeXOnePar): make const
2177 * paragraph_funcs.C (outerPar): use const iterators
2178 * paragraph_pimpl.C (validate): use const iterators
2179 * text.C (setHeightOfRow): use const iterators
2181 2004-05-17 Angus Leeming <leeming@lyx.org>
2184 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2186 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2187 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2188 if the citation engine has changed.
2190 2004-05-14 José Matos <jamatos@lyx.org>
2192 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2193 if the textclass does not provide it. Have it different for sgml and
2195 support the language of document.
2196 * output_docbook.C (docbookParagraphs):
2197 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2198 first anchor as the id of the paragraph, remove special case code.
2199 * sgml.C (escapeChar): escape only < & >.
2201 2004-05-14 Angus Leeming <leeming@lyx.org>
2203 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2204 dependencies on src/frontends/controllers/biblio.h. Define a
2205 CiteEngine_enum wrapper class to enable the enum to be forward
2208 2004-05-12 Angus Leeming <leeming@lyx.org>
2210 * buffer.C: up LYX_FORMAT to 234.
2211 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2212 use_numerical_citations with a single biblio::CiteEngine cite_engine
2214 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2216 2004-05-13 José Matos <jamatos@lyx.org>
2219 * converter.C (Converter, readFlags): add xml member.
2220 * outputparams.h: add XML flavor.
2221 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2223 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2225 * lyxfunc.C (dispatch):
2226 (getStatus): fix handling of LFUN_SEQUENCE
2228 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2230 * debug.C (showLevel): do not forget the end-of-line marker
2232 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2234 * kbmap.C (read): do not stop parsing a bind file when an error
2237 2004-04-29 Angus Leeming <leeming@lyx.org>
2242 * text2.C: wrap a bunch of #warning statements
2243 inside #ifdef WITH_WARNINGS blocks.
2245 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2247 * buffer.C: increment format to 233.
2249 2004-04-28 Angus Leeming <leeming@lyx.org>
2251 * BufferView_pimpl.C:
2254 s/updateToolbar()/updateToolbars()/
2255 s/Toolbar.h/Toolbars.h/
2257 2004-04-28 Angus Leeming <leeming@lyx.org>
2259 * BufferView.[Ch] (c-tor):
2260 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2261 No longer passes these data to the WorkArea generator.
2263 2004-04-28 Angus Leeming <leeming@lyx.org>
2265 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2267 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2269 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2271 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2273 * output_latex.C (TeXEnvironment): make sure that there is a line
2274 break before \end{foo} for the last paragraph of a document
2275 (TeXOnePar): if the paragraph is at the end of the document (or
2276 inset) and the language has to be reset, then make sure that the
2277 line break is _before_ the language command, not after (fixes bug
2278 1225); also make sure that the language reset command is the first
2279 thing after the paragraph (to ensure proper nesting of
2280 environments and thus fix bug 1404)
2282 2004-04-21 John Levon <levon@movementarian.org>
2285 * ToolbarBackend.C: make "name" be a programmatic name
2286 and a gui_name field.
2288 * lyxfunc.C: display the minibuffer on M-x
2290 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2292 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2295 2004-04-19 Angus Leeming <leeming@lyx.org>
2297 * BufferView_pimpl.C (setBuffer): changed preview interface.
2299 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2302 2004-04-19 John Levon <levon@movementarian.org>
2304 * BufferView_pimpl.C:
2305 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2307 2004-04-05 Angus Leeming <leeming@lyx.org>
2309 * text.C (redoParagraphs): add call to updateCounters(), thereby
2310 fixing the missing "Figure #:" label from the caption of a
2313 2004-04-13 Angus Leeming <leeming@lyx.org>
2315 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2316 cursor is clicked out of an inset.
2318 2004-04-13 Angus Leeming <leeming@lyx.org>
2320 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2321 than an InsetOld one.
2323 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2325 * format.[Ch]: add editor to Format
2326 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2327 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2329 2004-04-08 André Pönitz <poenitz@gmx.net>
2331 * metricsinfo.h: remove PainterInfo::width member
2333 2004-04-08 Angus Leeming <leeming@lyx.org>
2335 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2336 "\providecommand" rather than "\newcommand", thereby preventing
2337 clashes with packages that define "\boldsymbol" themselves.
2340 2004-04-08 Angus Leeming <leeming@lyx.org>
2342 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2343 thereby squashing an unnecessary warning.
2345 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2347 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2350 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2352 * BufferView.C (setCursor): call redoParagraph (some insets could
2354 (putSelectionAt): remove the 'double update' trick
2356 * BufferView_pimpl.C (fitCursor): call refreshPar
2357 (workAreaDispatch): remove an uneeded update call
2358 (dispatch): remove some manual update calls
2360 * cursor.[Ch]: remove cached_y_, updatePos
2361 (selHandle): set noUpdate when appropriate
2363 * lyxfunc.C (dispatch): track if we need an update
2365 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2367 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2368 (paintSelection): cheap optimization, do not call cursorX when not
2370 (paintPars): change signature
2373 (paintTextInset): adjust
2377 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2379 * lengthcommon.C: compilation fix: remove explicit array size from
2380 unit_name[] and friends
2382 2004-04-05 Angus Leeming <leeming@lyx.org>
2384 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2386 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2387 present only for the preferences dialog.
2388 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2390 2004-04-05 Angus Leeming <leeming@lyx.org>
2392 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2393 to enable the frontends to export changes to lyxrc correctly.
2395 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2397 2004-04-07 André Pönitz <poenitz@gmx.net>
2399 * cursor.[Ch] (selClear, adjust): remove math
2401 * cursor_slice.C: more agressive assert
2404 * BufferView_pimpl.C: rework mouse event dispatch
2411 2004-04-05 André Pönitz <poenitz@gmx.net>
2413 * cursor.[Ch] (valign, halign...): remove unneeded functions
2415 2004-04-05 Angus Leeming <leeming@lyx.org>
2417 * lyxlength.[Ch] (unit_name et al.): const-correct.
2419 2004-04-05 Angus Leeming <leeming@lyx.org>
2421 * BufferView_pimpl.C:
2430 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2432 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2434 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2436 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2438 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2439 * BufferView_pimpl.[Ch] (getStatus)
2440 * BufferView.[Ch] (getStatus): add
2441 * lyxfunc.C (getStatus): move lfuns handled in
2442 BufferView::dispatch to te function above
2443 * Cursor.C (setSelection): set selection() = true
2445 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2447 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2449 2004-03-31 Angus Leeming <leeming@lyx.org>
2451 * lyxfunc.C (dispatch): Fall through to the generic
2452 Dialogs::show("preamble").
2454 2004-03-31 Angus Leeming <leeming@lyx.org>
2456 * lyxfunc.C (dispatch): Fall through to the generic
2457 Dialogs::show("spellchecker").
2459 2004-03-31 Angus Leeming <leeming@lyx.org>
2461 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2464 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2469 * insetiterator.[Ch]:
2474 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2476 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2478 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2479 insets where we are putting the cursor.
2481 2004-03-31 Angus Leeming <leeming@lyx.org>
2484 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2486 * lyxrc.[Ch] (read, write): overloaded member functions taking
2487 a std::[io]stream arguments.
2489 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2491 2004-03-31 Angus Leeming <leeming@lyx.org>
2493 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2494 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2496 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2497 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2499 2004-03-31 Angus Leeming <leeming@lyx.org>
2501 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2502 the LFUN_ALL_INSETS_TOGGLE code.
2504 2004-03-30 Angus Leeming <leeming@lyx.org>
2506 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2507 has died. Fall through to the generic Dialogs::show("document").
2509 2004-03-30 Angus Leeming <leeming@lyx.org>
2512 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2513 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2515 * lyxfunc.C (getStatus, dispatch): define the actions for these
2516 lfuns. Little more than a cut and pste job from ControlDocument.C
2518 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2520 2004-03-30 Angus Leeming <leeming@lyx.org>
2523 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2524 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2526 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2527 open/closed state of ollapsable insets. Usage:
2529 all-inset-toggle <state> <name>, where
2530 <state> == "open" || "closed" || "toggle" and
2531 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2533 * lyxtext.h, text2.C (toggleInset): removed.
2535 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2536 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2537 now passes LFUN_INSET_TOGGLE to the found inset.
2539 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2540 is now invoked as "all-insets-toggle toggle branch".
2542 2004-03-30 Angus Leeming <leeming@lyx.org>
2546 * pariterator.[Ch]: added/corrected header blurb.
2548 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2550 * dociterator.[Ch]: add an inset_ member
2551 (backwardPos): implemented
2552 (backwardPos, forwardPos): use inset_ when the stack is empty.
2553 (doc_iterator_begin, doc_iterator_end): implemented
2554 * pariterator.[Ch]: adjust, add begin, end
2555 * insetiterator.[Ch]: adjust, add begin, end
2559 * BufferView_pimpl.C:
2560 * CutAndPaste.C: adjust
2562 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2564 * buffer.C: increment file format to 232.
2565 * LaTeXFeatures.C: add bibtopic package.
2566 * bufferparams.[Ch]: param \use_bibtopic.
2568 * lyxrc.[Ch]: add lyxrc bibtex_command
2569 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2571 * buffer.C: increment file format to 231.
2573 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2575 * dociterator.C: implement forwardPar
2576 * iterators.[Ch]: remove, replaced by
2577 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2579 * BufferView_pimpl.C:
2582 * bufferview_funcs.C:
2588 * Makefile.am: adjust
2590 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2592 * CutAndPaste.C (pasteSelection): fix 2 crashes
2593 (eraseSelection): fix a crash
2594 * paragraph_funcs.C: remove a warning
2596 2004-03-28 Angus Leeming <leeming@lyx.org>
2599 * LyXAction.C (init): new LFUN_PRINT.
2601 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2603 2004-03-27 Angus Leeming <leeming@lyx.org>
2606 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2608 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2610 2004-03-27 Angus Leeming <leeming@lyx.org>
2612 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2613 insetlist always contains non-null pointers to insets.
2615 2004-03-26 Angus Leeming <leeming@lyx.org>
2617 * src/BufferView_pimpl.C:
2618 * src/CutAndPaste.C:
2621 * src/output_plaintext.C:
2622 * src/outputparams.h:
2623 * src/paragraph_funcs.C:
2627 * src/frontends/controllers/ControlErrorList.C:
2628 * src/frontends/gtk/FileDialogPrivate.C:
2629 * src/frontends/gtk/GPainter.C:
2630 * src/frontends/gtk/GToolbar.C:
2631 * src/frontends/qt2/QRef.C:
2632 * src/mathed/math_scriptinset.C: squash compiler warnings.
2634 2004-03-26 Angus Leeming <leeming@lyx.org>
2636 * ispell.C (LaunchIspell::start):
2637 * lyx_cb.C (AutoSaveBuffer::start):
2638 invoke run(DontWait) rather than runNonBlocking().
2640 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2642 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2644 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2646 * kbsequence.C (print): adjust
2648 * kbmap.C (printKeySym): rename and change signature
2649 (printKey): use LyXKeySym::print()
2651 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2653 * undo.C: add using std::advance to compile for stlport
2655 2004-03-24 Angus Leeming <leeming@lyx.org>
2657 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2658 it leads to a crash when no buffer is present.
2660 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2661 Martin Vermeer <martin.vermeer@hut.fi>
2663 * lyxfunc.C (dispatch):
2664 * bufferparams.C (readToken): use the new LColor::setColor
2666 * LColor.[Ch] (setColor): new version that takes two strings as
2667 argument and creates a new color entry if necessary
2669 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2671 * buffer.C (makeLaTeXFile): if the main latex file that is
2672 processed is usually a subdocument of some master, then pretend
2673 for a while that it is actually the master
2675 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2677 * buffer.C (getLabelList):
2678 (getBibkeyList): use getMasterBuffer()
2679 (getMasterBuffer): new method. Returns the main document in the
2680 case where one is using included documents.
2682 2004-03-25 André Pönitz <poenitz@gmx.net>
2686 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2688 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2690 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2691 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2693 * ParameterStruct.h: merge with ParagraphParameters
2695 * lyxtext.h: remove LyXText::parOffset() and getPar()
2697 * text3.C: Remove all 'manual' update calls. We do now one per user
2698 interaction which is completely sufficient.
2702 * BufferView_pimpl.C:
2703 * FontIterator.[Ch]:
2705 * ParagraphParameters.[Ch]:
2710 * cursor_slice.[Ch]:
2717 * output_docbook.[Ch]:
2718 * output_latex.[Ch]:
2719 * output_linuxdoc.[Ch]:
2720 * output_plaintext.[Ch]:
2722 * paragraph_funcs.[Ch]:
2723 * paragraph_pimpl.[Ch]:
2731 * frontends/controllers/ControlDocument.C:
2732 * frontends/controllers/ControlErrorList.C:
2733 * frontends/controllers/ControlSpellchecker.C:
2736 * insets/insetbase.h:
2737 * insets/insetbibitem.C:
2738 * insets/insetbox.C:
2739 * insets/insetbranch.C:
2740 * insets/insetcaption.C:
2741 * insets/insetcharstyle.C:
2742 * insets/insetcharstyle.h:
2743 * insets/insetcollapsable.C:
2744 * insets/insetcollapsable.h:
2745 * insets/insetert.C:
2746 * insets/insetfloat.C:
2747 * insets/insetfoot.C:
2748 * insets/insetmarginal.C:
2749 * insets/insetnote.C:
2750 * insets/insetoptarg.C:
2751 * insets/insettabular.C:
2752 * insets/insettext.C:
2753 * insets/insettext.h:
2754 * insets/insetwrap.C:
2755 * mathed/math_mboxinset.C:
2756 * mathed/math_nestinset.C:
2757 * mathed/math_scriptinset.C:
2758 * mathed/math_scriptinset.h:
2761 2004-03-24 Angus Leeming <leeming@lyx.org>
2763 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2764 deal with any child processes that have finished but are waiting to
2765 communicate this fact to the rest of LyX.
2767 2004-03-24 Angus Leeming <leeming@lyx.org>
2769 64-bit compile fixes.
2771 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2772 (c-tor): pass lyx::pos_types rather than ints.
2774 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2777 * text.C (Delete): compile fix.
2778 (getPar): ensure that function declaration is the same as that in
2781 2004-03-23 Angus Leeming <leeming@lyx.org>
2783 * ispell.C (LaunchIspell):
2784 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2785 a boost::shred_ptr rather than a std::auto_ptr.
2787 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2789 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2790 handle LFUN_FILE_INSERT_*
2792 * lyxrc.C (setDefaults, getDescription, output, read):
2793 * lyxrc.h: remove ps_command
2795 2004-03-22 Angus Leeming <leeming@lyx.org>
2797 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2798 Ensure that error_handler is processed once only and that all data
2799 is saved before attempting to output any warning messages.
2801 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2803 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2805 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2807 2004-03-19 André Pönitz <poenitz@gmx.net>
2809 * cursor.[Ch] (reset): take main text inset as argument
2811 * BufferView: adjust
2812 * BufferView_pimpl.C: adjust
2814 * paragraph.[Ch]: fix completely broken operator=()
2816 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2818 * LColor.C (getFromLyXName): make sure that the color name is used
2821 2004-03-17 Angus Leeming <leeming@lyx.org>
2824 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2826 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2827 dialog and to kill a forked process.
2829 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2831 * text2.C (setCursorFromCoordinates): fix font problem
2833 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2835 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2836 bogus "rebuild cursor" code
2838 2004-03-11 André Pönitz <poenitz@gmx.net>
2840 * buffer.[Ch]: use InsetText instead of LyXText as container for
2843 * dociterator.[Ch]: drop the BufferView * member which is not needed
2844 anymore after the change to buffer.C
2846 * paragraph_funcs.C:
2850 * BufferView_pimpl.[Ch]:
2852 * cursor_slice.[Ch]: adjust
2854 * text3.C: fix bug in mathDispatch
2856 2004-03-08 André Pönitz <poenitz@gmx.net>
2858 * undo.[Ch]: use 'StableDocumentIterator' as base for
2861 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2864 * bufferparams.[Ch]: add jurabib support and param.
2866 * LaTeX.C: add FIXME/comment.
2868 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2870 * buffer.C: increment file format to 230.
2872 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2874 * cursor.C (dispatch): avoid infinite loops
2876 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2878 * rowpainter.C (paintSelection): fix x coordinates
2880 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2882 * text.C (rowBreakPoint): fix breaking before displayed insets
2884 2004-03-01 André Pönitz <poenitz@gmx.net>
2886 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2888 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2892 * BufferView_pimpl.C:
2900 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2906 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2907 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2909 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2911 * Bidi.[Ch] (computeTables): const correctness
2912 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2913 fill_hfill, fill_label_hfill and x from Row
2914 * lyxtext.h: prepareToPrint returns a RowMetrics
2915 * rowPainter.C: adjust
2916 * text.C (prepareToPrint): use width, not textWidth. adjust
2917 (redoParagraphInternal, cursorX): adjust
2918 * text2.C (getColumnNearX): adjust
2919 (init): put a default value to the top LyXText::width
2921 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2923 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2925 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2927 * lyxtext.h: add FontIterator class
2929 * text.C (FontIterator, operator*, operator->, operator++): add
2930 (rowBreakPoint, setRowWidth): adjust (fixing a
2933 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2935 * BufferView_pimpl.C (workAreaDispatch): allow also
2936 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2938 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2940 * text.C (rowBreakPoint): fix a bug showing with very large insets
2942 2004-02-25 André Pönitz <poenitz@gmx.net>
2945 * cursor.[Ch]: move some mathed specific code to mathed
2947 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2949 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2950 use_tempdir in preferences
2951 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2953 * lyx_main.C: ensure that tempdir is valid
2954 * lyxlex.h: correct typo
2955 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2956 * paragraph.[Ch] (isMultiLingual): make const
2957 * cursor.[Ch] (openable): make const
2959 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2961 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2963 2004-02-20 André Pönitz <poenitz@gmx.net>
2965 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2967 * cursor.[Ch]: prepare for localized getStatus()
2973 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2975 2004-02-20 André Pönitz <poenitz@gmx.net>
2977 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2979 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2981 * text2.C (setCursorFromCoordinates): switch to absolute coords
2983 (cursorDown): adjust
2984 * text3.C (dispatch): adjust
2986 2004-02-16 André Pönitz <poenitz@gmx.net>
2988 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2991 * cursor_slice.[Ch]: remove unneeded acessor function
2993 * lyxtext.h: rename rtl() to isRTL()
3001 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3003 * rowpainter.C (paintSelection): coord fix
3005 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3007 * Spacing.C: compile fix
3009 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3011 * cursor.C (dispatch): restore current_ before returning
3013 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3015 * text2.C (cursorUp, cursorDown): fix coords
3018 2004-02-12 André Pönitz <poenitz@gmx.net>
3023 * text3.C: add LCursor & parameter to most cursor movement functions
3024 remove usage of LyXText::cursorRow() and cursorPar()
3026 * cursor.[Ch]: add textRow() needed members
3029 * BufferView_pimpl.C:
3032 * BufferView_pimpl.C: adjust
3034 2004-02-11 André Pönitz <poenitz@gmx.net>
3038 * BufferView_pimpl.C: shift undo/redo handling
3040 * cursor.[Ch]: fix mathed crash
3043 * lyxtext.h: move selectionAsText to LCursor
3051 * rowpainter.C: fix excessive drawing
3053 2004-02-06 André Pönitz <poenitz@gmx.net>
3056 * BufferView_pimpl.[Ch]:
3057 * text3.C: move some text specific LFUN handling
3059 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3061 * text3.C (checkInsetHit): adjust coords
3062 * text2.C (getColumnNearX): adjust coords
3063 (edit): adjust coords
3064 * text.C (getRowNearY): add two asserts
3066 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3069 * format.C: add using std::distance to compile on gcc 2.95/stlport
3071 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3073 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3075 2004-02-04 André Pönitz <poenitz@gmx.net>
3077 * BufferView.[Ch] (insertInset):
3078 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3083 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3085 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3086 on the default clause of the switch
3087 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3088 wasn't catched by LCursor::dispatch
3090 2004-02-03 André Pönitz <poenitz@gmx.net>
3093 * cursor.[Ch]: some additional asserts
3095 * undo.[Ch]: remove LyXText dependency in interface
3099 * lyxtext.h (firstPar, lastPar): remove dead functions
3104 * paragraph.[Ch]: adjust
3106 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3108 * lyxfind.C (find): fix argument order in call to ::find
3110 2004-02-02 André Pönitz <poenitz@gmx.net>
3112 * cursor.[Ch]: remove direct access to anchor
3114 * text.C: remove findText() hack
3116 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3118 * iterators.[Ch] (lockPath): remove in favour of...
3119 * BufferView.[Ch] (setCursor): this addition
3120 * BufferView.C (putSelectionAt): adjust
3121 * undo.C (performUndoOrRedo): adjust
3122 * lyxfunc.C (dispatch): adjust
3124 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3126 * iterators.C (lockPath): add a missing slice
3127 * undo.C (performUndoOrRedo): remove redundant positioning code
3129 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3131 * vc-backend.C (scanMaster): ";" -> ';'
3133 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3135 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3136 std::binary_function
3138 * lyxtextclass.C (compare_name): rename to...
3139 (LayoutNamesEqual): ...this
3141 * lyxlex_pimpl.C (compare_tags): inherit from
3142 std::binary_function, put back into anon namespace
3144 * lyxfind.C (MatchString): inherig from std::binary_function
3145 (findChange): use empty() istead of !size()
3147 * format.C (FormatNamesEqual): new functor
3154 * converter.C (compare_Converter): rename to...
3155 (ConverterEqual): ...this, and fixup a bit.
3156 (getConverter): use it, and make function const
3157 (getNumber): use it, and make function const
3161 * bufferlist.C: add using boost::bind
3163 * MenuBackend.C (MenuNamesEqual): new functor
3164 (hasMenu): use it, and make function const
3165 (hasSubmenu): use nested bind to get rid of compare_memfun.
3167 2004-01-30 André Pönitz <poenitz@gmx.net>
3169 * BufferView_pimpl.C:
3172 * cursor_slice.[Ch]:
3175 * paragraph_funcs.C:
3176 * paragraph_funcs.h:
3180 * text3.C: move some of the edit(x,y) handling to the insets
3181 some coordinate changes.
3183 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3185 * text.C: add using statements for std::advance and std::distance
3187 * paragraph.C: add using statement for std::distance
3189 * lyxfind.C: add using statement for std::advance
3191 * cursor.C (region): remove std:: from swap
3192 (openable): use nucleus in stead of operator->
3194 * BufferView.C: add using statements for std::distance and std::swap
3196 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3198 * iterators.C: Remove the pimple, move the needed structures to
3199 the header file. Create accessor for the positions stack.
3200 (asPosIterator): remove function
3202 * PosIterator.C (PosIterator): move constructors to top of file
3203 (PosIterator): reimplement the constructor taking a ParIterator in
3205 (setFrom): new function
3206 (operator!=): inline it
3208 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3210 * lyxfind.C (replaceAll): use std::advance
3212 * iterators.h: inherit from std::iterator.
3214 * PosIterator.C (advance, distance): remove
3215 * PosIterator.h: interit from std::iterator.
3217 2004-01-26 André Pönitz <poenitz@gmx.net>
3220 * BufferView_pimpl.[Ch]:
3224 * bufferview_funcs.C:
3234 * output_linuxdoc.C:
3235 * output_plaintext.C:
3237 * paragraph_funcs.[Ch]:
3238 * paragraph_pimpl.[Ch]:
3244 * text3.C: more IU: dumps most of the rest of the mathcursor
3245 implementation into cursor.[Ch]; "globalize" a bit of it.
3247 2004-01-25 Angus Leeming <leeming@lyx.org>
3249 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3251 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3253 * LaTeXFeatures.h: add nice_ and nice() const
3254 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3256 2004-01-20 André Pönitz <poenitz@gmx.net>
3259 * BufferView_pimpl.C:
3261 * bufferview_funcs.C:
3263 * cursor_slice.[Ch]:
3274 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3275 LCursor and mathcursor parts to LCursor and InsetBase.
3277 2004-01-15 André Pönitz <poenitz@gmx.net>
3279 * cursor_slice.[Ch]: add a few covienience functions
3281 * funcrequest.[Ch]: remove BufferView * member
3283 * BufferView_pimpl.C:
3290 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3292 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3294 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3295 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3297 2004-01-13 André Pönitz <poenitz@gmx.net>
3300 * lyxtext.h: hide cursor and selection anchor behind accessor function
3303 * BufferView_pimpl.[Ch]:
3305 * bufferview_funcs.C:
3315 * cursor_slice.[Ch]: some integer type changes for inset unification
3317 * lyxcursor.[hC]: remove, it's CursorSlice now.
3320 * BufferView_pimpl.[Ch]:
3321 * bufferview_funcs.C:
3327 * textcursor.[Ch]: adjust
3329 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3331 * text2.C (undoSpan): add and use
3332 * text.C (breakParagraph): use undoSpan (fix bug 578)
3335 2004-01-08 Angus Leeming <leeming@lyx.org>
3337 * BufferView_pimpl.C (MenuInsertLyXFile):
3338 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3339 * lyxfunc.C (menuNew, open, doImport):
3340 FileFilterList change to the FileDialog open and save functions.
3342 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3344 * ShareContainer.h: make isEqual and isUnique adaptable
3346 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3348 2004-01-07 Angus Leeming <leeming@lyx.org>
3351 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3353 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3355 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3356 functions replacing find, replace and replaceAll.
3358 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3359 LFUN_WORDFIND(FORWARD|BACKWARD).
3361 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3363 * text.C (breakParagraph): remove an outdated #warning
3365 2004-01-07 André Pönitz <poenitz@gmx.net>
3367 * lyxfind.C: somewhat clearer logic
3369 * text.C: prevent crash in cursorX on unitialized row cache
3371 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3373 * lyxcursor.[Ch] (operator>): add
3374 * textcursor.C (selStart, selEnd): use std::min and std::max
3376 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3378 * Chktex.C: include boost/format.hpp
3380 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3382 * InsetList.C: replace functor MathcIt with adaptable functor
3384 (insetIterator): modify accordingly
3386 * BranchList.h: move the BranchNamesEqual functor here from...
3387 * BranchList.C: ... to here
3389 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3391 (add): replace a finding loop with std::find_if.
3393 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3395 * output_docbook.C: moving LatexParam functionality into
3398 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3400 * buffer.C: increment format to 229.
3402 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3405 * lyx_sty.[Ch]: remove minipageindent_def
3411 * text3.C: remove LFUN_INSET_MINIPAGE
3413 2003-12-28 Angus Leeming <leeming@lyx.org>
3415 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3417 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3419 * text2.C (setParagraph): fix off-by-one crash
3421 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3423 * output_docbook.C: header stuff for AGU
3425 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3427 * text2.C (redoCursor): remove
3430 * BufferView_pimpl.C: remove calls to redoCursor and
3431 setCursor(cursor.par(), cursor.pos()) all around
3433 2003-12-15 Angus Leeming <leeming@lyx.org>
3435 * buffer.C: up the format to 228.
3437 2003-12-15 André Pönitz <poenitz@gmx.net>
3439 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3444 * BufferView_pimpl.C:
3453 2003-12-15 Angus Leeming <leeming@lyx.org>
3455 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3456 than getFromGUIName to manipulate the color.
3458 2003-12-14 Angus Leeming <leeming@lyx.org>
3460 * BranchList.[Ch]: minimize the API.
3461 (Branch::getBranch, getColor): now return a 'const &'.
3462 (Branch::setSelected) now returns a bool set to true if the
3463 selection status changes.
3464 (BranchList::clear, size, getColor, setColor, setSelected,
3465 allBranches, allSelected, separator): removed.
3466 (BranchList::find): new functions, returning the Branch with
3468 (BranchList::add, remove): return a bool indicating that
3469 the operation was successful.
3471 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3472 new InsetBranch::isBranchSlected member function.
3474 * LColor.[Ch]: mimimize the API.
3475 (fill): renamed as addColor and made private.
3476 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3477 versions of these functions taking a string arg have been removed.
3479 * bufferparams.C (readToken):
3480 * lyxfunc.C (dispatch):
3481 * lyxrc.C (read): changes due to the altered BranchList and
3484 * factory.C (createInset, readInset): changes due to altered
3487 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3490 * lyxfunc.C: remove insetminipage. "minipage-insert"
3491 now produces a frameless minipage box inset.
3493 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3495 * textcursor.[Ch] (selStart,selEnd): add new methods
3496 remove selection::start, end, use LyXCursor::operator<
3497 * lyxcursor.[Ch] (operator<): add
3498 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3499 * BufferView.[Ch] (unsetXSel): add
3500 * text2.C (clearSelection): use unsetXSel,adjust
3503 * rowpainter.C: adjust
3504 * bufferview_funcs.C (put_selection_at): adjust
3506 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3508 * BufferView_pimpl.C: small coord. correction
3510 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3512 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3513 dragging over the splash screen.
3515 2003-12-11 Angus Leeming <leeming@lyx.org>
3517 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3518 as it is now handled in LyXText::dispatch.
3520 * text3.C (doInsertInset): remove a level of nesting.
3522 2003-12-11 Angus Leeming <leeming@lyx.org>
3524 * factory.C (createInset): changes due to the changed interface to
3525 InsetCommandMailer::string2params.
3527 2003-12-10 Angus Leeming <leeming@lyx.org>
3529 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3530 'dialog-show-new-inset <inset name>'
3532 2003-12-10 Angus Leeming <leeming@lyx.org>
3534 * buffer.C: up the format to 227.
3536 * factory.C: the box inset is now identified simply by 'Box'.
3538 2003-12-10 Angus Leeming <leeming@lyx.org>
3540 * buffer.C: up the format to 226.
3542 * factory.C: the note inset is now identified simply by 'Note'.
3544 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3546 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3547 when a pit is enough. Standarize a couple of loops.
3549 2003-12-05 Angus Leeming <leeming@lyx.org>
3551 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3552 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3553 data to the re-worked "log" dialog.
3555 2003-12-03 André Pönitz <poenitz@gmx.net>
3561 * paragraph_funcs.C:
3563 * text2.C: use Inset::getText instead of Inset::getParagraph
3565 2003-12-03 André Pönitz <poenitz@gmx.net>
3569 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3570 InsetText::read() as LyXText::read()
3572 2003-12-02 Angus Leeming <leeming@lyx.org>
3574 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3575 type. Add a comment in the implementation that the function uses
3576 the stream's bad() function rather than fail() as the std::streams
3579 2003-12-02 André Pönitz <poenitz@gmx.net>
3581 * lyxlex.[Ch]: make interface more similar to std::stream
3583 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3585 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3587 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3589 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3591 * vspace.[Ch]: remove VSpace::NONE
3593 2003-12-01 André Pönitz <poenitz@gmx.net>
3596 * lyxtext.h: move ParagraphList member to LyXText
3597 rename LyXText::ownerParagraphs to LyXText::paragraph
3600 * bufferview_funcs.C:
3610 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3612 * undo.C: fix cursor positioning
3614 2003-12-01 John Levon <levon@movementarian.org>
3616 * BufferView_pimpl.C: fix a crash on exit with
3619 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3621 * BranchList.C: fix setSelected() method.
3623 2003-11-28 André Pönitz <poenitz@gmx.net>
3625 * ParagraphParameters.[Ch]:
3626 * ParameterStruct.h: remove space above/below from Paragraph to
3629 * BufferView_pimpl.C:
3635 * paragraph_funcs.C:
3641 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3643 * factory.C: Syntax change for CharStyles
3645 2003-11-28 André Pönitz <poenitz@gmx.net>
3650 * buffer.[Ch]: move LyXText member
3652 2003-11-28 André Pönitz <poenitz@gmx.net>
3654 * BufferView.[Ch]: make LyXText * text a private member
3656 * BufferView_pimpl.C:
3667 * output_plaintext.C: cleanup
3669 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3672 * lyxtextclass.[Ch]: parametrize SGML document header
3674 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3677 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3680 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3682 * text2.C (setFont): rework using PosIterator (no more recursive)
3683 (setCharFont): no more needed
3684 (setLayout): no more selection cursors fiddling (done by redoCursor)
3685 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3686 destroy remaining ones)
3688 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3690 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3692 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3695 * text3.C: adjust + re-allow multi par depth changes
3696 * textcursor.C: simplify a bit
3698 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3704 * src/output_docbook.C:
3705 * src/output_latex.C:
3710 * src/text2.C: Introducing a number of tags parametrizing various
3711 XML formats that we may want to support
3713 2003-11-25 André Pönitz <poenitz@gmx.net>
3715 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3717 * lyxtext.h (leftMargin/rightMargin): simplify interface
3724 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3726 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3727 master file to any child files. Fixes bug 546.
3729 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3731 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3733 2003-11-24 André Pönitz <poenitz@gmx.net>
3735 * rowpainter.C: simplification
3737 * text2.C (updateCounters): remove call to redoParagraph on
3738 changed labels as this is far too expensive.
3740 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3742 * converter.C (convert): fix a crash: this function gets
3743 called with buffer == 0 from importer code.
3745 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3747 * text3.C (cursorPrevious): make sure that we do not compare
3748 iterators form different containers.
3751 * rowpainter.C (paintSelection): make sure that we do not compare
3752 iterators from different containers.
3754 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3755 iterators from different ParagraphList containers.
3758 * text2.C (LyXText): change order of initialization slightly
3759 (operator=): new function. copy all variables except cache_par_
3760 (moveUp): make sure that we do not compare iterators from
3761 different ParagraphList constainers.
3764 * text.C (firstPar): new function
3765 (lastPar): new function
3766 (endPar): new function
3768 * lyxtext.h: move things around and group public functions, public
3769 variables, private functions, private variables
3771 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3773 * factory.C: change call to InsetERT constructor to avoid
3774 additional invocation of method status
3775 * text2.C (toggleInset): remove redundant update() call
3776 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3777 instead of a Bufferview pointer
3779 2003-11-21 André Pönitz <poenitz@gmx.net>
3781 * rowpainter.C: simplification
3783 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3785 * text3.C (dispatch): make possible to extend a word/row selection
3788 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3790 * lyxtext.h: x0_,y0_ -> xo_,yo_
3791 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3792 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3793 * rowpainter.C (paintRows): paint full paragraphs
3795 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3797 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3800 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3802 * lyxtext.h: add x0_, y0_
3803 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3804 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3806 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3808 * text2.C (setCursorIntern): move the x_target update here *
3809 * text3.C: change some bv() to true/false in calls to
3810 cursorUp/Down/Right/Left
3811 * cursor.C: use helper function.
3813 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3815 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3816 * paragraph_funcs.[Ch]: correct comment
3817 * rowpainter.C: do not paint selections away from bv->cursor()
3818 Fix a long standing selection painting bug.
3819 * text3.C: generalize mouse-selection code to LyXTexts other that
3821 * textcursor.C: do not use y coords if we can use par offsets
3823 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3825 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3826 cursor position after e.g. inset insert)
3828 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3830 * lyxfind.C (replace): adjust to locking removal + some
3833 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3835 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3838 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3841 * output_docbook.C: XML sanitation: new layout
3842 parameters InnerTag and CommandDepth
3844 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3846 * BufferView_pimpl.C:
3848 * text3.C: Fix the insertion and modification of button-style
3851 2003-11-13 André Pönitz <poenitz@gmx.net>
3853 * InsetList.[Ch]: remove deleteLyXText
3855 * paragraph.[Ch]: cache beginOfBody position
3860 * text3.C: remove superfluous update() calls
3864 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3866 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3867 * BufferView.C (fitLockedInsetCursor): remove
3868 * cursor.[Ch] (getDim): add
3869 * text.C (getRowNearY): add faster version
3870 * text3.C: remove some update calls
3872 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3884 * text3.C: The Character Style /XML short element patch.
3886 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3889 * factory.C: Small step to solving 'unable to insert some insets'
3892 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3894 * cursor.[Ch] (updatePos): new function for updating the y
3895 position of the tip inset
3896 * bufferview_funcs.C (put_selection_at):
3897 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3899 2003-11-11 André Pönitz <poenitz@gmx.net>
3901 * text.C: remove big comment on invalid Paragraph pointers as it is
3904 2003-11-11 André Pönitz <poenitz@gmx.net>
3906 * text_funcs.[Ch]: merge with ...
3914 * Makefile.am: remove text_funcs.[Ch]
3916 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3918 * cursor.C (getPos): return absolute cached y coord
3920 * BufferView_pimpl.C (fitCursor): new simplistic code
3921 (workAreaDispatch): add a fitCursor call
3923 2003-11-10 André Pönitz <poenitz@gmx.net>
3926 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3928 2003-11-10 André Pönitz <poenitz@gmx.net>
3930 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3931 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3932 indicate that the cursor needs to leave an inset
3934 * lyxtext.h: remove inset locking
3936 * cursor.[Ch]: re-implement functionality provided by inset locking
3939 * BufferView_pimpl.[Ch]:
3941 * bufferview_funcs.[Ch]:
3953 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3955 * PosIterator.[Ch]: replace the stack with a vector, add inset
3957 * iterators.[C]: adjust
3959 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3961 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3963 * paragraph_funcs.C (readParToken): put the correct id in the
3964 error item, not the id of the top paragraph
3966 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3968 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3969 * bufferview_funcs.C (put_selection_at): use the above
3971 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3973 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3975 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3977 * output_linuxdoc.h:
3978 * output_plaintext.h:
3980 * output_docbook.h: add #include statements
3982 2003-11-05 José Matos <jamatos@lyx.org>
3984 * output_docbook.[Ch]:
3985 * output_latex.[Ch]:
3986 * output_linuxdoc.[Ch]:
3987 * output_plaintext.[Ch]: New files for output formats.
3988 * output.[Ch]: New file for helper functions.
3991 * paragraph_funcs.[Ch]: output functions moved to new files.
3993 * outputparams.h: rename of latexrunparams.h
4001 * paragraph_funcs.[Ch]:
4002 * paragraph_pimpl.[Ch]:
4003 * tabular.[Ch]: rename ascii to plaintext
4004 and LatexRunParams to OutputParams.
4006 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4008 * iterators.[Ch] (text): require bv argument
4009 * undo.C (recordUndo):
4010 * lyxfunc.C (dispatch):
4011 * bufferview_funcs.C (put_selection_at): adjust
4013 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4015 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4017 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4019 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4022 2003-11-04 André Pönitz <poenitz@gmx.net>
4024 * cursor.[Ch]: restructure
4027 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4029 * iterators.[Ch] (asCursor): remove
4031 * lfuns.h: remove LFUN_INSET_EDIT
4037 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4039 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4041 * lyxfind.[Ch]: complete overhaul
4042 * BufferView_pimpl.C:
4044 * paragraph.[Ch] (insert): add
4046 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4050 * text.C: remove dead spellcheck code
4052 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4054 * dispatchresult.h: add a val setter
4056 * cursor.C (dispatch): use a tempvar for data_[i]
4058 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4060 * PosIterator.[Ch]: compile fix
4062 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4064 * text.C (cursorPar): deactivate the cursor cache
4066 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4068 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4070 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * text3.C (dispatch): adjust for new DisptchResult semantics.
4074 * lyxfunc.C (dispatch): handle update when return from
4075 Cursor::dispatch, adjust for new DispatchResult semantics.
4077 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4078 DispatchResult(true) mean to not update. Add class functions for
4079 setting dispatched and update, as well as reading.
4081 * cursor.C (dispatch): don't handle update here
4083 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4086 * trans_mgr.C: adjust
4088 * paragraph_funcs.C (readParToken): exception safety
4090 * lyxvc.h: store the vcs pointer in a scoped_ptr
4093 * lyxsocket.C (serverCallback): exception safety
4095 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4097 * ispell.C (clone): make it return a auto_ptr
4099 * factory.C (createInset): exception safety
4100 (readInset): exception safety
4102 * bufferlist.C (newBuffer): exception safety
4104 * Thesaurus.C (Thesaurus): use initialization for aik_
4106 * MenuBackend.C (expandToc): exception safety.
4108 2003-11-03 André Pönitz <poenitz@gmx.net>
4112 * bufferview_funcs.C: remove getInsetFromId()
4115 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4121 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4123 * PosIterator.C (distance, advance): new
4124 * bufferview_funcs.[Ch] (put_selection_at): new
4125 * iterators.[Ch] (lockPath): new
4127 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4129 * iterators.[Ch] (asPosIterator): added
4130 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4131 * PosIterator.[Ch]: added
4133 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4137 * cursor.C (dispatch):
4138 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4140 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4141 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4142 contructor, add a class function dispatched. Remove operator>=
4144 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4146 * debug.C: only use the default constructor for debugstream
4149 * main.C (main): include debug.h and setup the lyxerr streambuf
4152 2003-10-31 José Matos <jamatos@lyx.org>
4154 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4156 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4157 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4158 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4159 * paragraph_pimpl.C (simpleTeXSpecialC):
4160 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4161 add LatexRunParams argument.
4163 * exporter.C (Export): change call accordingly.
4165 * latexrunparams.h: add new member to take care of the other backends.
4166 2003-10-30 José Matos <jamatos@lyx.org>
4168 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4169 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4170 factorise code for paragraph output.
4172 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4175 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * text3.C (dispatch):
4178 * lyxfunc.C (dispatch):
4179 * cursor.C (dispatch):
4180 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4182 * dispatchresult.h: make the dispatch_result_t ctor explicit
4184 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4187 * buffer.C: small refactoring of docbook stuff
4189 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4194 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4196 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4197 operator dispatch_result_t, and operators for == != and >=
4199 * cursor.C (dispatch): adjust for operator dispatch_result_t
4200 removal. comment out call to update
4202 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4204 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4215 * dispatchresult.h: new file, DispatchResult broken out of
4218 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4220 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4222 * text.C (rowBreakPoint): put a hack inside #if 0
4224 2003-10-28 André Pönitz <poenitz@gmx.net>
4228 * paragraph_funcs.C:
4231 * text2.C: general cleanup (lots of small stuff)
4233 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4235 * text2.C (cursorEnd): simple fix to the "end key goes to one
4236 before the end on last row" bug
4238 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4240 * text.C (backspace): fix the "zombie characters"
4242 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4244 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4246 2003-10-27 André Pönitz <poenitz@gmx.net>
4248 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4250 * factory.C: handle new InsetPagebreak, InsetLine
4252 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4253 and move handling into new InsetPagebreak, InsetLine
4255 * BufferView_pimpl.C:
4257 * ParagraphParameters.C:
4258 * ParameterStruct.h:
4263 * paragraph_funcs.C:
4264 * paragraph_pimpl.C:
4270 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4273 * lyxrow_funcs.[Ch]:
4279 * text3.C: remove lastPos uses in favour of Row::endpos
4281 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4283 * undo.C (performUndoOrRedo): fix two crashes by setting a
4284 cursor by hand and reordering some calls. Use bv->lockInset instead
4285 of inset->edit because the latter loses cursor information
4287 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4289 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4291 (rowBreakPoint): fix width. change point to point + 1.
4292 Add a missing check.
4294 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4297 * lyxfunc.C: fix (at least partly) the problems
4298 with the Nav menu and headers inside branch insets
4301 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4303 * paragraph.C (getChar): add strong asserts
4305 * lyxrow_funcs.C (lastPos): remove hideous hack
4307 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4308 (fill): adjust to that (avoid an infinite loop)
4310 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4312 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4314 2003-10-23 André Pönitz <poenitz@gmx.net>
4316 * RowList_fwd.h: change list<> to vector<> to gain speed
4317 after suggestion from Alfredo
4319 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4321 * lyxtext.h: move the bidi stuff from here...
4324 * Bidi.[Ch]: ... to here
4326 2003-10-23 André Pönitz <poenitz@gmx.net>
4329 * text.C (isLastRow, isFirstRow): new functions
4331 * paragraph.h: new width cache member
4333 * rowpainter.C: replace RowList::iterator with Row & where possible
4335 * lyxfunc.C: replace several view()->text with a single call
4337 * toc.C: fix 'unused' warning
4339 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4341 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4342 when woring with stream::pos_type
4343 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4345 2003-10-22 André Pönitz <poenitz@gmx.net>
4348 * text.C: use Row & instead of RowList::iterator
4350 * lyxrow.h: rename end() to endpos()
4356 2003-10-22 Angus Leeming <leeming@lyx.org>
4358 * buffer.[Ch] (fully_loaded): new member function, returning true
4359 only when the file has been loaded fully.
4360 Used to prevent the premature generation of previews and by the
4361 citation inset to prevent computation of the natbib-style label.
4363 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4364 templates are all set up.
4366 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4368 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4370 * text.C: fixed an "oops" in the "is a bit silly"
4373 2003-10-21 André Pönitz <poenitz@gmx.net>
4375 * FuncStatus.[Ch]: small stuff, whitespace
4377 * lyxfont.[Ch]: operator<<() for debug reasons
4381 * lyxtext.h: whitespace, spelling
4383 * paragraph.C: naming of variables
4386 * text2.C: small stuff
4389 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4391 * text.C: (1) finish off the inset display() work;
4392 (2) fix the "is a bit silly" bug (accessing char
4395 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4397 * text.C: re-introduce display() for insets, fixing the
4398 various bugs (stretch of line above, math inset
4401 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4403 * text.C (rightMargin): remove spurious semicolon
4405 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4408 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4410 * text3.C: fix one crash due to wrong cursor def
4412 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4414 * vc-backend.C (scanMaster): make the regex static
4416 * LaTeX.C (scanAuxFile): make the regexs static
4418 * text3.C (doInsertInset, dispatch, dispatch):
4419 * text2.C (cursorUp, cursorDown):
4420 * text.C (selectNextWordToSpellcheck):
4421 * BufferView_pimpl.C (dispatch):
4422 * lyxfunc.C (dispatch): localDispatch -> dispatch
4424 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4426 * lyxsocket.C: include <cerrno>
4428 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4430 * lyxfunc.C (dispatch): remove textcache stuff
4432 * bufferlist.C (release): remove textcache stuff
4435 * TextCache.C: delete file
4436 * TextCache.h: delete file
4438 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4440 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4441 delete of the bv_->text.
4442 (resizeCurrentBuffer): remove texcache stuff
4443 (workAreaResize): ditto
4445 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4450 2003-10-16 André Pönitz <poenitz@gmx.net>
4457 * text3.C: speed up by storing y positions per paragraph plus per-row
4458 offset instead of having a 'full' y position in the row.
4460 2003-10-15 André Pönitz <poenitz@gmx.net>
4464 * undo.[Ch]: make undo aware of inner insets
4466 2003-10-14 Angus Leeming <leeming@lyx.org>
4468 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4469 static member functions LyX::ref() and LyX::cref.
4470 (lastfiles): new accessor functions for the new lastfiles_ member var.
4471 (addLyXView, views_): add a new LyXView to the list of views_.
4472 (updateInset): loop over all LyXViews to call their own updateInset
4473 member function, returning a pointer to the Buffer owning the inset.
4475 * BufferView_pimpl.C (loadLyXFile):
4476 * MenuBackend.C (expandLastfiles):
4477 * bufferlist.C (MenuWrite, QuitLyX):
4478 lastfiles is no longer a global variable.
4479 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4481 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4482 static function. Access through LyX::cref().emergencyCleanup().
4484 2003-10-14 André Pönitz <poenitz@gmx.net>
4486 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4488 * undo.[Ch]: restoring part of 'undo in insets'
4491 * undo_funcs.[Ch]: merge with undo.[Ch]
4493 * tabular.C: small cleansing stuff
4495 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4497 * paragraph_funcs.C (readParToken): report unknown insets as error
4498 boxes. Use the outer paragraph as location (also for unknown
4501 * factory.C (readInset): do not abort on reading an unknown inset.
4502 Eat it and return 0.
4504 2003-10-13 Angus Leeming <leeming@lyx.org>
4506 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4508 * lyxrc.C: displayTranslator is now a function,
4509 declared in GraphicsTypes.h.
4511 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4513 * format.C: new placeholder $$a to pass the socket address.
4515 * bufferlist.[Ch]: new function getBufferFromTmp.
4517 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4518 files in the temporary dir.
4520 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4522 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4524 * Makefile.am: add lyxsocket.[Ch].
4526 * lyx_main.C (error_handler): handle SIGPIPE.
4528 2003-10-13 André Pönitz <poenitz@gmx.net>
4530 * BufferView_pimpl.C:
4535 * undo_funcs.[Ch]: use paroffset_type instead of
4536 ParagraphList::iterators to prevent multiple conversion
4537 (and get a more robust interface)
4539 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4543 * text3.C (dispatch): ditto
4545 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4547 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4548 move the onlyfile, use onlyfile instead of foundfile in a couple
4551 * DepTable.C (update): flush the error stream a bit more
4553 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * lyxserver.C (callback): adjust
4557 * lyxfunc.C (getStatus): add a missing brace in commented code
4558 (ensureBufferClean): reindent
4559 (dispatch): delete version taking a string
4561 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * LaTeX.C (deplog): move found file handlig from here...
4564 (handleFoundFile): .. to new function here.
4565 (deplog): make sure to discover several files mentioned on the
4568 2003-10-10 André Pönitz <poenitz@gmx.net>
4575 * text3.C: fix some of the tabular crashes
4577 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4579 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4581 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4583 2003-10-09 André Pönitz <poenitz@gmx.net>
4585 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4588 * BufferView_pimpl.C:
4589 * bufferview_funcs.C:
4600 * undo_funcs.C: adjust
4602 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * text2.C (incrementItemDepth): new function, use a backtracking
4605 algorithm to discover the correct item depth.
4606 (resetEnumCounterIfNeeded): new function, use a backtracking
4607 algorithm to discover if counter reset is needed.
4608 (setCounter): use them. Simplify a bit. Add different labels for
4609 different item depths for itemize.
4611 * paragraph.C (Paragraph): remove initialization of enumdepth
4614 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4615 enumerate and itemize. Change the type of itemdepth to signed char.
4617 2003-10-08 André Pönitz <poenitz@gmx.net>
4619 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4624 * tabular.[Ch]: fix crash after 'row-insert'
4626 2003-10-08 Angus Leeming <leeming@lyx.org>
4628 Fix doxygen warnings.
4630 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4631 Remove CutAndPaste:: prefix from header file declaration.
4633 * LColor.h (fill): remove LColor:: prefix from declaration.
4635 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4636 use lyx::depth_type rather than Paragraph::depth_type so that
4637 header file and .C file match.
4639 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4641 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4642 * aspell.C: \file aspell_local.C -> \file aspell.C
4643 * gettext.C: \file gettext.C -> \file src/gettext.C
4644 * gettext.h: \file gettext.h -> \file src/gettext.h
4645 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4646 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4647 * text.C: \file text.C -> \file src/text.C
4649 * toc.C: move comment so that doxygen is not confused.
4651 2003-10-07 Angus Leeming <leeming@lyx.org>
4653 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4655 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4658 * aspell_local.h: add forgotten std::string's.
4660 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4667 * text3.C: The Box patch. Fancybox support, minipage, parbox
4669 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4675 * ParagraphParameters.h:
4685 * lyxtextclasslist.h:
4688 * paragraph_pimpl.C:
4689 * textcursor.h: add <string> and other small fixes to make Lars'
4690 std::string patch compile with STLport.
4692 2003-10-06 Angus Leeming <leeming@lyx.org>
4694 * LColor.h: Add missing #include <string>.
4696 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4698 * All most all file in all subdirs: Make <string> be the prefered
4699 way of getting to std::string, add using declarations.
4701 2003-10-06 André Pönitz <poenitz@gmx.net>
4703 * metricsinfo.C: initialize LyXFont before changing attribute.
4704 (fixes the 'math in \emph is upright' bug)
4706 2003-10-06 André Pönitz <poenitz@gmx.net>
4708 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4710 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4713 * paragraph_pimpl.C: Small fixes to build using STLport
4715 2003-10-02 André Pönitz <poenitz@gmx.net>
4718 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4720 2003-10-01 André Pönitz <poenitz@gmx.net>
4722 * factory.C: assert early
4724 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * lyx_main.C: remove the global debug object
4728 * debug.h: adjust for new debugstream
4730 * debug.C: adjust for new debugstream and keep the global debug
4733 2003-09-22 Angus Leeming <leeming@lyx.org>
4735 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4736 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4737 an incomplete class LyXFont.
4739 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4741 * factory.C: bug fix in branches
4743 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * lyxfunc.C (processKeySym): adjust
4747 (dispatch): change arg name from ev to func, adjust
4748 (sendDispatchMessage): ditto
4750 * lyx_main.C (defaultKeyBindings): adjust keybindings
4751 (deadKeyBindings): ditto
4753 * kbsequence.C (addkey): return a FuncRequest
4755 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4757 * kbmap.C (bind): take a FuncRequest as arg, adjust
4760 (defkey): change to take a FuncRequest as arg, adjust
4761 (findbinding): take a FuncRequest as arg, adjust.
4763 * funcrequest.h (operator=): added
4765 * funcrequest.C (FuncRequest): default kb_action changed from
4766 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4768 * buffer.C (dispatch): simplify
4769 (dispatch): adjust to take a FuncRequest as arg, adjust
4771 * boost.C (assertion_failed): change assertion message slightly
4773 * ToolbarBackend.C (read): simplify
4775 * MenuBackend.C (binding): adjust call to findbinding, add a
4776 message if no binding is found.
4778 (expandToc): correct by adding a empty FuncRequest
4780 * LyXAction.C: include <boost/assert.hpp>
4781 (isPseudoAction): delete function
4782 (LookupFunc): change name to...
4783 (lookupFunc): this. change return type to FuncRequest.
4784 (getActionName): take kb_action as arg, simplify
4785 (funcHasFlag): add an assert, simplify.
4787 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4789 * toc.C (action): return a FuncRequest, simplify
4791 * lyxfunc.C (processKeySym): adjust
4792 (getStatus): delete version that takes an int.
4794 (dispatch): delete version that takes action as int
4796 (sendDispatchMessage): simplify and adjust
4798 * funcrequest.C (getArg): take unsigned int as arg
4800 * ToolbarBackend.C (read): adjust
4801 (add): delete version that takes func as a string.
4802 (getIton): take a FuncRequest as arg
4804 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4807 * MenuBackend.C (MenuItem): add a new construct that only takes a
4808 Kind, simplify the constructor use for submenus.
4810 (expandLastfiles): adjust
4811 (expandDocuments): adjust
4812 (expandFormats): adjust
4813 (expandFloatListInsert): adjust
4814 (expandFloatInsert): adjust
4815 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4817 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4818 Remove class variables lyx_pseudo_map and lyx_arg_map
4820 * LyXAction.C (searchActionArg): delete function
4821 (getPseudoAction): delete function
4822 (retrieveActionArg): delete function
4823 (LookupFunc): make it return kb_action, simplify.
4824 (getActionName): simplify
4826 * factory.C (createInset): fix new bug
4828 2003-09-19 Angus Leeming <leeming@lyx.org>
4830 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4831 masterFilename_ parameter in the include inset.
4833 * factory.C (createInset): changes due to the changes to InsetInclude.
4835 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4837 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4839 2003-09-18 Angus Leeming <leeming@lyx.org>
4842 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4843 Inset::fillWithBibKeys.
4844 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4846 2003-09-18 Angus Leeming <leeming@lyx.org>
4848 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4850 (ctor): pass and store a 'Buffer const &'
4851 (buffer): new member function.
4853 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4854 '*this' to the LaTeXFeatures ctor.
4856 2003-09-18 Angus Leeming <leeming@lyx.org>
4862 * text.C: rename EnumLColor as LColor_color.
4864 2003-09-18 Angus Leeming <leeming@lyx.org>
4866 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4867 remove #include "insets/insetbase.h" from cursor.h.
4869 2003-09-18 Angus Leeming <leeming@lyx.org>
4871 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4872 InsetOld_code to remove #include "inset.h".
4874 * iterators.C: add #include "insets/inset.h"
4876 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4878 * BufferView.C: remove more locking stuff that apparently doesn't
4879 do anything sensible.
4881 2003-09-16 André Pönitz <poenitz@gmx.net>
4884 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4887 2003-09-16 Angus Leeming <leeming@lyx.org>
4889 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4891 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4894 * paragraph.h: remove #include "lyxfont.h". Forward declare
4897 2003-09-16 Angus Leeming <leeming@lyx.org>
4899 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4900 of support/textutils.h.
4901 (isWord): move the contents of support/textutils.h's IsWordChar here.
4907 * text2.C: add #include "paragraph.h".
4910 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4912 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * LaTeX.C: use namespace alias for lyx::support::os
4920 2003-09-16 Angus Leeming <leeming@lyx.org>
4923 * bufferview_funcs.C:
4926 * paragraph_pimpl.C:
4928 * text.C: add #include "LColor.h".
4930 2003-09-16 Angus Leeming <leeming@lyx.org>
4932 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4933 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4935 Store the FontBits::color variable as an int rather than as an
4936 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4939 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4940 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4941 string calls together.
4943 * lyxrc.C: add #include "LColor.h".
4945 2003-09-15 Angus Leeming <leeming@lyx.org>
4947 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4950 2003-09-15 Angus Leeming <leeming@lyx.org>
4952 * LColor.h: add an EnumLColor wrapper for LColor::color.
4954 * lyxfont.[Ch] (color, setColor, realColor):
4955 * lyxtext.h, text.C (backgroundColor):
4956 pass EnumLColor args to/from the functions, rather than LColor::color
4960 * lyxtext.h: forward declare EnumLColor.
4962 * lyx_main.C: add #include "LColor.h".
4964 2003-09-15 Angus Leeming <leeming@lyx.org>
4966 * .cvsignore: add lyx-gtk.
4968 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * ParagraphParameters.C
4977 * bufferview_funcs.C
4987 * vc-backend.C: remove usage of STRCONV
4989 2003-09-15 Angus Leeming <leeming@lyx.org>
4991 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4992 explicitly define the color passed to the painter.
4994 2003-09-15 Angus Leeming <leeming@lyx.org>
4996 * bufferparams.C (BufferParams): reorder member initializers to avoid
4999 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5001 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5002 * text.C (updateRowPositions): remove an unusual nop
5004 2003-09-12 André Pönitz <poenitz@gmx.net>
5006 * BufferView_pimpl.C:
5015 * Counters.[Ch]: finish the 'automatic counters' job
5017 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5019 * aspell.C: include <boost/assert.cpp> (compile fix)
5021 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5023 * boost.C (assertion_failed): use lyx::support::abort instead of
5026 2003-09-10 Angus Leeming <leeming@lyx.org>
5028 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5029 with their _fwd progeny.
5031 2003-09-09 Angus Leeming <leeming@lyx.org>
5033 134 files throughtout the source tree: replace 'using namespace abc;'
5034 directives with the appropriate 'using abc::xyz;' declarations.
5036 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5038 * boost.C (emergencyCleanup): moved here from LAssert.c
5039 (assertion_failed): new function, called by BOOST_ASSERT
5041 * several files: change Assert to BOOST_ASSERT
5043 2003-09-09 Angus Leeming <leeming@lyx.org>
5045 * buffer.[Ch]: Add an Impl class and move Buffer's member
5046 variables into it. As a result move several header files out of
5049 Add header files to lots of .C files all over the tree as a result.
5051 2003-09-09 Angus Leeming <leeming@lyx.org>
5053 * buffer.[Ch]: make Buffer's member variables private. Add
5056 Lots of changes all over the tree as a result.
5058 2003-09-08 Angus Leeming <leeming@lyx.org>
5060 * graph.C: #include <config.h>.
5062 2003-09-08 Angus Leeming <leeming@lyx.org>
5066 * BufferView_pimpl.C:
5095 * toc.C: remove redundant using directives.
5097 2003-09-07 Angus Leeming <leeming@lyx.org>
5099 * LaTeXFeatures.h: remove #include "support/types.h".
5100 * ToolbarBackend.h: remove #include <algorithm>.
5101 * changes.h: remove #include <ctime>.
5102 * debug.h: remove #include <iosfwd>.
5103 * graph.h: remove #include "support/std_string.h".
5104 * lyx_main.h: remove #include <csignal>.
5105 * lyxlex_pimpl.h: remove #include <fstream>.
5106 * sgml.h: remove #include <algorithm>, <utility>.
5107 * toc.h: remove #include "support/std_ostream.h".
5108 Add #include <iosfwd>.
5110 2003-09-07 Angus Leeming <leeming@lyx.org>
5112 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5114 * converter.h: forward declare LatexRunParams.
5115 * encoding.h: remove #include "lyxrc.h".
5116 * lyxtext.h: remove #include "LColor.h".
5117 * lyxtextclass.h: remove #include "support/types.h".
5118 * trans.h: remove #include "tex-accent.h".
5119 * trans_mgr.h: remove #include "tex-accent.h".
5120 * insets/inset.h: remove #include "support/types.h", <vector>.
5121 * insets/insetcollapsable.h: remove #include "LColor.h".
5122 * insets/insetinclude.h: remove #include "dimension.h".
5123 * insets/insetlatexaccent.h: remove #include "dimension.h".
5124 * insets/insetoptarg.h:: remove #include "insettext.h".
5125 * insets/insettext.h: remove #include "dimension.h",
5126 <boost/shared_ptr.hpp>
5128 * insets/renderers.h: add #include "dimension.h".
5129 * insets/updatableinset.h: add #include "support/types.h".
5131 * many .C files: Associated changes.
5133 2003-09-06 Angus Leeming <leeming@lyx.org>
5135 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5136 one, inside testInvariant.
5138 * PrinterParams.C: new file.
5139 * PrinterParams.[Ch]: move the function bodies out of line.
5141 2003-09-06 Angus Leeming <leeming@lyx.org>
5143 * ParagraphParameters.h: forward declare ParameterStruct rather than
5144 including its header file.
5145 (depth): moved out-of-line.
5147 2003-09-06 Angus Leeming <leeming@lyx.org>
5149 * BufferView_pimpl.h:
5152 * lyxfunc.h: forward declare LyXKeySym rather than
5153 #include "frontends/LyXKeySym.h".
5155 * BufferView_pimpl.C:
5158 * lyxfunc.C: associated changes.
5160 2003-09-06 Angus Leeming <leeming@lyx.org>
5162 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5163 As a result, can remove the #include "insets/inset.h" from BufferView.h
5165 2003-09-06 Angus Leeming <leeming@lyx.org>
5167 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5168 As a result, can remove the #include "insets/inset.h" from BufferView.h
5170 2003-09-06 Angus Leeming <leeming@lyx.org>
5176 * bufferview_funcs.C:
5177 * BufferView_pimpl.C:
5182 * ParagraphParameters.C:
5187 * frontends/controllers/ControlDocument.C:
5188 * insets/insetcaption.C: rearrange the #includes into some sort of
5191 * buffer.h: remove #includes ErrorList.h, undo.h
5193 2003-09-06 Angus Leeming <leeming@lyx.org>
5195 * support/types.h: add a 'depth_type' typedef, used to store the
5196 nesting depth of a paragraph.
5199 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5200 defining explicitly.
5203 * paragraph_funcs.h:
5204 * ParagraphParameters.h:
5205 * sgml.h: use lyx::depth_type rather than Paragraph or
5206 ParameterStruct's depth_type.
5209 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5212 * BufferView_pimpl.C:
5214 * ParagraphParameters.C:
5217 * bufferview_funcs.C:
5224 * frontends/LyXView.C:
5225 * frontends/controllers/ControlDocument.C:
5226 * frontends/controllers/ControlErrorList.C:
5227 * insets/insetbibitem.C:
5228 * insets/insetbranch.C:
5229 * insets/insetcaption.C:
5230 * insets/insetcollapsable.C:
5231 * insets/insetenv.C:
5232 * insets/insetert.C:
5233 * insets/insetfloat.C:
5234 * insets/insetfoot.C:
5235 * insets/insetfootlike.C:
5236 * insets/insetnewline.C:
5237 * insets/insetquotes.C:
5238 * insets/insettabular.C:
5239 * insets/insettext.C:
5240 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5242 * frontends/controllers/ControlChanges.C: #include "changes.h".
5244 2003-09-06 Angus Leeming <leeming@lyx.org>
5246 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5247 than #including paragraph.h.
5250 * RowList.h: deleted. Superfluous.
5260 * insets/insettext.h: use ParagraphList_fwd.h rather than
5263 * paragraph.h: don't forward declare ParagraphList.
5266 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5267 rather than ParagraphList.h. paragraph.h is still needed for the
5268 Paragraph::depth_type parameters.
5270 * textcursor.h: enable it to compile stand-alone in light of the
5273 * bufferview_funcs.C:
5285 * frontends/controllers/ControlParagraph.C:
5286 * frontends/controllers/ControlTabular.C:
5287 * insets/insetmarginal.C:
5288 * insets/insetminipage.C:
5289 * insets/insetnote.C:
5290 * insets/insetoptarg.C: add header files needed to compile again.
5292 2003-09-06 Angus Leeming <leeming@lyx.org>
5294 * RowList_fwd.h: new file, forward-declaring Row rather than
5295 #including lyxrow.h.
5300 * insets/insettext.h: use it instead of RowList.h
5302 * bufferview_funcs.C:
5309 * text3.C: #include "RowList.h".
5311 2003-09-05 Angus Leeming <leeming@lyx.org>
5313 * factory.C (createInset):
5314 * vspace.C (c-tor): replace sscanf call with an istringstream.
5315 * ispell.C: re-add missing HP/UX headers.
5316 * lyxserver.C: re-add missing os2 headers.
5318 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5327 * text3.C: re-add missing system headers, needed for 2.95.2.
5329 2003-09-05 Angus Leeming <leeming@lyx.org>
5331 Changes most place everywhere due to the removal of using directives
5332 from support/std_sstream.h.
5334 2003-09-05 Angus Leeming <leeming@lyx.org>
5336 Replace LString.h with support/std_string.h,
5337 Lsstream.h with support/std_sstream.h,
5338 support/LIstream.h with support/std_istream.h,
5339 support/LOstream.h with support/std_ostream.h.
5341 Changes resulting throughout the tree.
5343 2003-09-05 Angus Leeming <leeming@lyx.org>
5345 * sgml.h: ensure that the header file can be compiled stand-alone.
5346 * *.C: strip out redundant #includes. (320 in total.)
5348 2003-09-04 Angus Leeming <leeming@lyx.org>
5350 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5351 here (from getPackages).
5353 * debug.[Ch]: add a new EXTERNAL tag.
5355 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5357 * text2.C (cursorEnd): simplify
5359 (getColumnNearX): adjust
5361 * text.C (computeBidiTables): adjust
5364 * rowpainter.C (paintChars): adjust
5365 (paintSelection): adjust
5366 (paintChangeBar): adjust
5369 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5371 (numberOfSeparators): adjust
5373 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5379 * text3.C: Restricts the mouse click functionality
5380 of insets like bibtex, include, toc and floatlist to the visible
5381 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5382 up the dialogs. Cursor has to be in front of the inset (i.e.
5383 start of row) for this to function.
5385 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5387 * bufferview_funcs.C (currentState): output row information
5389 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5391 * bufferview_funcs.C (currentState): output paragraph position
5393 2003-09-04 Angus Leeming <leeming@lyx.org>
5395 * FloatList.h: move out #include "Floating.h".
5396 * LaTeX.h: move out #include "DepTable.h".
5397 * LyXAction.h: move out #include "funcrequest.h".
5398 * buffer.h: move out #include "author.h", "iterators.h".
5399 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5400 * lyx_main.h: move out #include "errorlist.h".
5401 * lyxfunc.h: move out #include "FuncStatus.h".
5402 * lyxtext: move out #include "lyxcursor.h".
5403 * paragraph_pimpl.h: move out #include "counters.h".
5405 2003-09-03 Angus Leeming <leeming@lyx.org>
5407 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5408 preamble_snippets list, enabling us to add snippets to the preamble
5409 only if the snippet was not there already.
5411 2003-09-04 Angus Leeming <leeming@lyx.org>
5413 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5415 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5417 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5420 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5422 * BranchList.C: point fix, earlier forgotten
5424 2003-09-02 Angus Leeming <leeming@lyx.org>
5426 * box.C (contains): renamed from 'contained' after a fantastic
5429 2003-09-02 John Levon <levon@movementarian.org>
5435 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5437 2003-09-02 John Levon <levon@movementarian.org>
5439 * text2.C: simplification of cursorEnd(), including partial
5442 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5444 * buffer.C (readFile): add a space
5446 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5448 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5450 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5452 * buffer.C (readFile): new function, take a filename and a
5453 ParagraphList::iterator
5455 (readFile): adjust, make it private. don't use setStream, make
5456 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5457 always contain the filename.
5459 * BufferView.C (insertLyXFile): simplify and make it work for
5462 2003-08-30 John Levon <levon@movementarian.org>
5464 * Makefile.am: fix dist (from Kayvan)
5466 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * most files: change to use const Buffer refs
5470 2003-08-27 André Pönitz <poenitz@gmx.net>
5472 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5473 on top of ownerPar().
5475 2003-08-27 John Levon <levon@movementarian.org>
5477 * funcrequest.C: properly initialise POD members
5479 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5481 * lyxtext.h (top_y): move top_y from here
5486 * BufferView_pimpl.[Ch]: to here
5487 * frontends/screen.C:
5488 * insets/insettabular.C:
5489 * insets/insettext.C: adjust
5490 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5492 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5495 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5497 2003-08-26 André Pönitz <poenitz@gmx.net>
5499 * paragraph_func.[Ch] (outerPar): new function
5502 * paragraph_funcs.C:
5503 * paragraph_funcs.h:
5504 * paragraph_pimpl.C:
5505 * text2.C: remove Inset::par_owner
5507 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5512 * text2.C: eliminates the needFullRow/display() stuff
5513 altogether, putting the logic in metrics/draw in the insets.
5515 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5517 * text2.C (redoParagraphInternal, redoParagraphs):
5518 * text.C (redoParagraph): add a call to updateRowPositions at the
5519 end of each 'metrics-like' call. Remove all others.
5520 (getRow): remove the 'y-computing' version.
5521 (getRowNearY): do not compute nor return the real y. Solve the
5522 'y < 0' problem and simplify.
5524 2003-08-22 Angus Leeming <leeming@lyx.org>
5526 * *.[Ch]: clean-up of licence and author blurbs.
5527 Also move config.h out of a few .h files and into a few .C files.
5529 2003-08-22 André Pönitz <poenitz@gmx.net>
5531 * lyxrow.[Ch]: add x_ and *fill_ members
5536 * text2.C: adjust/remove prepareToPrint() calls
5538 2003-08-22 André Pönitz <poenitz@gmx.net>
5540 * lyxrow.[Ch]: add end_ member
5542 * lyxrow_funcs.C: use LyXRow::end_
5544 * lyxtext.h (singleWidth): add LyXFont parameter
5547 * text2.C: adjust LyXText::singleWidth() calls
5549 * text.C (redoParagraph): simplify row breaking logic
5552 2003-08-19 André Pönitz <poenitz@gmx.net>
5554 * funcrequest.C: initialize button_ member
5557 * rowpainter.[Ch]: interface consolidation
5559 2003-08-18 André Pönitz <poenitz@gmx.net>
5562 * BufferView_pimpl.C:
5564 * paragraph_funcs.C:
5566 * text3.C: remove LyXScreen::draw() and fitCursor calls
5568 * BranchList.h: remove spurious semicolons
5570 * MenuBackend.C: fix branchlist related crash
5572 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5580 * bufferparams.[Ch]:
5584 * text3.C: implements the 'branch inset'
5585 idea. This allows the output of various versions of a document
5586 from a single source version, selectively outputing or suppressing
5587 output of parts of the text.
5588 This implementation contains a 'branch list editor' in a separate
5589 tab of the document settings dialog. Branches are user definable
5590 and have a "display colour" to distinguish them on-screen.
5592 ColorHandler was somewhat cleaned up.
5593 (1) make possible a dynamically growing LColor list by allowing
5594 the graphic context cache to grow along (vector);
5595 (2) eliminate an IMHO unnecessary step in colour allocation.
5597 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5599 * BufferView_pimpl.C: compile fix
5601 2003-08-15 André Pönitz <poenitz@gmx.net>
5603 * rowpainter.C: remove extra metrics calls
5605 * lyxtext.h: merge the two constructors into a single one,
5606 pass reference to owner's par list
5608 * BufferView_pimpl.C:
5612 2003-08-15 André Pönitz <poenitz@gmx.net>
5614 * lyxrow_funcs.[Ch]:
5617 * paragraph_funcs.C:
5622 * text_funcs.C: split LyXText::rowlist_ into individual
5623 Paragraph::rows_ chunks
5626 * BufferView_pimpl.[Ch]:
5629 * text3.C: remove toggleSelection()
5631 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5633 * bufferlist.C: beautify two alerts (shorter text of buttons)
5634 * buffer.C: Remove redundant ' ' from message
5636 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5637 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5638 rename VALIGN_CENTER to VALIGN_MIDDLE
5640 2003-08-11 André Pönitz <poenitz@gmx.net>
5642 * lyxtext.h (getPar):
5643 * text.C: new function
5645 2003-08-11 André Pönitz <poenitz@gmx.net>
5648 * tracer.[Ch]: remove unneeded files
5650 * InsetList.[Ch]: remove resizeInsetsLyXText()
5655 * text3.C: merge insertParagraphs() and appendParagraph()
5656 remove breakAgain(), update()
5658 * BufferView_pimpl.[Ch]:
5659 * bufferview_funcs.[Ch]:
5663 * tabular.C: adjust after text & InsetList changes.
5665 2003-08-08 André Pönitz <poenitz@gmx.net>
5667 * text.C (insertChar, backspace): replace rowlist fiddling
5668 with rebreak of full par
5671 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5672 checkParagraph, updateInset): removed
5674 2003-08-07 André Pönitz <poenitz@gmx.net>
5677 * text3.C: merge some LFUN handlers, remove dead code
5679 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5681 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5683 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5685 * text2.C (DEPM): fix part of bug 1255 and 1256
5687 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5689 * BufferView_pimpl.C (workAreaDispatch): change to use
5690 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5691 that are no mouse related.
5693 2003-08-05 André Pönitz <poenitz@gmx.net>
5696 * BufferView_pimpl.[Ch]:
5697 * bufferview_funcs.C:
5699 * text3.C: rip out "deep update"
5701 * textcursor.[Ch] (last_sel_cursor): remove unused member
5703 2003-08-04 André Pönitz <poenitz@gmx.net>
5706 * BufferView_pimpl.[Ch]:
5707 * ParagraphParameters.C:
5708 * bufferview_funcs.C:
5714 * text3.C: replace "complicated" BufferView::update(...) calls with
5717 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5719 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5721 * Makefile.am (lyx_SOURCES): add paper.h
5723 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5725 * Makefile.am: move things around so that both lyx-qt and
5726 lyx-xforms can be built (according to --with-frontend). Then lyx
5727 is a symbolic link to lyx-[firstfrontend]
5729 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5731 * Always use std::endl with lyxerr
5733 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5735 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5737 2003-08-01 André Pönitz <poenitz@gmx.net>
5740 * BufferView_pimpl.[Ch]:
5742 * text3.C: merge BufferView::repaint() and BufferView::update()
5744 2003-08-01 José Matos <jamatos@lyx.org>
5746 * buffer.[Ch]: file_format is no longer a buffer data element.
5748 2003-08-01 André Pönitz <poenitz@gmx.net>
5753 * text2.C: make redoParagraph more independent of current cursor
5755 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5757 * text2.C: remove unneeded members
5759 2003-07-30 André Pönitz <poenitz@gmx.net>
5761 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5763 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5764 create a single function...
5766 * paragraph_funcs.C (moveItem): ... here.
5769 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5771 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5773 * LColor.[Ch]: Add comment and greyedout logical colors.
5775 2003-07-30 André Pönitz <poenitz@gmx.net>
5777 * tabular.C: don't use Assert too heavily. This crashes where it
5780 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5782 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5783 is disabled (bug 1232)
5785 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5787 * factory.C: limited 'arg' scope
5789 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5791 * factory.C: fixed Note submenu issues
5793 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5795 * factory.C: submenu for Note/Comment/Greyedout
5797 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5800 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5802 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5805 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5806 greyedout. Patch provided by Jürgen Spitzmüller.
5808 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5810 * kbmap.C (read): fix error message when reading bind files
5812 2003-07-29 Angus Leeming <leeming@lyx.org>
5814 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5815 certainly does not do what it purports to do. I am doing it, and
5816 us, a favour by killing it.
5818 2003-07-28 José Matos <jamatos@lyx.org>
5820 * buffer.C (readBody, do_writeFile):
5821 * paragraph.C(readParagraph): \end_document replaces \the_end.
5823 2003-07-29 André Pönitz <poenitz@gmx.net>
5826 * BufferView_pimpl.[Ch]:
5830 * textcursor.[Ch]: remove toggleToggle & Co
5832 2003-07-28 José Matos <jamatos@fep.up.pt>
5834 * buffer.C (readParagraph):
5835 * params_func (readParToken, readParagraph):
5836 * paragraph.C (write): \layout -> \begin_layout.
5838 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5840 * lyxlex_pimpl.C (setFile): clean up slightly.
5842 * bufferparams.h: add compressed var
5844 * buffer_funcs.C (readFile): adjust for LyXLex change
5845 (newFile): ditto + simplify
5847 * buffer.C (writeFile): handle writing of compressed files
5849 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5850 Check if the file is compressed and set a bufferparm if so.
5852 * Makefile.am (lyx_LDADD): remove explicit -lz
5854 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5856 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5857 makeDocBookFile): put the real LyX version in the first line of
5861 * version.C.in: remove lyx_docversion
5863 * tabular.C (write_attribute): add a template-based version to
5864 write enums properly
5866 2003-07-28 André Pönitz <poenitz@gmx.net>
5871 * text3.C: use doubles again for x-coordinates. They are needed.
5873 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5875 * messages.C (getLocaleDir): use lyx_localedir()
5877 * lyxlex_pimpl.C (setFile): compress stuff
5879 * buffer.C (writeFile): add some compression stuff
5880 (do_writeFile): new func, dont call expliti close... will this
5883 * Makefile.am (lyx_LDADD): add -lz
5885 2003-07-28 José Matos <jamatos@fep.up.pt>
5887 * buffer.C: increment file format.
5888 * paragraph_funcs (readParagraph, readParToken):
5889 * paragraph.C (readParagraph): add \end_layout.
5891 2003-07-27 Angus Leeming <leeming@lyx.org>
5893 * Makefile.am: remove special casing for configure-time setting of
5894 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5896 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5897 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5899 2003-07-26 André Pönitz <poenitz@gmx.net>
5901 * paragraph_func.[Ch]:
5902 * paragraph.C (realizeFont): inline it whereever it is used
5907 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5910 2003-07-26 André Pönitz <poenitz@gmx.net>
5914 * text2.C: get rid of LyXText::need_break_row
5916 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * toc.[Ch]: put namespace toc inside namespace lyx
5920 * MenuBackend.C (expandToc2): adjust for lyx::toc
5923 * lyxfunc.C (dispatch): adjust for lyx::find
5925 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5926 lyx::find instead. Reorganize a bit.
5927 (LyXReplace): rename to replace
5928 (LyXFind): rename to find
5930 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5933 2003-07-26 André Pönitz <poenitz@gmx.net>
5935 * text.C (setHeightOfRow): restrict scope of temporary variable
5937 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5938 code (never has been used?)
5940 2003-07-27 Asger Alstrup <alstrup@local>
5942 * text.C (fill): Optimise algorithm to exploit that we can reuse
5943 the LyXFont for many characters.
5944 (setHeightOfRow): Same thing.
5945 (rowBreakPoint): Same thing.
5947 2003-07-26 Asger Alstrup <alstrup@local>
5949 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5951 * text.C (singleWidth): Spurious font copying in hot-spot
5952 singleWidth avoided. Reorder tests for arabic for efficiency.
5954 * text.C (fill): handle empty paragraphs better.
5956 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5959 * encoding.h: add includes
5961 * lyxrc.C: remove reading of bind files
5963 * lyx_main.C (init): setup bindings and menus only if we have a
5966 * kbmap.C (read): new method. Do the actual reading of bind
5969 * converter.C (dvipdfm_options):
5972 (output): adapt PAPER_* enums.
5974 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5976 * bufferparams.h: remove paper-related enums from there
5978 * paper.h: New file. A trivial header file to hold paper-related
5979 enums. It should later expand to contain many paper-related
5982 * lyxrc.C: declare extern displayTranslator
5984 2003-07-27 José Matos <jamatos@fep.up.pt>
5986 * tabular.[Ch] (linuxdoc): add support for tables and figures
5989 2003-07-27 José Matos <jamatos@fep.up.pt>
5991 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5992 consistency in both functions.
5993 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5995 2003-07-26 Asger Alstrup <alstrup@local>
5997 * rowpainter.C (paintRows): Change algorithm to work directly on
5998 the insets rather than asking every character in the document
5999 whether its an inset.
6001 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6003 * buffer.C (openFileWrite): factorize some code
6005 2003-07-26 Angus Leeming <leeming@lyx.org>
6008 * lyx_main.[Ch]: replace occurances of system_tempdir with
6011 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * rename Inset to InsetOld
6015 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6017 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6018 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6019 which I think is a bit clearer. EDIT is gone, since it was
6020 premature optimisation, and broken for mathed anyway.
6021 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6022 with cursor positioning in insets as well (math insets still do not
6023 work, but that's a different story anyway.) It mysteriously
6024 crashes sometimes with undo in the first paragraph, but I'm fairly
6025 confident that this is a compiler bug.
6027 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6029 * paragraph.C (Paragraph): adjust for new clone return type
6031 (copyIntoMinibuffer): ditto
6033 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6035 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6036 by not having a special case, and always doing a full rebreak of
6037 the document after undo.
6039 2003-07-23 Angus Leeming <leeming@lyx.org>
6041 * factory.C (createInset): InsetExternal::setParams now takes a
6044 2003-07-23 Angus Leeming <leeming@lyx.org>
6046 * factory.C (createInset): changed interface to the external and
6047 graphics mailers' string2params functions.
6049 2003-07-23 Angus Leeming <leeming@lyx.org>
6051 * factory.C (createInset): pass a
6052 Buffer const * parameter to InsetExternalMailer's string2params.
6054 2003-07-22 John Levon <levon@movementarian.org>
6056 * Thesaurus.h: include the right aiksaurus header
6058 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6060 * MenuBackend.C (expand): check menu shortcuts unconditionally
6062 2003-07-21 Angus Leeming <leeming@lyx.org>
6064 * factory.C (createInset): pass a
6065 buffer_path parameter to InsetGraphicsMailer's string2params.
6067 2003-07-21 Angus Leeming <leeming@lyx.org>
6069 * BufferView_pimpl.C (buffer):
6072 * lyxfunc.C (dispatch):
6073 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6074 rather than the grfx shortcut.
6076 2003-07-21 André Pönitz <poenitz@gmx.net>
6078 * rowpainter.C: remove unused variables
6081 * tabular_funcs.h: move to tabular.C
6082 * Makefile.am: adjust
6084 * tabular.[Ch]: basic optical cleaning
6086 * author.h: pass references, not values
6088 2003-07-18 André Pönitz <poenitz@gmx.net>
6096 * text3.C: two-phase drawing for InsetText and InsetTabular
6097 some float -> int changes.
6099 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6101 * lyx_main.C: fix the fix
6103 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6105 * lyx_main.C: fix a crash in batch mode if no files specified
6108 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6110 * format.[Ch] (papersize): moved to BufferParams
6111 * converter.[Ch] (dvips_options): moved to BufferParams
6112 (dvipdfm_options): moved to anon namespace
6113 * bufferparams.[Ch]: added above functions.
6115 2003-07-17 André Pönitz <poenitz@gmx.net>
6119 * text2.C: don't call inset->update() anymore
6121 * metricsinfo.[Ch]: add convenience constructor
6123 2003-07-16 André Pönitz <poenitz@gmx.net>
6128 * text2.C: replace the LyXCursor::irow_ member with
6129 on-demand computation of the value
6131 2003-07-16 John Levon <levon@movementarian.org>
6133 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6135 2003-07-15 André Pönitz <poenitz@gmx.net>
6138 * text2.C: remove no more needed refresh_row
6140 2003-07-15 André Pönitz <poenitz@gmx.net>
6145 * text3.C: refresh_status tristate -> need_update bool
6147 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6149 * lyxtext.h (init): remove reinit argument (act as if always true)
6150 * text2.C: adjust to that
6152 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6154 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6155 * text3.C: use it to delete selections in some cases
6156 (bugs 441, 673, 702, 954).
6158 2003-07-14 André Pönitz <poenitz@gmx.net>
6160 * rowpainter.[Ch]: reduce interface
6162 2003-07-14 André Pönitz <poenitz@gmx.net>
6164 * BufferView_pimpl.C:
6165 * text2.C: adjust after removing unused BufferView * argument
6167 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6169 * text2.C (init): fix a crash fired on resize
6171 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6173 * buffer.[Ch]: added new closing signal
6174 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6175 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6176 BufferView::Pimpl via the closing the signal
6178 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6180 * buffer.[Ch]: take out all bv-related from buffer
6182 * BufferView_pimpl.[Ch]: connect to new signals
6183 * CutAndPaste.C: removed useless asserts
6184 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6187 * lyxfunc.C: moved view-related funciontality from vc here
6188 * paragraph.C: removed outdated comments
6191 2003-07-10 André Pönitz <poenitz@gmx.net>
6193 * BufferView_pimpl.C:
6197 * text2.C: remove InsetText::InnerCache, clean up consequences
6199 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6201 * ispell.C: fix two typos in error messages
6203 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6205 * Extend Note inset to other forms of annotation like Comment
6206 and Greyedout. Right button click gives dialog.
6208 Files modified or added (+):
6212 * ControlNote.[Ch] +
6214 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6215 frontends/controllers
6219 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6221 * aspell.C: add missing namespace lyx::support
6223 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6225 * BufferView.[Ch] (newFile): Add
6226 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6227 * LaTeX.[Ch] (message): added this signal and use it
6228 * buffer.[Ch] (busy, message): added these signals and use them
6229 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6233 * importer.C: use buffer signals instead of direct bv calling
6234 * lyx_cb.[Ch] (ShowMessage): removed
6237 * paragraph_funcs.C:
6238 * text2.C: use buffer signals
6240 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6242 * introduce namespace lyx::graphics
6244 2003-07-02 André Pönitz <poenitz@gmx.net>
6246 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6248 2003-07-01 André Pönitz <poenitz@gmx.net>
6255 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6256 text*.C to text_func.C
6258 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6260 * introduce namespace lyx::support
6262 2003-06-30 André Pönitz <poenitz@gmx.net>
6267 * text.C: re-enable --with-included-string
6269 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6271 * textcursor.C: add <config.h>
6273 * text.C (getWord): remove const from word_location arg
6275 * lyxvc.C (getLogFile): fix const type order
6277 * lyxtext.h: remove const from word_location arg, add arg name
6279 * lyxlayout.h: currect type on labeltype.
6281 * importer.C: correct \file
6283 * converter.C (intToFormat): use std:: on ret val, ws changes
6285 * bufferlist.h: correct \file
6287 * buffer.C (makeLinuxDocFile): fix const type order
6288 (makeDocBookFile): ditto
6289 (fillWithBibKeys): use std:: on stdlib args.
6291 * CutAndPaste.C: fix authors.
6292 (availableSelections): use std:: on return vector
6294 2003-06-27 André Pönitz <poenitz@gmx.net>
6296 * BufferView_pimpl.C:
6297 * bufferview_funcs.C:
6305 * text3.C: remove LyXCursor::row_ member
6308 * text.C: rename fullRebreak() to partialRebreak() and implement
6309 a fullRebreak() that really bereks fully
6311 * textcursor.h: new struct for cursor-related data
6313 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6315 * lyx_main.C (LyX): get full path of document loaded on the
6318 2003-06-26 André Pönitz <poenitz@gmx.net>
6320 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6321 remove unused/broken operator>,<,>=.
6323 * text.C: remove only use of broken operator<= in an Assert().
6325 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6327 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6328 moved errorlist_.clear to showErrorList
6330 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6332 * converter.C (scanLog, runLaTeX):
6333 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6334 move the bv->showErrorList call to the callers
6335 * lyxfunc.C: i.e. here...
6337 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6338 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6339 namespace, the second to...
6340 * buffer_funcs (BufferFormat, parseErrors): added
6341 * errorlist.C (ErrorList(TeXErrors const &)): removed
6343 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6345 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6347 2003-06-24 "Garst R. Reese" <reese@isn.net>
6351 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6353 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6355 * version.C.in: change docversion to 1.4
6357 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6359 * buffer.C: fix a bug just introduced
6361 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6363 * buffer.[Ch]: added the parseError signal and use it, removed
6365 * BufferView.[Ch] (addError): moved to ...
6366 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6367 to the Buffer::parseError signal to catch (guess what) parse errors
6368 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6370 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6372 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6373 ability to create a buffer and to return an existing one from
6374 the list. Moved these functions to...
6375 * buffer_funcs.[Ch]: added
6376 * BufferView.[Ch] (loadLyXFile): added
6377 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6378 job removed from bufferlist::loadLyXFile.
6379 * buffer.C (setReadOnly): make it work without view
6380 (i.e added an if (users))
6382 2003-06-19 Angus Leeming <leeming@lyx.org>
6385 * LyXAction.C (init):
6386 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6387 with LFUN_DIALOG_SHOW <name> <data>.
6389 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6391 * CutAndPaste.C (availableSelections): small compilation fix for
6392 ancient (gcc 2.9x) compilers
6394 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6396 * text3.C (cursorNext): add tmp var
6398 * text2.C (updateCounters): for function calling out of for clause
6399 (replaceSelectionWithString): ditto
6400 (insertStringAsParagraphs): ditto
6401 (getColumnNearX): add tmp var
6402 (setCursorFromCoordinates): add tmp var
6403 (cursorDownParagraph): add tmp var
6404 (deleteEmptyParagraphMechanism): add tmp var
6406 * text.C (insertChar): add tmp var
6408 * rowpainter.C (paintDepthBar): add tmp var
6410 * CutAndPaste.C (availableSelections): potentially check all
6411 paragraphs in a cut to fill the shown strings.
6413 2003-06-18 André Pönitz <poenitz@gmx.net>
6415 * kbmap.[Ch]: use vector<> instead of list<>
6417 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6419 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6420 pasteSelection with index
6422 * text2.C (pasteSelection): modify, call pasteSelection with index
6424 * paragraph.C (asString): reimplement version with no interval to
6425 call the one with interval.
6427 * lyxtext.h: add index arg to pasteSelection
6429 * MenuBackend.C (MenuItem): handle PasteRecent
6430 (Menu::read::Menutags): add md_pasterecent
6432 (expandPasteRecent): new function
6435 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6437 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6439 (availableSelections): new function
6441 2003-06-17 Angus Leeming <leeming@lyx.org>
6443 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6445 2003-06-17 Angus Leeming <leeming@lyx.org>
6448 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6450 * lyxfunc.C (dispatch): invoke it.
6452 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6454 * iterators.C (operator++, ParPosition): reintroduce some
6455 const_cast for the benefit of older compilers.
6457 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6459 * text3.C (dispatch): do not modify clipboard when doing
6460 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6461 LFUN_DELETE_SKIP on a selection selection
6463 2003-06-16 André Pönitz <poenitz@gmx.net>
6469 * tabular.[Ch]: IU of clone() and getLabelList();
6471 2003-06-13 André Pönitz <poenitz@gmx.net>
6473 * tabular.h: compactification
6475 2003-06-12 André Pönitz <poenitz@gmx.net>
6479 * tabular_funcs.h: some renaming plus whitespace
6481 2003-06-12 André Pönitz <poenitz@gmx.net>
6484 * BufferView_pimpl.C:
6490 * toc.C: Return a Paragraph & for ParIterator::operator*()
6492 2003-06-11 John Levon <levon@movementarian.org>
6496 * ToolbarBackend.C: add "Toolbars" section and
6499 2003-06-10 Angus Leeming <leeming@lyx.org>
6502 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6504 * lyxfunc.C (dispatch): invoke it.
6506 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6508 * main.C: protect <ios> with HAVE_IOS
6509 (main): protect sync_with_stdio with HAVE_IOS
6511 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6513 * text2.C (cutSelection): adjust
6514 (pasteSelection): adjust
6516 * messages.C: handle get of empty string
6518 * main.C (main): use sync_with_stdio(false)
6520 * lyxfunc.C (dispatch): adjust
6522 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6523 (WriteAs): remove unneeded BufferView arg.
6525 * bufferparams.h: use correct types on papersize, papersize2 and
6528 * bufferparams.C (readToken): adjust for type
6529 (writeLaTeX): add missing cases to switch.
6531 * bufferlist.C (quitWriteBuffer): adjust
6534 * buffer.C (asciiParagraph): remove some commented code.
6536 * CutAndPaste.C: remove current_view extern variable.
6537 (cutSelection): add BufferParams arg.
6538 (eraseSelection): add BufferParams arg.
6539 (pasteSelection): add Buffer const & arg
6541 2003-06-07 John Levon <levon@movementarian.org>
6544 * paragraph_funcs.C:
6545 * paragraph_pimpl.C:
6549 * paragraph.C: allow InsetERT to freely space lines,
6550 and some consolidation of code
6552 2003-06-06 José Matos <jamatos@fep.up.pt>
6554 * buffer.C (makeDocBookFile): fix bug #821
6556 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6558 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6560 2003-06-04 Angus Leeming <leeming@lyx.org>
6562 * buffer.C: bump format to 224.
6564 2003-06-05 André Pönitz <poenitz@gmx.net>
6566 * text2.C (redoParagraphs): remove two const_cast<>
6568 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6570 * ParagraphList.h: remove last remnants of NO_STD_LIST
6572 2003-06-03 Angus Leeming <leeming@lyx.org>
6574 * factory.C (createInset): small change to the way InsetExternal's params
6577 2003-06-04 André Pönitz <poenitz@gmx.net>
6579 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6581 * paragraph_pimpl.h:
6582 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6584 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6586 * undo_funcs.C: make some simple cases of undo work again
6588 2003-06-03 John Levon <levon@movementarian.org>
6590 * ispell.C: HPUX doesn't have sys/select.h
6593 2003-06-03 John Levon <levon@movementarian.org>
6595 * CutAndPaste.C: update tabular and include inset
6600 * paragraph.C: remove owningBuffer(), don't pass Buffer
6603 * factory.C: insetGraphicsParams changed
6605 2003-06-02 John Levon <levon@movementarian.org>
6611 * text3.C: remove insetparent
6613 2003-06-02 John Levon <levon@movementarian.org>
6616 * buffer.C: fix inset_iterator.end(), move out of line
6619 2003-06-01 John Levon <levon@movementarian.org>
6621 * text3.C: use a proper cut/paste when doing inset
6622 insert (from Jürgen Spitzmüller)
6624 2003-06-01 John Levon <levon@movementarian.org>
6626 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6628 2003-05-30 André Pönitz <poenitz@gmx.net>
6630 * rowpainter.C: unify second drawing phase
6632 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * trans_mgr.C: remove one case of current_view
6636 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6638 * paragraph_funcs.h: remove paragraph.h include
6640 * paragraph.h: delete NO_STD_LIST stuff
6642 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6644 * buffer.h: remove paragraph.h include
6646 * ParagraphList.C: delete file
6648 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6650 * toc.C (getTocList): adjust
6652 * paragraph_pimpl.C (validate): adjust
6654 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6656 * paragraph.C (Paragraph): adjust
6657 (getPositionOfInset): use const_iterator, adjust
6658 (bibitem): use const_iterator, adjust
6659 (setInsetOwner): adjust
6661 * iterators.C (operator++): adjust
6663 * InsetList.[Ch]: Replace selfmade iterator with standard
6664 vector::iterator also introduce const_iterator. Remove getPos,
6665 getInset and setInset from InsetTable. Adjust accordingly.
6667 * BufferView.C (lockInset): adjust
6668 (ChangeInsets): adjust
6670 * tabular.[Ch]: delete commented same_id functions
6672 2003-05-28 John Levon <levon@movementarian.org>
6674 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6676 2003-05-28 André Pönitz <poenitz@gmx.net>
6678 * metricsinfo.[Ch]: remove 'fullredraw' member
6680 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6682 * lyxtextclass.C (operator): remove caching.
6684 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * text2.C (cursorBottom): adjust
6689 (setCounter): use ParagraphList::find, adjust
6691 * text.C (workWidth): use ParagraphList::find, adjust
6693 * lyxcursor.C (LyXCursor): adjust
6695 * buffer.C (inset_iterator): adjust
6697 * ParagraphList.h: make iterator(value_type) private, make
6698 ParagraphList a friend of iterator.
6700 * ParagraphList.C (find): new function
6702 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6704 2003-05-27 André Pönitz <poenitz@gmx.net>
6706 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6708 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6710 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6712 2003-05-26 John Levon <levon@movementarian.org>
6714 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6716 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6718 * remove same_id from function signatures, adjust.
6720 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6722 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6724 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6726 * paragraph.C (Paragraph): get rid of same_ids parameter
6728 * ParagraphList.C (insert): adjust
6731 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6733 * paragraph_funcs.C (breakParagraph): adjust
6734 (breakParagraphConservative): adjust
6736 * buffer.C (readParagraph): adjust
6738 * ParagraphList.C (insert): take a reference instead of a pointer
6741 * paragraph.[Ch] (id): new function
6743 * bufferlist.C (newFile): adjust
6745 * ParagraphList.C (ParagraphList): adjust
6747 (push_back): take a reference instead of a pointer.
6749 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6751 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6754 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6755 set else use old code.
6757 * ParagraphList.C: remove all NO_NEXT code and only compile this
6758 code of NO_STD_LIST is set.
6760 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6762 * BufferView_pimpl.C:
6772 * graphics/GraphicsConverter.C:
6773 * graphics/PreviewLoader.C: header adjustment
6775 2003-05-23 Angus Leeming <leeming@lyx.org>
6777 * LaTeXFeatures.[Ch] (useBabel): new method.
6778 * bufferparams.C (writeLaTeX): use it.
6780 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * ParagraphList.h (set): remove unused function.
6784 2003-05-23 André Pönitz <poenitz@gmx.net>
6787 * BufferView_pimpl.C:
6791 * undo_funcs.C: setUndo reworked
6793 * iterators.[Ch]: add access to topmost ParagraphList
6795 * lyxtext.[Ch] (workWidth): add a const
6797 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6799 * texrow.[Ch] (increasePos): remove function
6800 * exporter.C (export): removed unused var and outdated comment
6802 2003-05-23 Angus Leeming <leeming@lyx.org>
6804 * latexrunparams.h: rename fragile as moving_arg.
6805 * paragraph.C (simpleTeXOnePar): ditto.
6806 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6808 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6810 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6812 (textUndoOrRedo): comment out a currently unused var.
6814 * paragraph.h (NO_NEXT): enable NO_NEXT
6816 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6818 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6820 * exporter.C (Export): adjust for removeAutoInsets removal.
6822 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6824 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6826 * BufferView.[Ch] (removeAutoInsets): delete function
6828 2003-05-22 Angus Leeming <leeming@lyx.org>
6830 * latexrunparams.h: add a free_spacing variable.
6832 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6833 to pass moving_arg, as the data is stored in runparams.fragile.
6835 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6836 to Inset::latexOptional or to simpleTeXOnePar.
6838 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6839 free_spacing arg to Inset::latexOptional.
6841 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6844 2003-05-22 Angus Leeming <leeming@lyx.org>
6846 * latexrunparams.h: add fragile and use_babel variables.
6848 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6849 * buffer.C (makeLaTeXFile): store this returned value in
6850 runparams.use_babel, thus passing it to the inset::latex methods.
6852 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6853 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6855 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6856 longer has a fragile arg, as it is stored in runparams.fragile.
6858 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6859 moving_arg parameter as the data is stored in runparams.fragile.
6861 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6862 a fragile parameter as the data is stored in runparams.fragile.
6864 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6868 2003-05-22 Angus Leeming <leeming@lyx.org>
6870 * latexrunparams.h: add a 'bool nice' which defaults to false.
6872 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6873 now encapsulated within runparams.
6875 * bufferlist.C (updateIncludedTeXfiles):
6876 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6878 2003-05-22 Angus Leeming <leeming@lyx.org>
6880 * latexrunparams.h: new file containing struct LatexRunParams.
6881 * Makefile.am: add new file.
6883 * LaTeX.[Ch] (c-tor, run):
6884 * buffer.[Ch] (makeLaTeXFile):
6885 * bufferlist.[Ch] (updateIncludedTeXfiles):
6886 * converter.C (convert, scanLog):
6887 * converter.[Ch] (runLaTeX):
6888 * exporter.C (Export):
6889 * paragraph.[Ch] (simpleTeXOnePar):
6890 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6891 * paragraph_funcs.[Ch] (latexParagraphs):
6892 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6893 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6894 pass around a LatexRunParams parameter.
6896 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * paragraph.[Ch]: remove unused constructor
6900 * ParagraphList.C (erase): new function, taking two iterators
6902 2003-05-22 André Pönitz <poenitz@gmx.net>
6904 * undo_funcs.C: remove duplicated code
6906 * iterator.[Ch]: operator=
6908 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * tabular.C (SetMultiColumn): ws changes
6912 * rowpainter.C (paintFirst): get rid of a ->previous
6914 * lyx_cb.C (getPossibleLabel): parlist simplification
6916 * BufferView.C (ChangeInsets): simplify slightly.
6918 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6920 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6921 * lfuns.h: new LFUN_SPACE
6922 * lyxfunc.C: protected space has a new lfun
6923 * paragraph_funcs.C: read new space insets
6925 * factory.C: handle new space insets
6927 2003-05-22 André Pönitz <poenitz@gmx.net>
6930 * BufferView_pimpl.C:
6933 * undo_funcs.C: return a ParIterator from getParFromID.
6935 * iterators.[Ch]: add two const's
6937 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6939 * toc.C (getTocList): adjust
6941 * iterators.[Ch]: rework for parlist
6943 * buffer.C (par_iterator_begin): adjust
6944 (par_iterator_end): adjust
6946 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6948 * BufferView.C (removeAutoInsets): adjust
6949 (ChangeInsets): adjust
6951 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6953 * text.C (top_y): fix bug 1110
6955 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6957 * errorlist.[Ch]: added
6960 * BufferView_pimpl.C:
6961 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6964 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6966 * Makefile.am: ensure that lyx is relinked upon changes to the
6967 various "convenience" libs.
6969 2003-05-20 Angus Leeming <leeming@lyx.org>
6971 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6972 files are compiled in alphabetical order again.
6974 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6976 2003-05-19 Angus Leeming <leeming@lyx.org>
6978 * gettext.[Ch]: remove "char const * _(char const *)".
6980 2003-05-19 André Pönitz <poenitz@gmx.net>
6982 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6991 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6993 2003-05-19 André Pönitz <poenitz@gmx.net>
6997 * lyxtextclass.[Ch]:
6999 * paragraph_funcs.[Ch]:
7001 * text3.C: more insetenv work
7003 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7005 * ParagraphParameters.C (params2string): small bug fixed
7007 2003-05-16 André Pönitz <poenitz@gmx.net>
7010 * bufferview_funcs.C: patch from Kornel Benko to prevent
7011 crash when _(...) is called twice in a statement
7013 2003-05-16 André Pönitz <poenitz@gmx.net>
7020 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7022 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7024 * lyx_main.C (init): remove spurious static_cast
7026 2003-05-14 André Pönitz <poenitz@gmx.net>
7028 * BufferView.C: fix format string
7030 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7032 * BufferView.[Ch] (insertErrors): removed
7033 * BufferView.[Ch] (showErrorList): added
7034 * buffer.C (runChkTeX):
7035 * converter.C (scanLog): call showErrorList instead of inserterrors
7037 2003-05-13 André Pönitz <poenitz@gmx.net>
7039 * BufferView_pimpl.C:
7041 * bufferview_func.C:
7048 * tabular_funcs.h: tostr() from its own header
7050 * ParagraphParameters.C:
7055 * text3.C: STRCONV()
7057 2003-05-12 André Pönitz <poenitz@gmx.net>
7060 * BufferView_pimpl.C:
7064 * ParagraphParameters.C:
7068 * bufferview_funcs.C:
7081 * paragraph_funcs.C:
7085 * text3.C: boost::format -> bformat all over the place
7088 2003-05-09 André Pönitz <poenitz@gmx.net>
7090 * LColor.[Ch]: Pimpl the #include <map> away
7092 2003-05-09 John Levon <levon@movementarian.org>
7094 * bufferlist.C: never remove emergency saves
7096 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7098 * Makefile.am: better lib building
7100 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7104 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7105 (simpleTeXSpecialChars): adjust
7106 (simpleTeXSpecialChars): adjust
7107 * paragraph.C (simpleTeXOnePar): adjust
7108 * buffer.C (makeLaTeXFile): adjust
7110 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7112 * text2.C (changeDepth): parlist cleanup
7113 (getColumnNearX): ditto
7115 * rowpainter.C (getLabelFont): parlist cleanup
7117 * bufferlist.C (newFile): parlist cleanup
7119 * CutAndPaste.C (eraseSelection): parlist cleanup
7121 * BufferView_pimpl.C (trackChanges): parlist cleanup
7124 * BufferView.C (lockInset): parlist cleanup.
7125 (ChangeInsets): ditto
7127 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7129 * CutAndPaste.h: Update file header.
7131 * CutAndPaste.C: Update file header.
7132 Store the parts cut out of the Document in a limited_stack.
7133 (copySelection): adjust
7134 (pasteSelection): new function, takes the index in the limited stack.
7135 (nrOfParagraphs): adjust
7136 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7137 simplify error inset insertion.
7138 (checkPastePossible): adjust
7140 2003-05-06 John Levon <levon@movementarian.org>
7142 * text2.C: don't cast wrap inset to float
7144 2003-05-05 André Pönitz <poenitz@gmx.net>
7147 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7149 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7150 few naked Paragraph *.
7152 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7154 * bufferparams.C: Output warning if a document with missing
7155 TeX document class is loaded
7156 * exporter.C: Disable TeX exports if the document class is missing
7159 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7160 isTeXClassAvailable()
7162 2003-05-03 John Levon <levon@movementarian.org>
7165 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7166 explicit cursor show/hide
7168 * BufferView_pimpl.h:
7169 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7170 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7172 * lyxfunc.C: hide cursor before dispatching.
7177 * text3.C: remove explicit cursor hides
7179 2003-05-02 André Pönitz <poenitz@gmx.net>
7181 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7184 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7187 * text2.C: tiny whitespace
7189 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7191 * undo_funcs.C: almost only ws changes.
7193 * ParagraphList.C (splice): just return if pl is empty.
7195 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * ParagraphList.C (splice): new function.
7199 * CutAndPaste.C (pasteSelection): use it
7201 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7203 * CutAndPaste.C (pasteSelection): remove the last next and
7204 previous from this file.
7206 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7208 * CutAndPaste.C (pasteSelection): more clean up, user proper
7209 ParagraphList functions for pasteing.
7211 * ParagraphList.C (insert): new function, three arg insert
7213 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7215 * ParagraphList.C (insert): new function, three arg insert
7217 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7220 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7222 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7224 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7226 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7228 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7231 (copySelection): clean up a bit.
7232 (pasteSelection): use make_pair
7234 * ParagraphList.C (ParagraphList): implement copy constructor
7235 (operator=): implement, base on copy constructor.
7238 * paragraph.C (erase): return a bool
7240 * paragraph_pimpl.C (erasePos): remove function, move contents...
7241 (erase): ... here. Return a bool.
7242 (erase): call erase instead of erasePos.
7244 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7246 * ParagraphList.h: define PitPosPair
7247 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7248 ParagraphList, fix a bug on pasting multiple pars
7249 * text2.C: change interface to C&P
7251 2003-04-30 André Pönitz <poenitz@gmx.net>
7253 * undo_func.C: revert part of yesterday's patch 2
7255 2003-04-30 John Levon <levon@movementarian.org>
7257 * LColor.C: s/tabular/table/
7259 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * text3.C (dispatch): do not convert iterator -> pointer
7262 * undo_funcs.C (setCursorParUndo): ditto
7263 * text_funcs.C (transposeChars): ditto
7265 * text2.C (setLayout): ws changes only
7267 * text.C (breakParagraph): do not convert iterator -> pointer
7269 (acceptChange): ditto
7270 (rejectChange): ditto
7275 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7278 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7280 * text3.C (gotoInset): YABG (yet another bad getChar)
7282 2003-04-29 André Pönitz <poenitz@gmx.net>
7284 * paragraph.h: make operator= private unimplemented as long as
7287 * ParagraphList.C: whitespace
7290 * paragraph_pimpl.[Ch]:
7291 * paragraph_funcs.C:
7293 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7296 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7298 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7300 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7301 * paragraph.[Ch] (erase):
7302 * paragraph_pimpl.[Ch] (erase): change return type and value
7303 * text2.C (cutSelection): some rework
7305 2003-04-28 John Levon <levon@movementarian.org>
7307 * bufferlist.C: changes for unsaved changes dialog
7309 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7311 * bufferlist.C (newFile): set language (messages_) for new
7314 * buffer.C (readFile): ws changes only.
7316 2003-04-28 André Pönitz <poenitz@gmx.net>
7321 * BufferView_pimpl.C:
7322 * BufferView.C: getParFromID related ParagraphList::iterator changes
7324 2003-04-28 André Pönitz <poenitz@gmx.net>
7326 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7329 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * messages.C: remove one more localedir class variable.
7333 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7335 * messages.C (getLocaleDir): singleton generation function
7337 (Messages): add a default constructor.
7339 * main.C (main): do not setup localedir here, do not call
7342 * gettext.C (_): use it.
7343 (gettext_init): delete funciton
7345 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7347 * gettext.C (getLyXMessages): new singleton generating function.
7349 * buffer.C (updateDocLang): adjust
7351 * Makefile.am (messages.o): add target
7352 (main.o): remove target
7354 2003-04-27 John Levon <levon@movementarian.org>
7359 * lyxvc.C: specify cancel button in Alert::prompt
7361 2003-04-26 John Levon <levon@movementarian.org>
7366 * LyXAction.C: add LFUN_INSET_SETTINGS
7368 * lyxfunc.C: don't enable tabular-feature when there's
7369 just any locking inset
7371 2003-04-26 John Levon <levon@movementarian.org>
7373 * bufferlist.C: re-add Cancel to buffer close question
7375 * lyxfunc.C: fix import UI a bit
7377 2003-04-25 John Levon <levon@movementarian.org>
7379 * gettext.C: remove the broken asserts for now
7381 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7383 * messages.C: make case where setlocale cannot comply work better.
7385 * buffer.C (updateDocLang): new function
7386 (changeLanguage): use it
7389 * text2.C (setCounter): use B_ a bit.
7391 * lyxlayout.C (Read): be sure to trim the label strings.
7393 * messages.C (Messages): fix typo in comment
7395 * buffer.C (readFile): set message_ after file is loaded.
7396 (makeDocBookFile): remove double return
7397 (changeLanguage): reset message_ upon language change.
7398 (B_): new func, use this to get translated buffer strings.
7400 * main.C: add myself and Jean Marc as authors.
7402 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7404 * messages.[hC]: pimplify Messages, and three different pimpls to be
7405 used in different circumstances.
7407 * gettext.[Ch]: change for use with new message code.
7409 2003-04-24 André Pönitz <poenitz@gmx.net>
7411 * factory.C: support for eqref
7413 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7415 * messages.[Ch]: add missing char
7417 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7419 * messages.[Ch]: New files
7421 2003-04-18 John Levon <levon@movementarian.org>
7425 * BufferView_pimpl.C:
7429 * text2.C: remove layout-copy/paste (bug 778)
7431 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7433 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7435 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7437 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7438 if they succeed. Act accordingly.
7440 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7442 * text2.C (setCharFont): adjust
7443 (setCounter): adjust
7444 (insertStringAsLines): adjust
7446 * text.C (leftMargin): adjust
7447 (setHeightOfRow): adjust
7449 * rowpainter.C (paintFirst): adjust
7452 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7454 (isFirstInSequence): ditto
7455 (getEndLabel): ditto
7458 * paragraph.C (getParLanguage): comment out some hard stuff.
7460 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7462 (simpleDocBookOnePar): ditto
7463 (makeDocBookFile): use ParagraphList::iterator
7465 * CutAndPaste.C (pasteSelection): adjust
7467 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7469 * text2.C (getFont): adjust
7470 (getLayoutFont): adjust
7471 (getLabelFont): adjust
7473 * paragraph_funcs.C (TeXOnePar): adjust
7475 * buffer.C (simpleLinuxDocOnePar): adjust
7476 (simpleDocBookOnePar): adjust
7478 * CutAndPaste.C (pasteSelection): adjust
7480 * BufferView.C (getEncoding): adjust
7482 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7484 2003-04-16 John Levon <levon@movementarian.org>
7486 * lyxfind.C: use parlist stuff for search/changes
7488 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7490 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7492 * text2.C (deleteEmptyParagraphMechanism): adjust
7494 * text2.[Ch] (ownerParagraph): delete func (both of them
7496 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7498 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7500 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * ParagraphList.C: prepare for NO_NEXT
7504 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * text2.C (getFont): adjust
7507 (getLayoutFont): adjust
7508 (getLabelFont): adjust
7510 * paragraph.C (getFont): adjust
7511 (getLabelFont): adjust
7512 (getLayoutFont): adjust
7514 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7516 2003-04-15 John Levon <levon@movementarian.org>
7520 * lyx_main.C: handle Include in .ui files
7522 2003-04-15 John Levon <levon@movementarian.org>
7524 * MenuBackend.C: make the doc files length shorter
7527 * ToolbarBackend.C: handle toolbar placement flags,
7530 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7532 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7535 * paragraph_funcs.C (TeXOnePar): adjust
7537 * paragraph.C (getLabelFont): add outerfont arg, adjust
7538 (getLayoutFont): ditto
7539 (simpleTeXOnePar): adjust
7541 * paragraph_pimpl.C (realizeFont): delete func
7543 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7545 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7546 row argument, constify cur argument.
7548 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7550 * text2.C (getFont): adjust
7551 (getLayoutFont): adjust
7552 (getLabelFont): adjust
7554 * paragraph_funcs.C (TeXOnePar): adjust
7555 (outerFont): new func...
7556 (realizeFont): ...moved out from here, changed this to facilitate
7559 * paragraph.C (getFont): take outerfont as arg, adjust
7560 (simpleTeXOnePar): add outerfont arg, adjust
7562 * buffer.C (simpleLinuxDocOnePar): adjust
7563 (simpleDocBookOnePar): adjust
7565 * CutAndPaste.C (pasteSelection): adjust
7567 * BufferView.C (getEncoding): adjust
7569 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7571 * text2.C (setCharFont): adjust
7572 (setCounter): adjust
7574 * text.C (leftMargin): adjust
7575 (setHeightOfRow): adjust
7577 * rowpainter.C (paintFirst): adjust
7580 * paragraph_pimpl.C (realizeFont): adjust
7582 * paragraph.C (isFirstInSequence): move from here...
7583 * paragraph_funcs.C (isFirstInSequence): ...to here
7585 * paragraph.C (outerHook): move from here...
7586 * paragraph_funcs.C (outerHook): ...to here
7588 * paragraph.C (depthHook): move from here...
7589 * paragraph_funcs.C (depthHook): ...to here
7591 * paragraph.C (getEndLabel): move from here...
7592 * paragraph_funcs.C (getEndLabel): ...to here
7594 * text2.C (realizeFont): move from here...
7595 * paragraph_funcs.C (realizeFont): ...to here
7597 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7599 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7601 2003-04-14 Angus Leeming <leeming@lyx.org>
7603 * LColor.[Ch]: scrap LColor mathcursor.
7605 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * lyxlex.[Ch] (text): delete function
7608 * trans.C (Load): adjust
7609 * paragraph_funcs.C (readParToken): adjust
7611 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7614 vector<char> instead of a char[].
7616 * lyxlex_pimpl.C (getString): adjust
7618 (lex): use getString
7622 * lyxlex.C (text): use pimpl_->getString()
7626 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7628 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7629 (makeFontEntriesLayoutSpecific): temp var for par.size()
7630 (setLayout): temp var for ownerParagraphs().end()
7631 (fullRebreak): temp var for rows().end()
7632 (selectionAsString): temp var for boost::next(startpit), realize
7633 that the while really is a regular for loop.
7634 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7635 setCursor in one place.
7636 (setParagraph): temp vr for ownerParagraphs().end()
7637 (updateCounters): make the while loop a for loop
7638 (cutSelection): temp var for ownerParagraphs().end()
7639 (updateInset): make the do {} while() a regular for loop
7640 (getCursorX): use temp vars
7641 (setCurrentFont): use temp vars
7642 (getColumnNearX): use temp vars
7644 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * text.C (transformChar): use temp var for getChar
7647 (computeBidiTables): use temp var for row->par()
7648 (fill): move temp vars for row->par() and pit->layout() earlier in
7650 (labelFill): use temp var for row->par()
7651 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7652 asc and desc, realize that pit never changes and that firstpit is
7653 just a duplicate and not needed. Exchange rit->par() with pit in a
7655 (breakAgain): use a temp var for boost::next(rit)
7656 (breakAgainOneRow): ditto
7657 (breakParagraph): use a temp var for rows().begin()
7658 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7659 (cursorRightOneWord): use temp var for cursor.par() and
7660 cursor.pos(), remove usage of tmpcursor.
7661 (cursorLeftOneWord): use temp var for cursor.par() and
7662 cursor.pos() only set cur at end of function.
7664 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7666 * text.C, text2.C: exchange all usage of Paragraph::next with
7667 boost::next(ParagraphList::iterator)
7669 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7671 * text2.C (cursorTop): simplify implementation
7672 (cursorBottom): ditto
7673 (setParagraph): use ParagraphList::iterator
7674 (setCurrentFont): adjust
7675 (getColumnNearX): adjust
7676 (cursorRight): adjust
7677 (cursorLeft): remove usage of Paragraph::previous
7678 (cursorUpParagraph): ditto
7679 (deleteEmptyParagraphMechanism): slight cleanup
7681 * text.C (isBoundary): take a Paragraph const & instead of a
7683 (addressBreakPoint): ditto
7684 (leftMargin): remove usage of Paragraph::previous.
7685 (setHeightOfRow): ditto
7686 (cursorLeftOneWord): ditto
7687 (selectNextWordToSpellcheck): ditto
7690 (breakParagraph): remove one usage of Paragraph::next
7691 (redoParagraph): ditto
7692 (acceptChange): ditto
7693 (insertChar): adjust
7694 (rowBreakPoint): adjust
7696 * bufferview_funcs.C (toggleAndShow): adjust
7698 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7700 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7701 methods to access it.
7703 * text.C: Added updateRowPositions to compute all row positions.
7704 Make top_y and getRowNearY() to use the cached y position
7706 2003-04-11 John Levon <levon@movementarian.org>
7708 * text.C (rowBreakPoint): reintroduce the labelEnd
7709 checks, code copied from the row fill stuff. Deep voodoo.
7711 * text.C (fill): add a comment and debugging for the
7714 2003-04-11 John Levon <levon@movementarian.org>
7716 * text.C: make sure fullrow insets get wrapped to the next line,
7717 even when they're in a manual label
7719 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * text2.C (insertParagraph): make it take ParagraphList::iterator
7723 (setLayout): make it return ParagraphList::iterator
7724 (redoParagraphs): ditto
7726 (checkParagraph): ditto
7728 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7730 * text2.C: adjust several funcs.
7731 (realizeFont): take a ParagraphList::iterator as arg.
7732 (getLayoutFont): ditto
7733 (getLabelFont): ditto
7734 (setCharFont): ditto
7736 * text.C: adjust several funcs.
7738 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7740 * text.C (selectNextWordToSpellcheck): don't accidentally
7743 2003-04-10 John Levon <levon@movementarian.org>
7745 * ToolbarBackend.C (getIcon): special handling for
7748 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7750 * text2.C (cursorRight): a getChar assert fixed
7752 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7754 * text2.C (getFont): change to take a ParagraphList::iterator
7755 instead of Paragraph*
7756 Adjust several functions.
7758 * text.C (transformChar): change to take a ParagraphList::iterator
7759 instead of Paragraph*
7760 (singleWidth): ditto
7761 Adjust several functions.
7763 * rowpainter.C: adjust several functions
7764 * rowpainter.h:store a ParagraphList::iterator and not a
7768 2003-04-09 John Levon <levon@movementarian.org>
7773 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7774 and the "help" bits as well
7776 2003-04-09 John Levon <levon@movementarian.org>
7779 * ToolbarBackend.C: allow multiple toolbars
7781 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7783 * undo_funcs.C (setCursorParUndo): adjust
7785 * text_funcs.C (transposeChars): adjust
7787 * text3.C (gotoNextInset): adjust
7790 * text2.C (setLayout): adjust
7791 (changeDepth): adjust
7793 (redoParagraphs): adjust
7794 (selectionAsString): adjust
7795 (setParagraph): adjust
7796 (insertInset): adjust
7797 (cutSelection): adjust
7798 (copySelection): adjust
7799 (pasteSelection): adjust
7800 (insertStringAsLines): adjust
7801 (updateInset): adjust
7802 (setCursor): change to take a ParagraphList::iterator parameter
7803 (setCursorIntern): change to take a ParagraphList::iterator parameter
7804 (setCurrentFont): adjust
7805 (cursorLeft): adjust
7806 (cursorRight): adjust
7807 (deleteEmptyParagraphMechanism): adjust
7809 * text.C (breakParagraph): adjust
7810 (insertChar): adjust
7811 (acceptChange): adjust
7812 (rejectChange): adjust
7813 (selectNextWordToSpellcheck): adjust
7814 (changeCase): adjust
7818 * lyxfind.C (SearchForward): adjust
7819 (SearchBackward): adjust
7820 (nextChange): adjust
7822 * lyxcursor.C (par): adjust
7824 * lyxcursor.h: store a ParagraphList::iterator instead of a
7827 * lyx_cb.C (getPossibleLabel): adjust
7829 * bufferview_funcs.C (toggleAndShow): adjust
7831 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7834 * BufferView.C (removeAutoInsets): adjust
7835 (lockedInsetStoreUndo): adjust
7837 2003-04-09 John Levon <levon@movementarian.org>
7839 * ToolbarBackend.C: try icon without argument
7840 if with argument fails
7842 2003-04-08 John Levon <levon@movementarian.org>
7845 * ToolbarBackend.C: add getIcon(), handle tooltip,
7846 and change from "Icon" to "Item".
7848 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7850 * BufferView.C (lockInset): another bad getchar crunched
7852 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7854 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7857 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7859 * lyxfind.C (searchForward, searchBackwards): bug 782
7861 2003-04-07 John Levon <levon@movementarian.org>
7863 * paragraph.C: remove dead comment
7865 * text.C: remove troublesome depth-fiddling code
7866 in leftMargin() and rightMargin() (bug 1017)
7868 * text.C: fix breaking of rows in nested lists
7871 * text2.C (updateCounters): fix up depth values
7874 2003-04-07 John Levon <levon@movementarian.org>
7876 * BufferView_pimpl.C: clear message when doc finishes resizing,
7877 and after a mouse event
7879 * lyxfunc.C: clear message after exiting inset
7881 2003-04-07 John Levon <levon@movementarian.org>
7883 * bufferview_funcs.C: show math status not outside
7884 status in the statusbar
7886 2003-04-07 John Levon <levon@movementarian.org>
7888 * lyxfunc.C: note status changed after a depth change
7890 2003-04-04 Angus Leeming <leeming@lyx.org>
7892 * LaTeX.h: move AuxInfo operator==, != out of line.
7893 Remove LaTeX virtual destructor; nothing derives from it.
7894 Move operator()() out of public area and rename it startscript().
7895 Change protected for private.
7897 2003-04-04 Angus Leeming <leeming@lyx.org>
7900 * text2.C: remove unneeded #includes.
7902 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7904 * text2.C (dEPM): fix the heigth of the next row
7906 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7908 * text.C: squashed an invalid getChar requester + some ws changes
7910 2003-04-03 John Levon <levon@movementarian.org>
7912 * bufferview_funcs.h:
7913 * bufferview_funcs.C:
7916 * text2.C: make getStatus work for the env depth lfuns
7918 2003-04-03 John Levon <levon@movementarian.org>
7920 * bufferview_funcs.h:
7921 * bufferview_funcs.C:
7924 * text2.C: parlistize decDepth(), by merging it with incDepth()
7926 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7928 * lyxrow.h: store a ParagraphList::iterator instead of a
7929 Paragraph* and adjust other class functions to suit.
7931 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7934 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7936 * text2.C (setCursor): do not anchor to cursor row for the time being
7938 2003-04-02 John Levon <levon@movementarian.org>
7945 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7947 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7949 * paragraph.h: make ParagraphList and ParagraphList::iterator
7950 friends of Paragraph.
7952 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7954 * ParagraphList.C: Use the private next_ and previous_ from
7957 2003-04-01 John Levon <levon@movementarian.org>
7961 * Makefile.am: rename, remove defaults gunk
7964 * MenuBackend.C: remove defaults gunk
7967 * Languages.C: remove defaults gunk
7970 * lyx_main.C: error out if files couldn't be found.
7972 2003-04-02 John Levon <levon@movementarian.org>
7974 * text2.C: make incDepth() use parlist
7976 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7978 * undo_funcs.C (firstUndoParagraph): adjust
7980 * text3.C (gotoInset): adjust
7981 (dispatch): adjust, and rewrite loop.
7983 * text2.C (init): adjust, and rewrite loop.
7984 (redoParagraphs): adjust
7985 (updateInset): adjust, and rewrite loop.
7986 (deleteEmptyParagraphMechanism): adjust
7988 * tabular.C (LyXTabular): adjust
7989 (SetMultiColumn): adjust
7992 * lyxtext.[Ch] (ownerParagraph): delete function
7993 (ownerParagraphs): new function returns a ParagraphList.
7995 * BufferView.C (removeAutoInsets): adjust
7996 (insertErrors): adjust
7997 (setCursorFromRow): adjust
7999 2003-04-01 Angus Leeming <leeming@lyx.org>
8001 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8004 2003-04-02 John Levon <levon@movementarian.org>
8010 * text_funcs.C: make transposeChars a free function
8012 * lyxrow_funcs.C: remove wrong comment
8014 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8017 * rowpainter.C: adjust
8022 * lyxrow_funcs. [Ch]: new files
8024 * lyxrow.[Ch]: remove next and previous pointers
8025 (next,previous): remove accessor functions
8026 (isParEnd): move to lyxrow_funcs
8027 (lastPos): move to lyxrow_funcs
8028 (nextRowIsAllInset): move to lyxrow_funcs
8029 (lastPrintablePos): move to lyxrow_funcs
8030 (numberOfSeparators): move to lyxrow_funcs
8031 (numberOfHfills): move to lyxrow_funcs
8032 (numberOfLabelHfills): move to lyxrow_funcs
8033 (hfillExpansion): move to lyxrow_funcs
8037 * bufferview_funcs.C (toggleAndShow): adjust
8039 * RowList.h: Remove class RowList from file leave just a
8042 * RowList.C: delete file
8044 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8047 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * text3.C (cursorPrevious): adjust
8050 (cursorNext): adjust
8053 * text2.C (redoHeightOfParagraph): adjust
8054 (redoDrawingOfParagraph): adjust
8057 * text.C (breakParagraph): adjust
8058 (insertChar): adjust
8061 * rowpainter.C (RowPainter): adjust
8062 (leftMargin): simplify and adjust
8063 (most rowpainter functions): adjust.
8065 * rowpainter.h: store the row as RowList::iterator not as Row*
8067 * lyxcursor.C (row): taka RowList::iterator as arg
8070 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8073 2003-04-01 Angus Leeming <leeming@lyx.org>
8075 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8076 stuff like bool Bool.
8078 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8080 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8083 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8085 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8088 * lyxtext.h (rows): drop one version and leve a const variant that
8089 returns a RowList::iterator.
8091 2003-03-31 Angus Leeming <leeming@lyx.org>
8093 * text.C (fill): ensure that the signature is the same as that in the
8096 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8098 * text2.C (redoParagraphs): adjust
8099 (updateCounters): adjust
8100 (checkParagraph): adjust
8101 (getColumnNearX): adjust and reformat a bit.
8103 * text.C (top_y): adjust
8105 (leftMargin): adjust
8106 (prepareToPrint): adjust
8108 (getRowNearY): adjust
8110 * lyxtext.h: make rowlist_ mutable.
8112 * RowList.h: add const_iterator
8113 * RowList.C: adjust for RowList::const_iterator.
8115 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8118 2003-03-31 John Levon <levon@movementarian.org>
8121 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8123 * lyx_main.C: set default fonts from using lyx_gui funcs
8125 * exporter.C: pdf_mode moved from lyxrc
8128 * lyxfunc.C: changes from above
8130 2003-03-31 John Levon <levon@movementarian.org>
8132 * lyx_main.C: fix to the last fix
8134 2003-03-31 John Levon <levon@movementarian.org>
8136 * bufferlist.C: "Load original" -> "Load Original"
8142 * format.C: more Alert cleanups
8144 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8146 * text2.C (removeParagraph): make it take a RowList::iterator as
8148 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8149 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8151 * text.C (anchor_row): make it take a RowList::iterator as arg,
8153 (computeBidiTables): make it take a const reference to Row instead
8154 of Row pointer, adjust.
8155 (leftMargin): make it take a RowList::iterator as arg, adjust.
8156 (rowBreakPoint): adjust
8157 (breakAgainOneRow): make it take a RowList::iterator as arg,
8159 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8161 * bufferview_funcs.C (toggleAndShow): adjust
8163 2003-03-30 John Levon <levon@movementarian.org>
8167 * boost-inst.C: moved to support
8169 * several files: changes as a result
8171 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8173 * text2.C (LyXText): adjust.
8175 (removeRow): make it take a RowList::iterator as arg, adjust.
8176 (fullRebreak): adjust
8177 (deleteEmptyParagraphMechanism): adjust
8178 (clearPaint): adjust
8181 * text.C (top_y): adjust
8182 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8183 (breakAgain): make it take a RowList::iterator as arg, adjust.
8184 (breakParagraph): adjust
8185 (insertChar): adjust
8188 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8189 need_break_row, and refresh_row.
8191 * text3.C (dispatch): adjust
8193 * text2.C (checkParagraph): adjust
8195 (setCursorFromCoordinates): adjust
8197 * text.C (top_y): adjust
8199 (getRow): make it return a RowList::iterator, adjust
8200 (getRowNearY): make it return a RowList::iterator, adjust
8202 * text2.C (init): adjust
8203 (insertRow): remove function
8204 (insertParagraph): adjust
8205 (redoParagraphs): adjust
8206 (fullRebreak): adjust
8207 (updateCounters): adjust
8209 * text.C (top_y): rewrite to use RowList iterators.
8211 (setHeightOfRow): rewrite to sue RowList iterators.
8212 (appendParagraph): adjust
8213 (breakAgain): adjust
8214 (breakAgainOneRow): adjust
8215 (breakParagraph): adjust
8217 (getRowNearY): adjust, and remove commented code.
8219 * lyxtext.h (firstRow): delete function
8220 (lastRow): delete function
8221 (rows): new function (const and non-const versions.)
8222 (insertRow): delete function
8224 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8226 2003-03-29 John Levon <levon@movementarian.org>
8228 * BufferView_pimpl.C: always update scrollbar top
8229 because pasting text when we're anchored could mean we
8230 miss an update altogether
8232 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8234 * text2.C (init): use rowlist_.end() and not 0.
8235 (insertRow): change to take a RowList::iterator as arg, adjust
8237 (insertParagraph): change to take a RowList::iterator as arg,
8239 (redoParagraphs): remove some debug msgs.
8241 * text.C (appendParagraph): change to take a RowList::iterator
8242 arg, adjust for this.
8243 (breakAgain): add an assert
8244 (breakAgainOneRow): ditto
8246 2003-03-29 John Levon <levon@movementarian.org>
8248 * text2.C: do not clear selection after inc/decDepth
8251 2003-03-29 John Levon <levon@movementarian.org>
8254 * buffer.C: fix broken strerrors according to Lars
8256 2003-03-29 John Levon <levon@movementarian.org>
8258 * converters.C: more Alert cleanups
8260 2003-03-29 John Levon <levon@movementarian.org>
8262 * bufferview_funcs.C: remove pointless Alert
8264 * buffer.C: fix confusing error message when
8265 a template is chmoded 000
8267 2003-03-29 John Levon <levon@movementarian.org>
8271 * BufferView_pimpl.C: Alert fixes
8275 * tabular-old.C: remove unused table compat reading
8277 2003-03-29 John Levon <levon@movementarian.org>
8282 * lyx_cb.C: more Alert cleanups
8284 * lyxfunc.C: don't allow chktex if not latex document
8286 2003-03-29 John Levon <levon@movementarian.org>
8290 * buffer.C: warnings pushed down from support/,
8293 2003-03-29 John Levon <levon@movementarian.org>
8295 * lyxfunc.C: safety check for C-r (revert)
8297 2003-03-29 John Levon <levon@movementarian.org>
8300 * bufferlist.C: several UI fixes using Alert::prompt.
8301 Fix the pointless looping quit code. Fix stupid revert
8306 * lyx_cb.C: use Alert::prompt
8308 * lyx_main.C: remove a silly question
8310 * lyxfunc.C: remove a couple of silly questions,
8313 2003-03-28 John Levon <levon@movementarian.org>
8315 * text2.C: fix bug 974 (End on empty par)
8317 2003-03-28 John Levon <levon@movementarian.org>
8319 * BufferView_pimpl.C:
8321 * lfuns.h: remove do-nothing math greek lfuns
8323 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * lyxgluelength.h (isValidGlueLength): add default arg on
8326 parameter 2. Remove default arg from friend in class.
8328 * lyxlength.h (isValidLength): add default arg on parameter 2.
8329 Remove default arg from friend in class.
8331 * text2.C (LyXText): adjust, initialize refresh_row.
8335 (insertParagraph): adjst
8336 (redoParagraphs): adjust
8337 (fullRebreak): adjust
8338 (updateCounters): adjust
8339 (deleteEmptyParagraphMechanism): first attempt at fixing a
8342 * text.C (top_y): adjust
8343 (setHeightOfRow): adjust
8345 (getRowNearY): adjust
8347 * lyxtext.h: include RowList.h
8348 (~LyXText): not needed anymore, deleted.
8349 (firstRow): modify for RowList
8350 (lastRow): new function
8351 Delete firstrow and lastrow class variables, add a Rowlist
8352 rowlist_ class variable.
8354 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8357 * RowList.C (insert): fix case where it == begin().
8359 2003-03-26 Angus Leeming <leeming@lyx.org>
8361 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8362 the thesaurus dialog.
8364 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8368 * RowList.[Ch]: new files
8370 * ParagraphList.C (erase): handle the case where it == begin
8373 2003-03-25 John Levon <levon@movementarian.org>
8377 * aspell.C: add new aspell support
8380 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8383 2003-03-25 Angus Leeming <leeming@lyx.org>
8386 * LyXAction.C (init): new LFUN_INSET_INSERT.
8388 * BufferView_pimpl.C (dispatch): split out part of the
8389 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8391 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8394 2003-03-25 Angus Leeming <leeming@lyx.org>
8396 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8398 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8401 * text3.C: remove useless row->height(0)
8403 2003-03-25 John Levon <levon@movementarian.org>
8407 * text3.C: rename the refreshing stuff to better names
8409 2003-03-24 John Levon <levon@movementarian.org>
8411 * BufferView_pimpl.h:
8412 * BufferView_pimpl.C: update layout choice on a mouse
8415 2003-03-23 John Levon <levon@movementarian.org>
8417 * Makefile.am: fix commandtags.h reference
8419 2003-03-22 John Levon <levon@movementarian.org>
8421 * BufferView_pimpl.C:
8426 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8428 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8431 * text.C: take the rtl methods out of line
8433 2003-03-21 André Pönitz <poenitz@gmx.net>
8435 * metricsinfo.[Ch]: new files containing structures to be passed around
8436 during the two-phase-drawing...
8438 2003-03-21 André Pönitz <poenitz@gmx.net>
8440 * lyxtextclass.C: read 'environment' tag.
8442 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8444 * text2.C (removeRow): fix bug 964
8446 2003-03-20 John Levon <levon@movementarian.org>
8450 * text2.C: paint cleanups. Inset::update() dropped font
8453 2003-03-19 John Levon <levon@movementarian.org>
8455 * lyxfunc.C: only fitcursor/markDirty if available()
8457 2003-03-19 John Levon <levon@movementarian.org>
8459 * commandtags.h: rename to ...
8461 * lfuns.h: ... this, and renumber / cleanup
8463 2003-03-19 John Levon <levon@movementarian.org>
8465 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8466 fit the cursor after an lfun
8470 * BufferView_pimpl.h:
8471 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8473 * LyXAction.C: layout-character should have ReadOnly
8475 * ParagraphParameters.C:
8477 * bufferview_funcs.C:
8484 * undo_funcs.C: changes from above
8486 2003-03-18 John Levon <levon@movementarian.org>
8488 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8489 remove it from update()
8491 * lyxfunc.C: update layout choice after an lfun
8493 * text3.C: remove extra updateLayoutChoice()s
8495 2003-03-18 John Levon <levon@movementarian.org>
8497 * text.C: top_y change means full repaint, fix
8498 a drawing bug with cursor movement
8500 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8504 * text2.C: anchor row on setCursor
8506 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8508 * lyxtext.h: remove almost all mutable keywords
8511 * text3.C: remove const keywords accordingly
8513 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8515 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8517 (TeXEnvironment): ditto
8520 2003-03-17 John Levon <levon@movementarian.org>
8522 * text.C (rowBreakPoint): remove attempt to fix displayed
8523 math insets inside a manual label
8525 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8527 * lyxtext.h: remove BufferView* as first arg from almost all class
8529 * other files: adjust.
8531 2003-03-17 John Levon <levon@movementarian.org>
8535 * text2.C: more paint cleanups
8537 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8540 * rowpainter.C: remove "smart" background painting code
8542 2003-03-16 John Levon <levon@movementarian.org>
8547 * text3.C: add helper functions for setting refresh_row/y
8549 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8551 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8552 newline inset which *can* get inserted in the pass_thru layouts.
8553 This is primarily for literate documents.
8555 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8557 * buffer.C: increment LYX_FORMAT to 223
8559 2003-03-14 André Pönitz <poenitz@gmx.net>
8561 * textclass.h: prepare for environment handling, ws changes
8562 * lyxlayout.C: read latexheader and latexfooter tags
8564 2003-03-14 John Levon <levon@movementarian.org>
8566 * text2.C: rewrite ::status() a bit
8568 2003-03-13 John Levon <levon@movementarian.org>
8570 * lyxtext.h: add some docs
8572 2003-03-13 John Levon <levon@movementarian.org>
8577 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8579 2003-03-13 John Levon <levon@movementarian.org>
8581 * text3.C: fix appendix redrawing
8583 2003-03-13 John Levon <levon@movementarian.org>
8585 * text.C (setHeightOfRow):
8587 * rowpainter.C: make appendix mark have the text
8588 "Appendix" so the user knows what it is
8591 * LColor.C: s/appendixline/appendix/ from above
8593 2003-03-13 John Levon <levon@movementarian.org>
8595 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8597 * text.C: fix a getChar(pos) bug properly
8599 2003-03-13 Angus Leeming <leeming@lyx.org>
8602 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8603 Probably only temporary. Let's see how things pan out.
8605 * BufferView.C (unlockInset):
8606 * BufferView_pimpl.C (fitCursor):
8607 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8609 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8610 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8612 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8613 new functions that convert ParagraphParameters to and from a string.
8615 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8616 BufferView::Pimpl's dispatch.
8617 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8619 2003-03-13 André Pönitz <poenitz@gmx.net>
8623 * factory.C: make it aware of InsetEnv
8625 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8627 * text2.C (setCursor): never ask for one past last
8628 (setCursor): add some debugging messages.
8630 * text.C (singleWidth): never ask for one past last
8631 (singleWidth): ditto
8633 (rightMargin): ditto
8634 (rowBreakPoint): ditto
8635 (setHeightOfRow): ditto
8636 (prepareToPrint): ditto
8638 * rowpainter.C (paintBackground): never ask for one past last
8639 (paintText): never ask for one past last
8641 * paragraph_pimpl.C (getChar): make the assert stricter, never
8642 allow the one past last pos to be taken
8644 * paragraph.C (getChar): ws changes only
8646 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8647 (numberOfSeparators): ditto
8648 (numberOfHfills): ditto
8650 2003-03-12 John Levon <levon@movementarian.org>
8656 * paragraph_funcs.C: fix per-buffer authorlists
8658 2003-03-12 John Levon <levon@movementarian.org>
8660 * text.C: fix newline in right address
8662 2003-03-12 Angus Leeming <leeming@lyx.org>
8664 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8665 duplicate those in LyXFunc::dispatch.
8669 * ToolbarDefaults.C:
8670 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8671 Add LFUN_FONTFREE_UPDATE.
8673 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8674 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8676 * bufferview_func.[Ch]: several new functions to facilliate
8677 transfer of data to and from the character dialog.
8679 2003-03-12 John Levon <levon@movementarian.org>
8684 * paragraph_funcs.C:
8685 * paragraph_pimpl.C:
8689 * text3.C: remove META_NEWLINE in favour of an inset
8692 * rowpainter.C: remove paintNewline (done by inset)
8694 2003-03-12 John Levon <levon@movementarian.org>
8696 * paragraph_pimpl.C: complain about bad getChar()s
8697 for a while at least
8699 2003-03-12 John Levon <levon@movementarian.org>
8702 * buffer.C: move paragraph read into a separate function,
8703 a little renaming to reflect that.
8706 * bufferparams.C: remove the author_ids map, not necessary now
8709 * factory.C: moved Buffer::readInset to here
8711 * paragraph_funcs.h:
8712 * paragraph_funcs.C: readParagraph free function moved from
8715 * tabular.C: name change
8717 2003-03-12 John Levon <levon@movementarian.org>
8720 * ParagraphParameters.C: move par params input to
8723 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8724 behave like a normal read from the stream wrt reading
8725 a line vs. a \\token
8727 2003-03-12 John Levon <levon@movementarian.org>
8730 * ParagraphParameters.h:
8731 * ParagraphParameters.C: move output code to a
8734 2003-03-12 John Levon <levon@movementarian.org>
8736 * BufferView.C (insertLyXFile):
8739 * tabular.C: use a parlist iterator for creating the
8742 2003-03-12 John Levon <levon@movementarian.org>
8744 * buffer.C: make current_change static local not
8747 2003-03-12 John Levon <levon@movementarian.org>
8749 * buffer.C: fix insertStringAsLines for change tracking
8751 2003-03-12 John Levon <levon@movementarian.org>
8758 * bufferparams.C: move author list into params. Rename some
8759 functions. Move the header reading into a separate token
8760 loop. Move the header token reading into BufferParams.
8762 2003-03-12 John Levon <levon@movementarian.org>
8764 * changes.C: put debug inside lyxerr.debugging() checks
8766 2003-03-11 André Pönitz <poenitz@gmx.net>
8768 * factory.C: make it aware of InsetHFill
8770 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8772 * buffer.C (latexParagraphs): move function from here...
8773 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8776 2003-03-10 Angus Leeming <leeming@lyx.org>
8778 * LyXAction.C (init): fix bug in poplating array with multiple entries
8779 with the same LFUN (spotted by JMarc).
8781 2003-03-10 John Levon <levon@movementarian.org>
8784 * text2.C: move getColumnNearX() near its
8787 2003-03-10 John Levon <levon@movementarian.org>
8789 * text.C: fix break before a minipage
8791 2003-03-10 John Levon <levon@movementarian.org>
8793 * text.C: fix the last commit
8795 2003-03-09 John Levon <levon@movementarian.org>
8799 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8800 bug 365 (don't break before insets unless needed). Don't
8801 return a value > last under any circumstances.
8803 2003-03-09 Angus Leeming <leeming@lyx.org>
8805 * BufferView_pimpl.C (trackChanges, dispatch): call
8806 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8808 2003-03-09 Angus Leeming <leeming@lyx.org>
8810 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8811 than Dialogs::showAboutlyx().
8813 2003-03-09 Angus Leeming <leeming@lyx.org>
8815 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8816 than Dialogs::showTabularCreate().
8818 2003-03-09 John Levon <levon@movementarian.org>
8822 * text2.C: 3rd arg to nextBreakPoint was always the same.
8825 2003-03-08 John Levon <levon@movementarian.org>
8832 * text2.C: Remove the "main" bit from the "main body"
8835 2003-03-08 John Levon <levon@movementarian.org>
8837 * text.C (leftMargin): The left margin of an empty
8838 manual label paragraph should not include the label width
8841 * text.C (prepareToPrint): don't attempt to measure hfills
8842 for empty manual label paragraphs - the answer should be 0
8844 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8846 * CutAndPaste.C: remove commented code and reindent.
8848 2003-03-08 John Levon <levon@movementarian.org>
8851 * lyxfunc.C: move reloadBuffer()
8854 * BufferView.C: to here
8856 * lyxvc.C: add comment
8859 * vc-backend.C: call bv->reload() to avoid
8860 getStatus() check on MENURELOAD
8862 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8864 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8865 to an old format .dep file.
8867 2003-03-07 Angus Leeming <leeming@lyx.org>
8869 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8870 when the LFUN_MOUSE_RELEASE should have been handled by
8871 inset->localDispatch.
8873 2003-03-07 Angus Leeming <leeming@lyx.org>
8875 * BufferView_pimpl.C (dispatch):
8876 * LyXAction.C (init):
8877 * ToolbarDefaults.C (init):
8879 * lyxfunc.C (getStatus):
8880 remove LFUN_INSET_GRAPHICS.
8882 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8884 2003-03-07 Angus Leeming <leeming@lyx.org>
8887 * LyXAction.C (init):
8888 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8890 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8893 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8895 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8896 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8898 2003-03-07 Angus Leeming <leeming@lyx.org>
8900 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8903 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8905 * ParagraphList.C (front): new function
8908 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8910 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8911 and top_row_offset_. removed var first_y.
8913 * text2.C (LyXText, removeRow):
8915 * BufferView_pimpl.C:
8916 use these methods instead of using first_y
8918 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8920 * text2.C (pasteSelection): adjust for checkPastePossible
8922 * CutAndPaste.C: remove Paragraph * buf and replace with
8923 ParagraphList paragraphs.
8924 (DeleteBuffer): delete
8925 (cutSelection): change the tc type to textclass_type
8926 (copySelection): change the tc type to textclass_type
8927 (copySelection): adjust for ParagraphList
8928 (pasteSelection): change the tc type to textclass_type
8929 (pasteSelection): adjust for Paragraphlist
8930 (nrOfParagraphs): simplify for ParagraphList
8931 (checkPastePossible): simplify for ParagraphList
8932 (checkPastePossible): remove unused arg
8934 * ParagraphList.C (insert): handle the case where there are no
8937 * CutAndPaste.h: make CutAndPaste a namespace.
8939 * text3.C (dispatch): adjust
8941 * text.C (breakParagraph): add a ParagraphList as arg
8943 * paragraph_funcs.C (breakParagraph): change to take a
8944 BufferParams and a ParagraphList as args.
8945 (breakParagraphConservative): ditto
8946 (mergeParagraph): ditto
8947 (TeXDeeper): add a ParagraphList arg
8948 (TeXEnvironment): ditto
8951 * buffer.C (readLyXformat2): adjust
8952 (insertStringAsLines): adjust
8953 (latexParagraphs): adjust
8955 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8956 (cutSelection): adjust
8957 (pasteSelection): adjust
8959 * BufferView_pimpl.C (insertInset): adjust
8961 2003-03-05 Angus Leeming <leeming@lyx.org>
8964 * LyXAction.C (init):
8965 * BufferView_pimpl.C (dispatch):
8966 * lyxfunc.C (getStatus):
8967 remove LFUN_CHILD_INSERT.
8969 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8971 2003-03-05 Angus Leeming <leeming@lyx.org>
8974 * LyXAction.C (init):
8975 * src/factory.C (createInset):
8976 * lyxfunc.C (getStatus):
8977 * text3.C (dispatch):
8978 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8980 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8982 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8984 * ParagraphList.C (insert): handle insert right before end()
8985 (erase): fix cases where it can be first or last paragraph.
8987 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8989 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8990 Paragraph::next and Paragraph::previous
8993 * text.C (breakParagraph): adjust
8995 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8996 BufferParams& as arg.
8997 (breakParagraph): use ParagraphList::insert
8998 (breakParagraphConservative): take a Buffer* instead of a
8999 BufferParams& as arg.
9000 (breakParagraphConservative): use ParagraphList::insert.
9002 * buffer.C (insertStringAsLines): un-const it
9003 (insertStringAsLines): adjust
9005 * ParagraphList.C (insert): new function
9007 * CutAndPaste.C (pasteSelection): adjust
9009 * text.C (backspace): adjust
9011 * tabular.C (SetMultiColumn): adjust
9013 * CutAndPaste.C (cutSelection): adjust
9014 (pasteSelection): adjust
9016 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9017 Buffer const * as arg
9019 * ParagraphList.C (erase): new function
9020 * paragraph_funcs.C (mergeParagraph): use it
9021 (mergeParagraph): make it take a Buffer* instead of a
9022 BufferParams* as arg
9024 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9026 (breakParagraphConservative): ditto
9028 * paragraph.h: remove the breakParagraph friend
9030 * paragraph.C (eraseIntern): new function
9031 (setChange): new function
9033 * paragraph_funcs.C (mergeParagraph): make it take a
9034 ParagraphList::iterator instead of a Paragraph *, adjust
9037 * paragraph.h: move an #endif so that the change tracking stuff
9038 also works in the NO_NEXT case.
9040 2003-03-04 Angus Leeming <leeming@lyx.org>
9043 * LyXAction.C: new LFUN_INSET_MODIFY.
9045 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9046 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9048 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9050 * several files: ws changes only
9052 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9053 (TeXEnvironment): ditto
9056 * buffer.C (makeLaTeXFile): adjust
9057 (latexParagraphs): make it take ParagraphList::iterator as args
9059 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9061 * buffer.C (latexParagraphs): adjust
9063 * paragraph.C (TeXOnePar): move function...
9064 (optArgInset): move function...
9065 (TeXEnvironment): move function...
9066 * paragraph_pimpl.C (TeXDeeper): move function...
9067 * paragraph_funcs.C: ...here
9069 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9071 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9073 * buffer.C (readInset): remove compability code for old Figure and
9076 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9078 * buffer.C: ws changes
9081 * BufferView_pimpl.C: ditto
9084 * bufferlist.h: ditto
9088 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9090 * converter.[Ch]: split into itself +
9093 * Makefile.am: += graph.[Ch] + format.[Ch]
9100 * lyxrc.C: added #include "format.h"
9102 2003-02-27 Angus Leeming <leeming@lyx.org>
9104 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9107 * factory.C (createInset): add "label" to the factory.
9109 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9110 string and do no more.
9112 2003-02-27 Angus Leeming <leeming@lyx.org>
9115 * LyXAction.C (init):
9116 * factory.C (createInset):
9117 * BufferView_pimpl.C (dispatch):
9118 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9120 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9122 * lyxfunc.C (dispatch):
9123 * text3.C (dispatch): pass name to params2string.
9125 2003-02-26 Angus Leeming <leeming@lyx.org>
9127 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9129 Rearrange the ~includes. Strip out the unnecessary ones.
9131 * factory.C (createInset): reformat.
9132 create new insets for the various LFUN_XYZ_APPLY lfuns.
9134 2003-02-26 John Levon <levon@movementarian.org>
9137 * lyxrow.C: add isParStart,isParEnd helpers
9139 * paragraph.h: make isInserted/DeletedText take refs
9141 * paragraph_funcs.h:
9142 * paragraph_funcs.C: remove #if 0'd code
9147 * text.C: use lyxrow helpers above.
9148 Move draw and paint routines to RowPainter.
9149 Make several methods use refs not pointers.
9150 Make backgroundColor() const.
9151 Add markChangeInDraw(), isInInset().
9152 Merge changeRegionCase into changeCase.
9153 Make workWidth() shouldn't-happen code into an Assert.
9156 * rowpainter.C: new class for painting a row.
9159 * vspace.C: make inPixels take a ref
9161 2003-02-26 Angus Leeming <leeming@lyx.org>
9163 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9166 2003-02-25 John Levon <levon@movementarian.org>
9168 * ispell.C: give the forked command a more accurate name
9170 2003-02-22 John Levon <levon@movementarian.org>
9173 * toc.C: make TocItem store an id not a Paragraph *
9176 2003-02-21 Angus Leeming <leeming@lyx.org>
9178 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9179 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9180 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9181 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9182 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9183 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9185 * BufferView_pimpl.C (dispatch):
9186 * LyXAction.C (init):
9187 * factory.C (createInset):
9188 * lyxfunc.C (getStatus, dispatch):
9189 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9191 2003-02-21 Angus Leeming <leeming@lyx.org>
9193 * BufferView_pimpl.C (MenuInsertLyXFile):
9194 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9195 * lyxfunc.C (menuNew, open, doImport):
9196 no longer pass a LyXView & to fileDlg.
9198 2003-02-21 Angus Leeming <leeming@lyx.org>
9200 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9201 * LyXAction.C: change, BIBKEY to BIBITEM.
9202 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9203 Change InsetBibKey to InsetBibitem.
9204 Change BIBKEY_CODE to BIBITEM_CODE.
9205 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9206 * factory.C: replace insetbib.h with insetbibitem.h.
9207 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9208 * paragraph.C: replace insetbib.h with insetbibitem.h.
9209 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9210 Change bibkey() to bibitem().
9211 * text.C: remove insetbib.h.
9212 * text2.C: replace insetbib.h with insetbibitem.h.
9213 change bibkey() to bibitem().
9214 * text3.C: remove insetbib.h.
9215 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9217 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9219 * lyxrc.C (output): enclose user email in quotes (in case there are
9222 2003-02-18 John Levon <levon@movementarian.org>
9224 * buffer.h: add std::
9226 2003-02-17 John Levon <levon@movementarian.org>
9232 * pspell.C: reworking. Especially in ispell, a large
9233 number of clean ups and bug fixes.
9235 * lyxfunc.C: fix revert to behave sensibly
9237 2003-02-17 André Pönitz <poenitz@gmx.net>
9240 * commandtags.h: new LFUN_INSERT_BIBKEY
9250 * paragraph_func.C: remove special bibkey handling
9252 2003-02-17 John Levon <levon@movementarian.org>
9254 * text.C (Delete): fix case where delete at the end of
9255 the very first paragraph would not merge the pars
9257 2003-02-17 John Levon <levon@movementarian.org>
9259 * lyxrow.C: fix lastPrintablePos()
9261 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9263 * bufferparams.C (writeLaTeX): add a std:here
9265 * buffer.C: and remove a using directive there
9267 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9269 * buffer.C (makeLaTeXFile): move the code that generates the
9272 * bufferparams.C (writeLaTeX): ... in this new method
9274 * LaTeXFeatures.C (getEncodingSet): make const
9275 (getLanguages): make const
9277 * MenuBackend.C (binding): returns the binding associated to this
9279 (add): sets the status of each item by calling getStatus. Adds
9281 (read): add support for OptSubMenu
9282 (expand): remove extra separator at the end of expanded menu
9284 2003-02-15 John Levon <levon@movementarian.org>
9287 * BufferView_pimpl.C:
9289 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9290 inset code that had no actual effect. Remove unneeded status
9293 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9295 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9298 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9300 * text.C (drawLengthMarker): also draw an arrow marker for
9301 symbolic lengths (medskip...)
9303 2003-02-14 John Levon <levon@movementarian.org>
9306 * tabular.C: better method names
9308 2003-02-14 John Levon <levon@movementarian.org>
9310 * BufferView_pimpl.C:
9315 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9316 it's a more accurate name. Remove some pointless uses.
9318 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9320 * text2.C (LyXText): change order of initilizers to shut off
9323 2003-02-14 John Levon <levon@movementarian.org>
9325 * buffer.C: use ParIterator for getParFromID()
9329 * paragraph_pimpl.h:
9330 * paragraph_pimpl.C: remove unused getParFromID()
9332 2003-02-14 John Levon <levon@movementarian.org>
9334 * buffer.C: remove some very old #if 0'd parse code
9336 2003-02-13 John Levon <levon@movementarian.org>
9340 * text2.C: move hfillExpansion(), numberOfSeparators(),
9341 rowLast(), rowLastPrintable(), numberofHfills(),
9342 numberOfLabelHfills() ...
9345 * lyxrow.C: ... to member functions here.
9350 * text.C: remove LyXText::beginningOfMainBody(), and call
9351 p->beginningOfMainBody() directly. Move the check for
9352 LABEL_MANUAL into the latter.
9359 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9365 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9366 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9368 2003-02-13 John Levon <levon@movementarian.org>
9370 * CutAndPaste.C: remove debug
9372 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9374 * paragraph.C (asString): remove two unused variables
9376 * lyxtextclass.C (readTitleType):
9378 (LyXTextClass): handle new members titletype_ and titlename_
9380 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9382 2003-02-09 John Levon <levon@movementarian.org>
9385 * buffer.C: replace hand-coded list with a map for the dep clean
9387 2003-02-08 John Levon <levon@movementarian.org>
9389 * LaTeX.C: consolidate code into showRunMessage() helper
9391 2003-02-08 John Levon <levon@movementarian.org>
9396 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9397 and pass the size in explicitly
9399 * BufferView_pimpl.h:
9400 * BufferView_pimpl.C:
9402 * BufferView.C: add getCurrentChange()
9404 * BufferView_pimpl.h:
9405 * BufferView_pimpl.C: handle change lfuns
9407 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9408 for changes. Mark pasted paragraphs as new.
9410 * support/lyxtime.h:
9411 * support/lyxtime.C:
9412 * DepTable.C: abstract time_t as lyx::time_type
9415 * LColor.C: add colours for new text, deleted text, changebars
9417 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9418 package use "usenames" option.
9422 * LyXAction.C: add change lfuns
9426 * author.C: author handling
9429 * buffer.C: add a per-buffer author list, with first entry as
9430 current author. Handle new .lyx tokens for change tracking. Output
9431 author list to .lyx file. Output dvipost stuff to .tex preamble.
9432 Bump lyx format to 222.
9435 * bufferlist.C: add setCurrentAuthor() to reset current author details
9439 * bufferparams.C: add param for tracking
9441 * bufferview_funcs.C: output change info in minibuffer
9445 * changes.C: add change-tracking structure
9448 * debug.C: add CHANGES debug flag
9451 * lyxfind.C: add code for finding the next change piece
9454 * lyxrc.C: add user_name and user_email
9457 * lyxrow.C: add a metric for the top of the text line
9460 * text.C: implement accept/rejectChange()
9463 * text.C: paint changebars. Paint new/deleted text in the chosen
9464 colours. Strike through deleted text.
9468 * paragraph_pimpl.h:
9469 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9470 in the current change to the insert functions. Rework erase to
9471 mark text as deleted, adding an eraseIntern() and a range-based
9472 erase(). Implement per-paragraph change lookup and
9475 * paragraph_funcs.C: Fixup paste for change tracking.
9477 * tabular.C: mark added row/columns as new.
9479 * text.C: fix rowLast() to never return -1. Don't allow
9480 spellchecking of deleted text. Track transpose changes. Don't
9481 allow paragraph break or merge where appropriate.
9483 * text2.C: leave cursor at end of selection after a cut.
9485 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9487 * text.C (getLengthMarkerHeight):
9488 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9489 visible on screen too.
9491 2003-02-07 John Levon <levon@movementarian.org>
9493 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9495 2003-02-05 Angus Leeming <leeming@lyx.org>
9497 * lyxserver.C (read_ready): revert my patch of 11 September last year
9498 as it sends PC cpu through the roof. Presumably this means that
9499 the lyxserver will no longer run on an Alpha...
9501 2003-01-30 Angus Leeming <leeming@lyx.org>
9503 * factory.C (createInset): create an InsetCommandParam of type "index"
9504 and use it to 'do the right thing'.
9506 * text2.C (getStringToIndex): ensure that cursor position is always
9507 reset to the reset_cursor position.
9509 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9511 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9514 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9518 * lyxfunc.C: Output messages with identical spelling, punctuation,
9521 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9523 * MenuBackend.C (expandFormats): List only viewable export formats
9526 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9529 * lyxfunc.C (getStatus): Make sure that formats other than
9530 "fax" can also be disabled
9532 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9534 * text3.C (dispatch): put the lfuns that insert insets in 3
9535 groups, and call doInsertInset with appropriate arguments.
9536 (doInsertInset): new function, that creates an inset and inserts
9537 it according to some boolean parameters.
9539 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9541 * buffer.C (readFile): remember to pass on 'par' when calling
9542 readFile recursively.
9544 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9546 * MenuBackend.C (expandFormats): add "..." to import formats.
9548 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9550 * paragraph.C (asString): Remove XForms RTL hacks.
9552 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9553 * buffer.C: fix typo
9555 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9557 * Makefile.am (LIBS): delete var
9558 (lyx_LDADD): add @LIBS@ here instead.
9560 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9562 * Clarify the meaning of "wheel mouse jump"
9564 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9566 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9569 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9571 * importer.C (Loaders): do not preallocate 3 elements in the
9572 vector, since one ends up with 6 elements otherwise
9574 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9576 * DepTable.C (write): write the file name as last element of the
9577 .dep file (because it may contain spaces)
9578 (read): read info in the right order
9580 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9582 * paragraph_pimpl.C (simpleTeXBlanks):
9583 (simpleTeXSpecialChars):
9584 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9586 * tabular.C (latex): add some missing case statements. Reindent.
9588 * MenuBackend.C (expandToc): remove unused variable.
9590 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9599 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9602 2003-01-05 John Levon <levon@movementarian.org>
9605 * BufferView.C: add getEncoding()
9608 * kbsequence.C: do not store last keypress
9611 * lyxfunc.C: store last keypress here instead. Pass encoding
9614 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9616 * lyx_main.C (init): remove annoying error message when following
9617 symbolic links (bug #780)
9619 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9621 * text.C (insertChar):
9622 * lyxrc.C (getDescription): remove extra spaces
9624 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9626 * lyxrc.C (getDescription): remove extra spaces
9628 2002-12-20 John Levon <levon@movementarian.org>
9630 * text3.C: hack fix for page up/down across tall rows
9632 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9634 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9637 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9639 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9640 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9641 thesaurus is not compiled in
9643 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9645 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9647 2002-12-16 Angus Leeming <leeming@lyx.org>
9650 * lyx_main.C (init): remove override_x_deadkeys stuff.
9652 2002-12-12 John Levon <levon@movementarian.org>
9654 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9655 insert. Only remove shift modifier under strict
9658 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9660 * MenuBackend.C (expandToc): fix crash.
9662 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9664 * MenuBackend.C (expandToc): gettext on float names.
9666 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9668 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9669 implement bool empty() [bug 490]
9671 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9673 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9675 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9677 * several files: ws changes
9679 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9681 * text2.C (setCounter): clean up a bit, use boost.format.
9682 (updateCounters): initialize par upon declaration.
9684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9685 if the layout exists. We do not just store the layout any more.
9686 (SwitchLayoutsBetweenClasses): use boost.format
9688 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9690 * converter.C (convert): if from and to files are the same, use a
9691 temporary files as intermediary
9693 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9696 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9698 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9700 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9702 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9704 * tabular.C (asciiPrintCell): use string(size, char) instead of
9707 * sgml.C (openTag): fix order of arguments to string constructor
9710 * lyxfunc.C (dispatch): use boost.format
9712 * lots of files: change "c" -> 'c'
9714 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9716 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9718 2002-11-25 Angus Leeming <leeming@lyx.org>
9720 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9722 * lyx_main.C (init): compile fix.
9724 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9726 * lyx_cb.C (start): boost.formatify
9727 do not include <iostream>
9729 * lengthcommon.C: ws only
9731 * boost-inst.C,BoostFormat.h: add more explict instantations
9733 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9735 * lots of files: handle USE_BOOST_FORMAT
9737 2002-11-21 John Levon <levon@movementarian.org>
9739 * pspell.C: fix compile
9741 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9743 * lyxfunc.C (dispatch): use boost::format
9747 * lyxfont.C (stateText): use boost::format
9749 * lyx_main.C (LyX): use boost::format
9751 (queryUserLyXDir): ditto
9754 (typedef boost::function): use the recommened syntax.
9756 * importer.C (Import): use boost::format
9758 * debug.C (showLevel): use boost::format
9760 * converter.C (view): use boost::format
9765 * bufferview_funcs.C (currentState): use boost::format
9767 * bufferlist.C (emergencyWrite): use boost::format
9769 * buffer.C (readLyXformat2): use boost::format
9770 (parseSingleLyXformat2Token): ditto
9772 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9774 * LaTeX.C (run): use boost::format
9776 * Chktex.C (scanLogFile): use boost::format
9778 * BufferView_pimpl.C (savePosition): use boost::format
9779 (restorePosition): ditto
9780 (MenuInsertLyXFile): ditto
9782 * BoostFormat.h: help file for explicit instation.
9784 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9786 * tabular.C (latex): Support for block alignment in fixed width
9789 2002-11-17 John Levon <levon@movementarian.org>
9791 * BufferView_pimpl.C:
9793 * lyxfunc.C: split filedialog into open/save
9795 2002-11-08 Juergen Vigna <jug@sad.it>
9797 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9798 by my last patch (hopefully).
9800 2002-11-08 John Levon <levon@movementarian.org>
9809 * toc.C: ParConstIterator, and use it (from Lars)
9811 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9813 * lyxtextclass.[Ch]: revise and add doxygen comments
9815 2002-11-07 John Levon <levon@movementarian.org>
9817 * text.C: fix progress value for spellchecker
9819 * toc.C: fix navigate menu for insetwrap inside minipage
9821 * paragraph_funcs.C: added FIXME for suspect code
9823 2002-11-07 John Levon <levon@movementarian.org>
9825 * BufferView_pimpl.C: fix redrawing of insets
9828 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9830 * text2.C (updateCounters): fix bug 668
9832 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9834 * text3.C (dispatch): Do not make the buffer dirty when moving the
9837 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9839 * vc-backend.C: STRCONV
9842 * text2.C (setCounter): STRCONV
9844 * paragraph.C (asString): STRCONV
9846 * lyxlength.C (asString): STRCONV
9847 (asLatexString): ditto
9849 * lyxgluelength.C (asString): STRCONV
9850 (asLatexString): ditto
9852 * lyxfunc.C (dispatch): STRCONV
9855 * lyxfont.C (stateText): STRCONV
9857 * importer.C (Import): STRCONV
9859 * counters.C (labelItem): STRCONV
9860 (numberLabel): ditto
9861 (numberLabel): remove unused ostringstream o
9866 * bufferview_funcs.C (currentState): STRCONV
9868 * buffer.C (readFile): STRCONV
9869 (asciiParagraph): ditto
9870 (makeLaTeXFile): ditto
9872 * Spacing.C (writeEnvirBegin): STRCONV
9874 * LaTeXFeatures.C (getLanguages): STRCONV
9875 (getPackages): ditto
9877 (getBabelOptions): ditto
9878 (getTClassPreamble): ditto
9879 (getLyXSGMLEntities): ditto
9880 (getIncludedFiles): ditto
9884 (scanAuxFile): ditto
9887 * LString.h: add the STRCONV macros
9889 * BufferView_pimpl.C (savePosition): STRCONV
9890 (restorePosition): ditto
9891 (MenuInsertLyXFile): ditto
9893 * vc-backend.C (scanMaster): change from submatch[...] to
9896 * funcrequest.C: include config.h
9898 * factory.C: include config.h
9900 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9902 * box.C: include config.h
9904 * LaTeX.C (scanAuxFile): change from submatch[...] to
9908 2002-10-25 Angus Leeming <leeming@lyx.org>
9910 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9912 * ispell.[Ch] (setError): new method.
9913 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9914 Use setError() insetead of goto END.
9916 * lyx_cb.C (AutoSave): move out child process into new class
9919 2002-10-30 John Levon <levon@movementarian.org>
9921 * text3.C: make start appendix undoable
9923 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9925 * lyxlength.C (inPixels): Fix returned value.
9927 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9930 2002-10-24 Angus Leeming <leeming@lyx.org>
9932 * lyxgluelength.h: no need to forward declare BufferParams
9933 or BufferView, so don't.
9935 2002-10-21 John Levon <levon@movementarian.org>
9937 * BufferView.C: menuUndo ->undo, redo
9939 * BufferView.h: document, remove dead, make some methods private
9941 * paragraph_funcs.h:
9942 * paragraph_funcs.C:
9943 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9948 * sgml.C: move sgml open/close tag into sgml.C
9950 * bufferview_funcs.h: unused prototype
9953 * lyxfunc.C: remove unused
9956 * text.C: remove unused
9958 2002-10-21 John Levon <levon@movementarian.org>
9962 * BufferView_pimpl.h:
9963 * BufferView_pimpl.C: fix mouse wheel handling based on
9964 patch from Darren Freeman
9966 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9968 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9970 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9972 * lyxlength.C (inPixels): Fix hanfling of negative length.
9973 Fix LyXLength::MU case.
9975 2002-10-16 John Levon <levon@movementarian.org>
9977 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9979 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9981 * converter.C (view): add support for $$i (file name) and $$p
9982 (file path) for the viewer command. If $$i is not specified, then
9983 it is appended to the command (for compatibility with old syntax)
9985 2002-10-14 Juergen Vigna <jug@sad.it>
9987 * undo_funcs.C (textHandleUndo): alter the order in which the
9988 new undopar is added to the LyXText, as we have to set first
9989 the right prev/next and then add it as otherwise the rebuild of
9990 LyXText is not correct. Also reset the cursor to the right paragraph,
9991 with this IMO we could remove the hack in "redoParagraphs()".
9993 2002-10-09 Angus Leeming <leeming@lyx.org>
9995 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9996 to turn off an optimisation if a new inset is to be inserted.
9998 2002-10-11 André Pönitz <poenitz@gmx.net>
10000 * lyxtext.h: make some functions public to allow access
10001 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10003 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10005 * text3.C (dispatch): when changing layout, avoid an infinite loop
10008 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10010 * lyxrc.C (read): treat a viewer or converter command of "none" as
10013 * MenuBackend.C (expandFormats): for an update, also allow the
10014 formats that are not viewable
10016 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10017 script if it is newer than the lyxrc.defaults in user directory
10019 2002-10-07 André Pönitz <poenitz@gmx.net>
10021 * text.C: Vitaly Lipatov's small i18n fix
10023 2002-09-25 Angus Leeming <leeming@lyx.org>
10025 * ispell.h: doxygen fix.
10027 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10029 * buffer.h (readFile): Add a new argument to the method, to allow
10030 reading of old-format templates.
10032 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10034 * toc.C (getTocList): Get TOC from InsetWrap.
10036 2002-09-16 John Levon <levon@movementarian.org>
10038 * lyxfunc.C: check tabular for cut/copy too
10040 2002-09-12 John Levon <levon@movementarian.org>
10042 * LyXAction.C: tidy
10045 * factory.C: add header
10047 * paragraph_funcs.h:
10048 * paragraph_funcs.C: cleanup
10050 2002-09-11 John Levon <levon@movementarian.org>
10052 * PrinterParams.h: odd/even default to true
10054 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10056 * PrinterParams.h: update printer parameters for new xforms dialog
10058 2002-09-11 Angus Leeming <leeming@lyx.org>
10060 * lyxserver.C (read_ready): re-write to make it more transparent
10061 and to make it work in coherent fashion under Tru64 Unix.
10063 2002-09-11 André Pönitz <poenitz@gmx.net>
10067 * text3.C: implement LFUN_WORDSEL
10069 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10071 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10072 make floatlist_ a boost::shared_ptr<FloatList>
10074 * lyxtextclass.C: include FloatList.h
10075 (LyXTextClass): initialize floatlist_
10076 (TextClassTags): add TC_NOFLOAT
10077 (Read): match "nofloat" to TC_NOFLOAT and use it.
10078 (readFloat): modify call to floatlist_
10082 * FloatList.[Ch] (FloatList): remove commented out float
10084 (erase): new function
10086 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10088 * MenuBackend.C (expandToc): fix crash when there is no document
10091 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10093 * many files: Add insetwrap.
10095 2002-09-09 John Levon <levon@movementarian.org>
10097 * text2.C: remove confusing and awkward depth wraparound
10099 2002-09-09 John Levon <levon@movementarian.org>
10101 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10104 * buffer.C: remove getIncludeonlyList()
10107 * lyxfunc.C: remove headers
10109 2002-09-09 Juergen Vigna <jug@sad.it>
10111 * text.C (getColumnNearX): fix form Michael this is most
10112 probably a cut&paste bug.
10114 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10116 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10118 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10119 references, ws changes.
10121 * text2.C (init): update counters after init
10122 (insertParagraph): no need to set counter on idividual paragraphs.
10123 (setCounter): access the counters object in the textclass object
10124 on in the buffer object.
10125 (updateCounters): ditto
10127 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10128 shared_ptr<Counters> to avoid loading counters.h in all
10130 (LyXTextClass): initialize ctrs_
10131 (TextClassTags): add TC_COUNTER, and ...
10132 (Read): use it here.
10133 (CounterTags): new tags
10134 (readCounter): new function
10135 (counters): new funtion
10136 (defaultLayoutName): return a const reference
10138 * counters.C (Counters): remove contructor
10139 (newCounter): remove a couple of unneeded statements.
10140 (newCounter): simplify a bit.
10141 (numberLabel): some small formatting changes.
10143 * buffer.[Ch]: remove all traces of counters, move the Counters
10144 object to the LyXTextClass.
10146 2002-09-06 Alain Castera <castera@in2p3.fr>
10148 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10149 package to set the horizontal alignment on fixed width columns.
10152 * lyx_sty.h: added tabularnewline macro def.
10154 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10156 2002-09-06 John Levon <levon@movementarian.org>
10158 * LyXAction.C: tooltips for sub/superscript
10160 * MenuBackend.C: a bit more verbose
10162 * lyxfunc.C: tiny clean
10164 * undo_funcs.C: document undo_frozen
10166 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10168 * counters.C (Counters): add missing algorithm counter.
10170 * text2.C (setCounter): lookup the counter with layouts latexname
10171 instead of by section number.
10172 (setCounter): use a hackish way to lookup the correct enum
10174 a float name->type change
10175 reset enum couners with counter name directly instead of depth value.
10177 * counters.C (Counters): remove the push_backs, change to use the
10178 float type not the float name.
10179 (labelItem): remove unused string, float name->type change
10181 * counters.h: don't include vector, loose the enums and sects vectors
10183 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10185 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10186 (Read): add float->TC_FLOAT to textclassTags
10187 (Read): and handle it in the switch
10188 (readFloat): new function
10190 * FloatList.C (FloatList): comment out the hardcoded float
10193 * lyxlayout.h: ws change.
10195 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10197 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10199 2002-09-03 Angus Leeming <leeming@lyx.org>
10201 * BufferView_pimpl.h: qualified name is not allowed in member
10202 declaration: WorkArea & Pimpl::workarea() const;
10204 * factory.C: added using std::endl directive.
10206 * text3.C: added using std::find and std::vector directives.
10208 2002-08-29 André Pönitz <poenitz@gmx.net>
10211 * text2.C: remove unused member number_of_rows
10214 * BufferView2.C: remove file, move contents to...
10215 * BufferView.C: ... here
10217 * BufferView_pimpl.C:
10218 * factory.C: move more inset creation to factory
10220 * vspace.C: avoid direct usage of LyXText, ws changes
10223 don't provide direct access to WorkArea, use two simple
10224 acessors haveSelction() and workHeight() instead
10227 2002-08-29 John Levon <levon@movementarian.org>
10229 * BufferView_pimpl.C (dispatch): do not continue when
10232 2002-08-28 André Pönitz <poenitz@gmx.net>
10234 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10237 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10239 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10241 * buffer.C: increment LYX_FORMAT to 221
10243 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10244 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10246 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10248 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10250 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10252 * factory.C (createInset): use LyXTextClass::floats
10254 * MenuBackend.C (expandFloatListInsert):
10255 (expandFloatInsert):
10258 * text2.C (setCounter):
10260 * LaTeXFeatures.C (useFloat):
10261 (getFloatDefinitions):
10263 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10265 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10266 floatlist_, with accessor floats().
10268 * FloatList.h: remove global FloatList
10270 2002-08-26 André Pönitz <poenitz@gmx.net>
10272 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10276 * BufferView_pimpl.C:
10277 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10279 2002-08-25 John Levon <levon@movementarian.org>
10281 * LyXAction.C: fix margin note description
10283 2002-08-24 John Levon <levon@movementarian.org>
10287 * bufferview_funcs.C:
10289 * undo_funcs.C: cleanups
10291 * lyxfunc.C: disable CUT/COPY when no selection
10293 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10295 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10296 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10298 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10299 Add backward compatibility to "mono", "gray" and "no".
10301 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10303 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10304 (and file_format >= 200).
10306 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10308 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10310 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10312 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10314 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10316 * BufferView_pimpl.C:
10323 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10324 inset and code to make it work with the paragraph code. The inset
10325 can be anywhere in the paragraph, but will only do the expected
10326 thing in LaTeX if the layout file contains the parameter line
10328 (or more generally, a nonzero value) for that layout.
10330 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10332 * paragraph.h: remove the declaration of undefined counters class
10335 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10337 * text2.C (setCounter): fixed enumeration mis-count as reported by
10338 Dr. Richard Hawkins.
10340 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * paragraph_funcs.h: remove some unneeded includes
10344 * text.C (backspace): pasteParagraph now in global scipe
10346 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10347 (pasteSelection): ditto
10349 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10350 * paragraph_funcs.C (pasteParagraph): ... here
10352 2002-08-20 André Pönitz <poenitz@gmx.net>
10354 * commandtags.h: new LFUNs for swapping/copying table row/colums
10357 * lyxfunc.C: support for new lfuns
10359 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10362 * buffer.[Ch]: remove NO_COMPABILITY stuff
10364 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10366 * boost.C (throw_exception): new file, with helper function for
10367 boost compiled without exceptions.
10372 * ParameterStruct.h:
10373 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10375 * bufferlist.C (emergencyWriteAll): use boost bind
10377 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10379 * text.C: include paragraph_funcs.h
10380 (breakParagraph): breakParagraph is now in global scope
10382 * paragraph_funcs.[Ch]: new files
10384 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10387 * buffer.C: include paragraph_funcs.h
10388 (insertStringAsLines): breakParagraph is now in global scope
10390 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10393 * CutAndPaste.C: include paragraph_funcs.h
10394 (cutSelection): breakParagraphConservative is now in global scope
10395 (pasteSelection): ditto
10397 * buffer.h: declare oprator== and operator!= for
10398 Buffer::inset_iterator
10400 * bufferlist.C (emergencyWrite): don't use fmt(...)
10402 * text3.C: add using std::endl
10404 * BufferView.C (moveCursorUpdate): remove default arg
10406 2002-08-20 André Pönitz <poenitz@gmx.net>
10408 * buffer.[Ch]: move inline functions to .C
10411 * BufferView_pimpl.C:
10413 * buffer.[Ch]: use improved inset_iterator
10416 * paragraph.[Ch]: write one paragraph at a time
10418 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10420 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10421 style if style is not specified.
10423 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10425 * text2.C (setCounter): when searching for right label for a
10426 caption, make sure to recurse to parent insets (so that a caption
10427 in a minipage in a figure float works) (bug #568)
10429 2002-08-20 André Pönitz <poenitz@gmx.net>
10431 * text3.C: new file for LyXText::dispatch() and helpers
10433 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10435 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10437 2002-08-19 André Pönitz <poenitz@gmx.net>
10440 * text.C: new LyXText::dispatch()
10442 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10444 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10446 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10448 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10451 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10453 * Makefile.am: use $(variables) instead of @substitutions@
10455 2002-08-15 André Pönitz <poenitz@gmx.net>
10458 * BufferView_pimpl.C: streamlining mathed <-> outer world
10462 * LyXAction.C: remove unused LFUN_MATH
10464 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10466 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10468 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10470 * paragraph.C (Paragraph): reformat a bit
10471 (cutIntoMinibuffer): use builtin InsetList function instad of
10475 * buffer.C: include boost/bind.hpp, add using std::for_each
10476 (writeFileAscii): use ParagraphList iterators
10477 (validate): use for_each for validate traversal of paragraphs
10478 (getBibkeyList): use ParagraphList iterators
10479 (resizeInsets): use for_each to resizeInsetsLyXText for all
10481 (getParFromID): use ParagraphList iterators
10483 * BufferView2.C (lockInset): use paragraph list and iterators
10485 2002-08-14 John Levon <levon@movementarian.org>
10487 * lyxserver.C: remove spurious xforms include
10489 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10491 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10493 2002-08-13 André Pönitz <poenitz@gmx.net>
10496 * lyxfunc.C: further cleaning
10498 2002-08-13 André Pönitz <poenitz@gmx.net>
10500 * funcrequest.h: new constructor
10502 * funcrequest.C: move stuff here from .h
10505 * BufferView_pimpl.C:
10508 * lyxfunc.C: subsequent changes
10510 * lyxfunc.h: new view() member function
10512 * lyxfunc.C: subsequent changes
10514 2002-08-13 Angus Leeming <leeming@lyx.org>
10517 * BufferView_pimpl.C:
10525 changes due to the changed LyXView interface that now returns references
10526 to member variables not pointers.
10528 2002-08-13 Angus Leeming <leeming@lyx.org>
10530 * WordLangTuple (word, lang_code): return references to strings,
10535 * lyxtext.h: forward-declare WordLangTuple.
10540 * text.C: #include "WordLangTuple.h".
10543 * text.C: (selectNextWordToSpellcheck): constify return type.
10545 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10551 * paragraph_pimpl.h:
10554 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10555 suggested by Angus.
10556 Made updateCounter always count from start of buffer, and removed
10557 second argument (par).
10558 Reverted floats number display to '#'. Perhaps I'll try again when the
10559 code base is sanitized a bit.
10561 2002-08-12 Angus Leeming <leeming@lyx.org>
10563 * buffer.[Ch] (getLabelList): constify.
10565 2002-08-07 André Pönitz <poenitz@gmx.net>
10567 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10569 * funcrequest.h: extension to keep mouse (x,y) position
10571 2002-08-12 Juergen Vigna <jug@sad.it>
10573 * BufferView2.C (insertErrors): forbid undo when inserting error
10576 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10578 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10580 * ParagraphList.[Ch]: new files
10582 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10584 * BufferView2.C (lockInset): ParagraphList changes
10587 * bufferlist.C: ditto
10591 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10593 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10594 unused class variable counter_,
10596 * paragraph.[Ch] (getFirstCounter): delete unused function
10598 * counters.C: include LAssert.h
10599 (reset): add a new function with no arg, change other version to
10600 not have def. arg and to not allow empty arg.
10602 * text2.C (setCounter): remove empty arg from call to Counters::reset
10604 2002-08-11 John Levon <levon@movementarian.org>
10606 * Makefile.am: add WordLangTuple.h
10608 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10610 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10611 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10613 * insets/insettext.C: InsetList changes
10615 * graphics/GraphicsSupport.C (operator()): InsetList changes
10617 * toc.C (getTocList): InsetList changes
10619 * paragraph_pimpl.[Ch]: InsetList changes
10621 * paragraph.[Ch]: InsetList changes
10623 * buffer.C (inset_iterator): InsetList changes
10624 (setParagraph): ditto
10625 * buffer.h (inset_iterator): ditto
10626 * iterators.C (operator++): ditto
10627 * iterators.h: ditto
10629 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10631 * InsetList.[Ch]: new files, most InsetList handling moved out of
10634 * BufferView2.C (removeAutoInsets): InsetList changes
10636 (ChangeInsets): ditto
10638 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10640 * paragraph_pimpl.h (empty): new function
10642 * paragraph.[Ch] (empty): new function
10644 * other files: use the new Paragraph::empty function
10646 2002-08-09 John Levon <levon@movementarian.org>
10648 * lyxtext.h: remove unused refresh_height
10650 2002-08-09 John Levon <levon@movementarian.org>
10657 * paragraph.C: move sgml char escaping out of paragraph
10660 * paragraph.C: remove id setter
10664 * paragraph_pimpl.C: remove dead tex_code_break_column
10666 * bufferview_funcs.C: small cleanup
10668 * lyxfunc.C: remove dead proto
10670 * lyxtext.h: make some stuff private. Remove some dead stuff.
10672 * lyxgluelength.C: make as[LyX]String() readable
10674 2002-08-08 John Levon <levon@movementarian.org>
10679 * ToolbarDefaults.C:
10682 * toc.C: lyxaction cleanup
10684 2002-08-08 John Levon <levon@movementarian.org>
10686 * BufferView2.C: small cleanup
10689 * lyxfind.C: move unnecessary header into the .C
10691 2002-08-08 John Levon <levon@movementarian.org>
10693 * funcrequest.h: just tedious nonsense
10696 * lyx_main.C: cleanups
10699 * vspace.C: remove dead header lyx_main.h
10701 2002-08-07 Angus Leeming <leeming@lyx.org>
10704 * paragraph_pimpl.h:
10705 Forward declare class Counters in paragraph.h by moving the ctrs member
10706 variable into Paragraph::Pimpl.
10707 (counters): new method, returning a reference to pimpl_->ctrs.
10709 * text2.C: ensuing changes.
10711 2002-08-07 John Levon <levon@movementarian.org>
10713 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10715 * BufferView_pimpl.C: announce X selection on double/triple
10718 * lyx_main.C: use correct bool in batch dispatch
10720 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10722 2002-08-07 André Pönitz <poenitz@gmx.net>
10724 * funcrequest.h: new class to wrap a kb_action and its argument
10727 * BufferView_pimpl[Ch]:
10731 * lyxrc.C: subsequent changes
10734 2002-08-07 John Levon <levon@movementarian.org>
10736 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10737 document options change.
10739 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10744 * makefile.am: move counters functionality over from
10745 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10747 2002-08-06 John Levon <levon@movementarian.org>
10749 * WordLangTuple.h: new file for word + language code tuple
10760 * BufferView2.C: use WordLangTuple
10763 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10765 2002-08-06 John Levon <levon@movementarian.org>
10767 * lyx_main.C: fix cmdline batch handling
10769 2002-08-06 André Pönitz <poenitz@gmx.net>
10771 * lyxrc.C: set default for show_banner to true
10773 2002-08-06 John Levon <levon@movementarian.org>
10775 * pspell.C: fix a crash, and allow new aspell to work
10777 2002-08-06 John Levon <levon@movementarian.org>
10780 * kbmap.C: small cleanup
10783 * vspace.C: add const
10785 2002-08-05 John Levon <levon@movementarian.org>
10787 * LyXAction.C: back to tabular-insert
10789 2002-08-04 John Levon <levon@movementarian.org>
10792 * BufferView.C: cosmetic change
10794 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10804 * BufferView2.C: purge all "Lyx" not "LyX" strings
10807 * lyxcursor.C: attempt to add some documentation
10812 * ToolbarDefaults.C:
10813 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10814 merge with LFUN_TABULAR_INSERT
10821 * pspell.C: split up i/pspell implementations into separate
10822 files, many cleanups
10824 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10826 * text2.C: some cleanup
10828 * lyxfunc.C: don't check for isp_command == "none" any more, it
10829 didn't make any sense
10831 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10836 * makefile.am: move counters functionality over
10837 from text2.C/paragraph.[Ch] to counters.[Ch], and
10839 2002-08-02 John Levon <levon@movementarian.org>
10841 * buffer.C: s/lyxconvert/lyx2lyx/
10843 2002-08-02 Angus Leeming <leeming@lyx.org>
10845 * lyxlex.C: revert John's change as it breaks reading of the user
10848 2002-08-02 Angus Leeming <leeming@lyx.org>
10850 * importer.C (Import):
10851 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10852 changes due to LyXView::view() now returning a boost::shared_ptr.
10854 2002-08-02 John Levon <levon@movementarian.org>
10856 * lyxlex.C: small cleanup
10858 2002-08-02 John Levon <levon@movementarian.org>
10860 * text2.C (status): small cleanup, no logic change
10862 2002-08-01 John Levon <levon@movementarian.org>
10865 * buffer.C (writeFile): don't output alerts, caller
10869 * lyx_cb.C: from above
10871 * lyxfunc.C: allow to open non-existent files
10873 2002-07-31 John Levon <levon@movementarian.org>
10875 * lyxserver.C: don't let incidental errors get
10878 2002-07-30 John Levon <levon@movementarian.org>
10880 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10882 2002-07-30 John Levon <levon@movementarian.org>
10885 * lyxserver.C: remove I/O callback too
10887 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10889 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10892 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10894 * many files: strip,frontStrip -> trim,ltrim,rtrim
10896 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10898 * PrinterParams.h: remove extern containsOnly, and include
10899 support/lstrings.h instead.
10901 * LaTeX.C (scanAuxFile): modify because of strip changes
10903 * buffer.C (makeLaTeXFile): ditto
10904 * bufferparams.C (writeFile): ditt
10905 * lyxfont.C (stateText): ditto
10906 * lyxserver.C (read_ready): ditto
10907 * vc-backend.C (scanMaster): ditto
10909 * BufferView_pimpl.h: ws changes
10911 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10913 2002-07-26 André Pönitz <poenitz@gmx.net>
10915 * kb_sequence.C: remove unnedred usings
10917 2002-07-26 Juergen Vigna <jug@sad.it>
10919 * lyxfind.C (LyXReplace): we have to check better if the returned
10920 text is not of theLockingInset()->getLockingInset().
10922 2002-07-25 Juergen Vigna <jug@sad.it>
10924 * lyxfind.C (LyXReplace): don't replace if we don't get the
10927 * undo_funcs.C (createUndo): remove debugging code.
10929 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10931 * buffer.C (parseSingleLyXformat2Token): Use default placement
10932 when reading old floats.
10934 * FloatList.C (FloatList): Change the default placement of figure
10935 and tables to "tbp".
10937 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10939 * MenuBackend.C: using std::max
10941 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10943 * MenuBackend.C (expandToc):
10944 (expandToc2): code moved from xforms menu frontend. It is now
10945 generic and TOCs are transparent to menu frontends.
10947 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10949 * toc.C (getTocList): protect against buf=0
10951 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10952 Menu as first parameter. Now, this calls itself recursively to
10953 expand a whole tree (this will be useful for TOC handling)
10954 (expandFloatInsert): remove 'wide' version of floats
10956 * MenuBackend.h (submenuname): returns the name of the submenu.
10957 (submenu): returns the submenu itself, provided it has been
10958 created by MenuBackend::expand
10960 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10963 insets which have noFontChange == true. (bug #172)
10965 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10967 * BufferView_pimpl.C: add connection objects and use them...
10970 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10972 * MenuBackend.C (expandLastfiles):
10975 (expandFloatListInsert):
10976 (expandFloatInsert):
10977 (expand): split expand in parts
10979 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10981 * lyx_gui.C: use lyx_gui::exit()
10983 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10985 * LyXAction.C: show the failing pseudo action
10987 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10989 * buffer.C (readFile): Run the lyxconvert script in order to read
10992 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10996 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10998 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11002 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11004 2002-07-22 Herbert Voss <voss@lyx.org>
11007 * lyxlength.[Ch]: add support for the vertical lengths
11009 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11011 * toc.[Ch]: std:: fixes
11013 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11015 * lyxrc.C: do not include lyx_main.h
11017 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11023 * BufferView2.C: include "lyxlex.h"
11026 * bufferparams.h: do not #include "lyxlex.h"
11028 * lyxtextclasslist.C (Add): remove method
11029 (classlist): renamed to classlist_
11031 * paragraph_pimpl.C:
11035 * bufferview_funcs.C:
11040 * toc.C (getTocList): use BufferParams::getLyXTextClass
11042 * toc.C (getTocList): use InsetFloat::addToToc
11044 * toc.[Ch]: new files, containing helper functions to handle table
11047 * lyxfunc.C (dispatch): no need to remove spaces around command
11049 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11050 first command of the sequence; it is not very clever, but I do not
11051 have a better idea, actually
11053 * LyXAction.C (LookupFunc): make sure to remove space at the
11054 beginning and end of the command
11056 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11058 * MenuBackend.C (getMenubar): new method: return the menubar of
11060 (read): treat differently reading of menu and menubar (in
11061 particular, the menubar has no name now)
11062 (Menu::menubar): remove
11064 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11067 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11069 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11070 a bibitem inset in a RTL paragraph.
11072 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11074 * paragraph_pimpl.C: constify
11076 * BufferView_pimpl.C:
11078 * lyxfunc.C: fix dispatch in a nicer way
11080 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11082 * lyxfunc.C (dispatch):
11083 * BufferView_pimpl.C:
11084 * BufferView_pimpl.h:
11086 * BufferView.h: rename Dispatch() to dispatch()
11088 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11090 * lyxlayout.C (Read): honor DependsOn tag
11092 * lyxlayout.[Ch] (depends_on): new method
11094 * version.C.in: update lyx_docversion
11096 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11098 * paragraph.C (validate): remove from here...
11099 * paragraph_pimpl.C (validate): ... and move here
11100 (isTextAt): make it const
11102 * buffer.C (getLists): ws cleanup
11104 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11106 * language.C (read): Use iso8859-1 encoding in latex_lang
11107 (this prevents LyX from crashing when using iso10646-1 encoding).
11109 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11111 * text2.C (toggleInset): if cursor is inside an inset, close the
11112 inset and leave cursor _after_ it
11114 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11116 * lyxfunc.C: move minibuffer completion handling out of here
11118 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11120 * BufferView_pimpl.C:
11121 * LaTeX.C: fix dispatch calls
11123 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11125 * text.C (drawChars): Fix Arabic text rendering.
11127 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11131 * lyxfunc.C: remove message-push/pop
11135 * lyxfunc.C: rationalise some code by removing verboseDispatch
11136 in favour of a bool argument to dispatch()
11138 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11140 * lyx_main.C (init): make sure to read symlinks as absolute paths
11142 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11145 * lyxfunc.C: no need for commandshortcut to be a member
11147 2002-07-15 André Pönitz <poenitz@gmx.net>
11149 * converter.C: add support for $$s (scripts from lib/scripts dir)
11150 * lyx_main.C: white space
11152 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11156 * lyxrc.C: remove second exit confirmation
11158 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11163 * BufferView_pimpl.h:
11164 * BufferView_pimpl.C:
11165 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11167 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11169 * MenuBackend.C (expand): add numeric shortcuts to document menu
11171 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11173 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11175 * lyxfont.C (setLyXFamily):
11182 * buffer.C (asciiParagraph): use ascii_lowercase
11184 2002-07-15 Mike Fabian <mfabian@suse.de>
11186 * lyxlex_pimpl.C (search_kw):
11187 * lyxlex.C (getLongString):
11188 * converter.h (operator<):
11189 * converter.C (operator<):
11190 * buffer.C (parseSingleLyXformat2Token):
11192 * ToolbarDefaults.C (read):
11193 * MenuBackend.C (checkShortcuts):
11195 * LColor.C (getFromGUIName):
11196 (getFromLyXName): use the compare_ascii_no_case instead of
11197 compare_no_case, because in turkish, 'i' is not the lowercase
11198 version of 'I', and thus turkish locale breaks parsing of tags.
11200 2002-07-16 Angus Leeming <leeming@lyx.org>
11202 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11203 now takes a Buffer const & argument.
11205 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11207 * BufferView.C (resize): check there's a buffer to resize
11209 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11211 * lyxfunc.C: remove dead code
11214 * lyxserver.C: use lyx_guii::set_read_callback
11216 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11218 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11219 an inset in a RTL paragraph.
11221 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11223 * lyxfunc.C: repaint after a font size update
11225 2002-07-15 André Pönitz <poenitz@gmx.net>
11227 * lyxlength.C: inBP should be able to return negative values
11229 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11231 * lyxfunc.C: use lyx_gui::update_fonts()
11233 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11235 * lyxfunc.C: use lyx_gui::update_color()
11237 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11243 * lyxrc.C: remove file->new asks for name option, and let
11244 buffer-new take an argument
11246 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11248 * BufferView_pimpl.C: remove unneeded extra repaint()
11250 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11252 * LyXAction.C: allow command-sequence with NoBuffer
11254 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11256 2002-07-10 Angus Leeming <leeming@lyx.org>
11258 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11260 2002-07-09 Angus Leeming <leeming@lyx.org>
11262 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11264 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11266 * lengthcommon.h: whitespace
11268 * lyxfunc.C: update scrollbar after goto paragraph
11270 * lyxtext.h: factor out page break drawing, and fix it so
11271 page break/added space paints as selected nicely
11273 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11275 * BufferView_pimpl.C: add FIXMEs, clean up a little
11277 2002-07-09 André Pönitz <poenitz@gmx.net>
11279 * lyxfont.[Ch]: support for wasy symbols
11281 2002-07-08 André Pönitz <poenitz@gmx.net>
11283 * BufferView_pimpl.C: apply John's patch for #93.
11285 2002-07-05 Angus Leeming <leeming@lyx.org>
11287 * BufferView_pimpl.C (buffer): generate previews if desired.
11289 * LColor.h: add "preview" to the color enum.
11291 * LColor.C (LColor): add a corresponding entry to the items array.
11293 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11296 2002-07-05 Angus Leeming <leeming@lyx.org>
11298 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11299 The body of the code is now in the method that is passed an ostream &
11300 rather than a file name.
11301 Pass an additional only_preamble parameter, useful for the forthcoming
11304 2002-07-03 André Pönitz <poenitz@gmx.net>
11306 * lyxfunc.C: simplify getStatus() a bit for math stuff
11308 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11310 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11312 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11314 * text.C (changeRegionCase): do not change case of all the
11315 document when region ends at paragraph end (bug #461)
11317 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11319 * paragraph.C (startTeXParParams):
11320 (endTeXParParams): add \protect when necessary
11322 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11324 * BufferView_pimpl.C (workAreaExpose): remove warning
11326 2002-06-27 Angus Leeming <leeming@lyx.org>
11328 * Makefile.am: add lyxlayout_ptr_fwd.h.
11330 2002-06-26 André Pönitz <poenitz@gmx.net>
11332 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11334 2002-06-25 Angus Leeming <leeming@lyx.org>
11336 * lyxfunc.C (dispatch): Comment out the call to
11337 grfx::GCache::changeDisplay. The method no longer exists now that the
11338 pixmap generation part of the graphics loader has been moved into
11341 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11343 * text2.C: layout as layout
11345 * text.C: layout as layout
11347 * tabular.C (OldFormatRead): layout as layout
11349 * paragraph_pimpl.C (TeXDeeper): layout as layout
11350 (realizeFont): layout as layout
11352 * paragraph.C (writeFile): layout as layout
11353 (validate): layout as layout
11354 (getFont): layout as layout
11355 (getLabelFont): layout as layout
11356 (getLayoutFont): layout as layout
11357 (breakParagraph): layout as layout
11358 (stripLeadingSpaces): layout as layout
11359 (getEndLabel): layout as layout
11360 (getMaxDepthAfter): layout as layout
11361 (applyLayout): layout as layout
11362 (TeXOnePar): layout as layout
11363 (simpleTeXOnePar): layout as layout
11364 (TeXEnvironment): layout as layout
11365 (layout): layout as layout
11366 (layout): layout as layout
11368 * lyxtextclass.C (compare_name): new functor to work with
11369 shared_ptr, layout as layout
11370 (Read): layout as layout
11371 (hasLayout): layout as layout
11372 (operator): layout as layout
11373 (delete_layout): layout as layout
11374 (defaultLayout): layout as layout
11376 * lyxlayout_ptr_fwd.h: new file
11378 * lyxlayout.C (Read): layout as layout
11380 * lyx_cb.C (MenuInsertLabel): layout as layout
11382 * bufferlist.C (newFile): layout as layout
11384 * buffer.C (readLyXformat2): layout as layout
11385 (parseSingleLyXformat2Token): layout as layout
11386 (insertStringAsLines): layout as layout
11387 (asciiParagraph): layout as layout
11388 (latexParagraphs): layout as layout
11389 (makeLinuxDocFile): layout as layout
11390 (simpleLinuxDocOnePar): layout as layout
11391 (makeDocBookFile): layout as layout
11392 (simpleDocBookOnePar): layout as layout
11393 (getLists): layout as layout
11395 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11397 * CutAndPaste.C (cutSelection): layout as layout
11398 (pasteSelection): layout as layout
11399 (SwitchLayoutsBetweenClasses): layout as layout
11401 * BufferView_pimpl.C (Dispatch): layout as layout
11402 (smartQuote): layout as layout
11404 * BufferView2.C (unlockInset): layout as layout
11406 2002-06-24 André Pönitz <poenitz@gmx.net>
11408 * lyxfunc.C: fix #487
11410 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11414 * lyxfunc.C: remove display_shortcuts, show_banner
11416 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11418 * Buffer_pimpl.C: oops, update on resize
11420 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11427 * BufferView.C: use repaint()
11429 * BufferView_pimpl.h:
11430 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11431 as it's a clearer description. Remove superfluous
11434 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11436 * text.C: fix bug 488. Not ideal, but getting
11437 getWord() to work properly for the insets that
11438 matter is more difficult ...
11440 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11442 * BufferView_pimpl.C:
11445 * lyxfunc.C: remove the six million index lyxfuncs to just
11446 one, and DTRT (bug 458)
11448 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11452 * BufferView_pimpl.h:
11453 * BufferView_pimpl.C: clean up resize() stuff,
11454 and unnecessary updateScreen()s
11456 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11460 * BufferView_pimpl.h:
11461 * BufferView_pimpl.C:
11464 * minibuffer.C: remove focus management of workarea,
11465 not needed. Use screen's greyOut()
11467 2002-06-17 Herbert Voss <voss@lyx.org>
11469 * converter.C: (convert) do not post a message, when converting
11470 fails, let the calling function decide what to do in this case
11472 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11474 * lyxfunc.C: tidy up a little
11476 2002-06-16 <alstrup@diku.dk>
11478 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11479 Got rid of FORMS_H_LOCATION include. Now we are
11482 2002-06-15 LyX Development team <lyx@rilke>
11484 * buffer.[Ch] (sgmlOpenTag):
11485 (sgmlCloseTag): Added support for avoiding pernicious mixed
11486 content. Return number of lines written.
11488 (makeLinuxDocFile):
11489 (makeDocBookFile): Fixed calls to sgml*Tag.
11490 Simple white space clean.
11492 (simpleDocBookOnePar): Simple white space clean.
11494 * tabular.[Ch] (docBook): Renamed to docbook and got another
11495 argument to related with the pernicious mixed content.
11497 (docbookRow): Fixed calls for docbook inset method.
11499 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11501 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11502 so it's X11 independent.
11506 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11508 2002-06-15 Lyx Development team <lyx@electronia>
11510 * intl.h: Renamed getTrans to getTransManager.
11512 2002-06-14 Angus Leeming <leeming@lyx.org>
11514 * Makefile.am: nuke forgotten stl_string_fwd.h.
11516 2002-06-12 Angus Leeming <leeming@lyx.org>
11518 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11520 2002-06-13 Angus Leeming <leeming@lyx.org>
11523 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11525 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11527 * kbmap.C (getiso): add support for cyrillic and greek
11529 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11533 * BufferView_pimpl.h:
11534 * BufferView_pimpl.C: move bogus scrolling logic
11537 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11540 * BufferView_pimpl.C: view->resize() change
11542 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11544 * BufferView_pimpl.C: topCursorVisible
11547 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11551 * lyx_gui.C: move to frontends/
11555 * lyx_main.C: changes from above
11557 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11564 * lyx_main.C: minor tidy
11566 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11568 * BufferView_pimpl.h:
11569 * BufferView_pimpl.C:
11571 * BufferView.C: make painter() const,
11574 * BufferView2.C: use screen() accessor
11577 * lyx_main.C: some minor cleanup
11579 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11581 * BufferView_pimpl.h:
11582 * BufferView_pimpl.C: remove enter/leaveView,
11585 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11590 * BufferView_pimpl.h:
11591 * BufferView_pimpl.C: only construct screen once,
11594 * lyxrc.C: remove pointless comment
11596 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11599 * BufferView.C: remove active() and belowMouse()
11601 * BufferView_pimpl.h:
11602 * BufferView_pimpl.C: use workarea() not workarea_,
11603 and make it use a scoped_ptr instead
11605 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11607 * lyx_gui.C: add debug message on BadWindow
11609 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11611 * sp_spell.C: fdopen is not part of the C++ standard.
11613 * paragraph.C (InsetIterator): use >= instead of ==
11615 2002-06-07 Angus Leeming <leeming@lyx.org>
11617 Fixes needed to compile with Compaq cxx 6.5.
11618 * BufferView_pimpl.C:
11625 * lyxtextclasslist.C:
11630 all c-library variables have been moved into namespace std. Wrap
11631 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11636 Add a using std::abs declaration.
11638 * kbmap.h (modifier_pair):
11639 * paragraph.h (InsetTable, InsetList):
11640 * lyxfont.h (FontBits):
11641 type definition made public.
11643 * bufferlist.C (emergencyWriteAll): the compiler complains that
11644 there is more than one possible lyx::class_fun template to choose from.
11645 I re-named the void specialisation as lyx::void_class_fun.
11647 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11649 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11650 the compiler is is unable to find tostr in write_attribute.
11652 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11654 * buffer.C (sgmlError): hide #warning
11656 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11658 * xtl/*: get rid of xtl, which is not in use anyway
11660 * LyXAction.C (init):
11661 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11662 were unimplemented xtl experimentation
11664 2002-06-04 André Pönitz <poenitz@gmx.net>
11666 * lyxfunc.C: disable array operation on simple formulae
11668 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11670 * converter.C: constify a bit
11672 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11674 * lyx_gui.C: check xforms version correctly
11676 2002-04-30 Herbert Voss <voss@lyx.org>
11678 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11681 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11683 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11684 attempt to register it with a VCS)
11686 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11688 * lyx_main.C (init): honor variables LYX_DIR_13x and
11691 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11695 * lyx_main.C: fix a crash on bad command line,
11696 and give a useful exit status on error
11698 * lyxfunc.C (doImport): allow -i lyx to work
11700 2002-03-30 André Pönitz <poenitz@gmx.net>
11702 * lyxfunc.C: mathed font changes
11704 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11719 * trans_mgr.h: srcdocs, and some minor cleanups
11721 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11723 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11724 call getFont all the time)
11726 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11728 * switch from SigC signals to boost::signals
11730 2002-05-29 André Pönitz <poenitz@gmx.net>
11732 * paragraph_pimpl.C (getChar): don't call size() too often...
11734 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11736 * paragraph_pimpl.C (insertChar): do not try to update tables when
11737 appending (pos == size())
11739 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11740 in order to reduce drastically the number of comparisons needed to
11741 parse a large document
11743 2002-05-29 André Pönitz <poenitz@gmx.net>
11749 * textclasslist.[Ch]:
11750 * sp_ispell.h: whitespace change
11752 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11754 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11755 lyxaction directly now.
11757 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11761 * lyxvc.C: remove unused headers
11763 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11770 * undo_funcs.C: some cleanups. Use shared_ptr
11771 and a template for the undo stacks.
11773 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11775 * BufferView_pimpl.h:
11776 * BufferView_pimpl.C:
11783 * text2.C: use key_state/mouse_state
11785 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11790 * chset.C: change include order
11791 (loadFile): use boost regex and get rid of LRegex and LSubstring
11793 * Makefile.am (BOOST_LIBS): new variable
11794 (lyx_LDADD): use it
11796 * LaTeX.C: change include order.
11797 (scanAuxFile): use boost regex and get rid of LRegex and
11801 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11806 * FontInfo.C: moved to frontends/xforms/
11809 * FontLoader.C: moved into frontends for GUIIzation
11814 * lyxfunc.C: changes from above
11816 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11818 * LColor.C: remove spurious X include
11820 * BufferView_pimpl.C:
11825 * text2.C: move font metrics to frontends/
11827 2002-05-24 Juergen Vigna <jug@sad.it>
11829 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11830 setting the undo_cursor.
11832 * ParagraphParameters.h: include local includes first.
11834 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11836 * BufferView_pimpl.C:
11837 * BufferView_pimpl.h:
11841 * screen.C: move WorkArea into frontends/
11847 * BufferView2.C: move LyXScreen into frontends/
11851 * lyx_gui.C: move lyxlookup into frontends/xforms/
11853 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11856 * BufferView_pimpl.C:
11866 * bufferview_funcs.C:
11879 * vc-backend.C: move LyX/XFormsView into frontends/
11881 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11893 * text2.C: move Painter to frontends/
11895 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11897 * buffer.C: comment out some some code that depend upon lyx_format
11900 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11901 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11903 * buffer.h (NO_COMPABILITY): turn off compability
11905 * ColorHandler.C: include scoped_array.hpp
11907 * font.C: Use more specific smart_ptr header.
11910 * ShareContainer.h: ditto
11911 * lyx_main.h: ditto
11913 * FontInfo.h: ditto
11914 * BufferView_pimpl.h: ditto
11915 * ColorHandler.h: ditto
11917 * kbmap.C (defkey): change call to shared_ptr::reset
11919 2002-05-21 Juergen Vigna <jug@sad.it>
11921 * buffer.C (insertErtContents): fix to insert ert asis if it is
11922 non empty. Skip it completely if it contains only whitespaces.
11924 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11926 * BufferView_pimpl.C:
11927 * BufferView2.C: clear selection on paste (bug 393)
11929 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * DepTable.C: include ctime
11933 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11935 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11937 2002-05-14 Juergen Vigna <jug@sad.it>
11939 * text.C (breakParagraph): fixed function to honor the keepempty
11940 layout in the right maner and also to permit the right breaking
11941 algorithm on empty or non empyt keepempty paragraphs.
11943 * paragraph.C (breakParagraph): we have to check also if the par
11944 is really empty (!size()) for isempty otherwise we do the wrong
11947 2002-05-10 Juergen Vigna <jug@sad.it>
11949 * buffer.[Ch] : The following are only changes to the ert
11950 compatibility read reading old LaTeX layout and font stuff and
11951 convert it to ERTInsets.
11953 * buffer.h: added isErtInset().
11955 * buffer.C (struct ErtComp): add a fromlayout bool to check
11956 if we're inside a LaTeX layout.
11957 (isErtInset): new helper function.
11958 (insertErtContents): look for other ert insets before this one
11959 and insert the contents there, so that we don't have subsequent
11960 ERT insets with nothing between them. This way we create only one
11961 inset with multiple paragraphs. Also check if we don't insert only
11962 spaces ' ' as they are ignored anyway afterwards in the .tex file
11963 so if we have only spaces we will ignore this latex part in the
11965 (parseSingleLyXformat2Token \\layout): better compatibility when
11966 reading layout-latex stuff.
11967 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11969 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11970 stuff after reading the inset only get the information back from
11973 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11975 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11977 * LaTeXFeatures.C (getBabelOptions): New method.
11979 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11981 * BufferView_pimpl.C (Dispatch): work around missing argument for
11984 2002-05-08 Juergen Vigna <jug@sad.it>
11986 * text.C (leftMargin): handle paragraph leftindent.
11988 * paragraph.C (writeFile): write the new \\leftindent tag.
11989 (validate): handle leftindent code.
11990 (TeXEnvironment): handle paragraphleftindent code again.
11992 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11994 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11995 for paragrap_extra indent code and new token \\leftindent.
11996 (latexParagraphs): handle the leftindent as environment.
11998 * ParameterStruct.h: added leftindent support.
12000 * ParagraphParameters.C (leftIndent): added support functions for
12001 the paragraph left indent.
12003 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12006 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12008 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12011 * text.C (computeBidiTables): No bidi in insetERT.
12013 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12016 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12018 * version.C.in: pre 5
12020 2002-05-02 José Matos <jamatos@fep.up.pt>
12021 * buffer.C (makeDocBookFile): white space changes, add newline to
12023 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12025 * tabular.C (docBook): fix typo.
12027 2002-05-03 Juergen Vigna <jug@sad.it>
12029 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12030 change in LyXText as we can not be sure it was not freed.
12031 (drawOneRow): remove unused code.
12033 * text.C (drawInset): redo the calculation of the need_break_row as
12034 it could have a row which was already freed.
12035 (draw): look at the return value of drawInset and return false if
12036 it also returned false.
12037 (paintRowText): look at the return value of draw and return false if
12038 it also returned false.
12040 * lyxtext.h: added bool return type to drawInset() and draw() so that
12041 if we have a change in the row so that the rowbreak has to be redone
12042 we abort drawing as it will be called again.
12044 2002-05-02 Juergen Vigna <jug@sad.it>
12046 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12047 a change in the maintext also if we're inside an inset.
12048 (Dispatch): set the cursor again after a break line and after the
12049 screen has been updated as it could be we're in a different row.
12051 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12052 to set the cursor behind the pargraph with > size().
12053 (setCursor): check also for the same paragraph when checking where
12054 to put the cursor if we have a NFR inset.
12056 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12057 parts of layout read further up as it still was in the wrong
12060 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12062 * screen.C (drawFromTo): change sine fullRebreak always return
12065 * buffer.C (parseSingleLyXformat2Token): reindent some
12067 * BufferView_pimpl.C (update): change since fullRebreak always
12069 (Dispatch): git rid of the last hardcoded "Standard"s.
12071 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12073 * text2.[Ch] (fullRebreak): make it return void now that we always
12076 2002-04-30 Juergen Vigna <jug@sad.it>
12078 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12079 ert compatibility check for "latex" layout.
12081 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12083 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12084 minipages: use col% instead of p%, and also use the current font.
12085 (makeLaTeXFile): Fix use babel condition.
12086 (parseSingleLyXformat2Token): Correct font when reading old floats.
12088 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12090 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12091 inserting list of floats.
12093 2002-04-25 Herbert Voss <voss@lyx.org>
12095 * MenuBackend.C (expand): don't add the graphics extensions to the
12098 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12100 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12101 non-existing layout, do not complain if it was the default layout
12102 of the original class (bug #342)
12104 2002-04-24 Juergen Vigna <jug@sad.it>
12106 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12107 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12109 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12111 * buffer.C (getBibkeyList): If using \bibliography, return the
12112 option field with the reference itself. Enables us to provide natbib
12113 support when using \bibliography.
12115 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12117 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12119 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12120 natbib is provided by the LaTeX class.
12122 2002-04-23 Juergen Vigna <jug@sad.it>
12124 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12127 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12129 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12131 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12133 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12134 ensuremath around textordmasculine, textordfeminine and
12137 2002-04-19 Juergen Vigna <jug@sad.it>
12139 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12140 reinitializing the buffer otherwise row-dimensions may be wrong.
12141 (update): reset also the selection cursors if they do exits otherwise
12142 their x/y positions may be wrong.
12144 * text2.C (cursorDown): don't enter the inset if we came from a row
12145 above and are one row over the inset.
12147 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12148 really leaving an inset.
12150 2002-04-18 Juergen Vigna <jug@sad.it>
12152 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12153 of the selected paragraph does not have the selected layout also if
12156 * text2.C (setLayout): fixed bug which did not change last selected
12159 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12160 changed the read and substituted \\end_float with \\end_inset!
12162 * BufferView_pimpl.C (cursorPrevious):
12163 (cursorNext): fixed to make it work with rows heigher than the work
12164 area without moving the cursor only the draw of the row.
12165 (workAreaMotionNotify): fix jumping over high rows.
12167 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12169 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12172 2002-04-16 Juergen Vigna <jug@sad.it>
12174 * text2.C (setCursor): set also the irow().
12175 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12177 (cursorDown): support for locking an inset if the x_fix value goes
12178 inside it. That way I can transverse insets too with cursor up/down.
12180 * lyxrow.h: added irow helper function same as other (i) functions.
12182 * BufferView_pimpl.C (cursorPrevious):
12183 (cursorNext): fixed for insets!
12185 2002-04-15 Juergen Vigna <jug@sad.it>
12187 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12188 position otherwise it is wrong in some cases.
12190 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12191 inside the inset before the call.
12193 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12195 * buffer.[Ch] (getBibkeyList): make it const.
12197 2002-04-12 Juergen Vigna <jug@sad.it>
12199 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12201 * text2.C (getCursorX): new helper function
12202 (setCursor): compute also ix_
12203 (setCursorFromCoordinates): set also ix.
12205 * lyxcursor.h: added ix_ and helper functions.
12207 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12209 * buffer.C (insertStringAsLines): dont break paragraph if the this
12210 paragraph is inside an inset which does not permit it!
12212 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12213 also with no chars on this paragraph.
12214 (paintRowText): only paint stuff if it's inside the workarea!
12216 * paragraph.C (breakParagraph): honor keepempty flag and break the
12217 paragraph always below not above.
12219 * BufferView2.C (unlockInset): update the paragraph layout on inset
12220 unlock as we changed paragraph in such a case.
12222 * lyxfind.C (LyXFind): clear the former selection if not found!
12224 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12225 again called in insertChar().
12227 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12228 an inset which uses the whole row!
12229 (rightMargin): ditto.
12230 (insertChar): force a rebreak if we inserted an inset!
12232 2002-03-28 Herbert Voss <voss@lyx.org>
12234 * lyxlength.[Ch]: add inBP() to get the right PS-point
12235 units (BigPoint). With inPixels we have rounding errors
12237 2002-04-11 Juergen Vigna <jug@sad.it>
12239 * text2.C (setCursorFromCoordinates): set iy to the right value.
12240 (setCursor): add check if row->previous exists!
12242 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12243 an old float_type as this was the case in the old code!
12245 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12247 * BufferView2.C (showLockedInsetCursor): use iy
12248 (fitLockedInsetCursor): ditto
12250 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12251 locked insets as there we have the right value now.
12253 * lyxcursor.C: added iy_ variable and iy functions to set to the
12254 baseline of cursor-y of the locked inset.
12256 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12257 (setCursor): fixed for insets which need a full row.
12259 * text.C (rowLastPrintable): don't ignore the last space when before
12260 an inset which needs a full row.
12261 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12262 as last character of a row when before a inset which needs a full row.
12264 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12266 * version.C.in: update date
12268 * text2.C (fullRebreak): try to always return true and see what
12271 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12273 * MenuBackend.C (expand): use Floating::listName
12275 * FloatList.C (FloatList): add listName argument to the built-in
12278 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12279 text associated with the float.
12281 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12283 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12285 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12287 * ShareContainer.h: add a couple of missing typenames.
12289 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12291 * lyxrc.C (getDescription): use _() correctly rather than N_().
12293 2002-03-28 Herbert Voss <voss@lyx.org>
12295 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12296 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12298 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12300 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12301 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12303 2002-03-29 Juergen Vigna <jug@sad.it>
12305 * lyxfunc.C (dispatch): add a missing fitCursor call.
12307 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12308 it was scrolled by a cursor move, so return the bool status.
12310 * BufferView.C (fitCursor): return the bool flag also to the outside
12311 world as this is needed.
12313 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12315 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12316 call the edit() as it is not needed (and wrong) IMO.
12317 (workAreaButtonPress): set the screen_first variable before evt.
12318 unlock the inset as this may change screen_first and then we have
12319 a wrong y position for the click!
12321 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12323 * MenuBackend.C (expand): another translation that I missed
12325 2002-03-28 Juergen Vigna <jug@sad.it>
12327 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12329 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12331 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12333 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12335 * MenuBackend.C (expand): fix export/view/update when there is no
12338 2002-03-27 Herbert Voss <voss@lyx.org>
12340 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12343 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12345 * bufferview_funcs.C (currentState): only show paragraph number
12346 for is DEVEL_VERSION is set.
12348 * lyxfunc.C (dispatch): put warning in INFO channel
12350 * MenuBackend.C (expand): translate the name of floats
12352 * FloatList.C (FloatList): mark the float names for translation
12354 * converter.C (convert): use LibScriptSearch
12356 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12358 * MenuBackend.C (defaults): fix default menu (we might as well get
12361 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12363 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12366 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12368 * lyxvc.C: reorder includes.
12370 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12372 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12375 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12377 * CutAndPaste.C: change layouts earlier on paste
12378 to avoid crashing when calling getFont()
12380 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12382 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12385 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12387 * WorkArea.C: remove 'Pending' debug message.
12389 * most files: ws cleanup
12391 * buffer.[Ch]: ws changes
12393 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12395 2002-03-21 Juergen Vigna <jug@sad.it>
12397 * tabular.C (SetMultiColumn): collapse also the contents of the
12398 cells and set the last border right. Added a Buffer const * param.
12400 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12402 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12405 2002-03-19 Juergen Vigna <jug@sad.it>
12407 * text2.C (clearSelection): reset also xsel_cache.
12409 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12410 where it needs to be called (John tells us to do so too :)
12411 (selectionLost): reset sel_cache.
12413 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12415 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12417 * text2.C (setCursorIntern): put debuging code in INSETS channel
12419 2002-03-19 André Pönitz <poenitz@gmx.net>
12421 * lyxfunc.C: tiny whitespace change
12423 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12425 * ToolbarDefaults.C (init):
12426 * LyXAction.C (init):
12428 * BufferView_pimpl.C (Dispatch):
12429 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12431 2002-03-19 Allan Rae <rae@lyx.org>
12433 * exporter.C (Export): removeAutoInsets before doing anything else.
12434 While I've just introduced a dependency on BufferView this really is
12435 the best place to clean the buffer otherwise you need to cleanup in
12436 a dozen places before calling export or cleanup in a dozen functions
12439 * converter.C (runLaTeX):
12440 (scanLog): Better handling of removeAutoInsets and screen updates.
12442 * lyxfunc.C (dispatch): small whitespace changes
12444 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12446 * WorkArea.C (C_WorkAreaEvent): return a value.
12447 (event_cb): return 1 if we handled the event, 0 otherwise.
12449 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12451 2002-03-18 Juergen Vigna <jug@sad.it>
12453 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12454 (GetAdditionalWidth): ditto.
12455 (RightLine): ditto.
12458 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12459 inset if we're there actually (probably not used right now but this
12460 is the direction to go for unifying code).
12461 (paste): disable code to clear the selection.
12463 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12464 inside an InsetText and move the check further up as it is in the
12467 * text2.C (pasteSelection): set a selection over the pasted text.
12469 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12471 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12472 and libgraphics to build on Cygwin.
12474 2002-03-15 Juergen Vigna <jug@sad.it>
12476 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12477 inserting an Inset into the paragraph. I know this is not the best
12478 fix but we already use current_view in CutAndPaste so we will remove
12479 all of it's using at the same time.
12481 * buffer.C (sgmlError): deactivated function till it is rewritten in
12482 the right mode, now it can create problems.
12484 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12485 before accessing it.
12487 2002-03-14 Juergen Vigna <jug@sad.it>
12489 * undo_funcs.C (textHandleUndo): do the right thing when updating
12490 the inset after the undo/redo.
12492 * text2.C (setCursor): just some testcode for #44 not ready yet.
12494 * undo_funcs.C (textHandleUndo): set the next() and previous()
12495 pointers of the paragraph to 0 before deleting otherwise we have
12496 problems with the Paragraph::[destructor].
12498 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12499 on a paragraph insertion.
12501 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12503 * buffer.C (asciiParagraph): use += operator for char append to
12506 * paragraph.C (getFontSettings): compare >= not just >
12507 (highestFontInRange): ditto
12510 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * paragraph.C: change several algorithm to be more appripriate for
12513 the problem domain. This is lookip in FontList and in the InsetList.
12515 2002-03-13 André Pönitz <poenitz@gmx.net>
12518 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12520 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12525 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12527 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12529 * Painter.C (display): anon helper function, adjust code for this
12531 (pixmap): remove function.
12533 * Painter.h: remove private display variable.
12535 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12537 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12539 * WorkArea.[Ch]: remove figinset_canvas cruft.
12541 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12543 * lyxtextclass.C (operator): add one item cache optimization.
12545 * bufferlist.h: doxy changes
12547 * bufferlist.C: ws changes
12549 * DepTable.[Ch] (ext_exist): place const in the right spot.
12551 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12553 (workAreaExpose): call resizeInsets when the with BufferView changes.
12554 (Dispatch): adjust for protectedBlank removal
12555 (specialChar): call updateInset if the insert went ok.
12557 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12558 specialChar instead.
12560 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12562 * BufferView.h: doxy change
12564 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12566 * lyxtextclass.C (operator[]): remove non-const version
12567 (defaultLayout): remove non-const version
12569 2002-03-12 Juergen Vigna <jug@sad.it>
12571 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12572 did resize the LyXText too.
12574 * buffer.C (readLyXformat2): set layout information on newly allocated
12577 * tabular.C (OldFormatRead): set layout information on the paragraph.
12579 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12581 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12583 2002-03-11 Juergen Vigna <jug@sad.it>
12585 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12587 (resizeCurrentBuffer): force also the insets to resize themselfes.
12588 (moveCursorUpdate): fixed up for InsetText.
12590 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12593 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12594 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12595 value of Dialogs::tooltipsEnabled().
12596 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12598 2002-03-08 Juergen Vigna <jug@sad.it>
12600 * BufferView_pimpl.C (updateInset): update inset inside inset also
12601 if it isn't inside theLockingInset().
12603 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * buffer.C (asciiParagraph): redo some of the word and line length
12607 (getLists): look for Caption instead of caption.
12609 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12611 * buffer.C (Buffer): initialize niceFile to true
12613 (makeLinuxDocFile):
12614 (makeDocBookFile): make sure niceFile is true on exit
12616 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12618 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12620 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12622 * LyXSendto.C: remove.
12623 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12624 * lyx_gui.C: remove now-redundant comment.
12625 * ColorHandler.h: remove forward declaration of class WorkArea.
12626 * lyxfunc.C: remove #include "WorkArea.h".
12628 2002-03-07 Juergen Vigna <jug@sad.it>
12630 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12631 got moved away with the DEPM and also set the inset_owner always
12632 right which before could have been omitted.
12634 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12636 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12637 wanted layout is not found.
12639 2002-03-07 Juergen Vigna <jug@sad.it>
12641 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12643 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * paragraph.C (breakParagraph): use default layout not layout of
12647 (Paragraph): clear ParagraphParameters.
12649 2002-03-06 Juergen Vigna <jug@sad.it>
12651 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12652 otherwise it would not be a valid lenght. Fixed a special case in
12653 the minipage compatibility read where we end the document with a
12656 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12657 was set as it could be 0 for InsetTexts first entry.
12659 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12661 * paragraph.C (writeFile): if layout is empty write out
12662 defaultLayoutName().
12664 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12665 file without named layout we set layout to defaultLayoutName().
12667 2002-03-06 Juergen Vigna <jug@sad.it>
12669 * CutAndPaste.C (copySelection): set layout for new paragraph.
12671 * text.C (prepareToPrint): leave ERT inset left aligned
12672 (leftMargin): don't indent paragraphs inside ERT insets
12674 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * paragraph.C (breakParagraph): dont call clear do the work manually
12678 * paragraph.[Ch] (clear): remove function
12680 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12682 * paragraph.C (Paragraph): dont call clear, the work has already
12685 * lyxtextclass.C (operator): assert if n is empty
12687 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12688 work manually instead.
12690 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12692 * BufferView_pimpl.C: protect selectionLost against text == 0
12694 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12696 * text.C (breakParagraph): fix a setting layout to '0' problem.
12698 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12700 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12701 final location of file, for the included files, and graphics.
12703 2002-03-05 Juergen Vigna <jug@sad.it>
12705 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12707 2002-03-04 Juergen Vigna <jug@sad.it>
12709 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12711 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12712 last column of multicolumn cells.
12713 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12715 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12717 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12718 file if it doesn't go to a temporary file.
12720 * buffer.C (sgmlOpenTag):
12721 (sgmlCloseTag): remove extra newline insertion.
12723 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12725 * text.C (getRowNearY): comment out debug msg
12727 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12729 * text2.C: first -> first_y
12731 * text.C (getRowNearY): add some attemts at a possible
12732 optimization, not working.
12734 * tabular.[Ch]: add BufferParams to several function so that newly
12735 created paragraph can be initialized to he default layotu for the
12738 * tabular-old.C (ReadOld): add buf->params to call of Init
12740 * screen.C: rename text->first to text->first_y
12742 * paragraph.C (breakParagraph): always set layout in the broken
12745 * lyxtextclass.C (Read): remove lowercase
12748 (delete_layout): ditto
12750 * lyxtext.h: rename first -> first_y
12752 * lyxlayout.C (Read): remove lowercase
12755 (obsoleted_by): ditto
12757 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12759 * buffer.C (insertErtContents): add params are to InsetERT
12760 (parseSingleLyXformat2Token): add code to check if a paragraphs
12761 layout really exist.
12762 (parseSingleLyXformat2Token): add params to several inset
12764 (asciiParagraph): remove lowercase, do the layout comparisons with
12767 * BufferView_pimpl.C (cursorNext): first -> first_y
12768 (resizeCurrentBuffer): first -> first_y
12769 (updateScrollbar): first -> first_y
12770 (scrollCB): first -> first_y
12771 (workAreaMotionNotify): first -> first_y
12772 (workAreaButtonPress): first -> first_y
12773 (checkInsetHit): first -> first_y
12774 (cursorPrevious): first -> first_y
12775 (cursorNext): first -> first_y
12776 (Dispatch): add buffer_->params to severl inset contructors
12778 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * lyxlayout.C (Read): remove some debug info that I forgot.
12782 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12783 clean up the code slightly.
12784 (makeLinuxDocFile): ditto
12785 (makeDocBookFile): ditto
12787 * text2.C: layout as string
12789 * text.C: layout as string
12791 * paragraph_pimpl.C: layout as string
12793 * paragraph.[Ch]: layout as string
12795 * lyxtextclasslist.[Ch]: layout as string
12797 * lyxtextclass.[Ch]: layout as string
12799 * lyxtext.h: layout as string
12801 * lyxlayout.[Ch]: layout as string
12803 * lyx_cb.C: layout as string
12805 * bufferview_funcs.C: layout as string
12807 * bufferparams.C: layout as string
12809 * buffer.C: layout as string
12811 * LyXView.[Ch]: layout as string
12813 * LaTeXFeatures.[Ch]: layout as string
12815 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12817 * BufferView_pimpl.C: change current_layout to string, remove
12822 (workAreaButtonRelease): layout as string
12824 * BufferView2.C (unlockInset): adjust
12826 * vspace.C (asLatexCommand): use an explict temp variable.
12828 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12830 * Makefile.am: use FRONTEND_*
12832 2002-03-01 Juergen Vigna <jug@sad.it>
12834 * tabular.C (SetWidthOfMulticolCell): changed to something better
12835 I hope but still work in progress.
12836 (recalculateMulticolumnsOfColumn): renamed function from
12837 recalculateMulticolCells as it is more appropriate now.
12838 (SetWidthOfCell): calculate multicols better.
12840 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12842 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12844 * lyxfunc.C (processKeySym): print sequence also if it is
12845 `deleted' (complete)
12847 * kbsequence.C (print): print sequence even if it is deleted
12848 (complete would be a better word, actually).
12850 * lyxfunc.C (dispatch): print complete options after a prefix key
12852 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12854 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12856 * text2.C (setCharFont): eliminate setCharFont code duplication.
12858 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12860 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12861 LFUN_TABULAR_FEATURE (bug #177)
12863 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12865 * Makefile.am: remove figure.h
12867 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12869 * Bufferview_pimpl.C:
12881 * text2.C: remove #include "lyx_gui_misc.h".
12883 * LaTeX.C: added #include <cstdio>
12885 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12887 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12888 that the paragraph following this one can have.
12890 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12892 * vspace.C (asLatexCommand): fix bogus gcc warning
12894 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12896 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12898 * text2.C (setLayout): get rid of redundant code
12900 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12902 * text2.C (incDepth): make sure depth cannot be increased beyond
12905 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12907 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12908 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12910 * PainterBase.h (image):
12911 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12912 a LyXImage const *.
12914 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12918 * BufferView_pimpl.C:
12919 * BufferView_pimpl.h:
12939 * sp_spell.C: remove fig inset, and the crap house of
12940 cards that follows it
12942 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12947 * os2_errortable.h:
12948 * nt_defines.h: move .h into support/
12950 * vms_defines.h: remove
12952 * WorkArea.C: add space in debug output
12956 * buffer.C: add WITH_WARNINGS
12960 * bufferlist.C: s/retrive/retrieve/, add docs
12969 * chset.C: add docs
12971 * lyxgui.C: add ID to X error handler
12973 * lyxtestclass.c: fix typo
12975 2002-02-26 Juergen Vigna <jug@sad.it>
12977 * tabular_funcs.C (write_attribute): changed so that some default
12978 attributes are not written at all.
12979 (getTokenValue): set default values before trying to read the
12980 value so we have the return value always set as default if we don't
12981 find the token we search for.
12983 * tabular.C (Write): write bools as bools not as strings!
12985 2002-02-22 Juergen Vigna <jug@sad.it>
12987 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12988 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12990 * text.C (leftMargin): don't add an indent for paragraphs inside
12991 tabular cells (fix #208).
12993 2002-02-21 José Matos <jamatos@fep.up.pt>
12995 * tabular.C (docBook): fixed support for long tables.
12997 2002-02-20 Juergen Vigna <jug@sad.it>
12999 * text2.C (getFont): get the drawing font of the Inset if this
13000 paragraph is inside an inset (only important for InsetERT for now).
13002 * buffer.C (insertErtContents): use new lanugage params in ERT
13005 * CutAndPaste.C: commenting out seemingly uneeded code.
13007 2002-02-19 Allan Rae <rae@lyx.org>
13009 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13010 Iterators might be simple to use but they also get invalidated.
13011 (removeAutoInsets): renamed saved cursor tracking variables and added
13012 some comments to clarify what everything does.
13014 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13021 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13022 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13025 * vc-backend.h: remove #include "support/syscall.h"
13029 * converter.C: rearrange #includes in Lars' approved fashion.
13031 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13032 forward declare class Timeout in the header file.
13034 * XFormsView.C: changes due to the above.
13036 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13037 similar to LyXView.
13039 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13040 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13042 2002-02-18 José Matos <jamatos@fep.up.pt>
13044 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13047 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13049 * a lot of small ws changes
13050 * add a lot of using std::XXX
13051 * use std construcs some places where approp.
13052 * use some exisint stuff from lyxfunctional where approp.
13053 * Make file changes to use partial linking (lets test this now...)
13055 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13059 remove #include "support/syscontr.h" as it's redundant. Always has been.
13067 change Systemcalls::System to Systemcalls::Wait and
13068 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13069 No change of functionality, just reflects the stripped down Systemcalls
13072 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13074 * debug.[Ch]: add a GRAPHICS type to the enum.
13076 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13078 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13080 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13083 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13085 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13086 match the changes below.
13088 * text2.C (toggleInset): if there is not editable inset at cursor
13089 position, try to see if cursor is _inside_ a collapsable inset
13092 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13094 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13095 document menu has a nice checkbox
13097 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13099 * lyxlength.C (asLatexString): change PW to output as percent of
13102 * lengthcommon.C: change '%' to 't%'
13104 * lyxfunc.C (dispatch): a few comments from Martin
13106 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13110 * BufferView_pimpl.h:
13111 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13114 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13116 * vspace.C (inPixels): fix compiler warning
13118 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13120 * lyxfunc.C (getStatus): fix status message for disabled commands.
13122 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13124 * BufferView_pimpl.C: fix crash on close buffer
13125 during selection (#227)
13127 2002-01-27 Herbert Voss <voss@lyx.org>
13129 * buffer.C: link old Figure to new graphic inset
13131 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13133 * FontLoader.C (getFontinfo): Change the latex font names in order
13134 to match the names of type1inst.
13136 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13138 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13140 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13141 (extchanged): ditto
13143 (remove_files_with_extension): ditto
13144 (remove_file): ditto
13147 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13148 document is smaller than the work area height. Do not initialize
13149 static variables to 0.
13151 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13153 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13155 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13156 LFUN_LAYOUT_PARAGRAPHS.
13158 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13159 tabular. It is possible to provide a possible cell, which will
13160 typically be the actcell from the corresponding insettabular
13162 * lyxfunc.C (getStatus): small cleanup; disable
13163 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13166 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13168 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13170 * paragraph.C (startTeXParParams):
13171 (endTeXParParams): new methods. The LaTeX code to
13172 start/end paragraph formatting
13173 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13174 empty (fixes bug #200)
13176 * vspace.C (inPixels): adapt to the change below
13177 (inPixels): [later] more cleanups (remove unused variables)
13179 * lyxlength.C (inPixels): change to use a width and a height as
13182 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13184 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13185 Replaced with \paperwidth
13187 * DepTable.C (insert): add std:: qualifier
13189 2002-01-18 Allan Rae <rae@lyx.org>
13191 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13194 * text.C (drawInset): Turned out I didn't know enough about how
13195 rebreaking worked. This fixes most of the redraw problems. I see
13196 an occasional cursor trail when a line is broken now and the cursor
13197 placement can seem out by a few pixels also after a rebreak.
13199 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13201 * buffer.C (parseSingleLyXformat2Token): update because minipage
13202 width is now a LyXLength
13204 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13206 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13209 2002-01-17 Juergen Vigna <jug@sad.it>
13211 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13213 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13214 is set correctly and the inset is updated correctly.
13216 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13218 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13219 the beginning of the loop.
13221 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13223 * lyxrc.C: improve help for use_scalable_fonts
13225 2002-01-17 Allan Rae <rae@lyx.org>
13227 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13229 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13231 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13232 make sure to set their inset_owner to the right value (bug #171)
13234 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13237 * DepTable.C: Implement mtime checking to reduce time spent doing
13240 2002-01-16 Juergen Vigna <jug@sad.it>
13242 * tabular.C (GetAdditionalHeight): one of error fixed.
13244 * lyxrc.C (output): small fix in writing use_pspell.
13246 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13248 * sp_base.h: #include LString.h
13250 2002-01-16 Allan Rae <rae@lyx.org>
13252 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13253 Can someone check this please?
13255 * text.C (drawInset): It was possible that p.row would be removed by
13256 breakAgainOneRow upsetting a few other settings. There may be another
13257 small tweak possible by setting need_break_row = 0 when p.row has been
13258 removed but I don't know enough about the logic here.
13260 2002-01-15 Allan Rae <rae@lyx.org>
13262 * text.C (insertChar): removed conditional truism.
13264 * BufferView2.C (removeAutoInsets): More tweaks.
13265 cur_par_prev could be a stray pointer. Check for trailing empty line
13266 in case last line was cur_par and only had an error inset on it.
13268 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13270 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13273 * vc-backend.C (most methods):
13274 * exporter.C (Export):
13275 * converter.C (convert):
13277 * LyXSendto.C (SendtoApplyCB):
13278 * lyxfunc.C (dispatch):
13282 * lyx_cb.C (AutoSave):
13284 * BufferView_pimpl.C (MenuInsertLyXFile):
13285 * buffer.C (runChktex): use Buffer::filePath().
13287 * buffer.h: rename filename to filename_; rename filepath to
13288 filepath_ and make it private
13289 (filePath): new method
13291 * buffer.C (writeFile): use fileName()
13294 * lyx_main.C (init): fix starting of LyX when the binary is a
13295 link from so,ewhere else.
13297 * minibuffer.C: include <cctype> for isprint
13299 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13301 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13302 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13303 name clash with InsetCollapsable's width function.
13305 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13307 * lastfiles.C: include <iterator>
13309 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13311 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13314 * buffer.C (makeLaTeXFile): ditto.
13315 Also make loop operation more transparent.
13317 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13319 * ToolbarDefaults.C: remove trailing comma closing namespace.
13321 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13323 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13326 * trans.C (Load): comment out unused variable, allowed.
13328 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13330 * minibuffer.[Ch] (append_char): new method to recieve input from the
13331 drop-down completion browser. If a key was pressed, then recieve this
13332 char and append it to the existing string.
13333 (peek_event): modify the positioning data passed to the completion
13334 browser so that it can be placed above the minibuffer rather than below.
13335 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * LyXAction.C (init): alloe error-next for readonly documents.
13339 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13342 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13344 * bufferlist.C (readFile): create the buffer _after_ checking that
13347 * lyxfunc.C (verboseDispatch): fix handling of arguments
13349 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13351 * lyxrc.C: use string::erase() instead of initializing to "".
13354 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13356 * BufferView_pimpl.h:
13357 * BufferView_pimpl.C:
13360 * text2.C: tell X when we have made a selection for copying
13362 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13364 * BufferView_pimpl.C (MenuInsertLyXFile):
13365 * lyxfunc.C (menuNew):
13367 (doImport): add shortcuts to directory buttons
13369 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13372 * lyxfunc.C (setStatusMessage):
13373 (getStatusMessage): new methods
13374 (getStatus):use setStatusMessage instead of setErrorMessage
13375 (dispatch): when function is disabled, set error message here
13376 [instead of in getStatus previously]
13378 * BufferView_pimpl.C (workAreaButtonRelease): update
13379 toolbar/menubar here too.
13381 2002-01-13 Allan Rae <rae@lyx.org>
13383 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13384 Now seems indestructible. Remaining task is to audit all other
13385 code affected by deleteEmptyParagraphMechanism. One small quirk
13386 left is that an empty document with an error in the preamble can
13387 be made to report an error but no error box appears. I don't know
13389 (removeAutoInsets): Improved comments.
13391 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13394 * Thesaurus.C: update for Aiksaurus 0.14
13396 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13398 * text2.C (firstParagraph): removed member function, all uses
13399 replaces with ownerParagraph
13400 (redoParagraphs): here
13401 (updateInset): here
13402 (toggleAppendix): here
13403 * BufferView2.C (insertErrors): here
13404 (setCursorFromRow): here
13406 2002-01-13 Allan Rae <rae@lyx.org>
13408 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13409 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13410 There is still a way to segfault this although you may have to do this
13411 multiple times: Have an InsetERT with an unknown command in it.
13412 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13413 <down-arrow>, <Enter> again, View->DVI, BANG!
13415 * text2.C (setCursor):
13416 (deleteEmptyParagraphMechanism):
13417 * lyxtext.h (setCursor):
13418 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13419 Making use of the return value may help fix other bugs.
13421 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13423 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13425 * LyXView.C (updateMenubar): call MenuBar::update here
13426 (updateToolbar): but not here
13427 (showState): do not update toolbar/menubar
13429 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13430 should need to care about that.
13432 * lyxfunc.C (verboseDispatch): simplify a bit
13433 (getStatus): have a version which takes a pseudoaction, and
13434 another which requires a (kb_action,string).
13436 * LyXAction.C (retrieveActionArg): make it work also when action
13437 is not a pseudo-action.
13438 (getActionName): simplify a bit
13441 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13443 * lyxfunc.C (verboseDispatch): new families of methods with
13444 several ways to specify a command and a bool to indicate whether
13445 the command name and shortcut should be displayed in minibuffer
13446 (eventually, we could extend that to a finer bitmask like
13447 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13448 (dispatch): the pristine dispatch command which just, well,
13449 dispatchs! Note it still sets its result to minibuffer; I'm not
13452 * lyxfunc.h: remove setHintMessage
13454 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13456 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13458 * BufferView_pimpl.C (specialChar): delete new inset if we have
13459 not been able to insert it.
13461 * kbmap.C: revert to using int instead of kb_action, since all we
13462 are dealing with is pseudo-actions.
13464 * LyXAction.C (searchActionArg): change to return int instead of
13465 kb_action, since the result is a pseudoaction.
13467 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13469 * buffer.C (insertErtContents): Fix (partially) the font bug.
13471 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13473 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13474 as the other one is broken on my machine!
13476 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13479 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13481 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13483 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13484 reflect their actual use. Provide compatibility code for older lyxrc
13487 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13489 change names of popup font variables in line with the changes to lyxrc.C
13491 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13493 * buffer.C (asciiParagraph): avoid outputing a word twice after
13496 * lyxrc.C (getDescription): document that document_path and
13497 template_path can be empty.
13499 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13501 * LaTeXFeatures.C (getMacros):
13502 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13504 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13506 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13508 (getPackages): rename feature "floats" to "float". Use an array to
13509 iterate over 'simple' features (i.e. just a \usepackage). Add
13510 handling of "amsmath" (renamed from "amsstyle").
13512 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13514 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13517 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13519 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13520 FuncStaus::FuncStatus & FuncStaus::some_method().
13522 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13524 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13525 of the func_satus stuff. Edited and massaged in various ways by
13528 * lyxfunc.C (getStatus): use FuncStatus
13530 2002-01-08 Juergen Vigna <jug@sad.it>
13532 * text.C (nextBreakPoint): use function Inset::isChar().
13534 * paragraph.C (TeXOnePar): use function
13535 Inset::forceDefaultParagraphs.
13537 * buffer.C (latexParagraphs): use function
13538 Inset::forceDefaultParagraphs.
13540 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13542 * lyx_gui.C (init): set the style of the menu popups to
13543 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13545 2002-01-07 Juergen Vigna <jug@sad.it>
13547 * text.C (setHeightOfRow): small fix
13548 (prepareToPrint): don't look at alignment if we don't have the place
13551 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13553 * box.C: New file. Move the Box methods and functions out of box.h,
13554 following Lars' suggestion.
13556 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13558 * box.h: #include "support/LOstream.h", needed for inlined function.
13561 * lyxtextclasslist.C: added some using std declarations.
13563 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13565 * box.h: make signed dimensions to allow insets wider than
13566 the screen (bug #162)
13568 * BufferView_pimpl.C: add some insetHit debug
13570 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13572 * vc-backend.C: add FIXME
13574 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13576 * lyxfunc.C (getStatus): enable code for showing math font status
13579 2002-01-07 Juergen Vigna <jug@sad.it>
13581 * text.C (nextBreakPoint): removed debug output not needed anymore.
13583 2002-01-06 Juergen Vigna <jug@sad.it>
13585 * text.C (nextBreakPoint): fixed up this function we had this bug
13586 since ever but now hopefully we break row better.
13587 (insertChar): we have to check if an inset is the next char as it
13588 could now happen that a large inset is causing a break.
13590 2002-01-05 Juergen Vigna <jug@sad.it>
13592 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13593 if it doesn't like to be drawed.
13595 2002-01-04 Juergen Vigna <jug@sad.it>
13597 * BufferView2.C (lockInset): forgot to set a cursor.
13599 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13601 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13603 * FormMathsPanel.C:
13606 * form_maths_panel.C:
13607 * form_maths_panel.h:
13608 * form_maths_panel.fd: implemented sub- and super- buttons in math
13611 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13612 (or ^ space) to be used as in TeX (req'd by André).
13614 * lyxfunc.C: Allow ^ and _ again to be used both as
13615 super/subscript (mathed) and as themselves (in text).
13617 2002-01-03 Allan Rae <rae@lyx.org>
13619 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13620 "LyX" or the filename of the current buffer if it has one. This is a
13621 modified form of John Levon's patch.
13623 * XFormsView.C (setWindowTitle): also set icon title.
13625 * LyXView.h (setWindowTitle): signature changed.
13626 * XFormsView.h (setWindowTitle): ditto.
13628 2002-01-02 Juergen Vigna <jug@sad.it>
13630 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13632 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13634 * screen.C (topCursorVisible): introduce a temp var for
13635 text->cursor.row(), handle the case where this row is null. (kindo
13638 * text2.C (setCursor): add a couple of asserts.
13640 * paragraph.h (inset_iterator): add -> operator
13642 * paragraph.[Ch] (autoDeleteInsets): remove member function
13644 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13645 cursor pos correctly and handle inset deletion by itself.
13646 (insertErrors): move iterator declaration out of for expression
13648 * lyxtextclass.C: add <algorithm>
13650 * Makefile.am: added the new files to sources, removed layout.C
13652 * layout.C: removed file
13654 * layout.h: remove LYX_DUMMY_LAYOUT
13656 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13660 * lyxtextclass.[Ch]:
13661 * lyxtextclasslist.[Ch]: new files
13663 * include order changes to a lot of files, also changes because of
13666 2001-12-27 Juergen Vigna <jug@sad.it>
13668 * buffer.C (asciiParagraph): more fixes.
13670 * tabular.C (ascii): make ascii export support export of only the
13671 data separated by a column-delimiter.
13672 (ascii): better support for ascii export.
13674 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13676 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13678 * tabular_funcs.C: use a "using std::getline" instead of the
13679 previous fix from Angus (necessary for cxx + lyxstring)
13681 2001-12-24 Juergen Vigna <jug@sad.it>
13683 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13685 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13686 problems. First check a minipage also if we have some ert-contents
13687 (not only on par->size(), second set the right depth of the paragraph
13688 on the relink to the root-paragraph-list!
13690 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13691 which then did not anymore update the main paragraphs on undo/redo!
13693 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13695 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13696 code. Support all font-changing funcs (even those which are not in
13697 menu currently). Support for reporting font settings in
13698 mathed (disabled until Andre provides a function on mathed's side).
13700 * func_status.h (toggle): small helper function to set toggle
13703 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13705 * tabular_funcs.C: getline -> std::getline
13707 2001-12-21 Juergen Vigna <jug@sad.it>
13709 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13710 accessed and could be 0 (I couldn't generate this but it seems
13713 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13715 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13716 * tabular_funcs.h: here and include iosfwd
13718 2001-12-20 Juergen Vigna <jug@sad.it>
13720 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13721 inside inset but undo_par was.
13723 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13725 * Thesaurus.C: always include <config.h> in sources.
13729 * box.h: do not include <config.h> in header files
13731 * text.C (paintLastRow): remove unused variable
13733 * text.C (transformChar):
13735 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13737 * Painter.C (text):
13738 * font.C (width): rewrite to use uppercase() instead of
13741 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13743 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13745 * lyxfind.C: clean up of find failure position change
13747 2001-12-20 Juergen Vigna <jug@sad.it>
13749 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13751 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13752 (TeXRow): added to LaTeX a single tabular row.
13753 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13754 (Latex): simplified and finally good LT-h/f support.
13755 (various_functions): just small adaptions for LT-h/f support.
13757 * tabular_funcs.[hC]: added and moved here all not classfunctions
13760 2001-12-19 Juergen Vigna <jug@sad.it>
13762 * tabular.[Ch]: better support for longtabular options (not finished
13765 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13767 * text.C (paintLastRow): use the label font instead of the font of
13768 the last character to compute the size of *_BOX. This makes more
13769 sense and avoids a crash with empty paragraphs.
13770 Use Painter::rectangle to draw EMPTY_BOX.
13772 2001-12-19 Juergen Vigna <jug@sad.it>
13774 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13775 the paragraphs if the replaced paragraph is not the first one!
13776 Tried to delete not used paragraphs but does not work yet so for
13777 now it's inside #ifdef's and by default off!
13779 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13781 * MenuBackend.C: include "lyx_main.h" instead of declaring
13782 lastfiles (actually was declared as LastFiles* instead of a
13785 2001-12-17 Juergen Vigna <jug@sad.it>
13787 * tabular.C (AppendColumn): applied John's fix
13789 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13793 * BufferView_pimpl.h:
13794 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13797 * box.h: new start of class for above
13799 * lyxfunc.C: ignore space-only minibuffer dispatches.
13800 Show the command name when it doesn't exist
13802 * minibuffer.C: don't add empty lines to the history
13804 * minibuffer.C: add a space on dropdown completion
13806 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13808 * text.C: fix line above/below drawing in insets
13810 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13812 * lyxlength.C (LyXLength): Initialize private variables.
13814 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13816 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13817 when inserting error insets.
13819 2001-12-13 Juergen Vigna <jug@sad.it>
13821 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13822 actually sometimes the before-paragraph.
13823 (setUndo): don't clear the redostack if we're not actually undoing!
13825 2001-12-06 Juergen Vigna <jug@sad.it>
13827 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13828 and fixed redoing of main paragraph, so we can use it now ;)
13830 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13832 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13834 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13837 2001-12-13 André Pönitz <poenitz@gmx.net>
13840 * undo_func.C: minor cleanup
13842 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13844 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13845 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13846 font in urw-fonts package which is marked as -urw-fontspecific and
13847 does not work (incidentally, changing the encoding in the
13848 fonts.dir of this package to -adobe-fontspecific fixes the
13851 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13852 is a crash when undoing first paragraph (Juergen, please take a
13853 look). THis does not mean the undo fix is wrong, just that it
13856 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13857 the (Paragraph*) version when needed instead of duplicating the
13860 * text.C (workWidth): use Inset::parOwner to find out where the
13861 inset has been inserted. This is a huge performance gain for large
13862 documents with lots of insets. If Inset::parOwner is not set, fall
13863 back on the brute force method
13865 * paragraph_pimpl.C (insertInset):
13866 * paragraph.C (Paragraph):
13867 (cutIntoMinibuffer): set parOwner of insets when
13868 inserting/removing them
13870 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13872 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13878 * mathed/formulabase.C:
13879 * mathed/math_cursor.[Ch]:
13880 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13883 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13885 * lyxlength.[Ch] (operator!=): new function
13887 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13889 * text.C (workWidth): use Inset::parOwner to find out where the
13890 inset has been inserted. This is a huge performance gain for large
13891 documents with lots of insets. If Inset::parOwner is not set, fall
13892 back on the brute force method
13894 * paragraph_pimpl.C (insertInset):
13895 * paragraph.C (Paragraph):
13896 (cutIntoMinibuffer): set parOwner of insets when
13897 inserting/removing them
13899 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13901 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13903 * tabular-old.C (getTokenValue):
13904 * tabular.C (getTokenValue):
13905 (write_attribute): new versions for LyXLength
13906 (everywhere): adjust the use of widths
13908 * tabular.h: change the type of widths from string to LyXLength
13910 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13912 * paragraph.C: fixed missing line number count when exporting
13913 Environments to LaTeX file
13915 * buffer.C: added informational message for checking line numbers.
13917 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13919 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13920 paragraph, do the 'double space' part, but not the 'empty
13923 * text.C (workWidth): small optimization
13924 (getLengthMarkerHeight): use minimal size for negative lengths.
13926 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13928 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13930 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13932 2001-12-11 André Pönitz <poenitz@gmx.net>
13935 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13937 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13939 * text2.C: keep selection on a setFont()
13941 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13943 * lyx_cb.C: another bv->text misuse, from insert label
13945 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13948 * kbsequence.C: re-instate nmodifier mask
13950 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13952 * lyx_main.h: make lyxGUI private.
13954 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13956 * lyxfind.C: place the cursor correctly on failed search
13958 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13960 * text.C (getLengthMarkerHeight): for small heights, the arrows
13961 are not always on top/bottom of the text
13962 (drawLengthMarker): smaller arrows; take the left margin in
13963 account; draw also vfills.
13965 (paintLastRow): remove special code for vfill and standard spaces,
13966 since everything is handled in drawLengthMarker now.
13968 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13970 * buffer.C (insertErtContents): try to handle font and language
13971 interaction a bit better.g
13973 * ColorHandler.C (updateColor): change the hash to cover the whole
13974 LColor enum, ws cleanup
13975 (getGCLinepars): ditto
13976 (getGCLinepars): only lookup in the linecache once.
13978 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13980 * iterators.C (operator++): Make the iterator more robust
13982 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13984 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13986 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13989 * text.C: better added space drawing
13991 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13994 * BufferView2.C: fix layout combo update on inset unlock
13996 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13998 * Makefile.am: don't compile unused files
14000 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14004 * LyXAction.C: remove old LFUN_LAYOUTNO
14006 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14008 * paragraph_pimpl.h:
14009 * paragraph_pimpl.C: isTextAt() doesn't need font param
14011 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14014 * lyxlex.C: little cleanup
14016 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14018 * BufferView_pimpl.C: fix insertAscii for insets
14020 2001-12-05 Juergen Vigna <jug@sad.it>
14022 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14023 set the right font on the "multi" paragraph paste!
14025 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14031 * lyxlength.C: remove out-commented code.
14033 * BufferView_pimpl:
14047 * vc-backend.C: change "while(" to "while ("
14049 * lyxlength.[Ch]: add zero function to check if length is zero or
14051 * lyxgluelength.C: use it
14053 2001-12-05 Allan Rae <rae@lyx.org>
14055 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14056 Works for 2.95.3, from what I understand of Garst's reports this should
14057 work for other g++ versions. We're screwed if the abs(int) definition
14058 changed between bugfix releases of gcc.
14060 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14062 * text.C: fix chapter label offset !
14064 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14067 * text.C: fix hfill at end of line, clean up
14069 2001-12-04 Juergen Vigna <jug@sad.it>
14071 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14072 that we force an update of the inset and it's owners if neccessary.
14074 2001-12-03 Juergen Vigna <jug@sad.it>
14076 * text.C (rowLast): simplified code
14078 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14080 * lyxfunc.C: fix show options on timeout
14082 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14084 * screen.C (topCursorVisible): scroll half a page when the cursor
14085 reached top of bottom of screen
14087 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14089 * minibuffer.C: deactivate on loss of focus
14091 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * vspace.[Ch] (operator!=): add operator.
14095 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14097 * BufferView_pimpl.C: refuse to open an inset when
14098 there's a selection.
14100 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14102 * BufferView_pimpl.C: allow to click on RHS of full row insets
14104 2001-11-30 Juergen Vigna <jug@sad.it>
14106 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14107 insets for undo reasons.
14109 2001-11-28 André Pönitz <poenitz@gmx.net>
14111 * vspace.[Ch]: cosmetical changes
14113 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14123 * kbsequence.C: part re-write of old kb code
14126 * WorkArea.C: remove Lgb_bug_find_hack
14128 2001-11-30 José Matos <jamatos@fep.up.pt>
14130 * buffer.C (makeDocBookFile): add a comment to point a hack.
14131 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14132 Fixed a double write of labels.
14134 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14137 * LaTeX.h Fixed bug in LaTeX class where it would not
14138 re-run latex if no depfiles were changed, but the .dvi was removed.
14140 2001-11-28 André Pönitz <poenitz@gmx.net>
14142 * all the files from the change on 2001/11/26:
14143 use lyx::layout_type instead of LyXTextClass::size_type
14144 use lyx::textclass_type instead of LyXTextClassList::size_type
14146 2001-11-29 Juergen Vigna <jug@sad.it>
14148 * text.C: added support for paragraph::isFreeSpacing()
14150 * buffer.C: same as above
14152 * paragraph.h: inserted isFreeSpacing() function to enable
14153 FreeSpacing inside InsetERT.
14155 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14156 of the paragraph's in the cut/copy buffer to 0!
14158 * text2.C (removeRow): remove the assert as it can!
14160 * lyxtext.h: added helper function firstRow returning firstrow and
14161 made firstrow private again.
14163 * BufferView2.C (lockInset): don't relock if we're already locked!
14165 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14166 the only paragraph.
14167 (removeRow): added Assert::(firstrow)
14169 * debug.C: forgot to add INSETTEXT here.
14171 2001-11-28 Juergen Vigna <jug@sad.it>
14173 * sp_spell.C (initialize): changed error text to more general
14174 spellchecker command use (not only ispell!)
14176 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14178 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14180 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14182 * vspace.C: initialise lyxgluelength on failure
14184 2001-11-28 Allan Rae <rae@lyx.org>
14186 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14187 declaration & definition that looks like a function declaration.
14189 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14191 * BufferView2.C (copy):
14192 (copyEnvironment): do not clear the selection when doing a copy.
14194 * text.C (paintFirstRow): compilation fix
14196 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14198 * tabular.C (Latex): correct line count when writing latex.
14200 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14202 * paragraph_pimpl.h:
14203 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14206 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14210 * LColor.C: change vfillline->added_space
14212 * text.C: add markers and text for added space
14214 * vspace.C: fix comment
14216 2001-11-28 André Pönitz <poenitz@gmx.net>
14218 * paragraph.C: whitespace changes
14219 * all the other files from the change on 2001/11/26:
14220 change *::pos_type into lyx::pos_type
14222 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14224 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14225 language of the document when inserting error insets.
14227 2001-11-26 André Pönitz <poenitz@gmx.net>
14229 * BufferView_pimpl.[Ch]:
14237 * paragraph_pimpl.[Ch]:
14240 * text2.C: reduce header dependencies, introduce type for positions
14242 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14244 * <various>: change to use Alert.h
14246 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14248 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14249 when encountering an unknown token.
14250 (readLyXformat2): Show an error message if there were unknown tokens.
14252 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14255 * BufferView_pimpl.C:
14259 * text2.C: use par->isInset()
14261 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14263 * paragraph_pimpl.h:
14264 * paragraph_pimpl.C: cleanup
14266 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14268 * text2.C (removeRow):
14269 * text.C (setHeightOfRow): remove useless (and costly) call to
14272 2001-11-20 Allan Rae <rae@lyx.org>
14274 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14275 Now need Inset*::checkInsertChar() to return true for appropriate
14276 cases so that the characters in the minibuffer will actually be
14279 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * text.C: change the order of the includes.
14282 (workWidth): initialize it at once.
14283 (workWidth): make maxw unsigned
14284 (setHeightOfRow): remove unused variable (inset)
14285 (selectSelectedWord): remove unused variable (inset)
14286 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14288 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14290 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14291 server is not running.
14293 (closeConnection): add debug info when server is disabled.
14295 * ColorHandler.C (getGCForeground): send debug message to GUI
14298 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14300 * kbmap.C (bind): modify because return conventions of
14301 kb_sequence::parse have changed.
14303 * kbsequence.C (parse): only ignore spaces and not any stupid
14304 control character. This avoids tests like s[i] <= ' ', which are
14305 guaranteed to fail with 8bit characters and signed chars.
14306 Change return code to string::npos when there have been no error
14307 (0 was a bad idea when error is at first character)
14309 2001-11-14 José Matos <jamatos@fep.up.pt>
14312 * buffer.C (simpleDocBookOnePar): removed unused argument.
14314 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14316 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14317 insets which are part of a word. Paragraph::isLetter takes care of
14318 that now. Use Paragraph::isInset to identify insets.
14319 (selectSelectedWord): do not test for hyphenation break.
14321 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14322 that protected spaces are considered as spaces.
14324 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14327 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14330 * lyxserver.C: fix it. and small cleanup.
14332 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14334 * BufferView_pimpl.C: use inline helpers
14337 * LaTeXFeatures.C: fix typos
14340 * Spacing.C: move spacing_string into class
14342 * ToolbarDefaults.C: move stuff into namespace anon
14344 * layout.h: update enum
14346 * lyxfunc.C: use better debug
14348 * minibuffer.h: fix typo
14352 * WorkArea.C: add and use Debug::WORKAREA
14356 * text2.C: code re-organisation, inline helpers
14358 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14360 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14361 std::vector.empty().
14363 2001-11-09 Allan Rae <rae@lyx.org>
14365 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14366 '\n's after tables. Tabular and ERT inset work now makes this no
14369 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14372 * minibuffer.C: fix crash, improve drop-down completion
14374 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14377 * lyxserver.C: invalidate fd's when doing endPipe()
14379 2001-11-08 José Matos <jamatos@fep.up.pt>
14381 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14382 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14385 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14387 2001-11-07 José Matos <jamatos@fep.up.pt>
14390 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14393 * buffer.C (sgmlOpenTag):
14394 * buffer.C (sgmlCloseTag): removed debug info.
14396 * buffer.h (sgmlOpenTag):
14397 * buffer.h (sgmlCloseTag): made public.
14399 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14401 * buffer.C (saveParamsAsDefaults):
14402 * lyx_cb.C (MenuLayoutSave): remove
14404 * LyXAction.C (init):
14406 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14408 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14410 * buffer.C (setPaperStuff): removed from here...
14412 * bufferparams.C (setPaperStuff): ... and moved there.
14414 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14418 * XFormsView.C: add support for drop-down completion
14420 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14422 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14425 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14427 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14430 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14432 * lyx_main.C: change ref to known bugs
14434 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14436 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14437 to work around older babel problems.
14439 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14441 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14443 2001-10-24 Juergen Vigna <jug@sad.it>
14445 * tabular-old.C (ReadOld): below variable changes reflected.
14447 * tabular.[Ch]: added ltType struct for longtable header/footer
14448 defines and changed all instances where they are used. Added
14449 future support for double top/bottom rows.
14451 2001-10-24 José Matos <jamatos@fep.up.pt>
14453 * buffer.h (docbookHandleCaption):
14454 * buffer.C (docbookHandleCaption): removed unused function.
14455 (makeDocBookFile): moved docbook supported version to v4.1.
14457 2001-10-24 José Matos <jamatos@fep.up.pt>
14460 * tabular.C (docbookRow): new function to export docbook code of a row.
14461 (DocBook): now honors the longtable flags.
14463 2001-10-23 José Matos <jamatos@fep.up.pt>
14466 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14467 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14469 * buffer.C (makeLinuxDocFile):
14470 (makeDocBookFile): reworked the preamble, more clean, and with
14471 support for lyx defined entities. Changed the document declaration
14472 to be more XML friendly.
14474 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14475 if we need to output XML that should be done with a filter.
14477 2001-10-22 Juergen Vigna <jug@sad.it>
14479 * sp_pspell.h (class PSpell): add alive function needed in the
14480 controller to see if the spellchecker could be started.
14482 2001-10-22 Juergen Vigna <jug@sad.it>
14484 * buffer.C (insertStringAsLines): modify the font for inserting
14485 chars in certain conditions by calling checkInsertChar(font).
14487 2001-10-19 Juergen Vigna <jug@sad.it>
14489 * text.C (workWidth): use getRow instead of wrong algorithm.
14490 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14492 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14497 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14499 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14501 * text.C (workWidth): do not search for the exact row when
14502 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14503 optimization for big documents.
14505 2001-10-18 Juergen Vigna <jug@sad.it>
14507 * text.C (workWidth): new function with added Inset * parameter.
14509 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14511 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14513 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14514 change return type of getColumnNearX.
14517 * text.C (changeRegionCase): use uppercase/lowercase instead of
14520 (rightMargin): simplify code by factoring out the uses of
14525 (appendParagraph): use Paragraph::size_type
14527 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14529 * vspace.C (asLatexString): add a missing break
14531 2001-10-15 Herbert Voss <voss@perce.de>
14533 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14535 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14537 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14540 2001-10-10 André Pönitz <poenitz@gmx.net>
14542 * lyxfunc.C: removed greek_kb_flag.
14544 2001-10-10 Herbert Voss <voss@perce.de>
14546 * lyx_main.C: delete global string help_lyxdir.
14548 2001-10-09 Herbert Voss <voss@perce.de>
14550 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14552 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14554 * lyx_main.C: added global string help_lyxdir.
14556 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14558 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14560 * lyxrc.C (set_font_norm_type): support iso8859-4
14562 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14564 * LaTeX.C (deplog): add another regex for MikTeX
14566 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14568 * lyxrc.C (set_font_norm_type): support iso8859-3
14570 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14572 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14574 * LaTeXFeatures.C: remove special case of french and index
14576 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14577 before \begin{document}). This solves several incompatibilities.
14579 2001-10-03 Garst Reese <reese@isn.net>
14581 * lyx_cb.C: change CheckTex error msg.
14583 2001-10-03 José Matos <jamatos@fep.up.pt>
14585 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14587 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14589 * .cvsignore: update
14591 * lyx_main.C (commandLineVersionInfo): use new style version info.
14593 * buffer.C (writeFile):
14595 (makeLinuxDocFile):
14596 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14598 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14600 * version.h: update to use stuff in version.C
14602 * version.C.in: new file. Contains version information determined
14603 at compile time. This is a merging of version.h and
14606 2001-10-03 Juergen Vigna <jug@sad.it>
14608 * BufferView_pimpl.C (update): don't change "dirty" status in
14611 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14613 * WorkArea.C (c-tor): re-position version string slightly.
14615 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14617 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14618 revert to previous code.
14620 WorkArea.[Ch]: (show, destroySplash): methods removed.
14622 WorkArea.C: rework code so that it's an amalgam of the codes before and
14623 after the splash screen was moved to WorkArea.
14625 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14628 * vspace.C (inPixels):
14631 * buffer.C (insertStringAsLines):
14632 (asciiParagraph): fix types to be large enough
14634 * lyxlex_pimpl.h: change member status from short to int
14636 * layout.h: fix type of endlabeltype
14639 * kbsequence.C (parse): change return type to string::size_type
14641 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14644 * Bullet.C (bulletSize):
14645 (bulletEntry): do not use short ints as parameters
14647 * BufferView2.C (insertLyXFile): change a char to an int.
14649 * WorkArea.C (WorkArea): remove unneeded floats in computation
14651 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14653 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14655 * paragraph.C (asString): Do not ignore newline/hfill chars when
14656 copying to the clipboard.
14658 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14660 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14661 after a multi-line inset.
14663 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14665 * paragraph.C (validate): Set NeedLyXFootnoteCode
14667 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14669 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14670 and decrease-error to decrease.
14672 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14674 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14675 it more readable (should be equivalent)
14677 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14679 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14681 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14684 of a cursor (row, etc.) after a character has been deleted
14685 (deleteEmptyParagraphMechanism): call the method above on _all_
14686 cursors held by the LyXText when a double space has been
14689 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14691 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14693 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14695 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14696 background. Use greyOut() and the new show() methods to toggle between
14697 the foreground and background. Add code to remove the splash after
14698 its initial showing.
14700 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14701 (create_forms): no longer call Dialogs::showSplash.
14703 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14705 * .cvsignore: add version_info.h
14707 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14709 * version_info.h.in: new file
14711 * Makefile.am: add version_info.h.in
14713 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14714 version_info.h instead of VERSION_INFO
14716 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14718 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14719 The ERT inset now returns string().
14721 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14723 * lyxtext.h, text.C (selectNextWord): renamed as
14724 selectNextWordToSpellcheck.
14726 * text.C (selectNextWordToSpellcheck): Modified to not select
14727 words inside an ERT inset.
14729 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14731 * lyx_cb.C (MenuLayoutSave): change a bit the question
14733 * sp_base.h: include <sys/types.h>
14735 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14737 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14739 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14741 * several files: fix typos in user-visible strings
14743 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14745 * text2.C (pasteSelection): do not set the selection, since it
14746 will be cleared later. Actually, the intent was to fix the way the
14747 selection was set, but I figured rmoving the code was just as good.
14749 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14751 * FontLoader.C (available): Check if font is available without
14754 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14756 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14758 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14760 * lyxrc.[Ch]: added display_graphics variable and associated code.
14762 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14764 * bufferparams.C (hasClassDefaults): new method. Returns true if
14765 the buffer parameters correspond to known class defaults
14767 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14769 * XFormsView.C (show): set minimum size to the main window.
14771 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14773 * text2.C (copySelection):
14775 * lyxfind.C (LyXReplace):
14776 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14777 LyXText::selectionAsString.
14779 * paragraph.C (asString): add "label" argument to the second form
14781 * text2.C (selectionAsString): add "label" argument and pass it to
14782 Paragraph::asString.
14784 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14786 * lyx_main.C (commandLineHelp): remove version information
14788 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14790 * lyx_main.C: add -version commandline option
14792 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14794 * paragraph.h: make the optional constructor arg required instead.
14795 some modifications to other files because of this.
14797 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14799 * lyxserver.C (C_LyXComm_callback): make it static
14801 * lyx_main.C (error_handler): make it static
14803 * lyx_gui.C (LyX_XErrHandler): make it static
14805 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14807 * WorkArea.C: make the extern "C" methods static.
14809 * Makefile.am (lyx_LDADD): simplify
14811 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14813 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14814 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14816 * LyXAction.C (init):
14817 * lyxfunc.C (dispatch): associated code removal.
14819 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14821 * lyxfont.h (isSymbolFont): shut off warning
14823 * text.C (setHeightOfRow):
14824 (getVisibleRow): fix crash with empty paragraphs which have a
14827 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14829 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14832 2001-09-04 José Matos <jamatos@fep.up.pt>
14835 * tabular.C (docbook): rename docBook method to docbook.
14837 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14839 * Makefile.am: add dependencies to main.o.
14841 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14843 * FontLoader.C (available): Return false if !lyxrc.use_gui
14845 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14847 * FontInfo.C (query):
14848 * converter.C (view):
14849 * importer.C (Import):
14850 * exporter.C (Export): Can not -> cannot.
14852 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14854 * BufferView_pimpl.C: allow to create index inset even if
14857 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14859 * buffer.C (getLists): replace boost::tie code with an explicit pair
14860 as boost::tie can break some compilers.
14862 * iterators.h: Added a std:: declaration to the return type of
14865 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14867 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14870 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14872 * iterators.[Ch]: New files. Provide paragraph iterators.
14874 * buffer.C (changeLanguage): Use paragraph iterators.
14875 (isMultiLingual): ditto
14877 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14879 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14881 * FontLoader.C: Support for cmr font.
14883 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14885 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14886 (available): New method.
14888 * FontInfo.C (getFontname): Use scalable fonts even when
14889 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14892 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14894 * converter.C (Formats::view): reverted! Incorrect fix.
14896 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14898 * converter.C (Formats::view): only output the -paper option
14899 if the dvi viewer is xdvi, thereby fixing bug #233429.
14901 2001-08-23 Herbert Voss <voss@perce>
14903 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14905 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14907 * Spacing.h (Spacing): Set space to Default on in the default
14910 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14912 * vc-backend.h (RCS::versionString): add RCS to version
14913 (CVS::versionString): add CVS to version
14915 * vc-backend.C (scanMaster): do not add CVS to version.
14916 (scanMaster): do not add RCS to version
14918 * lyxvc.C (versionString): new method
14920 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14922 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14924 * Spacing.C (set): initialize fval
14926 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14928 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14931 2001-08-16 Juergen Vigna <jug@sad.it>
14933 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14935 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14937 * BufferView_pimpl.C:
14940 * text2.C: setParagraph takes linespacing now
14942 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14944 * LyxAction.C: add internal LFUN_CITATION_INSERT
14946 * LyXView.C: actually apply fix
14948 * bufferlist.C: fix open non-existent file
14950 * lyxfind.C: fix indentation
14952 * lyxfunc.C: remove unneeded assert, fix typo
14954 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14956 * MenuBackend.C: use "Floatname List"
14958 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14960 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14961 when converting LaTeX layout to insetERT.
14962 Generate a non-collapsed float when reading old float
14964 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14966 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14969 2001-08-13 Juergen Vigna <jug@sad.it>
14971 * text.C (fill): return 0 instead of 20 as this seems to be the more
14974 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14976 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14979 2001-08-13 Juergen Vigna <jug@sad.it>
14981 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14983 (SearchBackward): comment out the unlocking of the inset_owner this
14984 should not be needed!
14986 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14988 * Many files: Remove inherit_language, and add latex_language
14990 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14991 collapsible insets.
14993 2001-08-10 Juergen Vigna <jug@sad.it>
14995 * text.C (prepareToPrint): fixed hfill-width in draw!
14997 * BufferView2.C (selectLastWord): save the selection cursor as this
14998 now is cleared in the function LyXText::clearSelection!
15000 2001-08-08 Juergen Vigna <jug@sad.it>
15002 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15003 BACKSPACE type functions.
15005 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15006 is only cutted from the document but not put in the cut-buffer, where
15007 still the old stuff should be.
15009 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15011 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15013 * tabular.C (SetWidthOfCell): fixed special case where the width
15015 (LeftLine): handle '|' in align_special.
15017 (LeftAlreadyDrawed): ditto
15018 (SetWidthOfCell): ditto
15020 2001-08-07 Juergen Vigna <jug@sad.it>
15022 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15024 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15026 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15027 * lyxlex.[hC]: ditto
15029 2001-08-06 Juergen Vigna <jug@sad.it>
15031 * text.C (getVisibleRow): fix up row clearing a bit.
15033 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15035 * minibuffer.C: make sure the X server sees the changes in the input.
15037 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15039 * paragraph.C (getFont): split into...
15040 (getLabelFont): this
15041 (getLayoutFont): and this
15042 * paragraph_pimpl.C (realizeFont): calling this
15044 * text2.C (getFont): split into...
15045 (getLayoutFont): this
15046 (getLabelFont): and this
15047 (realizeFont): all three calling this
15049 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15052 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15054 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15056 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15058 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15059 layouts from the Quote inset insertion.
15061 2001-08-03 Juergen Vigna <jug@sad.it>
15063 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15065 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15066 only if status not is already CHANGED_IN_DRAW (second level).
15068 * text.C (draw): don't set the need_break_row when inside an
15071 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * buffer.C (parseSingleLyXformat2Token): handle more latex
15076 * bufferview_funcs.[hC]: change function names to
15077 begin with small char, adjust other files.
15079 2001-08-02 André Pönitz <poenitz@gmx.net>
15082 BufferView_pimpl.C: remove broken special code for math-greek
15084 2001-08-02 Juergen Vigna <jug@sad.it>
15086 * BufferView_pimpl.C (update): redone this function so that we
15087 update the text again if there was a CHANGE_IN_DRAW.
15089 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15090 (drawFromTo): added a new internal bool which is used by draw() and
15092 (general): some cursor drawing problems fixed.
15094 2001-08-01 Juergen Vigna <jug@sad.it>
15096 * lyxfind.C (LyXFind): fixed
15097 (SearchForward): ditto
15098 (SearchBackward): ditto
15100 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15101 spurius drawing of the cursor in the main area.
15103 * text2.C (status): small fix which could lead to a segfault!
15104 (clearSelection): remove unneeded BufferView param.
15106 2001-08-01 André Pönitz <poenitz@gmx.net>
15108 * lyxfunc.C: small change due to changed mathed interface
15110 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15112 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15114 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15116 * lyxfunc.c: fail gracefully if file doesn't exist
15121 * BufferView_pimpl.C: IsDirWriteable() proto changed
15123 * LyXView.C: fix updateWindowTitle() to store the last title
15125 2001-07-31 Juergen Vigna <jug@sad.it>
15127 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15128 the font (wrong since using of Paragraph::highestFontInRange).
15130 * paragraph.C (highestFontInRange): added a default_size parameter.
15132 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15133 (setHeightOfRow): reformat
15135 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15137 * converter.[hC] + affected files: move to (inital-char)lowercase
15140 * ParagraphParameters.C (ParagraphParameters): remove commented code
15142 * PainterBase.[Ch]: remove commented code
15144 * LaTeXFeatures.h: add "bool floats" for float.sty
15146 * LaTeXFeatures.C (LaTeXFeatures): init floats
15147 (require): handle float
15148 (getPackages): do it with floats
15150 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15152 * BufferView_pimpl.C (Dispatch): improve handling of
15153 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15155 * commandtags.h: #include lyxfont.h here temporarily to avoid
15158 * bufferlist.h: include LString.h here.
15160 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15162 * text2.C (getStringToIndex): new method.
15164 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15166 * *: Reduced header file dependencies all over.
15168 2001-07-30 Baruch Even <baruch@lyx.org>
15170 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15172 2001-07-29 Baruch Even <baruch@lyx.org>
15174 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15176 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15178 * ParameterStruct.h (endif): add a default constructor to make
15179 sure that all variables is initialized.
15181 * ParagraphParameters.C (ParagraphParameters): adjust
15183 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15185 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15186 index; also, check that there is something to index, and that it
15187 does not span over several paragraphs.
15188 (doubleClick): use WHOLE_WORD_STRICT for double click.
15190 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15192 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15195 2001-07-26 Baruch Even <baruch@lyx.org>
15197 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15198 an InsetFig figure, backwards compatible reading of old figure code.
15200 2001-07-27 Juergen Vigna <jug@sad.it>
15202 * text2.C: font.realize function adaption.
15204 * text.C (draw): add a warnings lyxerr text if needed.
15206 * layout.C: font.realize function adaption.
15208 * language.C: add inherit_language and implement it's handlings
15210 * bufferview_funcs.C (StyleReset): remove language parameter from
15211 font creation (should be language_inherit now).
15213 * bufferparams.C (writeFile): handle ignore_language.
15215 * paragraph.C (getFontSettings): the language has to be resolved
15216 otherwise we have problems in LyXFont!
15218 * lyxfont.C (lyxWriteChanges): added document_language parameter
15219 (update): removed unneeded language parameter
15221 * paragraph.C (validate): fixed wrong output of color-package when
15222 using interface colors for certain fonts in certain environments,
15223 which should not seen as that on the final output.
15225 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15227 * BufferView_pimpl.C:
15232 * LyXAction.C: add thesaurus support
15235 * lyxfind.C: add "once" parameter, for thesaurus, to not
15236 move to the next match
15238 2001-07-26 Juergen Vigna <jug@sad.it>
15240 * lyxfont.C (realize): honor ignore_language too!
15243 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15245 * text.C (draw): one place more for ignore_language to not draw
15248 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15250 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15252 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15254 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15255 the minipage conversion problem.
15257 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15259 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15262 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15264 * BufferView.h: don't forward declare WorkArea
15266 * BufferView.C: don't include WorkArea.h
15268 2001-07-25 André Pönitz <poenitz@gmx.net>
15272 * lyxfunc.C: new LFUN 'math-space'
15274 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15276 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15278 * text2.C (toggleInset): call open/close
15280 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15282 * lyxfunc.C (dispatch): add debug for the disabled case
15284 * font.C (buttonText): make similar to rectText
15286 * buffer.C (readInset): comment out parsing of insetlist and
15289 * PainterBase.C (rectText): small correction
15291 * BufferView_pimpl.C: comment out insettheorem and insetlist
15292 * LyXAction.C: ditto
15293 * commandtags.h: ditto
15295 2001-07-24 Juergen Vigna <jug@sad.it>
15297 * text.C (draw): honor the ignore_language.
15299 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15301 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15303 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15306 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15308 * lyxtext.h: remove unused (and unimplemented) methods
15310 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15312 * text.C (getVisibleRow): honor background color
15315 * Painter.h: remove default color argument for fillRectangle
15317 * text.C (backgroundColor): new method
15319 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15321 * text.C (getVisibleRow): adjust
15323 * font.[Ch] (rectText): new method, metrics
15324 (buttonText): new method, metrics
15326 * PainterBase.[hC]: make rectText and buttonText always draw and take
15329 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15331 * ToolbarDefaults.C (read):
15332 * MenuBackend.C (read): allow escaping in all strings
15334 * BufferView_pimpl.C (insertAndEditInset): new method.
15335 (Dispatch): use insertAndEditInset whenever appropriate.
15337 * BufferView_pimpl.C (insertNote): removed
15339 * BufferView_pimpl.C (smartQuote): new method, moved from
15340 BufferView; if an insetquote cannot be inserted, insert a '"'
15343 * BufferView2.C: remove insertCorrectQuote();
15345 * lyxfunc.C (getStatus): Add support for all remaingin
15346 inset-insert lfuns.
15348 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15350 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15351 command (necessary to pass " as parameter of self-insert.
15353 * text.C (selectWordWhenUnderCursor):
15354 (selectWord): add word_location parameter
15355 (selectWordWhenUnderCursor): same + remove special code for word
15357 (selectNextWord): use kind() to guess type of insetspecialchar,
15360 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15361 (insertErtContents): create ert insets as collapsed.
15362 (readInset): better compatibility code for Info inset.
15364 2001-07-20 Juergen Vigna <jug@sad.it>
15366 * lyxfunc.C (dispatch): use always LyXFind now!
15368 * text2.C (init): add a reinit flag so that the LyXText can be
15369 reinited instead of deleted and reallocated (used in InsetText).
15371 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15377 2001-07-18 Juergen Vigna <jug@sad.it>
15379 * text.C (selectNextWord): handle insets inside inset by calling
15380 always the bv->text functions so that we can go up the_locking_inset!
15382 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15383 in strange locations when inside an inset!
15385 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15386 handling to include insets.
15388 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15390 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15392 * LyXAction.C (init):
15394 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15395 LIGATURE_BREAK, since the name is so stupid.
15397 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15399 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15402 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15404 * sp_form.[Ch]: remove.
15406 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15408 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15411 * src/buffer.C (readInset): ditto.
15413 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15415 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15416 menuSeparator(), endOfSentenceDot(), ldots() and
15417 hyphenationPoint(), which are therefore removed.
15418 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15420 * LyXAction.C (init):
15421 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15423 * paragraph.C (getWord): removed.
15425 * BufferView_pimpl.C (Dispatch): use last word or selection for
15426 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15428 * lyx_main.C (queryUserLyXDir): do not ask before creating
15429 user_dir, except if it has been named explicitely.
15431 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15433 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15434 a document of zero size.
15436 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15438 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15439 approriately in the c-tor and in require().
15440 (getPackages): output the appropriate LaTeX for natbib support.
15442 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15443 variables "use_natbib" and "use_numerical_citations" when reading the
15445 (readInset): read the various natbib cite commands.
15446 (validate): white-space change.
15448 * bufferparams.[Ch]: new variables "bool use_natbib" and
15449 "bool use_numerical_citations".
15450 (writeFile): output them in the LyX file.
15452 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15454 * lyxfunc.C (getStatus): add support for all the inset insertion
15457 * text2.C (insertInset):
15458 * paragraph.C (insetAllowed):
15459 * BufferView_pimpl.C (insertInset): update to take in account the
15460 renaming of insertInsetAllowed
15462 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15464 * text2.C (getInset): new method. returns inset at cursor position.
15466 * BufferView_pimpl.C (Dispatch): changes because of this.
15468 * LyXAction.C (init): rename open-stuff to inset-toggle.
15470 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15472 * text2.C (toggleInset): renamed from openStuff; use
15475 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15477 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15479 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15481 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15483 * buffer.C (readLyXformat2): Add filename to the error dialog
15485 2001-07-18 Juergen Vigna <jug@sad.it>
15487 * tabular.C (GetCellNumber): put an assert here instead of the check!
15489 2001-07-17 Juergen Vigna <jug@sad.it>
15491 * BufferView_pimpl.C (toggleSelection): adapted too.
15493 * text.C (selectNextWord): adapted for use with insets.
15494 (selectSelectedWord): ditto
15496 2001-07-17 Juergen Vigna <jug@sad.it>
15498 * sp_spell.C (PSpell): fix initialitation order.
15500 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15502 * paragraph.C: spacing
15504 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15506 * sp_spell.C: repair language selection for pspell
15508 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15510 * lyxfunc.h: change more methods to begin with lower char.
15512 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15514 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15515 for unknown layouts.
15517 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15519 * buffer.C (readLyXformat2): Generate an error dialog if there are
15522 2001-07-16 Juergen Vigna <jug@sad.it>
15524 * sp_spell.C: always compile ISpell part.
15526 * lyxrc.C: added use_pspell entry and it's handling.
15528 2001-07-13 Juergen Vigna <jug@sad.it>
15530 * sp_spell.C: removed double includes.
15532 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15534 Consistent use of Lsstream.h:
15535 * Lsstream.h: added using std::stringstream for consistencies sake.
15537 * buffer.C: removed using std::stringstream
15539 * lyxfont.C (stateText):
15540 * paragraph.C (asString):
15541 * text.C (selectNextWord, selectSelectedWord):
15542 * text2.C (setCounter):
15543 * vspace.C (asString, asLatexString):
15544 std::ostringstream -> ostringstream.
15546 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15548 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15549 * commandtags.h: add LFUN_HELP_ABOUTLYX
15550 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15552 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15554 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15556 * lyx_gui_misc.C: remove spellchecker
15557 * lyxfunc.C: showSpellchecker
15559 * sp_ispell.h: added
15560 * sp_pspell.h: added
15561 * sp_spell.C: added
15562 * sp_form.[Ch]: removed
15563 * spellchecker.[Ch]: removed
15565 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15567 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15569 (simpleTeXSpecialChars): Simply print the input character without
15570 any special translation if pass_thru is set.
15572 * layout.h: Added bool pass_thru to layout class for being able to
15573 implement pass through of a paragraph for Literate Programming.
15575 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15576 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15577 * layout.C (Read): add "passthru" to list of layout tags and add
15578 code to set the pass_thru boolean when it is read.
15580 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15582 * trans_decl.h: remove allowed from KmodInfo
15584 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15585 remove allowed code
15588 * paragraph_pimpl.C (erase): use boost::prior
15590 * Painter.C (text): use data() instead of c_str() when length is
15592 * WorkArea.C (putClipboard): ditto
15593 * font.h (width): ditto
15595 * BufferView2.C: use it-> instead of (*it). for iterators
15597 * paragraph_pimpl.C: ditto
15598 * paragraph.C: ditto
15599 * minibuffer.C: ditto
15600 * language.C: ditto
15602 * encoding.C: ditto
15603 * counters.C: ditto
15604 * converter.C: ditto
15606 * Variables.C: ditto
15607 * TextCache.C: ditto
15608 * MenuBackend.C: ditto
15609 * LyXAction.C: ditto
15611 * FloatList.C: ditto
15612 * DepTable.C: ditto
15613 * ColorHandler.C (LyXColorHandler): ditto
15615 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15617 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15619 * text2.C (openStuff): reintroduce this method (which had been
15620 nuked in NEW_INSETS frenzy).
15622 * lyxfunc.C (Dispatch): when an action has not been handled, use
15623 its name in the error message, not its number.
15625 * paragraph.C (inInset): change method name to begin with lowercase.
15628 * text2.C: updates because of this.
15630 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15632 * ToolbarDefaults.C (add): add spaces in error message
15634 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15636 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15637 (readLyXformat2): rename return_par to first_par, use lyxlex's
15638 pushToken and remove the manual push handling.
15639 (parseSingleLyXformat2Token): add another ert comp. variable:
15640 in_tabular, rename return_par to first_par. handle newlines better
15642 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15644 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15646 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15648 * text2.C (getParFromID): removed
15650 * buffer.C (getParFromID): new method moved form lyxtext.
15651 * BufferView2.C (insertErrors): adjust
15652 (setCursorFromRow): adjust
15653 * BufferView_pimpl.C (restorePosition): adjust
15654 * lyxfunc.C (Dispatch): adjust
15655 * undo_funcs.C (textUndo): adjust
15657 (textHandleUndo): adjust
15658 (textHandleUndo): adjust
15660 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15662 * buffer.C: up' the LYX_FORMAT
15664 * lyxfont.h: turn NO_LATEX on as default
15666 * buffer.C (insertErtContents): new methods of tex style compability.
15667 (parseSingleLyXformat2Token): use it several places.
15668 * tabular.C (OldFormatRead): and here
15670 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15672 * text2.C: remove some commented code.
15675 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15676 * trans.C: changes because of the above.
15678 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15680 * text2.C (setCounter): Fix counters bug with bibliography layout.
15682 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15684 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15685 own member functions
15686 (simpleTeXSpecialChars): ditto
15688 2001-07-06 Juergen Vigna <jug@sad.it>
15690 * a lot of files: changed the access to LyXText::status and the
15691 call of undo-functions.
15693 * undo.[Ch]: added a inset_id to the undo informations.
15695 * undo_funcs.[Ch]: added and moved here all undo functions.
15697 * lyxtext.h: give the status enum a weight, made status_ a private
15698 variable and made accessor functions for it, removed the whole bunch
15699 of undo-functions as they are now in their own file, make some
15700 functions publically available. Added function ownerParagraph with
15703 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15704 made InInset() a const function, added getParFromID() function.
15706 * buffer.[Ch]: added const version for inset_iterator functions,
15707 added getInsetFromID() function.
15709 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15710 changed undo functions for new version.
15712 2001-07-05 Juergen Vigna <jug@sad.it>
15714 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15715 unknow mechanism does not call the proper constructor but only this
15716 one also if I request the other!?
15718 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15720 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15722 * text2.C (LyXText): use initialization lists.
15724 * lyxtext.h (Selection): initialize set_ and mark_
15725 (init): remove method
15727 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15729 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15731 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15733 * screen.[Ch]: change method names to begin with lowercase
15735 * BufferView_pimpl.C (updateScrollbar): simplify further and
15736 hopefully make it a bit faster.
15738 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15740 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15741 calling directly xforms functions.
15743 * Painter.C (Painter):
15744 * lyx_cb.C (MenuWrite):
15745 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15748 * lyx_gui.C: remove bogus guiruntime extern declaration.
15750 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15752 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15754 (redoDrawingOfParagraph): ditto
15755 (redoParagraphs): ditto
15756 (cutSelection): don't create a object for CutAndPaste use the
15757 static method directly
15758 (pasteSelection): ditto
15760 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15763 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15765 * modifications to some other files because of this.
15767 * Makefile.am (lyx_SOURCES): add XFormsView
15769 * XFormsView.[Ch]: new files
15771 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15772 the main window. Move the gui dependent stuff to XFormsView
15774 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15776 * tabular.C (GetCellInset): update cur_cell also in the row/col
15777 version of this function.
15779 * lyxfunc.C: no need to include figure_form.h here.
15785 * lyxvc.C: no need to include forms.h here.
15787 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15789 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15791 * lyxfunc.C (Dispatch):
15793 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15794 constructor argument.
15796 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15798 * paragraph.C (Paragraph): dont't clear, and just set layout.
15799 (makeSameLayout): use params's copy contructor.
15801 * ParagraphParameters.[Ch] (makeSame): delete method
15803 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15805 * Variables.[Ch]: fix indentation, rename set to isSet
15807 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15809 * lyxfunc.C (Dispatch): fix typo
15811 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15813 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15816 * bufferlist.C: include assert.h for emergencyWrite().
15818 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15820 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15821 give up at last (bug #425202) !
15823 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15829 * spellchecker.C: strip spellchecker options and bring up
15830 preferences tab instead
15832 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15834 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15835 the istringstream constructor
15837 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15839 * paragraph.C (getLayout): fix return value
15841 * paragraph.h: do not declare getLayout as inline.
15843 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15845 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15847 * lyxcursor.h (operator<): new func
15848 (operator>): new func
15849 (operator>=): new func
15850 (operator<=): new func
15852 * text.C (changeCase): use selection.start and selection.end
15853 (changeRegionCase): require from to be <= to. Require par to be a
15856 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15858 2001-06-27 Juergen Vigna <jug@sad.it>
15860 * text.C (cursorLeftOneWord): changed to return the cursor and added
15861 overlay with BufferView * parameter which calls this one.
15863 (selectWord): use new getWord function.
15864 (changeCase): renamed from changeWordCase as and extended to work
15865 also on selections.
15867 * lyxtext.h: added enum word_location
15869 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15870 changeCase as this operates now also on selections.
15872 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15874 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15876 * many files: send debug output to Debug::INFO instead of
15879 * converter.C (View):
15881 (Move): send debug output to Debug::FILES instead of console.
15883 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15885 * lyxfunc.C (getStatus): use func_status
15887 * func_status.h: new header, describing the results of
15888 LyXFunc::getStatus;
15890 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15893 2001-06-25 The LyX Project <jug@sad.it>
15895 * buffer.C (sgmlOpenTag):
15897 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15899 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15901 * text2.C: remove some dead code
15903 * tabular.C (GetCellInset): store the last cell checked (gotten)
15905 * tabular.h: add the helper for the speedup
15907 * lyxtext.h: remove some dead code
15909 2001-06-26 The LyX Project <Asger>
15911 * paragraph.C: Change export to LaTeX of alignment to
15912 \begin{center} and family for better roundtrip work with reLyX.
15914 * Tune the math drawing a bit.
15916 2001-06-25 The LyX Project <Asger>
15918 * LColor.C (LColor): New color for math background. New color
15921 2001-06-25 The LyX Project <jug@sad.it>
15923 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15925 * lyxfunc.C (Open):
15926 * bufferlist.C (newFile): do not restrict to files ending with
15929 * BufferView_pimpl.C (MenuInsertLyXFile):
15931 2001-06-24 The LyX Project <jug@sad.it>
15933 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15936 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15938 * lyxtext.h: rename most methods to begin with a small char.
15939 Lots of changes because of this.
15941 * paragraph.C (Paragraph): do not call fitToSize
15942 (erase): call Pimpl::erase
15943 (insertChar): call Pimpl::insertChar
15944 (insertInset): call Pipl::insertInset
15945 (breakParagraph): do not call fitToSize
15946 (breakParagraphConservative): do not call fitToSize
15947 (fitToSize): remove method
15949 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15951 2001-06-24 The LyX Project <Asger>
15953 * Fix Qt compilation^2
15955 2001-06-24 The LyX Project <jug@sad.it>
15957 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15958 depthHook(getDepth()-1).
15961 * ParagraphParameters.h:
15962 * ParameterStruct.h: change type of depth to unsigned int ==
15963 depth_type. Many adaptations to other files before of that.
15965 2001-06-24 The LyX Project <Asger>
15967 * Fix Qt compilation.
15969 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15971 * paragraph.h: renamed several methods to begin with small letter.
15972 several changes to many parts of the code because of this.
15974 2001-06-23 The LyX Project <jug@sad.it>
15976 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15977 rewritten to discard all double spaces when KeepEmpty is off
15978 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15979 to only handle newlines but not fiddle with spaces and friends.
15981 * lyxfunc.C (MenuNew): when doing 'new from template', use
15982 template_path as default directory
15984 2001-06-23 The LyX Project <Asger>
15986 * Clean-up of header file includes all over
15987 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15989 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15991 * paragraph.h: renamed from lyxparagraph.h
15993 2001-06-23 Asger <lyx@violet.home.sad.it>
15995 * Buffer.h: Removed Buffer::resize
15996 * BufferList.h: Removed BufferList::resize
15997 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15998 the document lazily when we change the width, or the font settings.
16000 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16002 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16004 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16006 * buffer.h: remove out of date comment
16008 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16011 * screen.C: fix "theoretical" GC leak
16013 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16015 * LaTeX.C (scanAuxFile):
16016 (deplog): remove trailing \r when reading stream (useful under
16019 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16021 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16022 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16023 and BufferView::theLockingInset(Inset*), so should use them and not
16024 access bv_->text->the_locking_inset directly.
16026 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16028 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16031 * tex-defs.h: remove old unused file
16033 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16035 * BufferView_pimpl.C: fix typo, remove minibuffer message
16036 when buffer has loaded
16038 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16040 * lyxfunc.C (Dispatch): use stringstream
16041 (MenuNew): use stringstream
16042 (Open): use stringstream
16044 * importer.C (Import): use stringstream
16046 * bufferview_funcs.C (CurrentState): use stringstream
16048 * LaTeX.C (run): use stringstream
16050 * BufferView_pimpl.C (savePosition): use stringstream
16051 (restorePosition): use stringstream
16052 (MenuInsertLyXFile): use stringstream
16054 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16067 * vspace.C: removed // -*- C++ -*- as first line.
16070 * version.h: added // -*- C++ -*- as first line.
16072 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16074 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16076 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16079 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16081 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16084 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16086 * gettext.C: include LString.h even when --disable-nls is on.
16088 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16090 * converter.h (Get): changed argument type from int to
16091 FormatList::size_type to avoid unnecessary conversion.
16093 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16096 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16098 * gettext.h: include LString.h even when --disable-nls is on.
16100 2001-06-07 Juergen Vigna <jug@sad.it>
16102 * text.C (BreakAgain): subst spaces with tabs.
16104 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16105 (resizeInsetsLyXText): set force on resizeLyXText.
16107 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16109 * gettext.h (gettext_init):
16110 (locale_init): use a real definition instead of a macro
16112 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16114 * Bufferview_pimpl.C:
16116 * LColor.C: further lcolor tidies
16118 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16120 * BufferView_pimpl.C (updateScrollbar): simplify.
16122 * BufferView2.C: don't include insets/insetinfo.h, change
16123 prototype for insertInset and call the Pimpl version. let
16124 updateInset call Pimpl version.
16126 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16127 gotoInset to BufferView::Pimpl
16129 2001-06-01 Juergen Vigna <jug@sad.it>
16131 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16132 inside a LockingInset (is the update needed at all?).
16134 2001-05-31 Juergen Vigna <jug@sad.it>
16136 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16137 here not the old one otherwise how should we compare it afterwards
16140 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16145 * FontInfo.C: bring C functions into global namespace when
16148 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16150 * LString.h: make sure config.h has been loaded before LString.h.
16152 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16153 (one for each char read by EatLine!).
16155 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16158 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16160 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16161 to the same as the par we break from
16163 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16165 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16167 * MenuBackend.C (expand): also create menu entries for wide
16168 versions of the floats.
16170 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16172 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16174 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16175 frontends/Makefile.am
16181 * tabular.C (getTokenValue): add std::
16183 * tabular-old.C (getTokenValue): add std::
16184 (getTokenValue): ditto
16185 (getTokenValue): ditto
16187 * screen.C (ToggleSelection): adjust
16189 * lyxtext.h: put selection cursors inside a Selection struct.
16191 * lyxfunc.C (moveCursorUpdate): adjust
16193 * lyxfont.C (latexWriteStartChanges): add std::
16195 * lyxfind.C: adjust
16197 * font.h: delete with(char const *, LyXFont const &)
16199 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16201 * FontInfo.C (getFontname): add std::
16203 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16204 (workAreaButtonPress): adjust
16205 (tripleClick): adjust
16207 (moveCursorUpdate): adjust
16210 * BufferView2.C (gotoInset): adjust
16212 2001-05-30 Juergen Vigna <jug@sad.it>
16214 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16215 to check pspell I add this as default as I now have new pspell
16216 libraries and they seem to use this.
16218 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16220 * text2.C (CutSelection): make the cursor valid before the call to
16223 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16225 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16226 relied on 0 terminated strings and other horrors. Bug found due to
16227 the new assert in lyxstring!
16229 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16232 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16234 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16237 * lyxfunc.C (processKeySym): change method of getting to the
16240 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16241 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16242 * BufferView_pimpl.[Ch]: here as private methods.
16244 2001-05-28 Juergen Vigna <jug@sad.it>
16246 * text.C (SetHeightOfRow): added the update() call again as it is
16247 needed to initialize inset dimensions!
16249 2001-05-16 Juergen Vigna <jug@sad.it>
16251 * text2.C (SetCharFont): Add new function with BufferView * and
16252 bool toggleall parameters for setting insets internal fonts.
16253 (SetFont): Freeze the undo as we may change fonts in Insets and
16254 all this change should be inside only one Undo!
16256 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16257 setting font's in insets as for them we have the SetFont function!
16259 2001-05-15 Juergen Vigna <jug@sad.it>
16261 * text2.C (ClearSelection): to be sure we REALLY don't have any
16264 * tabular.C (TeXCellPreamble): fixed the left border problem for
16267 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16269 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16272 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16274 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16275 LFUN_BREAKPARAGRAPH.
16277 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16278 help test to "internal only", similar for LFUN_INSERT_URL
16280 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16281 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16282 auto_region_delete and deadkeys.
16284 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16287 * LColor.C: remove some dead entries, tidy a little
16289 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16291 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16293 (Dispatch): implement LFUN_ESCAPE
16295 * commandtags.h: add LFUN_ESCAPE
16297 * LyXAction.C (init): add entry for LFUN_ESCAPE
16299 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16300 Remove commented code.
16301 (insertNote): moved here
16302 (open_new_inset): moved here
16304 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16307 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16309 * kbmap.C (findbinding): clean it up and make it work correctly.
16311 * lyx_main.C (init): do not pass argc and argv as parameters
16313 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16315 * buffer.C: fix path for OS/2 & Win32
16319 * lyx_main.C: Added os:: class.
16321 * os2_defines.h: update
16323 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16325 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16326 better by trying again with reduced state.
16328 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16330 * lyxrc.C (read): print error about invalid key sequence only when
16331 debugging (because not all latinX keysyms are known to some X
16334 * kbsequence.C (getiso): add a few std:: qualifiers
16335 (getiso): comment out extra return statement.
16337 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16339 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16341 (Dispatch): enhance the accent inset a bit. (not perfect)
16343 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16345 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16347 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16349 * bufferlist.C (emergencyWrite): fix assert() call
16351 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16353 * text.C (InsertChar): Added trivial patch to only send the "you
16354 can not do multiple spaces this way" message once during a
16357 2001-05-08 Baruch Even <baruch@lyx.org>
16359 * Makefile.am: Changed order of libraries to get LyX to link properly
16360 with the gnome frontend.
16362 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16364 * LaTeXFeatures.h: add a std:: qualifier
16366 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16368 * paragraph.C (String): use stringstream
16370 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16372 * paragraph.C (writeFile): remove footflag arg
16374 * buffer.C (makeLaTeXFile): use stringstream
16375 (latexParagraphs): remove footnot gurba
16377 * LaTeXFeatures.C (getPackages): use stringstream
16378 (getMacros): likewise
16379 (getTClassPreamble): likewise
16380 (getFloatDefinitions): new method
16382 * paragraph.C (writeFile): reindent
16385 * WorkArea.h: revert the xpos + etc changes.
16387 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16389 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16391 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16392 (pasteSelection): likewise
16393 * text2.C (CreateUndo): likewise
16395 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16397 * minibuffer.C (peek_event): temporarily reduce the functionality
16398 of the minibuffer (to allow args on lfuns)
16400 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16401 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16403 * buffer.C (readInset): add compability reading of old float
16404 lists, add reading of new style float list.
16405 (readInset): avoid reevaluation of inscmd.getCmdName()
16406 (getLists): reindent
16408 * MenuBackend.C (MenuItem): implement parsing of
16409 md_floatlistinsert and md_floatinsert.
16410 (expand::LastFiles): move initalizaton of iterators out of loop,
16411 avoid reevaluation.
16412 (expand::Documents): introduce typdedef vector<string> Strings,
16414 (expand::ExportFormats): introduce typedef vector<Format const *>
16415 Formats, and use it.
16416 (expand): implement FloatListInsert and FloatInsert.
16418 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16419 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16420 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16422 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16424 (Dispatch::LFUN_FLOAT_LIST): implement
16426 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16428 * LaTeX.C (run): Fix problem with --export code.
16430 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16432 * BufferView.[Ch] (workarea): removed.
16433 (getClipboard) new method; wrapper for workarea()->getClipboard()
16435 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16438 * WorkArea.h (width, height, xpos, ypos): These methods all
16439 returned the dimensions of the work_area sub-area of WorkArea,
16440 resulting in a position error if the WorkArea were resized. Now
16441 return the dimensions of the entire WorkArea.
16443 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16445 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16447 * LaTeX.C (deplog): correct the syntax of regex reg1
16449 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16451 * undo.C: remove !NEW_INSETS cruft
16453 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16455 * text2.C: remove !NEW_INSETS cruft
16457 * text.C: remove !NEW_INSETS cruft
16459 * tabular.C: remove !NEW_INSETS cruft
16461 * spellchecker.C: remove !NEW_INSETS cruft
16463 * lyxtext.h: remove !NEW_INSETS cruft
16465 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16467 * lyxfunc.C: remove !NEW_INSETS cruft
16469 * lyxfind.C: remove !NEW_INSETS cruft
16471 * lyx_cb.C: remove !NEW_INSETS cruft
16473 * figureForm.C: remove !NEW_INSETS cruft
16475 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16477 * buffer.[Ch]: remove !NEW_INSETS cruft
16479 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16481 * CutAndPaste.C: remove !NEW_INSETS cruft
16483 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16485 * BufferView2.C: remove !NEW_INSETS cruft
16487 * BufferView.h: remove !NEW_INSETS cruft
16489 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16491 * Lsstream.h: include LString.h before the sstream headers to
16492 fix problem with gcc 2.95.3 and lyxstring
16494 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16496 * lyx_main.C: add using directives when needed for C functions
16497 declared in std:: namespace.
16499 2001-04-27 Juergen Vigna <jug@sad.it>
16501 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16502 (SetHeightOfRow): comment out the update call should not be needed!
16504 2001-04-13 Juergen Vigna <jug@sad.it>
16506 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16507 (LyXTabular): tried to minimize operator= operations (and realized
16508 hopfully Lars wish).
16510 2001-04-27 Juergen Vigna <jug@sad.it>
16512 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16514 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16516 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16518 * buffer.C (readInset): hack to make listof algorithm work
16520 * BufferView_pimpl.C: hack to make listof algorithm work
16522 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16524 * LyXAction.C: removed all !NEW_INSETS cruft
16525 (init): moved lfun_item in method
16527 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16529 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16531 * BufferView2.C (theLockingInset): white space.
16533 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16535 * minibuffer.C: include <iostream>
16537 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16539 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16541 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16543 * text.[Ch] (TransposeChars): new method
16545 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16547 * call message directly through LyXView instead of through LyXFunc
16548 * BufferView2.C: adjust
16549 * BufferView_pimpl.C: adjust
16550 * FontLoader.C: adjust
16552 * bufferview_funcs.C: adjust
16553 * converter.C: adjust
16554 * figureForm.C: adjust
16555 * importer.C: adjust
16557 * lyx_gui_misc.C: adjust
16558 * lyxfunc.C: adjust
16561 + more files in subdirs
16563 * lyxparagraph.h (size): move up int file
16566 * adjust all uses of Assert to lyx::Assert.
16568 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16569 lyxfunctional in namespace lyx
16570 * layout.C (hasLayout): ditto
16573 (delete_layout): ditto
16574 (NumberOfClass): ditto
16575 * converter.C (GetFormat): ditto
16580 * bufferlist.C (getFileNames): ditto
16581 (emergencyWriteAll): ditto
16584 * MenuBackend.C (hasSubmenu): ditto
16587 * BufferView_pimpl.C (getInsetByCode): ditto
16589 2001-04-18 Juergen Vigna <jug@sad.it>
16591 * vspace.C (asLatexString): fixed the 100% problem.
16593 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16595 * lyxfunc.C (Dispatch):
16597 * minibuffer.h: add a few std:: qualifiers
16599 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16601 * minibuffer.[Ch]: reimplement so that commands is initiated and
16602 run from lyxfunc, simplified som handling, and made the completion
16603 and history code for complete. wip.
16605 * lyxfunc.C (processKeySym): call message
16606 (miniDispatch): new temporary method
16607 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16608 (LFUN_MESSAGE): implement
16609 (LFUN_MESSAGE_PUSH): implement
16610 (LFUN_MESSAGE_POP): implement
16611 (initMiniBuffer): the initial/defualt minibuffer message.
16613 * lyxfont.[Ch]: inline some more getters
16615 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16617 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16619 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16620 (AutoSave): use LFUN_MESSAGE
16621 (Reconfigure): ditto
16623 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16625 * figureForm.C: use LFUN_MESSAGE
16627 * converter.C (runLaTeX): use LFUN_MESSAGE
16629 * bufferview_funcs.C: use LFUN_MESSAGE
16631 (changeDepth): ditto
16633 * bufferparams.h: use boost::
16635 * bufferlist.h: inherit privately from noncopyable
16637 * bufferlist.C (loadLyXFile): remove some commented code.
16639 * buffer.C (runChktex): use LFUN_MESSAGE
16641 * ShareContainer.h: inherit privately from noncopyable
16643 * ParagraphParameters.[hC] (depth): inline it.
16645 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16647 (message): new method
16648 (messagePush): ditto
16649 (messagePop): ditto
16650 (show): init minibuffer
16651 (showState): direct call
16653 * LaTeX.[Ch]: inherit privately from noncopyable
16654 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16655 instead of WriteStatus.
16657 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16659 * BufferView_pimpl.C (buffer): don't init minibuffer
16660 (workAreaButtonPress): use LFUN_MESSAGE
16661 (workAreaButtonRelease): ditto
16662 (savePosition): ditto
16663 (restorePosition): ditto
16664 (MenuInsertLyXFile): ditto
16665 (workAreaExpose): don't init minibuffer
16666 (update): remove commented code, simplify
16668 * BufferView2.C (openStuff): use LFUN_MESSAGE
16669 (toggleFloat): ditto
16672 (copyEnvironment): ditto
16673 (pasteEnvironment): ditto
16678 (updateInset): remove some commented code
16680 * lastfiles.h: inherit privately from noncopyable
16683 * lyx_main.h: ditto
16685 * lyxlex_pimpl.h: ditto
16687 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16688 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16689 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16691 * LyXAction.h: inherit privately from noncopyable, add methods
16692 func_begin, func_end, returning iterators to the func map.
16694 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16695 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16696 (func_begin): new method
16697 (func_end): new method
16699 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16701 (copySelection): ditto
16702 (pasteSelection): ditto
16704 * BufferView.C: whitespace change
16705 * BufferView.h: inherit privately from noncopyable
16707 2001-04-16 Allan Rae <rae@lyx.org>
16709 * tabular-old.C (l_getline):
16710 * spellchecker.C (sc_check_word):
16711 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16712 an unrecognised preprocessor directive. So ensure they're wrapped.
16714 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16716 * src/exporter.C (Export): Give an error message when path to file
16719 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16721 * LaTeX.C (deplog): Always check that foundfile exists.
16723 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16726 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16728 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16730 * tabular.[Ch] (getLabelList): implement new method
16732 * minibuffer.h: comment ouf setTiimer
16734 * minibuffer.C (ExecutingCB): constify res
16735 (peek_event): constify s
16736 (Set): constify ntext
16737 (Init): constify nicename
16739 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16741 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16742 (savePosition): use two params to Minibuffer::Set
16743 (restorePosition): ditto
16745 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16747 * lyx_main.C: include language.h
16749 * Makefile.am (lyx_main.o): add language.h
16751 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16757 * CutAndPaste.C: include gettext.h
16759 * lyxfont.h: remove old hack with ON and OFF.
16762 * lyxfont.h: do not include language.h...
16767 * bufferview_funcs.C:
16773 * paragraph.C: ... but do it here instead
16775 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16777 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16779 * tabular.C: small reformat
16781 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16784 (BreakParagraph): ditto
16785 (SetOnlyLayout): ditto
16788 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16791 * lastfiles.C: removed most using decl, add std:: where needed
16793 * buffer.C: ws changes
16795 * MenuBackend.C (class compare_format): put into anon namespace
16796 (expand): constify label, names, action, action2
16799 * text.C (SingleWidth): constify font
16800 (IsBoundary): constify rtl2
16801 (GetVisibleRow): constify ww
16803 * LaTeX.C (deplog): constify logfile
16805 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16807 (workAreaExpose): constify widthChange, heightChange
16809 * lyxrow.C (par): moved
16812 * lyxrow.h: as inlines here
16814 * lyxfont.h (shape): moved from lyxfont.C
16815 (emph): moved from lyxfont.C
16817 * lyxfont.C (LyXFont): use initialization list for all
16819 (shape): move to lyxfont.h as inline
16820 (emph): move to lyxfont.h as inline
16823 2001-04-04 Juergen Vigna <jug@sad.it>
16825 * vspace.C: had to include stdio.h for use of sscanf
16827 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16830 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16831 independent of xforms.
16833 2001-04-02 Juergen Vigna <jug@sad.it>
16835 * spellchecker.C: fixed namespace placing!
16837 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16839 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16840 the LyXParagraph * is 0.
16842 2001-03-29 Juergen Vigna <jug@sad.it>
16844 * vspace.C: added support for %, c%, p%, l%.
16845 (stringFromUnit): added helper function.
16846 (asLatexString): changed to give right results for the %-values.
16848 * buffer.C: convert the widthp in a width%.
16850 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16852 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16855 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16856 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16858 * lyx_cb.[Ch]: see above.
16860 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16864 * lyx.[Ch]: replaced by figure_form.[Ch].
16868 * lyxfunc.C: changed headers associated with above changes.
16870 2001-03-27 Juergen Vigna <jug@sad.it>
16872 * BufferView_pimpl.C: set the temporary cursor right!
16874 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16876 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16878 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16880 * LString.h: removed "using std::getline"!
16882 * BufferView_pimpl.C (Dispatch): changes due to changes in
16883 InsetInclude::Params.
16885 * buffer.C (tag_name): removed redundant break statements as they were
16886 producing lots of warnings with my compiler.
16888 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16890 * LString.h: add "using std::getline" when using the real <string>.
16892 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16894 * buffer.C: removed bitset usage.
16895 PAR_TAG moved to an anonymous name space.
16896 (tag_name): new funtion, also in the anonymous namespace.
16897 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16898 (makeDocBookFile): clean code. Completed transition from string arrays
16900 (SimpleDocBookOnePar): code clean.
16902 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16904 * tabular.C: add some comments.
16906 2001-03-22 Juergen Vigna <jug@sad.it>
16908 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16909 compatibility read a bit and fixed bug with minipage in different
16912 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16914 * buffer.C (pop_tag): removed.
16915 (push_tag): removed.
16916 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16917 array replaced with vector. Added support for CDATA sections.
16918 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16920 (makeDocBookFile): XML conformant declaration of CDATA section,
16921 fixed bug related to <emphasis> in the first paragraph char.
16922 (sgmlOpenTag): exclude empty tags.
16923 (sgmlCloseTag): ditto.
16925 * buffer.h (pop_tag): removed.
16926 (push_tag): removed.
16928 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16930 * language.h (Languages): added size_type and size().
16932 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16934 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16935 response on compability reading of minipages. One probliem is that
16936 the old usage of minipages was «flertydig»
16938 * several files here and in subdirs: don't use static at file
16939 scope use anon namespaces instead.
16941 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16943 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16944 LaTeX output. This is necessary for Literate document
16947 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16949 * buffer.C: insert hfill when needed.
16951 * tabular.C (l_getline): use string::erase, small whitespace change.
16953 * BufferView_pimpl.C: try the anon namespace.
16954 * WorkArea.C: ditto
16956 2001-03-16 Juergen Vigna <jug@sad.it>
16958 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16959 otherwise it won't open options-dialogs.
16961 * buffer.C: honor pextraWidth(p) on converting minipages.
16963 * tabular.C (l_getline): changed the functions to strip trailing \r.
16965 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16967 * BufferView_pimpl.C:
16968 * minibuffer..C: added "using SigC::slot" declaration.
16970 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16972 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16978 * paragraph.C: ditto
16980 * lyxtext.h: NO_PEXTRA
16982 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16984 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16985 * ParameterStruct.h: ditto
16986 * ParagraphParameters.h: ditto
16987 * lyxparagraph.h: ditto
16989 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16991 * buffer.C: add compability for minipage alignment.
16992 (latexParagraphs): remove unwanted pextra check.
16994 * several files: remove CXX_WORKING_NAMESPACES
16996 * buffer.C (pop_tag): tie is in namespace boost
16998 * BufferView.h: noncopyable is in namespace boost
17000 * lyx_main.h: ditto
17003 * lastfiles.h: ditto
17004 * bufferlist.h: ditto
17005 * ShareContainer.h: ditto
17007 * LyXAction.h: ditto
17010 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17012 * Merging changes from BRANCH_MVC back into HEAD.
17014 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17016 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17018 * BufferView_pimpl.C: change from intl.C
17022 * Makefile.am: move combox.*
17028 * intl.C: remove dialog (covered by prefs)
17030 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17032 * lyxfunc.C (Dispatch): removed redundant break statement.
17034 2001-03-14 Juergen Vigna <jug@sad.it>
17036 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17038 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17040 * buffer.C: add hack to fix compability reading of minipages.
17042 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17044 * buffer.C (getLists): Cleanup.
17046 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17048 * lyxfont.C (update): don't honor toggleall on font size.
17050 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17054 * Makefile.am: moved to frontends/xforms/
17058 * BufferView_pimpl.C: changes for moved mathpanel
17060 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17062 * gettext.h: fix gettext_init() in --disable-nls
17064 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17066 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17068 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17071 * lyx.h: strip external form
17073 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17075 * BufferView_pimpl.C: add comment, destroySplash()
17077 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17079 * BufferView_pimpl.C:
17083 * lyxfunc.C: use re-worked insetinclude
17085 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17087 * buffer.C: add using std::stringstream.
17089 * lyx_cb.C: readd using std::ios.
17091 * buffer.C: add using std::map.
17093 * BufferView_pimpl.C: add using std::vector.
17095 * ShareContainer.h: add std:: to swap.
17097 * buffer.h: add some typedefs
17098 * buffer.C (getLists): use them
17099 (getLists): renamed from getTocList.
17100 add a counter for the different float types and use it in the
17102 (getLists): use the same counter for the NEW_INSETS and the "non"
17105 * lyx_cb.h: remove unused items, includes, using etc.
17107 * ShareContainer.h: remove some commented code, add more comments
17108 and "documentation".
17110 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17112 * buffer.C (getTocList): make the list also when NEW_INSETS is
17115 * buffer.h: remove TocType
17117 * buffer.C (getTocList): change to return a map<string,
17118 vector<TocItem> >, implement for dynamic number of list.
17120 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17121 * text2.C (PasteSelection): adjust
17122 * CutAndPaste.C (pasteSelection): adjust
17124 * FloatList.C (FloatList): update from the new_insets branch.
17125 * Floating.[Ch]: ditto
17126 * LaTeXFeatures.C: ditto
17128 * lyxlex_pimpl.C: ditto
17130 * paragraph.C (Last): remove when NEW_INSETS is defined.
17132 * other file: changes because of the above.
17134 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17136 * lyxparagraph.h: rename next to next_, previous to previous_,
17137 make them private for NEW_INSETS. Rename Next() to next(),
17138 Previous() to previous().
17140 * other files: changes because of the above.
17142 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17145 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17148 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17150 * main.C (main): pass lyx_localedir to gettext_init().
17152 * gettext.h: remove locale_init and gettext_init macros
17154 * gettext.C (locale_init): new function
17155 (gettext_init): new function
17157 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17160 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17162 * Moved credits to frontends:
17163 * credits.[Ch]: removed
17164 * credits_form.[Ch]: removed
17165 * lyx_gui_misc.C: remove credits stuff
17168 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17170 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17172 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17173 unneeded destructor.
17175 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17176 a standalone pointer again.
17178 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17180 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17186 * ToolbarDefaults.C:
17195 * BufferView_pimpl.C: use new file dialog in GUII
17198 * lyx_cb.C: remove LayoutsCB to Toolbar
17200 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17202 * ShareContainer.h (get): add std:: qualifier
17204 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17206 * ShareContainer.h: define a proper ShareContainer::value_type
17207 type (and use typename to please compaq cxx)
17209 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17211 * lyxparagraph.h: move serveral local vars to
17212 ParameterStruct/ParagraphParameters., use ShareContainer in
17213 FontTable., make vars in FontTable private and add getter and
17216 * paragraph.C: changes because of the above.
17218 * lyxfont.h: remove copy constructor and copy assignment. (the
17219 default ones is ok), move number inside FontBits. move inlines to
17222 * lyxfont.C: add number to initializaton of statics, move several
17223 inlines here. constify several local vars. some whitespace
17224 cleanup. Dont hide outerscope variables.
17226 * Spacing.h: add two new constructors to match the set methods.
17228 * ShareContainer.h: new file, will perhaps be moved to support
17230 * ParameterStruct.h: new file
17232 * ParagraphParameters.h: new file
17234 * ParagraphParameters.C: new file
17236 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17237 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17239 * BufferView_pimpl.C: ParagraphParameter changes.
17240 * buffer.C: Likewise.
17241 * bufferview_funcs.C: Likewise.
17242 * text.C: Likewise.
17243 * text2.C: Likewise.
17245 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17247 * lyxfind.C (LyXReplace): do not redefine default argument in
17249 (IsStringInText): ditto
17250 (SearchForward): ditto
17251 (SearchBackward): ditto
17253 2001-03-06 Juergen Vigna <jug@sad.it>
17255 * lyxfind.C (IsStringInText): put parentes around expressions.
17257 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17259 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17261 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17263 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17265 * stl_string_fwd.h: add comment
17267 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17270 * tabular.C: remove unused DocBook methods
17276 killed DO_USE_DEFAULT_LANGUAGE
17278 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17280 * lyx_gui.C: do not include language.h.
17282 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17283 arguments in function implementation.
17285 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17287 * BufferView_pimpl.C: add <ctime>
17289 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17291 * BufferView_pimpl.C: add using std::find_if
17293 2001-02-27 José Matos <jamatos@fep.up.pt>
17295 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17298 2001-02-11 José Matos <jamatos@fep.up.pt>
17300 * buffer.C (makeDocBookFile): command styles now have a parameter as
17301 "title" by default.
17303 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17305 * layout_forms.[Ch]: removed
17306 * lyx_cb.[Ch]: out character
17307 * lyx_gui.C: out character
17308 * lyx_gui_misc.C: out character
17309 * bufferview_funcs.C: : out character,
17310 added toggleall as parameter in ToggleAndShow
17312 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17314 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17316 * text2.C (SetCurrentFont): Disable number property at boundary.
17318 2001-02-26 Juergen Vigna <jug@sad.it>
17320 * lyxfunc.C (getStatus): added a string argument override function so
17321 that this is correctly called from LyXFunc::Dispatch if it contains a
17322 do_not_use_argument which is used!
17323 (Dispatch): added check for "custom" export and call appropriate func.
17325 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17327 * lyxrc.C: Add language_command_local, language_use_babel and
17328 language_global_options.
17330 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17332 * buffer.C (makeLaTeXFile): Use language_use_babel and
17333 language_global_options.
17335 2001-02-23 Juergen Vigna <jug@sad.it>
17337 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17338 which works with LyXText and putted it inside BufferView. Here now we
17339 only call for that part the BufferView::Dispatch() function.
17341 * BufferView.C (Dispatch): added.
17343 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17344 functions which needs to use a LyXText over from LyXFunc.
17345 (MenuInsertLyXFile): added
17346 (getInsetByCode): added
17347 (moveCursorUpdate): added
17348 (static TEXT): added
17350 2001-02-22 Juergen Vigna <jug@sad.it>
17352 * BufferView_pimpl.C (update): call a status update to see if LyXText
17355 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17357 * vc-backend.C (revert): implement for CVS
17358 (getLog): implement for CVS
17360 2001-02-20 Juergen Vigna <jug@sad.it>
17362 * text2.C (ClearSelection): added BufferView param for inset_owner call
17364 * lyxfunc.C (TEXT): added this function and use it instead of
17365 directly owner->view()-text of getLyXText().
17367 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17369 * src/layout_forms.C: out preamble
17370 * src/layout_forms.h: out preamble
17371 * src/lyx_cb.C: out preamble
17372 * src/lyx_cb.h: out preamble
17373 * src/lyx_gui.C: out preamble
17374 * src/lyx_gui_misc.C: out preamble
17375 * src/lyxfunc.C: connect with guii preamble
17377 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17379 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17381 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17383 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17384 whether to run bibtex.
17386 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17388 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17390 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17392 * Makefile.am (lyx_SOURCES): removed bibforms.h
17394 * vspace.h: doxygen
17396 * text.C (GetVisibleRow): make several local vars const
17398 * tabular.C: small cleanup.
17400 * lyxserver.C (callback): use compare instead of strncmp
17402 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17403 inlines to after class or to paragraph.C
17405 * lyxfont.h: remove friend operator!=
17407 * converter.h: move friend bool operator< to non friend and after
17410 * combox.h: small cleanup
17412 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17413 to inlines after class def.
17415 * buffer.C (pop_tag): use string operations instead of strcmp
17417 * bmtable.c: doxygen, small cleanup
17419 * LaTeX.h: remove friend operator==
17421 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17433 * BufferView_pimpl.C:
17434 * BufferView.[Ch]: remove cruft
17436 2001-02-14 Juergen Vigna <jug@sad.it>
17438 * lyxfunc.C: removed #if 0 unused code
17440 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17442 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17444 * text2.C (SetSelection): added a BufferView * parameter
17446 2001-02-13 Juergen Vigna <jug@sad.it>
17448 * lyxfunc.C (Dispatch): fixed protected blank problem.
17449 * BufferView2.C (protectedBlank): added LyxText * parameter.
17451 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17452 (AppendColumn): same as above for column_info.
17454 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17455 (moveCursorUpdate): use a LyXText param for support of InsetText.
17457 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17458 (tripleClick): ditto
17460 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17462 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17464 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17466 * text2.C (SetSelection): set correct update status if inset_owner
17467 (ToggleFree): ditto
17469 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17471 * tabular.C: remove some commented code.
17473 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17475 * BufferView_pimpl.C: call hideSplash()
17477 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17480 * bibforms.h: remove
17483 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17484 add LFUN_CHILD_CREATE
17486 * counters.h: fix tiny typo
17491 * lyx.C: move splash to frontends/xforms/
17493 * lyx_gui_misc.C: move Include and Bibform to frontends
17495 * lyxvc.h: clarify comment
17497 * vspace.C: tiny housekeeping
17499 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17501 * text.C (PrepareToPrint): RTL Fix.
17503 * paragraph.C (GetUChar): New method.
17504 (String): Use GetUChar.
17506 * buffer.C (asciiParagraph): Use GetUChar.
17508 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17510 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17512 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17515 * buffer.C: rename to getLogName(), handle
17516 build log / latex log nicely
17518 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17521 * MenuBackend.h: remove support for reference menuitem type.
17523 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17525 * BufferView_pimpl.C: housekeeping
17526 * BufferView_pimpl.h:
17531 * minibuffer.h: move Timeout GUI-I
17533 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17535 * lyxrc.C (read): Update converters data-structures.
17537 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17539 * LaTeX.h (operator!=): add operator != for Aux_Info
17541 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17543 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17545 * LaTeXLog.C: deleted, useful code moved to Buffer
17548 * buffer.C: new function getLatexLogName()
17554 * lyxfunc.C: use frontends for LaTeX and VC logs
17556 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17558 * LaTeX.h: yet another std:: that Allan forgot.
17560 * Variables.C (set): renamed from isset(), because this clashes
17561 with some HP-UX macros (grr).
17563 2001-02-06 Allan Rae <rae@lyx.org>
17565 * LaTeX.h: Another bug fix. Missing std:: this time.
17567 2001-02-04 Allan Rae <rae@lyx.org>
17569 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17570 floats problem. I've left it commented out because it's not quite
17571 correct. It should also test that the current object is a table or
17572 figure inset. But I haven't gotten around to figuring out how to do
17573 that. I *think* it'll be something like: "table" == inset.type()
17575 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17578 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17580 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17581 all the citation/databases/styles in the auxilary file.
17582 (run): Rerun latex if there was a babel language error.
17584 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17586 * text.C (Backspace): Preserve the font when changing newline char
17588 (BreakParagraph): If the cursor is before a space, delete the space.
17590 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17592 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17594 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17595 new argument (code).
17596 (ChangeCitationsIfUnique): New method.
17598 * paragraph.C (GetPositionOfInset): Handle bibkey.
17600 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17602 * BufferView_pimpl.h: change type of Position::par_pos to
17603 LyXParagraph::size_type.
17605 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17607 * BufferView_pimpl.C (savePosition, restorePosition): Write
17608 messages to minibuffer.
17610 2001-01-28 José Matos <jamatos@fep.up.pt>
17612 * buffer.C (makeDocBookFile): adds support for document language.
17613 A silly restriction on the name of LatexCommand types where removed.
17614 Added support for CDATA sections, allows to chars unescaped, used
17615 among others in code, to avoid escape < and >.
17617 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17619 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17620 saved positions instrad of a stack. Furthermore, a position is
17621 stored using paragraph id/paragraph position.
17623 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17624 Remove LFUN_REF_BACK.
17626 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17628 * converter.C (dvipdfm_options): New method.
17630 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17632 * vspace.C (isValidLength): Fix for empty input string.
17634 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17636 * LyXAction.C (init): change description of LFUN_FIGURE to
17639 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17641 * LaTeX.C: add using directive
17643 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17645 * MenuBackend.C (expand): Fix the sorting of the formats.
17647 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17649 * lyx_main.C: tiny error message fix
17651 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17653 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17654 calling fl_initialize(). This fixes the problem with ',' as
17655 decimal separator in text files.
17657 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17659 * trans.C (process): Fix the keymap bug.
17661 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17663 * LaTeX.C (scanAuxFiles): New method. Provides support for
17664 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17665 (scanLogFile) Scan for "run BibTeX" messages.
17667 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17668 OT1 font encoding. Also, load the aecompl package if the ae
17671 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17673 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17675 * texrow.C (increasePos): turn two error messages into debug
17678 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17680 * LaTeX.C (scanAux): Handle the \@input macro.
17681 (runBibTeX): Use scanAux().
17683 * language.C (latex_options_): New field.
17685 * LaTeXFeatures.C (getMacros): Add language macros.
17687 * buffer.C (makeLaTeXFile): Small fix.
17689 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17691 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17693 * text2.C: add a using directive.
17695 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17700 * lyxfunc.C: kill LyXBell.
17702 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17704 * text.C (IsBoundary): Remove the error message
17706 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17708 * lyxrc.C (setDefaults): Correct initialization value for
17711 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17713 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17716 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17717 and GotoNextNote().
17719 * src/LyXAction.C: Added reference-next.
17721 * text.C (InsertChar): Use contains instead of strchr.
17723 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17725 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17727 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17728 alignment commands (when needed).
17730 * text.C (InsertChar): Add ':' to number separator chars.