1 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5 * text2.C (getStringToIndex): constify cur argument.
7 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
8 argument has been given
9 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
10 try to invoke LFUN_INSET_APPLY).
12 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
13 if no inset was created by doInsertInset
14 (doInsertInset): return true if an inset has been inserted.
16 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * vspace.C (asGUIName): new method. A version of the space
19 suitable for showing on screen.
21 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
24 * lyxrc.C: rename "ASCII" to "Plain Text"
26 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * buffer_funcs.C (expandLabel): take a Buffer as argument;
29 translate the labelstring.
30 (setCounter): translate labelstring as needed.
32 * output_docbook.C (makeCommand): fix expandLabel invokation
34 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
36 * BufferView.C: fix dialog title
38 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
40 * lyx_main.C (priv_exec): fix logic error with help from Angus
41 * lyx_main.C (parse_execute): set is_gui = false and remove now
42 obsolete comment about a segfault
44 2005-05-18 Angus Leeming <leeming@lyx.org>
46 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
48 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
50 * tabular.[hC]: added setCellInset to fix tabular paste.
52 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
54 * buffer.C (save): check if destination is writable before trying
57 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
59 * BufferView_pimpl.C (update): fix processEvents -caused update
62 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * buffer_funcs.C (setCounter): fix test for numbering of
67 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
68 depth correctly; use optional argument when it exists
70 * lyxtextclass.C: remove unused MaxCounterTags enum
71 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
72 (max_toclevel, min_toclevel): new methods.
74 * MenuBackend.C (expandToc2): fix case where depth is smaller than
75 the smallest depth in toc.
77 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
78 layouts that should not appear in a table of contents.
80 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * cursor.h (undispatched, noUpdate): add comments from André
84 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
88 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
90 2005-05-07 André Pönitz <poenitz@gmx.net>
92 * cursor.[Ch] (leaveInset): new function
94 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
98 2005-05-04 Angus Leeming <leeming@lyx.org>
100 * lyxfunc.C (getStatus): disable the spell checker dialog if
101 none of USE_[AIP]SPELL are defined.
103 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
105 * tabular.C (setWidthOfCell): remove obsolete comment
107 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
109 * paragraph.C (bibitem):
110 * buffer_funcs.C (setCounter):
111 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
113 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * text3.C (getStatus): immediately return after setOnOff
117 * rowpainter.C: fix drawing of appendix start
119 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
121 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
122 SwitchBetweenClasses and remove the unused return value.
123 Handle character styles, too
125 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
127 * factory.C (createInset): handle undefined character styles
129 2005-05-02 Angus Leeming <leeming@lyx.org>
131 * buffer.C: protect the #include of utime.h with a preprocessor
134 2005-05-02 Angus Leeming <leeming@lyx.org>
136 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
137 function so that auto-saving works, albeit in a blocking manner.
139 * Makefile.am: make compilation of the client sub directory, of
140 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
141 on conditionals set at configure time.
143 * SpellBase.[Ch]: no longer an abstract base class. Instead,
144 it can be compiled in its own right but has no-op functionality.
146 * aspell.C, pspell.C: remove preprocessor guards. The files should
147 be compiled only if the necessary functionality exists.
149 * lyxserver.C, lyxsocket.C: disable on Windows.
151 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
153 * text.C (leftMargin): Fix the parindent use bug (1764)
156 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
158 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
161 2005-04-25 Angus Leeming <leeming@lyx.org>
169 include <config.h> in .C files, not .h ones.
171 protect headers inside preprocessor guards.
173 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * FuncStatus.h (StatusCodes): document
177 2005-04-21 André Pönitz <poenitz@gmx.net>
179 * FuncStatus.h (enabled, onoff): document
181 2005-04-19 Angus Leeming <leeming@lyx.org>
183 * BufferView_pimpl.C (cursorToggle): no longer test whether
184 any child processes have been reaped before calling
185 handleCompletedProcesses().
187 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
189 * text3.C (dispatch): fix, finally fix, the language problem in
190 new lyxtexts, without disabling on-the-fly font changes (Helge's
193 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
195 * text3.C (dispatch): set cursor on double/triple click events
198 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
201 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
203 * rowpainter.C (paintFirst): simplify the code a little bit. In
204 particular, remove the test for secnumdepth.
205 * text.C (setHeightOfRow): only allocate space for chapter number
206 when updateCounters provided an actual label, instead of looking
207 at secnumdepth directly.
209 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
211 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
212 paragraphs when secnumdepth is large enough or, for environments,
213 when they are not the first in a sequence.
215 2005-04-17 Angus Leeming <leeming@lyx.org>
217 * buffer.C (makeLaTeXFile): replace code to manipulate a path
218 containing space and '~' characters with a call to latex_path().
220 2005-04-17 Angus Leeming <leeming@lyx.org>
222 * converter.C (convert): protect all args of convertDefault.sh
225 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * text3.C (dispatch): change the layout to "Caption" after inserting
230 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
232 * text3.C (dispatch): fix language problem in newly created
233 textinsets (and main text) in non-english docs
235 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
237 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
238 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
239 * text3.C (getStatus): disable LFUN_INSET_MODIFY
241 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
246 * rowpainter.C (getFont): Fix metrics bug introduced by inset
249 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
251 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
252 output of \item arguments without trailing text.
254 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
256 * FontIterator.C (operator*): avoid a copy of the font.
258 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
260 * rowpainter.C (getFont): fix language bug from previous fix
262 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
264 * rowpainter.C (RowPainter, getFont): fix font inside inset
267 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
269 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
270 preventing inserted font, deco, delim insets jumping to start of
273 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * lyxfunc.C (dispatch): translate message before sending it to the
278 2005-03-29 Angus Leeming <leeming@lyx.org>
280 * lyx_main.C (priv_exec): call os::internal_path on each file passed
281 to LyX on the command line.
283 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
285 * vc-backend.C: use QuoteName to protect file names wherever
288 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
291 * BranchList.h: fix bugs 1844,1845: document settings don't
294 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
296 * lyxrc.C (setDefaults, read, output, getDescription): add support
297 for tex_allows_spaces.
299 * exporter.C (Export): allows files in directory containing spaces
300 if tex_allows_spaces is true.
302 * buffer.C (makeLaTeXFile): if the document path contains spaces,
303 output it in double quotes.
305 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
307 * rowpainter.C: use default text height for drawing change tracker
310 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
312 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
314 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
316 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
317 directory is missing.
319 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
321 * text2.C: fixed the fix, extended to other case.
323 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
325 * text2.C: fix for cursor up/down stuck in math [bug 1792]
327 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
329 * text2.C (cursorUp): get rid of a crash
330 * text.C (x2pos): add an assert
332 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
334 * lyxfunc.C (getStatus): fix warning when assertions are disabled
338 * dociterator.C: include <boost/current_function.hpp>, which is
339 needed when assertions are disabled.
341 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
343 * text2.C: fix for stuck cursor when traversing two
344 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
346 2005-02-25 Andreas Vox <avox@arcor.de>
348 * output_docbook.C (makeParagraph): suppress trailing newline
349 after a run of paragraphs
351 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
353 * paragraph.C: fix for confused change tracker when pasting
354 text that begins with a lineseparator. [bug 1827]
355 (setChange(0, Change::INSERTED);)
357 * paragraph_funcs.C: fix for lost changes on triple-paste
358 in change tracking mode [bug 1827] (par.setChange()).
360 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
362 * text2.C (updateCounters, setCounter, expandLabel): move to
365 * buffer_funcs.C (updateCounters): turn into a free standing
366 function and add a buffer parameter. Remove dead code for tracking
368 (setCounter): change into a free-standing function which gets a
369 dociterator as argument. Use this iterator to fix captions in a
370 simple way. When no float is found above the caption, use the
371 labelstring of the caption layout as default.
373 * text.C (breakParagraph, backspace):
374 * text2.C (init, setLayout, changeDepth):
375 * text3.C (dispatch):
376 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
379 * dociterator.C (forwardPar): make it much faster by calling
380 forwardPos() only when really necessary.
382 * output_docbook.C (makeCommand): adapt to expandLabel move.
384 * cursor.C: remove unused variable
386 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
388 * paragraph_funcs.C: fix crash when pasting insets in change
389 tracking mode [bug 1277] (honour change type in moveItem).
391 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
395 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * BufferView.C (setCursor): change to use a DocIterator.
398 (gotoLabel): use BufferView::setCursor (other part of bug 781).
399 (putSelectionAt): adapt to BufferView::setCursor change.
401 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
402 moved here from LyXText and rewritten to use proper cursor
403 methods. Fixes bug 1787, 616 and 835.
405 * BufferView_pimpl.C (restorePosition): set the cursor correctly
406 when inside an inset (part of bug 781).
407 (dispatch): adapt to change of BufferView::setCursor.
408 (getStatus, dispatch): handle LFUN_GOTOERROR,
409 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
411 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
412 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
413 * text3.C (gotoNextInset, gotoInset): removed.
415 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
417 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
419 2005-02-15 Angus Leeming <leeming@lyx.org>
421 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
422 can be used meaningfully in a comparison.
424 2005-02-13 André Pönitz <poenitz@gmx.net>
426 * bufferview_funcs.C (coordOffset): improve cursor drawing
428 2005-02-13 André Pönitz <poenitz@gmx.net>
430 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
431 * Cursor.C (dispatch): use fixIfBroken
432 * lyxfunc.C (getStatus): use fixIfBroken
434 2005-02-15 Angus Leeming <leeming@lyx.org>
436 * lyx_main.C (error_handler):
438 * lyxrc.C (setDefaults):
440 #include "environment.h".
442 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
444 2005-02-15 Angus Leeming <leeming@lyx.org>
446 * lyxserver.C (startPipe): squash MSVC warning "local variable
447 'fd' used without having been initialized".
449 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
451 * BufferView_pimpl.C: revert accidental commit.
453 2005-02-14 André Pönitz <poenitz@gmx.net>
455 * dociterator.[Ch]: new member forwardPosNoDescent(),
456 which doesn't enter nested insets.
457 * text2.C (setFont): use forwardPosNoDescent() instead
458 of ForwardPos() (fixes crash on font change).
460 2005-02-13 Angus Leeming <leeming@lyx.org>
462 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
463 only if lyxrc.path_prefix is not empty.
465 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
467 * bufferparams.C (readGraphicsDriver): prevent crash
469 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
471 * text2.C (setCounter): check for inInset() == 0
473 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
475 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
476 but use update() to get correct screen display; use convert
477 instead of istringstream.
478 (getStatus): handle LFUN_GOTO_PARAGRAPH
480 * lyxfunc.C (dispatch, getStatus): do not handle
481 LFUN_GOTO_PARAGRAPH here.
483 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
485 * text3.C (dispatch): size() -> depth()
487 * text2.C: remove some debug output
489 * paragraph.C: ws changes only
491 * lyxfunc.C (getStatus): size() -> depth()
493 * dociterator.h (clear, push_back, pop_back, internalData,
494 operator[], resize, empty): new functions
495 Make StableDocIterator and operator== be friends. Don't inherit
496 from std::vector use a privat class variable slices_ instead.
499 * dociterator.C: update because of not inheriting from std::vector
500 anymore. Call explictly to slices_ instead. Use depth() instead of
501 size() and top() instead of back()
503 * cursor.C: chagne size() -> depth and back() -> top(). Also
504 remove some direct operator[](i) calls in favour of foo[i]
505 (getFont): remove some dead code
507 * bufferview_funcs.C (coordOffset): size() -> depth()
509 * buffer.C: ws changes only
511 * CutAndPaste.C (eraseSelection): back() -> top()
513 * BufferView_pimpl.C (selectionRequested): back() -> top()
515 * BufferView.C (setCursor): size() -> depth()
517 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
519 * text3.C (cursorPrevious): return true if depm changed something
521 (dispatch): rename sl to oldTopSlice, remove moving use the new
522 NoUpdate func attrib instead. Make sure that needsUpdate is set
523 for function that have NoUpdate, but where depm might have changed
526 * text2.C (cursorLeft): make us return true if depm changed
529 (cursorUpParagraph): ditto
530 (curosrDownParagraph): ditto
531 (cursorUp, cursorDown): ditto, make sure to read comments in code
532 (deleteEmptyParagraphMechanism): remove an assert, also return
533 true if just a single char was deleted.
535 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
536 cursor that we modify, to avoid modifying an active cursor before
537 we call setCursor. This allows depm to run. Also return true if
538 depm deleted something.
540 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
541 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
542 cursorDownParagraph, cursorPrevious and cursorNext, return true if
543 something was changed in the buffer because of them (ie. depm run)
545 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
546 debug messages. Make update by default be false. Make sure that
547 the result of update is retained throught several calls down to
550 * LyXAction.h: add a new func_attrib: NoUpdate
552 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
553 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
554 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
556 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
558 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
560 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
561 bv_->owner(), bv_->buffer() by direct references to the private
563 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
564 (getStatus): isSavedPosition() is in BufferView::Pimpl.
565 (fitCursor): center() is in BufferView::Pimpl.
566 (getStatus, trackChanges, dispatch): no need for a temporary buf
568 (fitCursor, workAreaDispatch): use workarea().workheight()
570 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
572 * CutAndPaste.C (pasteSelectionHelper): fix a crash
574 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
576 * buffer.C: format up to 241.
577 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
578 break if pasting into ERT
579 * lyxfunc.C (getStatus): suppress mathpanel and
580 LFUN_DIALOG_SHOW_NEW_INSET in ERT
582 2005-02-01 Angus Leeming <leeming@lyx.org>
584 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
586 2005-02-01 Angus Leeming <leeming@lyx.org>
588 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
589 calling fs::is_directory().
591 2005-01-31 Angus Leeming <leeming@lyx.org>
593 * lyx_main.C (priv_exec): specify explicitly the relative location
594 of the top level build directory when run in-place.
596 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
598 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
599 LyXText containing the cursor, not the top-level one.
601 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
603 (insertStringAsLines): rename par to pit; use temporary variable
604 par to hold a Paragraph; do not store par.layout() in a variable,
605 since the pointer may die when breaking paragraphs; pass pars to
606 breakParagraph() instead of Buffer::paragraphs().
608 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
610 * lyxlex_pimpl.h: #include <fstream>.
612 * BufferView.[Ch] (getLyXText): add a const version.
614 * BufferView_pimpl.C: add debug aids.
619 * paragraph_funcs.h: add commentary explaining what the class does.
622 * coordcache.[Ch]: add lots of commentary.
623 (startUpdating, doneUpdating): debug aids.
624 (arrays, insets, parPos, getParPos): accessors to private data.
626 * cursor_slice.[Ch] (text): add a const version.
627 * dociterator.[Ch] (text, innerText): add const versions.
629 * lyxtext.h (breakParagraph): change the keep_layout arg to a
632 * paragraph.C (getRow, pos2ros): add asserts.
634 * paragraph.h: add commentary. Lots of.
636 * paragraph.[Ch] (metrucs, draw): removed.
639 * rowpainter.[Ch]: const-correct changes.
641 * text.C: various obvious clean-ups. Removal of ancient cruft.
644 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
646 * vc-backend.C (find_file): rewrite to use boost.filesystem
649 * main.C (main): set default name check for boost.filesystem to
652 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
655 (actOnUpdatedPrefs): ditto
657 * lyx_main.C (init): rewrite to use boost.filesystem
658 (queryUserLyXDir): ditto
660 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
661 (getContentsOfAsciiFile): ditto
663 * lastfiles.C (readFile): rewrite to use boost.filesystem
665 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
667 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
670 * buffer.C (Buffer): adjust for destroydir
671 (getLogName): rewrite to use boost.filesystem
673 (save): use fs::copy_file (from fs_extras)
675 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
677 * LaTeX.C (run): rewrite to use boost.filesystem
678 (scanAuxFiles): ditto
679 (handleFoundFile): ditto
681 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
683 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
685 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
687 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
689 * lyxlayout.[Ch]: change some vars from float to double
691 * buffer.C (readFile): make a local var const
693 * Several files: use convert<> instead of atoi,strToXXX and friends
695 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
697 * LaTeXFeatures.[Ch]: Add a static list packages_ that
698 holds the contents of packages.lst. New functions getAvailable
699 and isAvailable to parse and check that list, resp.
703 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
705 * bufferparams.[Ch]: new param output_changes.
707 * Buffer.C: increase file format to 240.
708 Use output_changes and isVailable.
712 * paragraph_pimpl.C: Use output_changes and isVailable.
714 2005-01-23 Angus Leeming <leeming@lyx.org>
716 * output_latex.C: #include "insetbibitem.h", rather than
717 forward declare function bibitemWidest.
719 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
721 * lyx_main.C (init): make it compile on the Mac.
723 2005-01-20 Angus Leeming <leeming@lyx.org>
725 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
726 (setLyXMisc): (char string literal) != (char string literal) is
727 performing a comparison on the addresses. Convert one operand
728 explicitly to string to guarantee expected behaviour.
731 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
734 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
736 * output_plaintext.C: remove unneeded #include gzstream.h.
738 2005-01-20 Angus Leeming <leeming@lyx.org>
740 * SpellBase.h: rename some of the elements of the Result enum.
747 * pspell.C (check): ditto
749 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
751 * buffer.C: add #include <fstream>.
753 * lyx_main.C (init): Compile fix.
755 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
757 2005-01-20 Angus Leeming <leeming@lyx.org>
759 * mover.h: change commentary to reflect the changed meaning of
762 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * output_linuxdoc.C (linuxdocParagraphs): silence warning
766 * lyxfind.C (MatchString::operator()): remove bogus semicolon
768 2005-01-20 Angus Leeming <leeming@lyx.org>
770 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
771 printing diagnostic data by not dereferecing an iterator past the
774 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
776 * buffer.C (readHeader): use "&&" rather than "and".
778 * lyxserver.h (inPipeName, outPipeName): make these const.
780 2005-01-19 Angus Leeming <leeming@lyx.org>
782 * lyx_main.C (error_handler, init): protect SIGHUP with
783 #ifdef SIGHUP guards.
785 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
789 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
791 * text.C (setHeightOfRow): add a margin at the top and bottom of
792 the document (bug 1761)
794 2005-01-17 Angus Leeming <leeming@lyx.org>
796 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
797 with "python ". Workaround for a brain-dead Windows.
799 2005-01-16 Angus Leeming <leeming@lyx.org>
801 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
802 for MacOSX and Windows to use prependEnvPath.
803 Strip out the hard-coded block to add elements to the PATH for
804 MacOSX and replace it with a call to prependEnvPath using the
805 contents of LyXRC::path_prefix.
806 (queryUserLyXDir): strip out the code to run reconfigure, instead
807 returning a boolean indicating the necessity to do so.
808 (reconfigureUserLyXDir): contains the code to reconfigure the
809 user support directory. Is now called after the various LyXRC data
810 files have been read.
812 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
814 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
816 * converter.[Ch] (convert): take a new parameter try_default. Use
817 a default converter (imagemagick) if try_default is true.
819 2005-01-13 Angus Leeming <leeming@lyx.org>
821 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
823 (write): output LyXRC::cygwin_path_fix as necessary.
825 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
828 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
830 2005-01-12 Angus Leeming <leeming@lyx.org>
832 * lyx_main.C (init): set the PATH variable to include the
833 directory containing the LyX binary when running on Mac or Windows.
835 2005-01-12 Angus Leeming <leeming@lyx.org>
837 * lyx_main.C (init): remove cruft that purports to set the locale
838 dir. It doesn't and is not needed anyway.
840 2005-01-10 Angus Leeming <leeming@lyx.org>
842 * Makefile.am: remove the lyx_main.C special casing.
844 * BufferView_pimpl.C:
850 * messages.C: use support/package.h to provide the paths to the
851 various directories used by LyX.
853 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
855 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
856 layout if pasting into an empty paragraph)
858 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
860 * tex-accent.C: add <string>
862 2005-01-06 José Matos <jamatos@lyx.org>
864 * ParagraphParameters.C (write): put every parameter in its own line.
865 * paragraph.C (write): reduce number of consecutive empty lines exported.
866 * buffer.C (LYX_FORMAT): increase file format to 239.
868 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
870 * everywhere: change support/tostr.h -> support/convert.h
872 * tabular.C: make all write_attributes templates, tostr -> convert
874 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
875 (emptyTag): and -> &&, and fix type for ret from getChar
876 (getFirstWord): fix type for ret from getChar
877 (onlyText): and -> &&
878 (simpleDocBookOnePar): and not -> && !, fix type for ret from
881 * toc.C (goTo, action):
882 * text3.C (dispatch):
883 * text.C (currentState):
884 * tex-accent.C (DoAccent):
887 * lyxfunc.C (menuNew):
888 * lyxfinc.C (replace):
889 * counters.C (laberItem):
890 * bufferview_funcs.C (font2string):
891 * bufferparams.C (writeFile):
892 * buffer.C (readFile):
894 * MenuBackend.C: tostr -> convert
896 * LaTeX.C (runMessage): fix format
897 (scanAuxFiles): tostr -> convert
899 * BufferView_pimpl.C (savePosition): fix format
900 (restorePosition): ditto
903 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
905 * Spacing.[Ch]: New method getValueAsString().
909 * ParagraphParameters.C:
912 * text3.C: store/read spacing value as string.
914 * rowpainter.C: change float value (spacing_val) to double.
916 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
917 broken custom document spacing).
919 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
921 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
922 namespace, also more use of temp references and const
924 * cursor.[Ch] (getStatus): move to lyxfunc.C
926 * bufferparams.C: reformat slightly
928 * bufferview_funcs.C (font2string): constify arg
934 * buffer_funcs.C: (many funcs): constify arg on function
935 definitions, also make more local vars const, also add ASSERTS on
938 * buffer.C (LYX_FORMAT): put const in correct place
939 (many funcs): constify arg on function definitions, also make
940 more local vars const
942 * aspell_local.h: remove "struct" from typdef setup
944 * aspell.C (check): make word_ok const
945 (nextMiss): simplify slightly
948 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
950 * lyxrc.[Ch]: store all float values as strings.
951 use int (not float) for lyxrc.dpi.
953 2005-01-04 Angus Leeming <leeming@lyx.org>
955 * lyx_cb.C (Reconfigure):
956 * lyx_main.C (queryUserLyXDir):
957 to run the <system_lyxdir>/configure correctly on Windows, prefix
958 the path to the script with "sh " when generating the string that
959 is passed to system().
961 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
963 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
965 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
967 * lyxlength.C (asLatexString): get rid of setprecision
969 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
971 * text2.C (setLayout): remove unused variable endpit.
972 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
974 * paragraph.C (onlyText): remove unused variable style.
976 * cursor.C (bruteFind): remove unused variables beg and end.
978 * Makefile.am (dist_noinset_DATA): not needed anymore
980 * cheaders/*: remove.
982 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
984 * text3.C: fix LFUN_MATH_MODE.
986 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
988 * buffer_funcs.C (countWords): new function. Counts words between
991 * BufferView_pimpl.C (getStatus, dispatch): handle
994 * LyXAction.C (init):
995 * lfuns.h: add LFUN_WORDS_COUNT.
997 2004-12-19 Angus Leeming <leeming@lyx.org>
999 * buffer.C (save): s/slashify_path/internal_path/.
1001 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1003 * lyxfind.C (findChange): do not search for end of pars, because
1004 the change tracker cannot handle this (fixes bug 1719).
1006 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1008 * paragraph.[Ch] (autoBreakRows): remove
1010 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1012 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1013 avoid using the paragraph one
1015 * text2.C (LyXText, insertStringAsLines): adjust
1017 2004-12-16 Angus Leeming <leeming@lyx.org>
1021 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1023 2004-12-14 Angus Leeming <leeming@lyx.org>
1025 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1027 * bufferlist.C (emergencyWrite):
1028 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1031 2004-12-14 Angus Leeming <leeming@lyx.org>
1033 * main.C: (main): no longer pass pointers to os::init.
1035 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1037 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1038 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1040 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1043 * text3.C: remove selection_possible global flag
1045 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1047 * text2.C (getSelectionSpan): remove
1048 (changeDepth, changeDepthAllowed): adjust
1050 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1052 * Makefile.am (BOOST_LIBS): use boost variables
1054 2004-12-03 José Matos <jamatos@lyx.org>
1056 * buffer.C: format up to 238.
1058 2004-12-03 José Matos <jamatos@lyx.org>
1060 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1062 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1064 * cursor.C (goUpDown): remove call to idxUpDown2
1066 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1068 * tabular.[Ch]: use size_t-like types for cell, row and column
1071 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1073 * lyxfunc.C (getStatus): do not lose previous information when
1074 calling BufferView::getStatus; do not set a default "Command
1075 disabled" message at the beginning, but just before returning.
1077 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1079 * cursor.h (getStatus): add better comment from src/cursor.C
1081 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1083 * text3.C (getStatus): return false when the lfun is not handled
1085 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * broken_headers.h: remove
1089 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1091 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1093 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1094 offset_ref accessors
1096 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1097 top_y_, merge fitcursor with update
1098 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1100 (metrics): introduce
1101 (workAreaDispatch): adapt to new coord scheme
1102 (redoCurrentBuffer): remove
1104 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1106 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1109 * coordcache.[Ch]: add paragraph cache and helpers
1111 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1114 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1115 (targetX, setTargetX): introduce
1117 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1118 baseline -> ascent, as the rest of lyx
1120 * lyxtext.h: remove redoParagraphs, updateParPositions,
1121 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1122 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1123 have ascent/descent (ascent is ascent of first par)
1125 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1128 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1130 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1132 * pariterator.C: fix infinite loop introduced in par->pit renaming
1134 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1135 in insets and LyXText, draw two off-screen paragraphs using
1136 NullPainter, and adapt to new coord scheme
1140 * text3.C: adapt lfun handlers to the new coord scheme, which
1141 means: there's only guaranteed coord information for onscreen pars
1142 plus one above and one below. This implies that one can do search
1143 from y coordinates in the range [-1,workHeight]
1145 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1147 * rename a lot of InsetOld to InsetBase
1149 2004-11-25 Angus Leeming <leeming@lyx.org>
1151 * BufferView_pimpl.C:
1153 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1155 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1157 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1158 call BufferView::getStatus if LCursor::getStatus did nothing
1159 (setStatusMessage, getStatusMessage): removed.
1161 * FuncStatus.C (message): new methods. Used to provide an error
1162 message indicating why a command is disabled.
1163 (clear, |=, FuncStatus): update for message.
1165 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1167 * lyxfunc.C (dispatch): always call sendDispatchMessage
1169 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1172 * BufferView_pimpl.C:
1177 * cursor_slice.[Ch]:
1180 * paragraph_funcs.C:
1186 * undo.C: par->pit renaming
1188 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1190 * tabular.C (cellstruct): use initialization, store a shared_ptr
1191 to insettext instead of the insettext directly, adjust to fit.
1192 (operator=): new function
1193 (swap): new function
1194 (rowstruct): use initialization
1195 (columnstruct): use initialization
1196 (ltType): use initialization
1199 * lyxlength.h (swap): new function
1201 * LColor.[Ch] (operator=): use the common semantics
1203 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1205 * lyxfind.C (findNextChange): update the bufferview after setting
1208 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1210 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1211 number of InsetOptArgs has already been inserted.
1213 * output_latex.C (latexOptArgInsets): new method. This outputs all
1214 the optarg insets, up to the limit defined in the layout file.
1215 (optArgInset): removed
1216 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1218 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1220 * paragraph.C (isLetter): remove special spellchecker-related
1221 code; return true also for digits
1222 (isWord, isKomma): remove
1224 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1225 * lyxfind.C (MatchString()): use isLetter instead of isWord
1227 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1229 * pariterator.h (operatir=): comment out un-implemented member
1232 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1235 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1237 * lyxfont.h: include LColor.h to satisfy concept checks.
1239 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1241 * pariterator.h: add typdefs for value_type, difference_type,
1242 pointer and reference to satisfy concept checks. Also add default
1243 constructor for same reason.
1245 * pariterator.C (operator++): add post-increment operator to
1246 satisfy concept checks.
1248 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1251 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1253 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1254 checks. Also rename base_type to BaseType to follow naming
1257 * FloatList.h: include Floating.h to satisfy concept checks.
1259 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1261 * lyxfunc.C (getStatus): when the origin of the request is menu or
1262 toolbar, and the LyXView does not have focus, do as if there was
1263 no buffer (bug 1720)
1265 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1266 FuncRequest to individual entries of LFUN_SEQUENCE
1268 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1270 * output_latex.C (TeXOnePar): override runparams.moving_arg
1271 according to the needprotect value of the current paragraph (bug
1274 * paragraph.C (simpleTeXOnePar): no need to override
1275 runparams.moving_args here
1277 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1279 * vspace.C: fix off-by-one-error, related to fix #1682
1281 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1283 * lengthcommon.C: a more general fix for bug 1682
1285 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1287 * text.C (backspace): fix crash
1289 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1291 * format.[Ch] (getFormatFromFile): new method
1292 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1294 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1296 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1298 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1300 * lyxfunc.C (dispatch): remove the verbose argument
1301 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1304 * kbmap.C (defkey): set the origin of func to KEYBOARD
1306 * MenuBackend.C (MenuItem):
1307 * ToolbarBackend.C (add): set the origin of func to UI
1309 * funcrequest.[Ch]: add origin member, which indicates which part
1310 of LyX requests an action
1312 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1314 * converter.C (move): don't lie in the error message
1315 * converter.h (isReachable, move): document
1317 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1319 * buffer.C: remove unused using lyx::support::atoi
1320 * paragraph_funcs.C: ditto
1322 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1324 * bufferlist.C (exists): use bind and equal_to instead of
1327 * lyxtextclasslist.C (NumberOfClass): ditto
1329 * cursor.C (insert): use for_each instead of explicit for loop
1331 * bufferlist.C (getFileNames): use std::transform and
1332 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1334 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1337 * buffer.C (changeLanguage): use for_each instead of explicit for
1339 (hasParWithID): implement using getParFromID
1341 * LaTeXFeatures.C: ws change only
1343 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1346 * BufferView_pimpl.C (trackChanges): use for_each instead of
1349 2004-11-04 André Pönitz <poenitz@gmx.net>
1352 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1354 * dociterator.C (asDocIterator): use hard assert again.
1356 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1358 * lyxlength.C (asLatexString): rewrite so that it does not use
1361 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1363 * text3.C (specialChar, dispatch): make sure cursor moves to the
1364 right after inserting an inset
1366 2004-11-02 José Matos <jamatos@lyx.org>
1368 * output_docbook.C (docbook):
1369 * paragraph.C (getID):
1370 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1371 garantee that the output is always legal.
1373 * tabular.C (docbook):
1374 * outputprams.[Ch]: remove mixed contents.
1376 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1378 * text2.C (setCounter): prevent endless loop
1380 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1382 * exporter.C (copyFile): use the mover instead of support::copy()
1383 * exporter.C (Export): pass format and latex name to copyFile()
1384 * exporter.h (addExternalFile): document
1385 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1387 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1389 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1391 2004-10-30 José Matos <jamatos@lyx.org>
1393 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1394 text and no inset or font change. This allows to use CDATA
1395 sections just for the whole paragraph.
1397 2004-10-30 José Matos <jamatos@lyx.org>
1399 * paragraph.C (getFirstWord): remove unused variable.
1401 2004-10-30 José Matos <jamatos@lyx.org>
1403 * paragraph.C (getFirstWord): the content should always be escaped
1405 (simpleDocBookOnePar):
1406 * output_docbook.C (makeEnvironment): replace reference to CDATA
1409 2004-10-30 José Matos <jamatos@lyx.org>
1411 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1413 2004-10-30 José Matos <jamatos@lyx.org>
1415 * output_docbook.C (makeParagraphs):
1416 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1417 standard paragraph has only a given type of content drop the wrapper.
1419 2004-10-29 José Matos <jamatos@lyx.org>
1421 * output_docbook.C (makeEnvironment):
1423 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1425 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1427 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1428 (cleanID): sanitize any id.
1430 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1432 * buffer.C, lyxlex_pimpl.C:
1433 * lyxlex_pimpl.C (setFile):
1434 s/getExtFromContents/getFormatFromContents/
1436 2004-10-28 José Matos <jamatos@lyx.org>
1438 * output_docbook.C (makeEnvironment): move id to broadest possible
1441 * sgml.C (openTag): apply substitution of <> for all attributes.
1443 2004-10-28 José Matos <jamatos@lyx.org>
1445 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1446 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1447 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1449 * sgml.[Ch]: new version for open and closeTag for paragraph and
1450 for strings. Now they handle the ids of paragraphs.
1452 2004-10-26 Angus Leeming <leeming@lyx.org>
1454 * Makefile.am: add mover.[Ch].
1456 * converter.C (convert, move): use the new Movers to move external
1457 files to the temp directory.
1459 * lyx_main.C (init): ensure that the global system_movers data
1462 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1465 * mover.[Ch]: new files, defining a Mover as a utility to move an
1466 external file between directories and, if necessary, manipulate this
1467 file using a helper script.
1469 2004-10-25 José Matos <jamatos@lyx.org>
1471 * output_docbook.C (makeCommand): merge two if's that tested the
1474 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1476 * sgml.C (escapeString): fix warning in a better way
1478 2004-10-25 José Matos <jamatos@lyx.org>
1480 * sgml.C (escapeString): import the require boosts header file for
1481 tie, and avoid a signed unsigned comparison.
1483 2004-10-25 José Matos <jamatos@lyx.org>
1485 * sgml.h: add #include <string>
1487 2004-10-25 José Matos <jamatos@lyx.org>
1489 * sgml.[Ch] (escapeString): new function to escape all the string.
1491 2004-10-24 José Matos <jamatos@lyx.org>
1493 * paragraph.[Ch] (getFirstWord): new function to get the first
1494 word. Useful for description.
1495 (simpleDocBookOnePar): remove depth argument, add another that
1496 says where to start the paragraph.
1498 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1499 use the new functions to fix cleanly the support for descriptions.
1501 2004-10-24 José Matos <jamatos@lyx.org>
1503 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1504 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1505 * output_linuxdoc.C (linuxdocParagraphs):
1506 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1507 add buffer as argument.
1509 2004-10-24 José Matos <jamatos@lyx.org>
1511 * output_docbook.C (makeEnvironment, searchEnvironment): place
1512 CDATA inside paragraphs and fix scope for listitems.
1514 2004-10-24 José Matos <jamatos@lyx.org>
1516 * output_docbook.C: remove using statement for stack.
1518 2004-10-23 José Matos <jamatos@lyx.org>
1520 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1521 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1522 docbook. The new scheme is recursive and makes use of iterators, the
1523 same as latex export works.
1524 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1525 directly with the paragraph contents. This code was moved up to
1526 output_docbook.C (docbookParagraphs).
1527 * sgml.C (openTag, closeTag): removed unneeded newlines.
1528 (closeEnvTags) removed.
1530 2004-10-23 André Pönitz <poenitz@gmx.net>
1532 * undo.C (textUndoOrRedo):
1533 * dociterator.C (asDocIterator): work around crash
1535 * cursor.C (getStatus): replace ASSERT by more verbose error message
1536 and manual correction of the problem. Should increase stability
1537 while providing more sensible information.
1539 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1541 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1543 * bufferlist.C (previous, next): new methods
1546 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1548 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1550 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1551 entities to preamble.
1553 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1555 * messages.C (Pimpl): strip off translation context information
1557 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1559 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1560 the cursor is correct (bug 1694)
1562 2004-10-13 José Matos <jamatos@lyx.org>
1564 * output_docbook.C (docbookParagraphs): fix closing tags in the
1565 end of the document.
1567 2004-10-09 José Matos <jamatos@lyx.org>
1569 * buffer.C: format up to 237.
1570 * bufferparams.C (write): use tostr to convert booleans to strings.
1572 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1574 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1576 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1578 * LaTeX.C: implement use of babel language in xindy.
1580 2004-10-05 José Matos <jamatos@lyx.org>
1582 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1583 Add new translators to help reading and writing the lyx file.
1585 2004-10-05 José Matos <jamatos@lyx.org>
1587 * ParagraphParameters.C (read):
1588 * text.C (readParToken): replace nexToken by more appropriate lex
1591 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1593 * LaTeX.C (runMakeIndex):
1594 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1595 (usually 'makeindex') configurable.
1597 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1598 with a variable rather than with a number.
1600 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1602 * output_latex.C (TeXOnePar): make sure font setting is the first
1603 thing that gets output (and the last at the end). Should fix bug
1606 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1608 * pch.h: use proper signal include
1610 * LaTeX.h: Use preferred calling of Boost.Signal
1613 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1615 * pch.h: dont include <boost/function/function0.hpp>
1617 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1619 * paragraph_pimpl.h: remove usage of ShareContainer
1621 * paragraph_pimpl.C: remove initialization of ShareContainer.
1623 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1627 * BufferView.C (putSelectionAt): change the semantics when
1628 backwards == true: now, this just swaps cursor and anchor wrt the
1631 * BufferView.h (putSelectionAt): add some documentation
1633 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1634 make sure backwardChar is done at least once (to avoid getting
1636 (findNextChange): use putSelectionAt in the forward direction
1637 (operator()): use Paragraph::isWord
1639 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1641 * Spacing.C (set): c_str fix
1643 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1645 * lyx_cb.C (Reconfigure): quote the name of configure script in
1646 case it contains spaces
1648 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1652 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1653 (BOOST_LIBS): use top_buildir when looking for the file
1655 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1657 * pch.h: do not use include boost/format.hpp, multiple symbols
1658 will result (gcc bug)
1661 2004-08-23 José Matos <jamatos@lyx.org>
1663 * bufferparams.C (readToken): fix reading of the author field.
1665 2004-08-20 José Matos <jamatos@lyx.org>
1667 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1669 2004-08-20 José Matos <jamatos@lyx.org>
1671 * lyxlex.[Ch] (findToken): remove function.
1673 * ParagraphParameters.C (findToken):
1674 * bufferparams.C (findToken): replace call for previous function
1675 with local copy. This local function has one more argument, the
1676 read string argument.
1678 2004-08-16 José Matos <jamatos@lyx.org>
1680 * ParagraphParameters.C (write):
1681 * Spacing.C (writeFile):
1682 * bufferparams.C (writeLaTeX):
1683 * lyx_cb.C (Reconfigure):
1684 * paragraph.C (write):
1685 * tabular.C (write): remove unnecessary space at end of line.
1688 2004-08-16 José Matos <jamatos@lyx.org>
1690 * text.C (readParagraph): remove debug message.
1692 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1694 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1697 * output_plaintext.C (asciiParagraph): set depth correctly
1699 * outputparams.h: add member depth
1701 * paragraph_funcs.C (ownerPar): remove.
1703 * text2.C (setCounter): remove first_pit; comment out some
1704 non-working code that uses ownerPar
1706 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1709 2004-08-16 José Matos <jamatos@lyx.org>
1711 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1712 For the same level of importance use the same chanel to report problems.
1713 (read): add code to deal with \begin_body and \end_body.
1716 2004-08-15 José Matos <jamatos@lyx.org>
1718 * lyxlex.C (getString): fix comment, buffer::readBody is now
1719 buffer:readDocument.
1721 * tex-strings.C (string_papersize): Default -> default,
1722 Custom -> custom, for consistency with other options.
1724 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1728 * Makefile.am: support pch
1730 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1732 * text.C (readParToken): remove the static LyXFont variable and
1733 pass it as a parameter instead. This fixes a nasty bug where an
1734 inset will be inserted with a bad font in some situations
1735 (readParagraph): adapt
1737 * text2.C (setCounter): reduce number of calls to pars_[pit]
1739 * text.C (singleWidth): add an assert, fix a test
1741 * rowpainter.C (paintText): reduce number of calls to singleWidth
1743 * paragraph.C (isHfill):
1744 (isNewline): ws only
1746 2004-08-14 André Pönitz <poenitz@gmx.net>
1751 * lyxtext.h (several functions): use a Paragraph & argument
1754 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1756 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1758 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1760 * text.C (singleWidth): remove useless test
1762 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1764 * tabular.h: remove bogus comments
1766 * tabular.C (getDescentOfRow):
1767 (isPartOfMultiColumn): add assertions
1769 * lyxlength.C (inPixels): remove #warning
1771 2004-08-14 André Pönitz <poenitz@gmx.net>
1773 * paragraph.h: inline getChar()
1775 * BufferView.h: remove unused declarations
1777 2004-08-14 José Matos <jamatos@lyx.org>
1779 * Buffer.[Ch] (readDocument): new name for old readBody.
1780 * Buffer.C: new file format, new keywords: \begin_document,
1781 \begin_header, \begin_body, \end_body.
1783 * bufferparams.C (readToken): replace all calls to lex.nextToken
1784 by lex.next(). Do the same to eatLine except where really needed.
1786 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1787 line when writing to the lyx file.
1789 * output_plaintext.C (asciiParagraph): fix Bibliography style
1792 * text.C (read): fix end of file handling.
1794 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1796 * MenuBackend.C (Menu::operator[]): new method to access
1797 individual menu items
1798 (Menu::hasFunc): new method. search for an item that corresponds
1800 (MenuBackend::specialMenu): new method
1801 (MenuBackend::expand): if a special menu has been set, skip
1802 entries whose func() appears in this menu
1804 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1806 * text3.C: use Debug::DEBUG a bit more
1808 * text.C (leftMargin): try to simplify a tiny bit change var x to
1809 l_margin. Dont output the wide margins always.
1810 (rightMargin): no margin in inner texts
1812 * rowpainter.h (nestMargin): new func
1813 (changebarMargin): new func
1814 (rightMargin): new func
1816 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1820 * factory.C (createInset): modify setDrawFrame
1822 * cursor.C: use Debug::DEBUG a bit more
1824 2004-08-14 André Pönitz <poenitz@gmx.net>
1827 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1828 cache for all insets in (at least partially) visible (top-level)
1831 * BufferView_pimpl.C: reset external coord cache before every update.
1832 This means the coord cache only contains valid entries.
1834 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1837 * BufferView_pimpl.C (getInsetByCode): move function out of class
1838 and change in to a template in anon namespace. Also fix to do what
1841 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1844 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1846 (breakParagraph): rename par to par_offset and use a local
1847 reference. Add code to keep the language over a rebreak.
1848 (breakParagraphConservative): rename par to par_offset, use a
1850 (mergeParagraph): ditto
1852 (isFirstInSequence): ditto
1853 (outerFont): rename pit to par_offset
1855 * paragraph.C: ws change
1856 * paragraph.h: ditto
1860 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1862 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1865 * paragraph.C (simpleTeXOnePar): when we have a \item with
1866 optional argument, enclose the argument with curly brackets (in
1867 case it contains a closing square bracket)
1871 * text3.C (checkInsetHit): constify
1873 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1875 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1876 documents (bug 1629)
1878 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1880 Fix toggling of collapsable insets with the mouse (bug 1558)
1882 * lyxfunc.C (dispatch): adapt to LCursor changes
1884 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1885 make sure that dispatch is not invoked twice
1887 * cursor.C (needsUpdate): new method
1888 (dispatch): return void
1889 (result): new method, to access the DispatchResult of the cursor.
1891 2004-08-13 José Matos <jamatos@lyx.org>
1893 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1895 2004-08-13 André Pönitz <poenitz@gmx.net>
1897 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1899 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1902 2004-08-12 André Pönitz <poenitz@gmx.net>
1904 * text3.C: take out the 'cursor right' form insertInset and only
1905 do it in those places when it is really needed. Fixes crash on
1908 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1912 * BufferView_pimpl.C (setBuffer): initialize the current font of
1913 the underlying LyXText
1915 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1917 * kbsequence.C (print): use UI native formatting for menu
1920 * text.C (insertChar): call Paragraph::insertChar with a font
1923 * paragraph.C (insertInset, insertChar): the version that takes a
1924 LyXFont argument is now a wrapper around the other one (the
1925 opposite used to be true).
1927 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1928 argument. Font setting is done in Paragraph now.
1930 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1932 * outputparams.h: add new members intitle and lang.
1934 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1935 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1937 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1939 * text3.C (dispatch): remove special handling of button 4 and 5,
1940 it is now taken care of in the frontend code.
1942 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1944 * Spacing.h: add <string> (STLPort compile fix)
1946 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1948 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1950 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1952 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1955 * converter.C (showMessage): inherit from unary_function, make
1958 * buffer.C (writeFile): initialize retval
1960 * InsetList.h: rename private variable list to list_
1961 * InsetList.[Ch]: adjust accordingly.
1963 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1965 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1966 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1967 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1968 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1969 * ParagraphParameters.C, LaTeXFeatures.C: replace
1970 "support/std_sstream.h" with <sstream>
1972 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1974 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1975 * lyxsocket.C (LyXServerSocket): ditto
1976 (serverCallback): ditto
1978 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1980 * LaTeXFeatures.C: check release date when loading jurabib.
1982 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1984 * lyxserver.C (startPipe): call register_socket_callback
1985 (endPipe): call unregister_socket_callback
1987 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1989 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1990 (LyXServerSocket): register the callback
1991 (LyXServerSocket): unregister the callback
1992 (fd): delete function
1993 (serverCallback): improve error checking and setup the callbacks.
1994 (dataCallback): change arg to fd.
1995 (writeln): new func (copied fro the client socket) used for server
1997 (LyXDataSocket): simplify
1998 (~LyXDataSocket): close ann unregiser callback
1999 (server): delete function
2000 (fd): delete function
2001 (readln): small changes, improve some std::string usage
2002 (writeln): constify a bit
2004 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2006 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2009 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2011 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2012 after it has been populated
2014 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2016 * text2.C (insertInset): move cursor when inserting inset.
2018 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2020 * kbmap.C (findbindings): a couple of new methods. returns a
2021 container of kb_sequence objects. The real work is done by the
2022 private recursive version
2023 (printbindings): uses findbindings to print out a bracketed list
2024 of bindings (renamed from findbinding).
2026 * MenuBackend.C (binding): use kb_keymap::findbindings
2028 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2030 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2032 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2034 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2036 * paragraph.C (isWord): return true on insets that report
2039 * text.C (getWord): use Paragraph::isWord to decide what is in a
2040 word and what is not; fix bug 1609.
2042 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2044 * tex-strings.C: add "none" to string_paperpackages[], fixes
2045 off-by-one-error in the paperpackage selection.
2048 * tex-strings.[Ch]: char const * string[n]
2049 -> char const * const string[]
2051 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2053 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2054 command, return early.
2056 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2058 * debug.h: add DEBUG to enum and fix size of ANY.
2060 * debug.C: add support for Debug::DEBUG
2061 (showTags): cast errorTags.level to unsigned int
2063 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2064 (redoCurrentBuffer): ditto
2065 (updateScrollbar): ditto
2066 * cursor.C (dispatch): ditto
2067 * text2.C (setLayout): ditto
2069 (updateCounters): ditto
2071 (deleteEmptyParagraphMechanism): ditto
2073 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2075 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2076 annotations to cleanup the Makefile slightly.
2078 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2080 * lyxrc.C: do not set user_email to a default value but use empty
2081 instead. The entry used to be translated, which does not work
2082 since at the point where lyxrc is constructed there is no
2083 translation service available
2085 * messages.C (getLocaleDir): remove and use directly
2086 lyx_localedir() instead
2088 2004-06-02 Angus Leeming <leeming@lyx.org>
2090 Fix crash caused by dereferencing null pointer 'exportdata' in
2091 OutputParams by creating a new ExportData variable on the heap,
2092 storing it in a boost::shared_ptr.
2093 The crash was triggered when generating an Instant Preview
2094 of an external inset.
2096 * Makefile.am: add outputparams.C
2098 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2099 (c-tor): allocate memory to it.
2101 * exporter.C (c-tor): associated changes.
2103 2004-06-01 Angus Leeming <leeming@lyx.org>
2105 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2106 contains data before calling isInset(0). (Bug 1513.)
2108 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2110 * exporter.C (checkOverwrite): new method
2111 * exporter.C (copyFile): new method
2112 * exporter.C (Export): copy referenced files to the document dir
2113 * exporter.[Ch]: new class ExportedFile
2114 * exporter.[Ch]: new class ExportData. Contains currently the
2115 names of referenced external files
2116 * outputparams.h: add exportdata member.
2118 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2120 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2123 2004-05-19 Angus Leeming <leeming@lyx.org>
2128 * lyxfunc.C: small changes due to the introduction of namespace
2129 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2131 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2133 * text3.C (dispatch): supress update when only moving the cursor
2134 * cursor.C (selHandle): remove commented code
2136 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2138 * paragraph.C (startTeXParParams): correct column count
2139 * CutAndPaste.C (pasteSelection): remove const_cast
2140 * output_docbook.C (docbookParagraphs): remove const_cast
2141 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2142 const_cast and return ParagraphList::const_iterator
2143 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2144 * output_plaintext.C (writeFileAscii): remove const_cast
2145 * paragraph.[Ch] (simpleTeXOnePar): make const
2146 * paragraph_funcs.C (outerPar): use const iterators
2147 * paragraph_pimpl.C (validate): use const iterators
2148 * text.C (setHeightOfRow): use const iterators
2150 2004-05-17 Angus Leeming <leeming@lyx.org>
2153 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2155 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2156 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2157 if the citation engine has changed.
2159 2004-05-14 José Matos <jamatos@lyx.org>
2161 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2162 if the textclass does not provide it. Have it different for sgml and
2164 support the language of document.
2165 * output_docbook.C (docbookParagraphs):
2166 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2167 first anchor as the id of the paragraph, remove special case code.
2168 * sgml.C (escapeChar): escape only < & >.
2170 2004-05-14 Angus Leeming <leeming@lyx.org>
2172 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2173 dependencies on src/frontends/controllers/biblio.h. Define a
2174 CiteEngine_enum wrapper class to enable the enum to be forward
2177 2004-05-12 Angus Leeming <leeming@lyx.org>
2179 * buffer.C: up LYX_FORMAT to 234.
2180 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2181 use_numerical_citations with a single biblio::CiteEngine cite_engine
2183 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2185 2004-05-13 José Matos <jamatos@lyx.org>
2188 * converter.C (Converter, readFlags): add xml member.
2189 * outputparams.h: add XML flavor.
2190 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2192 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2194 * lyxfunc.C (dispatch):
2195 (getStatus): fix handling of LFUN_SEQUENCE
2197 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2199 * debug.C (showLevel): do not forget the end-of-line marker
2201 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2203 * kbmap.C (read): do not stop parsing a bind file when an error
2206 2004-04-29 Angus Leeming <leeming@lyx.org>
2211 * text2.C: wrap a bunch of #warning statements
2212 inside #ifdef WITH_WARNINGS blocks.
2214 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2216 * buffer.C: increment format to 233.
2218 2004-04-28 Angus Leeming <leeming@lyx.org>
2220 * BufferView_pimpl.C:
2223 s/updateToolbar()/updateToolbars()/
2224 s/Toolbar.h/Toolbars.h/
2226 2004-04-28 Angus Leeming <leeming@lyx.org>
2228 * BufferView.[Ch] (c-tor):
2229 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2230 No longer passes these data to the WorkArea generator.
2232 2004-04-28 Angus Leeming <leeming@lyx.org>
2234 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2236 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2238 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2240 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2242 * output_latex.C (TeXEnvironment): make sure that there is a line
2243 break before \end{foo} for the last paragraph of a document
2244 (TeXOnePar): if the paragraph is at the end of the document (or
2245 inset) and the language has to be reset, then make sure that the
2246 line break is _before_ the language command, not after (fixes bug
2247 1225); also make sure that the language reset command is the first
2248 thing after the paragraph (to ensure proper nesting of
2249 environments and thus fix bug 1404)
2251 2004-04-21 John Levon <levon@movementarian.org>
2254 * ToolbarBackend.C: make "name" be a programmatic name
2255 and a gui_name field.
2257 * lyxfunc.C: display the minibuffer on M-x
2259 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2261 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2264 2004-04-19 Angus Leeming <leeming@lyx.org>
2266 * BufferView_pimpl.C (setBuffer): changed preview interface.
2268 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2271 2004-04-19 John Levon <levon@movementarian.org>
2273 * BufferView_pimpl.C:
2274 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2276 2004-04-05 Angus Leeming <leeming@lyx.org>
2278 * text.C (redoParagraphs): add call to updateCounters(), thereby
2279 fixing the missing "Figure #:" label from the caption of a
2282 2004-04-13 Angus Leeming <leeming@lyx.org>
2284 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2285 cursor is clicked out of an inset.
2287 2004-04-13 Angus Leeming <leeming@lyx.org>
2289 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2290 than an InsetOld one.
2292 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2294 * format.[Ch]: add editor to Format
2295 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2296 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2298 2004-04-08 André Pönitz <poenitz@gmx.net>
2300 * metricsinfo.h: remove PainterInfo::width member
2302 2004-04-08 Angus Leeming <leeming@lyx.org>
2304 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2305 "\providecommand" rather than "\newcommand", thereby preventing
2306 clashes with packages that define "\boldsymbol" themselves.
2309 2004-04-08 Angus Leeming <leeming@lyx.org>
2311 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2312 thereby squashing an unnecessary warning.
2314 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2316 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2319 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2321 * BufferView.C (setCursor): call redoParagraph (some insets could
2323 (putSelectionAt): remove the 'double update' trick
2325 * BufferView_pimpl.C (fitCursor): call refreshPar
2326 (workAreaDispatch): remove an uneeded update call
2327 (dispatch): remove some manual update calls
2329 * cursor.[Ch]: remove cached_y_, updatePos
2330 (selHandle): set noUpdate when appropriate
2332 * lyxfunc.C (dispatch): track if we need an update
2334 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2336 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2337 (paintSelection): cheap optimization, do not call cursorX when not
2339 (paintPars): change signature
2342 (paintTextInset): adjust
2346 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2348 * lengthcommon.C: compilation fix: remove explicit array size from
2349 unit_name[] and friends
2351 2004-04-05 Angus Leeming <leeming@lyx.org>
2353 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2355 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2356 present only for the preferences dialog.
2357 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2359 2004-04-05 Angus Leeming <leeming@lyx.org>
2361 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2362 to enable the frontends to export changes to lyxrc correctly.
2364 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2366 2004-04-07 André Pönitz <poenitz@gmx.net>
2368 * cursor.[Ch] (selClear, adjust): remove math
2370 * cursor_slice.C: more agressive assert
2373 * BufferView_pimpl.C: rework mouse event dispatch
2380 2004-04-05 André Pönitz <poenitz@gmx.net>
2382 * cursor.[Ch] (valign, halign...): remove unneeded functions
2384 2004-04-05 Angus Leeming <leeming@lyx.org>
2386 * lyxlength.[Ch] (unit_name et al.): const-correct.
2388 2004-04-05 Angus Leeming <leeming@lyx.org>
2390 * BufferView_pimpl.C:
2399 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2401 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2403 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2405 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2407 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2408 * BufferView_pimpl.[Ch] (getStatus)
2409 * BufferView.[Ch] (getStatus): add
2410 * lyxfunc.C (getStatus): move lfuns handled in
2411 BufferView::dispatch to te function above
2412 * Cursor.C (setSelection): set selection() = true
2414 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2416 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2418 2004-03-31 Angus Leeming <leeming@lyx.org>
2420 * lyxfunc.C (dispatch): Fall through to the generic
2421 Dialogs::show("preamble").
2423 2004-03-31 Angus Leeming <leeming@lyx.org>
2425 * lyxfunc.C (dispatch): Fall through to the generic
2426 Dialogs::show("spellchecker").
2428 2004-03-31 Angus Leeming <leeming@lyx.org>
2430 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2433 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2438 * insetiterator.[Ch]:
2443 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2445 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2447 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2448 insets where we are putting the cursor.
2450 2004-03-31 Angus Leeming <leeming@lyx.org>
2453 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2455 * lyxrc.[Ch] (read, write): overloaded member functions taking
2456 a std::[io]stream arguments.
2458 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2460 2004-03-31 Angus Leeming <leeming@lyx.org>
2462 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2463 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2465 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2466 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2468 2004-03-31 Angus Leeming <leeming@lyx.org>
2470 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2471 the LFUN_ALL_INSETS_TOGGLE code.
2473 2004-03-30 Angus Leeming <leeming@lyx.org>
2475 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2476 has died. Fall through to the generic Dialogs::show("document").
2478 2004-03-30 Angus Leeming <leeming@lyx.org>
2481 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2482 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2484 * lyxfunc.C (getStatus, dispatch): define the actions for these
2485 lfuns. Little more than a cut and pste job from ControlDocument.C
2487 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2489 2004-03-30 Angus Leeming <leeming@lyx.org>
2492 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2493 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2495 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2496 open/closed state of ollapsable insets. Usage:
2498 all-inset-toggle <state> <name>, where
2499 <state> == "open" || "closed" || "toggle" and
2500 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2502 * lyxtext.h, text2.C (toggleInset): removed.
2504 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2505 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2506 now passes LFUN_INSET_TOGGLE to the found inset.
2508 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2509 is now invoked as "all-insets-toggle toggle branch".
2511 2004-03-30 Angus Leeming <leeming@lyx.org>
2515 * pariterator.[Ch]: added/corrected header blurb.
2517 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2519 * dociterator.[Ch]: add an inset_ member
2520 (backwardPos): implemented
2521 (backwardPos, forwardPos): use inset_ when the stack is empty.
2522 (doc_iterator_begin, doc_iterator_end): implemented
2523 * pariterator.[Ch]: adjust, add begin, end
2524 * insetiterator.[Ch]: adjust, add begin, end
2528 * BufferView_pimpl.C:
2529 * CutAndPaste.C: adjust
2531 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2533 * buffer.C: increment file format to 232.
2534 * LaTeXFeatures.C: add bibtopic package.
2535 * bufferparams.[Ch]: param \use_bibtopic.
2537 * lyxrc.[Ch]: add lyxrc bibtex_command
2538 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2540 * buffer.C: increment file format to 231.
2542 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2544 * dociterator.C: implement forwardPar
2545 * iterators.[Ch]: remove, replaced by
2546 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2548 * BufferView_pimpl.C:
2551 * bufferview_funcs.C:
2557 * Makefile.am: adjust
2559 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2561 * CutAndPaste.C (pasteSelection): fix 2 crashes
2562 (eraseSelection): fix a crash
2563 * paragraph_funcs.C: remove a warning
2565 2004-03-28 Angus Leeming <leeming@lyx.org>
2568 * LyXAction.C (init): new LFUN_PRINT.
2570 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2572 2004-03-27 Angus Leeming <leeming@lyx.org>
2575 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2577 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2579 2004-03-27 Angus Leeming <leeming@lyx.org>
2581 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2582 insetlist always contains non-null pointers to insets.
2584 2004-03-26 Angus Leeming <leeming@lyx.org>
2586 * src/BufferView_pimpl.C:
2587 * src/CutAndPaste.C:
2590 * src/output_plaintext.C:
2591 * src/outputparams.h:
2592 * src/paragraph_funcs.C:
2596 * src/frontends/controllers/ControlErrorList.C:
2597 * src/frontends/gtk/FileDialogPrivate.C:
2598 * src/frontends/gtk/GPainter.C:
2599 * src/frontends/gtk/GToolbar.C:
2600 * src/frontends/qt2/QRef.C:
2601 * src/mathed/math_scriptinset.C: squash compiler warnings.
2603 2004-03-26 Angus Leeming <leeming@lyx.org>
2605 * ispell.C (LaunchIspell::start):
2606 * lyx_cb.C (AutoSaveBuffer::start):
2607 invoke run(DontWait) rather than runNonBlocking().
2609 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2611 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2613 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2615 * kbsequence.C (print): adjust
2617 * kbmap.C (printKeySym): rename and change signature
2618 (printKey): use LyXKeySym::print()
2620 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2622 * undo.C: add using std::advance to compile for stlport
2624 2004-03-24 Angus Leeming <leeming@lyx.org>
2626 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2627 it leads to a crash when no buffer is present.
2629 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2630 Martin Vermeer <martin.vermeer@hut.fi>
2632 * lyxfunc.C (dispatch):
2633 * bufferparams.C (readToken): use the new LColor::setColor
2635 * LColor.[Ch] (setColor): new version that takes two strings as
2636 argument and creates a new color entry if necessary
2638 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2640 * buffer.C (makeLaTeXFile): if the main latex file that is
2641 processed is usually a subdocument of some master, then pretend
2642 for a while that it is actually the master
2644 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2646 * buffer.C (getLabelList):
2647 (getBibkeyList): use getMasterBuffer()
2648 (getMasterBuffer): new method. Returns the main document in the
2649 case where one is using included documents.
2651 2004-03-25 André Pönitz <poenitz@gmx.net>
2655 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2657 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2659 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2660 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2662 * ParameterStruct.h: merge with ParagraphParameters
2664 * lyxtext.h: remove LyXText::parOffset() and getPar()
2666 * text3.C: Remove all 'manual' update calls. We do now one per user
2667 interaction which is completely sufficient.
2671 * BufferView_pimpl.C:
2672 * FontIterator.[Ch]:
2674 * ParagraphParameters.[Ch]:
2679 * cursor_slice.[Ch]:
2686 * output_docbook.[Ch]:
2687 * output_latex.[Ch]:
2688 * output_linuxdoc.[Ch]:
2689 * output_plaintext.[Ch]:
2691 * paragraph_funcs.[Ch]:
2692 * paragraph_pimpl.[Ch]:
2700 * frontends/controllers/ControlDocument.C:
2701 * frontends/controllers/ControlErrorList.C:
2702 * frontends/controllers/ControlSpellchecker.C:
2705 * insets/insetbase.h:
2706 * insets/insetbibitem.C:
2707 * insets/insetbox.C:
2708 * insets/insetbranch.C:
2709 * insets/insetcaption.C:
2710 * insets/insetcharstyle.C:
2711 * insets/insetcharstyle.h:
2712 * insets/insetcollapsable.C:
2713 * insets/insetcollapsable.h:
2714 * insets/insetert.C:
2715 * insets/insetfloat.C:
2716 * insets/insetfoot.C:
2717 * insets/insetmarginal.C:
2718 * insets/insetnote.C:
2719 * insets/insetoptarg.C:
2720 * insets/insettabular.C:
2721 * insets/insettext.C:
2722 * insets/insettext.h:
2723 * insets/insetwrap.C:
2724 * mathed/math_mboxinset.C:
2725 * mathed/math_nestinset.C:
2726 * mathed/math_scriptinset.C:
2727 * mathed/math_scriptinset.h:
2730 2004-03-24 Angus Leeming <leeming@lyx.org>
2732 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2733 deal with any child processes that have finished but are waiting to
2734 communicate this fact to the rest of LyX.
2736 2004-03-24 Angus Leeming <leeming@lyx.org>
2738 64-bit compile fixes.
2740 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2741 (c-tor): pass lyx::pos_types rather than ints.
2743 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2746 * text.C (Delete): compile fix.
2747 (getPar): ensure that function declaration is the same as that in
2750 2004-03-23 Angus Leeming <leeming@lyx.org>
2752 * ispell.C (LaunchIspell):
2753 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2754 a boost::shred_ptr rather than a std::auto_ptr.
2756 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2758 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2759 handle LFUN_FILE_INSERT_*
2761 * lyxrc.C (setDefaults, getDescription, output, read):
2762 * lyxrc.h: remove ps_command
2764 2004-03-22 Angus Leeming <leeming@lyx.org>
2766 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2767 Ensure that error_handler is processed once only and that all data
2768 is saved before attempting to output any warning messages.
2770 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2772 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2774 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2776 2004-03-19 André Pönitz <poenitz@gmx.net>
2778 * cursor.[Ch] (reset): take main text inset as argument
2780 * BufferView: adjust
2781 * BufferView_pimpl.C: adjust
2783 * paragraph.[Ch]: fix completely broken operator=()
2785 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2787 * LColor.C (getFromLyXName): make sure that the color name is used
2790 2004-03-17 Angus Leeming <leeming@lyx.org>
2793 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2795 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2796 dialog and to kill a forked process.
2798 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2800 * text2.C (setCursorFromCoordinates): fix font problem
2802 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2804 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2805 bogus "rebuild cursor" code
2807 2004-03-11 André Pönitz <poenitz@gmx.net>
2809 * buffer.[Ch]: use InsetText instead of LyXText as container for
2812 * dociterator.[Ch]: drop the BufferView * member which is not needed
2813 anymore after the change to buffer.C
2815 * paragraph_funcs.C:
2819 * BufferView_pimpl.[Ch]:
2821 * cursor_slice.[Ch]: adjust
2823 * text3.C: fix bug in mathDispatch
2825 2004-03-08 André Pönitz <poenitz@gmx.net>
2827 * undo.[Ch]: use 'StableDocumentIterator' as base for
2830 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2833 * bufferparams.[Ch]: add jurabib support and param.
2835 * LaTeX.C: add FIXME/comment.
2837 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2839 * buffer.C: increment file format to 230.
2841 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2843 * cursor.C (dispatch): avoid infinite loops
2845 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2847 * rowpainter.C (paintSelection): fix x coordinates
2849 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2851 * text.C (rowBreakPoint): fix breaking before displayed insets
2853 2004-03-01 André Pönitz <poenitz@gmx.net>
2855 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2857 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2861 * BufferView_pimpl.C:
2869 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2875 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2876 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2878 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2880 * Bidi.[Ch] (computeTables): const correctness
2881 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2882 fill_hfill, fill_label_hfill and x from Row
2883 * lyxtext.h: prepareToPrint returns a RowMetrics
2884 * rowPainter.C: adjust
2885 * text.C (prepareToPrint): use width, not textWidth. adjust
2886 (redoParagraphInternal, cursorX): adjust
2887 * text2.C (getColumnNearX): adjust
2888 (init): put a default value to the top LyXText::width
2890 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2892 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2894 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2896 * lyxtext.h: add FontIterator class
2898 * text.C (FontIterator, operator*, operator->, operator++): add
2899 (rowBreakPoint, setRowWidth): adjust (fixing a
2902 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2904 * BufferView_pimpl.C (workAreaDispatch): allow also
2905 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2907 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2909 * text.C (rowBreakPoint): fix a bug showing with very large insets
2911 2004-02-25 André Pönitz <poenitz@gmx.net>
2914 * cursor.[Ch]: move some mathed specific code to mathed
2916 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2918 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2919 use_tempdir in preferences
2920 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2922 * lyx_main.C: ensure that tempdir is valid
2923 * lyxlex.h: correct typo
2924 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2925 * paragraph.[Ch] (isMultiLingual): make const
2926 * cursor.[Ch] (openable): make const
2928 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2930 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2932 2004-02-20 André Pönitz <poenitz@gmx.net>
2934 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2936 * cursor.[Ch]: prepare for localized getStatus()
2942 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2944 2004-02-20 André Pönitz <poenitz@gmx.net>
2946 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2948 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2950 * text2.C (setCursorFromCoordinates): switch to absolute coords
2952 (cursorDown): adjust
2953 * text3.C (dispatch): adjust
2955 2004-02-16 André Pönitz <poenitz@gmx.net>
2957 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2960 * cursor_slice.[Ch]: remove unneeded acessor function
2962 * lyxtext.h: rename rtl() to isRTL()
2970 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2972 * rowpainter.C (paintSelection): coord fix
2974 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2976 * Spacing.C: compile fix
2978 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2980 * cursor.C (dispatch): restore current_ before returning
2982 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2984 * text2.C (cursorUp, cursorDown): fix coords
2987 2004-02-12 André Pönitz <poenitz@gmx.net>
2992 * text3.C: add LCursor & parameter to most cursor movement functions
2993 remove usage of LyXText::cursorRow() and cursorPar()
2995 * cursor.[Ch]: add textRow() needed members
2998 * BufferView_pimpl.C:
3001 * BufferView_pimpl.C: adjust
3003 2004-02-11 André Pönitz <poenitz@gmx.net>
3007 * BufferView_pimpl.C: shift undo/redo handling
3009 * cursor.[Ch]: fix mathed crash
3012 * lyxtext.h: move selectionAsText to LCursor
3020 * rowpainter.C: fix excessive drawing
3022 2004-02-06 André Pönitz <poenitz@gmx.net>
3025 * BufferView_pimpl.[Ch]:
3026 * text3.C: move some text specific LFUN handling
3028 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3030 * text3.C (checkInsetHit): adjust coords
3031 * text2.C (getColumnNearX): adjust coords
3032 (edit): adjust coords
3033 * text.C (getRowNearY): add two asserts
3035 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3038 * format.C: add using std::distance to compile on gcc 2.95/stlport
3040 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3042 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3044 2004-02-04 André Pönitz <poenitz@gmx.net>
3046 * BufferView.[Ch] (insertInset):
3047 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3052 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3054 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3055 on the default clause of the switch
3056 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3057 wasn't catched by LCursor::dispatch
3059 2004-02-03 André Pönitz <poenitz@gmx.net>
3062 * cursor.[Ch]: some additional asserts
3064 * undo.[Ch]: remove LyXText dependency in interface
3068 * lyxtext.h (firstPar, lastPar): remove dead functions
3073 * paragraph.[Ch]: adjust
3075 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3077 * lyxfind.C (find): fix argument order in call to ::find
3079 2004-02-02 André Pönitz <poenitz@gmx.net>
3081 * cursor.[Ch]: remove direct access to anchor
3083 * text.C: remove findText() hack
3085 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3087 * iterators.[Ch] (lockPath): remove in favour of...
3088 * BufferView.[Ch] (setCursor): this addition
3089 * BufferView.C (putSelectionAt): adjust
3090 * undo.C (performUndoOrRedo): adjust
3091 * lyxfunc.C (dispatch): adjust
3093 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3095 * iterators.C (lockPath): add a missing slice
3096 * undo.C (performUndoOrRedo): remove redundant positioning code
3098 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3100 * vc-backend.C (scanMaster): ";" -> ';'
3102 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3104 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3105 std::binary_function
3107 * lyxtextclass.C (compare_name): rename to...
3108 (LayoutNamesEqual): ...this
3110 * lyxlex_pimpl.C (compare_tags): inherit from
3111 std::binary_function, put back into anon namespace
3113 * lyxfind.C (MatchString): inherig from std::binary_function
3114 (findChange): use empty() istead of !size()
3116 * format.C (FormatNamesEqual): new functor
3123 * converter.C (compare_Converter): rename to...
3124 (ConverterEqual): ...this, and fixup a bit.
3125 (getConverter): use it, and make function const
3126 (getNumber): use it, and make function const
3130 * bufferlist.C: add using boost::bind
3132 * MenuBackend.C (MenuNamesEqual): new functor
3133 (hasMenu): use it, and make function const
3134 (hasSubmenu): use nested bind to get rid of compare_memfun.
3136 2004-01-30 André Pönitz <poenitz@gmx.net>
3138 * BufferView_pimpl.C:
3141 * cursor_slice.[Ch]:
3144 * paragraph_funcs.C:
3145 * paragraph_funcs.h:
3149 * text3.C: move some of the edit(x,y) handling to the insets
3150 some coordinate changes.
3152 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3154 * text.C: add using statements for std::advance and std::distance
3156 * paragraph.C: add using statement for std::distance
3158 * lyxfind.C: add using statement for std::advance
3160 * cursor.C (region): remove std:: from swap
3161 (openable): use nucleus in stead of operator->
3163 * BufferView.C: add using statements for std::distance and std::swap
3165 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3167 * iterators.C: Remove the pimple, move the needed structures to
3168 the header file. Create accessor for the positions stack.
3169 (asPosIterator): remove function
3171 * PosIterator.C (PosIterator): move constructors to top of file
3172 (PosIterator): reimplement the constructor taking a ParIterator in
3174 (setFrom): new function
3175 (operator!=): inline it
3177 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3179 * lyxfind.C (replaceAll): use std::advance
3181 * iterators.h: inherit from std::iterator.
3183 * PosIterator.C (advance, distance): remove
3184 * PosIterator.h: interit from std::iterator.
3186 2004-01-26 André Pönitz <poenitz@gmx.net>
3189 * BufferView_pimpl.[Ch]:
3193 * bufferview_funcs.C:
3203 * output_linuxdoc.C:
3204 * output_plaintext.C:
3206 * paragraph_funcs.[Ch]:
3207 * paragraph_pimpl.[Ch]:
3213 * text3.C: more IU: dumps most of the rest of the mathcursor
3214 implementation into cursor.[Ch]; "globalize" a bit of it.
3216 2004-01-25 Angus Leeming <leeming@lyx.org>
3218 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3220 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3222 * LaTeXFeatures.h: add nice_ and nice() const
3223 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3225 2004-01-20 André Pönitz <poenitz@gmx.net>
3228 * BufferView_pimpl.C:
3230 * bufferview_funcs.C:
3232 * cursor_slice.[Ch]:
3243 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3244 LCursor and mathcursor parts to LCursor and InsetBase.
3246 2004-01-15 André Pönitz <poenitz@gmx.net>
3248 * cursor_slice.[Ch]: add a few covienience functions
3250 * funcrequest.[Ch]: remove BufferView * member
3252 * BufferView_pimpl.C:
3259 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3261 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3263 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3264 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3266 2004-01-13 André Pönitz <poenitz@gmx.net>
3269 * lyxtext.h: hide cursor and selection anchor behind accessor function
3272 * BufferView_pimpl.[Ch]:
3274 * bufferview_funcs.C:
3284 * cursor_slice.[Ch]: some integer type changes for inset unification
3286 * lyxcursor.[hC]: remove, it's CursorSlice now.
3289 * BufferView_pimpl.[Ch]:
3290 * bufferview_funcs.C:
3296 * textcursor.[Ch]: adjust
3298 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3300 * text2.C (undoSpan): add and use
3301 * text.C (breakParagraph): use undoSpan (fix bug 578)
3304 2004-01-08 Angus Leeming <leeming@lyx.org>
3306 * BufferView_pimpl.C (MenuInsertLyXFile):
3307 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3308 * lyxfunc.C (menuNew, open, doImport):
3309 FileFilterList change to the FileDialog open and save functions.
3311 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3313 * ShareContainer.h: make isEqual and isUnique adaptable
3315 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3317 2004-01-07 Angus Leeming <leeming@lyx.org>
3320 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3322 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3324 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3325 functions replacing find, replace and replaceAll.
3327 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3328 LFUN_WORDFIND(FORWARD|BACKWARD).
3330 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3332 * text.C (breakParagraph): remove an outdated #warning
3334 2004-01-07 André Pönitz <poenitz@gmx.net>
3336 * lyxfind.C: somewhat clearer logic
3338 * text.C: prevent crash in cursorX on unitialized row cache
3340 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3342 * lyxcursor.[Ch] (operator>): add
3343 * textcursor.C (selStart, selEnd): use std::min and std::max
3345 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3347 * Chktex.C: include boost/format.hpp
3349 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3351 * InsetList.C: replace functor MathcIt with adaptable functor
3353 (insetIterator): modify accordingly
3355 * BranchList.h: move the BranchNamesEqual functor here from...
3356 * BranchList.C: ... to here
3358 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3360 (add): replace a finding loop with std::find_if.
3362 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3364 * output_docbook.C: moving LatexParam functionality into
3367 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3369 * buffer.C: increment format to 229.
3371 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3374 * lyx_sty.[Ch]: remove minipageindent_def
3380 * text3.C: remove LFUN_INSET_MINIPAGE
3382 2003-12-28 Angus Leeming <leeming@lyx.org>
3384 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3386 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3388 * text2.C (setParagraph): fix off-by-one crash
3390 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3392 * output_docbook.C: header stuff for AGU
3394 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3396 * text2.C (redoCursor): remove
3399 * BufferView_pimpl.C: remove calls to redoCursor and
3400 setCursor(cursor.par(), cursor.pos()) all around
3402 2003-12-15 Angus Leeming <leeming@lyx.org>
3404 * buffer.C: up the format to 228.
3406 2003-12-15 André Pönitz <poenitz@gmx.net>
3408 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3413 * BufferView_pimpl.C:
3422 2003-12-15 Angus Leeming <leeming@lyx.org>
3424 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3425 than getFromGUIName to manipulate the color.
3427 2003-12-14 Angus Leeming <leeming@lyx.org>
3429 * BranchList.[Ch]: minimize the API.
3430 (Branch::getBranch, getColor): now return a 'const &'.
3431 (Branch::setSelected) now returns a bool set to true if the
3432 selection status changes.
3433 (BranchList::clear, size, getColor, setColor, setSelected,
3434 allBranches, allSelected, separator): removed.
3435 (BranchList::find): new functions, returning the Branch with
3437 (BranchList::add, remove): return a bool indicating that
3438 the operation was successful.
3440 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3441 new InsetBranch::isBranchSlected member function.
3443 * LColor.[Ch]: mimimize the API.
3444 (fill): renamed as addColor and made private.
3445 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3446 versions of these functions taking a string arg have been removed.
3448 * bufferparams.C (readToken):
3449 * lyxfunc.C (dispatch):
3450 * lyxrc.C (read): changes due to the altered BranchList and
3453 * factory.C (createInset, readInset): changes due to altered
3456 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3459 * lyxfunc.C: remove insetminipage. "minipage-insert"
3460 now produces a frameless minipage box inset.
3462 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3464 * textcursor.[Ch] (selStart,selEnd): add new methods
3465 remove selection::start, end, use LyXCursor::operator<
3466 * lyxcursor.[Ch] (operator<): add
3467 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3468 * BufferView.[Ch] (unsetXSel): add
3469 * text2.C (clearSelection): use unsetXSel,adjust
3472 * rowpainter.C: adjust
3473 * bufferview_funcs.C (put_selection_at): adjust
3475 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3477 * BufferView_pimpl.C: small coord. correction
3479 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3481 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3482 dragging over the splash screen.
3484 2003-12-11 Angus Leeming <leeming@lyx.org>
3486 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3487 as it is now handled in LyXText::dispatch.
3489 * text3.C (doInsertInset): remove a level of nesting.
3491 2003-12-11 Angus Leeming <leeming@lyx.org>
3493 * factory.C (createInset): changes due to the changed interface to
3494 InsetCommandMailer::string2params.
3496 2003-12-10 Angus Leeming <leeming@lyx.org>
3498 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3499 'dialog-show-new-inset <inset name>'
3501 2003-12-10 Angus Leeming <leeming@lyx.org>
3503 * buffer.C: up the format to 227.
3505 * factory.C: the box inset is now identified simply by 'Box'.
3507 2003-12-10 Angus Leeming <leeming@lyx.org>
3509 * buffer.C: up the format to 226.
3511 * factory.C: the note inset is now identified simply by 'Note'.
3513 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3515 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3516 when a pit is enough. Standarize a couple of loops.
3518 2003-12-05 Angus Leeming <leeming@lyx.org>
3520 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3521 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3522 data to the re-worked "log" dialog.
3524 2003-12-03 André Pönitz <poenitz@gmx.net>
3530 * paragraph_funcs.C:
3532 * text2.C: use Inset::getText instead of Inset::getParagraph
3534 2003-12-03 André Pönitz <poenitz@gmx.net>
3538 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3539 InsetText::read() as LyXText::read()
3541 2003-12-02 Angus Leeming <leeming@lyx.org>
3543 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3544 type. Add a comment in the implementation that the function uses
3545 the stream's bad() function rather than fail() as the std::streams
3548 2003-12-02 André Pönitz <poenitz@gmx.net>
3550 * lyxlex.[Ch]: make interface more similar to std::stream
3552 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3554 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3556 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3558 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3560 * vspace.[Ch]: remove VSpace::NONE
3562 2003-12-01 André Pönitz <poenitz@gmx.net>
3565 * lyxtext.h: move ParagraphList member to LyXText
3566 rename LyXText::ownerParagraphs to LyXText::paragraph
3569 * bufferview_funcs.C:
3579 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3581 * undo.C: fix cursor positioning
3583 2003-12-01 John Levon <levon@movementarian.org>
3585 * BufferView_pimpl.C: fix a crash on exit with
3588 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3590 * BranchList.C: fix setSelected() method.
3592 2003-11-28 André Pönitz <poenitz@gmx.net>
3594 * ParagraphParameters.[Ch]:
3595 * ParameterStruct.h: remove space above/below from Paragraph to
3598 * BufferView_pimpl.C:
3604 * paragraph_funcs.C:
3610 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3612 * factory.C: Syntax change for CharStyles
3614 2003-11-28 André Pönitz <poenitz@gmx.net>
3619 * buffer.[Ch]: move LyXText member
3621 2003-11-28 André Pönitz <poenitz@gmx.net>
3623 * BufferView.[Ch]: make LyXText * text a private member
3625 * BufferView_pimpl.C:
3636 * output_plaintext.C: cleanup
3638 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3641 * lyxtextclass.[Ch]: parametrize SGML document header
3643 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3646 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3649 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3651 * text2.C (setFont): rework using PosIterator (no more recursive)
3652 (setCharFont): no more needed
3653 (setLayout): no more selection cursors fiddling (done by redoCursor)
3654 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3655 destroy remaining ones)
3657 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3659 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3661 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3664 * text3.C: adjust + re-allow multi par depth changes
3665 * textcursor.C: simplify a bit
3667 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3673 * src/output_docbook.C:
3674 * src/output_latex.C:
3679 * src/text2.C: Introducing a number of tags parametrizing various
3680 XML formats that we may want to support
3682 2003-11-25 André Pönitz <poenitz@gmx.net>
3684 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3686 * lyxtext.h (leftMargin/rightMargin): simplify interface
3693 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3695 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3696 master file to any child files. Fixes bug 546.
3698 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3700 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3702 2003-11-24 André Pönitz <poenitz@gmx.net>
3704 * rowpainter.C: simplification
3706 * text2.C (updateCounters): remove call to redoParagraph on
3707 changed labels as this is far too expensive.
3709 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3711 * converter.C (convert): fix a crash: this function gets
3712 called with buffer == 0 from importer code.
3714 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3716 * text3.C (cursorPrevious): make sure that we do not compare
3717 iterators form different containers.
3720 * rowpainter.C (paintSelection): make sure that we do not compare
3721 iterators from different containers.
3723 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3724 iterators from different ParagraphList containers.
3727 * text2.C (LyXText): change order of initialization slightly
3728 (operator=): new function. copy all variables except cache_par_
3729 (moveUp): make sure that we do not compare iterators from
3730 different ParagraphList constainers.
3733 * text.C (firstPar): new function
3734 (lastPar): new function
3735 (endPar): new function
3737 * lyxtext.h: move things around and group public functions, public
3738 variables, private functions, private variables
3740 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3742 * factory.C: change call to InsetERT constructor to avoid
3743 additional invocation of method status
3744 * text2.C (toggleInset): remove redundant update() call
3745 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3746 instead of a Bufferview pointer
3748 2003-11-21 André Pönitz <poenitz@gmx.net>
3750 * rowpainter.C: simplification
3752 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3754 * text3.C (dispatch): make possible to extend a word/row selection
3757 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3759 * lyxtext.h: x0_,y0_ -> xo_,yo_
3760 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3761 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3762 * rowpainter.C (paintRows): paint full paragraphs
3764 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3766 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3769 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3771 * lyxtext.h: add x0_, y0_
3772 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3773 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3775 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3777 * text2.C (setCursorIntern): move the x_target update here *
3778 * text3.C: change some bv() to true/false in calls to
3779 cursorUp/Down/Right/Left
3780 * cursor.C: use helper function.
3782 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3784 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3785 * paragraph_funcs.[Ch]: correct comment
3786 * rowpainter.C: do not paint selections away from bv->cursor()
3787 Fix a long standing selection painting bug.
3788 * text3.C: generalize mouse-selection code to LyXTexts other that
3790 * textcursor.C: do not use y coords if we can use par offsets
3792 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3794 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3795 cursor position after e.g. inset insert)
3797 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3799 * lyxfind.C (replace): adjust to locking removal + some
3802 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3804 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3807 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3810 * output_docbook.C: XML sanitation: new layout
3811 parameters InnerTag and CommandDepth
3813 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3815 * BufferView_pimpl.C:
3817 * text3.C: Fix the insertion and modification of button-style
3820 2003-11-13 André Pönitz <poenitz@gmx.net>
3822 * InsetList.[Ch]: remove deleteLyXText
3824 * paragraph.[Ch]: cache beginOfBody position
3829 * text3.C: remove superfluous update() calls
3833 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3835 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3836 * BufferView.C (fitLockedInsetCursor): remove
3837 * cursor.[Ch] (getDim): add
3838 * text.C (getRowNearY): add faster version
3839 * text3.C: remove some update calls
3841 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3853 * text3.C: The Character Style /XML short element patch.
3855 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3858 * factory.C: Small step to solving 'unable to insert some insets'
3861 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3863 * cursor.[Ch] (updatePos): new function for updating the y
3864 position of the tip inset
3865 * bufferview_funcs.C (put_selection_at):
3866 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3868 2003-11-11 André Pönitz <poenitz@gmx.net>
3870 * text.C: remove big comment on invalid Paragraph pointers as it is
3873 2003-11-11 André Pönitz <poenitz@gmx.net>
3875 * text_funcs.[Ch]: merge with ...
3883 * Makefile.am: remove text_funcs.[Ch]
3885 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3887 * cursor.C (getPos): return absolute cached y coord
3889 * BufferView_pimpl.C (fitCursor): new simplistic code
3890 (workAreaDispatch): add a fitCursor call
3892 2003-11-10 André Pönitz <poenitz@gmx.net>
3895 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3897 2003-11-10 André Pönitz <poenitz@gmx.net>
3899 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3900 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3901 indicate that the cursor needs to leave an inset
3903 * lyxtext.h: remove inset locking
3905 * cursor.[Ch]: re-implement functionality provided by inset locking
3908 * BufferView_pimpl.[Ch]:
3910 * bufferview_funcs.[Ch]:
3922 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3924 * PosIterator.[Ch]: replace the stack with a vector, add inset
3926 * iterators.[C]: adjust
3928 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3930 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3932 * paragraph_funcs.C (readParToken): put the correct id in the
3933 error item, not the id of the top paragraph
3935 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3937 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3938 * bufferview_funcs.C (put_selection_at): use the above
3940 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3942 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3944 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3946 * output_linuxdoc.h:
3947 * output_plaintext.h:
3949 * output_docbook.h: add #include statements
3951 2003-11-05 José Matos <jamatos@lyx.org>
3953 * output_docbook.[Ch]:
3954 * output_latex.[Ch]:
3955 * output_linuxdoc.[Ch]:
3956 * output_plaintext.[Ch]: New files for output formats.
3957 * output.[Ch]: New file for helper functions.
3960 * paragraph_funcs.[Ch]: output functions moved to new files.
3962 * outputparams.h: rename of latexrunparams.h
3970 * paragraph_funcs.[Ch]:
3971 * paragraph_pimpl.[Ch]:
3972 * tabular.[Ch]: rename ascii to plaintext
3973 and LatexRunParams to OutputParams.
3975 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3977 * iterators.[Ch] (text): require bv argument
3978 * undo.C (recordUndo):
3979 * lyxfunc.C (dispatch):
3980 * bufferview_funcs.C (put_selection_at): adjust
3982 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3984 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3986 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3988 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3991 2003-11-04 André Pönitz <poenitz@gmx.net>
3993 * cursor.[Ch]: restructure
3996 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3998 * iterators.[Ch] (asCursor): remove
4000 * lfuns.h: remove LFUN_INSET_EDIT
4006 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4008 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4010 * lyxfind.[Ch]: complete overhaul
4011 * BufferView_pimpl.C:
4013 * paragraph.[Ch] (insert): add
4015 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4019 * text.C: remove dead spellcheck code
4021 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * dispatchresult.h: add a val setter
4025 * cursor.C (dispatch): use a tempvar for data_[i]
4027 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4029 * PosIterator.[Ch]: compile fix
4031 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4033 * text.C (cursorPar): deactivate the cursor cache
4035 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4037 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4039 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4041 * text3.C (dispatch): adjust for new DisptchResult semantics.
4043 * lyxfunc.C (dispatch): handle update when return from
4044 Cursor::dispatch, adjust for new DispatchResult semantics.
4046 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4047 DispatchResult(true) mean to not update. Add class functions for
4048 setting dispatched and update, as well as reading.
4050 * cursor.C (dispatch): don't handle update here
4052 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4054 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4055 * trans_mgr.C: adjust
4057 * paragraph_funcs.C (readParToken): exception safety
4059 * lyxvc.h: store the vcs pointer in a scoped_ptr
4062 * lyxsocket.C (serverCallback): exception safety
4064 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4066 * ispell.C (clone): make it return a auto_ptr
4068 * factory.C (createInset): exception safety
4069 (readInset): exception safety
4071 * bufferlist.C (newBuffer): exception safety
4073 * Thesaurus.C (Thesaurus): use initialization for aik_
4075 * MenuBackend.C (expandToc): exception safety.
4077 2003-11-03 André Pönitz <poenitz@gmx.net>
4081 * bufferview_funcs.C: remove getInsetFromId()
4084 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4090 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4092 * PosIterator.C (distance, advance): new
4093 * bufferview_funcs.[Ch] (put_selection_at): new
4094 * iterators.[Ch] (lockPath): new
4096 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4098 * iterators.[Ch] (asPosIterator): added
4099 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4100 * PosIterator.[Ch]: added
4102 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4106 * cursor.C (dispatch):
4107 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4109 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4110 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4111 contructor, add a class function dispatched. Remove operator>=
4113 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * debug.C: only use the default constructor for debugstream
4118 * main.C (main): include debug.h and setup the lyxerr streambuf
4121 2003-10-31 José Matos <jamatos@lyx.org>
4123 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4125 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4126 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4127 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4128 * paragraph_pimpl.C (simpleTeXSpecialC):
4129 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4130 add LatexRunParams argument.
4132 * exporter.C (Export): change call accordingly.
4134 * latexrunparams.h: add new member to take care of the other backends.
4135 2003-10-30 José Matos <jamatos@lyx.org>
4137 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4138 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4139 factorise code for paragraph output.
4141 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4144 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4146 * text3.C (dispatch):
4147 * lyxfunc.C (dispatch):
4148 * cursor.C (dispatch):
4149 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4151 * dispatchresult.h: make the dispatch_result_t ctor explicit
4153 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4156 * buffer.C: small refactoring of docbook stuff
4158 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4160 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4163 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4165 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4166 operator dispatch_result_t, and operators for == != and >=
4168 * cursor.C (dispatch): adjust for operator dispatch_result_t
4169 removal. comment out call to update
4171 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4173 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4181 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4184 * dispatchresult.h: new file, DispatchResult broken out of
4187 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4189 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4191 * text.C (rowBreakPoint): put a hack inside #if 0
4193 2003-10-28 André Pönitz <poenitz@gmx.net>
4197 * paragraph_funcs.C:
4200 * text2.C: general cleanup (lots of small stuff)
4202 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4204 * text2.C (cursorEnd): simple fix to the "end key goes to one
4205 before the end on last row" bug
4207 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4209 * text.C (backspace): fix the "zombie characters"
4211 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4213 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4215 2003-10-27 André Pönitz <poenitz@gmx.net>
4217 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4219 * factory.C: handle new InsetPagebreak, InsetLine
4221 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4222 and move handling into new InsetPagebreak, InsetLine
4224 * BufferView_pimpl.C:
4226 * ParagraphParameters.C:
4227 * ParameterStruct.h:
4232 * paragraph_funcs.C:
4233 * paragraph_pimpl.C:
4239 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4242 * lyxrow_funcs.[Ch]:
4248 * text3.C: remove lastPos uses in favour of Row::endpos
4250 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4252 * undo.C (performUndoOrRedo): fix two crashes by setting a
4253 cursor by hand and reordering some calls. Use bv->lockInset instead
4254 of inset->edit because the latter loses cursor information
4256 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4258 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4260 (rowBreakPoint): fix width. change point to point + 1.
4261 Add a missing check.
4263 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4266 * lyxfunc.C: fix (at least partly) the problems
4267 with the Nav menu and headers inside branch insets
4270 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4272 * paragraph.C (getChar): add strong asserts
4274 * lyxrow_funcs.C (lastPos): remove hideous hack
4276 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4277 (fill): adjust to that (avoid an infinite loop)
4279 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4281 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4283 2003-10-23 André Pönitz <poenitz@gmx.net>
4285 * RowList_fwd.h: change list<> to vector<> to gain speed
4286 after suggestion from Alfredo
4288 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4290 * lyxtext.h: move the bidi stuff from here...
4293 * Bidi.[Ch]: ... to here
4295 2003-10-23 André Pönitz <poenitz@gmx.net>
4298 * text.C (isLastRow, isFirstRow): new functions
4300 * paragraph.h: new width cache member
4302 * rowpainter.C: replace RowList::iterator with Row & where possible
4304 * lyxfunc.C: replace several view()->text with a single call
4306 * toc.C: fix 'unused' warning
4308 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4311 when woring with stream::pos_type
4312 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4314 2003-10-22 André Pönitz <poenitz@gmx.net>
4317 * text.C: use Row & instead of RowList::iterator
4319 * lyxrow.h: rename end() to endpos()
4325 2003-10-22 Angus Leeming <leeming@lyx.org>
4327 * buffer.[Ch] (fully_loaded): new member function, returning true
4328 only when the file has been loaded fully.
4329 Used to prevent the premature generation of previews and by the
4330 citation inset to prevent computation of the natbib-style label.
4332 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4333 templates are all set up.
4335 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4337 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4339 * text.C: fixed an "oops" in the "is a bit silly"
4342 2003-10-21 André Pönitz <poenitz@gmx.net>
4344 * FuncStatus.[Ch]: small stuff, whitespace
4346 * lyxfont.[Ch]: operator<<() for debug reasons
4350 * lyxtext.h: whitespace, spelling
4352 * paragraph.C: naming of variables
4355 * text2.C: small stuff
4358 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4360 * text.C: (1) finish off the inset display() work;
4361 (2) fix the "is a bit silly" bug (accessing char
4364 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4366 * text.C: re-introduce display() for insets, fixing the
4367 various bugs (stretch of line above, math inset
4370 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4372 * text.C (rightMargin): remove spurious semicolon
4374 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4377 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4379 * text3.C: fix one crash due to wrong cursor def
4381 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * vc-backend.C (scanMaster): make the regex static
4385 * LaTeX.C (scanAuxFile): make the regexs static
4387 * text3.C (doInsertInset, dispatch, dispatch):
4388 * text2.C (cursorUp, cursorDown):
4389 * text.C (selectNextWordToSpellcheck):
4390 * BufferView_pimpl.C (dispatch):
4391 * lyxfunc.C (dispatch): localDispatch -> dispatch
4393 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4395 * lyxsocket.C: include <cerrno>
4397 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * lyxfunc.C (dispatch): remove textcache stuff
4401 * bufferlist.C (release): remove textcache stuff
4404 * TextCache.C: delete file
4405 * TextCache.h: delete file
4407 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4409 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4410 delete of the bv_->text.
4411 (resizeCurrentBuffer): remove texcache stuff
4412 (workAreaResize): ditto
4414 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4419 2003-10-16 André Pönitz <poenitz@gmx.net>
4426 * text3.C: speed up by storing y positions per paragraph plus per-row
4427 offset instead of having a 'full' y position in the row.
4429 2003-10-15 André Pönitz <poenitz@gmx.net>
4433 * undo.[Ch]: make undo aware of inner insets
4435 2003-10-14 Angus Leeming <leeming@lyx.org>
4437 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4438 static member functions LyX::ref() and LyX::cref.
4439 (lastfiles): new accessor functions for the new lastfiles_ member var.
4440 (addLyXView, views_): add a new LyXView to the list of views_.
4441 (updateInset): loop over all LyXViews to call their own updateInset
4442 member function, returning a pointer to the Buffer owning the inset.
4444 * BufferView_pimpl.C (loadLyXFile):
4445 * MenuBackend.C (expandLastfiles):
4446 * bufferlist.C (MenuWrite, QuitLyX):
4447 lastfiles is no longer a global variable.
4448 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4450 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4451 static function. Access through LyX::cref().emergencyCleanup().
4453 2003-10-14 André Pönitz <poenitz@gmx.net>
4455 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4457 * undo.[Ch]: restoring part of 'undo in insets'
4460 * undo_funcs.[Ch]: merge with undo.[Ch]
4462 * tabular.C: small cleansing stuff
4464 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4466 * paragraph_funcs.C (readParToken): report unknown insets as error
4467 boxes. Use the outer paragraph as location (also for unknown
4470 * factory.C (readInset): do not abort on reading an unknown inset.
4471 Eat it and return 0.
4473 2003-10-13 Angus Leeming <leeming@lyx.org>
4475 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4477 * lyxrc.C: displayTranslator is now a function,
4478 declared in GraphicsTypes.h.
4480 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4482 * format.C: new placeholder $$a to pass the socket address.
4484 * bufferlist.[Ch]: new function getBufferFromTmp.
4486 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4487 files in the temporary dir.
4489 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4491 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4493 * Makefile.am: add lyxsocket.[Ch].
4495 * lyx_main.C (error_handler): handle SIGPIPE.
4497 2003-10-13 André Pönitz <poenitz@gmx.net>
4499 * BufferView_pimpl.C:
4504 * undo_funcs.[Ch]: use paroffset_type instead of
4505 ParagraphList::iterators to prevent multiple conversion
4506 (and get a more robust interface)
4508 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4510 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4512 * text3.C (dispatch): ditto
4514 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4516 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4517 move the onlyfile, use onlyfile instead of foundfile in a couple
4520 * DepTable.C (update): flush the error stream a bit more
4522 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4524 * lyxserver.C (callback): adjust
4526 * lyxfunc.C (getStatus): add a missing brace in commented code
4527 (ensureBufferClean): reindent
4528 (dispatch): delete version taking a string
4530 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4532 * LaTeX.C (deplog): move found file handlig from here...
4533 (handleFoundFile): .. to new function here.
4534 (deplog): make sure to discover several files mentioned on the
4537 2003-10-10 André Pönitz <poenitz@gmx.net>
4544 * text3.C: fix some of the tabular crashes
4546 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4548 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4550 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4552 2003-10-09 André Pönitz <poenitz@gmx.net>
4554 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4557 * BufferView_pimpl.C:
4558 * bufferview_funcs.C:
4569 * undo_funcs.C: adjust
4571 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4573 * text2.C (incrementItemDepth): new function, use a backtracking
4574 algorithm to discover the correct item depth.
4575 (resetEnumCounterIfNeeded): new function, use a backtracking
4576 algorithm to discover if counter reset is needed.
4577 (setCounter): use them. Simplify a bit. Add different labels for
4578 different item depths for itemize.
4580 * paragraph.C (Paragraph): remove initialization of enumdepth
4583 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4584 enumerate and itemize. Change the type of itemdepth to signed char.
4586 2003-10-08 André Pönitz <poenitz@gmx.net>
4588 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4593 * tabular.[Ch]: fix crash after 'row-insert'
4595 2003-10-08 Angus Leeming <leeming@lyx.org>
4597 Fix doxygen warnings.
4599 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4600 Remove CutAndPaste:: prefix from header file declaration.
4602 * LColor.h (fill): remove LColor:: prefix from declaration.
4604 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4605 use lyx::depth_type rather than Paragraph::depth_type so that
4606 header file and .C file match.
4608 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4610 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4611 * aspell.C: \file aspell_local.C -> \file aspell.C
4612 * gettext.C: \file gettext.C -> \file src/gettext.C
4613 * gettext.h: \file gettext.h -> \file src/gettext.h
4614 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4615 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4616 * text.C: \file text.C -> \file src/text.C
4618 * toc.C: move comment so that doxygen is not confused.
4620 2003-10-07 Angus Leeming <leeming@lyx.org>
4622 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4624 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4627 * aspell_local.h: add forgotten std::string's.
4629 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4636 * text3.C: The Box patch. Fancybox support, minipage, parbox
4638 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4644 * ParagraphParameters.h:
4654 * lyxtextclasslist.h:
4657 * paragraph_pimpl.C:
4658 * textcursor.h: add <string> and other small fixes to make Lars'
4659 std::string patch compile with STLport.
4661 2003-10-06 Angus Leeming <leeming@lyx.org>
4663 * LColor.h: Add missing #include <string>.
4665 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4667 * All most all file in all subdirs: Make <string> be the prefered
4668 way of getting to std::string, add using declarations.
4670 2003-10-06 André Pönitz <poenitz@gmx.net>
4672 * metricsinfo.C: initialize LyXFont before changing attribute.
4673 (fixes the 'math in \emph is upright' bug)
4675 2003-10-06 André Pönitz <poenitz@gmx.net>
4677 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4679 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4682 * paragraph_pimpl.C: Small fixes to build using STLport
4684 2003-10-02 André Pönitz <poenitz@gmx.net>
4687 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4689 2003-10-01 André Pönitz <poenitz@gmx.net>
4691 * factory.C: assert early
4693 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * lyx_main.C: remove the global debug object
4697 * debug.h: adjust for new debugstream
4699 * debug.C: adjust for new debugstream and keep the global debug
4702 2003-09-22 Angus Leeming <leeming@lyx.org>
4704 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4705 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4706 an incomplete class LyXFont.
4708 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4710 * factory.C: bug fix in branches
4712 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4714 * lyxfunc.C (processKeySym): adjust
4716 (dispatch): change arg name from ev to func, adjust
4717 (sendDispatchMessage): ditto
4719 * lyx_main.C (defaultKeyBindings): adjust keybindings
4720 (deadKeyBindings): ditto
4722 * kbsequence.C (addkey): return a FuncRequest
4724 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4726 * kbmap.C (bind): take a FuncRequest as arg, adjust
4729 (defkey): change to take a FuncRequest as arg, adjust
4730 (findbinding): take a FuncRequest as arg, adjust.
4732 * funcrequest.h (operator=): added
4734 * funcrequest.C (FuncRequest): default kb_action changed from
4735 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4737 * buffer.C (dispatch): simplify
4738 (dispatch): adjust to take a FuncRequest as arg, adjust
4740 * boost.C (assertion_failed): change assertion message slightly
4742 * ToolbarBackend.C (read): simplify
4744 * MenuBackend.C (binding): adjust call to findbinding, add a
4745 message if no binding is found.
4747 (expandToc): correct by adding a empty FuncRequest
4749 * LyXAction.C: include <boost/assert.hpp>
4750 (isPseudoAction): delete function
4751 (LookupFunc): change name to...
4752 (lookupFunc): this. change return type to FuncRequest.
4753 (getActionName): take kb_action as arg, simplify
4754 (funcHasFlag): add an assert, simplify.
4756 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * toc.C (action): return a FuncRequest, simplify
4760 * lyxfunc.C (processKeySym): adjust
4761 (getStatus): delete version that takes an int.
4763 (dispatch): delete version that takes action as int
4765 (sendDispatchMessage): simplify and adjust
4767 * funcrequest.C (getArg): take unsigned int as arg
4769 * ToolbarBackend.C (read): adjust
4770 (add): delete version that takes func as a string.
4771 (getIton): take a FuncRequest as arg
4773 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4776 * MenuBackend.C (MenuItem): add a new construct that only takes a
4777 Kind, simplify the constructor use for submenus.
4779 (expandLastfiles): adjust
4780 (expandDocuments): adjust
4781 (expandFormats): adjust
4782 (expandFloatListInsert): adjust
4783 (expandFloatInsert): adjust
4784 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4786 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4787 Remove class variables lyx_pseudo_map and lyx_arg_map
4789 * LyXAction.C (searchActionArg): delete function
4790 (getPseudoAction): delete function
4791 (retrieveActionArg): delete function
4792 (LookupFunc): make it return kb_action, simplify.
4793 (getActionName): simplify
4795 * factory.C (createInset): fix new bug
4797 2003-09-19 Angus Leeming <leeming@lyx.org>
4799 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4800 masterFilename_ parameter in the include inset.
4802 * factory.C (createInset): changes due to the changes to InsetInclude.
4804 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4806 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4808 2003-09-18 Angus Leeming <leeming@lyx.org>
4811 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4812 Inset::fillWithBibKeys.
4813 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4815 2003-09-18 Angus Leeming <leeming@lyx.org>
4817 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4819 (ctor): pass and store a 'Buffer const &'
4820 (buffer): new member function.
4822 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4823 '*this' to the LaTeXFeatures ctor.
4825 2003-09-18 Angus Leeming <leeming@lyx.org>
4831 * text.C: rename EnumLColor as LColor_color.
4833 2003-09-18 Angus Leeming <leeming@lyx.org>
4835 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4836 remove #include "insets/insetbase.h" from cursor.h.
4838 2003-09-18 Angus Leeming <leeming@lyx.org>
4840 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4841 InsetOld_code to remove #include "inset.h".
4843 * iterators.C: add #include "insets/inset.h"
4845 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4847 * BufferView.C: remove more locking stuff that apparently doesn't
4848 do anything sensible.
4850 2003-09-16 André Pönitz <poenitz@gmx.net>
4853 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4856 2003-09-16 Angus Leeming <leeming@lyx.org>
4858 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4860 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4863 * paragraph.h: remove #include "lyxfont.h". Forward declare
4866 2003-09-16 Angus Leeming <leeming@lyx.org>
4868 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4869 of support/textutils.h.
4870 (isWord): move the contents of support/textutils.h's IsWordChar here.
4876 * text2.C: add #include "paragraph.h".
4879 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4881 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4887 * LaTeX.C: use namespace alias for lyx::support::os
4889 2003-09-16 Angus Leeming <leeming@lyx.org>
4892 * bufferview_funcs.C:
4895 * paragraph_pimpl.C:
4897 * text.C: add #include "LColor.h".
4899 2003-09-16 Angus Leeming <leeming@lyx.org>
4901 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4902 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4904 Store the FontBits::color variable as an int rather than as an
4905 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4908 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4909 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4910 string calls together.
4912 * lyxrc.C: add #include "LColor.h".
4914 2003-09-15 Angus Leeming <leeming@lyx.org>
4916 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4919 2003-09-15 Angus Leeming <leeming@lyx.org>
4921 * LColor.h: add an EnumLColor wrapper for LColor::color.
4923 * lyxfont.[Ch] (color, setColor, realColor):
4924 * lyxtext.h, text.C (backgroundColor):
4925 pass EnumLColor args to/from the functions, rather than LColor::color
4929 * lyxtext.h: forward declare EnumLColor.
4931 * lyx_main.C: add #include "LColor.h".
4933 2003-09-15 Angus Leeming <leeming@lyx.org>
4935 * .cvsignore: add lyx-gtk.
4937 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4942 * ParagraphParameters.C
4946 * bufferview_funcs.C
4956 * vc-backend.C: remove usage of STRCONV
4958 2003-09-15 Angus Leeming <leeming@lyx.org>
4960 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4961 explicitly define the color passed to the painter.
4963 2003-09-15 Angus Leeming <leeming@lyx.org>
4965 * bufferparams.C (BufferParams): reorder member initializers to avoid
4968 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4970 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4971 * text.C (updateRowPositions): remove an unusual nop
4973 2003-09-12 André Pönitz <poenitz@gmx.net>
4975 * BufferView_pimpl.C:
4984 * Counters.[Ch]: finish the 'automatic counters' job
4986 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4988 * aspell.C: include <boost/assert.cpp> (compile fix)
4990 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4992 * boost.C (assertion_failed): use lyx::support::abort instead of
4995 2003-09-10 Angus Leeming <leeming@lyx.org>
4997 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4998 with their _fwd progeny.
5000 2003-09-09 Angus Leeming <leeming@lyx.org>
5002 134 files throughtout the source tree: replace 'using namespace abc;'
5003 directives with the appropriate 'using abc::xyz;' declarations.
5005 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5007 * boost.C (emergencyCleanup): moved here from LAssert.c
5008 (assertion_failed): new function, called by BOOST_ASSERT
5010 * several files: change Assert to BOOST_ASSERT
5012 2003-09-09 Angus Leeming <leeming@lyx.org>
5014 * buffer.[Ch]: Add an Impl class and move Buffer's member
5015 variables into it. As a result move several header files out of
5018 Add header files to lots of .C files all over the tree as a result.
5020 2003-09-09 Angus Leeming <leeming@lyx.org>
5022 * buffer.[Ch]: make Buffer's member variables private. Add
5025 Lots of changes all over the tree as a result.
5027 2003-09-08 Angus Leeming <leeming@lyx.org>
5029 * graph.C: #include <config.h>.
5031 2003-09-08 Angus Leeming <leeming@lyx.org>
5035 * BufferView_pimpl.C:
5064 * toc.C: remove redundant using directives.
5066 2003-09-07 Angus Leeming <leeming@lyx.org>
5068 * LaTeXFeatures.h: remove #include "support/types.h".
5069 * ToolbarBackend.h: remove #include <algorithm>.
5070 * changes.h: remove #include <ctime>.
5071 * debug.h: remove #include <iosfwd>.
5072 * graph.h: remove #include "support/std_string.h".
5073 * lyx_main.h: remove #include <csignal>.
5074 * lyxlex_pimpl.h: remove #include <fstream>.
5075 * sgml.h: remove #include <algorithm>, <utility>.
5076 * toc.h: remove #include "support/std_ostream.h".
5077 Add #include <iosfwd>.
5079 2003-09-07 Angus Leeming <leeming@lyx.org>
5081 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5083 * converter.h: forward declare LatexRunParams.
5084 * encoding.h: remove #include "lyxrc.h".
5085 * lyxtext.h: remove #include "LColor.h".
5086 * lyxtextclass.h: remove #include "support/types.h".
5087 * trans.h: remove #include "tex-accent.h".
5088 * trans_mgr.h: remove #include "tex-accent.h".
5089 * insets/inset.h: remove #include "support/types.h", <vector>.
5090 * insets/insetcollapsable.h: remove #include "LColor.h".
5091 * insets/insetinclude.h: remove #include "dimension.h".
5092 * insets/insetlatexaccent.h: remove #include "dimension.h".
5093 * insets/insetoptarg.h:: remove #include "insettext.h".
5094 * insets/insettext.h: remove #include "dimension.h",
5095 <boost/shared_ptr.hpp>
5097 * insets/renderers.h: add #include "dimension.h".
5098 * insets/updatableinset.h: add #include "support/types.h".
5100 * many .C files: Associated changes.
5102 2003-09-06 Angus Leeming <leeming@lyx.org>
5104 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5105 one, inside testInvariant.
5107 * PrinterParams.C: new file.
5108 * PrinterParams.[Ch]: move the function bodies out of line.
5110 2003-09-06 Angus Leeming <leeming@lyx.org>
5112 * ParagraphParameters.h: forward declare ParameterStruct rather than
5113 including its header file.
5114 (depth): moved out-of-line.
5116 2003-09-06 Angus Leeming <leeming@lyx.org>
5118 * BufferView_pimpl.h:
5121 * lyxfunc.h: forward declare LyXKeySym rather than
5122 #include "frontends/LyXKeySym.h".
5124 * BufferView_pimpl.C:
5127 * lyxfunc.C: associated changes.
5129 2003-09-06 Angus Leeming <leeming@lyx.org>
5131 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5132 As a result, can remove the #include "insets/inset.h" from BufferView.h
5134 2003-09-06 Angus Leeming <leeming@lyx.org>
5136 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5137 As a result, can remove the #include "insets/inset.h" from BufferView.h
5139 2003-09-06 Angus Leeming <leeming@lyx.org>
5145 * bufferview_funcs.C:
5146 * BufferView_pimpl.C:
5151 * ParagraphParameters.C:
5156 * frontends/controllers/ControlDocument.C:
5157 * insets/insetcaption.C: rearrange the #includes into some sort of
5160 * buffer.h: remove #includes ErrorList.h, undo.h
5162 2003-09-06 Angus Leeming <leeming@lyx.org>
5164 * support/types.h: add a 'depth_type' typedef, used to store the
5165 nesting depth of a paragraph.
5168 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5169 defining explicitly.
5172 * paragraph_funcs.h:
5173 * ParagraphParameters.h:
5174 * sgml.h: use lyx::depth_type rather than Paragraph or
5175 ParameterStruct's depth_type.
5178 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5181 * BufferView_pimpl.C:
5183 * ParagraphParameters.C:
5186 * bufferview_funcs.C:
5193 * frontends/LyXView.C:
5194 * frontends/controllers/ControlDocument.C:
5195 * frontends/controllers/ControlErrorList.C:
5196 * insets/insetbibitem.C:
5197 * insets/insetbranch.C:
5198 * insets/insetcaption.C:
5199 * insets/insetcollapsable.C:
5200 * insets/insetenv.C:
5201 * insets/insetert.C:
5202 * insets/insetfloat.C:
5203 * insets/insetfoot.C:
5204 * insets/insetfootlike.C:
5205 * insets/insetnewline.C:
5206 * insets/insetquotes.C:
5207 * insets/insettabular.C:
5208 * insets/insettext.C:
5209 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5211 * frontends/controllers/ControlChanges.C: #include "changes.h".
5213 2003-09-06 Angus Leeming <leeming@lyx.org>
5215 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5216 than #including paragraph.h.
5219 * RowList.h: deleted. Superfluous.
5229 * insets/insettext.h: use ParagraphList_fwd.h rather than
5232 * paragraph.h: don't forward declare ParagraphList.
5235 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5236 rather than ParagraphList.h. paragraph.h is still needed for the
5237 Paragraph::depth_type parameters.
5239 * textcursor.h: enable it to compile stand-alone in light of the
5242 * bufferview_funcs.C:
5254 * frontends/controllers/ControlParagraph.C:
5255 * frontends/controllers/ControlTabular.C:
5256 * insets/insetmarginal.C:
5257 * insets/insetminipage.C:
5258 * insets/insetnote.C:
5259 * insets/insetoptarg.C: add header files needed to compile again.
5261 2003-09-06 Angus Leeming <leeming@lyx.org>
5263 * RowList_fwd.h: new file, forward-declaring Row rather than
5264 #including lyxrow.h.
5269 * insets/insettext.h: use it instead of RowList.h
5271 * bufferview_funcs.C:
5278 * text3.C: #include "RowList.h".
5280 2003-09-05 Angus Leeming <leeming@lyx.org>
5282 * factory.C (createInset):
5283 * vspace.C (c-tor): replace sscanf call with an istringstream.
5284 * ispell.C: re-add missing HP/UX headers.
5285 * lyxserver.C: re-add missing os2 headers.
5287 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5296 * text3.C: re-add missing system headers, needed for 2.95.2.
5298 2003-09-05 Angus Leeming <leeming@lyx.org>
5300 Changes most place everywhere due to the removal of using directives
5301 from support/std_sstream.h.
5303 2003-09-05 Angus Leeming <leeming@lyx.org>
5305 Replace LString.h with support/std_string.h,
5306 Lsstream.h with support/std_sstream.h,
5307 support/LIstream.h with support/std_istream.h,
5308 support/LOstream.h with support/std_ostream.h.
5310 Changes resulting throughout the tree.
5312 2003-09-05 Angus Leeming <leeming@lyx.org>
5314 * sgml.h: ensure that the header file can be compiled stand-alone.
5315 * *.C: strip out redundant #includes. (320 in total.)
5317 2003-09-04 Angus Leeming <leeming@lyx.org>
5319 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5320 here (from getPackages).
5322 * debug.[Ch]: add a new EXTERNAL tag.
5324 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5326 * text2.C (cursorEnd): simplify
5328 (getColumnNearX): adjust
5330 * text.C (computeBidiTables): adjust
5333 * rowpainter.C (paintChars): adjust
5334 (paintSelection): adjust
5335 (paintChangeBar): adjust
5338 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5340 (numberOfSeparators): adjust
5342 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5348 * text3.C: Restricts the mouse click functionality
5349 of insets like bibtex, include, toc and floatlist to the visible
5350 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5351 up the dialogs. Cursor has to be in front of the inset (i.e.
5352 start of row) for this to function.
5354 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5356 * bufferview_funcs.C (currentState): output row information
5358 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5360 * bufferview_funcs.C (currentState): output paragraph position
5362 2003-09-04 Angus Leeming <leeming@lyx.org>
5364 * FloatList.h: move out #include "Floating.h".
5365 * LaTeX.h: move out #include "DepTable.h".
5366 * LyXAction.h: move out #include "funcrequest.h".
5367 * buffer.h: move out #include "author.h", "iterators.h".
5368 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5369 * lyx_main.h: move out #include "errorlist.h".
5370 * lyxfunc.h: move out #include "FuncStatus.h".
5371 * lyxtext: move out #include "lyxcursor.h".
5372 * paragraph_pimpl.h: move out #include "counters.h".
5374 2003-09-03 Angus Leeming <leeming@lyx.org>
5376 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5377 preamble_snippets list, enabling us to add snippets to the preamble
5378 only if the snippet was not there already.
5380 2003-09-04 Angus Leeming <leeming@lyx.org>
5382 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5384 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5386 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5389 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5391 * BranchList.C: point fix, earlier forgotten
5393 2003-09-02 Angus Leeming <leeming@lyx.org>
5395 * box.C (contains): renamed from 'contained' after a fantastic
5398 2003-09-02 John Levon <levon@movementarian.org>
5404 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5406 2003-09-02 John Levon <levon@movementarian.org>
5408 * text2.C: simplification of cursorEnd(), including partial
5411 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * buffer.C (readFile): add a space
5415 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5417 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5419 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5421 * buffer.C (readFile): new function, take a filename and a
5422 ParagraphList::iterator
5424 (readFile): adjust, make it private. don't use setStream, make
5425 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5426 always contain the filename.
5428 * BufferView.C (insertLyXFile): simplify and make it work for
5431 2003-08-30 John Levon <levon@movementarian.org>
5433 * Makefile.am: fix dist (from Kayvan)
5435 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5437 * most files: change to use const Buffer refs
5439 2003-08-27 André Pönitz <poenitz@gmx.net>
5441 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5442 on top of ownerPar().
5444 2003-08-27 John Levon <levon@movementarian.org>
5446 * funcrequest.C: properly initialise POD members
5448 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5450 * lyxtext.h (top_y): move top_y from here
5455 * BufferView_pimpl.[Ch]: to here
5456 * frontends/screen.C:
5457 * insets/insettabular.C:
5458 * insets/insettext.C: adjust
5459 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5461 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5464 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5466 2003-08-26 André Pönitz <poenitz@gmx.net>
5468 * paragraph_func.[Ch] (outerPar): new function
5471 * paragraph_funcs.C:
5472 * paragraph_funcs.h:
5473 * paragraph_pimpl.C:
5474 * text2.C: remove Inset::par_owner
5476 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5481 * text2.C: eliminates the needFullRow/display() stuff
5482 altogether, putting the logic in metrics/draw in the insets.
5484 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5486 * text2.C (redoParagraphInternal, redoParagraphs):
5487 * text.C (redoParagraph): add a call to updateRowPositions at the
5488 end of each 'metrics-like' call. Remove all others.
5489 (getRow): remove the 'y-computing' version.
5490 (getRowNearY): do not compute nor return the real y. Solve the
5491 'y < 0' problem and simplify.
5493 2003-08-22 Angus Leeming <leeming@lyx.org>
5495 * *.[Ch]: clean-up of licence and author blurbs.
5496 Also move config.h out of a few .h files and into a few .C files.
5498 2003-08-22 André Pönitz <poenitz@gmx.net>
5500 * lyxrow.[Ch]: add x_ and *fill_ members
5505 * text2.C: adjust/remove prepareToPrint() calls
5507 2003-08-22 André Pönitz <poenitz@gmx.net>
5509 * lyxrow.[Ch]: add end_ member
5511 * lyxrow_funcs.C: use LyXRow::end_
5513 * lyxtext.h (singleWidth): add LyXFont parameter
5516 * text2.C: adjust LyXText::singleWidth() calls
5518 * text.C (redoParagraph): simplify row breaking logic
5521 2003-08-19 André Pönitz <poenitz@gmx.net>
5523 * funcrequest.C: initialize button_ member
5526 * rowpainter.[Ch]: interface consolidation
5528 2003-08-18 André Pönitz <poenitz@gmx.net>
5531 * BufferView_pimpl.C:
5533 * paragraph_funcs.C:
5535 * text3.C: remove LyXScreen::draw() and fitCursor calls
5537 * BranchList.h: remove spurious semicolons
5539 * MenuBackend.C: fix branchlist related crash
5541 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5549 * bufferparams.[Ch]:
5553 * text3.C: implements the 'branch inset'
5554 idea. This allows the output of various versions of a document
5555 from a single source version, selectively outputing or suppressing
5556 output of parts of the text.
5557 This implementation contains a 'branch list editor' in a separate
5558 tab of the document settings dialog. Branches are user definable
5559 and have a "display colour" to distinguish them on-screen.
5561 ColorHandler was somewhat cleaned up.
5562 (1) make possible a dynamically growing LColor list by allowing
5563 the graphic context cache to grow along (vector);
5564 (2) eliminate an IMHO unnecessary step in colour allocation.
5566 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5568 * BufferView_pimpl.C: compile fix
5570 2003-08-15 André Pönitz <poenitz@gmx.net>
5572 * rowpainter.C: remove extra metrics calls
5574 * lyxtext.h: merge the two constructors into a single one,
5575 pass reference to owner's par list
5577 * BufferView_pimpl.C:
5581 2003-08-15 André Pönitz <poenitz@gmx.net>
5583 * lyxrow_funcs.[Ch]:
5586 * paragraph_funcs.C:
5591 * text_funcs.C: split LyXText::rowlist_ into individual
5592 Paragraph::rows_ chunks
5595 * BufferView_pimpl.[Ch]:
5598 * text3.C: remove toggleSelection()
5600 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5602 * bufferlist.C: beautify two alerts (shorter text of buttons)
5603 * buffer.C: Remove redundant ' ' from message
5605 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5606 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5607 rename VALIGN_CENTER to VALIGN_MIDDLE
5609 2003-08-11 André Pönitz <poenitz@gmx.net>
5611 * lyxtext.h (getPar):
5612 * text.C: new function
5614 2003-08-11 André Pönitz <poenitz@gmx.net>
5617 * tracer.[Ch]: remove unneeded files
5619 * InsetList.[Ch]: remove resizeInsetsLyXText()
5624 * text3.C: merge insertParagraphs() and appendParagraph()
5625 remove breakAgain(), update()
5627 * BufferView_pimpl.[Ch]:
5628 * bufferview_funcs.[Ch]:
5632 * tabular.C: adjust after text & InsetList changes.
5634 2003-08-08 André Pönitz <poenitz@gmx.net>
5636 * text.C (insertChar, backspace): replace rowlist fiddling
5637 with rebreak of full par
5640 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5641 checkParagraph, updateInset): removed
5643 2003-08-07 André Pönitz <poenitz@gmx.net>
5646 * text3.C: merge some LFUN handlers, remove dead code
5648 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5650 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5652 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5654 * text2.C (DEPM): fix part of bug 1255 and 1256
5656 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5658 * BufferView_pimpl.C (workAreaDispatch): change to use
5659 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5660 that are no mouse related.
5662 2003-08-05 André Pönitz <poenitz@gmx.net>
5665 * BufferView_pimpl.[Ch]:
5666 * bufferview_funcs.C:
5668 * text3.C: rip out "deep update"
5670 * textcursor.[Ch] (last_sel_cursor): remove unused member
5672 2003-08-04 André Pönitz <poenitz@gmx.net>
5675 * BufferView_pimpl.[Ch]:
5676 * ParagraphParameters.C:
5677 * bufferview_funcs.C:
5683 * text3.C: replace "complicated" BufferView::update(...) calls with
5686 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5688 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5690 * Makefile.am (lyx_SOURCES): add paper.h
5692 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5694 * Makefile.am: move things around so that both lyx-qt and
5695 lyx-xforms can be built (according to --with-frontend). Then lyx
5696 is a symbolic link to lyx-[firstfrontend]
5698 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5700 * Always use std::endl with lyxerr
5702 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5704 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5706 2003-08-01 André Pönitz <poenitz@gmx.net>
5709 * BufferView_pimpl.[Ch]:
5711 * text3.C: merge BufferView::repaint() and BufferView::update()
5713 2003-08-01 José Matos <jamatos@lyx.org>
5715 * buffer.[Ch]: file_format is no longer a buffer data element.
5717 2003-08-01 André Pönitz <poenitz@gmx.net>
5722 * text2.C: make redoParagraph more independent of current cursor
5724 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5726 * text2.C: remove unneeded members
5728 2003-07-30 André Pönitz <poenitz@gmx.net>
5730 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5732 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5733 create a single function...
5735 * paragraph_funcs.C (moveItem): ... here.
5738 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5740 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5742 * LColor.[Ch]: Add comment and greyedout logical colors.
5744 2003-07-30 André Pönitz <poenitz@gmx.net>
5746 * tabular.C: don't use Assert too heavily. This crashes where it
5749 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5751 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5752 is disabled (bug 1232)
5754 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5756 * factory.C: limited 'arg' scope
5758 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5760 * factory.C: fixed Note submenu issues
5762 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5764 * factory.C: submenu for Note/Comment/Greyedout
5766 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5769 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5771 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5774 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5775 greyedout. Patch provided by Jürgen Spitzmüller.
5777 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5779 * kbmap.C (read): fix error message when reading bind files
5781 2003-07-29 Angus Leeming <leeming@lyx.org>
5783 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5784 certainly does not do what it purports to do. I am doing it, and
5785 us, a favour by killing it.
5787 2003-07-28 José Matos <jamatos@lyx.org>
5789 * buffer.C (readBody, do_writeFile):
5790 * paragraph.C(readParagraph): \end_document replaces \the_end.
5792 2003-07-29 André Pönitz <poenitz@gmx.net>
5795 * BufferView_pimpl.[Ch]:
5799 * textcursor.[Ch]: remove toggleToggle & Co
5801 2003-07-28 José Matos <jamatos@fep.up.pt>
5803 * buffer.C (readParagraph):
5804 * params_func (readParToken, readParagraph):
5805 * paragraph.C (write): \layout -> \begin_layout.
5807 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5809 * lyxlex_pimpl.C (setFile): clean up slightly.
5811 * bufferparams.h: add compressed var
5813 * buffer_funcs.C (readFile): adjust for LyXLex change
5814 (newFile): ditto + simplify
5816 * buffer.C (writeFile): handle writing of compressed files
5818 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5819 Check if the file is compressed and set a bufferparm if so.
5821 * Makefile.am (lyx_LDADD): remove explicit -lz
5823 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5825 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5826 makeDocBookFile): put the real LyX version in the first line of
5830 * version.C.in: remove lyx_docversion
5832 * tabular.C (write_attribute): add a template-based version to
5833 write enums properly
5835 2003-07-28 André Pönitz <poenitz@gmx.net>
5840 * text3.C: use doubles again for x-coordinates. They are needed.
5842 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5844 * messages.C (getLocaleDir): use lyx_localedir()
5846 * lyxlex_pimpl.C (setFile): compress stuff
5848 * buffer.C (writeFile): add some compression stuff
5849 (do_writeFile): new func, dont call expliti close... will this
5852 * Makefile.am (lyx_LDADD): add -lz
5854 2003-07-28 José Matos <jamatos@fep.up.pt>
5856 * buffer.C: increment file format.
5857 * paragraph_funcs (readParagraph, readParToken):
5858 * paragraph.C (readParagraph): add \end_layout.
5860 2003-07-27 Angus Leeming <leeming@lyx.org>
5862 * Makefile.am: remove special casing for configure-time setting of
5863 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5865 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5866 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5868 2003-07-26 André Pönitz <poenitz@gmx.net>
5870 * paragraph_func.[Ch]:
5871 * paragraph.C (realizeFont): inline it whereever it is used
5876 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5879 2003-07-26 André Pönitz <poenitz@gmx.net>
5883 * text2.C: get rid of LyXText::need_break_row
5885 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5887 * toc.[Ch]: put namespace toc inside namespace lyx
5889 * MenuBackend.C (expandToc2): adjust for lyx::toc
5892 * lyxfunc.C (dispatch): adjust for lyx::find
5894 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5895 lyx::find instead. Reorganize a bit.
5896 (LyXReplace): rename to replace
5897 (LyXFind): rename to find
5899 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5902 2003-07-26 André Pönitz <poenitz@gmx.net>
5904 * text.C (setHeightOfRow): restrict scope of temporary variable
5906 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5907 code (never has been used?)
5909 2003-07-27 Asger Alstrup <alstrup@local>
5911 * text.C (fill): Optimise algorithm to exploit that we can reuse
5912 the LyXFont for many characters.
5913 (setHeightOfRow): Same thing.
5914 (rowBreakPoint): Same thing.
5916 2003-07-26 Asger Alstrup <alstrup@local>
5918 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5920 * text.C (singleWidth): Spurious font copying in hot-spot
5921 singleWidth avoided. Reorder tests for arabic for efficiency.
5923 * text.C (fill): handle empty paragraphs better.
5925 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5928 * encoding.h: add includes
5930 * lyxrc.C: remove reading of bind files
5932 * lyx_main.C (init): setup bindings and menus only if we have a
5935 * kbmap.C (read): new method. Do the actual reading of bind
5938 * converter.C (dvipdfm_options):
5941 (output): adapt PAPER_* enums.
5943 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5945 * bufferparams.h: remove paper-related enums from there
5947 * paper.h: New file. A trivial header file to hold paper-related
5948 enums. It should later expand to contain many paper-related
5951 * lyxrc.C: declare extern displayTranslator
5953 2003-07-27 José Matos <jamatos@fep.up.pt>
5955 * tabular.[Ch] (linuxdoc): add support for tables and figures
5958 2003-07-27 José Matos <jamatos@fep.up.pt>
5960 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5961 consistency in both functions.
5962 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5964 2003-07-26 Asger Alstrup <alstrup@local>
5966 * rowpainter.C (paintRows): Change algorithm to work directly on
5967 the insets rather than asking every character in the document
5968 whether its an inset.
5970 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5972 * buffer.C (openFileWrite): factorize some code
5974 2003-07-26 Angus Leeming <leeming@lyx.org>
5977 * lyx_main.[Ch]: replace occurances of system_tempdir with
5980 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5982 * rename Inset to InsetOld
5984 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5986 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5987 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5988 which I think is a bit clearer. EDIT is gone, since it was
5989 premature optimisation, and broken for mathed anyway.
5990 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5991 with cursor positioning in insets as well (math insets still do not
5992 work, but that's a different story anyway.) It mysteriously
5993 crashes sometimes with undo in the first paragraph, but I'm fairly
5994 confident that this is a compiler bug.
5996 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5998 * paragraph.C (Paragraph): adjust for new clone return type
6000 (copyIntoMinibuffer): ditto
6002 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6004 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6005 by not having a special case, and always doing a full rebreak of
6006 the document after undo.
6008 2003-07-23 Angus Leeming <leeming@lyx.org>
6010 * factory.C (createInset): InsetExternal::setParams now takes a
6013 2003-07-23 Angus Leeming <leeming@lyx.org>
6015 * factory.C (createInset): changed interface to the external and
6016 graphics mailers' string2params functions.
6018 2003-07-23 Angus Leeming <leeming@lyx.org>
6020 * factory.C (createInset): pass a
6021 Buffer const * parameter to InsetExternalMailer's string2params.
6023 2003-07-22 John Levon <levon@movementarian.org>
6025 * Thesaurus.h: include the right aiksaurus header
6027 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6029 * MenuBackend.C (expand): check menu shortcuts unconditionally
6031 2003-07-21 Angus Leeming <leeming@lyx.org>
6033 * factory.C (createInset): pass a
6034 buffer_path parameter to InsetGraphicsMailer's string2params.
6036 2003-07-21 Angus Leeming <leeming@lyx.org>
6038 * BufferView_pimpl.C (buffer):
6041 * lyxfunc.C (dispatch):
6042 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6043 rather than the grfx shortcut.
6045 2003-07-21 André Pönitz <poenitz@gmx.net>
6047 * rowpainter.C: remove unused variables
6050 * tabular_funcs.h: move to tabular.C
6051 * Makefile.am: adjust
6053 * tabular.[Ch]: basic optical cleaning
6055 * author.h: pass references, not values
6057 2003-07-18 André Pönitz <poenitz@gmx.net>
6065 * text3.C: two-phase drawing for InsetText and InsetTabular
6066 some float -> int changes.
6068 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6070 * lyx_main.C: fix the fix
6072 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6074 * lyx_main.C: fix a crash in batch mode if no files specified
6077 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6079 * format.[Ch] (papersize): moved to BufferParams
6080 * converter.[Ch] (dvips_options): moved to BufferParams
6081 (dvipdfm_options): moved to anon namespace
6082 * bufferparams.[Ch]: added above functions.
6084 2003-07-17 André Pönitz <poenitz@gmx.net>
6088 * text2.C: don't call inset->update() anymore
6090 * metricsinfo.[Ch]: add convenience constructor
6092 2003-07-16 André Pönitz <poenitz@gmx.net>
6097 * text2.C: replace the LyXCursor::irow_ member with
6098 on-demand computation of the value
6100 2003-07-16 John Levon <levon@movementarian.org>
6102 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6104 2003-07-15 André Pönitz <poenitz@gmx.net>
6107 * text2.C: remove no more needed refresh_row
6109 2003-07-15 André Pönitz <poenitz@gmx.net>
6114 * text3.C: refresh_status tristate -> need_update bool
6116 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6118 * lyxtext.h (init): remove reinit argument (act as if always true)
6119 * text2.C: adjust to that
6121 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6123 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6124 * text3.C: use it to delete selections in some cases
6125 (bugs 441, 673, 702, 954).
6127 2003-07-14 André Pönitz <poenitz@gmx.net>
6129 * rowpainter.[Ch]: reduce interface
6131 2003-07-14 André Pönitz <poenitz@gmx.net>
6133 * BufferView_pimpl.C:
6134 * text2.C: adjust after removing unused BufferView * argument
6136 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6138 * text2.C (init): fix a crash fired on resize
6140 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6142 * buffer.[Ch]: added new closing signal
6143 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6144 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6145 BufferView::Pimpl via the closing the signal
6147 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6149 * buffer.[Ch]: take out all bv-related from buffer
6151 * BufferView_pimpl.[Ch]: connect to new signals
6152 * CutAndPaste.C: removed useless asserts
6153 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6156 * lyxfunc.C: moved view-related funciontality from vc here
6157 * paragraph.C: removed outdated comments
6160 2003-07-10 André Pönitz <poenitz@gmx.net>
6162 * BufferView_pimpl.C:
6166 * text2.C: remove InsetText::InnerCache, clean up consequences
6168 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6170 * ispell.C: fix two typos in error messages
6172 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6174 * Extend Note inset to other forms of annotation like Comment
6175 and Greyedout. Right button click gives dialog.
6177 Files modified or added (+):
6181 * ControlNote.[Ch] +
6183 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6184 frontends/controllers
6188 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6190 * aspell.C: add missing namespace lyx::support
6192 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6194 * BufferView.[Ch] (newFile): Add
6195 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6196 * LaTeX.[Ch] (message): added this signal and use it
6197 * buffer.[Ch] (busy, message): added these signals and use them
6198 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6202 * importer.C: use buffer signals instead of direct bv calling
6203 * lyx_cb.[Ch] (ShowMessage): removed
6206 * paragraph_funcs.C:
6207 * text2.C: use buffer signals
6209 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6211 * introduce namespace lyx::graphics
6213 2003-07-02 André Pönitz <poenitz@gmx.net>
6215 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6217 2003-07-01 André Pönitz <poenitz@gmx.net>
6224 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6225 text*.C to text_func.C
6227 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * introduce namespace lyx::support
6231 2003-06-30 André Pönitz <poenitz@gmx.net>
6236 * text.C: re-enable --with-included-string
6238 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6240 * textcursor.C: add <config.h>
6242 * text.C (getWord): remove const from word_location arg
6244 * lyxvc.C (getLogFile): fix const type order
6246 * lyxtext.h: remove const from word_location arg, add arg name
6248 * lyxlayout.h: currect type on labeltype.
6250 * importer.C: correct \file
6252 * converter.C (intToFormat): use std:: on ret val, ws changes
6254 * bufferlist.h: correct \file
6256 * buffer.C (makeLinuxDocFile): fix const type order
6257 (makeDocBookFile): ditto
6258 (fillWithBibKeys): use std:: on stdlib args.
6260 * CutAndPaste.C: fix authors.
6261 (availableSelections): use std:: on return vector
6263 2003-06-27 André Pönitz <poenitz@gmx.net>
6265 * BufferView_pimpl.C:
6266 * bufferview_funcs.C:
6274 * text3.C: remove LyXCursor::row_ member
6277 * text.C: rename fullRebreak() to partialRebreak() and implement
6278 a fullRebreak() that really bereks fully
6280 * textcursor.h: new struct for cursor-related data
6282 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6284 * lyx_main.C (LyX): get full path of document loaded on the
6287 2003-06-26 André Pönitz <poenitz@gmx.net>
6289 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6290 remove unused/broken operator>,<,>=.
6292 * text.C: remove only use of broken operator<= in an Assert().
6294 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6296 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6297 moved errorlist_.clear to showErrorList
6299 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6301 * converter.C (scanLog, runLaTeX):
6302 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6303 move the bv->showErrorList call to the callers
6304 * lyxfunc.C: i.e. here...
6306 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6307 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6308 namespace, the second to...
6309 * buffer_funcs (BufferFormat, parseErrors): added
6310 * errorlist.C (ErrorList(TeXErrors const &)): removed
6312 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6314 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6316 2003-06-24 "Garst R. Reese" <reese@isn.net>
6320 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6322 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6324 * version.C.in: change docversion to 1.4
6326 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6328 * buffer.C: fix a bug just introduced
6330 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6332 * buffer.[Ch]: added the parseError signal and use it, removed
6334 * BufferView.[Ch] (addError): moved to ...
6335 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6336 to the Buffer::parseError signal to catch (guess what) parse errors
6337 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6339 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6341 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6342 ability to create a buffer and to return an existing one from
6343 the list. Moved these functions to...
6344 * buffer_funcs.[Ch]: added
6345 * BufferView.[Ch] (loadLyXFile): added
6346 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6347 job removed from bufferlist::loadLyXFile.
6348 * buffer.C (setReadOnly): make it work without view
6349 (i.e added an if (users))
6351 2003-06-19 Angus Leeming <leeming@lyx.org>
6354 * LyXAction.C (init):
6355 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6356 with LFUN_DIALOG_SHOW <name> <data>.
6358 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6360 * CutAndPaste.C (availableSelections): small compilation fix for
6361 ancient (gcc 2.9x) compilers
6363 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6365 * text3.C (cursorNext): add tmp var
6367 * text2.C (updateCounters): for function calling out of for clause
6368 (replaceSelectionWithString): ditto
6369 (insertStringAsParagraphs): ditto
6370 (getColumnNearX): add tmp var
6371 (setCursorFromCoordinates): add tmp var
6372 (cursorDownParagraph): add tmp var
6373 (deleteEmptyParagraphMechanism): add tmp var
6375 * text.C (insertChar): add tmp var
6377 * rowpainter.C (paintDepthBar): add tmp var
6379 * CutAndPaste.C (availableSelections): potentially check all
6380 paragraphs in a cut to fill the shown strings.
6382 2003-06-18 André Pönitz <poenitz@gmx.net>
6384 * kbmap.[Ch]: use vector<> instead of list<>
6386 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6388 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6389 pasteSelection with index
6391 * text2.C (pasteSelection): modify, call pasteSelection with index
6393 * paragraph.C (asString): reimplement version with no interval to
6394 call the one with interval.
6396 * lyxtext.h: add index arg to pasteSelection
6398 * MenuBackend.C (MenuItem): handle PasteRecent
6399 (Menu::read::Menutags): add md_pasterecent
6401 (expandPasteRecent): new function
6404 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6406 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6408 (availableSelections): new function
6410 2003-06-17 Angus Leeming <leeming@lyx.org>
6412 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6414 2003-06-17 Angus Leeming <leeming@lyx.org>
6417 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6419 * lyxfunc.C (dispatch): invoke it.
6421 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6423 * iterators.C (operator++, ParPosition): reintroduce some
6424 const_cast for the benefit of older compilers.
6426 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6428 * text3.C (dispatch): do not modify clipboard when doing
6429 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6430 LFUN_DELETE_SKIP on a selection selection
6432 2003-06-16 André Pönitz <poenitz@gmx.net>
6438 * tabular.[Ch]: IU of clone() and getLabelList();
6440 2003-06-13 André Pönitz <poenitz@gmx.net>
6442 * tabular.h: compactification
6444 2003-06-12 André Pönitz <poenitz@gmx.net>
6448 * tabular_funcs.h: some renaming plus whitespace
6450 2003-06-12 André Pönitz <poenitz@gmx.net>
6453 * BufferView_pimpl.C:
6459 * toc.C: Return a Paragraph & for ParIterator::operator*()
6461 2003-06-11 John Levon <levon@movementarian.org>
6465 * ToolbarBackend.C: add "Toolbars" section and
6468 2003-06-10 Angus Leeming <leeming@lyx.org>
6471 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6473 * lyxfunc.C (dispatch): invoke it.
6475 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6477 * main.C: protect <ios> with HAVE_IOS
6478 (main): protect sync_with_stdio with HAVE_IOS
6480 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6482 * text2.C (cutSelection): adjust
6483 (pasteSelection): adjust
6485 * messages.C: handle get of empty string
6487 * main.C (main): use sync_with_stdio(false)
6489 * lyxfunc.C (dispatch): adjust
6491 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6492 (WriteAs): remove unneeded BufferView arg.
6494 * bufferparams.h: use correct types on papersize, papersize2 and
6497 * bufferparams.C (readToken): adjust for type
6498 (writeLaTeX): add missing cases to switch.
6500 * bufferlist.C (quitWriteBuffer): adjust
6503 * buffer.C (asciiParagraph): remove some commented code.
6505 * CutAndPaste.C: remove current_view extern variable.
6506 (cutSelection): add BufferParams arg.
6507 (eraseSelection): add BufferParams arg.
6508 (pasteSelection): add Buffer const & arg
6510 2003-06-07 John Levon <levon@movementarian.org>
6513 * paragraph_funcs.C:
6514 * paragraph_pimpl.C:
6518 * paragraph.C: allow InsetERT to freely space lines,
6519 and some consolidation of code
6521 2003-06-06 José Matos <jamatos@fep.up.pt>
6523 * buffer.C (makeDocBookFile): fix bug #821
6525 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6527 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6529 2003-06-04 Angus Leeming <leeming@lyx.org>
6531 * buffer.C: bump format to 224.
6533 2003-06-05 André Pönitz <poenitz@gmx.net>
6535 * text2.C (redoParagraphs): remove two const_cast<>
6537 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6539 * ParagraphList.h: remove last remnants of NO_STD_LIST
6541 2003-06-03 Angus Leeming <leeming@lyx.org>
6543 * factory.C (createInset): small change to the way InsetExternal's params
6546 2003-06-04 André Pönitz <poenitz@gmx.net>
6548 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6550 * paragraph_pimpl.h:
6551 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6553 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6555 * undo_funcs.C: make some simple cases of undo work again
6557 2003-06-03 John Levon <levon@movementarian.org>
6559 * ispell.C: HPUX doesn't have sys/select.h
6562 2003-06-03 John Levon <levon@movementarian.org>
6564 * CutAndPaste.C: update tabular and include inset
6569 * paragraph.C: remove owningBuffer(), don't pass Buffer
6572 * factory.C: insetGraphicsParams changed
6574 2003-06-02 John Levon <levon@movementarian.org>
6580 * text3.C: remove insetparent
6582 2003-06-02 John Levon <levon@movementarian.org>
6585 * buffer.C: fix inset_iterator.end(), move out of line
6588 2003-06-01 John Levon <levon@movementarian.org>
6590 * text3.C: use a proper cut/paste when doing inset
6591 insert (from Jürgen Spitzmüller)
6593 2003-06-01 John Levon <levon@movementarian.org>
6595 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6597 2003-05-30 André Pönitz <poenitz@gmx.net>
6599 * rowpainter.C: unify second drawing phase
6601 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * trans_mgr.C: remove one case of current_view
6605 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6607 * paragraph_funcs.h: remove paragraph.h include
6609 * paragraph.h: delete NO_STD_LIST stuff
6611 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6613 * buffer.h: remove paragraph.h include
6615 * ParagraphList.C: delete file
6617 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6619 * toc.C (getTocList): adjust
6621 * paragraph_pimpl.C (validate): adjust
6623 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6625 * paragraph.C (Paragraph): adjust
6626 (getPositionOfInset): use const_iterator, adjust
6627 (bibitem): use const_iterator, adjust
6628 (setInsetOwner): adjust
6630 * iterators.C (operator++): adjust
6632 * InsetList.[Ch]: Replace selfmade iterator with standard
6633 vector::iterator also introduce const_iterator. Remove getPos,
6634 getInset and setInset from InsetTable. Adjust accordingly.
6636 * BufferView.C (lockInset): adjust
6637 (ChangeInsets): adjust
6639 * tabular.[Ch]: delete commented same_id functions
6641 2003-05-28 John Levon <levon@movementarian.org>
6643 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6645 2003-05-28 André Pönitz <poenitz@gmx.net>
6647 * metricsinfo.[Ch]: remove 'fullredraw' member
6649 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6651 * lyxtextclass.C (operator): remove caching.
6653 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6657 * text2.C (cursorBottom): adjust
6658 (setCounter): use ParagraphList::find, adjust
6660 * text.C (workWidth): use ParagraphList::find, adjust
6662 * lyxcursor.C (LyXCursor): adjust
6664 * buffer.C (inset_iterator): adjust
6666 * ParagraphList.h: make iterator(value_type) private, make
6667 ParagraphList a friend of iterator.
6669 * ParagraphList.C (find): new function
6671 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6673 2003-05-27 André Pönitz <poenitz@gmx.net>
6675 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6677 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6679 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6681 2003-05-26 John Levon <levon@movementarian.org>
6683 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6685 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6687 * remove same_id from function signatures, adjust.
6689 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6691 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6693 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6695 * paragraph.C (Paragraph): get rid of same_ids parameter
6697 * ParagraphList.C (insert): adjust
6700 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6702 * paragraph_funcs.C (breakParagraph): adjust
6703 (breakParagraphConservative): adjust
6705 * buffer.C (readParagraph): adjust
6707 * ParagraphList.C (insert): take a reference instead of a pointer
6710 * paragraph.[Ch] (id): new function
6712 * bufferlist.C (newFile): adjust
6714 * ParagraphList.C (ParagraphList): adjust
6716 (push_back): take a reference instead of a pointer.
6718 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6720 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6723 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6724 set else use old code.
6726 * ParagraphList.C: remove all NO_NEXT code and only compile this
6727 code of NO_STD_LIST is set.
6729 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6731 * BufferView_pimpl.C:
6741 * graphics/GraphicsConverter.C:
6742 * graphics/PreviewLoader.C: header adjustment
6744 2003-05-23 Angus Leeming <leeming@lyx.org>
6746 * LaTeXFeatures.[Ch] (useBabel): new method.
6747 * bufferparams.C (writeLaTeX): use it.
6749 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * ParagraphList.h (set): remove unused function.
6753 2003-05-23 André Pönitz <poenitz@gmx.net>
6756 * BufferView_pimpl.C:
6760 * undo_funcs.C: setUndo reworked
6762 * iterators.[Ch]: add access to topmost ParagraphList
6764 * lyxtext.[Ch] (workWidth): add a const
6766 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6768 * texrow.[Ch] (increasePos): remove function
6769 * exporter.C (export): removed unused var and outdated comment
6771 2003-05-23 Angus Leeming <leeming@lyx.org>
6773 * latexrunparams.h: rename fragile as moving_arg.
6774 * paragraph.C (simpleTeXOnePar): ditto.
6775 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6777 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6781 (textUndoOrRedo): comment out a currently unused var.
6783 * paragraph.h (NO_NEXT): enable NO_NEXT
6785 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6787 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6789 * exporter.C (Export): adjust for removeAutoInsets removal.
6791 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6793 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6795 * BufferView.[Ch] (removeAutoInsets): delete function
6797 2003-05-22 Angus Leeming <leeming@lyx.org>
6799 * latexrunparams.h: add a free_spacing variable.
6801 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6802 to pass moving_arg, as the data is stored in runparams.fragile.
6804 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6805 to Inset::latexOptional or to simpleTeXOnePar.
6807 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6808 free_spacing arg to Inset::latexOptional.
6810 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6813 2003-05-22 Angus Leeming <leeming@lyx.org>
6815 * latexrunparams.h: add fragile and use_babel variables.
6817 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6818 * buffer.C (makeLaTeXFile): store this returned value in
6819 runparams.use_babel, thus passing it to the inset::latex methods.
6821 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6822 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6824 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6825 longer has a fragile arg, as it is stored in runparams.fragile.
6827 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6828 moving_arg parameter as the data is stored in runparams.fragile.
6830 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6831 a fragile parameter as the data is stored in runparams.fragile.
6833 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6837 2003-05-22 Angus Leeming <leeming@lyx.org>
6839 * latexrunparams.h: add a 'bool nice' which defaults to false.
6841 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6842 now encapsulated within runparams.
6844 * bufferlist.C (updateIncludedTeXfiles):
6845 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6847 2003-05-22 Angus Leeming <leeming@lyx.org>
6849 * latexrunparams.h: new file containing struct LatexRunParams.
6850 * Makefile.am: add new file.
6852 * LaTeX.[Ch] (c-tor, run):
6853 * buffer.[Ch] (makeLaTeXFile):
6854 * bufferlist.[Ch] (updateIncludedTeXfiles):
6855 * converter.C (convert, scanLog):
6856 * converter.[Ch] (runLaTeX):
6857 * exporter.C (Export):
6858 * paragraph.[Ch] (simpleTeXOnePar):
6859 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6860 * paragraph_funcs.[Ch] (latexParagraphs):
6861 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6862 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6863 pass around a LatexRunParams parameter.
6865 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6867 * paragraph.[Ch]: remove unused constructor
6869 * ParagraphList.C (erase): new function, taking two iterators
6871 2003-05-22 André Pönitz <poenitz@gmx.net>
6873 * undo_funcs.C: remove duplicated code
6875 * iterator.[Ch]: operator=
6877 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6879 * tabular.C (SetMultiColumn): ws changes
6881 * rowpainter.C (paintFirst): get rid of a ->previous
6883 * lyx_cb.C (getPossibleLabel): parlist simplification
6885 * BufferView.C (ChangeInsets): simplify slightly.
6887 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6889 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6890 * lfuns.h: new LFUN_SPACE
6891 * lyxfunc.C: protected space has a new lfun
6892 * paragraph_funcs.C: read new space insets
6894 * factory.C: handle new space insets
6896 2003-05-22 André Pönitz <poenitz@gmx.net>
6899 * BufferView_pimpl.C:
6902 * undo_funcs.C: return a ParIterator from getParFromID.
6904 * iterators.[Ch]: add two const's
6906 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6908 * toc.C (getTocList): adjust
6910 * iterators.[Ch]: rework for parlist
6912 * buffer.C (par_iterator_begin): adjust
6913 (par_iterator_end): adjust
6915 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6917 * BufferView.C (removeAutoInsets): adjust
6918 (ChangeInsets): adjust
6920 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6922 * text.C (top_y): fix bug 1110
6924 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6926 * errorlist.[Ch]: added
6929 * BufferView_pimpl.C:
6930 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6933 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6935 * Makefile.am: ensure that lyx is relinked upon changes to the
6936 various "convenience" libs.
6938 2003-05-20 Angus Leeming <leeming@lyx.org>
6940 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6941 files are compiled in alphabetical order again.
6943 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6945 2003-05-19 Angus Leeming <leeming@lyx.org>
6947 * gettext.[Ch]: remove "char const * _(char const *)".
6949 2003-05-19 André Pönitz <poenitz@gmx.net>
6951 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6960 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6962 2003-05-19 André Pönitz <poenitz@gmx.net>
6966 * lyxtextclass.[Ch]:
6968 * paragraph_funcs.[Ch]:
6970 * text3.C: more insetenv work
6972 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6974 * ParagraphParameters.C (params2string): small bug fixed
6976 2003-05-16 André Pönitz <poenitz@gmx.net>
6979 * bufferview_funcs.C: patch from Kornel Benko to prevent
6980 crash when _(...) is called twice in a statement
6982 2003-05-16 André Pönitz <poenitz@gmx.net>
6989 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6991 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6993 * lyx_main.C (init): remove spurious static_cast
6995 2003-05-14 André Pönitz <poenitz@gmx.net>
6997 * BufferView.C: fix format string
6999 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7001 * BufferView.[Ch] (insertErrors): removed
7002 * BufferView.[Ch] (showErrorList): added
7003 * buffer.C (runChkTeX):
7004 * converter.C (scanLog): call showErrorList instead of inserterrors
7006 2003-05-13 André Pönitz <poenitz@gmx.net>
7008 * BufferView_pimpl.C:
7010 * bufferview_func.C:
7017 * tabular_funcs.h: tostr() from its own header
7019 * ParagraphParameters.C:
7024 * text3.C: STRCONV()
7026 2003-05-12 André Pönitz <poenitz@gmx.net>
7029 * BufferView_pimpl.C:
7033 * ParagraphParameters.C:
7037 * bufferview_funcs.C:
7050 * paragraph_funcs.C:
7054 * text3.C: boost::format -> bformat all over the place
7057 2003-05-09 André Pönitz <poenitz@gmx.net>
7059 * LColor.[Ch]: Pimpl the #include <map> away
7061 2003-05-09 John Levon <levon@movementarian.org>
7063 * bufferlist.C: never remove emergency saves
7065 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * Makefile.am: better lib building
7069 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7073 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7074 (simpleTeXSpecialChars): adjust
7075 (simpleTeXSpecialChars): adjust
7076 * paragraph.C (simpleTeXOnePar): adjust
7077 * buffer.C (makeLaTeXFile): adjust
7079 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7081 * text2.C (changeDepth): parlist cleanup
7082 (getColumnNearX): ditto
7084 * rowpainter.C (getLabelFont): parlist cleanup
7086 * bufferlist.C (newFile): parlist cleanup
7088 * CutAndPaste.C (eraseSelection): parlist cleanup
7090 * BufferView_pimpl.C (trackChanges): parlist cleanup
7093 * BufferView.C (lockInset): parlist cleanup.
7094 (ChangeInsets): ditto
7096 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7098 * CutAndPaste.h: Update file header.
7100 * CutAndPaste.C: Update file header.
7101 Store the parts cut out of the Document in a limited_stack.
7102 (copySelection): adjust
7103 (pasteSelection): new function, takes the index in the limited stack.
7104 (nrOfParagraphs): adjust
7105 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7106 simplify error inset insertion.
7107 (checkPastePossible): adjust
7109 2003-05-06 John Levon <levon@movementarian.org>
7111 * text2.C: don't cast wrap inset to float
7113 2003-05-05 André Pönitz <poenitz@gmx.net>
7116 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7118 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7119 few naked Paragraph *.
7121 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7123 * bufferparams.C: Output warning if a document with missing
7124 TeX document class is loaded
7125 * exporter.C: Disable TeX exports if the document class is missing
7128 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7129 isTeXClassAvailable()
7131 2003-05-03 John Levon <levon@movementarian.org>
7134 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7135 explicit cursor show/hide
7137 * BufferView_pimpl.h:
7138 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7139 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7141 * lyxfunc.C: hide cursor before dispatching.
7146 * text3.C: remove explicit cursor hides
7148 2003-05-02 André Pönitz <poenitz@gmx.net>
7150 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7153 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7156 * text2.C: tiny whitespace
7158 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7160 * undo_funcs.C: almost only ws changes.
7162 * ParagraphList.C (splice): just return if pl is empty.
7164 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7166 * ParagraphList.C (splice): new function.
7168 * CutAndPaste.C (pasteSelection): use it
7170 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7172 * CutAndPaste.C (pasteSelection): remove the last next and
7173 previous from this file.
7175 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7177 * CutAndPaste.C (pasteSelection): more clean up, user proper
7178 ParagraphList functions for pasteing.
7180 * ParagraphList.C (insert): new function, three arg insert
7182 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7184 * ParagraphList.C (insert): new function, three arg insert
7186 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7189 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7191 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7193 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7195 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7197 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7199 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7200 (copySelection): clean up a bit.
7201 (pasteSelection): use make_pair
7203 * ParagraphList.C (ParagraphList): implement copy constructor
7204 (operator=): implement, base on copy constructor.
7207 * paragraph.C (erase): return a bool
7209 * paragraph_pimpl.C (erasePos): remove function, move contents...
7210 (erase): ... here. Return a bool.
7211 (erase): call erase instead of erasePos.
7213 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7215 * ParagraphList.h: define PitPosPair
7216 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7217 ParagraphList, fix a bug on pasting multiple pars
7218 * text2.C: change interface to C&P
7220 2003-04-30 André Pönitz <poenitz@gmx.net>
7222 * undo_func.C: revert part of yesterday's patch 2
7224 2003-04-30 John Levon <levon@movementarian.org>
7226 * LColor.C: s/tabular/table/
7228 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * text3.C (dispatch): do not convert iterator -> pointer
7231 * undo_funcs.C (setCursorParUndo): ditto
7232 * text_funcs.C (transposeChars): ditto
7234 * text2.C (setLayout): ws changes only
7236 * text.C (breakParagraph): do not convert iterator -> pointer
7238 (acceptChange): ditto
7239 (rejectChange): ditto
7244 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7247 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7249 * text3.C (gotoInset): YABG (yet another bad getChar)
7251 2003-04-29 André Pönitz <poenitz@gmx.net>
7253 * paragraph.h: make operator= private unimplemented as long as
7256 * ParagraphList.C: whitespace
7259 * paragraph_pimpl.[Ch]:
7260 * paragraph_funcs.C:
7262 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7265 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7267 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7269 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7270 * paragraph.[Ch] (erase):
7271 * paragraph_pimpl.[Ch] (erase): change return type and value
7272 * text2.C (cutSelection): some rework
7274 2003-04-28 John Levon <levon@movementarian.org>
7276 * bufferlist.C: changes for unsaved changes dialog
7278 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7280 * bufferlist.C (newFile): set language (messages_) for new
7283 * buffer.C (readFile): ws changes only.
7285 2003-04-28 André Pönitz <poenitz@gmx.net>
7290 * BufferView_pimpl.C:
7291 * BufferView.C: getParFromID related ParagraphList::iterator changes
7293 2003-04-28 André Pönitz <poenitz@gmx.net>
7295 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7298 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * messages.C: remove one more localedir class variable.
7302 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * messages.C (getLocaleDir): singleton generation function
7306 (Messages): add a default constructor.
7308 * main.C (main): do not setup localedir here, do not call
7311 * gettext.C (_): use it.
7312 (gettext_init): delete funciton
7314 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7316 * gettext.C (getLyXMessages): new singleton generating function.
7318 * buffer.C (updateDocLang): adjust
7320 * Makefile.am (messages.o): add target
7321 (main.o): remove target
7323 2003-04-27 John Levon <levon@movementarian.org>
7328 * lyxvc.C: specify cancel button in Alert::prompt
7330 2003-04-26 John Levon <levon@movementarian.org>
7335 * LyXAction.C: add LFUN_INSET_SETTINGS
7337 * lyxfunc.C: don't enable tabular-feature when there's
7338 just any locking inset
7340 2003-04-26 John Levon <levon@movementarian.org>
7342 * bufferlist.C: re-add Cancel to buffer close question
7344 * lyxfunc.C: fix import UI a bit
7346 2003-04-25 John Levon <levon@movementarian.org>
7348 * gettext.C: remove the broken asserts for now
7350 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7352 * messages.C: make case where setlocale cannot comply work better.
7354 * buffer.C (updateDocLang): new function
7355 (changeLanguage): use it
7358 * text2.C (setCounter): use B_ a bit.
7360 * lyxlayout.C (Read): be sure to trim the label strings.
7362 * messages.C (Messages): fix typo in comment
7364 * buffer.C (readFile): set message_ after file is loaded.
7365 (makeDocBookFile): remove double return
7366 (changeLanguage): reset message_ upon language change.
7367 (B_): new func, use this to get translated buffer strings.
7369 * main.C: add myself and Jean Marc as authors.
7371 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7373 * messages.[hC]: pimplify Messages, and three different pimpls to be
7374 used in different circumstances.
7376 * gettext.[Ch]: change for use with new message code.
7378 2003-04-24 André Pönitz <poenitz@gmx.net>
7380 * factory.C: support for eqref
7382 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7384 * messages.[Ch]: add missing char
7386 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7388 * messages.[Ch]: New files
7390 2003-04-18 John Levon <levon@movementarian.org>
7394 * BufferView_pimpl.C:
7398 * text2.C: remove layout-copy/paste (bug 778)
7400 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7402 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7404 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7406 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7407 if they succeed. Act accordingly.
7409 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7411 * text2.C (setCharFont): adjust
7412 (setCounter): adjust
7413 (insertStringAsLines): adjust
7415 * text.C (leftMargin): adjust
7416 (setHeightOfRow): adjust
7418 * rowpainter.C (paintFirst): adjust
7421 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7423 (isFirstInSequence): ditto
7424 (getEndLabel): ditto
7427 * paragraph.C (getParLanguage): comment out some hard stuff.
7429 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7431 (simpleDocBookOnePar): ditto
7432 (makeDocBookFile): use ParagraphList::iterator
7434 * CutAndPaste.C (pasteSelection): adjust
7436 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7438 * text2.C (getFont): adjust
7439 (getLayoutFont): adjust
7440 (getLabelFont): adjust
7442 * paragraph_funcs.C (TeXOnePar): adjust
7444 * buffer.C (simpleLinuxDocOnePar): adjust
7445 (simpleDocBookOnePar): adjust
7447 * CutAndPaste.C (pasteSelection): adjust
7449 * BufferView.C (getEncoding): adjust
7451 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7453 2003-04-16 John Levon <levon@movementarian.org>
7455 * lyxfind.C: use parlist stuff for search/changes
7457 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7459 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7461 * text2.C (deleteEmptyParagraphMechanism): adjust
7463 * text2.[Ch] (ownerParagraph): delete func (both of them
7465 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7467 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7469 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7471 * ParagraphList.C: prepare for NO_NEXT
7473 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * text2.C (getFont): adjust
7476 (getLayoutFont): adjust
7477 (getLabelFont): adjust
7479 * paragraph.C (getFont): adjust
7480 (getLabelFont): adjust
7481 (getLayoutFont): adjust
7483 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7485 2003-04-15 John Levon <levon@movementarian.org>
7489 * lyx_main.C: handle Include in .ui files
7491 2003-04-15 John Levon <levon@movementarian.org>
7493 * MenuBackend.C: make the doc files length shorter
7496 * ToolbarBackend.C: handle toolbar placement flags,
7499 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7501 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7504 * paragraph_funcs.C (TeXOnePar): adjust
7506 * paragraph.C (getLabelFont): add outerfont arg, adjust
7507 (getLayoutFont): ditto
7508 (simpleTeXOnePar): adjust
7510 * paragraph_pimpl.C (realizeFont): delete func
7512 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7514 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7515 row argument, constify cur argument.
7517 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7519 * text2.C (getFont): adjust
7520 (getLayoutFont): adjust
7521 (getLabelFont): adjust
7523 * paragraph_funcs.C (TeXOnePar): adjust
7524 (outerFont): new func...
7525 (realizeFont): ...moved out from here, changed this to facilitate
7528 * paragraph.C (getFont): take outerfont as arg, adjust
7529 (simpleTeXOnePar): add outerfont arg, adjust
7531 * buffer.C (simpleLinuxDocOnePar): adjust
7532 (simpleDocBookOnePar): adjust
7534 * CutAndPaste.C (pasteSelection): adjust
7536 * BufferView.C (getEncoding): adjust
7538 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7540 * text2.C (setCharFont): adjust
7541 (setCounter): adjust
7543 * text.C (leftMargin): adjust
7544 (setHeightOfRow): adjust
7546 * rowpainter.C (paintFirst): adjust
7549 * paragraph_pimpl.C (realizeFont): adjust
7551 * paragraph.C (isFirstInSequence): move from here...
7552 * paragraph_funcs.C (isFirstInSequence): ...to here
7554 * paragraph.C (outerHook): move from here...
7555 * paragraph_funcs.C (outerHook): ...to here
7557 * paragraph.C (depthHook): move from here...
7558 * paragraph_funcs.C (depthHook): ...to here
7560 * paragraph.C (getEndLabel): move from here...
7561 * paragraph_funcs.C (getEndLabel): ...to here
7563 * text2.C (realizeFont): move from here...
7564 * paragraph_funcs.C (realizeFont): ...to here
7566 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7568 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7570 2003-04-14 Angus Leeming <leeming@lyx.org>
7572 * LColor.[Ch]: scrap LColor mathcursor.
7574 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7576 * lyxlex.[Ch] (text): delete function
7577 * trans.C (Load): adjust
7578 * paragraph_funcs.C (readParToken): adjust
7580 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7583 vector<char> instead of a char[].
7585 * lyxlex_pimpl.C (getString): adjust
7587 (lex): use getString
7591 * lyxlex.C (text): use pimpl_->getString()
7595 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7598 (makeFontEntriesLayoutSpecific): temp var for par.size()
7599 (setLayout): temp var for ownerParagraphs().end()
7600 (fullRebreak): temp var for rows().end()
7601 (selectionAsString): temp var for boost::next(startpit), realize
7602 that the while really is a regular for loop.
7603 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7604 setCursor in one place.
7605 (setParagraph): temp vr for ownerParagraphs().end()
7606 (updateCounters): make the while loop a for loop
7607 (cutSelection): temp var for ownerParagraphs().end()
7608 (updateInset): make the do {} while() a regular for loop
7609 (getCursorX): use temp vars
7610 (setCurrentFont): use temp vars
7611 (getColumnNearX): use temp vars
7613 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7615 * text.C (transformChar): use temp var for getChar
7616 (computeBidiTables): use temp var for row->par()
7617 (fill): move temp vars for row->par() and pit->layout() earlier in
7619 (labelFill): use temp var for row->par()
7620 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7621 asc and desc, realize that pit never changes and that firstpit is
7622 just a duplicate and not needed. Exchange rit->par() with pit in a
7624 (breakAgain): use a temp var for boost::next(rit)
7625 (breakAgainOneRow): ditto
7626 (breakParagraph): use a temp var for rows().begin()
7627 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7628 (cursorRightOneWord): use temp var for cursor.par() and
7629 cursor.pos(), remove usage of tmpcursor.
7630 (cursorLeftOneWord): use temp var for cursor.par() and
7631 cursor.pos() only set cur at end of function.
7633 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7635 * text.C, text2.C: exchange all usage of Paragraph::next with
7636 boost::next(ParagraphList::iterator)
7638 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7640 * text2.C (cursorTop): simplify implementation
7641 (cursorBottom): ditto
7642 (setParagraph): use ParagraphList::iterator
7643 (setCurrentFont): adjust
7644 (getColumnNearX): adjust
7645 (cursorRight): adjust
7646 (cursorLeft): remove usage of Paragraph::previous
7647 (cursorUpParagraph): ditto
7648 (deleteEmptyParagraphMechanism): slight cleanup
7650 * text.C (isBoundary): take a Paragraph const & instead of a
7652 (addressBreakPoint): ditto
7653 (leftMargin): remove usage of Paragraph::previous.
7654 (setHeightOfRow): ditto
7655 (cursorLeftOneWord): ditto
7656 (selectNextWordToSpellcheck): ditto
7659 (breakParagraph): remove one usage of Paragraph::next
7660 (redoParagraph): ditto
7661 (acceptChange): ditto
7662 (insertChar): adjust
7663 (rowBreakPoint): adjust
7665 * bufferview_funcs.C (toggleAndShow): adjust
7667 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7669 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7670 methods to access it.
7672 * text.C: Added updateRowPositions to compute all row positions.
7673 Make top_y and getRowNearY() to use the cached y position
7675 2003-04-11 John Levon <levon@movementarian.org>
7677 * text.C (rowBreakPoint): reintroduce the labelEnd
7678 checks, code copied from the row fill stuff. Deep voodoo.
7680 * text.C (fill): add a comment and debugging for the
7683 2003-04-11 John Levon <levon@movementarian.org>
7685 * text.C: make sure fullrow insets get wrapped to the next line,
7686 even when they're in a manual label
7688 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * text2.C (insertParagraph): make it take ParagraphList::iterator
7692 (setLayout): make it return ParagraphList::iterator
7693 (redoParagraphs): ditto
7695 (checkParagraph): ditto
7697 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7699 * text2.C: adjust several funcs.
7700 (realizeFont): take a ParagraphList::iterator as arg.
7701 (getLayoutFont): ditto
7702 (getLabelFont): ditto
7703 (setCharFont): ditto
7705 * text.C: adjust several funcs.
7707 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7709 * text.C (selectNextWordToSpellcheck): don't accidentally
7712 2003-04-10 John Levon <levon@movementarian.org>
7714 * ToolbarBackend.C (getIcon): special handling for
7717 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7719 * text2.C (cursorRight): a getChar assert fixed
7721 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * text2.C (getFont): change to take a ParagraphList::iterator
7724 instead of Paragraph*
7725 Adjust several functions.
7727 * text.C (transformChar): change to take a ParagraphList::iterator
7728 instead of Paragraph*
7729 (singleWidth): ditto
7730 Adjust several functions.
7732 * rowpainter.C: adjust several functions
7733 * rowpainter.h:store a ParagraphList::iterator and not a
7737 2003-04-09 John Levon <levon@movementarian.org>
7742 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7743 and the "help" bits as well
7745 2003-04-09 John Levon <levon@movementarian.org>
7748 * ToolbarBackend.C: allow multiple toolbars
7750 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * undo_funcs.C (setCursorParUndo): adjust
7754 * text_funcs.C (transposeChars): adjust
7756 * text3.C (gotoNextInset): adjust
7759 * text2.C (setLayout): adjust
7760 (changeDepth): adjust
7762 (redoParagraphs): adjust
7763 (selectionAsString): adjust
7764 (setParagraph): adjust
7765 (insertInset): adjust
7766 (cutSelection): adjust
7767 (copySelection): adjust
7768 (pasteSelection): adjust
7769 (insertStringAsLines): adjust
7770 (updateInset): adjust
7771 (setCursor): change to take a ParagraphList::iterator parameter
7772 (setCursorIntern): change to take a ParagraphList::iterator parameter
7773 (setCurrentFont): adjust
7774 (cursorLeft): adjust
7775 (cursorRight): adjust
7776 (deleteEmptyParagraphMechanism): adjust
7778 * text.C (breakParagraph): adjust
7779 (insertChar): adjust
7780 (acceptChange): adjust
7781 (rejectChange): adjust
7782 (selectNextWordToSpellcheck): adjust
7783 (changeCase): adjust
7787 * lyxfind.C (SearchForward): adjust
7788 (SearchBackward): adjust
7789 (nextChange): adjust
7791 * lyxcursor.C (par): adjust
7793 * lyxcursor.h: store a ParagraphList::iterator instead of a
7796 * lyx_cb.C (getPossibleLabel): adjust
7798 * bufferview_funcs.C (toggleAndShow): adjust
7800 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7803 * BufferView.C (removeAutoInsets): adjust
7804 (lockedInsetStoreUndo): adjust
7806 2003-04-09 John Levon <levon@movementarian.org>
7808 * ToolbarBackend.C: try icon without argument
7809 if with argument fails
7811 2003-04-08 John Levon <levon@movementarian.org>
7814 * ToolbarBackend.C: add getIcon(), handle tooltip,
7815 and change from "Icon" to "Item".
7817 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7819 * BufferView.C (lockInset): another bad getchar crunched
7821 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7823 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7826 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7828 * lyxfind.C (searchForward, searchBackwards): bug 782
7830 2003-04-07 John Levon <levon@movementarian.org>
7832 * paragraph.C: remove dead comment
7834 * text.C: remove troublesome depth-fiddling code
7835 in leftMargin() and rightMargin() (bug 1017)
7837 * text.C: fix breaking of rows in nested lists
7840 * text2.C (updateCounters): fix up depth values
7843 2003-04-07 John Levon <levon@movementarian.org>
7845 * BufferView_pimpl.C: clear message when doc finishes resizing,
7846 and after a mouse event
7848 * lyxfunc.C: clear message after exiting inset
7850 2003-04-07 John Levon <levon@movementarian.org>
7852 * bufferview_funcs.C: show math status not outside
7853 status in the statusbar
7855 2003-04-07 John Levon <levon@movementarian.org>
7857 * lyxfunc.C: note status changed after a depth change
7859 2003-04-04 Angus Leeming <leeming@lyx.org>
7861 * LaTeX.h: move AuxInfo operator==, != out of line.
7862 Remove LaTeX virtual destructor; nothing derives from it.
7863 Move operator()() out of public area and rename it startscript().
7864 Change protected for private.
7866 2003-04-04 Angus Leeming <leeming@lyx.org>
7869 * text2.C: remove unneeded #includes.
7871 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7873 * text2.C (dEPM): fix the heigth of the next row
7875 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7877 * text.C: squashed an invalid getChar requester + some ws changes
7879 2003-04-03 John Levon <levon@movementarian.org>
7881 * bufferview_funcs.h:
7882 * bufferview_funcs.C:
7885 * text2.C: make getStatus work for the env depth lfuns
7887 2003-04-03 John Levon <levon@movementarian.org>
7889 * bufferview_funcs.h:
7890 * bufferview_funcs.C:
7893 * text2.C: parlistize decDepth(), by merging it with incDepth()
7895 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7897 * lyxrow.h: store a ParagraphList::iterator instead of a
7898 Paragraph* and adjust other class functions to suit.
7900 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7903 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7905 * text2.C (setCursor): do not anchor to cursor row for the time being
7907 2003-04-02 John Levon <levon@movementarian.org>
7914 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7916 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * paragraph.h: make ParagraphList and ParagraphList::iterator
7919 friends of Paragraph.
7921 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7923 * ParagraphList.C: Use the private next_ and previous_ from
7926 2003-04-01 John Levon <levon@movementarian.org>
7930 * Makefile.am: rename, remove defaults gunk
7933 * MenuBackend.C: remove defaults gunk
7936 * Languages.C: remove defaults gunk
7939 * lyx_main.C: error out if files couldn't be found.
7941 2003-04-02 John Levon <levon@movementarian.org>
7943 * text2.C: make incDepth() use parlist
7945 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7947 * undo_funcs.C (firstUndoParagraph): adjust
7949 * text3.C (gotoInset): adjust
7950 (dispatch): adjust, and rewrite loop.
7952 * text2.C (init): adjust, and rewrite loop.
7953 (redoParagraphs): adjust
7954 (updateInset): adjust, and rewrite loop.
7955 (deleteEmptyParagraphMechanism): adjust
7957 * tabular.C (LyXTabular): adjust
7958 (SetMultiColumn): adjust
7961 * lyxtext.[Ch] (ownerParagraph): delete function
7962 (ownerParagraphs): new function returns a ParagraphList.
7964 * BufferView.C (removeAutoInsets): adjust
7965 (insertErrors): adjust
7966 (setCursorFromRow): adjust
7968 2003-04-01 Angus Leeming <leeming@lyx.org>
7970 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7973 2003-04-02 John Levon <levon@movementarian.org>
7979 * text_funcs.C: make transposeChars a free function
7981 * lyxrow_funcs.C: remove wrong comment
7983 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7986 * rowpainter.C: adjust
7991 * lyxrow_funcs. [Ch]: new files
7993 * lyxrow.[Ch]: remove next and previous pointers
7994 (next,previous): remove accessor functions
7995 (isParEnd): move to lyxrow_funcs
7996 (lastPos): move to lyxrow_funcs
7997 (nextRowIsAllInset): move to lyxrow_funcs
7998 (lastPrintablePos): move to lyxrow_funcs
7999 (numberOfSeparators): move to lyxrow_funcs
8000 (numberOfHfills): move to lyxrow_funcs
8001 (numberOfLabelHfills): move to lyxrow_funcs
8002 (hfillExpansion): move to lyxrow_funcs
8006 * bufferview_funcs.C (toggleAndShow): adjust
8008 * RowList.h: Remove class RowList from file leave just a
8011 * RowList.C: delete file
8013 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8016 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8018 * text3.C (cursorPrevious): adjust
8019 (cursorNext): adjust
8022 * text2.C (redoHeightOfParagraph): adjust
8023 (redoDrawingOfParagraph): adjust
8026 * text.C (breakParagraph): adjust
8027 (insertChar): adjust
8030 * rowpainter.C (RowPainter): adjust
8031 (leftMargin): simplify and adjust
8032 (most rowpainter functions): adjust.
8034 * rowpainter.h: store the row as RowList::iterator not as Row*
8036 * lyxcursor.C (row): taka RowList::iterator as arg
8039 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8042 2003-04-01 Angus Leeming <leeming@lyx.org>
8044 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8045 stuff like bool Bool.
8047 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8049 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8052 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8054 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8057 * lyxtext.h (rows): drop one version and leve a const variant that
8058 returns a RowList::iterator.
8060 2003-03-31 Angus Leeming <leeming@lyx.org>
8062 * text.C (fill): ensure that the signature is the same as that in the
8065 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8067 * text2.C (redoParagraphs): adjust
8068 (updateCounters): adjust
8069 (checkParagraph): adjust
8070 (getColumnNearX): adjust and reformat a bit.
8072 * text.C (top_y): adjust
8074 (leftMargin): adjust
8075 (prepareToPrint): adjust
8077 (getRowNearY): adjust
8079 * lyxtext.h: make rowlist_ mutable.
8081 * RowList.h: add const_iterator
8082 * RowList.C: adjust for RowList::const_iterator.
8084 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8087 2003-03-31 John Levon <levon@movementarian.org>
8090 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8092 * lyx_main.C: set default fonts from using lyx_gui funcs
8094 * exporter.C: pdf_mode moved from lyxrc
8097 * lyxfunc.C: changes from above
8099 2003-03-31 John Levon <levon@movementarian.org>
8101 * lyx_main.C: fix to the last fix
8103 2003-03-31 John Levon <levon@movementarian.org>
8105 * bufferlist.C: "Load original" -> "Load Original"
8111 * format.C: more Alert cleanups
8113 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8115 * text2.C (removeParagraph): make it take a RowList::iterator as
8117 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8118 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8120 * text.C (anchor_row): make it take a RowList::iterator as arg,
8122 (computeBidiTables): make it take a const reference to Row instead
8123 of Row pointer, adjust.
8124 (leftMargin): make it take a RowList::iterator as arg, adjust.
8125 (rowBreakPoint): adjust
8126 (breakAgainOneRow): make it take a RowList::iterator as arg,
8128 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8130 * bufferview_funcs.C (toggleAndShow): adjust
8132 2003-03-30 John Levon <levon@movementarian.org>
8136 * boost-inst.C: moved to support
8138 * several files: changes as a result
8140 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8142 * text2.C (LyXText): adjust.
8144 (removeRow): make it take a RowList::iterator as arg, adjust.
8145 (fullRebreak): adjust
8146 (deleteEmptyParagraphMechanism): adjust
8147 (clearPaint): adjust
8150 * text.C (top_y): adjust
8151 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8152 (breakAgain): make it take a RowList::iterator as arg, adjust.
8153 (breakParagraph): adjust
8154 (insertChar): adjust
8157 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8158 need_break_row, and refresh_row.
8160 * text3.C (dispatch): adjust
8162 * text2.C (checkParagraph): adjust
8164 (setCursorFromCoordinates): adjust
8166 * text.C (top_y): adjust
8168 (getRow): make it return a RowList::iterator, adjust
8169 (getRowNearY): make it return a RowList::iterator, adjust
8171 * text2.C (init): adjust
8172 (insertRow): remove function
8173 (insertParagraph): adjust
8174 (redoParagraphs): adjust
8175 (fullRebreak): adjust
8176 (updateCounters): adjust
8178 * text.C (top_y): rewrite to use RowList iterators.
8180 (setHeightOfRow): rewrite to sue RowList iterators.
8181 (appendParagraph): adjust
8182 (breakAgain): adjust
8183 (breakAgainOneRow): adjust
8184 (breakParagraph): adjust
8186 (getRowNearY): adjust, and remove commented code.
8188 * lyxtext.h (firstRow): delete function
8189 (lastRow): delete function
8190 (rows): new function (const and non-const versions.)
8191 (insertRow): delete function
8193 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8195 2003-03-29 John Levon <levon@movementarian.org>
8197 * BufferView_pimpl.C: always update scrollbar top
8198 because pasting text when we're anchored could mean we
8199 miss an update altogether
8201 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8203 * text2.C (init): use rowlist_.end() and not 0.
8204 (insertRow): change to take a RowList::iterator as arg, adjust
8206 (insertParagraph): change to take a RowList::iterator as arg,
8208 (redoParagraphs): remove some debug msgs.
8210 * text.C (appendParagraph): change to take a RowList::iterator
8211 arg, adjust for this.
8212 (breakAgain): add an assert
8213 (breakAgainOneRow): ditto
8215 2003-03-29 John Levon <levon@movementarian.org>
8217 * text2.C: do not clear selection after inc/decDepth
8220 2003-03-29 John Levon <levon@movementarian.org>
8223 * buffer.C: fix broken strerrors according to Lars
8225 2003-03-29 John Levon <levon@movementarian.org>
8227 * converters.C: more Alert cleanups
8229 2003-03-29 John Levon <levon@movementarian.org>
8231 * bufferview_funcs.C: remove pointless Alert
8233 * buffer.C: fix confusing error message when
8234 a template is chmoded 000
8236 2003-03-29 John Levon <levon@movementarian.org>
8240 * BufferView_pimpl.C: Alert fixes
8244 * tabular-old.C: remove unused table compat reading
8246 2003-03-29 John Levon <levon@movementarian.org>
8251 * lyx_cb.C: more Alert cleanups
8253 * lyxfunc.C: don't allow chktex if not latex document
8255 2003-03-29 John Levon <levon@movementarian.org>
8259 * buffer.C: warnings pushed down from support/,
8262 2003-03-29 John Levon <levon@movementarian.org>
8264 * lyxfunc.C: safety check for C-r (revert)
8266 2003-03-29 John Levon <levon@movementarian.org>
8269 * bufferlist.C: several UI fixes using Alert::prompt.
8270 Fix the pointless looping quit code. Fix stupid revert
8275 * lyx_cb.C: use Alert::prompt
8277 * lyx_main.C: remove a silly question
8279 * lyxfunc.C: remove a couple of silly questions,
8282 2003-03-28 John Levon <levon@movementarian.org>
8284 * text2.C: fix bug 974 (End on empty par)
8286 2003-03-28 John Levon <levon@movementarian.org>
8288 * BufferView_pimpl.C:
8290 * lfuns.h: remove do-nothing math greek lfuns
8292 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8294 * lyxgluelength.h (isValidGlueLength): add default arg on
8295 parameter 2. Remove default arg from friend in class.
8297 * lyxlength.h (isValidLength): add default arg on parameter 2.
8298 Remove default arg from friend in class.
8300 * text2.C (LyXText): adjust, initialize refresh_row.
8304 (insertParagraph): adjst
8305 (redoParagraphs): adjust
8306 (fullRebreak): adjust
8307 (updateCounters): adjust
8308 (deleteEmptyParagraphMechanism): first attempt at fixing a
8311 * text.C (top_y): adjust
8312 (setHeightOfRow): adjust
8314 (getRowNearY): adjust
8316 * lyxtext.h: include RowList.h
8317 (~LyXText): not needed anymore, deleted.
8318 (firstRow): modify for RowList
8319 (lastRow): new function
8320 Delete firstrow and lastrow class variables, add a Rowlist
8321 rowlist_ class variable.
8323 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8326 * RowList.C (insert): fix case where it == begin().
8328 2003-03-26 Angus Leeming <leeming@lyx.org>
8330 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8331 the thesaurus dialog.
8333 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8335 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8337 * RowList.[Ch]: new files
8339 * ParagraphList.C (erase): handle the case where it == begin
8342 2003-03-25 John Levon <levon@movementarian.org>
8346 * aspell.C: add new aspell support
8349 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8352 2003-03-25 Angus Leeming <leeming@lyx.org>
8355 * LyXAction.C (init): new LFUN_INSET_INSERT.
8357 * BufferView_pimpl.C (dispatch): split out part of the
8358 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8360 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8363 2003-03-25 Angus Leeming <leeming@lyx.org>
8365 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8367 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8370 * text3.C: remove useless row->height(0)
8372 2003-03-25 John Levon <levon@movementarian.org>
8376 * text3.C: rename the refreshing stuff to better names
8378 2003-03-24 John Levon <levon@movementarian.org>
8380 * BufferView_pimpl.h:
8381 * BufferView_pimpl.C: update layout choice on a mouse
8384 2003-03-23 John Levon <levon@movementarian.org>
8386 * Makefile.am: fix commandtags.h reference
8388 2003-03-22 John Levon <levon@movementarian.org>
8390 * BufferView_pimpl.C:
8395 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8397 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8400 * text.C: take the rtl methods out of line
8402 2003-03-21 André Pönitz <poenitz@gmx.net>
8404 * metricsinfo.[Ch]: new files containing structures to be passed around
8405 during the two-phase-drawing...
8407 2003-03-21 André Pönitz <poenitz@gmx.net>
8409 * lyxtextclass.C: read 'environment' tag.
8411 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8413 * text2.C (removeRow): fix bug 964
8415 2003-03-20 John Levon <levon@movementarian.org>
8419 * text2.C: paint cleanups. Inset::update() dropped font
8422 2003-03-19 John Levon <levon@movementarian.org>
8424 * lyxfunc.C: only fitcursor/markDirty if available()
8426 2003-03-19 John Levon <levon@movementarian.org>
8428 * commandtags.h: rename to ...
8430 * lfuns.h: ... this, and renumber / cleanup
8432 2003-03-19 John Levon <levon@movementarian.org>
8434 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8435 fit the cursor after an lfun
8439 * BufferView_pimpl.h:
8440 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8442 * LyXAction.C: layout-character should have ReadOnly
8444 * ParagraphParameters.C:
8446 * bufferview_funcs.C:
8453 * undo_funcs.C: changes from above
8455 2003-03-18 John Levon <levon@movementarian.org>
8457 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8458 remove it from update()
8460 * lyxfunc.C: update layout choice after an lfun
8462 * text3.C: remove extra updateLayoutChoice()s
8464 2003-03-18 John Levon <levon@movementarian.org>
8466 * text.C: top_y change means full repaint, fix
8467 a drawing bug with cursor movement
8469 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8473 * text2.C: anchor row on setCursor
8475 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8477 * lyxtext.h: remove almost all mutable keywords
8480 * text3.C: remove const keywords accordingly
8482 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8484 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8486 (TeXEnvironment): ditto
8489 2003-03-17 John Levon <levon@movementarian.org>
8491 * text.C (rowBreakPoint): remove attempt to fix displayed
8492 math insets inside a manual label
8494 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8496 * lyxtext.h: remove BufferView* as first arg from almost all class
8498 * other files: adjust.
8500 2003-03-17 John Levon <levon@movementarian.org>
8504 * text2.C: more paint cleanups
8506 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8509 * rowpainter.C: remove "smart" background painting code
8511 2003-03-16 John Levon <levon@movementarian.org>
8516 * text3.C: add helper functions for setting refresh_row/y
8518 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8520 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8521 newline inset which *can* get inserted in the pass_thru layouts.
8522 This is primarily for literate documents.
8524 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8526 * buffer.C: increment LYX_FORMAT to 223
8528 2003-03-14 André Pönitz <poenitz@gmx.net>
8530 * textclass.h: prepare for environment handling, ws changes
8531 * lyxlayout.C: read latexheader and latexfooter tags
8533 2003-03-14 John Levon <levon@movementarian.org>
8535 * text2.C: rewrite ::status() a bit
8537 2003-03-13 John Levon <levon@movementarian.org>
8539 * lyxtext.h: add some docs
8541 2003-03-13 John Levon <levon@movementarian.org>
8546 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8548 2003-03-13 John Levon <levon@movementarian.org>
8550 * text3.C: fix appendix redrawing
8552 2003-03-13 John Levon <levon@movementarian.org>
8554 * text.C (setHeightOfRow):
8556 * rowpainter.C: make appendix mark have the text
8557 "Appendix" so the user knows what it is
8560 * LColor.C: s/appendixline/appendix/ from above
8562 2003-03-13 John Levon <levon@movementarian.org>
8564 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8566 * text.C: fix a getChar(pos) bug properly
8568 2003-03-13 Angus Leeming <leeming@lyx.org>
8571 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8572 Probably only temporary. Let's see how things pan out.
8574 * BufferView.C (unlockInset):
8575 * BufferView_pimpl.C (fitCursor):
8576 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8578 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8579 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8581 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8582 new functions that convert ParagraphParameters to and from a string.
8584 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8585 BufferView::Pimpl's dispatch.
8586 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8588 2003-03-13 André Pönitz <poenitz@gmx.net>
8592 * factory.C: make it aware of InsetEnv
8594 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8596 * text2.C (setCursor): never ask for one past last
8597 (setCursor): add some debugging messages.
8599 * text.C (singleWidth): never ask for one past last
8600 (singleWidth): ditto
8602 (rightMargin): ditto
8603 (rowBreakPoint): ditto
8604 (setHeightOfRow): ditto
8605 (prepareToPrint): ditto
8607 * rowpainter.C (paintBackground): never ask for one past last
8608 (paintText): never ask for one past last
8610 * paragraph_pimpl.C (getChar): make the assert stricter, never
8611 allow the one past last pos to be taken
8613 * paragraph.C (getChar): ws changes only
8615 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8616 (numberOfSeparators): ditto
8617 (numberOfHfills): ditto
8619 2003-03-12 John Levon <levon@movementarian.org>
8625 * paragraph_funcs.C: fix per-buffer authorlists
8627 2003-03-12 John Levon <levon@movementarian.org>
8629 * text.C: fix newline in right address
8631 2003-03-12 Angus Leeming <leeming@lyx.org>
8633 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8634 duplicate those in LyXFunc::dispatch.
8638 * ToolbarDefaults.C:
8639 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8640 Add LFUN_FONTFREE_UPDATE.
8642 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8643 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8645 * bufferview_func.[Ch]: several new functions to facilliate
8646 transfer of data to and from the character dialog.
8648 2003-03-12 John Levon <levon@movementarian.org>
8653 * paragraph_funcs.C:
8654 * paragraph_pimpl.C:
8658 * text3.C: remove META_NEWLINE in favour of an inset
8661 * rowpainter.C: remove paintNewline (done by inset)
8663 2003-03-12 John Levon <levon@movementarian.org>
8665 * paragraph_pimpl.C: complain about bad getChar()s
8666 for a while at least
8668 2003-03-12 John Levon <levon@movementarian.org>
8671 * buffer.C: move paragraph read into a separate function,
8672 a little renaming to reflect that.
8675 * bufferparams.C: remove the author_ids map, not necessary now
8678 * factory.C: moved Buffer::readInset to here
8680 * paragraph_funcs.h:
8681 * paragraph_funcs.C: readParagraph free function moved from
8684 * tabular.C: name change
8686 2003-03-12 John Levon <levon@movementarian.org>
8689 * ParagraphParameters.C: move par params input to
8692 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8693 behave like a normal read from the stream wrt reading
8694 a line vs. a \\token
8696 2003-03-12 John Levon <levon@movementarian.org>
8699 * ParagraphParameters.h:
8700 * ParagraphParameters.C: move output code to a
8703 2003-03-12 John Levon <levon@movementarian.org>
8705 * BufferView.C (insertLyXFile):
8708 * tabular.C: use a parlist iterator for creating the
8711 2003-03-12 John Levon <levon@movementarian.org>
8713 * buffer.C: make current_change static local not
8716 2003-03-12 John Levon <levon@movementarian.org>
8718 * buffer.C: fix insertStringAsLines for change tracking
8720 2003-03-12 John Levon <levon@movementarian.org>
8727 * bufferparams.C: move author list into params. Rename some
8728 functions. Move the header reading into a separate token
8729 loop. Move the header token reading into BufferParams.
8731 2003-03-12 John Levon <levon@movementarian.org>
8733 * changes.C: put debug inside lyxerr.debugging() checks
8735 2003-03-11 André Pönitz <poenitz@gmx.net>
8737 * factory.C: make it aware of InsetHFill
8739 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8741 * buffer.C (latexParagraphs): move function from here...
8742 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8745 2003-03-10 Angus Leeming <leeming@lyx.org>
8747 * LyXAction.C (init): fix bug in poplating array with multiple entries
8748 with the same LFUN (spotted by JMarc).
8750 2003-03-10 John Levon <levon@movementarian.org>
8753 * text2.C: move getColumnNearX() near its
8756 2003-03-10 John Levon <levon@movementarian.org>
8758 * text.C: fix break before a minipage
8760 2003-03-10 John Levon <levon@movementarian.org>
8762 * text.C: fix the last commit
8764 2003-03-09 John Levon <levon@movementarian.org>
8768 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8769 bug 365 (don't break before insets unless needed). Don't
8770 return a value > last under any circumstances.
8772 2003-03-09 Angus Leeming <leeming@lyx.org>
8774 * BufferView_pimpl.C (trackChanges, dispatch): call
8775 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8777 2003-03-09 Angus Leeming <leeming@lyx.org>
8779 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8780 than Dialogs::showAboutlyx().
8782 2003-03-09 Angus Leeming <leeming@lyx.org>
8784 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8785 than Dialogs::showTabularCreate().
8787 2003-03-09 John Levon <levon@movementarian.org>
8791 * text2.C: 3rd arg to nextBreakPoint was always the same.
8794 2003-03-08 John Levon <levon@movementarian.org>
8801 * text2.C: Remove the "main" bit from the "main body"
8804 2003-03-08 John Levon <levon@movementarian.org>
8806 * text.C (leftMargin): The left margin of an empty
8807 manual label paragraph should not include the label width
8810 * text.C (prepareToPrint): don't attempt to measure hfills
8811 for empty manual label paragraphs - the answer should be 0
8813 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8815 * CutAndPaste.C: remove commented code and reindent.
8817 2003-03-08 John Levon <levon@movementarian.org>
8820 * lyxfunc.C: move reloadBuffer()
8823 * BufferView.C: to here
8825 * lyxvc.C: add comment
8828 * vc-backend.C: call bv->reload() to avoid
8829 getStatus() check on MENURELOAD
8831 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8833 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8834 to an old format .dep file.
8836 2003-03-07 Angus Leeming <leeming@lyx.org>
8838 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8839 when the LFUN_MOUSE_RELEASE should have been handled by
8840 inset->localDispatch.
8842 2003-03-07 Angus Leeming <leeming@lyx.org>
8844 * BufferView_pimpl.C (dispatch):
8845 * LyXAction.C (init):
8846 * ToolbarDefaults.C (init):
8848 * lyxfunc.C (getStatus):
8849 remove LFUN_INSET_GRAPHICS.
8851 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8853 2003-03-07 Angus Leeming <leeming@lyx.org>
8856 * LyXAction.C (init):
8857 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8859 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8862 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8864 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8865 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8867 2003-03-07 Angus Leeming <leeming@lyx.org>
8869 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8872 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8874 * ParagraphList.C (front): new function
8877 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8879 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8880 and top_row_offset_. removed var first_y.
8882 * text2.C (LyXText, removeRow):
8884 * BufferView_pimpl.C:
8885 use these methods instead of using first_y
8887 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8889 * text2.C (pasteSelection): adjust for checkPastePossible
8891 * CutAndPaste.C: remove Paragraph * buf and replace with
8892 ParagraphList paragraphs.
8893 (DeleteBuffer): delete
8894 (cutSelection): change the tc type to textclass_type
8895 (copySelection): change the tc type to textclass_type
8896 (copySelection): adjust for ParagraphList
8897 (pasteSelection): change the tc type to textclass_type
8898 (pasteSelection): adjust for Paragraphlist
8899 (nrOfParagraphs): simplify for ParagraphList
8900 (checkPastePossible): simplify for ParagraphList
8901 (checkPastePossible): remove unused arg
8903 * ParagraphList.C (insert): handle the case where there are no
8906 * CutAndPaste.h: make CutAndPaste a namespace.
8908 * text3.C (dispatch): adjust
8910 * text.C (breakParagraph): add a ParagraphList as arg
8912 * paragraph_funcs.C (breakParagraph): change to take a
8913 BufferParams and a ParagraphList as args.
8914 (breakParagraphConservative): ditto
8915 (mergeParagraph): ditto
8916 (TeXDeeper): add a ParagraphList arg
8917 (TeXEnvironment): ditto
8920 * buffer.C (readLyXformat2): adjust
8921 (insertStringAsLines): adjust
8922 (latexParagraphs): adjust
8924 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8925 (cutSelection): adjust
8926 (pasteSelection): adjust
8928 * BufferView_pimpl.C (insertInset): adjust
8930 2003-03-05 Angus Leeming <leeming@lyx.org>
8933 * LyXAction.C (init):
8934 * BufferView_pimpl.C (dispatch):
8935 * lyxfunc.C (getStatus):
8936 remove LFUN_CHILD_INSERT.
8938 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8940 2003-03-05 Angus Leeming <leeming@lyx.org>
8943 * LyXAction.C (init):
8944 * src/factory.C (createInset):
8945 * lyxfunc.C (getStatus):
8946 * text3.C (dispatch):
8947 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8949 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8951 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8953 * ParagraphList.C (insert): handle insert right before end()
8954 (erase): fix cases where it can be first or last paragraph.
8956 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8958 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8959 Paragraph::next and Paragraph::previous
8962 * text.C (breakParagraph): adjust
8964 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8965 BufferParams& as arg.
8966 (breakParagraph): use ParagraphList::insert
8967 (breakParagraphConservative): take a Buffer* instead of a
8968 BufferParams& as arg.
8969 (breakParagraphConservative): use ParagraphList::insert.
8971 * buffer.C (insertStringAsLines): un-const it
8972 (insertStringAsLines): adjust
8974 * ParagraphList.C (insert): new function
8976 * CutAndPaste.C (pasteSelection): adjust
8978 * text.C (backspace): adjust
8980 * tabular.C (SetMultiColumn): adjust
8982 * CutAndPaste.C (cutSelection): adjust
8983 (pasteSelection): adjust
8985 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8986 Buffer const * as arg
8988 * ParagraphList.C (erase): new function
8989 * paragraph_funcs.C (mergeParagraph): use it
8990 (mergeParagraph): make it take a Buffer* instead of a
8991 BufferParams* as arg
8993 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8995 (breakParagraphConservative): ditto
8997 * paragraph.h: remove the breakParagraph friend
8999 * paragraph.C (eraseIntern): new function
9000 (setChange): new function
9002 * paragraph_funcs.C (mergeParagraph): make it take a
9003 ParagraphList::iterator instead of a Paragraph *, adjust
9006 * paragraph.h: move an #endif so that the change tracking stuff
9007 also works in the NO_NEXT case.
9009 2003-03-04 Angus Leeming <leeming@lyx.org>
9012 * LyXAction.C: new LFUN_INSET_MODIFY.
9014 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9015 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9017 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9019 * several files: ws changes only
9021 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9022 (TeXEnvironment): ditto
9025 * buffer.C (makeLaTeXFile): adjust
9026 (latexParagraphs): make it take ParagraphList::iterator as args
9028 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9030 * buffer.C (latexParagraphs): adjust
9032 * paragraph.C (TeXOnePar): move function...
9033 (optArgInset): move function...
9034 (TeXEnvironment): move function...
9035 * paragraph_pimpl.C (TeXDeeper): move function...
9036 * paragraph_funcs.C: ...here
9038 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9040 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9042 * buffer.C (readInset): remove compability code for old Figure and
9045 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9047 * buffer.C: ws changes
9050 * BufferView_pimpl.C: ditto
9053 * bufferlist.h: ditto
9057 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9059 * converter.[Ch]: split into itself +
9062 * Makefile.am: += graph.[Ch] + format.[Ch]
9069 * lyxrc.C: added #include "format.h"
9071 2003-02-27 Angus Leeming <leeming@lyx.org>
9073 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9076 * factory.C (createInset): add "label" to the factory.
9078 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9079 string and do no more.
9081 2003-02-27 Angus Leeming <leeming@lyx.org>
9084 * LyXAction.C (init):
9085 * factory.C (createInset):
9086 * BufferView_pimpl.C (dispatch):
9087 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9089 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9091 * lyxfunc.C (dispatch):
9092 * text3.C (dispatch): pass name to params2string.
9094 2003-02-26 Angus Leeming <leeming@lyx.org>
9096 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9098 Rearrange the ~includes. Strip out the unnecessary ones.
9100 * factory.C (createInset): reformat.
9101 create new insets for the various LFUN_XYZ_APPLY lfuns.
9103 2003-02-26 John Levon <levon@movementarian.org>
9106 * lyxrow.C: add isParStart,isParEnd helpers
9108 * paragraph.h: make isInserted/DeletedText take refs
9110 * paragraph_funcs.h:
9111 * paragraph_funcs.C: remove #if 0'd code
9116 * text.C: use lyxrow helpers above.
9117 Move draw and paint routines to RowPainter.
9118 Make several methods use refs not pointers.
9119 Make backgroundColor() const.
9120 Add markChangeInDraw(), isInInset().
9121 Merge changeRegionCase into changeCase.
9122 Make workWidth() shouldn't-happen code into an Assert.
9125 * rowpainter.C: new class for painting a row.
9128 * vspace.C: make inPixels take a ref
9130 2003-02-26 Angus Leeming <leeming@lyx.org>
9132 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9135 2003-02-25 John Levon <levon@movementarian.org>
9137 * ispell.C: give the forked command a more accurate name
9139 2003-02-22 John Levon <levon@movementarian.org>
9142 * toc.C: make TocItem store an id not a Paragraph *
9145 2003-02-21 Angus Leeming <leeming@lyx.org>
9147 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9148 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9149 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9150 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9151 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9152 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9154 * BufferView_pimpl.C (dispatch):
9155 * LyXAction.C (init):
9156 * factory.C (createInset):
9157 * lyxfunc.C (getStatus, dispatch):
9158 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9160 2003-02-21 Angus Leeming <leeming@lyx.org>
9162 * BufferView_pimpl.C (MenuInsertLyXFile):
9163 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9164 * lyxfunc.C (menuNew, open, doImport):
9165 no longer pass a LyXView & to fileDlg.
9167 2003-02-21 Angus Leeming <leeming@lyx.org>
9169 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9170 * LyXAction.C: change, BIBKEY to BIBITEM.
9171 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9172 Change InsetBibKey to InsetBibitem.
9173 Change BIBKEY_CODE to BIBITEM_CODE.
9174 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9175 * factory.C: replace insetbib.h with insetbibitem.h.
9176 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9177 * paragraph.C: replace insetbib.h with insetbibitem.h.
9178 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9179 Change bibkey() to bibitem().
9180 * text.C: remove insetbib.h.
9181 * text2.C: replace insetbib.h with insetbibitem.h.
9182 change bibkey() to bibitem().
9183 * text3.C: remove insetbib.h.
9184 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9186 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9188 * lyxrc.C (output): enclose user email in quotes (in case there are
9191 2003-02-18 John Levon <levon@movementarian.org>
9193 * buffer.h: add std::
9195 2003-02-17 John Levon <levon@movementarian.org>
9201 * pspell.C: reworking. Especially in ispell, a large
9202 number of clean ups and bug fixes.
9204 * lyxfunc.C: fix revert to behave sensibly
9206 2003-02-17 André Pönitz <poenitz@gmx.net>
9209 * commandtags.h: new LFUN_INSERT_BIBKEY
9219 * paragraph_func.C: remove special bibkey handling
9221 2003-02-17 John Levon <levon@movementarian.org>
9223 * text.C (Delete): fix case where delete at the end of
9224 the very first paragraph would not merge the pars
9226 2003-02-17 John Levon <levon@movementarian.org>
9228 * lyxrow.C: fix lastPrintablePos()
9230 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9232 * bufferparams.C (writeLaTeX): add a std:here
9234 * buffer.C: and remove a using directive there
9236 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9238 * buffer.C (makeLaTeXFile): move the code that generates the
9241 * bufferparams.C (writeLaTeX): ... in this new method
9243 * LaTeXFeatures.C (getEncodingSet): make const
9244 (getLanguages): make const
9246 * MenuBackend.C (binding): returns the binding associated to this
9248 (add): sets the status of each item by calling getStatus. Adds
9250 (read): add support for OptSubMenu
9251 (expand): remove extra separator at the end of expanded menu
9253 2003-02-15 John Levon <levon@movementarian.org>
9256 * BufferView_pimpl.C:
9258 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9259 inset code that had no actual effect. Remove unneeded status
9262 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9264 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9267 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9269 * text.C (drawLengthMarker): also draw an arrow marker for
9270 symbolic lengths (medskip...)
9272 2003-02-14 John Levon <levon@movementarian.org>
9275 * tabular.C: better method names
9277 2003-02-14 John Levon <levon@movementarian.org>
9279 * BufferView_pimpl.C:
9284 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9285 it's a more accurate name. Remove some pointless uses.
9287 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9289 * text2.C (LyXText): change order of initilizers to shut off
9292 2003-02-14 John Levon <levon@movementarian.org>
9294 * buffer.C: use ParIterator for getParFromID()
9298 * paragraph_pimpl.h:
9299 * paragraph_pimpl.C: remove unused getParFromID()
9301 2003-02-14 John Levon <levon@movementarian.org>
9303 * buffer.C: remove some very old #if 0'd parse code
9305 2003-02-13 John Levon <levon@movementarian.org>
9309 * text2.C: move hfillExpansion(), numberOfSeparators(),
9310 rowLast(), rowLastPrintable(), numberofHfills(),
9311 numberOfLabelHfills() ...
9314 * lyxrow.C: ... to member functions here.
9319 * text.C: remove LyXText::beginningOfMainBody(), and call
9320 p->beginningOfMainBody() directly. Move the check for
9321 LABEL_MANUAL into the latter.
9328 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9334 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9335 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9337 2003-02-13 John Levon <levon@movementarian.org>
9339 * CutAndPaste.C: remove debug
9341 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9343 * paragraph.C (asString): remove two unused variables
9345 * lyxtextclass.C (readTitleType):
9347 (LyXTextClass): handle new members titletype_ and titlename_
9349 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9351 2003-02-09 John Levon <levon@movementarian.org>
9354 * buffer.C: replace hand-coded list with a map for the dep clean
9356 2003-02-08 John Levon <levon@movementarian.org>
9358 * LaTeX.C: consolidate code into showRunMessage() helper
9360 2003-02-08 John Levon <levon@movementarian.org>
9365 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9366 and pass the size in explicitly
9368 * BufferView_pimpl.h:
9369 * BufferView_pimpl.C:
9371 * BufferView.C: add getCurrentChange()
9373 * BufferView_pimpl.h:
9374 * BufferView_pimpl.C: handle change lfuns
9376 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9377 for changes. Mark pasted paragraphs as new.
9379 * support/lyxtime.h:
9380 * support/lyxtime.C:
9381 * DepTable.C: abstract time_t as lyx::time_type
9384 * LColor.C: add colours for new text, deleted text, changebars
9386 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9387 package use "usenames" option.
9391 * LyXAction.C: add change lfuns
9395 * author.C: author handling
9398 * buffer.C: add a per-buffer author list, with first entry as
9399 current author. Handle new .lyx tokens for change tracking. Output
9400 author list to .lyx file. Output dvipost stuff to .tex preamble.
9401 Bump lyx format to 222.
9404 * bufferlist.C: add setCurrentAuthor() to reset current author details
9408 * bufferparams.C: add param for tracking
9410 * bufferview_funcs.C: output change info in minibuffer
9414 * changes.C: add change-tracking structure
9417 * debug.C: add CHANGES debug flag
9420 * lyxfind.C: add code for finding the next change piece
9423 * lyxrc.C: add user_name and user_email
9426 * lyxrow.C: add a metric for the top of the text line
9429 * text.C: implement accept/rejectChange()
9432 * text.C: paint changebars. Paint new/deleted text in the chosen
9433 colours. Strike through deleted text.
9437 * paragraph_pimpl.h:
9438 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9439 in the current change to the insert functions. Rework erase to
9440 mark text as deleted, adding an eraseIntern() and a range-based
9441 erase(). Implement per-paragraph change lookup and
9444 * paragraph_funcs.C: Fixup paste for change tracking.
9446 * tabular.C: mark added row/columns as new.
9448 * text.C: fix rowLast() to never return -1. Don't allow
9449 spellchecking of deleted text. Track transpose changes. Don't
9450 allow paragraph break or merge where appropriate.
9452 * text2.C: leave cursor at end of selection after a cut.
9454 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9456 * text.C (getLengthMarkerHeight):
9457 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9458 visible on screen too.
9460 2003-02-07 John Levon <levon@movementarian.org>
9462 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9464 2003-02-05 Angus Leeming <leeming@lyx.org>
9466 * lyxserver.C (read_ready): revert my patch of 11 September last year
9467 as it sends PC cpu through the roof. Presumably this means that
9468 the lyxserver will no longer run on an Alpha...
9470 2003-01-30 Angus Leeming <leeming@lyx.org>
9472 * factory.C (createInset): create an InsetCommandParam of type "index"
9473 and use it to 'do the right thing'.
9475 * text2.C (getStringToIndex): ensure that cursor position is always
9476 reset to the reset_cursor position.
9478 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9480 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9483 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9487 * lyxfunc.C: Output messages with identical spelling, punctuation,
9490 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9492 * MenuBackend.C (expandFormats): List only viewable export formats
9495 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9498 * lyxfunc.C (getStatus): Make sure that formats other than
9499 "fax" can also be disabled
9501 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9503 * text3.C (dispatch): put the lfuns that insert insets in 3
9504 groups, and call doInsertInset with appropriate arguments.
9505 (doInsertInset): new function, that creates an inset and inserts
9506 it according to some boolean parameters.
9508 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9510 * buffer.C (readFile): remember to pass on 'par' when calling
9511 readFile recursively.
9513 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9515 * MenuBackend.C (expandFormats): add "..." to import formats.
9517 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9519 * paragraph.C (asString): Remove XForms RTL hacks.
9521 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9522 * buffer.C: fix typo
9524 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9526 * Makefile.am (LIBS): delete var
9527 (lyx_LDADD): add @LIBS@ here instead.
9529 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9531 * Clarify the meaning of "wheel mouse jump"
9533 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9535 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9538 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9540 * importer.C (Loaders): do not preallocate 3 elements in the
9541 vector, since one ends up with 6 elements otherwise
9543 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9545 * DepTable.C (write): write the file name as last element of the
9546 .dep file (because it may contain spaces)
9547 (read): read info in the right order
9549 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9551 * paragraph_pimpl.C (simpleTeXBlanks):
9552 (simpleTeXSpecialChars):
9553 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9555 * tabular.C (latex): add some missing case statements. Reindent.
9557 * MenuBackend.C (expandToc): remove unused variable.
9559 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9568 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9571 2003-01-05 John Levon <levon@movementarian.org>
9574 * BufferView.C: add getEncoding()
9577 * kbsequence.C: do not store last keypress
9580 * lyxfunc.C: store last keypress here instead. Pass encoding
9583 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9585 * lyx_main.C (init): remove annoying error message when following
9586 symbolic links (bug #780)
9588 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9590 * text.C (insertChar):
9591 * lyxrc.C (getDescription): remove extra spaces
9593 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9595 * lyxrc.C (getDescription): remove extra spaces
9597 2002-12-20 John Levon <levon@movementarian.org>
9599 * text3.C: hack fix for page up/down across tall rows
9601 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9603 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9606 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9608 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9609 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9610 thesaurus is not compiled in
9612 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9614 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9616 2002-12-16 Angus Leeming <leeming@lyx.org>
9619 * lyx_main.C (init): remove override_x_deadkeys stuff.
9621 2002-12-12 John Levon <levon@movementarian.org>
9623 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9624 insert. Only remove shift modifier under strict
9627 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9629 * MenuBackend.C (expandToc): fix crash.
9631 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9633 * MenuBackend.C (expandToc): gettext on float names.
9635 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9637 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9638 implement bool empty() [bug 490]
9640 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9642 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9644 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9646 * several files: ws changes
9648 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9650 * text2.C (setCounter): clean up a bit, use boost.format.
9651 (updateCounters): initialize par upon declaration.
9653 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9654 if the layout exists. We do not just store the layout any more.
9655 (SwitchLayoutsBetweenClasses): use boost.format
9657 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9659 * converter.C (convert): if from and to files are the same, use a
9660 temporary files as intermediary
9662 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9665 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9667 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9669 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9671 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9673 * tabular.C (asciiPrintCell): use string(size, char) instead of
9676 * sgml.C (openTag): fix order of arguments to string constructor
9679 * lyxfunc.C (dispatch): use boost.format
9681 * lots of files: change "c" -> 'c'
9683 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9685 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9687 2002-11-25 Angus Leeming <leeming@lyx.org>
9689 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9691 * lyx_main.C (init): compile fix.
9693 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9695 * lyx_cb.C (start): boost.formatify
9696 do not include <iostream>
9698 * lengthcommon.C: ws only
9700 * boost-inst.C,BoostFormat.h: add more explict instantations
9702 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9704 * lots of files: handle USE_BOOST_FORMAT
9706 2002-11-21 John Levon <levon@movementarian.org>
9708 * pspell.C: fix compile
9710 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9712 * lyxfunc.C (dispatch): use boost::format
9716 * lyxfont.C (stateText): use boost::format
9718 * lyx_main.C (LyX): use boost::format
9720 (queryUserLyXDir): ditto
9723 (typedef boost::function): use the recommened syntax.
9725 * importer.C (Import): use boost::format
9727 * debug.C (showLevel): use boost::format
9729 * converter.C (view): use boost::format
9734 * bufferview_funcs.C (currentState): use boost::format
9736 * bufferlist.C (emergencyWrite): use boost::format
9738 * buffer.C (readLyXformat2): use boost::format
9739 (parseSingleLyXformat2Token): ditto
9741 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9743 * LaTeX.C (run): use boost::format
9745 * Chktex.C (scanLogFile): use boost::format
9747 * BufferView_pimpl.C (savePosition): use boost::format
9748 (restorePosition): ditto
9749 (MenuInsertLyXFile): ditto
9751 * BoostFormat.h: help file for explicit instation.
9753 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9755 * tabular.C (latex): Support for block alignment in fixed width
9758 2002-11-17 John Levon <levon@movementarian.org>
9760 * BufferView_pimpl.C:
9762 * lyxfunc.C: split filedialog into open/save
9764 2002-11-08 Juergen Vigna <jug@sad.it>
9766 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9767 by my last patch (hopefully).
9769 2002-11-08 John Levon <levon@movementarian.org>
9778 * toc.C: ParConstIterator, and use it (from Lars)
9780 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9782 * lyxtextclass.[Ch]: revise and add doxygen comments
9784 2002-11-07 John Levon <levon@movementarian.org>
9786 * text.C: fix progress value for spellchecker
9788 * toc.C: fix navigate menu for insetwrap inside minipage
9790 * paragraph_funcs.C: added FIXME for suspect code
9792 2002-11-07 John Levon <levon@movementarian.org>
9794 * BufferView_pimpl.C: fix redrawing of insets
9797 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9799 * text2.C (updateCounters): fix bug 668
9801 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9803 * text3.C (dispatch): Do not make the buffer dirty when moving the
9806 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9808 * vc-backend.C: STRCONV
9811 * text2.C (setCounter): STRCONV
9813 * paragraph.C (asString): STRCONV
9815 * lyxlength.C (asString): STRCONV
9816 (asLatexString): ditto
9818 * lyxgluelength.C (asString): STRCONV
9819 (asLatexString): ditto
9821 * lyxfunc.C (dispatch): STRCONV
9824 * lyxfont.C (stateText): STRCONV
9826 * importer.C (Import): STRCONV
9828 * counters.C (labelItem): STRCONV
9829 (numberLabel): ditto
9830 (numberLabel): remove unused ostringstream o
9835 * bufferview_funcs.C (currentState): STRCONV
9837 * buffer.C (readFile): STRCONV
9838 (asciiParagraph): ditto
9839 (makeLaTeXFile): ditto
9841 * Spacing.C (writeEnvirBegin): STRCONV
9843 * LaTeXFeatures.C (getLanguages): STRCONV
9844 (getPackages): ditto
9846 (getBabelOptions): ditto
9847 (getTClassPreamble): ditto
9848 (getLyXSGMLEntities): ditto
9849 (getIncludedFiles): ditto
9853 (scanAuxFile): ditto
9856 * LString.h: add the STRCONV macros
9858 * BufferView_pimpl.C (savePosition): STRCONV
9859 (restorePosition): ditto
9860 (MenuInsertLyXFile): ditto
9862 * vc-backend.C (scanMaster): change from submatch[...] to
9865 * funcrequest.C: include config.h
9867 * factory.C: include config.h
9869 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9871 * box.C: include config.h
9873 * LaTeX.C (scanAuxFile): change from submatch[...] to
9877 2002-10-25 Angus Leeming <leeming@lyx.org>
9879 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9881 * ispell.[Ch] (setError): new method.
9882 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9883 Use setError() insetead of goto END.
9885 * lyx_cb.C (AutoSave): move out child process into new class
9888 2002-10-30 John Levon <levon@movementarian.org>
9890 * text3.C: make start appendix undoable
9892 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9894 * lyxlength.C (inPixels): Fix returned value.
9896 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9899 2002-10-24 Angus Leeming <leeming@lyx.org>
9901 * lyxgluelength.h: no need to forward declare BufferParams
9902 or BufferView, so don't.
9904 2002-10-21 John Levon <levon@movementarian.org>
9906 * BufferView.C: menuUndo ->undo, redo
9908 * BufferView.h: document, remove dead, make some methods private
9910 * paragraph_funcs.h:
9911 * paragraph_funcs.C:
9912 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9917 * sgml.C: move sgml open/close tag into sgml.C
9919 * bufferview_funcs.h: unused prototype
9922 * lyxfunc.C: remove unused
9925 * text.C: remove unused
9927 2002-10-21 John Levon <levon@movementarian.org>
9931 * BufferView_pimpl.h:
9932 * BufferView_pimpl.C: fix mouse wheel handling based on
9933 patch from Darren Freeman
9935 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9937 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9939 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9941 * lyxlength.C (inPixels): Fix hanfling of negative length.
9942 Fix LyXLength::MU case.
9944 2002-10-16 John Levon <levon@movementarian.org>
9946 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9948 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9950 * converter.C (view): add support for $$i (file name) and $$p
9951 (file path) for the viewer command. If $$i is not specified, then
9952 it is appended to the command (for compatibility with old syntax)
9954 2002-10-14 Juergen Vigna <jug@sad.it>
9956 * undo_funcs.C (textHandleUndo): alter the order in which the
9957 new undopar is added to the LyXText, as we have to set first
9958 the right prev/next and then add it as otherwise the rebuild of
9959 LyXText is not correct. Also reset the cursor to the right paragraph,
9960 with this IMO we could remove the hack in "redoParagraphs()".
9962 2002-10-09 Angus Leeming <leeming@lyx.org>
9964 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9965 to turn off an optimisation if a new inset is to be inserted.
9967 2002-10-11 André Pönitz <poenitz@gmx.net>
9969 * lyxtext.h: make some functions public to allow access
9970 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9972 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9974 * text3.C (dispatch): when changing layout, avoid an infinite loop
9977 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9979 * lyxrc.C (read): treat a viewer or converter command of "none" as
9982 * MenuBackend.C (expandFormats): for an update, also allow the
9983 formats that are not viewable
9985 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9986 script if it is newer than the lyxrc.defaults in user directory
9988 2002-10-07 André Pönitz <poenitz@gmx.net>
9990 * text.C: Vitaly Lipatov's small i18n fix
9992 2002-09-25 Angus Leeming <leeming@lyx.org>
9994 * ispell.h: doxygen fix.
9996 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9998 * buffer.h (readFile): Add a new argument to the method, to allow
9999 reading of old-format templates.
10001 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10003 * toc.C (getTocList): Get TOC from InsetWrap.
10005 2002-09-16 John Levon <levon@movementarian.org>
10007 * lyxfunc.C: check tabular for cut/copy too
10009 2002-09-12 John Levon <levon@movementarian.org>
10011 * LyXAction.C: tidy
10014 * factory.C: add header
10016 * paragraph_funcs.h:
10017 * paragraph_funcs.C: cleanup
10019 2002-09-11 John Levon <levon@movementarian.org>
10021 * PrinterParams.h: odd/even default to true
10023 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10025 * PrinterParams.h: update printer parameters for new xforms dialog
10027 2002-09-11 Angus Leeming <leeming@lyx.org>
10029 * lyxserver.C (read_ready): re-write to make it more transparent
10030 and to make it work in coherent fashion under Tru64 Unix.
10032 2002-09-11 André Pönitz <poenitz@gmx.net>
10036 * text3.C: implement LFUN_WORDSEL
10038 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10040 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10041 make floatlist_ a boost::shared_ptr<FloatList>
10043 * lyxtextclass.C: include FloatList.h
10044 (LyXTextClass): initialize floatlist_
10045 (TextClassTags): add TC_NOFLOAT
10046 (Read): match "nofloat" to TC_NOFLOAT and use it.
10047 (readFloat): modify call to floatlist_
10051 * FloatList.[Ch] (FloatList): remove commented out float
10053 (erase): new function
10055 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10057 * MenuBackend.C (expandToc): fix crash when there is no document
10060 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10062 * many files: Add insetwrap.
10064 2002-09-09 John Levon <levon@movementarian.org>
10066 * text2.C: remove confusing and awkward depth wraparound
10068 2002-09-09 John Levon <levon@movementarian.org>
10070 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10073 * buffer.C: remove getIncludeonlyList()
10076 * lyxfunc.C: remove headers
10078 2002-09-09 Juergen Vigna <jug@sad.it>
10080 * text.C (getColumnNearX): fix form Michael this is most
10081 probably a cut&paste bug.
10083 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10085 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10087 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10088 references, ws changes.
10090 * text2.C (init): update counters after init
10091 (insertParagraph): no need to set counter on idividual paragraphs.
10092 (setCounter): access the counters object in the textclass object
10093 on in the buffer object.
10094 (updateCounters): ditto
10096 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10097 shared_ptr<Counters> to avoid loading counters.h in all
10099 (LyXTextClass): initialize ctrs_
10100 (TextClassTags): add TC_COUNTER, and ...
10101 (Read): use it here.
10102 (CounterTags): new tags
10103 (readCounter): new function
10104 (counters): new funtion
10105 (defaultLayoutName): return a const reference
10107 * counters.C (Counters): remove contructor
10108 (newCounter): remove a couple of unneeded statements.
10109 (newCounter): simplify a bit.
10110 (numberLabel): some small formatting changes.
10112 * buffer.[Ch]: remove all traces of counters, move the Counters
10113 object to the LyXTextClass.
10115 2002-09-06 Alain Castera <castera@in2p3.fr>
10117 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10118 package to set the horizontal alignment on fixed width columns.
10121 * lyx_sty.h: added tabularnewline macro def.
10123 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10125 2002-09-06 John Levon <levon@movementarian.org>
10127 * LyXAction.C: tooltips for sub/superscript
10129 * MenuBackend.C: a bit more verbose
10131 * lyxfunc.C: tiny clean
10133 * undo_funcs.C: document undo_frozen
10135 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10137 * counters.C (Counters): add missing algorithm counter.
10139 * text2.C (setCounter): lookup the counter with layouts latexname
10140 instead of by section number.
10141 (setCounter): use a hackish way to lookup the correct enum
10143 a float name->type change
10144 reset enum couners with counter name directly instead of depth value.
10146 * counters.C (Counters): remove the push_backs, change to use the
10147 float type not the float name.
10148 (labelItem): remove unused string, float name->type change
10150 * counters.h: don't include vector, loose the enums and sects vectors
10152 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10154 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10155 (Read): add float->TC_FLOAT to textclassTags
10156 (Read): and handle it in the switch
10157 (readFloat): new function
10159 * FloatList.C (FloatList): comment out the hardcoded float
10162 * lyxlayout.h: ws change.
10164 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10166 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10168 2002-09-03 Angus Leeming <leeming@lyx.org>
10170 * BufferView_pimpl.h: qualified name is not allowed in member
10171 declaration: WorkArea & Pimpl::workarea() const;
10173 * factory.C: added using std::endl directive.
10175 * text3.C: added using std::find and std::vector directives.
10177 2002-08-29 André Pönitz <poenitz@gmx.net>
10180 * text2.C: remove unused member number_of_rows
10183 * BufferView2.C: remove file, move contents to...
10184 * BufferView.C: ... here
10186 * BufferView_pimpl.C:
10187 * factory.C: move more inset creation to factory
10189 * vspace.C: avoid direct usage of LyXText, ws changes
10192 don't provide direct access to WorkArea, use two simple
10193 acessors haveSelction() and workHeight() instead
10196 2002-08-29 John Levon <levon@movementarian.org>
10198 * BufferView_pimpl.C (dispatch): do not continue when
10201 2002-08-28 André Pönitz <poenitz@gmx.net>
10203 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10206 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10208 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10210 * buffer.C: increment LYX_FORMAT to 221
10212 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10213 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10215 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10217 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10219 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10221 * factory.C (createInset): use LyXTextClass::floats
10223 * MenuBackend.C (expandFloatListInsert):
10224 (expandFloatInsert):
10227 * text2.C (setCounter):
10229 * LaTeXFeatures.C (useFloat):
10230 (getFloatDefinitions):
10232 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10234 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10235 floatlist_, with accessor floats().
10237 * FloatList.h: remove global FloatList
10239 2002-08-26 André Pönitz <poenitz@gmx.net>
10241 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10245 * BufferView_pimpl.C:
10246 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10248 2002-08-25 John Levon <levon@movementarian.org>
10250 * LyXAction.C: fix margin note description
10252 2002-08-24 John Levon <levon@movementarian.org>
10256 * bufferview_funcs.C:
10258 * undo_funcs.C: cleanups
10260 * lyxfunc.C: disable CUT/COPY when no selection
10262 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10264 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10265 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10267 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10268 Add backward compatibility to "mono", "gray" and "no".
10270 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10272 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10273 (and file_format >= 200).
10275 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10277 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10279 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10281 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10283 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10285 * BufferView_pimpl.C:
10292 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10293 inset and code to make it work with the paragraph code. The inset
10294 can be anywhere in the paragraph, but will only do the expected
10295 thing in LaTeX if the layout file contains the parameter line
10297 (or more generally, a nonzero value) for that layout.
10299 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10301 * paragraph.h: remove the declaration of undefined counters class
10304 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10306 * text2.C (setCounter): fixed enumeration mis-count as reported by
10307 Dr. Richard Hawkins.
10309 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10311 * paragraph_funcs.h: remove some unneeded includes
10313 * text.C (backspace): pasteParagraph now in global scipe
10315 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10316 (pasteSelection): ditto
10318 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10319 * paragraph_funcs.C (pasteParagraph): ... here
10321 2002-08-20 André Pönitz <poenitz@gmx.net>
10323 * commandtags.h: new LFUNs for swapping/copying table row/colums
10326 * lyxfunc.C: support for new lfuns
10328 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10331 * buffer.[Ch]: remove NO_COMPABILITY stuff
10333 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10335 * boost.C (throw_exception): new file, with helper function for
10336 boost compiled without exceptions.
10341 * ParameterStruct.h:
10342 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10344 * bufferlist.C (emergencyWriteAll): use boost bind
10346 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10348 * text.C: include paragraph_funcs.h
10349 (breakParagraph): breakParagraph is now in global scope
10351 * paragraph_funcs.[Ch]: new files
10353 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10356 * buffer.C: include paragraph_funcs.h
10357 (insertStringAsLines): breakParagraph is now in global scope
10359 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10362 * CutAndPaste.C: include paragraph_funcs.h
10363 (cutSelection): breakParagraphConservative is now in global scope
10364 (pasteSelection): ditto
10366 * buffer.h: declare oprator== and operator!= for
10367 Buffer::inset_iterator
10369 * bufferlist.C (emergencyWrite): don't use fmt(...)
10371 * text3.C: add using std::endl
10373 * BufferView.C (moveCursorUpdate): remove default arg
10375 2002-08-20 André Pönitz <poenitz@gmx.net>
10377 * buffer.[Ch]: move inline functions to .C
10380 * BufferView_pimpl.C:
10382 * buffer.[Ch]: use improved inset_iterator
10385 * paragraph.[Ch]: write one paragraph at a time
10387 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10389 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10390 style if style is not specified.
10392 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10394 * text2.C (setCounter): when searching for right label for a
10395 caption, make sure to recurse to parent insets (so that a caption
10396 in a minipage in a figure float works) (bug #568)
10398 2002-08-20 André Pönitz <poenitz@gmx.net>
10400 * text3.C: new file for LyXText::dispatch() and helpers
10402 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10404 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10406 2002-08-19 André Pönitz <poenitz@gmx.net>
10409 * text.C: new LyXText::dispatch()
10411 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10413 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10415 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10417 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10420 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10422 * Makefile.am: use $(variables) instead of @substitutions@
10424 2002-08-15 André Pönitz <poenitz@gmx.net>
10427 * BufferView_pimpl.C: streamlining mathed <-> outer world
10431 * LyXAction.C: remove unused LFUN_MATH
10433 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10435 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10437 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10439 * paragraph.C (Paragraph): reformat a bit
10440 (cutIntoMinibuffer): use builtin InsetList function instad of
10444 * buffer.C: include boost/bind.hpp, add using std::for_each
10445 (writeFileAscii): use ParagraphList iterators
10446 (validate): use for_each for validate traversal of paragraphs
10447 (getBibkeyList): use ParagraphList iterators
10448 (resizeInsets): use for_each to resizeInsetsLyXText for all
10450 (getParFromID): use ParagraphList iterators
10452 * BufferView2.C (lockInset): use paragraph list and iterators
10454 2002-08-14 John Levon <levon@movementarian.org>
10456 * lyxserver.C: remove spurious xforms include
10458 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10460 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10462 2002-08-13 André Pönitz <poenitz@gmx.net>
10465 * lyxfunc.C: further cleaning
10467 2002-08-13 André Pönitz <poenitz@gmx.net>
10469 * funcrequest.h: new constructor
10471 * funcrequest.C: move stuff here from .h
10474 * BufferView_pimpl.C:
10477 * lyxfunc.C: subsequent changes
10479 * lyxfunc.h: new view() member function
10481 * lyxfunc.C: subsequent changes
10483 2002-08-13 Angus Leeming <leeming@lyx.org>
10486 * BufferView_pimpl.C:
10494 changes due to the changed LyXView interface that now returns references
10495 to member variables not pointers.
10497 2002-08-13 Angus Leeming <leeming@lyx.org>
10499 * WordLangTuple (word, lang_code): return references to strings,
10504 * lyxtext.h: forward-declare WordLangTuple.
10509 * text.C: #include "WordLangTuple.h".
10512 * text.C: (selectNextWordToSpellcheck): constify return type.
10514 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10520 * paragraph_pimpl.h:
10523 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10524 suggested by Angus.
10525 Made updateCounter always count from start of buffer, and removed
10526 second argument (par).
10527 Reverted floats number display to '#'. Perhaps I'll try again when the
10528 code base is sanitized a bit.
10530 2002-08-12 Angus Leeming <leeming@lyx.org>
10532 * buffer.[Ch] (getLabelList): constify.
10534 2002-08-07 André Pönitz <poenitz@gmx.net>
10536 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10538 * funcrequest.h: extension to keep mouse (x,y) position
10540 2002-08-12 Juergen Vigna <jug@sad.it>
10542 * BufferView2.C (insertErrors): forbid undo when inserting error
10545 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10547 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10549 * ParagraphList.[Ch]: new files
10551 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10553 * BufferView2.C (lockInset): ParagraphList changes
10556 * bufferlist.C: ditto
10560 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10562 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10563 unused class variable counter_,
10565 * paragraph.[Ch] (getFirstCounter): delete unused function
10567 * counters.C: include LAssert.h
10568 (reset): add a new function with no arg, change other version to
10569 not have def. arg and to not allow empty arg.
10571 * text2.C (setCounter): remove empty arg from call to Counters::reset
10573 2002-08-11 John Levon <levon@movementarian.org>
10575 * Makefile.am: add WordLangTuple.h
10577 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10579 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10580 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10582 * insets/insettext.C: InsetList changes
10584 * graphics/GraphicsSupport.C (operator()): InsetList changes
10586 * toc.C (getTocList): InsetList changes
10588 * paragraph_pimpl.[Ch]: InsetList changes
10590 * paragraph.[Ch]: InsetList changes
10592 * buffer.C (inset_iterator): InsetList changes
10593 (setParagraph): ditto
10594 * buffer.h (inset_iterator): ditto
10595 * iterators.C (operator++): ditto
10596 * iterators.h: ditto
10598 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10600 * InsetList.[Ch]: new files, most InsetList handling moved out of
10603 * BufferView2.C (removeAutoInsets): InsetList changes
10605 (ChangeInsets): ditto
10607 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10609 * paragraph_pimpl.h (empty): new function
10611 * paragraph.[Ch] (empty): new function
10613 * other files: use the new Paragraph::empty function
10615 2002-08-09 John Levon <levon@movementarian.org>
10617 * lyxtext.h: remove unused refresh_height
10619 2002-08-09 John Levon <levon@movementarian.org>
10626 * paragraph.C: move sgml char escaping out of paragraph
10629 * paragraph.C: remove id setter
10633 * paragraph_pimpl.C: remove dead tex_code_break_column
10635 * bufferview_funcs.C: small cleanup
10637 * lyxfunc.C: remove dead proto
10639 * lyxtext.h: make some stuff private. Remove some dead stuff.
10641 * lyxgluelength.C: make as[LyX]String() readable
10643 2002-08-08 John Levon <levon@movementarian.org>
10648 * ToolbarDefaults.C:
10651 * toc.C: lyxaction cleanup
10653 2002-08-08 John Levon <levon@movementarian.org>
10655 * BufferView2.C: small cleanup
10658 * lyxfind.C: move unnecessary header into the .C
10660 2002-08-08 John Levon <levon@movementarian.org>
10662 * funcrequest.h: just tedious nonsense
10665 * lyx_main.C: cleanups
10668 * vspace.C: remove dead header lyx_main.h
10670 2002-08-07 Angus Leeming <leeming@lyx.org>
10673 * paragraph_pimpl.h:
10674 Forward declare class Counters in paragraph.h by moving the ctrs member
10675 variable into Paragraph::Pimpl.
10676 (counters): new method, returning a reference to pimpl_->ctrs.
10678 * text2.C: ensuing changes.
10680 2002-08-07 John Levon <levon@movementarian.org>
10682 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10684 * BufferView_pimpl.C: announce X selection on double/triple
10687 * lyx_main.C: use correct bool in batch dispatch
10689 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10691 2002-08-07 André Pönitz <poenitz@gmx.net>
10693 * funcrequest.h: new class to wrap a kb_action and its argument
10696 * BufferView_pimpl[Ch]:
10700 * lyxrc.C: subsequent changes
10703 2002-08-07 John Levon <levon@movementarian.org>
10705 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10706 document options change.
10708 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10713 * makefile.am: move counters functionality over from
10714 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10716 2002-08-06 John Levon <levon@movementarian.org>
10718 * WordLangTuple.h: new file for word + language code tuple
10729 * BufferView2.C: use WordLangTuple
10732 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10734 2002-08-06 John Levon <levon@movementarian.org>
10736 * lyx_main.C: fix cmdline batch handling
10738 2002-08-06 André Pönitz <poenitz@gmx.net>
10740 * lyxrc.C: set default for show_banner to true
10742 2002-08-06 John Levon <levon@movementarian.org>
10744 * pspell.C: fix a crash, and allow new aspell to work
10746 2002-08-06 John Levon <levon@movementarian.org>
10749 * kbmap.C: small cleanup
10752 * vspace.C: add const
10754 2002-08-05 John Levon <levon@movementarian.org>
10756 * LyXAction.C: back to tabular-insert
10758 2002-08-04 John Levon <levon@movementarian.org>
10761 * BufferView.C: cosmetic change
10763 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10773 * BufferView2.C: purge all "Lyx" not "LyX" strings
10776 * lyxcursor.C: attempt to add some documentation
10781 * ToolbarDefaults.C:
10782 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10783 merge with LFUN_TABULAR_INSERT
10790 * pspell.C: split up i/pspell implementations into separate
10791 files, many cleanups
10793 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10795 * text2.C: some cleanup
10797 * lyxfunc.C: don't check for isp_command == "none" any more, it
10798 didn't make any sense
10800 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10805 * makefile.am: move counters functionality over
10806 from text2.C/paragraph.[Ch] to counters.[Ch], and
10808 2002-08-02 John Levon <levon@movementarian.org>
10810 * buffer.C: s/lyxconvert/lyx2lyx/
10812 2002-08-02 Angus Leeming <leeming@lyx.org>
10814 * lyxlex.C: revert John's change as it breaks reading of the user
10817 2002-08-02 Angus Leeming <leeming@lyx.org>
10819 * importer.C (Import):
10820 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10821 changes due to LyXView::view() now returning a boost::shared_ptr.
10823 2002-08-02 John Levon <levon@movementarian.org>
10825 * lyxlex.C: small cleanup
10827 2002-08-02 John Levon <levon@movementarian.org>
10829 * text2.C (status): small cleanup, no logic change
10831 2002-08-01 John Levon <levon@movementarian.org>
10834 * buffer.C (writeFile): don't output alerts, caller
10838 * lyx_cb.C: from above
10840 * lyxfunc.C: allow to open non-existent files
10842 2002-07-31 John Levon <levon@movementarian.org>
10844 * lyxserver.C: don't let incidental errors get
10847 2002-07-30 John Levon <levon@movementarian.org>
10849 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10851 2002-07-30 John Levon <levon@movementarian.org>
10854 * lyxserver.C: remove I/O callback too
10856 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10858 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10861 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10863 * many files: strip,frontStrip -> trim,ltrim,rtrim
10865 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10867 * PrinterParams.h: remove extern containsOnly, and include
10868 support/lstrings.h instead.
10870 * LaTeX.C (scanAuxFile): modify because of strip changes
10872 * buffer.C (makeLaTeXFile): ditto
10873 * bufferparams.C (writeFile): ditt
10874 * lyxfont.C (stateText): ditto
10875 * lyxserver.C (read_ready): ditto
10876 * vc-backend.C (scanMaster): ditto
10878 * BufferView_pimpl.h: ws changes
10880 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10882 2002-07-26 André Pönitz <poenitz@gmx.net>
10884 * kb_sequence.C: remove unnedred usings
10886 2002-07-26 Juergen Vigna <jug@sad.it>
10888 * lyxfind.C (LyXReplace): we have to check better if the returned
10889 text is not of theLockingInset()->getLockingInset().
10891 2002-07-25 Juergen Vigna <jug@sad.it>
10893 * lyxfind.C (LyXReplace): don't replace if we don't get the
10896 * undo_funcs.C (createUndo): remove debugging code.
10898 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10900 * buffer.C (parseSingleLyXformat2Token): Use default placement
10901 when reading old floats.
10903 * FloatList.C (FloatList): Change the default placement of figure
10904 and tables to "tbp".
10906 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10908 * MenuBackend.C: using std::max
10910 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10912 * MenuBackend.C (expandToc):
10913 (expandToc2): code moved from xforms menu frontend. It is now
10914 generic and TOCs are transparent to menu frontends.
10916 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10918 * toc.C (getTocList): protect against buf=0
10920 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10921 Menu as first parameter. Now, this calls itself recursively to
10922 expand a whole tree (this will be useful for TOC handling)
10923 (expandFloatInsert): remove 'wide' version of floats
10925 * MenuBackend.h (submenuname): returns the name of the submenu.
10926 (submenu): returns the submenu itself, provided it has been
10927 created by MenuBackend::expand
10929 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10931 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10932 insets which have noFontChange == true. (bug #172)
10934 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10936 * BufferView_pimpl.C: add connection objects and use them...
10939 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10941 * MenuBackend.C (expandLastfiles):
10944 (expandFloatListInsert):
10945 (expandFloatInsert):
10946 (expand): split expand in parts
10948 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10950 * lyx_gui.C: use lyx_gui::exit()
10952 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10954 * LyXAction.C: show the failing pseudo action
10956 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10958 * buffer.C (readFile): Run the lyxconvert script in order to read
10961 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10965 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10967 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10971 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10973 2002-07-22 Herbert Voss <voss@lyx.org>
10976 * lyxlength.[Ch]: add support for the vertical lengths
10978 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10980 * toc.[Ch]: std:: fixes
10982 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10984 * lyxrc.C: do not include lyx_main.h
10986 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10992 * BufferView2.C: include "lyxlex.h"
10995 * bufferparams.h: do not #include "lyxlex.h"
10997 * lyxtextclasslist.C (Add): remove method
10998 (classlist): renamed to classlist_
11000 * paragraph_pimpl.C:
11004 * bufferview_funcs.C:
11009 * toc.C (getTocList): use BufferParams::getLyXTextClass
11011 * toc.C (getTocList): use InsetFloat::addToToc
11013 * toc.[Ch]: new files, containing helper functions to handle table
11016 * lyxfunc.C (dispatch): no need to remove spaces around command
11018 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11019 first command of the sequence; it is not very clever, but I do not
11020 have a better idea, actually
11022 * LyXAction.C (LookupFunc): make sure to remove space at the
11023 beginning and end of the command
11025 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11027 * MenuBackend.C (getMenubar): new method: return the menubar of
11029 (read): treat differently reading of menu and menubar (in
11030 particular, the menubar has no name now)
11031 (Menu::menubar): remove
11033 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11036 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11038 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11039 a bibitem inset in a RTL paragraph.
11041 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11043 * paragraph_pimpl.C: constify
11045 * BufferView_pimpl.C:
11047 * lyxfunc.C: fix dispatch in a nicer way
11049 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11051 * lyxfunc.C (dispatch):
11052 * BufferView_pimpl.C:
11053 * BufferView_pimpl.h:
11055 * BufferView.h: rename Dispatch() to dispatch()
11057 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11059 * lyxlayout.C (Read): honor DependsOn tag
11061 * lyxlayout.[Ch] (depends_on): new method
11063 * version.C.in: update lyx_docversion
11065 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11067 * paragraph.C (validate): remove from here...
11068 * paragraph_pimpl.C (validate): ... and move here
11069 (isTextAt): make it const
11071 * buffer.C (getLists): ws cleanup
11073 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11075 * language.C (read): Use iso8859-1 encoding in latex_lang
11076 (this prevents LyX from crashing when using iso10646-1 encoding).
11078 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11080 * text2.C (toggleInset): if cursor is inside an inset, close the
11081 inset and leave cursor _after_ it
11083 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11085 * lyxfunc.C: move minibuffer completion handling out of here
11087 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11089 * BufferView_pimpl.C:
11090 * LaTeX.C: fix dispatch calls
11092 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11094 * text.C (drawChars): Fix Arabic text rendering.
11096 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11100 * lyxfunc.C: remove message-push/pop
11104 * lyxfunc.C: rationalise some code by removing verboseDispatch
11105 in favour of a bool argument to dispatch()
11107 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11109 * lyx_main.C (init): make sure to read symlinks as absolute paths
11111 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11114 * lyxfunc.C: no need for commandshortcut to be a member
11116 2002-07-15 André Pönitz <poenitz@gmx.net>
11118 * converter.C: add support for $$s (scripts from lib/scripts dir)
11119 * lyx_main.C: white space
11121 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11125 * lyxrc.C: remove second exit confirmation
11127 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11132 * BufferView_pimpl.h:
11133 * BufferView_pimpl.C:
11134 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11136 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11138 * MenuBackend.C (expand): add numeric shortcuts to document menu
11140 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11142 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11144 * lyxfont.C (setLyXFamily):
11151 * buffer.C (asciiParagraph): use ascii_lowercase
11153 2002-07-15 Mike Fabian <mfabian@suse.de>
11155 * lyxlex_pimpl.C (search_kw):
11156 * lyxlex.C (getLongString):
11157 * converter.h (operator<):
11158 * converter.C (operator<):
11159 * buffer.C (parseSingleLyXformat2Token):
11161 * ToolbarDefaults.C (read):
11162 * MenuBackend.C (checkShortcuts):
11164 * LColor.C (getFromGUIName):
11165 (getFromLyXName): use the compare_ascii_no_case instead of
11166 compare_no_case, because in turkish, 'i' is not the lowercase
11167 version of 'I', and thus turkish locale breaks parsing of tags.
11169 2002-07-16 Angus Leeming <leeming@lyx.org>
11171 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11172 now takes a Buffer const & argument.
11174 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11176 * BufferView.C (resize): check there's a buffer to resize
11178 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11180 * lyxfunc.C: remove dead code
11183 * lyxserver.C: use lyx_guii::set_read_callback
11185 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11187 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11188 an inset in a RTL paragraph.
11190 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11192 * lyxfunc.C: repaint after a font size update
11194 2002-07-15 André Pönitz <poenitz@gmx.net>
11196 * lyxlength.C: inBP should be able to return negative values
11198 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11200 * lyxfunc.C: use lyx_gui::update_fonts()
11202 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11204 * lyxfunc.C: use lyx_gui::update_color()
11206 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11212 * lyxrc.C: remove file->new asks for name option, and let
11213 buffer-new take an argument
11215 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11217 * BufferView_pimpl.C: remove unneeded extra repaint()
11219 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11221 * LyXAction.C: allow command-sequence with NoBuffer
11223 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11225 2002-07-10 Angus Leeming <leeming@lyx.org>
11227 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11229 2002-07-09 Angus Leeming <leeming@lyx.org>
11231 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11233 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11235 * lengthcommon.h: whitespace
11237 * lyxfunc.C: update scrollbar after goto paragraph
11239 * lyxtext.h: factor out page break drawing, and fix it so
11240 page break/added space paints as selected nicely
11242 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11244 * BufferView_pimpl.C: add FIXMEs, clean up a little
11246 2002-07-09 André Pönitz <poenitz@gmx.net>
11248 * lyxfont.[Ch]: support for wasy symbols
11250 2002-07-08 André Pönitz <poenitz@gmx.net>
11252 * BufferView_pimpl.C: apply John's patch for #93.
11254 2002-07-05 Angus Leeming <leeming@lyx.org>
11256 * BufferView_pimpl.C (buffer): generate previews if desired.
11258 * LColor.h: add "preview" to the color enum.
11260 * LColor.C (LColor): add a corresponding entry to the items array.
11262 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11265 2002-07-05 Angus Leeming <leeming@lyx.org>
11267 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11268 The body of the code is now in the method that is passed an ostream &
11269 rather than a file name.
11270 Pass an additional only_preamble parameter, useful for the forthcoming
11273 2002-07-03 André Pönitz <poenitz@gmx.net>
11275 * lyxfunc.C: simplify getStatus() a bit for math stuff
11277 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11279 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11281 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * text.C (changeRegionCase): do not change case of all the
11284 document when region ends at paragraph end (bug #461)
11286 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11288 * paragraph.C (startTeXParParams):
11289 (endTeXParParams): add \protect when necessary
11291 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11293 * BufferView_pimpl.C (workAreaExpose): remove warning
11295 2002-06-27 Angus Leeming <leeming@lyx.org>
11297 * Makefile.am: add lyxlayout_ptr_fwd.h.
11299 2002-06-26 André Pönitz <poenitz@gmx.net>
11301 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11303 2002-06-25 Angus Leeming <leeming@lyx.org>
11305 * lyxfunc.C (dispatch): Comment out the call to
11306 grfx::GCache::changeDisplay. The method no longer exists now that the
11307 pixmap generation part of the graphics loader has been moved into
11310 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11312 * text2.C: layout as layout
11314 * text.C: layout as layout
11316 * tabular.C (OldFormatRead): layout as layout
11318 * paragraph_pimpl.C (TeXDeeper): layout as layout
11319 (realizeFont): layout as layout
11321 * paragraph.C (writeFile): layout as layout
11322 (validate): layout as layout
11323 (getFont): layout as layout
11324 (getLabelFont): layout as layout
11325 (getLayoutFont): layout as layout
11326 (breakParagraph): layout as layout
11327 (stripLeadingSpaces): layout as layout
11328 (getEndLabel): layout as layout
11329 (getMaxDepthAfter): layout as layout
11330 (applyLayout): layout as layout
11331 (TeXOnePar): layout as layout
11332 (simpleTeXOnePar): layout as layout
11333 (TeXEnvironment): layout as layout
11334 (layout): layout as layout
11335 (layout): layout as layout
11337 * lyxtextclass.C (compare_name): new functor to work with
11338 shared_ptr, layout as layout
11339 (Read): layout as layout
11340 (hasLayout): layout as layout
11341 (operator): layout as layout
11342 (delete_layout): layout as layout
11343 (defaultLayout): layout as layout
11345 * lyxlayout_ptr_fwd.h: new file
11347 * lyxlayout.C (Read): layout as layout
11349 * lyx_cb.C (MenuInsertLabel): layout as layout
11351 * bufferlist.C (newFile): layout as layout
11353 * buffer.C (readLyXformat2): layout as layout
11354 (parseSingleLyXformat2Token): layout as layout
11355 (insertStringAsLines): layout as layout
11356 (asciiParagraph): layout as layout
11357 (latexParagraphs): layout as layout
11358 (makeLinuxDocFile): layout as layout
11359 (simpleLinuxDocOnePar): layout as layout
11360 (makeDocBookFile): layout as layout
11361 (simpleDocBookOnePar): layout as layout
11362 (getLists): layout as layout
11364 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11366 * CutAndPaste.C (cutSelection): layout as layout
11367 (pasteSelection): layout as layout
11368 (SwitchLayoutsBetweenClasses): layout as layout
11370 * BufferView_pimpl.C (Dispatch): layout as layout
11371 (smartQuote): layout as layout
11373 * BufferView2.C (unlockInset): layout as layout
11375 2002-06-24 André Pönitz <poenitz@gmx.net>
11377 * lyxfunc.C: fix #487
11379 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11383 * lyxfunc.C: remove display_shortcuts, show_banner
11385 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11387 * Buffer_pimpl.C: oops, update on resize
11389 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11396 * BufferView.C: use repaint()
11398 * BufferView_pimpl.h:
11399 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11400 as it's a clearer description. Remove superfluous
11403 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11405 * text.C: fix bug 488. Not ideal, but getting
11406 getWord() to work properly for the insets that
11407 matter is more difficult ...
11409 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11411 * BufferView_pimpl.C:
11414 * lyxfunc.C: remove the six million index lyxfuncs to just
11415 one, and DTRT (bug 458)
11417 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11421 * BufferView_pimpl.h:
11422 * BufferView_pimpl.C: clean up resize() stuff,
11423 and unnecessary updateScreen()s
11425 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11429 * BufferView_pimpl.h:
11430 * BufferView_pimpl.C:
11433 * minibuffer.C: remove focus management of workarea,
11434 not needed. Use screen's greyOut()
11436 2002-06-17 Herbert Voss <voss@lyx.org>
11438 * converter.C: (convert) do not post a message, when converting
11439 fails, let the calling function decide what to do in this case
11441 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11443 * lyxfunc.C: tidy up a little
11445 2002-06-16 <alstrup@diku.dk>
11447 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11448 Got rid of FORMS_H_LOCATION include. Now we are
11451 2002-06-15 LyX Development team <lyx@rilke>
11453 * buffer.[Ch] (sgmlOpenTag):
11454 (sgmlCloseTag): Added support for avoiding pernicious mixed
11455 content. Return number of lines written.
11457 (makeLinuxDocFile):
11458 (makeDocBookFile): Fixed calls to sgml*Tag.
11459 Simple white space clean.
11461 (simpleDocBookOnePar): Simple white space clean.
11463 * tabular.[Ch] (docBook): Renamed to docbook and got another
11464 argument to related with the pernicious mixed content.
11466 (docbookRow): Fixed calls for docbook inset method.
11468 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11470 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11471 so it's X11 independent.
11475 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11477 2002-06-15 Lyx Development team <lyx@electronia>
11479 * intl.h: Renamed getTrans to getTransManager.
11481 2002-06-14 Angus Leeming <leeming@lyx.org>
11483 * Makefile.am: nuke forgotten stl_string_fwd.h.
11485 2002-06-12 Angus Leeming <leeming@lyx.org>
11487 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11489 2002-06-13 Angus Leeming <leeming@lyx.org>
11492 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11494 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11496 * kbmap.C (getiso): add support for cyrillic and greek
11498 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11502 * BufferView_pimpl.h:
11503 * BufferView_pimpl.C: move bogus scrolling logic
11506 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11509 * BufferView_pimpl.C: view->resize() change
11511 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11513 * BufferView_pimpl.C: topCursorVisible
11516 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11520 * lyx_gui.C: move to frontends/
11524 * lyx_main.C: changes from above
11526 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11533 * lyx_main.C: minor tidy
11535 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11537 * BufferView_pimpl.h:
11538 * BufferView_pimpl.C:
11540 * BufferView.C: make painter() const,
11543 * BufferView2.C: use screen() accessor
11546 * lyx_main.C: some minor cleanup
11548 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11550 * BufferView_pimpl.h:
11551 * BufferView_pimpl.C: remove enter/leaveView,
11554 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11559 * BufferView_pimpl.h:
11560 * BufferView_pimpl.C: only construct screen once,
11563 * lyxrc.C: remove pointless comment
11565 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11568 * BufferView.C: remove active() and belowMouse()
11570 * BufferView_pimpl.h:
11571 * BufferView_pimpl.C: use workarea() not workarea_,
11572 and make it use a scoped_ptr instead
11574 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11576 * lyx_gui.C: add debug message on BadWindow
11578 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11580 * sp_spell.C: fdopen is not part of the C++ standard.
11582 * paragraph.C (InsetIterator): use >= instead of ==
11584 2002-06-07 Angus Leeming <leeming@lyx.org>
11586 Fixes needed to compile with Compaq cxx 6.5.
11587 * BufferView_pimpl.C:
11594 * lyxtextclasslist.C:
11599 all c-library variables have been moved into namespace std. Wrap
11600 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11605 Add a using std::abs declaration.
11607 * kbmap.h (modifier_pair):
11608 * paragraph.h (InsetTable, InsetList):
11609 * lyxfont.h (FontBits):
11610 type definition made public.
11612 * bufferlist.C (emergencyWriteAll): the compiler complains that
11613 there is more than one possible lyx::class_fun template to choose from.
11614 I re-named the void specialisation as lyx::void_class_fun.
11616 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11618 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11619 the compiler is is unable to find tostr in write_attribute.
11621 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11623 * buffer.C (sgmlError): hide #warning
11625 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11627 * xtl/*: get rid of xtl, which is not in use anyway
11629 * LyXAction.C (init):
11630 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11631 were unimplemented xtl experimentation
11633 2002-06-04 André Pönitz <poenitz@gmx.net>
11635 * lyxfunc.C: disable array operation on simple formulae
11637 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11639 * converter.C: constify a bit
11641 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11643 * lyx_gui.C: check xforms version correctly
11645 2002-04-30 Herbert Voss <voss@lyx.org>
11647 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11650 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11652 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11653 attempt to register it with a VCS)
11655 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11657 * lyx_main.C (init): honor variables LYX_DIR_13x and
11660 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11664 * lyx_main.C: fix a crash on bad command line,
11665 and give a useful exit status on error
11667 * lyxfunc.C (doImport): allow -i lyx to work
11669 2002-03-30 André Pönitz <poenitz@gmx.net>
11671 * lyxfunc.C: mathed font changes
11673 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11688 * trans_mgr.h: srcdocs, and some minor cleanups
11690 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11692 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11693 call getFont all the time)
11695 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11697 * switch from SigC signals to boost::signals
11699 2002-05-29 André Pönitz <poenitz@gmx.net>
11701 * paragraph_pimpl.C (getChar): don't call size() too often...
11703 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11705 * paragraph_pimpl.C (insertChar): do not try to update tables when
11706 appending (pos == size())
11708 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11709 in order to reduce drastically the number of comparisons needed to
11710 parse a large document
11712 2002-05-29 André Pönitz <poenitz@gmx.net>
11718 * textclasslist.[Ch]:
11719 * sp_ispell.h: whitespace change
11721 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11723 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11724 lyxaction directly now.
11726 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11730 * lyxvc.C: remove unused headers
11732 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11739 * undo_funcs.C: some cleanups. Use shared_ptr
11740 and a template for the undo stacks.
11742 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11744 * BufferView_pimpl.h:
11745 * BufferView_pimpl.C:
11752 * text2.C: use key_state/mouse_state
11754 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11756 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11759 * chset.C: change include order
11760 (loadFile): use boost regex and get rid of LRegex and LSubstring
11762 * Makefile.am (BOOST_LIBS): new variable
11763 (lyx_LDADD): use it
11765 * LaTeX.C: change include order.
11766 (scanAuxFile): use boost regex and get rid of LRegex and
11770 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11775 * FontInfo.C: moved to frontends/xforms/
11778 * FontLoader.C: moved into frontends for GUIIzation
11783 * lyxfunc.C: changes from above
11785 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11787 * LColor.C: remove spurious X include
11789 * BufferView_pimpl.C:
11794 * text2.C: move font metrics to frontends/
11796 2002-05-24 Juergen Vigna <jug@sad.it>
11798 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11799 setting the undo_cursor.
11801 * ParagraphParameters.h: include local includes first.
11803 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11805 * BufferView_pimpl.C:
11806 * BufferView_pimpl.h:
11810 * screen.C: move WorkArea into frontends/
11816 * BufferView2.C: move LyXScreen into frontends/
11820 * lyx_gui.C: move lyxlookup into frontends/xforms/
11822 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11825 * BufferView_pimpl.C:
11835 * bufferview_funcs.C:
11848 * vc-backend.C: move LyX/XFormsView into frontends/
11850 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11862 * text2.C: move Painter to frontends/
11864 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11866 * buffer.C: comment out some some code that depend upon lyx_format
11869 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11870 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11872 * buffer.h (NO_COMPABILITY): turn off compability
11874 * ColorHandler.C: include scoped_array.hpp
11876 * font.C: Use more specific smart_ptr header.
11879 * ShareContainer.h: ditto
11880 * lyx_main.h: ditto
11882 * FontInfo.h: ditto
11883 * BufferView_pimpl.h: ditto
11884 * ColorHandler.h: ditto
11886 * kbmap.C (defkey): change call to shared_ptr::reset
11888 2002-05-21 Juergen Vigna <jug@sad.it>
11890 * buffer.C (insertErtContents): fix to insert ert asis if it is
11891 non empty. Skip it completely if it contains only whitespaces.
11893 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11895 * BufferView_pimpl.C:
11896 * BufferView2.C: clear selection on paste (bug 393)
11898 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11900 * DepTable.C: include ctime
11902 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11904 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11906 2002-05-14 Juergen Vigna <jug@sad.it>
11908 * text.C (breakParagraph): fixed function to honor the keepempty
11909 layout in the right maner and also to permit the right breaking
11910 algorithm on empty or non empyt keepempty paragraphs.
11912 * paragraph.C (breakParagraph): we have to check also if the par
11913 is really empty (!size()) for isempty otherwise we do the wrong
11916 2002-05-10 Juergen Vigna <jug@sad.it>
11918 * buffer.[Ch] : The following are only changes to the ert
11919 compatibility read reading old LaTeX layout and font stuff and
11920 convert it to ERTInsets.
11922 * buffer.h: added isErtInset().
11924 * buffer.C (struct ErtComp): add a fromlayout bool to check
11925 if we're inside a LaTeX layout.
11926 (isErtInset): new helper function.
11927 (insertErtContents): look for other ert insets before this one
11928 and insert the contents there, so that we don't have subsequent
11929 ERT insets with nothing between them. This way we create only one
11930 inset with multiple paragraphs. Also check if we don't insert only
11931 spaces ' ' as they are ignored anyway afterwards in the .tex file
11932 so if we have only spaces we will ignore this latex part in the
11934 (parseSingleLyXformat2Token \\layout): better compatibility when
11935 reading layout-latex stuff.
11936 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11938 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11939 stuff after reading the inset only get the information back from
11942 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11944 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11946 * LaTeXFeatures.C (getBabelOptions): New method.
11948 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11950 * BufferView_pimpl.C (Dispatch): work around missing argument for
11953 2002-05-08 Juergen Vigna <jug@sad.it>
11955 * text.C (leftMargin): handle paragraph leftindent.
11957 * paragraph.C (writeFile): write the new \\leftindent tag.
11958 (validate): handle leftindent code.
11959 (TeXEnvironment): handle paragraphleftindent code again.
11961 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11963 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11964 for paragrap_extra indent code and new token \\leftindent.
11965 (latexParagraphs): handle the leftindent as environment.
11967 * ParameterStruct.h: added leftindent support.
11969 * ParagraphParameters.C (leftIndent): added support functions for
11970 the paragraph left indent.
11972 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11975 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11977 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11980 * text.C (computeBidiTables): No bidi in insetERT.
11982 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11985 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * version.C.in: pre 5
11989 2002-05-02 José Matos <jamatos@fep.up.pt>
11990 * buffer.C (makeDocBookFile): white space changes, add newline to
11992 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11994 * tabular.C (docBook): fix typo.
11996 2002-05-03 Juergen Vigna <jug@sad.it>
11998 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11999 change in LyXText as we can not be sure it was not freed.
12000 (drawOneRow): remove unused code.
12002 * text.C (drawInset): redo the calculation of the need_break_row as
12003 it could have a row which was already freed.
12004 (draw): look at the return value of drawInset and return false if
12005 it also returned false.
12006 (paintRowText): look at the return value of draw and return false if
12007 it also returned false.
12009 * lyxtext.h: added bool return type to drawInset() and draw() so that
12010 if we have a change in the row so that the rowbreak has to be redone
12011 we abort drawing as it will be called again.
12013 2002-05-02 Juergen Vigna <jug@sad.it>
12015 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12016 a change in the maintext also if we're inside an inset.
12017 (Dispatch): set the cursor again after a break line and after the
12018 screen has been updated as it could be we're in a different row.
12020 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12021 to set the cursor behind the pargraph with > size().
12022 (setCursor): check also for the same paragraph when checking where
12023 to put the cursor if we have a NFR inset.
12025 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12026 parts of layout read further up as it still was in the wrong
12029 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12031 * screen.C (drawFromTo): change sine fullRebreak always return
12034 * buffer.C (parseSingleLyXformat2Token): reindent some
12036 * BufferView_pimpl.C (update): change since fullRebreak always
12038 (Dispatch): git rid of the last hardcoded "Standard"s.
12040 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12042 * text2.[Ch] (fullRebreak): make it return void now that we always
12045 2002-04-30 Juergen Vigna <jug@sad.it>
12047 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12048 ert compatibility check for "latex" layout.
12050 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12052 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12053 minipages: use col% instead of p%, and also use the current font.
12054 (makeLaTeXFile): Fix use babel condition.
12055 (parseSingleLyXformat2Token): Correct font when reading old floats.
12057 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12059 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12060 inserting list of floats.
12062 2002-04-25 Herbert Voss <voss@lyx.org>
12064 * MenuBackend.C (expand): don't add the graphics extensions to the
12067 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12069 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12070 non-existing layout, do not complain if it was the default layout
12071 of the original class (bug #342)
12073 2002-04-24 Juergen Vigna <jug@sad.it>
12075 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12076 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12078 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12080 * buffer.C (getBibkeyList): If using \bibliography, return the
12081 option field with the reference itself. Enables us to provide natbib
12082 support when using \bibliography.
12084 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12086 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12088 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12089 natbib is provided by the LaTeX class.
12091 2002-04-23 Juergen Vigna <jug@sad.it>
12093 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12096 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12098 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12100 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12102 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12103 ensuremath around textordmasculine, textordfeminine and
12106 2002-04-19 Juergen Vigna <jug@sad.it>
12108 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12109 reinitializing the buffer otherwise row-dimensions may be wrong.
12110 (update): reset also the selection cursors if they do exits otherwise
12111 their x/y positions may be wrong.
12113 * text2.C (cursorDown): don't enter the inset if we came from a row
12114 above and are one row over the inset.
12116 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12117 really leaving an inset.
12119 2002-04-18 Juergen Vigna <jug@sad.it>
12121 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12122 of the selected paragraph does not have the selected layout also if
12125 * text2.C (setLayout): fixed bug which did not change last selected
12128 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12129 changed the read and substituted \\end_float with \\end_inset!
12131 * BufferView_pimpl.C (cursorPrevious):
12132 (cursorNext): fixed to make it work with rows heigher than the work
12133 area without moving the cursor only the draw of the row.
12134 (workAreaMotionNotify): fix jumping over high rows.
12136 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12138 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12141 2002-04-16 Juergen Vigna <jug@sad.it>
12143 * text2.C (setCursor): set also the irow().
12144 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12146 (cursorDown): support for locking an inset if the x_fix value goes
12147 inside it. That way I can transverse insets too with cursor up/down.
12149 * lyxrow.h: added irow helper function same as other (i) functions.
12151 * BufferView_pimpl.C (cursorPrevious):
12152 (cursorNext): fixed for insets!
12154 2002-04-15 Juergen Vigna <jug@sad.it>
12156 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12157 position otherwise it is wrong in some cases.
12159 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12160 inside the inset before the call.
12162 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12164 * buffer.[Ch] (getBibkeyList): make it const.
12166 2002-04-12 Juergen Vigna <jug@sad.it>
12168 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12170 * text2.C (getCursorX): new helper function
12171 (setCursor): compute also ix_
12172 (setCursorFromCoordinates): set also ix.
12174 * lyxcursor.h: added ix_ and helper functions.
12176 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12178 * buffer.C (insertStringAsLines): dont break paragraph if the this
12179 paragraph is inside an inset which does not permit it!
12181 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12182 also with no chars on this paragraph.
12183 (paintRowText): only paint stuff if it's inside the workarea!
12185 * paragraph.C (breakParagraph): honor keepempty flag and break the
12186 paragraph always below not above.
12188 * BufferView2.C (unlockInset): update the paragraph layout on inset
12189 unlock as we changed paragraph in such a case.
12191 * lyxfind.C (LyXFind): clear the former selection if not found!
12193 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12194 again called in insertChar().
12196 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12197 an inset which uses the whole row!
12198 (rightMargin): ditto.
12199 (insertChar): force a rebreak if we inserted an inset!
12201 2002-03-28 Herbert Voss <voss@lyx.org>
12203 * lyxlength.[Ch]: add inBP() to get the right PS-point
12204 units (BigPoint). With inPixels we have rounding errors
12206 2002-04-11 Juergen Vigna <jug@sad.it>
12208 * text2.C (setCursorFromCoordinates): set iy to the right value.
12209 (setCursor): add check if row->previous exists!
12211 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12212 an old float_type as this was the case in the old code!
12214 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12216 * BufferView2.C (showLockedInsetCursor): use iy
12217 (fitLockedInsetCursor): ditto
12219 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12220 locked insets as there we have the right value now.
12222 * lyxcursor.C: added iy_ variable and iy functions to set to the
12223 baseline of cursor-y of the locked inset.
12225 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12226 (setCursor): fixed for insets which need a full row.
12228 * text.C (rowLastPrintable): don't ignore the last space when before
12229 an inset which needs a full row.
12230 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12231 as last character of a row when before a inset which needs a full row.
12233 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12235 * version.C.in: update date
12237 * text2.C (fullRebreak): try to always return true and see what
12240 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12242 * MenuBackend.C (expand): use Floating::listName
12244 * FloatList.C (FloatList): add listName argument to the built-in
12247 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12248 text associated with the float.
12250 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12252 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12254 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12256 * ShareContainer.h: add a couple of missing typenames.
12258 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12260 * lyxrc.C (getDescription): use _() correctly rather than N_().
12262 2002-03-28 Herbert Voss <voss@lyx.org>
12264 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12265 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12267 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12269 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12270 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12272 2002-03-29 Juergen Vigna <jug@sad.it>
12274 * lyxfunc.C (dispatch): add a missing fitCursor call.
12276 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12277 it was scrolled by a cursor move, so return the bool status.
12279 * BufferView.C (fitCursor): return the bool flag also to the outside
12280 world as this is needed.
12282 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12284 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12285 call the edit() as it is not needed (and wrong) IMO.
12286 (workAreaButtonPress): set the screen_first variable before evt.
12287 unlock the inset as this may change screen_first and then we have
12288 a wrong y position for the click!
12290 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12292 * MenuBackend.C (expand): another translation that I missed
12294 2002-03-28 Juergen Vigna <jug@sad.it>
12296 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12298 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12300 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12302 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12304 * MenuBackend.C (expand): fix export/view/update when there is no
12307 2002-03-27 Herbert Voss <voss@lyx.org>
12309 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12312 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12314 * bufferview_funcs.C (currentState): only show paragraph number
12315 for is DEVEL_VERSION is set.
12317 * lyxfunc.C (dispatch): put warning in INFO channel
12319 * MenuBackend.C (expand): translate the name of floats
12321 * FloatList.C (FloatList): mark the float names for translation
12323 * converter.C (convert): use LibScriptSearch
12325 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12327 * MenuBackend.C (defaults): fix default menu (we might as well get
12330 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12332 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12335 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12337 * lyxvc.C: reorder includes.
12339 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12341 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12344 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12346 * CutAndPaste.C: change layouts earlier on paste
12347 to avoid crashing when calling getFont()
12349 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12351 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12354 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12356 * WorkArea.C: remove 'Pending' debug message.
12358 * most files: ws cleanup
12360 * buffer.[Ch]: ws changes
12362 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12364 2002-03-21 Juergen Vigna <jug@sad.it>
12366 * tabular.C (SetMultiColumn): collapse also the contents of the
12367 cells and set the last border right. Added a Buffer const * param.
12369 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12371 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12374 2002-03-19 Juergen Vigna <jug@sad.it>
12376 * text2.C (clearSelection): reset also xsel_cache.
12378 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12379 where it needs to be called (John tells us to do so too :)
12380 (selectionLost): reset sel_cache.
12382 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12384 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12386 * text2.C (setCursorIntern): put debuging code in INSETS channel
12388 2002-03-19 André Pönitz <poenitz@gmx.net>
12390 * lyxfunc.C: tiny whitespace change
12392 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12394 * ToolbarDefaults.C (init):
12395 * LyXAction.C (init):
12397 * BufferView_pimpl.C (Dispatch):
12398 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12400 2002-03-19 Allan Rae <rae@lyx.org>
12402 * exporter.C (Export): removeAutoInsets before doing anything else.
12403 While I've just introduced a dependency on BufferView this really is
12404 the best place to clean the buffer otherwise you need to cleanup in
12405 a dozen places before calling export or cleanup in a dozen functions
12408 * converter.C (runLaTeX):
12409 (scanLog): Better handling of removeAutoInsets and screen updates.
12411 * lyxfunc.C (dispatch): small whitespace changes
12413 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12415 * WorkArea.C (C_WorkAreaEvent): return a value.
12416 (event_cb): return 1 if we handled the event, 0 otherwise.
12418 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12420 2002-03-18 Juergen Vigna <jug@sad.it>
12422 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12423 (GetAdditionalWidth): ditto.
12424 (RightLine): ditto.
12427 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12428 inset if we're there actually (probably not used right now but this
12429 is the direction to go for unifying code).
12430 (paste): disable code to clear the selection.
12432 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12433 inside an InsetText and move the check further up as it is in the
12436 * text2.C (pasteSelection): set a selection over the pasted text.
12438 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12440 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12441 and libgraphics to build on Cygwin.
12443 2002-03-15 Juergen Vigna <jug@sad.it>
12445 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12446 inserting an Inset into the paragraph. I know this is not the best
12447 fix but we already use current_view in CutAndPaste so we will remove
12448 all of it's using at the same time.
12450 * buffer.C (sgmlError): deactivated function till it is rewritten in
12451 the right mode, now it can create problems.
12453 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12454 before accessing it.
12456 2002-03-14 Juergen Vigna <jug@sad.it>
12458 * undo_funcs.C (textHandleUndo): do the right thing when updating
12459 the inset after the undo/redo.
12461 * text2.C (setCursor): just some testcode for #44 not ready yet.
12463 * undo_funcs.C (textHandleUndo): set the next() and previous()
12464 pointers of the paragraph to 0 before deleting otherwise we have
12465 problems with the Paragraph::[destructor].
12467 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12468 on a paragraph insertion.
12470 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12472 * buffer.C (asciiParagraph): use += operator for char append to
12475 * paragraph.C (getFontSettings): compare >= not just >
12476 (highestFontInRange): ditto
12479 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12481 * paragraph.C: change several algorithm to be more appripriate for
12482 the problem domain. This is lookip in FontList and in the InsetList.
12484 2002-03-13 André Pönitz <poenitz@gmx.net>
12487 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12489 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12494 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12496 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * Painter.C (display): anon helper function, adjust code for this
12500 (pixmap): remove function.
12502 * Painter.h: remove private display variable.
12504 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12506 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12508 * WorkArea.[Ch]: remove figinset_canvas cruft.
12510 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * lyxtextclass.C (operator): add one item cache optimization.
12514 * bufferlist.h: doxy changes
12516 * bufferlist.C: ws changes
12518 * DepTable.[Ch] (ext_exist): place const in the right spot.
12520 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12522 (workAreaExpose): call resizeInsets when the with BufferView changes.
12523 (Dispatch): adjust for protectedBlank removal
12524 (specialChar): call updateInset if the insert went ok.
12526 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12527 specialChar instead.
12529 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12531 * BufferView.h: doxy change
12533 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12535 * lyxtextclass.C (operator[]): remove non-const version
12536 (defaultLayout): remove non-const version
12538 2002-03-12 Juergen Vigna <jug@sad.it>
12540 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12541 did resize the LyXText too.
12543 * buffer.C (readLyXformat2): set layout information on newly allocated
12546 * tabular.C (OldFormatRead): set layout information on the paragraph.
12548 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12550 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12552 2002-03-11 Juergen Vigna <jug@sad.it>
12554 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12556 (resizeCurrentBuffer): force also the insets to resize themselfes.
12557 (moveCursorUpdate): fixed up for InsetText.
12559 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12562 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12563 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12564 value of Dialogs::tooltipsEnabled().
12565 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12567 2002-03-08 Juergen Vigna <jug@sad.it>
12569 * BufferView_pimpl.C (updateInset): update inset inside inset also
12570 if it isn't inside theLockingInset().
12572 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12574 * buffer.C (asciiParagraph): redo some of the word and line length
12576 (getLists): look for Caption instead of caption.
12578 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12580 * buffer.C (Buffer): initialize niceFile to true
12582 (makeLinuxDocFile):
12583 (makeDocBookFile): make sure niceFile is true on exit
12585 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12587 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12589 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12591 * LyXSendto.C: remove.
12592 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12593 * lyx_gui.C: remove now-redundant comment.
12594 * ColorHandler.h: remove forward declaration of class WorkArea.
12595 * lyxfunc.C: remove #include "WorkArea.h".
12597 2002-03-07 Juergen Vigna <jug@sad.it>
12599 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12600 got moved away with the DEPM and also set the inset_owner always
12601 right which before could have been omitted.
12603 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12606 wanted layout is not found.
12608 2002-03-07 Juergen Vigna <jug@sad.it>
12610 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12612 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12614 * paragraph.C (breakParagraph): use default layout not layout of
12616 (Paragraph): clear ParagraphParameters.
12618 2002-03-06 Juergen Vigna <jug@sad.it>
12620 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12621 otherwise it would not be a valid lenght. Fixed a special case in
12622 the minipage compatibility read where we end the document with a
12625 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12626 was set as it could be 0 for InsetTexts first entry.
12628 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12630 * paragraph.C (writeFile): if layout is empty write out
12631 defaultLayoutName().
12633 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12634 file without named layout we set layout to defaultLayoutName().
12636 2002-03-06 Juergen Vigna <jug@sad.it>
12638 * CutAndPaste.C (copySelection): set layout for new paragraph.
12640 * text.C (prepareToPrint): leave ERT inset left aligned
12641 (leftMargin): don't indent paragraphs inside ERT insets
12643 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * paragraph.C (breakParagraph): dont call clear do the work manually
12647 * paragraph.[Ch] (clear): remove function
12649 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12651 * paragraph.C (Paragraph): dont call clear, the work has already
12654 * lyxtextclass.C (operator): assert if n is empty
12656 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12657 work manually instead.
12659 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12661 * BufferView_pimpl.C: protect selectionLost against text == 0
12663 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12665 * text.C (breakParagraph): fix a setting layout to '0' problem.
12667 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12669 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12670 final location of file, for the included files, and graphics.
12672 2002-03-05 Juergen Vigna <jug@sad.it>
12674 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12676 2002-03-04 Juergen Vigna <jug@sad.it>
12678 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12680 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12681 last column of multicolumn cells.
12682 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12684 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12686 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12687 file if it doesn't go to a temporary file.
12689 * buffer.C (sgmlOpenTag):
12690 (sgmlCloseTag): remove extra newline insertion.
12692 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12694 * text.C (getRowNearY): comment out debug msg
12696 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12698 * text2.C: first -> first_y
12700 * text.C (getRowNearY): add some attemts at a possible
12701 optimization, not working.
12703 * tabular.[Ch]: add BufferParams to several function so that newly
12704 created paragraph can be initialized to he default layotu for the
12707 * tabular-old.C (ReadOld): add buf->params to call of Init
12709 * screen.C: rename text->first to text->first_y
12711 * paragraph.C (breakParagraph): always set layout in the broken
12714 * lyxtextclass.C (Read): remove lowercase
12717 (delete_layout): ditto
12719 * lyxtext.h: rename first -> first_y
12721 * lyxlayout.C (Read): remove lowercase
12724 (obsoleted_by): ditto
12726 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12728 * buffer.C (insertErtContents): add params are to InsetERT
12729 (parseSingleLyXformat2Token): add code to check if a paragraphs
12730 layout really exist.
12731 (parseSingleLyXformat2Token): add params to several inset
12733 (asciiParagraph): remove lowercase, do the layout comparisons with
12736 * BufferView_pimpl.C (cursorNext): first -> first_y
12737 (resizeCurrentBuffer): first -> first_y
12738 (updateScrollbar): first -> first_y
12739 (scrollCB): first -> first_y
12740 (workAreaMotionNotify): first -> first_y
12741 (workAreaButtonPress): first -> first_y
12742 (checkInsetHit): first -> first_y
12743 (cursorPrevious): first -> first_y
12744 (cursorNext): first -> first_y
12745 (Dispatch): add buffer_->params to severl inset contructors
12747 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12749 * lyxlayout.C (Read): remove some debug info that I forgot.
12751 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12752 clean up the code slightly.
12753 (makeLinuxDocFile): ditto
12754 (makeDocBookFile): ditto
12756 * text2.C: layout as string
12758 * text.C: layout as string
12760 * paragraph_pimpl.C: layout as string
12762 * paragraph.[Ch]: layout as string
12764 * lyxtextclasslist.[Ch]: layout as string
12766 * lyxtextclass.[Ch]: layout as string
12768 * lyxtext.h: layout as string
12770 * lyxlayout.[Ch]: layout as string
12772 * lyx_cb.C: layout as string
12774 * bufferview_funcs.C: layout as string
12776 * bufferparams.C: layout as string
12778 * buffer.C: layout as string
12780 * LyXView.[Ch]: layout as string
12782 * LaTeXFeatures.[Ch]: layout as string
12784 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12786 * BufferView_pimpl.C: change current_layout to string, remove
12791 (workAreaButtonRelease): layout as string
12793 * BufferView2.C (unlockInset): adjust
12795 * vspace.C (asLatexCommand): use an explict temp variable.
12797 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12799 * Makefile.am: use FRONTEND_*
12801 2002-03-01 Juergen Vigna <jug@sad.it>
12803 * tabular.C (SetWidthOfMulticolCell): changed to something better
12804 I hope but still work in progress.
12805 (recalculateMulticolumnsOfColumn): renamed function from
12806 recalculateMulticolCells as it is more appropriate now.
12807 (SetWidthOfCell): calculate multicols better.
12809 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12811 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12813 * lyxfunc.C (processKeySym): print sequence also if it is
12814 `deleted' (complete)
12816 * kbsequence.C (print): print sequence even if it is deleted
12817 (complete would be a better word, actually).
12819 * lyxfunc.C (dispatch): print complete options after a prefix key
12821 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12823 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12825 * text2.C (setCharFont): eliminate setCharFont code duplication.
12827 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12829 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12830 LFUN_TABULAR_FEATURE (bug #177)
12832 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12834 * Makefile.am: remove figure.h
12836 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12838 * Bufferview_pimpl.C:
12850 * text2.C: remove #include "lyx_gui_misc.h".
12852 * LaTeX.C: added #include <cstdio>
12854 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12856 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12857 that the paragraph following this one can have.
12859 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12861 * vspace.C (asLatexCommand): fix bogus gcc warning
12863 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12865 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12867 * text2.C (setLayout): get rid of redundant code
12869 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12871 * text2.C (incDepth): make sure depth cannot be increased beyond
12874 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12876 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12877 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12879 * PainterBase.h (image):
12880 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12881 a LyXImage const *.
12883 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12887 * BufferView_pimpl.C:
12888 * BufferView_pimpl.h:
12908 * sp_spell.C: remove fig inset, and the crap house of
12909 cards that follows it
12911 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12916 * os2_errortable.h:
12917 * nt_defines.h: move .h into support/
12919 * vms_defines.h: remove
12921 * WorkArea.C: add space in debug output
12925 * buffer.C: add WITH_WARNINGS
12929 * bufferlist.C: s/retrive/retrieve/, add docs
12938 * chset.C: add docs
12940 * lyxgui.C: add ID to X error handler
12942 * lyxtestclass.c: fix typo
12944 2002-02-26 Juergen Vigna <jug@sad.it>
12946 * tabular_funcs.C (write_attribute): changed so that some default
12947 attributes are not written at all.
12948 (getTokenValue): set default values before trying to read the
12949 value so we have the return value always set as default if we don't
12950 find the token we search for.
12952 * tabular.C (Write): write bools as bools not as strings!
12954 2002-02-22 Juergen Vigna <jug@sad.it>
12956 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12957 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12959 * text.C (leftMargin): don't add an indent for paragraphs inside
12960 tabular cells (fix #208).
12962 2002-02-21 José Matos <jamatos@fep.up.pt>
12964 * tabular.C (docBook): fixed support for long tables.
12966 2002-02-20 Juergen Vigna <jug@sad.it>
12968 * text2.C (getFont): get the drawing font of the Inset if this
12969 paragraph is inside an inset (only important for InsetERT for now).
12971 * buffer.C (insertErtContents): use new lanugage params in ERT
12974 * CutAndPaste.C: commenting out seemingly uneeded code.
12976 2002-02-19 Allan Rae <rae@lyx.org>
12978 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12979 Iterators might be simple to use but they also get invalidated.
12980 (removeAutoInsets): renamed saved cursor tracking variables and added
12981 some comments to clarify what everything does.
12983 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12990 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12991 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12994 * vc-backend.h: remove #include "support/syscall.h"
12998 * converter.C: rearrange #includes in Lars' approved fashion.
13000 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13001 forward declare class Timeout in the header file.
13003 * XFormsView.C: changes due to the above.
13005 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13006 similar to LyXView.
13008 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13009 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13011 2002-02-18 José Matos <jamatos@fep.up.pt>
13013 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13016 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13018 * a lot of small ws changes
13019 * add a lot of using std::XXX
13020 * use std construcs some places where approp.
13021 * use some exisint stuff from lyxfunctional where approp.
13022 * Make file changes to use partial linking (lets test this now...)
13024 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13028 remove #include "support/syscontr.h" as it's redundant. Always has been.
13036 change Systemcalls::System to Systemcalls::Wait and
13037 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13038 No change of functionality, just reflects the stripped down Systemcalls
13041 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13043 * debug.[Ch]: add a GRAPHICS type to the enum.
13045 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13047 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13049 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13052 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13054 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13055 match the changes below.
13057 * text2.C (toggleInset): if there is not editable inset at cursor
13058 position, try to see if cursor is _inside_ a collapsable inset
13061 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13063 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13064 document menu has a nice checkbox
13066 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13068 * lyxlength.C (asLatexString): change PW to output as percent of
13071 * lengthcommon.C: change '%' to 't%'
13073 * lyxfunc.C (dispatch): a few comments from Martin
13075 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13079 * BufferView_pimpl.h:
13080 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13083 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13085 * vspace.C (inPixels): fix compiler warning
13087 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13089 * lyxfunc.C (getStatus): fix status message for disabled commands.
13091 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13093 * BufferView_pimpl.C: fix crash on close buffer
13094 during selection (#227)
13096 2002-01-27 Herbert Voss <voss@lyx.org>
13098 * buffer.C: link old Figure to new graphic inset
13100 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13102 * FontLoader.C (getFontinfo): Change the latex font names in order
13103 to match the names of type1inst.
13105 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13109 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13110 (extchanged): ditto
13112 (remove_files_with_extension): ditto
13113 (remove_file): ditto
13116 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13117 document is smaller than the work area height. Do not initialize
13118 static variables to 0.
13120 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13122 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13124 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13125 LFUN_LAYOUT_PARAGRAPHS.
13127 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13128 tabular. It is possible to provide a possible cell, which will
13129 typically be the actcell from the corresponding insettabular
13131 * lyxfunc.C (getStatus): small cleanup; disable
13132 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13135 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13137 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13139 * paragraph.C (startTeXParParams):
13140 (endTeXParParams): new methods. The LaTeX code to
13141 start/end paragraph formatting
13142 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13143 empty (fixes bug #200)
13145 * vspace.C (inPixels): adapt to the change below
13146 (inPixels): [later] more cleanups (remove unused variables)
13148 * lyxlength.C (inPixels): change to use a width and a height as
13151 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13153 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13154 Replaced with \paperwidth
13156 * DepTable.C (insert): add std:: qualifier
13158 2002-01-18 Allan Rae <rae@lyx.org>
13160 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13163 * text.C (drawInset): Turned out I didn't know enough about how
13164 rebreaking worked. This fixes most of the redraw problems. I see
13165 an occasional cursor trail when a line is broken now and the cursor
13166 placement can seem out by a few pixels also after a rebreak.
13168 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13170 * buffer.C (parseSingleLyXformat2Token): update because minipage
13171 width is now a LyXLength
13173 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13175 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13178 2002-01-17 Juergen Vigna <jug@sad.it>
13180 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13182 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13183 is set correctly and the inset is updated correctly.
13185 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13187 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13188 the beginning of the loop.
13190 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13192 * lyxrc.C: improve help for use_scalable_fonts
13194 2002-01-17 Allan Rae <rae@lyx.org>
13196 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13198 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13200 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13201 make sure to set their inset_owner to the right value (bug #171)
13203 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13206 * DepTable.C: Implement mtime checking to reduce time spent doing
13209 2002-01-16 Juergen Vigna <jug@sad.it>
13211 * tabular.C (GetAdditionalHeight): one of error fixed.
13213 * lyxrc.C (output): small fix in writing use_pspell.
13215 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13217 * sp_base.h: #include LString.h
13219 2002-01-16 Allan Rae <rae@lyx.org>
13221 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13222 Can someone check this please?
13224 * text.C (drawInset): It was possible that p.row would be removed by
13225 breakAgainOneRow upsetting a few other settings. There may be another
13226 small tweak possible by setting need_break_row = 0 when p.row has been
13227 removed but I don't know enough about the logic here.
13229 2002-01-15 Allan Rae <rae@lyx.org>
13231 * text.C (insertChar): removed conditional truism.
13233 * BufferView2.C (removeAutoInsets): More tweaks.
13234 cur_par_prev could be a stray pointer. Check for trailing empty line
13235 in case last line was cur_par and only had an error inset on it.
13237 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13239 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13242 * vc-backend.C (most methods):
13243 * exporter.C (Export):
13244 * converter.C (convert):
13246 * LyXSendto.C (SendtoApplyCB):
13247 * lyxfunc.C (dispatch):
13251 * lyx_cb.C (AutoSave):
13253 * BufferView_pimpl.C (MenuInsertLyXFile):
13254 * buffer.C (runChktex): use Buffer::filePath().
13256 * buffer.h: rename filename to filename_; rename filepath to
13257 filepath_ and make it private
13258 (filePath): new method
13260 * buffer.C (writeFile): use fileName()
13263 * lyx_main.C (init): fix starting of LyX when the binary is a
13264 link from so,ewhere else.
13266 * minibuffer.C: include <cctype> for isprint
13268 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13270 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13271 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13272 name clash with InsetCollapsable's width function.
13274 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13276 * lastfiles.C: include <iterator>
13278 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13280 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13283 * buffer.C (makeLaTeXFile): ditto.
13284 Also make loop operation more transparent.
13286 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13288 * ToolbarDefaults.C: remove trailing comma closing namespace.
13290 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13292 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13295 * trans.C (Load): comment out unused variable, allowed.
13297 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13299 * minibuffer.[Ch] (append_char): new method to recieve input from the
13300 drop-down completion browser. If a key was pressed, then recieve this
13301 char and append it to the existing string.
13302 (peek_event): modify the positioning data passed to the completion
13303 browser so that it can be placed above the minibuffer rather than below.
13304 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13306 * LyXAction.C (init): alloe error-next for readonly documents.
13308 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13311 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13313 * bufferlist.C (readFile): create the buffer _after_ checking that
13316 * lyxfunc.C (verboseDispatch): fix handling of arguments
13318 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13320 * lyxrc.C: use string::erase() instead of initializing to "".
13323 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13325 * BufferView_pimpl.h:
13326 * BufferView_pimpl.C:
13329 * text2.C: tell X when we have made a selection for copying
13331 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13333 * BufferView_pimpl.C (MenuInsertLyXFile):
13334 * lyxfunc.C (menuNew):
13336 (doImport): add shortcuts to directory buttons
13338 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13341 * lyxfunc.C (setStatusMessage):
13342 (getStatusMessage): new methods
13343 (getStatus):use setStatusMessage instead of setErrorMessage
13344 (dispatch): when function is disabled, set error message here
13345 [instead of in getStatus previously]
13347 * BufferView_pimpl.C (workAreaButtonRelease): update
13348 toolbar/menubar here too.
13350 2002-01-13 Allan Rae <rae@lyx.org>
13352 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13353 Now seems indestructible. Remaining task is to audit all other
13354 code affected by deleteEmptyParagraphMechanism. One small quirk
13355 left is that an empty document with an error in the preamble can
13356 be made to report an error but no error box appears. I don't know
13358 (removeAutoInsets): Improved comments.
13360 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13363 * Thesaurus.C: update for Aiksaurus 0.14
13365 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * text2.C (firstParagraph): removed member function, all uses
13368 replaces with ownerParagraph
13369 (redoParagraphs): here
13370 (updateInset): here
13371 (toggleAppendix): here
13372 * BufferView2.C (insertErrors): here
13373 (setCursorFromRow): here
13375 2002-01-13 Allan Rae <rae@lyx.org>
13377 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13378 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13379 There is still a way to segfault this although you may have to do this
13380 multiple times: Have an InsetERT with an unknown command in it.
13381 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13382 <down-arrow>, <Enter> again, View->DVI, BANG!
13384 * text2.C (setCursor):
13385 (deleteEmptyParagraphMechanism):
13386 * lyxtext.h (setCursor):
13387 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13388 Making use of the return value may help fix other bugs.
13390 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13392 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13394 * LyXView.C (updateMenubar): call MenuBar::update here
13395 (updateToolbar): but not here
13396 (showState): do not update toolbar/menubar
13398 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13399 should need to care about that.
13401 * lyxfunc.C (verboseDispatch): simplify a bit
13402 (getStatus): have a version which takes a pseudoaction, and
13403 another which requires a (kb_action,string).
13405 * LyXAction.C (retrieveActionArg): make it work also when action
13406 is not a pseudo-action.
13407 (getActionName): simplify a bit
13410 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13412 * lyxfunc.C (verboseDispatch): new families of methods with
13413 several ways to specify a command and a bool to indicate whether
13414 the command name and shortcut should be displayed in minibuffer
13415 (eventually, we could extend that to a finer bitmask like
13416 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13417 (dispatch): the pristine dispatch command which just, well,
13418 dispatchs! Note it still sets its result to minibuffer; I'm not
13421 * lyxfunc.h: remove setHintMessage
13423 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13425 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13427 * BufferView_pimpl.C (specialChar): delete new inset if we have
13428 not been able to insert it.
13430 * kbmap.C: revert to using int instead of kb_action, since all we
13431 are dealing with is pseudo-actions.
13433 * LyXAction.C (searchActionArg): change to return int instead of
13434 kb_action, since the result is a pseudoaction.
13436 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13438 * buffer.C (insertErtContents): Fix (partially) the font bug.
13440 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13442 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13443 as the other one is broken on my machine!
13445 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13448 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13450 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13452 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13453 reflect their actual use. Provide compatibility code for older lyxrc
13456 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13458 change names of popup font variables in line with the changes to lyxrc.C
13460 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13462 * buffer.C (asciiParagraph): avoid outputing a word twice after
13465 * lyxrc.C (getDescription): document that document_path and
13466 template_path can be empty.
13468 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13470 * LaTeXFeatures.C (getMacros):
13471 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13473 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13475 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13477 (getPackages): rename feature "floats" to "float". Use an array to
13478 iterate over 'simple' features (i.e. just a \usepackage). Add
13479 handling of "amsmath" (renamed from "amsstyle").
13481 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13483 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13486 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13488 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13489 FuncStaus::FuncStatus & FuncStaus::some_method().
13491 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13493 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13494 of the func_satus stuff. Edited and massaged in various ways by
13497 * lyxfunc.C (getStatus): use FuncStatus
13499 2002-01-08 Juergen Vigna <jug@sad.it>
13501 * text.C (nextBreakPoint): use function Inset::isChar().
13503 * paragraph.C (TeXOnePar): use function
13504 Inset::forceDefaultParagraphs.
13506 * buffer.C (latexParagraphs): use function
13507 Inset::forceDefaultParagraphs.
13509 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13511 * lyx_gui.C (init): set the style of the menu popups to
13512 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13514 2002-01-07 Juergen Vigna <jug@sad.it>
13516 * text.C (setHeightOfRow): small fix
13517 (prepareToPrint): don't look at alignment if we don't have the place
13520 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13522 * box.C: New file. Move the Box methods and functions out of box.h,
13523 following Lars' suggestion.
13525 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13527 * box.h: #include "support/LOstream.h", needed for inlined function.
13530 * lyxtextclasslist.C: added some using std declarations.
13532 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13534 * box.h: make signed dimensions to allow insets wider than
13535 the screen (bug #162)
13537 * BufferView_pimpl.C: add some insetHit debug
13539 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13541 * vc-backend.C: add FIXME
13543 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13545 * lyxfunc.C (getStatus): enable code for showing math font status
13548 2002-01-07 Juergen Vigna <jug@sad.it>
13550 * text.C (nextBreakPoint): removed debug output not needed anymore.
13552 2002-01-06 Juergen Vigna <jug@sad.it>
13554 * text.C (nextBreakPoint): fixed up this function we had this bug
13555 since ever but now hopefully we break row better.
13556 (insertChar): we have to check if an inset is the next char as it
13557 could now happen that a large inset is causing a break.
13559 2002-01-05 Juergen Vigna <jug@sad.it>
13561 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13562 if it doesn't like to be drawed.
13564 2002-01-04 Juergen Vigna <jug@sad.it>
13566 * BufferView2.C (lockInset): forgot to set a cursor.
13568 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13570 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13572 * FormMathsPanel.C:
13575 * form_maths_panel.C:
13576 * form_maths_panel.h:
13577 * form_maths_panel.fd: implemented sub- and super- buttons in math
13580 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13581 (or ^ space) to be used as in TeX (req'd by André).
13583 * lyxfunc.C: Allow ^ and _ again to be used both as
13584 super/subscript (mathed) and as themselves (in text).
13586 2002-01-03 Allan Rae <rae@lyx.org>
13588 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13589 "LyX" or the filename of the current buffer if it has one. This is a
13590 modified form of John Levon's patch.
13592 * XFormsView.C (setWindowTitle): also set icon title.
13594 * LyXView.h (setWindowTitle): signature changed.
13595 * XFormsView.h (setWindowTitle): ditto.
13597 2002-01-02 Juergen Vigna <jug@sad.it>
13599 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13601 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13603 * screen.C (topCursorVisible): introduce a temp var for
13604 text->cursor.row(), handle the case where this row is null. (kindo
13607 * text2.C (setCursor): add a couple of asserts.
13609 * paragraph.h (inset_iterator): add -> operator
13611 * paragraph.[Ch] (autoDeleteInsets): remove member function
13613 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13614 cursor pos correctly and handle inset deletion by itself.
13615 (insertErrors): move iterator declaration out of for expression
13617 * lyxtextclass.C: add <algorithm>
13619 * Makefile.am: added the new files to sources, removed layout.C
13621 * layout.C: removed file
13623 * layout.h: remove LYX_DUMMY_LAYOUT
13625 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13629 * lyxtextclass.[Ch]:
13630 * lyxtextclasslist.[Ch]: new files
13632 * include order changes to a lot of files, also changes because of
13635 2001-12-27 Juergen Vigna <jug@sad.it>
13637 * buffer.C (asciiParagraph): more fixes.
13639 * tabular.C (ascii): make ascii export support export of only the
13640 data separated by a column-delimiter.
13641 (ascii): better support for ascii export.
13643 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13645 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13647 * tabular_funcs.C: use a "using std::getline" instead of the
13648 previous fix from Angus (necessary for cxx + lyxstring)
13650 2001-12-24 Juergen Vigna <jug@sad.it>
13652 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13654 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13655 problems. First check a minipage also if we have some ert-contents
13656 (not only on par->size(), second set the right depth of the paragraph
13657 on the relink to the root-paragraph-list!
13659 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13660 which then did not anymore update the main paragraphs on undo/redo!
13662 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13664 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13665 code. Support all font-changing funcs (even those which are not in
13666 menu currently). Support for reporting font settings in
13667 mathed (disabled until Andre provides a function on mathed's side).
13669 * func_status.h (toggle): small helper function to set toggle
13672 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13674 * tabular_funcs.C: getline -> std::getline
13676 2001-12-21 Juergen Vigna <jug@sad.it>
13678 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13679 accessed and could be 0 (I couldn't generate this but it seems
13682 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13684 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13685 * tabular_funcs.h: here and include iosfwd
13687 2001-12-20 Juergen Vigna <jug@sad.it>
13689 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13690 inside inset but undo_par was.
13692 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13694 * Thesaurus.C: always include <config.h> in sources.
13698 * box.h: do not include <config.h> in header files
13700 * text.C (paintLastRow): remove unused variable
13702 * text.C (transformChar):
13704 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13706 * Painter.C (text):
13707 * font.C (width): rewrite to use uppercase() instead of
13710 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13712 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13714 * lyxfind.C: clean up of find failure position change
13716 2001-12-20 Juergen Vigna <jug@sad.it>
13718 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13720 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13721 (TeXRow): added to LaTeX a single tabular row.
13722 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13723 (Latex): simplified and finally good LT-h/f support.
13724 (various_functions): just small adaptions for LT-h/f support.
13726 * tabular_funcs.[hC]: added and moved here all not classfunctions
13729 2001-12-19 Juergen Vigna <jug@sad.it>
13731 * tabular.[Ch]: better support for longtabular options (not finished
13734 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13736 * text.C (paintLastRow): use the label font instead of the font of
13737 the last character to compute the size of *_BOX. This makes more
13738 sense and avoids a crash with empty paragraphs.
13739 Use Painter::rectangle to draw EMPTY_BOX.
13741 2001-12-19 Juergen Vigna <jug@sad.it>
13743 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13744 the paragraphs if the replaced paragraph is not the first one!
13745 Tried to delete not used paragraphs but does not work yet so for
13746 now it's inside #ifdef's and by default off!
13748 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13750 * MenuBackend.C: include "lyx_main.h" instead of declaring
13751 lastfiles (actually was declared as LastFiles* instead of a
13754 2001-12-17 Juergen Vigna <jug@sad.it>
13756 * tabular.C (AppendColumn): applied John's fix
13758 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13762 * BufferView_pimpl.h:
13763 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13766 * box.h: new start of class for above
13768 * lyxfunc.C: ignore space-only minibuffer dispatches.
13769 Show the command name when it doesn't exist
13771 * minibuffer.C: don't add empty lines to the history
13773 * minibuffer.C: add a space on dropdown completion
13775 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13777 * text.C: fix line above/below drawing in insets
13779 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13781 * lyxlength.C (LyXLength): Initialize private variables.
13783 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13785 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13786 when inserting error insets.
13788 2001-12-13 Juergen Vigna <jug@sad.it>
13790 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13791 actually sometimes the before-paragraph.
13792 (setUndo): don't clear the redostack if we're not actually undoing!
13794 2001-12-06 Juergen Vigna <jug@sad.it>
13796 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13797 and fixed redoing of main paragraph, so we can use it now ;)
13799 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13801 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13803 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13806 2001-12-13 André Pönitz <poenitz@gmx.net>
13809 * undo_func.C: minor cleanup
13811 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13813 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13814 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13815 font in urw-fonts package which is marked as -urw-fontspecific and
13816 does not work (incidentally, changing the encoding in the
13817 fonts.dir of this package to -adobe-fontspecific fixes the
13820 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13821 is a crash when undoing first paragraph (Juergen, please take a
13822 look). THis does not mean the undo fix is wrong, just that it
13825 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13826 the (Paragraph*) version when needed instead of duplicating the
13829 * text.C (workWidth): use Inset::parOwner to find out where the
13830 inset has been inserted. This is a huge performance gain for large
13831 documents with lots of insets. If Inset::parOwner is not set, fall
13832 back on the brute force method
13834 * paragraph_pimpl.C (insertInset):
13835 * paragraph.C (Paragraph):
13836 (cutIntoMinibuffer): set parOwner of insets when
13837 inserting/removing them
13839 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13841 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13847 * mathed/formulabase.C:
13848 * mathed/math_cursor.[Ch]:
13849 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13852 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13854 * lyxlength.[Ch] (operator!=): new function
13856 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13858 * text.C (workWidth): use Inset::parOwner to find out where the
13859 inset has been inserted. This is a huge performance gain for large
13860 documents with lots of insets. If Inset::parOwner is not set, fall
13861 back on the brute force method
13863 * paragraph_pimpl.C (insertInset):
13864 * paragraph.C (Paragraph):
13865 (cutIntoMinibuffer): set parOwner of insets when
13866 inserting/removing them
13868 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13870 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13872 * tabular-old.C (getTokenValue):
13873 * tabular.C (getTokenValue):
13874 (write_attribute): new versions for LyXLength
13875 (everywhere): adjust the use of widths
13877 * tabular.h: change the type of widths from string to LyXLength
13879 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13881 * paragraph.C: fixed missing line number count when exporting
13882 Environments to LaTeX file
13884 * buffer.C: added informational message for checking line numbers.
13886 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13888 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13889 paragraph, do the 'double space' part, but not the 'empty
13892 * text.C (workWidth): small optimization
13893 (getLengthMarkerHeight): use minimal size for negative lengths.
13895 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13897 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13899 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13901 2001-12-11 André Pönitz <poenitz@gmx.net>
13904 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13906 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13908 * text2.C: keep selection on a setFont()
13910 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13912 * lyx_cb.C: another bv->text misuse, from insert label
13914 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13917 * kbsequence.C: re-instate nmodifier mask
13919 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13921 * lyx_main.h: make lyxGUI private.
13923 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13925 * lyxfind.C: place the cursor correctly on failed search
13927 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13929 * text.C (getLengthMarkerHeight): for small heights, the arrows
13930 are not always on top/bottom of the text
13931 (drawLengthMarker): smaller arrows; take the left margin in
13932 account; draw also vfills.
13934 (paintLastRow): remove special code for vfill and standard spaces,
13935 since everything is handled in drawLengthMarker now.
13937 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13939 * buffer.C (insertErtContents): try to handle font and language
13940 interaction a bit better.g
13942 * ColorHandler.C (updateColor): change the hash to cover the whole
13943 LColor enum, ws cleanup
13944 (getGCLinepars): ditto
13945 (getGCLinepars): only lookup in the linecache once.
13947 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13949 * iterators.C (operator++): Make the iterator more robust
13951 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13953 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13955 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13958 * text.C: better added space drawing
13960 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13963 * BufferView2.C: fix layout combo update on inset unlock
13965 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13967 * Makefile.am: don't compile unused files
13969 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13973 * LyXAction.C: remove old LFUN_LAYOUTNO
13975 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13977 * paragraph_pimpl.h:
13978 * paragraph_pimpl.C: isTextAt() doesn't need font param
13980 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13983 * lyxlex.C: little cleanup
13985 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13987 * BufferView_pimpl.C: fix insertAscii for insets
13989 2001-12-05 Juergen Vigna <jug@sad.it>
13991 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13992 set the right font on the "multi" paragraph paste!
13994 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14000 * lyxlength.C: remove out-commented code.
14002 * BufferView_pimpl:
14016 * vc-backend.C: change "while(" to "while ("
14018 * lyxlength.[Ch]: add zero function to check if length is zero or
14020 * lyxgluelength.C: use it
14022 2001-12-05 Allan Rae <rae@lyx.org>
14024 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14025 Works for 2.95.3, from what I understand of Garst's reports this should
14026 work for other g++ versions. We're screwed if the abs(int) definition
14027 changed between bugfix releases of gcc.
14029 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14031 * text.C: fix chapter label offset !
14033 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14036 * text.C: fix hfill at end of line, clean up
14038 2001-12-04 Juergen Vigna <jug@sad.it>
14040 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14041 that we force an update of the inset and it's owners if neccessary.
14043 2001-12-03 Juergen Vigna <jug@sad.it>
14045 * text.C (rowLast): simplified code
14047 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14049 * lyxfunc.C: fix show options on timeout
14051 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14053 * screen.C (topCursorVisible): scroll half a page when the cursor
14054 reached top of bottom of screen
14056 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14058 * minibuffer.C: deactivate on loss of focus
14060 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14062 * vspace.[Ch] (operator!=): add operator.
14064 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14066 * BufferView_pimpl.C: refuse to open an inset when
14067 there's a selection.
14069 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14071 * BufferView_pimpl.C: allow to click on RHS of full row insets
14073 2001-11-30 Juergen Vigna <jug@sad.it>
14075 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14076 insets for undo reasons.
14078 2001-11-28 André Pönitz <poenitz@gmx.net>
14080 * vspace.[Ch]: cosmetical changes
14082 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14092 * kbsequence.C: part re-write of old kb code
14095 * WorkArea.C: remove Lgb_bug_find_hack
14097 2001-11-30 José Matos <jamatos@fep.up.pt>
14099 * buffer.C (makeDocBookFile): add a comment to point a hack.
14100 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14101 Fixed a double write of labels.
14103 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14106 * LaTeX.h Fixed bug in LaTeX class where it would not
14107 re-run latex if no depfiles were changed, but the .dvi was removed.
14109 2001-11-28 André Pönitz <poenitz@gmx.net>
14111 * all the files from the change on 2001/11/26:
14112 use lyx::layout_type instead of LyXTextClass::size_type
14113 use lyx::textclass_type instead of LyXTextClassList::size_type
14115 2001-11-29 Juergen Vigna <jug@sad.it>
14117 * text.C: added support for paragraph::isFreeSpacing()
14119 * buffer.C: same as above
14121 * paragraph.h: inserted isFreeSpacing() function to enable
14122 FreeSpacing inside InsetERT.
14124 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14125 of the paragraph's in the cut/copy buffer to 0!
14127 * text2.C (removeRow): remove the assert as it can!
14129 * lyxtext.h: added helper function firstRow returning firstrow and
14130 made firstrow private again.
14132 * BufferView2.C (lockInset): don't relock if we're already locked!
14134 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14135 the only paragraph.
14136 (removeRow): added Assert::(firstrow)
14138 * debug.C: forgot to add INSETTEXT here.
14140 2001-11-28 Juergen Vigna <jug@sad.it>
14142 * sp_spell.C (initialize): changed error text to more general
14143 spellchecker command use (not only ispell!)
14145 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14147 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14149 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14151 * vspace.C: initialise lyxgluelength on failure
14153 2001-11-28 Allan Rae <rae@lyx.org>
14155 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14156 declaration & definition that looks like a function declaration.
14158 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14160 * BufferView2.C (copy):
14161 (copyEnvironment): do not clear the selection when doing a copy.
14163 * text.C (paintFirstRow): compilation fix
14165 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14167 * tabular.C (Latex): correct line count when writing latex.
14169 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14171 * paragraph_pimpl.h:
14172 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14175 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14179 * LColor.C: change vfillline->added_space
14181 * text.C: add markers and text for added space
14183 * vspace.C: fix comment
14185 2001-11-28 André Pönitz <poenitz@gmx.net>
14187 * paragraph.C: whitespace changes
14188 * all the other files from the change on 2001/11/26:
14189 change *::pos_type into lyx::pos_type
14191 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14193 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14194 language of the document when inserting error insets.
14196 2001-11-26 André Pönitz <poenitz@gmx.net>
14198 * BufferView_pimpl.[Ch]:
14206 * paragraph_pimpl.[Ch]:
14209 * text2.C: reduce header dependencies, introduce type for positions
14211 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14213 * <various>: change to use Alert.h
14215 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14217 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14218 when encountering an unknown token.
14219 (readLyXformat2): Show an error message if there were unknown tokens.
14221 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14224 * BufferView_pimpl.C:
14228 * text2.C: use par->isInset()
14230 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14232 * paragraph_pimpl.h:
14233 * paragraph_pimpl.C: cleanup
14235 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14237 * text2.C (removeRow):
14238 * text.C (setHeightOfRow): remove useless (and costly) call to
14241 2001-11-20 Allan Rae <rae@lyx.org>
14243 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14244 Now need Inset*::checkInsertChar() to return true for appropriate
14245 cases so that the characters in the minibuffer will actually be
14248 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14250 * text.C: change the order of the includes.
14251 (workWidth): initialize it at once.
14252 (workWidth): make maxw unsigned
14253 (setHeightOfRow): remove unused variable (inset)
14254 (selectSelectedWord): remove unused variable (inset)
14255 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14257 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14259 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14260 server is not running.
14262 (closeConnection): add debug info when server is disabled.
14264 * ColorHandler.C (getGCForeground): send debug message to GUI
14267 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14269 * kbmap.C (bind): modify because return conventions of
14270 kb_sequence::parse have changed.
14272 * kbsequence.C (parse): only ignore spaces and not any stupid
14273 control character. This avoids tests like s[i] <= ' ', which are
14274 guaranteed to fail with 8bit characters and signed chars.
14275 Change return code to string::npos when there have been no error
14276 (0 was a bad idea when error is at first character)
14278 2001-11-14 José Matos <jamatos@fep.up.pt>
14281 * buffer.C (simpleDocBookOnePar): removed unused argument.
14283 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14285 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14286 insets which are part of a word. Paragraph::isLetter takes care of
14287 that now. Use Paragraph::isInset to identify insets.
14288 (selectSelectedWord): do not test for hyphenation break.
14290 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14291 that protected spaces are considered as spaces.
14293 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14296 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14299 * lyxserver.C: fix it. and small cleanup.
14301 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14303 * BufferView_pimpl.C: use inline helpers
14306 * LaTeXFeatures.C: fix typos
14309 * Spacing.C: move spacing_string into class
14311 * ToolbarDefaults.C: move stuff into namespace anon
14313 * layout.h: update enum
14315 * lyxfunc.C: use better debug
14317 * minibuffer.h: fix typo
14321 * WorkArea.C: add and use Debug::WORKAREA
14325 * text2.C: code re-organisation, inline helpers
14327 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14329 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14330 std::vector.empty().
14332 2001-11-09 Allan Rae <rae@lyx.org>
14334 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14335 '\n's after tables. Tabular and ERT inset work now makes this no
14338 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14341 * minibuffer.C: fix crash, improve drop-down completion
14343 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14346 * lyxserver.C: invalidate fd's when doing endPipe()
14348 2001-11-08 José Matos <jamatos@fep.up.pt>
14350 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14351 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14354 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14356 2001-11-07 José Matos <jamatos@fep.up.pt>
14359 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14362 * buffer.C (sgmlOpenTag):
14363 * buffer.C (sgmlCloseTag): removed debug info.
14365 * buffer.h (sgmlOpenTag):
14366 * buffer.h (sgmlCloseTag): made public.
14368 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14370 * buffer.C (saveParamsAsDefaults):
14371 * lyx_cb.C (MenuLayoutSave): remove
14373 * LyXAction.C (init):
14375 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14377 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14379 * buffer.C (setPaperStuff): removed from here...
14381 * bufferparams.C (setPaperStuff): ... and moved there.
14383 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14387 * XFormsView.C: add support for drop-down completion
14389 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14391 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14394 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14396 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14399 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14401 * lyx_main.C: change ref to known bugs
14403 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14405 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14406 to work around older babel problems.
14408 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14410 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14412 2001-10-24 Juergen Vigna <jug@sad.it>
14414 * tabular-old.C (ReadOld): below variable changes reflected.
14416 * tabular.[Ch]: added ltType struct for longtable header/footer
14417 defines and changed all instances where they are used. Added
14418 future support for double top/bottom rows.
14420 2001-10-24 José Matos <jamatos@fep.up.pt>
14422 * buffer.h (docbookHandleCaption):
14423 * buffer.C (docbookHandleCaption): removed unused function.
14424 (makeDocBookFile): moved docbook supported version to v4.1.
14426 2001-10-24 José Matos <jamatos@fep.up.pt>
14429 * tabular.C (docbookRow): new function to export docbook code of a row.
14430 (DocBook): now honors the longtable flags.
14432 2001-10-23 José Matos <jamatos@fep.up.pt>
14435 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14436 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14438 * buffer.C (makeLinuxDocFile):
14439 (makeDocBookFile): reworked the preamble, more clean, and with
14440 support for lyx defined entities. Changed the document declaration
14441 to be more XML friendly.
14443 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14444 if we need to output XML that should be done with a filter.
14446 2001-10-22 Juergen Vigna <jug@sad.it>
14448 * sp_pspell.h (class PSpell): add alive function needed in the
14449 controller to see if the spellchecker could be started.
14451 2001-10-22 Juergen Vigna <jug@sad.it>
14453 * buffer.C (insertStringAsLines): modify the font for inserting
14454 chars in certain conditions by calling checkInsertChar(font).
14456 2001-10-19 Juergen Vigna <jug@sad.it>
14458 * text.C (workWidth): use getRow instead of wrong algorithm.
14459 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14461 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14466 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14468 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14470 * text.C (workWidth): do not search for the exact row when
14471 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14472 optimization for big documents.
14474 2001-10-18 Juergen Vigna <jug@sad.it>
14476 * text.C (workWidth): new function with added Inset * parameter.
14478 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14480 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14482 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14483 change return type of getColumnNearX.
14486 * text.C (changeRegionCase): use uppercase/lowercase instead of
14489 (rightMargin): simplify code by factoring out the uses of
14494 (appendParagraph): use Paragraph::size_type
14496 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14498 * vspace.C (asLatexString): add a missing break
14500 2001-10-15 Herbert Voss <voss@perce.de>
14502 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14504 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14506 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14509 2001-10-10 André Pönitz <poenitz@gmx.net>
14511 * lyxfunc.C: removed greek_kb_flag.
14513 2001-10-10 Herbert Voss <voss@perce.de>
14515 * lyx_main.C: delete global string help_lyxdir.
14517 2001-10-09 Herbert Voss <voss@perce.de>
14519 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14521 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14523 * lyx_main.C: added global string help_lyxdir.
14525 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14527 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14529 * lyxrc.C (set_font_norm_type): support iso8859-4
14531 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14533 * LaTeX.C (deplog): add another regex for MikTeX
14535 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14537 * lyxrc.C (set_font_norm_type): support iso8859-3
14539 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14541 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14543 * LaTeXFeatures.C: remove special case of french and index
14545 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14546 before \begin{document}). This solves several incompatibilities.
14548 2001-10-03 Garst Reese <reese@isn.net>
14550 * lyx_cb.C: change CheckTex error msg.
14552 2001-10-03 José Matos <jamatos@fep.up.pt>
14554 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14556 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14558 * .cvsignore: update
14560 * lyx_main.C (commandLineVersionInfo): use new style version info.
14562 * buffer.C (writeFile):
14564 (makeLinuxDocFile):
14565 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14567 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14569 * version.h: update to use stuff in version.C
14571 * version.C.in: new file. Contains version information determined
14572 at compile time. This is a merging of version.h and
14575 2001-10-03 Juergen Vigna <jug@sad.it>
14577 * BufferView_pimpl.C (update): don't change "dirty" status in
14580 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14582 * WorkArea.C (c-tor): re-position version string slightly.
14584 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14586 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14587 revert to previous code.
14589 WorkArea.[Ch]: (show, destroySplash): methods removed.
14591 WorkArea.C: rework code so that it's an amalgam of the codes before and
14592 after the splash screen was moved to WorkArea.
14594 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14597 * vspace.C (inPixels):
14600 * buffer.C (insertStringAsLines):
14601 (asciiParagraph): fix types to be large enough
14603 * lyxlex_pimpl.h: change member status from short to int
14605 * layout.h: fix type of endlabeltype
14608 * kbsequence.C (parse): change return type to string::size_type
14610 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14613 * Bullet.C (bulletSize):
14614 (bulletEntry): do not use short ints as parameters
14616 * BufferView2.C (insertLyXFile): change a char to an int.
14618 * WorkArea.C (WorkArea): remove unneeded floats in computation
14620 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14622 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14624 * paragraph.C (asString): Do not ignore newline/hfill chars when
14625 copying to the clipboard.
14627 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14629 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14630 after a multi-line inset.
14632 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14634 * paragraph.C (validate): Set NeedLyXFootnoteCode
14636 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14638 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14639 and decrease-error to decrease.
14641 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14643 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14644 it more readable (should be equivalent)
14646 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14648 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14650 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14652 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14653 of a cursor (row, etc.) after a character has been deleted
14654 (deleteEmptyParagraphMechanism): call the method above on _all_
14655 cursors held by the LyXText when a double space has been
14658 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14660 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14662 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14664 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14665 background. Use greyOut() and the new show() methods to toggle between
14666 the foreground and background. Add code to remove the splash after
14667 its initial showing.
14669 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14670 (create_forms): no longer call Dialogs::showSplash.
14672 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14674 * .cvsignore: add version_info.h
14676 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14678 * version_info.h.in: new file
14680 * Makefile.am: add version_info.h.in
14682 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14683 version_info.h instead of VERSION_INFO
14685 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14687 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14688 The ERT inset now returns string().
14690 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14692 * lyxtext.h, text.C (selectNextWord): renamed as
14693 selectNextWordToSpellcheck.
14695 * text.C (selectNextWordToSpellcheck): Modified to not select
14696 words inside an ERT inset.
14698 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14700 * lyx_cb.C (MenuLayoutSave): change a bit the question
14702 * sp_base.h: include <sys/types.h>
14704 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14706 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14708 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14710 * several files: fix typos in user-visible strings
14712 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14714 * text2.C (pasteSelection): do not set the selection, since it
14715 will be cleared later. Actually, the intent was to fix the way the
14716 selection was set, but I figured rmoving the code was just as good.
14718 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14720 * FontLoader.C (available): Check if font is available without
14723 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14725 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14727 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14729 * lyxrc.[Ch]: added display_graphics variable and associated code.
14731 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14733 * bufferparams.C (hasClassDefaults): new method. Returns true if
14734 the buffer parameters correspond to known class defaults
14736 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14738 * XFormsView.C (show): set minimum size to the main window.
14740 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14742 * text2.C (copySelection):
14744 * lyxfind.C (LyXReplace):
14745 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14746 LyXText::selectionAsString.
14748 * paragraph.C (asString): add "label" argument to the second form
14750 * text2.C (selectionAsString): add "label" argument and pass it to
14751 Paragraph::asString.
14753 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14755 * lyx_main.C (commandLineHelp): remove version information
14757 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14759 * lyx_main.C: add -version commandline option
14761 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14763 * paragraph.h: make the optional constructor arg required instead.
14764 some modifications to other files because of this.
14766 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14768 * lyxserver.C (C_LyXComm_callback): make it static
14770 * lyx_main.C (error_handler): make it static
14772 * lyx_gui.C (LyX_XErrHandler): make it static
14774 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14776 * WorkArea.C: make the extern "C" methods static.
14778 * Makefile.am (lyx_LDADD): simplify
14780 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14782 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14783 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14785 * LyXAction.C (init):
14786 * lyxfunc.C (dispatch): associated code removal.
14788 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * lyxfont.h (isSymbolFont): shut off warning
14792 * text.C (setHeightOfRow):
14793 (getVisibleRow): fix crash with empty paragraphs which have a
14796 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14798 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14801 2001-09-04 José Matos <jamatos@fep.up.pt>
14804 * tabular.C (docbook): rename docBook method to docbook.
14806 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14808 * Makefile.am: add dependencies to main.o.
14810 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14812 * FontLoader.C (available): Return false if !lyxrc.use_gui
14814 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14816 * FontInfo.C (query):
14817 * converter.C (view):
14818 * importer.C (Import):
14819 * exporter.C (Export): Can not -> cannot.
14821 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14823 * BufferView_pimpl.C: allow to create index inset even if
14826 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14828 * buffer.C (getLists): replace boost::tie code with an explicit pair
14829 as boost::tie can break some compilers.
14831 * iterators.h: Added a std:: declaration to the return type of
14834 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14836 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14839 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14841 * iterators.[Ch]: New files. Provide paragraph iterators.
14843 * buffer.C (changeLanguage): Use paragraph iterators.
14844 (isMultiLingual): ditto
14846 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14848 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14850 * FontLoader.C: Support for cmr font.
14852 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14854 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14855 (available): New method.
14857 * FontInfo.C (getFontname): Use scalable fonts even when
14858 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14861 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14863 * converter.C (Formats::view): reverted! Incorrect fix.
14865 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14867 * converter.C (Formats::view): only output the -paper option
14868 if the dvi viewer is xdvi, thereby fixing bug #233429.
14870 2001-08-23 Herbert Voss <voss@perce>
14872 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14874 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14876 * Spacing.h (Spacing): Set space to Default on in the default
14879 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14881 * vc-backend.h (RCS::versionString): add RCS to version
14882 (CVS::versionString): add CVS to version
14884 * vc-backend.C (scanMaster): do not add CVS to version.
14885 (scanMaster): do not add RCS to version
14887 * lyxvc.C (versionString): new method
14889 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14891 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14893 * Spacing.C (set): initialize fval
14895 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14897 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14900 2001-08-16 Juergen Vigna <jug@sad.it>
14902 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14904 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14906 * BufferView_pimpl.C:
14909 * text2.C: setParagraph takes linespacing now
14911 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14913 * LyxAction.C: add internal LFUN_CITATION_INSERT
14915 * LyXView.C: actually apply fix
14917 * bufferlist.C: fix open non-existent file
14919 * lyxfind.C: fix indentation
14921 * lyxfunc.C: remove unneeded assert, fix typo
14923 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14925 * MenuBackend.C: use "Floatname List"
14927 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14929 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14930 when converting LaTeX layout to insetERT.
14931 Generate a non-collapsed float when reading old float
14933 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14935 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14938 2001-08-13 Juergen Vigna <jug@sad.it>
14940 * text.C (fill): return 0 instead of 20 as this seems to be the more
14943 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14945 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14948 2001-08-13 Juergen Vigna <jug@sad.it>
14950 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14952 (SearchBackward): comment out the unlocking of the inset_owner this
14953 should not be needed!
14955 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14957 * Many files: Remove inherit_language, and add latex_language
14959 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14960 collapsible insets.
14962 2001-08-10 Juergen Vigna <jug@sad.it>
14964 * text.C (prepareToPrint): fixed hfill-width in draw!
14966 * BufferView2.C (selectLastWord): save the selection cursor as this
14967 now is cleared in the function LyXText::clearSelection!
14969 2001-08-08 Juergen Vigna <jug@sad.it>
14971 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14972 BACKSPACE type functions.
14974 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14975 is only cutted from the document but not put in the cut-buffer, where
14976 still the old stuff should be.
14978 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14980 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14982 * tabular.C (SetWidthOfCell): fixed special case where the width
14984 (LeftLine): handle '|' in align_special.
14986 (LeftAlreadyDrawed): ditto
14987 (SetWidthOfCell): ditto
14989 2001-08-07 Juergen Vigna <jug@sad.it>
14991 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14993 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14995 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14996 * lyxlex.[hC]: ditto
14998 2001-08-06 Juergen Vigna <jug@sad.it>
15000 * text.C (getVisibleRow): fix up row clearing a bit.
15002 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15004 * minibuffer.C: make sure the X server sees the changes in the input.
15006 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15008 * paragraph.C (getFont): split into...
15009 (getLabelFont): this
15010 (getLayoutFont): and this
15011 * paragraph_pimpl.C (realizeFont): calling this
15013 * text2.C (getFont): split into...
15014 (getLayoutFont): this
15015 (getLabelFont): and this
15016 (realizeFont): all three calling this
15018 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15021 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15023 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15025 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15027 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15028 layouts from the Quote inset insertion.
15030 2001-08-03 Juergen Vigna <jug@sad.it>
15032 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15034 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15035 only if status not is already CHANGED_IN_DRAW (second level).
15037 * text.C (draw): don't set the need_break_row when inside an
15040 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15042 * buffer.C (parseSingleLyXformat2Token): handle more latex
15045 * bufferview_funcs.[hC]: change function names to
15046 begin with small char, adjust other files.
15048 2001-08-02 André Pönitz <poenitz@gmx.net>
15051 BufferView_pimpl.C: remove broken special code for math-greek
15053 2001-08-02 Juergen Vigna <jug@sad.it>
15055 * BufferView_pimpl.C (update): redone this function so that we
15056 update the text again if there was a CHANGE_IN_DRAW.
15058 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15059 (drawFromTo): added a new internal bool which is used by draw() and
15061 (general): some cursor drawing problems fixed.
15063 2001-08-01 Juergen Vigna <jug@sad.it>
15065 * lyxfind.C (LyXFind): fixed
15066 (SearchForward): ditto
15067 (SearchBackward): ditto
15069 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15070 spurius drawing of the cursor in the main area.
15072 * text2.C (status): small fix which could lead to a segfault!
15073 (clearSelection): remove unneeded BufferView param.
15075 2001-08-01 André Pönitz <poenitz@gmx.net>
15077 * lyxfunc.C: small change due to changed mathed interface
15079 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15081 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15083 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15085 * lyxfunc.c: fail gracefully if file doesn't exist
15090 * BufferView_pimpl.C: IsDirWriteable() proto changed
15092 * LyXView.C: fix updateWindowTitle() to store the last title
15094 2001-07-31 Juergen Vigna <jug@sad.it>
15096 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15097 the font (wrong since using of Paragraph::highestFontInRange).
15099 * paragraph.C (highestFontInRange): added a default_size parameter.
15101 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15102 (setHeightOfRow): reformat
15104 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15106 * converter.[hC] + affected files: move to (inital-char)lowercase
15109 * ParagraphParameters.C (ParagraphParameters): remove commented code
15111 * PainterBase.[Ch]: remove commented code
15113 * LaTeXFeatures.h: add "bool floats" for float.sty
15115 * LaTeXFeatures.C (LaTeXFeatures): init floats
15116 (require): handle float
15117 (getPackages): do it with floats
15119 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15121 * BufferView_pimpl.C (Dispatch): improve handling of
15122 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15124 * commandtags.h: #include lyxfont.h here temporarily to avoid
15127 * bufferlist.h: include LString.h here.
15129 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15131 * text2.C (getStringToIndex): new method.
15133 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15135 * *: Reduced header file dependencies all over.
15137 2001-07-30 Baruch Even <baruch@lyx.org>
15139 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15141 2001-07-29 Baruch Even <baruch@lyx.org>
15143 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15145 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15147 * ParameterStruct.h (endif): add a default constructor to make
15148 sure that all variables is initialized.
15150 * ParagraphParameters.C (ParagraphParameters): adjust
15152 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15155 index; also, check that there is something to index, and that it
15156 does not span over several paragraphs.
15157 (doubleClick): use WHOLE_WORD_STRICT for double click.
15159 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15161 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15164 2001-07-26 Baruch Even <baruch@lyx.org>
15166 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15167 an InsetFig figure, backwards compatible reading of old figure code.
15169 2001-07-27 Juergen Vigna <jug@sad.it>
15171 * text2.C: font.realize function adaption.
15173 * text.C (draw): add a warnings lyxerr text if needed.
15175 * layout.C: font.realize function adaption.
15177 * language.C: add inherit_language and implement it's handlings
15179 * bufferview_funcs.C (StyleReset): remove language parameter from
15180 font creation (should be language_inherit now).
15182 * bufferparams.C (writeFile): handle ignore_language.
15184 * paragraph.C (getFontSettings): the language has to be resolved
15185 otherwise we have problems in LyXFont!
15187 * lyxfont.C (lyxWriteChanges): added document_language parameter
15188 (update): removed unneeded language parameter
15190 * paragraph.C (validate): fixed wrong output of color-package when
15191 using interface colors for certain fonts in certain environments,
15192 which should not seen as that on the final output.
15194 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15196 * BufferView_pimpl.C:
15201 * LyXAction.C: add thesaurus support
15204 * lyxfind.C: add "once" parameter, for thesaurus, to not
15205 move to the next match
15207 2001-07-26 Juergen Vigna <jug@sad.it>
15209 * lyxfont.C (realize): honor ignore_language too!
15212 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15214 * text.C (draw): one place more for ignore_language to not draw
15217 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15219 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15221 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15223 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15224 the minipage conversion problem.
15226 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15228 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15231 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15233 * BufferView.h: don't forward declare WorkArea
15235 * BufferView.C: don't include WorkArea.h
15237 2001-07-25 André Pönitz <poenitz@gmx.net>
15241 * lyxfunc.C: new LFUN 'math-space'
15243 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15245 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * text2.C (toggleInset): call open/close
15249 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15251 * lyxfunc.C (dispatch): add debug for the disabled case
15253 * font.C (buttonText): make similar to rectText
15255 * buffer.C (readInset): comment out parsing of insetlist and
15258 * PainterBase.C (rectText): small correction
15260 * BufferView_pimpl.C: comment out insettheorem and insetlist
15261 * LyXAction.C: ditto
15262 * commandtags.h: ditto
15264 2001-07-24 Juergen Vigna <jug@sad.it>
15266 * text.C (draw): honor the ignore_language.
15268 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15270 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15272 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15275 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15277 * lyxtext.h: remove unused (and unimplemented) methods
15279 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15281 * text.C (getVisibleRow): honor background color
15284 * Painter.h: remove default color argument for fillRectangle
15286 * text.C (backgroundColor): new method
15288 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15290 * text.C (getVisibleRow): adjust
15292 * font.[Ch] (rectText): new method, metrics
15293 (buttonText): new method, metrics
15295 * PainterBase.[hC]: make rectText and buttonText always draw and take
15298 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15300 * ToolbarDefaults.C (read):
15301 * MenuBackend.C (read): allow escaping in all strings
15303 * BufferView_pimpl.C (insertAndEditInset): new method.
15304 (Dispatch): use insertAndEditInset whenever appropriate.
15306 * BufferView_pimpl.C (insertNote): removed
15308 * BufferView_pimpl.C (smartQuote): new method, moved from
15309 BufferView; if an insetquote cannot be inserted, insert a '"'
15312 * BufferView2.C: remove insertCorrectQuote();
15314 * lyxfunc.C (getStatus): Add support for all remaingin
15315 inset-insert lfuns.
15317 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15319 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15320 command (necessary to pass " as parameter of self-insert.
15322 * text.C (selectWordWhenUnderCursor):
15323 (selectWord): add word_location parameter
15324 (selectWordWhenUnderCursor): same + remove special code for word
15326 (selectNextWord): use kind() to guess type of insetspecialchar,
15329 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15330 (insertErtContents): create ert insets as collapsed.
15331 (readInset): better compatibility code for Info inset.
15333 2001-07-20 Juergen Vigna <jug@sad.it>
15335 * lyxfunc.C (dispatch): use always LyXFind now!
15337 * text2.C (init): add a reinit flag so that the LyXText can be
15338 reinited instead of deleted and reallocated (used in InsetText).
15340 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15346 2001-07-18 Juergen Vigna <jug@sad.it>
15348 * text.C (selectNextWord): handle insets inside inset by calling
15349 always the bv->text functions so that we can go up the_locking_inset!
15351 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15352 in strange locations when inside an inset!
15354 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15355 handling to include insets.
15357 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15359 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15361 * LyXAction.C (init):
15363 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15364 LIGATURE_BREAK, since the name is so stupid.
15366 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15368 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15371 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15373 * sp_form.[Ch]: remove.
15375 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15377 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15380 * src/buffer.C (readInset): ditto.
15382 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15384 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15385 menuSeparator(), endOfSentenceDot(), ldots() and
15386 hyphenationPoint(), which are therefore removed.
15387 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15389 * LyXAction.C (init):
15390 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15392 * paragraph.C (getWord): removed.
15394 * BufferView_pimpl.C (Dispatch): use last word or selection for
15395 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15397 * lyx_main.C (queryUserLyXDir): do not ask before creating
15398 user_dir, except if it has been named explicitely.
15400 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15402 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15403 a document of zero size.
15405 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15407 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15408 approriately in the c-tor and in require().
15409 (getPackages): output the appropriate LaTeX for natbib support.
15411 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15412 variables "use_natbib" and "use_numerical_citations" when reading the
15414 (readInset): read the various natbib cite commands.
15415 (validate): white-space change.
15417 * bufferparams.[Ch]: new variables "bool use_natbib" and
15418 "bool use_numerical_citations".
15419 (writeFile): output them in the LyX file.
15421 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15423 * lyxfunc.C (getStatus): add support for all the inset insertion
15426 * text2.C (insertInset):
15427 * paragraph.C (insetAllowed):
15428 * BufferView_pimpl.C (insertInset): update to take in account the
15429 renaming of insertInsetAllowed
15431 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15433 * text2.C (getInset): new method. returns inset at cursor position.
15435 * BufferView_pimpl.C (Dispatch): changes because of this.
15437 * LyXAction.C (init): rename open-stuff to inset-toggle.
15439 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15441 * text2.C (toggleInset): renamed from openStuff; use
15444 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15446 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15448 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15450 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15452 * buffer.C (readLyXformat2): Add filename to the error dialog
15454 2001-07-18 Juergen Vigna <jug@sad.it>
15456 * tabular.C (GetCellNumber): put an assert here instead of the check!
15458 2001-07-17 Juergen Vigna <jug@sad.it>
15460 * BufferView_pimpl.C (toggleSelection): adapted too.
15462 * text.C (selectNextWord): adapted for use with insets.
15463 (selectSelectedWord): ditto
15465 2001-07-17 Juergen Vigna <jug@sad.it>
15467 * sp_spell.C (PSpell): fix initialitation order.
15469 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15471 * paragraph.C: spacing
15473 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15475 * sp_spell.C: repair language selection for pspell
15477 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15479 * lyxfunc.h: change more methods to begin with lower char.
15481 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15483 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15484 for unknown layouts.
15486 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15488 * buffer.C (readLyXformat2): Generate an error dialog if there are
15491 2001-07-16 Juergen Vigna <jug@sad.it>
15493 * sp_spell.C: always compile ISpell part.
15495 * lyxrc.C: added use_pspell entry and it's handling.
15497 2001-07-13 Juergen Vigna <jug@sad.it>
15499 * sp_spell.C: removed double includes.
15501 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15503 Consistent use of Lsstream.h:
15504 * Lsstream.h: added using std::stringstream for consistencies sake.
15506 * buffer.C: removed using std::stringstream
15508 * lyxfont.C (stateText):
15509 * paragraph.C (asString):
15510 * text.C (selectNextWord, selectSelectedWord):
15511 * text2.C (setCounter):
15512 * vspace.C (asString, asLatexString):
15513 std::ostringstream -> ostringstream.
15515 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15517 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15518 * commandtags.h: add LFUN_HELP_ABOUTLYX
15519 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15521 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15523 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15525 * lyx_gui_misc.C: remove spellchecker
15526 * lyxfunc.C: showSpellchecker
15528 * sp_ispell.h: added
15529 * sp_pspell.h: added
15530 * sp_spell.C: added
15531 * sp_form.[Ch]: removed
15532 * spellchecker.[Ch]: removed
15534 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15536 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15538 (simpleTeXSpecialChars): Simply print the input character without
15539 any special translation if pass_thru is set.
15541 * layout.h: Added bool pass_thru to layout class for being able to
15542 implement pass through of a paragraph for Literate Programming.
15544 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15545 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15546 * layout.C (Read): add "passthru" to list of layout tags and add
15547 code to set the pass_thru boolean when it is read.
15549 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15551 * trans_decl.h: remove allowed from KmodInfo
15553 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15554 remove allowed code
15557 * paragraph_pimpl.C (erase): use boost::prior
15559 * Painter.C (text): use data() instead of c_str() when length is
15561 * WorkArea.C (putClipboard): ditto
15562 * font.h (width): ditto
15564 * BufferView2.C: use it-> instead of (*it). for iterators
15566 * paragraph_pimpl.C: ditto
15567 * paragraph.C: ditto
15568 * minibuffer.C: ditto
15569 * language.C: ditto
15571 * encoding.C: ditto
15572 * counters.C: ditto
15573 * converter.C: ditto
15575 * Variables.C: ditto
15576 * TextCache.C: ditto
15577 * MenuBackend.C: ditto
15578 * LyXAction.C: ditto
15580 * FloatList.C: ditto
15581 * DepTable.C: ditto
15582 * ColorHandler.C (LyXColorHandler): ditto
15584 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15586 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15588 * text2.C (openStuff): reintroduce this method (which had been
15589 nuked in NEW_INSETS frenzy).
15591 * lyxfunc.C (Dispatch): when an action has not been handled, use
15592 its name in the error message, not its number.
15594 * paragraph.C (inInset): change method name to begin with lowercase.
15597 * text2.C: updates because of this.
15599 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15601 * ToolbarDefaults.C (add): add spaces in error message
15603 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15605 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15606 (readLyXformat2): rename return_par to first_par, use lyxlex's
15607 pushToken and remove the manual push handling.
15608 (parseSingleLyXformat2Token): add another ert comp. variable:
15609 in_tabular, rename return_par to first_par. handle newlines better
15611 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15613 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15615 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15617 * text2.C (getParFromID): removed
15619 * buffer.C (getParFromID): new method moved form lyxtext.
15620 * BufferView2.C (insertErrors): adjust
15621 (setCursorFromRow): adjust
15622 * BufferView_pimpl.C (restorePosition): adjust
15623 * lyxfunc.C (Dispatch): adjust
15624 * undo_funcs.C (textUndo): adjust
15626 (textHandleUndo): adjust
15627 (textHandleUndo): adjust
15629 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15631 * buffer.C: up' the LYX_FORMAT
15633 * lyxfont.h: turn NO_LATEX on as default
15635 * buffer.C (insertErtContents): new methods of tex style compability.
15636 (parseSingleLyXformat2Token): use it several places.
15637 * tabular.C (OldFormatRead): and here
15639 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15641 * text2.C: remove some commented code.
15644 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15645 * trans.C: changes because of the above.
15647 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15649 * text2.C (setCounter): Fix counters bug with bibliography layout.
15651 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15653 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15654 own member functions
15655 (simpleTeXSpecialChars): ditto
15657 2001-07-06 Juergen Vigna <jug@sad.it>
15659 * a lot of files: changed the access to LyXText::status and the
15660 call of undo-functions.
15662 * undo.[Ch]: added a inset_id to the undo informations.
15664 * undo_funcs.[Ch]: added and moved here all undo functions.
15666 * lyxtext.h: give the status enum a weight, made status_ a private
15667 variable and made accessor functions for it, removed the whole bunch
15668 of undo-functions as they are now in their own file, make some
15669 functions publically available. Added function ownerParagraph with
15672 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15673 made InInset() a const function, added getParFromID() function.
15675 * buffer.[Ch]: added const version for inset_iterator functions,
15676 added getInsetFromID() function.
15678 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15679 changed undo functions for new version.
15681 2001-07-05 Juergen Vigna <jug@sad.it>
15683 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15684 unknow mechanism does not call the proper constructor but only this
15685 one also if I request the other!?
15687 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15689 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15691 * text2.C (LyXText): use initialization lists.
15693 * lyxtext.h (Selection): initialize set_ and mark_
15694 (init): remove method
15696 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15698 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15700 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15702 * screen.[Ch]: change method names to begin with lowercase
15704 * BufferView_pimpl.C (updateScrollbar): simplify further and
15705 hopefully make it a bit faster.
15707 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15709 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15710 calling directly xforms functions.
15712 * Painter.C (Painter):
15713 * lyx_cb.C (MenuWrite):
15714 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15717 * lyx_gui.C: remove bogus guiruntime extern declaration.
15719 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15721 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15723 (redoDrawingOfParagraph): ditto
15724 (redoParagraphs): ditto
15725 (cutSelection): don't create a object for CutAndPaste use the
15726 static method directly
15727 (pasteSelection): ditto
15729 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15732 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15734 * modifications to some other files because of this.
15736 * Makefile.am (lyx_SOURCES): add XFormsView
15738 * XFormsView.[Ch]: new files
15740 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15741 the main window. Move the gui dependent stuff to XFormsView
15743 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15745 * tabular.C (GetCellInset): update cur_cell also in the row/col
15746 version of this function.
15748 * lyxfunc.C: no need to include figure_form.h here.
15754 * lyxvc.C: no need to include forms.h here.
15756 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15758 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15760 * lyxfunc.C (Dispatch):
15762 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15763 constructor argument.
15765 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15767 * paragraph.C (Paragraph): dont't clear, and just set layout.
15768 (makeSameLayout): use params's copy contructor.
15770 * ParagraphParameters.[Ch] (makeSame): delete method
15772 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15774 * Variables.[Ch]: fix indentation, rename set to isSet
15776 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15778 * lyxfunc.C (Dispatch): fix typo
15780 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15782 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15785 * bufferlist.C: include assert.h for emergencyWrite().
15787 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15789 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15790 give up at last (bug #425202) !
15792 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15798 * spellchecker.C: strip spellchecker options and bring up
15799 preferences tab instead
15801 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15803 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15804 the istringstream constructor
15806 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15808 * paragraph.C (getLayout): fix return value
15810 * paragraph.h: do not declare getLayout as inline.
15812 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15814 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15816 * lyxcursor.h (operator<): new func
15817 (operator>): new func
15818 (operator>=): new func
15819 (operator<=): new func
15821 * text.C (changeCase): use selection.start and selection.end
15822 (changeRegionCase): require from to be <= to. Require par to be a
15825 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15827 2001-06-27 Juergen Vigna <jug@sad.it>
15829 * text.C (cursorLeftOneWord): changed to return the cursor and added
15830 overlay with BufferView * parameter which calls this one.
15832 (selectWord): use new getWord function.
15833 (changeCase): renamed from changeWordCase as and extended to work
15834 also on selections.
15836 * lyxtext.h: added enum word_location
15838 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15839 changeCase as this operates now also on selections.
15841 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15843 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15845 * many files: send debug output to Debug::INFO instead of
15848 * converter.C (View):
15850 (Move): send debug output to Debug::FILES instead of console.
15852 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15854 * lyxfunc.C (getStatus): use func_status
15856 * func_status.h: new header, describing the results of
15857 LyXFunc::getStatus;
15859 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15862 2001-06-25 The LyX Project <jug@sad.it>
15864 * buffer.C (sgmlOpenTag):
15866 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15868 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15870 * text2.C: remove some dead code
15872 * tabular.C (GetCellInset): store the last cell checked (gotten)
15874 * tabular.h: add the helper for the speedup
15876 * lyxtext.h: remove some dead code
15878 2001-06-26 The LyX Project <Asger>
15880 * paragraph.C: Change export to LaTeX of alignment to
15881 \begin{center} and family for better roundtrip work with reLyX.
15883 * Tune the math drawing a bit.
15885 2001-06-25 The LyX Project <Asger>
15887 * LColor.C (LColor): New color for math background. New color
15890 2001-06-25 The LyX Project <jug@sad.it>
15892 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15894 * lyxfunc.C (Open):
15895 * bufferlist.C (newFile): do not restrict to files ending with
15898 * BufferView_pimpl.C (MenuInsertLyXFile):
15900 2001-06-24 The LyX Project <jug@sad.it>
15902 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15905 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15907 * lyxtext.h: rename most methods to begin with a small char.
15908 Lots of changes because of this.
15910 * paragraph.C (Paragraph): do not call fitToSize
15911 (erase): call Pimpl::erase
15912 (insertChar): call Pimpl::insertChar
15913 (insertInset): call Pipl::insertInset
15914 (breakParagraph): do not call fitToSize
15915 (breakParagraphConservative): do not call fitToSize
15916 (fitToSize): remove method
15918 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15920 2001-06-24 The LyX Project <Asger>
15922 * Fix Qt compilation^2
15924 2001-06-24 The LyX Project <jug@sad.it>
15926 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15927 depthHook(getDepth()-1).
15930 * ParagraphParameters.h:
15931 * ParameterStruct.h: change type of depth to unsigned int ==
15932 depth_type. Many adaptations to other files before of that.
15934 2001-06-24 The LyX Project <Asger>
15936 * Fix Qt compilation.
15938 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15940 * paragraph.h: renamed several methods to begin with small letter.
15941 several changes to many parts of the code because of this.
15943 2001-06-23 The LyX Project <jug@sad.it>
15945 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15946 rewritten to discard all double spaces when KeepEmpty is off
15947 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15948 to only handle newlines but not fiddle with spaces and friends.
15950 * lyxfunc.C (MenuNew): when doing 'new from template', use
15951 template_path as default directory
15953 2001-06-23 The LyX Project <Asger>
15955 * Clean-up of header file includes all over
15956 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15958 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15960 * paragraph.h: renamed from lyxparagraph.h
15962 2001-06-23 Asger <lyx@violet.home.sad.it>
15964 * Buffer.h: Removed Buffer::resize
15965 * BufferList.h: Removed BufferList::resize
15966 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15967 the document lazily when we change the width, or the font settings.
15969 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15971 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15973 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15975 * buffer.h: remove out of date comment
15977 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15980 * screen.C: fix "theoretical" GC leak
15982 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15984 * LaTeX.C (scanAuxFile):
15985 (deplog): remove trailing \r when reading stream (useful under
15988 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15990 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15991 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15992 and BufferView::theLockingInset(Inset*), so should use them and not
15993 access bv_->text->the_locking_inset directly.
15995 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15997 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16000 * tex-defs.h: remove old unused file
16002 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16004 * BufferView_pimpl.C: fix typo, remove minibuffer message
16005 when buffer has loaded
16007 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16009 * lyxfunc.C (Dispatch): use stringstream
16010 (MenuNew): use stringstream
16011 (Open): use stringstream
16013 * importer.C (Import): use stringstream
16015 * bufferview_funcs.C (CurrentState): use stringstream
16017 * LaTeX.C (run): use stringstream
16019 * BufferView_pimpl.C (savePosition): use stringstream
16020 (restorePosition): use stringstream
16021 (MenuInsertLyXFile): use stringstream
16023 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16036 * vspace.C: removed // -*- C++ -*- as first line.
16039 * version.h: added // -*- C++ -*- as first line.
16041 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16043 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16045 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16048 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16050 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16053 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16055 * gettext.C: include LString.h even when --disable-nls is on.
16057 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16059 * converter.h (Get): changed argument type from int to
16060 FormatList::size_type to avoid unnecessary conversion.
16062 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16065 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16067 * gettext.h: include LString.h even when --disable-nls is on.
16069 2001-06-07 Juergen Vigna <jug@sad.it>
16071 * text.C (BreakAgain): subst spaces with tabs.
16073 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16074 (resizeInsetsLyXText): set force on resizeLyXText.
16076 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16078 * gettext.h (gettext_init):
16079 (locale_init): use a real definition instead of a macro
16081 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16083 * Bufferview_pimpl.C:
16085 * LColor.C: further lcolor tidies
16087 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16089 * BufferView_pimpl.C (updateScrollbar): simplify.
16091 * BufferView2.C: don't include insets/insetinfo.h, change
16092 prototype for insertInset and call the Pimpl version. let
16093 updateInset call Pimpl version.
16095 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16096 gotoInset to BufferView::Pimpl
16098 2001-06-01 Juergen Vigna <jug@sad.it>
16100 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16101 inside a LockingInset (is the update needed at all?).
16103 2001-05-31 Juergen Vigna <jug@sad.it>
16105 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16106 here not the old one otherwise how should we compare it afterwards
16109 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16114 * FontInfo.C: bring C functions into global namespace when
16117 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16119 * LString.h: make sure config.h has been loaded before LString.h.
16121 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16122 (one for each char read by EatLine!).
16124 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16127 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16129 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16130 to the same as the par we break from
16132 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16134 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16136 * MenuBackend.C (expand): also create menu entries for wide
16137 versions of the floats.
16139 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16141 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16143 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16144 frontends/Makefile.am
16150 * tabular.C (getTokenValue): add std::
16152 * tabular-old.C (getTokenValue): add std::
16153 (getTokenValue): ditto
16154 (getTokenValue): ditto
16156 * screen.C (ToggleSelection): adjust
16158 * lyxtext.h: put selection cursors inside a Selection struct.
16160 * lyxfunc.C (moveCursorUpdate): adjust
16162 * lyxfont.C (latexWriteStartChanges): add std::
16164 * lyxfind.C: adjust
16166 * font.h: delete with(char const *, LyXFont const &)
16168 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16170 * FontInfo.C (getFontname): add std::
16172 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16173 (workAreaButtonPress): adjust
16174 (tripleClick): adjust
16176 (moveCursorUpdate): adjust
16179 * BufferView2.C (gotoInset): adjust
16181 2001-05-30 Juergen Vigna <jug@sad.it>
16183 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16184 to check pspell I add this as default as I now have new pspell
16185 libraries and they seem to use this.
16187 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16189 * text2.C (CutSelection): make the cursor valid before the call to
16192 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16194 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16195 relied on 0 terminated strings and other horrors. Bug found due to
16196 the new assert in lyxstring!
16198 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16201 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16203 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16206 * lyxfunc.C (processKeySym): change method of getting to the
16209 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16210 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16211 * BufferView_pimpl.[Ch]: here as private methods.
16213 2001-05-28 Juergen Vigna <jug@sad.it>
16215 * text.C (SetHeightOfRow): added the update() call again as it is
16216 needed to initialize inset dimensions!
16218 2001-05-16 Juergen Vigna <jug@sad.it>
16220 * text2.C (SetCharFont): Add new function with BufferView * and
16221 bool toggleall parameters for setting insets internal fonts.
16222 (SetFont): Freeze the undo as we may change fonts in Insets and
16223 all this change should be inside only one Undo!
16225 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16226 setting font's in insets as for them we have the SetFont function!
16228 2001-05-15 Juergen Vigna <jug@sad.it>
16230 * text2.C (ClearSelection): to be sure we REALLY don't have any
16233 * tabular.C (TeXCellPreamble): fixed the left border problem for
16236 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16238 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16241 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16243 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16244 LFUN_BREAKPARAGRAPH.
16246 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16247 help test to "internal only", similar for LFUN_INSERT_URL
16249 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16250 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16251 auto_region_delete and deadkeys.
16253 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16256 * LColor.C: remove some dead entries, tidy a little
16258 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16260 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16262 (Dispatch): implement LFUN_ESCAPE
16264 * commandtags.h: add LFUN_ESCAPE
16266 * LyXAction.C (init): add entry for LFUN_ESCAPE
16268 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16269 Remove commented code.
16270 (insertNote): moved here
16271 (open_new_inset): moved here
16273 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16276 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16278 * kbmap.C (findbinding): clean it up and make it work correctly.
16280 * lyx_main.C (init): do not pass argc and argv as parameters
16282 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16284 * buffer.C: fix path for OS/2 & Win32
16288 * lyx_main.C: Added os:: class.
16290 * os2_defines.h: update
16292 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16294 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16295 better by trying again with reduced state.
16297 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16299 * lyxrc.C (read): print error about invalid key sequence only when
16300 debugging (because not all latinX keysyms are known to some X
16303 * kbsequence.C (getiso): add a few std:: qualifiers
16304 (getiso): comment out extra return statement.
16306 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16308 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16310 (Dispatch): enhance the accent inset a bit. (not perfect)
16312 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16314 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16316 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16318 * bufferlist.C (emergencyWrite): fix assert() call
16320 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16322 * text.C (InsertChar): Added trivial patch to only send the "you
16323 can not do multiple spaces this way" message once during a
16326 2001-05-08 Baruch Even <baruch@lyx.org>
16328 * Makefile.am: Changed order of libraries to get LyX to link properly
16329 with the gnome frontend.
16331 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16333 * LaTeXFeatures.h: add a std:: qualifier
16335 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16337 * paragraph.C (String): use stringstream
16339 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16341 * paragraph.C (writeFile): remove footflag arg
16343 * buffer.C (makeLaTeXFile): use stringstream
16344 (latexParagraphs): remove footnot gurba
16346 * LaTeXFeatures.C (getPackages): use stringstream
16347 (getMacros): likewise
16348 (getTClassPreamble): likewise
16349 (getFloatDefinitions): new method
16351 * paragraph.C (writeFile): reindent
16354 * WorkArea.h: revert the xpos + etc changes.
16356 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16358 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16360 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16361 (pasteSelection): likewise
16362 * text2.C (CreateUndo): likewise
16364 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16366 * minibuffer.C (peek_event): temporarily reduce the functionality
16367 of the minibuffer (to allow args on lfuns)
16369 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16370 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16372 * buffer.C (readInset): add compability reading of old float
16373 lists, add reading of new style float list.
16374 (readInset): avoid reevaluation of inscmd.getCmdName()
16375 (getLists): reindent
16377 * MenuBackend.C (MenuItem): implement parsing of
16378 md_floatlistinsert and md_floatinsert.
16379 (expand::LastFiles): move initalizaton of iterators out of loop,
16380 avoid reevaluation.
16381 (expand::Documents): introduce typdedef vector<string> Strings,
16383 (expand::ExportFormats): introduce typedef vector<Format const *>
16384 Formats, and use it.
16385 (expand): implement FloatListInsert and FloatInsert.
16387 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16388 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16389 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16391 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16393 (Dispatch::LFUN_FLOAT_LIST): implement
16395 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16397 * LaTeX.C (run): Fix problem with --export code.
16399 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16401 * BufferView.[Ch] (workarea): removed.
16402 (getClipboard) new method; wrapper for workarea()->getClipboard()
16404 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16407 * WorkArea.h (width, height, xpos, ypos): These methods all
16408 returned the dimensions of the work_area sub-area of WorkArea,
16409 resulting in a position error if the WorkArea were resized. Now
16410 return the dimensions of the entire WorkArea.
16412 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16414 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16416 * LaTeX.C (deplog): correct the syntax of regex reg1
16418 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16420 * undo.C: remove !NEW_INSETS cruft
16422 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16424 * text2.C: remove !NEW_INSETS cruft
16426 * text.C: remove !NEW_INSETS cruft
16428 * tabular.C: remove !NEW_INSETS cruft
16430 * spellchecker.C: remove !NEW_INSETS cruft
16432 * lyxtext.h: remove !NEW_INSETS cruft
16434 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16436 * lyxfunc.C: remove !NEW_INSETS cruft
16438 * lyxfind.C: remove !NEW_INSETS cruft
16440 * lyx_cb.C: remove !NEW_INSETS cruft
16442 * figureForm.C: remove !NEW_INSETS cruft
16444 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16446 * buffer.[Ch]: remove !NEW_INSETS cruft
16448 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16450 * CutAndPaste.C: remove !NEW_INSETS cruft
16452 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16454 * BufferView2.C: remove !NEW_INSETS cruft
16456 * BufferView.h: remove !NEW_INSETS cruft
16458 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16460 * Lsstream.h: include LString.h before the sstream headers to
16461 fix problem with gcc 2.95.3 and lyxstring
16463 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16465 * lyx_main.C: add using directives when needed for C functions
16466 declared in std:: namespace.
16468 2001-04-27 Juergen Vigna <jug@sad.it>
16470 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16471 (SetHeightOfRow): comment out the update call should not be needed!
16473 2001-04-13 Juergen Vigna <jug@sad.it>
16475 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16476 (LyXTabular): tried to minimize operator= operations (and realized
16477 hopfully Lars wish).
16479 2001-04-27 Juergen Vigna <jug@sad.it>
16481 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16483 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16485 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16487 * buffer.C (readInset): hack to make listof algorithm work
16489 * BufferView_pimpl.C: hack to make listof algorithm work
16491 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16493 * LyXAction.C: removed all !NEW_INSETS cruft
16494 (init): moved lfun_item in method
16496 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16498 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16500 * BufferView2.C (theLockingInset): white space.
16502 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16504 * minibuffer.C: include <iostream>
16506 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16508 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16510 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16512 * text.[Ch] (TransposeChars): new method
16514 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16516 * call message directly through LyXView instead of through LyXFunc
16517 * BufferView2.C: adjust
16518 * BufferView_pimpl.C: adjust
16519 * FontLoader.C: adjust
16521 * bufferview_funcs.C: adjust
16522 * converter.C: adjust
16523 * figureForm.C: adjust
16524 * importer.C: adjust
16526 * lyx_gui_misc.C: adjust
16527 * lyxfunc.C: adjust
16530 + more files in subdirs
16532 * lyxparagraph.h (size): move up int file
16535 * adjust all uses of Assert to lyx::Assert.
16537 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16538 lyxfunctional in namespace lyx
16539 * layout.C (hasLayout): ditto
16542 (delete_layout): ditto
16543 (NumberOfClass): ditto
16544 * converter.C (GetFormat): ditto
16549 * bufferlist.C (getFileNames): ditto
16550 (emergencyWriteAll): ditto
16553 * MenuBackend.C (hasSubmenu): ditto
16556 * BufferView_pimpl.C (getInsetByCode): ditto
16558 2001-04-18 Juergen Vigna <jug@sad.it>
16560 * vspace.C (asLatexString): fixed the 100% problem.
16562 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16564 * lyxfunc.C (Dispatch):
16566 * minibuffer.h: add a few std:: qualifiers
16568 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16570 * minibuffer.[Ch]: reimplement so that commands is initiated and
16571 run from lyxfunc, simplified som handling, and made the completion
16572 and history code for complete. wip.
16574 * lyxfunc.C (processKeySym): call message
16575 (miniDispatch): new temporary method
16576 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16577 (LFUN_MESSAGE): implement
16578 (LFUN_MESSAGE_PUSH): implement
16579 (LFUN_MESSAGE_POP): implement
16580 (initMiniBuffer): the initial/defualt minibuffer message.
16582 * lyxfont.[Ch]: inline some more getters
16584 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16586 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16588 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16589 (AutoSave): use LFUN_MESSAGE
16590 (Reconfigure): ditto
16592 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16594 * figureForm.C: use LFUN_MESSAGE
16596 * converter.C (runLaTeX): use LFUN_MESSAGE
16598 * bufferview_funcs.C: use LFUN_MESSAGE
16600 (changeDepth): ditto
16602 * bufferparams.h: use boost::
16604 * bufferlist.h: inherit privately from noncopyable
16606 * bufferlist.C (loadLyXFile): remove some commented code.
16608 * buffer.C (runChktex): use LFUN_MESSAGE
16610 * ShareContainer.h: inherit privately from noncopyable
16612 * ParagraphParameters.[hC] (depth): inline it.
16614 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16616 (message): new method
16617 (messagePush): ditto
16618 (messagePop): ditto
16619 (show): init minibuffer
16620 (showState): direct call
16622 * LaTeX.[Ch]: inherit privately from noncopyable
16623 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16624 instead of WriteStatus.
16626 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16628 * BufferView_pimpl.C (buffer): don't init minibuffer
16629 (workAreaButtonPress): use LFUN_MESSAGE
16630 (workAreaButtonRelease): ditto
16631 (savePosition): ditto
16632 (restorePosition): ditto
16633 (MenuInsertLyXFile): ditto
16634 (workAreaExpose): don't init minibuffer
16635 (update): remove commented code, simplify
16637 * BufferView2.C (openStuff): use LFUN_MESSAGE
16638 (toggleFloat): ditto
16641 (copyEnvironment): ditto
16642 (pasteEnvironment): ditto
16647 (updateInset): remove some commented code
16649 * lastfiles.h: inherit privately from noncopyable
16652 * lyx_main.h: ditto
16654 * lyxlex_pimpl.h: ditto
16656 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16657 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16658 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16660 * LyXAction.h: inherit privately from noncopyable, add methods
16661 func_begin, func_end, returning iterators to the func map.
16663 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16664 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16665 (func_begin): new method
16666 (func_end): new method
16668 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16670 (copySelection): ditto
16671 (pasteSelection): ditto
16673 * BufferView.C: whitespace change
16674 * BufferView.h: inherit privately from noncopyable
16676 2001-04-16 Allan Rae <rae@lyx.org>
16678 * tabular-old.C (l_getline):
16679 * spellchecker.C (sc_check_word):
16680 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16681 an unrecognised preprocessor directive. So ensure they're wrapped.
16683 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16685 * src/exporter.C (Export): Give an error message when path to file
16688 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16690 * LaTeX.C (deplog): Always check that foundfile exists.
16692 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16695 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16697 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16699 * tabular.[Ch] (getLabelList): implement new method
16701 * minibuffer.h: comment ouf setTiimer
16703 * minibuffer.C (ExecutingCB): constify res
16704 (peek_event): constify s
16705 (Set): constify ntext
16706 (Init): constify nicename
16708 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16710 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16711 (savePosition): use two params to Minibuffer::Set
16712 (restorePosition): ditto
16714 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16716 * lyx_main.C: include language.h
16718 * Makefile.am (lyx_main.o): add language.h
16720 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16726 * CutAndPaste.C: include gettext.h
16728 * lyxfont.h: remove old hack with ON and OFF.
16731 * lyxfont.h: do not include language.h...
16736 * bufferview_funcs.C:
16742 * paragraph.C: ... but do it here instead
16744 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16746 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16748 * tabular.C: small reformat
16750 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16753 (BreakParagraph): ditto
16754 (SetOnlyLayout): ditto
16757 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16760 * lastfiles.C: removed most using decl, add std:: where needed
16762 * buffer.C: ws changes
16764 * MenuBackend.C (class compare_format): put into anon namespace
16765 (expand): constify label, names, action, action2
16768 * text.C (SingleWidth): constify font
16769 (IsBoundary): constify rtl2
16770 (GetVisibleRow): constify ww
16772 * LaTeX.C (deplog): constify logfile
16774 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16776 (workAreaExpose): constify widthChange, heightChange
16778 * lyxrow.C (par): moved
16781 * lyxrow.h: as inlines here
16783 * lyxfont.h (shape): moved from lyxfont.C
16784 (emph): moved from lyxfont.C
16786 * lyxfont.C (LyXFont): use initialization list for all
16788 (shape): move to lyxfont.h as inline
16789 (emph): move to lyxfont.h as inline
16792 2001-04-04 Juergen Vigna <jug@sad.it>
16794 * vspace.C: had to include stdio.h for use of sscanf
16796 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16799 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16800 independent of xforms.
16802 2001-04-02 Juergen Vigna <jug@sad.it>
16804 * spellchecker.C: fixed namespace placing!
16806 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16808 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16809 the LyXParagraph * is 0.
16811 2001-03-29 Juergen Vigna <jug@sad.it>
16813 * vspace.C: added support for %, c%, p%, l%.
16814 (stringFromUnit): added helper function.
16815 (asLatexString): changed to give right results for the %-values.
16817 * buffer.C: convert the widthp in a width%.
16819 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16821 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16824 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16825 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16827 * lyx_cb.[Ch]: see above.
16829 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16833 * lyx.[Ch]: replaced by figure_form.[Ch].
16837 * lyxfunc.C: changed headers associated with above changes.
16839 2001-03-27 Juergen Vigna <jug@sad.it>
16841 * BufferView_pimpl.C: set the temporary cursor right!
16843 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16845 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16847 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16849 * LString.h: removed "using std::getline"!
16851 * BufferView_pimpl.C (Dispatch): changes due to changes in
16852 InsetInclude::Params.
16854 * buffer.C (tag_name): removed redundant break statements as they were
16855 producing lots of warnings with my compiler.
16857 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16859 * LString.h: add "using std::getline" when using the real <string>.
16861 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16863 * buffer.C: removed bitset usage.
16864 PAR_TAG moved to an anonymous name space.
16865 (tag_name): new funtion, also in the anonymous namespace.
16866 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16867 (makeDocBookFile): clean code. Completed transition from string arrays
16869 (SimpleDocBookOnePar): code clean.
16871 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16873 * tabular.C: add some comments.
16875 2001-03-22 Juergen Vigna <jug@sad.it>
16877 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16878 compatibility read a bit and fixed bug with minipage in different
16881 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16883 * buffer.C (pop_tag): removed.
16884 (push_tag): removed.
16885 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16886 array replaced with vector. Added support for CDATA sections.
16887 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16889 (makeDocBookFile): XML conformant declaration of CDATA section,
16890 fixed bug related to <emphasis> in the first paragraph char.
16891 (sgmlOpenTag): exclude empty tags.
16892 (sgmlCloseTag): ditto.
16894 * buffer.h (pop_tag): removed.
16895 (push_tag): removed.
16897 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16899 * language.h (Languages): added size_type and size().
16901 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16903 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16904 response on compability reading of minipages. One probliem is that
16905 the old usage of minipages was «flertydig»
16907 * several files here and in subdirs: don't use static at file
16908 scope use anon namespaces instead.
16910 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16912 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16913 LaTeX output. This is necessary for Literate document
16916 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16918 * buffer.C: insert hfill when needed.
16920 * tabular.C (l_getline): use string::erase, small whitespace change.
16922 * BufferView_pimpl.C: try the anon namespace.
16923 * WorkArea.C: ditto
16925 2001-03-16 Juergen Vigna <jug@sad.it>
16927 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16928 otherwise it won't open options-dialogs.
16930 * buffer.C: honor pextraWidth(p) on converting minipages.
16932 * tabular.C (l_getline): changed the functions to strip trailing \r.
16934 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16936 * BufferView_pimpl.C:
16937 * minibuffer..C: added "using SigC::slot" declaration.
16939 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16941 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16947 * paragraph.C: ditto
16949 * lyxtext.h: NO_PEXTRA
16951 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16953 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16954 * ParameterStruct.h: ditto
16955 * ParagraphParameters.h: ditto
16956 * lyxparagraph.h: ditto
16958 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16960 * buffer.C: add compability for minipage alignment.
16961 (latexParagraphs): remove unwanted pextra check.
16963 * several files: remove CXX_WORKING_NAMESPACES
16965 * buffer.C (pop_tag): tie is in namespace boost
16967 * BufferView.h: noncopyable is in namespace boost
16969 * lyx_main.h: ditto
16972 * lastfiles.h: ditto
16973 * bufferlist.h: ditto
16974 * ShareContainer.h: ditto
16976 * LyXAction.h: ditto
16979 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16981 * Merging changes from BRANCH_MVC back into HEAD.
16983 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16985 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16987 * BufferView_pimpl.C: change from intl.C
16991 * Makefile.am: move combox.*
16997 * intl.C: remove dialog (covered by prefs)
16999 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17001 * lyxfunc.C (Dispatch): removed redundant break statement.
17003 2001-03-14 Juergen Vigna <jug@sad.it>
17005 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17007 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17009 * buffer.C: add hack to fix compability reading of minipages.
17011 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17013 * buffer.C (getLists): Cleanup.
17015 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17017 * lyxfont.C (update): don't honor toggleall on font size.
17019 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17023 * Makefile.am: moved to frontends/xforms/
17027 * BufferView_pimpl.C: changes for moved mathpanel
17029 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17031 * gettext.h: fix gettext_init() in --disable-nls
17033 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17035 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17037 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17040 * lyx.h: strip external form
17042 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17044 * BufferView_pimpl.C: add comment, destroySplash()
17046 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17048 * BufferView_pimpl.C:
17052 * lyxfunc.C: use re-worked insetinclude
17054 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17056 * buffer.C: add using std::stringstream.
17058 * lyx_cb.C: readd using std::ios.
17060 * buffer.C: add using std::map.
17062 * BufferView_pimpl.C: add using std::vector.
17064 * ShareContainer.h: add std:: to swap.
17066 * buffer.h: add some typedefs
17067 * buffer.C (getLists): use them
17068 (getLists): renamed from getTocList.
17069 add a counter for the different float types and use it in the
17071 (getLists): use the same counter for the NEW_INSETS and the "non"
17074 * lyx_cb.h: remove unused items, includes, using etc.
17076 * ShareContainer.h: remove some commented code, add more comments
17077 and "documentation".
17079 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17081 * buffer.C (getTocList): make the list also when NEW_INSETS is
17084 * buffer.h: remove TocType
17086 * buffer.C (getTocList): change to return a map<string,
17087 vector<TocItem> >, implement for dynamic number of list.
17089 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17090 * text2.C (PasteSelection): adjust
17091 * CutAndPaste.C (pasteSelection): adjust
17093 * FloatList.C (FloatList): update from the new_insets branch.
17094 * Floating.[Ch]: ditto
17095 * LaTeXFeatures.C: ditto
17097 * lyxlex_pimpl.C: ditto
17099 * paragraph.C (Last): remove when NEW_INSETS is defined.
17101 * other file: changes because of the above.
17103 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17105 * lyxparagraph.h: rename next to next_, previous to previous_,
17106 make them private for NEW_INSETS. Rename Next() to next(),
17107 Previous() to previous().
17109 * other files: changes because of the above.
17111 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17114 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17117 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17119 * main.C (main): pass lyx_localedir to gettext_init().
17121 * gettext.h: remove locale_init and gettext_init macros
17123 * gettext.C (locale_init): new function
17124 (gettext_init): new function
17126 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17129 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17131 * Moved credits to frontends:
17132 * credits.[Ch]: removed
17133 * credits_form.[Ch]: removed
17134 * lyx_gui_misc.C: remove credits stuff
17137 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17139 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17141 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17142 unneeded destructor.
17144 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17145 a standalone pointer again.
17147 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17149 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17155 * ToolbarDefaults.C:
17164 * BufferView_pimpl.C: use new file dialog in GUII
17167 * lyx_cb.C: remove LayoutsCB to Toolbar
17169 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17171 * ShareContainer.h (get): add std:: qualifier
17173 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17175 * ShareContainer.h: define a proper ShareContainer::value_type
17176 type (and use typename to please compaq cxx)
17178 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17180 * lyxparagraph.h: move serveral local vars to
17181 ParameterStruct/ParagraphParameters., use ShareContainer in
17182 FontTable., make vars in FontTable private and add getter and
17185 * paragraph.C: changes because of the above.
17187 * lyxfont.h: remove copy constructor and copy assignment. (the
17188 default ones is ok), move number inside FontBits. move inlines to
17191 * lyxfont.C: add number to initializaton of statics, move several
17192 inlines here. constify several local vars. some whitespace
17193 cleanup. Dont hide outerscope variables.
17195 * Spacing.h: add two new constructors to match the set methods.
17197 * ShareContainer.h: new file, will perhaps be moved to support
17199 * ParameterStruct.h: new file
17201 * ParagraphParameters.h: new file
17203 * ParagraphParameters.C: new file
17205 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17206 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17208 * BufferView_pimpl.C: ParagraphParameter changes.
17209 * buffer.C: Likewise.
17210 * bufferview_funcs.C: Likewise.
17211 * text.C: Likewise.
17212 * text2.C: Likewise.
17214 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17216 * lyxfind.C (LyXReplace): do not redefine default argument in
17218 (IsStringInText): ditto
17219 (SearchForward): ditto
17220 (SearchBackward): ditto
17222 2001-03-06 Juergen Vigna <jug@sad.it>
17224 * lyxfind.C (IsStringInText): put parentes around expressions.
17226 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17228 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17230 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17232 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17234 * stl_string_fwd.h: add comment
17236 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17239 * tabular.C: remove unused DocBook methods
17245 killed DO_USE_DEFAULT_LANGUAGE
17247 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17249 * lyx_gui.C: do not include language.h.
17251 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17252 arguments in function implementation.
17254 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17256 * BufferView_pimpl.C: add <ctime>
17258 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17260 * BufferView_pimpl.C: add using std::find_if
17262 2001-02-27 José Matos <jamatos@fep.up.pt>
17264 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17267 2001-02-11 José Matos <jamatos@fep.up.pt>
17269 * buffer.C (makeDocBookFile): command styles now have a parameter as
17270 "title" by default.
17272 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17274 * layout_forms.[Ch]: removed
17275 * lyx_cb.[Ch]: out character
17276 * lyx_gui.C: out character
17277 * lyx_gui_misc.C: out character
17278 * bufferview_funcs.C: : out character,
17279 added toggleall as parameter in ToggleAndShow
17281 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17283 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17285 * text2.C (SetCurrentFont): Disable number property at boundary.
17287 2001-02-26 Juergen Vigna <jug@sad.it>
17289 * lyxfunc.C (getStatus): added a string argument override function so
17290 that this is correctly called from LyXFunc::Dispatch if it contains a
17291 do_not_use_argument which is used!
17292 (Dispatch): added check for "custom" export and call appropriate func.
17294 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17296 * lyxrc.C: Add language_command_local, language_use_babel and
17297 language_global_options.
17299 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17301 * buffer.C (makeLaTeXFile): Use language_use_babel and
17302 language_global_options.
17304 2001-02-23 Juergen Vigna <jug@sad.it>
17306 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17307 which works with LyXText and putted it inside BufferView. Here now we
17308 only call for that part the BufferView::Dispatch() function.
17310 * BufferView.C (Dispatch): added.
17312 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17313 functions which needs to use a LyXText over from LyXFunc.
17314 (MenuInsertLyXFile): added
17315 (getInsetByCode): added
17316 (moveCursorUpdate): added
17317 (static TEXT): added
17319 2001-02-22 Juergen Vigna <jug@sad.it>
17321 * BufferView_pimpl.C (update): call a status update to see if LyXText
17324 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17326 * vc-backend.C (revert): implement for CVS
17327 (getLog): implement for CVS
17329 2001-02-20 Juergen Vigna <jug@sad.it>
17331 * text2.C (ClearSelection): added BufferView param for inset_owner call
17333 * lyxfunc.C (TEXT): added this function and use it instead of
17334 directly owner->view()-text of getLyXText().
17336 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17338 * src/layout_forms.C: out preamble
17339 * src/layout_forms.h: out preamble
17340 * src/lyx_cb.C: out preamble
17341 * src/lyx_cb.h: out preamble
17342 * src/lyx_gui.C: out preamble
17343 * src/lyx_gui_misc.C: out preamble
17344 * src/lyxfunc.C: connect with guii preamble
17346 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17348 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17350 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17352 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17353 whether to run bibtex.
17355 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17357 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17359 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17361 * Makefile.am (lyx_SOURCES): removed bibforms.h
17363 * vspace.h: doxygen
17365 * text.C (GetVisibleRow): make several local vars const
17367 * tabular.C: small cleanup.
17369 * lyxserver.C (callback): use compare instead of strncmp
17371 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17372 inlines to after class or to paragraph.C
17374 * lyxfont.h: remove friend operator!=
17376 * converter.h: move friend bool operator< to non friend and after
17379 * combox.h: small cleanup
17381 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17382 to inlines after class def.
17384 * buffer.C (pop_tag): use string operations instead of strcmp
17386 * bmtable.c: doxygen, small cleanup
17388 * LaTeX.h: remove friend operator==
17390 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17402 * BufferView_pimpl.C:
17403 * BufferView.[Ch]: remove cruft
17405 2001-02-14 Juergen Vigna <jug@sad.it>
17407 * lyxfunc.C: removed #if 0 unused code
17409 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17411 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17413 * text2.C (SetSelection): added a BufferView * parameter
17415 2001-02-13 Juergen Vigna <jug@sad.it>
17417 * lyxfunc.C (Dispatch): fixed protected blank problem.
17418 * BufferView2.C (protectedBlank): added LyxText * parameter.
17420 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17421 (AppendColumn): same as above for column_info.
17423 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17424 (moveCursorUpdate): use a LyXText param for support of InsetText.
17426 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17427 (tripleClick): ditto
17429 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17431 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17433 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17435 * text2.C (SetSelection): set correct update status if inset_owner
17436 (ToggleFree): ditto
17438 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17440 * tabular.C: remove some commented code.
17442 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17444 * BufferView_pimpl.C: call hideSplash()
17446 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17449 * bibforms.h: remove
17452 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17453 add LFUN_CHILD_CREATE
17455 * counters.h: fix tiny typo
17460 * lyx.C: move splash to frontends/xforms/
17462 * lyx_gui_misc.C: move Include and Bibform to frontends
17464 * lyxvc.h: clarify comment
17466 * vspace.C: tiny housekeeping
17468 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17470 * text.C (PrepareToPrint): RTL Fix.
17472 * paragraph.C (GetUChar): New method.
17473 (String): Use GetUChar.
17475 * buffer.C (asciiParagraph): Use GetUChar.
17477 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17479 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17481 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17484 * buffer.C: rename to getLogName(), handle
17485 build log / latex log nicely
17487 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17490 * MenuBackend.h: remove support for reference menuitem type.
17492 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17494 * BufferView_pimpl.C: housekeeping
17495 * BufferView_pimpl.h:
17500 * minibuffer.h: move Timeout GUI-I
17502 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17504 * lyxrc.C (read): Update converters data-structures.
17506 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17508 * LaTeX.h (operator!=): add operator != for Aux_Info
17510 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17512 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17514 * LaTeXLog.C: deleted, useful code moved to Buffer
17517 * buffer.C: new function getLatexLogName()
17523 * lyxfunc.C: use frontends for LaTeX and VC logs
17525 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17527 * LaTeX.h: yet another std:: that Allan forgot.
17529 * Variables.C (set): renamed from isset(), because this clashes
17530 with some HP-UX macros (grr).
17532 2001-02-06 Allan Rae <rae@lyx.org>
17534 * LaTeX.h: Another bug fix. Missing std:: this time.
17536 2001-02-04 Allan Rae <rae@lyx.org>
17538 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17539 floats problem. I've left it commented out because it's not quite
17540 correct. It should also test that the current object is a table or
17541 figure inset. But I haven't gotten around to figuring out how to do
17542 that. I *think* it'll be something like: "table" == inset.type()
17544 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17547 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17549 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17550 all the citation/databases/styles in the auxilary file.
17551 (run): Rerun latex if there was a babel language error.
17553 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17555 * text.C (Backspace): Preserve the font when changing newline char
17557 (BreakParagraph): If the cursor is before a space, delete the space.
17559 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17561 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17563 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17564 new argument (code).
17565 (ChangeCitationsIfUnique): New method.
17567 * paragraph.C (GetPositionOfInset): Handle bibkey.
17569 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17571 * BufferView_pimpl.h: change type of Position::par_pos to
17572 LyXParagraph::size_type.
17574 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17576 * BufferView_pimpl.C (savePosition, restorePosition): Write
17577 messages to minibuffer.
17579 2001-01-28 José Matos <jamatos@fep.up.pt>
17581 * buffer.C (makeDocBookFile): adds support for document language.
17582 A silly restriction on the name of LatexCommand types where removed.
17583 Added support for CDATA sections, allows to chars unescaped, used
17584 among others in code, to avoid escape < and >.
17586 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17588 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17589 saved positions instrad of a stack. Furthermore, a position is
17590 stored using paragraph id/paragraph position.
17592 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17593 Remove LFUN_REF_BACK.
17595 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17597 * converter.C (dvipdfm_options): New method.
17599 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17601 * vspace.C (isValidLength): Fix for empty input string.
17603 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17605 * LyXAction.C (init): change description of LFUN_FIGURE to
17608 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17610 * LaTeX.C: add using directive
17612 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17614 * MenuBackend.C (expand): Fix the sorting of the formats.
17616 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17618 * lyx_main.C: tiny error message fix
17620 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17622 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17623 calling fl_initialize(). This fixes the problem with ',' as
17624 decimal separator in text files.
17626 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17628 * trans.C (process): Fix the keymap bug.
17630 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17632 * LaTeX.C (scanAuxFiles): New method. Provides support for
17633 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17634 (scanLogFile) Scan for "run BibTeX" messages.
17636 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17637 OT1 font encoding. Also, load the aecompl package if the ae
17640 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17642 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17644 * texrow.C (increasePos): turn two error messages into debug
17647 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17649 * LaTeX.C (scanAux): Handle the \@input macro.
17650 (runBibTeX): Use scanAux().
17652 * language.C (latex_options_): New field.
17654 * LaTeXFeatures.C (getMacros): Add language macros.
17656 * buffer.C (makeLaTeXFile): Small fix.
17658 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17660 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17662 * text2.C: add a using directive.
17664 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17669 * lyxfunc.C: kill LyXBell.
17671 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17673 * text.C (IsBoundary): Remove the error message
17675 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17677 * lyxrc.C (setDefaults): Correct initialization value for
17680 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17682 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17685 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17686 and GotoNextNote().
17688 * src/LyXAction.C: Added reference-next.
17690 * text.C (InsertChar): Use contains instead of strchr.
17692 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17694 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17696 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17697 alignment commands (when needed).
17699 * text.C (InsertChar): Add ':' to number separator chars.