1 2005-05-02 Angus Leeming <leeming@lyx.org>
3 * buffer.C: protect the #include of utime.h with a preprocessor
6 2005-05-02 Angus Leeming <leeming@lyx.org>
8 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
9 function so that suto-saving works, albeit in a blocking manner.
11 * Makefile.am: make compilation of the client sub directory, of
12 apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
13 on conditionals set at configure time.
15 * SpellBase.[Ch]: no longer an abstract base class. Instead,
16 it can be compiled in its own right but has no-op functionality.
18 * aspell.C, pspell.C: remove preprocessor guards. The files should
19 be compiled only if the necessary functionality exists.
21 * lyxserver.C, lyxsocket.C: disable on Windows.
23 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
25 * text.C (leftMargin): Fix the parindent use bug (1764)
28 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
30 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
33 2005-04-25 Angus Leeming <leeming@lyx.org>
41 include <config.h> in .C files, not .h ones.
43 protect headers inside preprocessor guards.
45 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
47 * FuncStatus.h (StatusCodes): document
49 2005-04-21 André Pönitz <poenitz@gmx.net>
51 * FuncStatus.h (enabled, onoff): document
53 2005-04-19 Angus Leeming <leeming@lyx.org>
55 * BufferView_pimpl.C (cursorToggle): no longer test whether
56 any child processes have been reaped before calling
57 handleCompletedProcesses().
59 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
61 * text3.C (dispatch): fix, finally fix, the language problem in
62 new lyxtexts, without disabling on-the-fly font changes (Helge's
65 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
67 * text3.C (dispatch): set cursor on double/triple click events
70 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
73 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
75 * rowpainter.C (paintFirst): simplify the code a little bit. In
76 particular, remove the test for secnumdepth.
77 * text.C (setHeightOfRow): only allocate space for chapter number
78 when updateCounters provided an actual label, instead of looking
79 at secnumdepth directly.
81 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
83 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
84 paragraphs when secnumdepth is large enough or, for environments,
85 when they are not the first in a sequence.
87 2005-04-17 Angus Leeming <leeming@lyx.org>
89 * buffer.C (makeLaTeXFile): replace code to manipulate a path
90 containing space and '~' characters with a call to latex_path().
92 2005-04-17 Angus Leeming <leeming@lyx.org>
94 * converter.C (convert): protect all args of convertDefault.sh
97 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * text3.C (dispatch): change the layout to "Caption" after inserting
102 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
104 * text3.C (dispatch): fix language problem in newly created
105 textinsets (and main text) in non-english docs
107 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
110 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
111 * text3.C (getStatus): disable LFUN_INSET_MODIFY
113 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
118 * rowpainter.C (getFont): Fix metrics bug introduced by inset
121 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
123 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
124 output of \item arguments without trailing text.
126 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * FontIterator.C (operator*): avoid a copy of the font.
130 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
132 * rowpainter.C (getFont): fix language bug from previous fix
134 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
136 * rowpainter.C (RowPainter, getFont): fix font inside inset
139 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
141 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
142 preventing inserted font, deco, delim insets jumping to start of
145 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
147 * lyxfunc.C (dispatch): translate message before sending it to the
150 2005-03-29 Angus Leeming <leeming@lyx.org>
152 * lyx_main.C (priv_exec): call os::internal_path on each file passed
153 to LyX on the command line.
155 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
157 * vc-backend.C: use QuoteName to protect file names wherever
160 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
163 * BranchList.h: fix bugs 1844,1845: document settings don't
166 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
168 * lyxrc.C (setDefaults, read, output, getDescription): add support
169 for tex_allows_spaces.
171 * exporter.C (Export): allows files in directory containing spaces
172 if tex_allows_spaces is true.
174 * buffer.C (makeLaTeXFile): if the document path contains spaces,
175 output it in double quotes.
177 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
179 * rowpainter.C: use default text height for drawing change tracker
182 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
184 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
186 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
189 directory is missing.
191 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
193 * text2.C: fixed the fix, extended to other case.
195 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
197 * text2.C: fix for cursor up/down stuck in math [bug 1792]
199 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
201 * text2.C (cursorUp): get rid of a crash
202 * text.C (x2pos): add an assert
204 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
206 * lyxfunc.C (getStatus): fix warning when assertions are disabled
210 * dociterator.C: include <boost/current_function.hpp>, which is
211 needed when assertions are disabled.
213 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
215 * text2.C: fix for stuck cursor when traversing two
216 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
218 2005-02-25 Andreas Vox <avox@arcor.de>
220 * output_docbook.C (makeParagraph): suppress trailing newline
221 after a run of paragraphs
223 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
225 * paragraph.C: fix for confused change tracker when pasting
226 text that begins with a lineseparator. [bug 1827]
227 (setChange(0, Change::INSERTED);)
229 * paragraph_funcs.C: fix for lost changes on triple-paste
230 in change tracking mode [bug 1827] (par.setChange()).
232 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * text2.C (updateCounters, setCounter, expandLabel): move to
237 * buffer_funcs.C (updateCounters): turn into a free standing
238 function and add a buffer parameter. Remove dead code for tracking
240 (setCounter): change into a free-standing function which gets a
241 dociterator as argument. Use this iterator to fix captions in a
242 simple way. When no float is found above the caption, use the
243 labelstring of the caption layout as default.
245 * text.C (breakParagraph, backspace):
246 * text2.C (init, setLayout, changeDepth):
247 * text3.C (dispatch):
248 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
251 * dociterator.C (forwardPar): make it much faster by calling
252 forwardPos() only when really necessary.
254 * output_docbook.C (makeCommand): adapt to expandLabel move.
256 * cursor.C: remove unused variable
258 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
260 * paragraph_funcs.C: fix crash when pasting insets in change
261 tracking mode [bug 1277] (honour change type in moveItem).
263 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
267 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * BufferView.C (setCursor): change to use a DocIterator.
270 (gotoLabel): use BufferView::setCursor (other part of bug 781).
271 (putSelectionAt): adapt to BufferView::setCursor change.
273 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
274 moved here from LyXText and rewritten to use proper cursor
275 methods. Fixes bug 1787, 616 and 835.
277 * BufferView_pimpl.C (restorePosition): set the cursor correctly
278 when inside an inset (part of bug 781).
279 (dispatch): adapt to change of BufferView::setCursor.
280 (getStatus, dispatch): handle LFUN_GOTOERROR,
281 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
283 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
284 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
285 * text3.C (gotoNextInset, gotoInset): removed.
287 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
291 2005-02-15 Angus Leeming <leeming@lyx.org>
293 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
294 can be used meaningfully in a comparison.
296 2005-02-13 André Pönitz <poenitz@gmx.net>
298 * bufferview_funcs.C (coordOffset): improve cursor drawing
300 2005-02-13 André Pönitz <poenitz@gmx.net>
302 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
303 * Cursor.C (dispatch): use fixIfBroken
304 * lyxfunc.C (getStatus): use fixIfBroken
306 2005-02-15 Angus Leeming <leeming@lyx.org>
308 * lyx_main.C (error_handler):
310 * lyxrc.C (setDefaults):
312 #include "environment.h".
314 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
316 2005-02-15 Angus Leeming <leeming@lyx.org>
318 * lyxserver.C (startPipe): squash MSVC warning "local variable
319 'fd' used without having been initialized".
321 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
323 * BufferView_pimpl.C: revert accidental commit.
325 2005-02-14 André Pönitz <poenitz@gmx.net>
327 * dociterator.[Ch]: new member forwardPosNoDescent(),
328 which doesn't enter nested insets.
329 * text2.C (setFont): use forwardPosNoDescent() instead
330 of ForwardPos() (fixes crash on font change).
332 2005-02-13 Angus Leeming <leeming@lyx.org>
334 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
335 only if lyxrc.path_prefix is not empty.
337 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
339 * bufferparams.C (readGraphicsDriver): prevent crash
341 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
343 * text2.C (setCounter): check for inInset() == 0
345 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
347 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
348 but use update() to get correct screen display; use convert
349 instead of istringstream.
350 (getStatus): handle LFUN_GOTO_PARAGRAPH
352 * lyxfunc.C (dispatch, getStatus): do not handle
353 LFUN_GOTO_PARAGRAPH here.
355 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
357 * text3.C (dispatch): size() -> depth()
359 * text2.C: remove some debug output
361 * paragraph.C: ws changes only
363 * lyxfunc.C (getStatus): size() -> depth()
365 * dociterator.h (clear, push_back, pop_back, internalData,
366 operator[], resize, empty): new functions
367 Make StableDocIterator and operator== be friends. Don't inherit
368 from std::vector use a privat class variable slices_ instead.
371 * dociterator.C: update because of not inheriting from std::vector
372 anymore. Call explictly to slices_ instead. Use depth() instead of
373 size() and top() instead of back()
375 * cursor.C: chagne size() -> depth and back() -> top(). Also
376 remove some direct operator[](i) calls in favour of foo[i]
377 (getFont): remove some dead code
379 * bufferview_funcs.C (coordOffset): size() -> depth()
381 * buffer.C: ws changes only
383 * CutAndPaste.C (eraseSelection): back() -> top()
385 * BufferView_pimpl.C (selectionRequested): back() -> top()
387 * BufferView.C (setCursor): size() -> depth()
389 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
391 * text3.C (cursorPrevious): return true if depm changed something
393 (dispatch): rename sl to oldTopSlice, remove moving use the new
394 NoUpdate func attrib instead. Make sure that needsUpdate is set
395 for function that have NoUpdate, but where depm might have changed
398 * text2.C (cursorLeft): make us return true if depm changed
401 (cursorUpParagraph): ditto
402 (curosrDownParagraph): ditto
403 (cursorUp, cursorDown): ditto, make sure to read comments in code
404 (deleteEmptyParagraphMechanism): remove an assert, also return
405 true if just a single char was deleted.
407 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
408 cursor that we modify, to avoid modifying an active cursor before
409 we call setCursor. This allows depm to run. Also return true if
410 depm deleted something.
412 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
413 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
414 cursorDownParagraph, cursorPrevious and cursorNext, return true if
415 something was changed in the buffer because of them (ie. depm run)
417 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
418 debug messages. Make update by default be false. Make sure that
419 the result of update is retained throught several calls down to
422 * LyXAction.h: add a new func_attrib: NoUpdate
424 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
425 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
426 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
428 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
430 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
433 bv_->owner(), bv_->buffer() by direct references to the private
435 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
436 (getStatus): isSavedPosition() is in BufferView::Pimpl.
437 (fitCursor): center() is in BufferView::Pimpl.
438 (getStatus, trackChanges, dispatch): no need for a temporary buf
440 (fitCursor, workAreaDispatch): use workarea().workheight()
442 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
444 * CutAndPaste.C (pasteSelectionHelper): fix a crash
446 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
448 * buffer.C: format up to 241.
449 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
450 break if pasting into ERT
451 * lyxfunc.C (getStatus): suppress mathpanel and
452 LFUN_DIALOG_SHOW_NEW_INSET in ERT
454 2005-02-01 Angus Leeming <leeming@lyx.org>
456 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
458 2005-02-01 Angus Leeming <leeming@lyx.org>
460 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
461 calling fs::is_directory().
463 2005-01-31 Angus Leeming <leeming@lyx.org>
465 * lyx_main.C (priv_exec): specify explicitly the relative location
466 of the top level build directory when run in-place.
468 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
471 LyXText containing the cursor, not the top-level one.
473 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
475 (insertStringAsLines): rename par to pit; use temporary variable
476 par to hold a Paragraph; do not store par.layout() in a variable,
477 since the pointer may die when breaking paragraphs; pass pars to
478 breakParagraph() instead of Buffer::paragraphs().
480 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
482 * lyxlex_pimpl.h: #include <fstream>.
484 * BufferView.[Ch] (getLyXText): add a const version.
486 * BufferView_pimpl.C: add debug aids.
491 * paragraph_funcs.h: add commentary explaining what the class does.
494 * coordcache.[Ch]: add lots of commentary.
495 (startUpdating, doneUpdating): debug aids.
496 (arrays, insets, parPos, getParPos): accessors to private data.
498 * cursor_slice.[Ch] (text): add a const version.
499 * dociterator.[Ch] (text, innerText): add const versions.
501 * lyxtext.h (breakParagraph): change the keep_layout arg to a
504 * paragraph.C (getRow, pos2ros): add asserts.
506 * paragraph.h: add commentary. Lots of.
508 * paragraph.[Ch] (metrucs, draw): removed.
511 * rowpainter.[Ch]: const-correct changes.
513 * text.C: various obvious clean-ups. Removal of ancient cruft.
516 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
518 * vc-backend.C (find_file): rewrite to use boost.filesystem
521 * main.C (main): set default name check for boost.filesystem to
524 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
527 (actOnUpdatedPrefs): ditto
529 * lyx_main.C (init): rewrite to use boost.filesystem
530 (queryUserLyXDir): ditto
532 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
533 (getContentsOfAsciiFile): ditto
535 * lastfiles.C (readFile): rewrite to use boost.filesystem
537 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
539 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
542 * buffer.C (Buffer): adjust for destroydir
543 (getLogName): rewrite to use boost.filesystem
545 (save): use fs::copy_file (from fs_extras)
547 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
549 * LaTeX.C (run): rewrite to use boost.filesystem
550 (scanAuxFiles): ditto
551 (handleFoundFile): ditto
553 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
555 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
557 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
559 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
561 * lyxlayout.[Ch]: change some vars from float to double
563 * buffer.C (readFile): make a local var const
565 * Several files: use convert<> instead of atoi,strToXXX and friends
567 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
569 * LaTeXFeatures.[Ch]: Add a static list packages_ that
570 holds the contents of packages.lst. New functions getAvailable
571 and isAvailable to parse and check that list, resp.
575 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
577 * bufferparams.[Ch]: new param output_changes.
579 * Buffer.C: increase file format to 240.
580 Use output_changes and isVailable.
584 * paragraph_pimpl.C: Use output_changes and isVailable.
586 2005-01-23 Angus Leeming <leeming@lyx.org>
588 * output_latex.C: #include "insetbibitem.h", rather than
589 forward declare function bibitemWidest.
591 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
593 * lyx_main.C (init): make it compile on the Mac.
595 2005-01-20 Angus Leeming <leeming@lyx.org>
597 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
598 (setLyXMisc): (char string literal) != (char string literal) is
599 performing a comparison on the addresses. Convert one operand
600 explicitly to string to guarantee expected behaviour.
603 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
606 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
608 * output_plaintext.C: remove unneeded #include gzstream.h.
610 2005-01-20 Angus Leeming <leeming@lyx.org>
612 * SpellBase.h: rename some of the elements of the Result enum.
619 * pspell.C (check): ditto
621 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
623 * buffer.C: add #include <fstream>.
625 * lyx_main.C (init): Compile fix.
627 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
629 2005-01-20 Angus Leeming <leeming@lyx.org>
631 * mover.h: change commentary to reflect the changed meaning of
634 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * output_linuxdoc.C (linuxdocParagraphs): silence warning
638 * lyxfind.C (MatchString::operator()): remove bogus semicolon
640 2005-01-20 Angus Leeming <leeming@lyx.org>
642 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
643 printing diagnostic data by not dereferecing an iterator past the
646 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
648 * buffer.C (readHeader): use "&&" rather than "and".
650 * lyxserver.h (inPipeName, outPipeName): make these const.
652 2005-01-19 Angus Leeming <leeming@lyx.org>
654 * lyx_main.C (error_handler, init): protect SIGHUP with
655 #ifdef SIGHUP guards.
657 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
661 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * text.C (setHeightOfRow): add a margin at the top and bottom of
664 the document (bug 1761)
666 2005-01-17 Angus Leeming <leeming@lyx.org>
668 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
669 with "python ". Workaround for a brain-dead Windows.
671 2005-01-16 Angus Leeming <leeming@lyx.org>
673 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
674 for MacOSX and Windows to use prependEnvPath.
675 Strip out the hard-coded block to add elements to the PATH for
676 MacOSX and replace it with a call to prependEnvPath using the
677 contents of LyXRC::path_prefix.
678 (queryUserLyXDir): strip out the code to run reconfigure, instead
679 returning a boolean indicating the necessity to do so.
680 (reconfigureUserLyXDir): contains the code to reconfigure the
681 user support directory. Is now called after the various LyXRC data
682 files have been read.
684 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
686 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
688 * converter.[Ch] (convert): take a new parameter try_default. Use
689 a default converter (imagemagick) if try_default is true.
691 2005-01-13 Angus Leeming <leeming@lyx.org>
693 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
695 (write): output LyXRC::cygwin_path_fix as necessary.
697 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
700 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
702 2005-01-12 Angus Leeming <leeming@lyx.org>
704 * lyx_main.C (init): set the PATH variable to include the
705 directory containing the LyX binary when running on Mac or Windows.
707 2005-01-12 Angus Leeming <leeming@lyx.org>
709 * lyx_main.C (init): remove cruft that purports to set the locale
710 dir. It doesn't and is not needed anyway.
712 2005-01-10 Angus Leeming <leeming@lyx.org>
714 * Makefile.am: remove the lyx_main.C special casing.
716 * BufferView_pimpl.C:
722 * messages.C: use support/package.h to provide the paths to the
723 various directories used by LyX.
725 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
727 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
728 layout if pasting into an empty paragraph)
730 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
732 * tex-accent.C: add <string>
734 2005-01-06 José Matos <jamatos@lyx.org>
736 * ParagraphParameters.C (write): put every parameter in its own line.
737 * paragraph.C (write): reduce number of consecutive empty lines exported.
738 * buffer.C (LYX_FORMAT): increase file format to 239.
740 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
742 * everywhere: change support/tostr.h -> support/convert.h
744 * tabular.C: make all write_attributes templates, tostr -> convert
746 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
747 (emptyTag): and -> &&, and fix type for ret from getChar
748 (getFirstWord): fix type for ret from getChar
749 (onlyText): and -> &&
750 (simpleDocBookOnePar): and not -> && !, fix type for ret from
753 * toc.C (goTo, action):
754 * text3.C (dispatch):
755 * text.C (currentState):
756 * tex-accent.C (DoAccent):
759 * lyxfunc.C (menuNew):
760 * lyxfinc.C (replace):
761 * counters.C (laberItem):
762 * bufferview_funcs.C (font2string):
763 * bufferparams.C (writeFile):
764 * buffer.C (readFile):
766 * MenuBackend.C: tostr -> convert
768 * LaTeX.C (runMessage): fix format
769 (scanAuxFiles): tostr -> convert
771 * BufferView_pimpl.C (savePosition): fix format
772 (restorePosition): ditto
775 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
777 * Spacing.[Ch]: New method getValueAsString().
781 * ParagraphParameters.C:
784 * text3.C: store/read spacing value as string.
786 * rowpainter.C: change float value (spacing_val) to double.
788 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
789 broken custom document spacing).
791 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
793 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
794 namespace, also more use of temp references and const
796 * cursor.[Ch] (getStatus): move to lyxfunc.C
798 * bufferparams.C: reformat slightly
800 * bufferview_funcs.C (font2string): constify arg
806 * buffer_funcs.C: (many funcs): constify arg on function
807 definitions, also make more local vars const, also add ASSERTS on
810 * buffer.C (LYX_FORMAT): put const in correct place
811 (many funcs): constify arg on function definitions, also make
812 more local vars const
814 * aspell_local.h: remove "struct" from typdef setup
816 * aspell.C (check): make word_ok const
817 (nextMiss): simplify slightly
820 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
822 * lyxrc.[Ch]: store all float values as strings.
823 use int (not float) for lyxrc.dpi.
825 2005-01-04 Angus Leeming <leeming@lyx.org>
827 * lyx_cb.C (Reconfigure):
828 * lyx_main.C (queryUserLyXDir):
829 to run the <system_lyxdir>/configure correctly on Windows, prefix
830 the path to the script with "sh " when generating the string that
831 is passed to system().
833 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
835 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
837 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
839 * lyxlength.C (asLatexString): get rid of setprecision
841 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
843 * text2.C (setLayout): remove unused variable endpit.
844 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
846 * paragraph.C (onlyText): remove unused variable style.
848 * cursor.C (bruteFind): remove unused variables beg and end.
850 * Makefile.am (dist_noinset_DATA): not needed anymore
852 * cheaders/*: remove.
854 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
856 * text3.C: fix LFUN_MATH_MODE.
858 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * buffer_funcs.C (countWords): new function. Counts words between
863 * BufferView_pimpl.C (getStatus, dispatch): handle
866 * LyXAction.C (init):
867 * lfuns.h: add LFUN_WORDS_COUNT.
869 2004-12-19 Angus Leeming <leeming@lyx.org>
871 * buffer.C (save): s/slashify_path/internal_path/.
873 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
875 * lyxfind.C (findChange): do not search for end of pars, because
876 the change tracker cannot handle this (fixes bug 1719).
878 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
880 * paragraph.[Ch] (autoBreakRows): remove
882 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
884 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
885 avoid using the paragraph one
887 * text2.C (LyXText, insertStringAsLines): adjust
889 2004-12-16 Angus Leeming <leeming@lyx.org>
893 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
895 2004-12-14 Angus Leeming <leeming@lyx.org>
897 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
899 * bufferlist.C (emergencyWrite):
900 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
903 2004-12-14 Angus Leeming <leeming@lyx.org>
905 * main.C: (main): no longer pass pointers to os::init.
907 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
909 * undo.C (textUndoOrRedo): simplify logic, fix a crash
910 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
912 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
915 * text3.C: remove selection_possible global flag
917 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
919 * text2.C (getSelectionSpan): remove
920 (changeDepth, changeDepthAllowed): adjust
922 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
924 * Makefile.am (BOOST_LIBS): use boost variables
926 2004-12-03 José Matos <jamatos@lyx.org>
928 * buffer.C: format up to 238.
930 2004-12-03 José Matos <jamatos@lyx.org>
932 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
934 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
936 * cursor.C (goUpDown): remove call to idxUpDown2
938 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
940 * tabular.[Ch]: use size_t-like types for cell, row and column
943 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
945 * lyxfunc.C (getStatus): do not lose previous information when
946 calling BufferView::getStatus; do not set a default "Command
947 disabled" message at the beginning, but just before returning.
949 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
951 * cursor.h (getStatus): add better comment from src/cursor.C
953 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
955 * text3.C (getStatus): return false when the lfun is not handled
957 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
959 * broken_headers.h: remove
961 * Makefile.am (lyx_SOURCES): remove broken_headers.h
963 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
965 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
968 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
969 top_y_, merge fitcursor with update
970 (updateScrollbar, scrollDocView, fitCursor, center, update): new
973 (workAreaDispatch): adapt to new coord scheme
974 (redoCurrentBuffer): remove
976 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
978 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
981 * coordcache.[Ch]: add paragraph cache and helpers
983 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
986 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
987 (targetX, setTargetX): introduce
989 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
990 baseline -> ascent, as the rest of lyx
992 * lyxtext.h: remove redoParagraphs, updateParPositions,
993 fullRebreak, redoParagraphInternal. move dist to anon namespace in
994 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
995 have ascent/descent (ascent is ascent of first par)
997 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1000 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1002 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1004 * pariterator.C: fix infinite loop introduced in par->pit renaming
1006 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1007 in insets and LyXText, draw two off-screen paragraphs using
1008 NullPainter, and adapt to new coord scheme
1012 * text3.C: adapt lfun handlers to the new coord scheme, which
1013 means: there's only guaranteed coord information for onscreen pars
1014 plus one above and one below. This implies that one can do search
1015 from y coordinates in the range [-1,workHeight]
1017 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1019 * rename a lot of InsetOld to InsetBase
1021 2004-11-25 Angus Leeming <leeming@lyx.org>
1023 * BufferView_pimpl.C:
1025 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1027 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1029 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1030 call BufferView::getStatus if LCursor::getStatus did nothing
1031 (setStatusMessage, getStatusMessage): removed.
1033 * FuncStatus.C (message): new methods. Used to provide an error
1034 message indicating why a command is disabled.
1035 (clear, |=, FuncStatus): update for message.
1037 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1039 * lyxfunc.C (dispatch): always call sendDispatchMessage
1041 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1044 * BufferView_pimpl.C:
1049 * cursor_slice.[Ch]:
1052 * paragraph_funcs.C:
1058 * undo.C: par->pit renaming
1060 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1062 * tabular.C (cellstruct): use initialization, store a shared_ptr
1063 to insettext instead of the insettext directly, adjust to fit.
1064 (operator=): new function
1065 (swap): new function
1066 (rowstruct): use initialization
1067 (columnstruct): use initialization
1068 (ltType): use initialization
1071 * lyxlength.h (swap): new function
1073 * LColor.[Ch] (operator=): use the common semantics
1075 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1077 * lyxfind.C (findNextChange): update the bufferview after setting
1080 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1082 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1083 number of InsetOptArgs has already been inserted.
1085 * output_latex.C (latexOptArgInsets): new method. This outputs all
1086 the optarg insets, up to the limit defined in the layout file.
1087 (optArgInset): removed
1088 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1090 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1092 * paragraph.C (isLetter): remove special spellchecker-related
1093 code; return true also for digits
1094 (isWord, isKomma): remove
1096 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1097 * lyxfind.C (MatchString()): use isLetter instead of isWord
1099 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1101 * pariterator.h (operatir=): comment out un-implemented member
1104 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1107 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1109 * lyxfont.h: include LColor.h to satisfy concept checks.
1111 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1113 * pariterator.h: add typdefs for value_type, difference_type,
1114 pointer and reference to satisfy concept checks. Also add default
1115 constructor for same reason.
1117 * pariterator.C (operator++): add post-increment operator to
1118 satisfy concept checks.
1120 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1123 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1125 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1126 checks. Also rename base_type to BaseType to follow naming
1129 * FloatList.h: include Floating.h to satisfy concept checks.
1131 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1133 * lyxfunc.C (getStatus): when the origin of the request is menu or
1134 toolbar, and the LyXView does not have focus, do as if there was
1135 no buffer (bug 1720)
1137 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1138 FuncRequest to individual entries of LFUN_SEQUENCE
1140 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1142 * output_latex.C (TeXOnePar): override runparams.moving_arg
1143 according to the needprotect value of the current paragraph (bug
1146 * paragraph.C (simpleTeXOnePar): no need to override
1147 runparams.moving_args here
1149 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1151 * vspace.C: fix off-by-one-error, related to fix #1682
1153 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1155 * lengthcommon.C: a more general fix for bug 1682
1157 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1159 * text.C (backspace): fix crash
1161 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1163 * format.[Ch] (getFormatFromFile): new method
1164 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1166 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1168 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1170 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * lyxfunc.C (dispatch): remove the verbose argument
1173 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1176 * kbmap.C (defkey): set the origin of func to KEYBOARD
1178 * MenuBackend.C (MenuItem):
1179 * ToolbarBackend.C (add): set the origin of func to UI
1181 * funcrequest.[Ch]: add origin member, which indicates which part
1182 of LyX requests an action
1184 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1186 * converter.C (move): don't lie in the error message
1187 * converter.h (isReachable, move): document
1189 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1191 * buffer.C: remove unused using lyx::support::atoi
1192 * paragraph_funcs.C: ditto
1194 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1196 * bufferlist.C (exists): use bind and equal_to instead of
1199 * lyxtextclasslist.C (NumberOfClass): ditto
1201 * cursor.C (insert): use for_each instead of explicit for loop
1203 * bufferlist.C (getFileNames): use std::transform and
1204 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1206 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1209 * buffer.C (changeLanguage): use for_each instead of explicit for
1211 (hasParWithID): implement using getParFromID
1213 * LaTeXFeatures.C: ws change only
1215 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1218 * BufferView_pimpl.C (trackChanges): use for_each instead of
1221 2004-11-04 André Pönitz <poenitz@gmx.net>
1224 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1226 * dociterator.C (asDocIterator): use hard assert again.
1228 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1230 * lyxlength.C (asLatexString): rewrite so that it does not use
1233 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1235 * text3.C (specialChar, dispatch): make sure cursor moves to the
1236 right after inserting an inset
1238 2004-11-02 José Matos <jamatos@lyx.org>
1240 * output_docbook.C (docbook):
1241 * paragraph.C (getID):
1242 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1243 garantee that the output is always legal.
1245 * tabular.C (docbook):
1246 * outputprams.[Ch]: remove mixed contents.
1248 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1250 * text2.C (setCounter): prevent endless loop
1252 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1254 * exporter.C (copyFile): use the mover instead of support::copy()
1255 * exporter.C (Export): pass format and latex name to copyFile()
1256 * exporter.h (addExternalFile): document
1257 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1259 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1261 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1263 2004-10-30 José Matos <jamatos@lyx.org>
1265 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1266 text and no inset or font change. This allows to use CDATA
1267 sections just for the whole paragraph.
1269 2004-10-30 José Matos <jamatos@lyx.org>
1271 * paragraph.C (getFirstWord): remove unused variable.
1273 2004-10-30 José Matos <jamatos@lyx.org>
1275 * paragraph.C (getFirstWord): the content should always be escaped
1277 (simpleDocBookOnePar):
1278 * output_docbook.C (makeEnvironment): replace reference to CDATA
1281 2004-10-30 José Matos <jamatos@lyx.org>
1283 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1285 2004-10-30 José Matos <jamatos@lyx.org>
1287 * output_docbook.C (makeParagraphs):
1288 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1289 standard paragraph has only a given type of content drop the wrapper.
1291 2004-10-29 José Matos <jamatos@lyx.org>
1293 * output_docbook.C (makeEnvironment):
1295 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1297 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1299 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1300 (cleanID): sanitize any id.
1302 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1304 * buffer.C, lyxlex_pimpl.C:
1305 * lyxlex_pimpl.C (setFile):
1306 s/getExtFromContents/getFormatFromContents/
1308 2004-10-28 José Matos <jamatos@lyx.org>
1310 * output_docbook.C (makeEnvironment): move id to broadest possible
1313 * sgml.C (openTag): apply substitution of <> for all attributes.
1315 2004-10-28 José Matos <jamatos@lyx.org>
1317 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1318 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1319 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1321 * sgml.[Ch]: new version for open and closeTag for paragraph and
1322 for strings. Now they handle the ids of paragraphs.
1324 2004-10-26 Angus Leeming <leeming@lyx.org>
1326 * Makefile.am: add mover.[Ch].
1328 * converter.C (convert, move): use the new Movers to move external
1329 files to the temp directory.
1331 * lyx_main.C (init): ensure that the global system_movers data
1334 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1337 * mover.[Ch]: new files, defining a Mover as a utility to move an
1338 external file between directories and, if necessary, manipulate this
1339 file using a helper script.
1341 2004-10-25 José Matos <jamatos@lyx.org>
1343 * output_docbook.C (makeCommand): merge two if's that tested the
1346 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1348 * sgml.C (escapeString): fix warning in a better way
1350 2004-10-25 José Matos <jamatos@lyx.org>
1352 * sgml.C (escapeString): import the require boosts header file for
1353 tie, and avoid a signed unsigned comparison.
1355 2004-10-25 José Matos <jamatos@lyx.org>
1357 * sgml.h: add #include <string>
1359 2004-10-25 José Matos <jamatos@lyx.org>
1361 * sgml.[Ch] (escapeString): new function to escape all the string.
1363 2004-10-24 José Matos <jamatos@lyx.org>
1365 * paragraph.[Ch] (getFirstWord): new function to get the first
1366 word. Useful for description.
1367 (simpleDocBookOnePar): remove depth argument, add another that
1368 says where to start the paragraph.
1370 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1371 use the new functions to fix cleanly the support for descriptions.
1373 2004-10-24 José Matos <jamatos@lyx.org>
1375 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1376 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1377 * output_linuxdoc.C (linuxdocParagraphs):
1378 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1379 add buffer as argument.
1381 2004-10-24 José Matos <jamatos@lyx.org>
1383 * output_docbook.C (makeEnvironment, searchEnvironment): place
1384 CDATA inside paragraphs and fix scope for listitems.
1386 2004-10-24 José Matos <jamatos@lyx.org>
1388 * output_docbook.C: remove using statement for stack.
1390 2004-10-23 José Matos <jamatos@lyx.org>
1392 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1393 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1394 docbook. The new scheme is recursive and makes use of iterators, the
1395 same as latex export works.
1396 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1397 directly with the paragraph contents. This code was moved up to
1398 output_docbook.C (docbookParagraphs).
1399 * sgml.C (openTag, closeTag): removed unneeded newlines.
1400 (closeEnvTags) removed.
1402 2004-10-23 André Pönitz <poenitz@gmx.net>
1404 * undo.C (textUndoOrRedo):
1405 * dociterator.C (asDocIterator): work around crash
1407 * cursor.C (getStatus): replace ASSERT by more verbose error message
1408 and manual correction of the problem. Should increase stability
1409 while providing more sensible information.
1411 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1413 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1415 * bufferlist.C (previous, next): new methods
1418 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1420 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1422 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1423 entities to preamble.
1425 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1427 * messages.C (Pimpl): strip off translation context information
1429 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1431 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1432 the cursor is correct (bug 1694)
1434 2004-10-13 José Matos <jamatos@lyx.org>
1436 * output_docbook.C (docbookParagraphs): fix closing tags in the
1437 end of the document.
1439 2004-10-09 José Matos <jamatos@lyx.org>
1441 * buffer.C: format up to 237.
1442 * bufferparams.C (write): use tostr to convert booleans to strings.
1444 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1446 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1448 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1450 * LaTeX.C: implement use of babel language in xindy.
1452 2004-10-05 José Matos <jamatos@lyx.org>
1454 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1455 Add new translators to help reading and writing the lyx file.
1457 2004-10-05 José Matos <jamatos@lyx.org>
1459 * ParagraphParameters.C (read):
1460 * text.C (readParToken): replace nexToken by more appropriate lex
1463 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1465 * LaTeX.C (runMakeIndex):
1466 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1467 (usually 'makeindex') configurable.
1469 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1470 with a variable rather than with a number.
1472 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1474 * output_latex.C (TeXOnePar): make sure font setting is the first
1475 thing that gets output (and the last at the end). Should fix bug
1478 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1480 * pch.h: use proper signal include
1482 * LaTeX.h: Use preferred calling of Boost.Signal
1485 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1487 * pch.h: dont include <boost/function/function0.hpp>
1489 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1491 * paragraph_pimpl.h: remove usage of ShareContainer
1493 * paragraph_pimpl.C: remove initialization of ShareContainer.
1495 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1499 * BufferView.C (putSelectionAt): change the semantics when
1500 backwards == true: now, this just swaps cursor and anchor wrt the
1503 * BufferView.h (putSelectionAt): add some documentation
1505 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1506 make sure backwardChar is done at least once (to avoid getting
1508 (findNextChange): use putSelectionAt in the forward direction
1509 (operator()): use Paragraph::isWord
1511 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1513 * Spacing.C (set): c_str fix
1515 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1517 * lyx_cb.C (Reconfigure): quote the name of configure script in
1518 case it contains spaces
1520 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1524 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1525 (BOOST_LIBS): use top_buildir when looking for the file
1527 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1529 * pch.h: do not use include boost/format.hpp, multiple symbols
1530 will result (gcc bug)
1533 2004-08-23 José Matos <jamatos@lyx.org>
1535 * bufferparams.C (readToken): fix reading of the author field.
1537 2004-08-20 José Matos <jamatos@lyx.org>
1539 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1541 2004-08-20 José Matos <jamatos@lyx.org>
1543 * lyxlex.[Ch] (findToken): remove function.
1545 * ParagraphParameters.C (findToken):
1546 * bufferparams.C (findToken): replace call for previous function
1547 with local copy. This local function has one more argument, the
1548 read string argument.
1550 2004-08-16 José Matos <jamatos@lyx.org>
1552 * ParagraphParameters.C (write):
1553 * Spacing.C (writeFile):
1554 * bufferparams.C (writeLaTeX):
1555 * lyx_cb.C (Reconfigure):
1556 * paragraph.C (write):
1557 * tabular.C (write): remove unnecessary space at end of line.
1560 2004-08-16 José Matos <jamatos@lyx.org>
1562 * text.C (readParagraph): remove debug message.
1564 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1566 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1569 * output_plaintext.C (asciiParagraph): set depth correctly
1571 * outputparams.h: add member depth
1573 * paragraph_funcs.C (ownerPar): remove.
1575 * text2.C (setCounter): remove first_pit; comment out some
1576 non-working code that uses ownerPar
1578 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1581 2004-08-16 José Matos <jamatos@lyx.org>
1583 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1584 For the same level of importance use the same chanel to report problems.
1585 (read): add code to deal with \begin_body and \end_body.
1588 2004-08-15 José Matos <jamatos@lyx.org>
1590 * lyxlex.C (getString): fix comment, buffer::readBody is now
1591 buffer:readDocument.
1593 * tex-strings.C (string_papersize): Default -> default,
1594 Custom -> custom, for consistency with other options.
1596 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1600 * Makefile.am: support pch
1602 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1604 * text.C (readParToken): remove the static LyXFont variable and
1605 pass it as a parameter instead. This fixes a nasty bug where an
1606 inset will be inserted with a bad font in some situations
1607 (readParagraph): adapt
1609 * text2.C (setCounter): reduce number of calls to pars_[pit]
1611 * text.C (singleWidth): add an assert, fix a test
1613 * rowpainter.C (paintText): reduce number of calls to singleWidth
1615 * paragraph.C (isHfill):
1616 (isNewline): ws only
1618 2004-08-14 André Pönitz <poenitz@gmx.net>
1623 * lyxtext.h (several functions): use a Paragraph & argument
1626 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1628 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1630 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1632 * text.C (singleWidth): remove useless test
1634 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1636 * tabular.h: remove bogus comments
1638 * tabular.C (getDescentOfRow):
1639 (isPartOfMultiColumn): add assertions
1641 * lyxlength.C (inPixels): remove #warning
1643 2004-08-14 André Pönitz <poenitz@gmx.net>
1645 * paragraph.h: inline getChar()
1647 * BufferView.h: remove unused declarations
1649 2004-08-14 José Matos <jamatos@lyx.org>
1651 * Buffer.[Ch] (readDocument): new name for old readBody.
1652 * Buffer.C: new file format, new keywords: \begin_document,
1653 \begin_header, \begin_body, \end_body.
1655 * bufferparams.C (readToken): replace all calls to lex.nextToken
1656 by lex.next(). Do the same to eatLine except where really needed.
1658 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1659 line when writing to the lyx file.
1661 * output_plaintext.C (asciiParagraph): fix Bibliography style
1664 * text.C (read): fix end of file handling.
1666 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1668 * MenuBackend.C (Menu::operator[]): new method to access
1669 individual menu items
1670 (Menu::hasFunc): new method. search for an item that corresponds
1672 (MenuBackend::specialMenu): new method
1673 (MenuBackend::expand): if a special menu has been set, skip
1674 entries whose func() appears in this menu
1676 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1678 * text3.C: use Debug::DEBUG a bit more
1680 * text.C (leftMargin): try to simplify a tiny bit change var x to
1681 l_margin. Dont output the wide margins always.
1682 (rightMargin): no margin in inner texts
1684 * rowpainter.h (nestMargin): new func
1685 (changebarMargin): new func
1686 (rightMargin): new func
1688 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1692 * factory.C (createInset): modify setDrawFrame
1694 * cursor.C: use Debug::DEBUG a bit more
1696 2004-08-14 André Pönitz <poenitz@gmx.net>
1699 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1700 cache for all insets in (at least partially) visible (top-level)
1703 * BufferView_pimpl.C: reset external coord cache before every update.
1704 This means the coord cache only contains valid entries.
1706 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1709 * BufferView_pimpl.C (getInsetByCode): move function out of class
1710 and change in to a template in anon namespace. Also fix to do what
1713 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1716 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1718 (breakParagraph): rename par to par_offset and use a local
1719 reference. Add code to keep the language over a rebreak.
1720 (breakParagraphConservative): rename par to par_offset, use a
1722 (mergeParagraph): ditto
1724 (isFirstInSequence): ditto
1725 (outerFont): rename pit to par_offset
1727 * paragraph.C: ws change
1728 * paragraph.h: ditto
1732 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1734 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1737 * paragraph.C (simpleTeXOnePar): when we have a \item with
1738 optional argument, enclose the argument with curly brackets (in
1739 case it contains a closing square bracket)
1743 * text3.C (checkInsetHit): constify
1745 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1747 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1748 documents (bug 1629)
1750 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1752 Fix toggling of collapsable insets with the mouse (bug 1558)
1754 * lyxfunc.C (dispatch): adapt to LCursor changes
1756 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1757 make sure that dispatch is not invoked twice
1759 * cursor.C (needsUpdate): new method
1760 (dispatch): return void
1761 (result): new method, to access the DispatchResult of the cursor.
1763 2004-08-13 José Matos <jamatos@lyx.org>
1765 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1767 2004-08-13 André Pönitz <poenitz@gmx.net>
1769 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1771 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1774 2004-08-12 André Pönitz <poenitz@gmx.net>
1776 * text3.C: take out the 'cursor right' form insertInset and only
1777 do it in those places when it is really needed. Fixes crash on
1780 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1782 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1784 * BufferView_pimpl.C (setBuffer): initialize the current font of
1785 the underlying LyXText
1787 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1789 * kbsequence.C (print): use UI native formatting for menu
1792 * text.C (insertChar): call Paragraph::insertChar with a font
1795 * paragraph.C (insertInset, insertChar): the version that takes a
1796 LyXFont argument is now a wrapper around the other one (the
1797 opposite used to be true).
1799 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1800 argument. Font setting is done in Paragraph now.
1802 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1804 * outputparams.h: add new members intitle and lang.
1806 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1807 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1809 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1811 * text3.C (dispatch): remove special handling of button 4 and 5,
1812 it is now taken care of in the frontend code.
1814 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1816 * Spacing.h: add <string> (STLPort compile fix)
1818 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1820 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1822 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1824 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1827 * converter.C (showMessage): inherit from unary_function, make
1830 * buffer.C (writeFile): initialize retval
1832 * InsetList.h: rename private variable list to list_
1833 * InsetList.[Ch]: adjust accordingly.
1835 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1837 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1838 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1839 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1840 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1841 * ParagraphParameters.C, LaTeXFeatures.C: replace
1842 "support/std_sstream.h" with <sstream>
1844 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1846 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1847 * lyxsocket.C (LyXServerSocket): ditto
1848 (serverCallback): ditto
1850 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1852 * LaTeXFeatures.C: check release date when loading jurabib.
1854 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1856 * lyxserver.C (startPipe): call register_socket_callback
1857 (endPipe): call unregister_socket_callback
1859 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1861 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1862 (LyXServerSocket): register the callback
1863 (LyXServerSocket): unregister the callback
1864 (fd): delete function
1865 (serverCallback): improve error checking and setup the callbacks.
1866 (dataCallback): change arg to fd.
1867 (writeln): new func (copied fro the client socket) used for server
1869 (LyXDataSocket): simplify
1870 (~LyXDataSocket): close ann unregiser callback
1871 (server): delete function
1872 (fd): delete function
1873 (readln): small changes, improve some std::string usage
1874 (writeln): constify a bit
1876 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1878 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1881 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1883 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1884 after it has been populated
1886 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1888 * text2.C (insertInset): move cursor when inserting inset.
1890 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1892 * kbmap.C (findbindings): a couple of new methods. returns a
1893 container of kb_sequence objects. The real work is done by the
1894 private recursive version
1895 (printbindings): uses findbindings to print out a bracketed list
1896 of bindings (renamed from findbinding).
1898 * MenuBackend.C (binding): use kb_keymap::findbindings
1900 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1902 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1904 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1906 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1908 * paragraph.C (isWord): return true on insets that report
1911 * text.C (getWord): use Paragraph::isWord to decide what is in a
1912 word and what is not; fix bug 1609.
1914 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1916 * tex-strings.C: add "none" to string_paperpackages[], fixes
1917 off-by-one-error in the paperpackage selection.
1920 * tex-strings.[Ch]: char const * string[n]
1921 -> char const * const string[]
1923 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1925 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1926 command, return early.
1928 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1930 * debug.h: add DEBUG to enum and fix size of ANY.
1932 * debug.C: add support for Debug::DEBUG
1933 (showTags): cast errorTags.level to unsigned int
1935 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1936 (redoCurrentBuffer): ditto
1937 (updateScrollbar): ditto
1938 * cursor.C (dispatch): ditto
1939 * text2.C (setLayout): ditto
1941 (updateCounters): ditto
1943 (deleteEmptyParagraphMechanism): ditto
1945 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1947 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1948 annotations to cleanup the Makefile slightly.
1950 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1952 * lyxrc.C: do not set user_email to a default value but use empty
1953 instead. The entry used to be translated, which does not work
1954 since at the point where lyxrc is constructed there is no
1955 translation service available
1957 * messages.C (getLocaleDir): remove and use directly
1958 lyx_localedir() instead
1960 2004-06-02 Angus Leeming <leeming@lyx.org>
1962 Fix crash caused by dereferencing null pointer 'exportdata' in
1963 OutputParams by creating a new ExportData variable on the heap,
1964 storing it in a boost::shared_ptr.
1965 The crash was triggered when generating an Instant Preview
1966 of an external inset.
1968 * Makefile.am: add outputparams.C
1970 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1971 (c-tor): allocate memory to it.
1973 * exporter.C (c-tor): associated changes.
1975 2004-06-01 Angus Leeming <leeming@lyx.org>
1977 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1978 contains data before calling isInset(0). (Bug 1513.)
1980 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1982 * exporter.C (checkOverwrite): new method
1983 * exporter.C (copyFile): new method
1984 * exporter.C (Export): copy referenced files to the document dir
1985 * exporter.[Ch]: new class ExportedFile
1986 * exporter.[Ch]: new class ExportData. Contains currently the
1987 names of referenced external files
1988 * outputparams.h: add exportdata member.
1990 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1992 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1995 2004-05-19 Angus Leeming <leeming@lyx.org>
2000 * lyxfunc.C: small changes due to the introduction of namespace
2001 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2003 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2005 * text3.C (dispatch): supress update when only moving the cursor
2006 * cursor.C (selHandle): remove commented code
2008 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2010 * paragraph.C (startTeXParParams): correct column count
2011 * CutAndPaste.C (pasteSelection): remove const_cast
2012 * output_docbook.C (docbookParagraphs): remove const_cast
2013 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2014 const_cast and return ParagraphList::const_iterator
2015 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2016 * output_plaintext.C (writeFileAscii): remove const_cast
2017 * paragraph.[Ch] (simpleTeXOnePar): make const
2018 * paragraph_funcs.C (outerPar): use const iterators
2019 * paragraph_pimpl.C (validate): use const iterators
2020 * text.C (setHeightOfRow): use const iterators
2022 2004-05-17 Angus Leeming <leeming@lyx.org>
2025 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2027 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2028 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2029 if the citation engine has changed.
2031 2004-05-14 José Matos <jamatos@lyx.org>
2033 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2034 if the textclass does not provide it. Have it different for sgml and
2036 support the language of document.
2037 * output_docbook.C (docbookParagraphs):
2038 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2039 first anchor as the id of the paragraph, remove special case code.
2040 * sgml.C (escapeChar): escape only < & >.
2042 2004-05-14 Angus Leeming <leeming@lyx.org>
2044 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2045 dependencies on src/frontends/controllers/biblio.h. Define a
2046 CiteEngine_enum wrapper class to enable the enum to be forward
2049 2004-05-12 Angus Leeming <leeming@lyx.org>
2051 * buffer.C: up LYX_FORMAT to 234.
2052 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2053 use_numerical_citations with a single biblio::CiteEngine cite_engine
2055 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2057 2004-05-13 José Matos <jamatos@lyx.org>
2060 * converter.C (Converter, readFlags): add xml member.
2061 * outputparams.h: add XML flavor.
2062 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2064 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * lyxfunc.C (dispatch):
2067 (getStatus): fix handling of LFUN_SEQUENCE
2069 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2071 * debug.C (showLevel): do not forget the end-of-line marker
2073 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2075 * kbmap.C (read): do not stop parsing a bind file when an error
2078 2004-04-29 Angus Leeming <leeming@lyx.org>
2083 * text2.C: wrap a bunch of #warning statements
2084 inside #ifdef WITH_WARNINGS blocks.
2086 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2088 * buffer.C: increment format to 233.
2090 2004-04-28 Angus Leeming <leeming@lyx.org>
2092 * BufferView_pimpl.C:
2095 s/updateToolbar()/updateToolbars()/
2096 s/Toolbar.h/Toolbars.h/
2098 2004-04-28 Angus Leeming <leeming@lyx.org>
2100 * BufferView.[Ch] (c-tor):
2101 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2102 No longer passes these data to the WorkArea generator.
2104 2004-04-28 Angus Leeming <leeming@lyx.org>
2106 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2108 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2110 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2112 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2114 * output_latex.C (TeXEnvironment): make sure that there is a line
2115 break before \end{foo} for the last paragraph of a document
2116 (TeXOnePar): if the paragraph is at the end of the document (or
2117 inset) and the language has to be reset, then make sure that the
2118 line break is _before_ the language command, not after (fixes bug
2119 1225); also make sure that the language reset command is the first
2120 thing after the paragraph (to ensure proper nesting of
2121 environments and thus fix bug 1404)
2123 2004-04-21 John Levon <levon@movementarian.org>
2126 * ToolbarBackend.C: make "name" be a programmatic name
2127 and a gui_name field.
2129 * lyxfunc.C: display the minibuffer on M-x
2131 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2133 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2136 2004-04-19 Angus Leeming <leeming@lyx.org>
2138 * BufferView_pimpl.C (setBuffer): changed preview interface.
2140 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2143 2004-04-19 John Levon <levon@movementarian.org>
2145 * BufferView_pimpl.C:
2146 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2148 2004-04-05 Angus Leeming <leeming@lyx.org>
2150 * text.C (redoParagraphs): add call to updateCounters(), thereby
2151 fixing the missing "Figure #:" label from the caption of a
2154 2004-04-13 Angus Leeming <leeming@lyx.org>
2156 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2157 cursor is clicked out of an inset.
2159 2004-04-13 Angus Leeming <leeming@lyx.org>
2161 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2162 than an InsetOld one.
2164 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2166 * format.[Ch]: add editor to Format
2167 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2168 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2170 2004-04-08 André Pönitz <poenitz@gmx.net>
2172 * metricsinfo.h: remove PainterInfo::width member
2174 2004-04-08 Angus Leeming <leeming@lyx.org>
2176 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2177 "\providecommand" rather than "\newcommand", thereby preventing
2178 clashes with packages that define "\boldsymbol" themselves.
2181 2004-04-08 Angus Leeming <leeming@lyx.org>
2183 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2184 thereby squashing an unnecessary warning.
2186 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2188 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2191 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2193 * BufferView.C (setCursor): call redoParagraph (some insets could
2195 (putSelectionAt): remove the 'double update' trick
2197 * BufferView_pimpl.C (fitCursor): call refreshPar
2198 (workAreaDispatch): remove an uneeded update call
2199 (dispatch): remove some manual update calls
2201 * cursor.[Ch]: remove cached_y_, updatePos
2202 (selHandle): set noUpdate when appropriate
2204 * lyxfunc.C (dispatch): track if we need an update
2206 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2208 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2209 (paintSelection): cheap optimization, do not call cursorX when not
2211 (paintPars): change signature
2214 (paintTextInset): adjust
2218 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2220 * lengthcommon.C: compilation fix: remove explicit array size from
2221 unit_name[] and friends
2223 2004-04-05 Angus Leeming <leeming@lyx.org>
2225 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2227 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2228 present only for the preferences dialog.
2229 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2231 2004-04-05 Angus Leeming <leeming@lyx.org>
2233 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2234 to enable the frontends to export changes to lyxrc correctly.
2236 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2238 2004-04-07 André Pönitz <poenitz@gmx.net>
2240 * cursor.[Ch] (selClear, adjust): remove math
2242 * cursor_slice.C: more agressive assert
2245 * BufferView_pimpl.C: rework mouse event dispatch
2252 2004-04-05 André Pönitz <poenitz@gmx.net>
2254 * cursor.[Ch] (valign, halign...): remove unneeded functions
2256 2004-04-05 Angus Leeming <leeming@lyx.org>
2258 * lyxlength.[Ch] (unit_name et al.): const-correct.
2260 2004-04-05 Angus Leeming <leeming@lyx.org>
2262 * BufferView_pimpl.C:
2271 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2273 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2275 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2277 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2279 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2280 * BufferView_pimpl.[Ch] (getStatus)
2281 * BufferView.[Ch] (getStatus): add
2282 * lyxfunc.C (getStatus): move lfuns handled in
2283 BufferView::dispatch to te function above
2284 * Cursor.C (setSelection): set selection() = true
2286 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2288 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2290 2004-03-31 Angus Leeming <leeming@lyx.org>
2292 * lyxfunc.C (dispatch): Fall through to the generic
2293 Dialogs::show("preamble").
2295 2004-03-31 Angus Leeming <leeming@lyx.org>
2297 * lyxfunc.C (dispatch): Fall through to the generic
2298 Dialogs::show("spellchecker").
2300 2004-03-31 Angus Leeming <leeming@lyx.org>
2302 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2305 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2310 * insetiterator.[Ch]:
2315 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2317 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2319 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2320 insets where we are putting the cursor.
2322 2004-03-31 Angus Leeming <leeming@lyx.org>
2325 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2327 * lyxrc.[Ch] (read, write): overloaded member functions taking
2328 a std::[io]stream arguments.
2330 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2332 2004-03-31 Angus Leeming <leeming@lyx.org>
2334 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2335 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2337 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2338 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2340 2004-03-31 Angus Leeming <leeming@lyx.org>
2342 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2343 the LFUN_ALL_INSETS_TOGGLE code.
2345 2004-03-30 Angus Leeming <leeming@lyx.org>
2347 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2348 has died. Fall through to the generic Dialogs::show("document").
2350 2004-03-30 Angus Leeming <leeming@lyx.org>
2353 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2354 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2356 * lyxfunc.C (getStatus, dispatch): define the actions for these
2357 lfuns. Little more than a cut and pste job from ControlDocument.C
2359 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2361 2004-03-30 Angus Leeming <leeming@lyx.org>
2364 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2365 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2367 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2368 open/closed state of ollapsable insets. Usage:
2370 all-inset-toggle <state> <name>, where
2371 <state> == "open" || "closed" || "toggle" and
2372 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2374 * lyxtext.h, text2.C (toggleInset): removed.
2376 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2377 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2378 now passes LFUN_INSET_TOGGLE to the found inset.
2380 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2381 is now invoked as "all-insets-toggle toggle branch".
2383 2004-03-30 Angus Leeming <leeming@lyx.org>
2387 * pariterator.[Ch]: added/corrected header blurb.
2389 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2391 * dociterator.[Ch]: add an inset_ member
2392 (backwardPos): implemented
2393 (backwardPos, forwardPos): use inset_ when the stack is empty.
2394 (doc_iterator_begin, doc_iterator_end): implemented
2395 * pariterator.[Ch]: adjust, add begin, end
2396 * insetiterator.[Ch]: adjust, add begin, end
2400 * BufferView_pimpl.C:
2401 * CutAndPaste.C: adjust
2403 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2405 * buffer.C: increment file format to 232.
2406 * LaTeXFeatures.C: add bibtopic package.
2407 * bufferparams.[Ch]: param \use_bibtopic.
2409 * lyxrc.[Ch]: add lyxrc bibtex_command
2410 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2412 * buffer.C: increment file format to 231.
2414 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2416 * dociterator.C: implement forwardPar
2417 * iterators.[Ch]: remove, replaced by
2418 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2420 * BufferView_pimpl.C:
2423 * bufferview_funcs.C:
2429 * Makefile.am: adjust
2431 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2433 * CutAndPaste.C (pasteSelection): fix 2 crashes
2434 (eraseSelection): fix a crash
2435 * paragraph_funcs.C: remove a warning
2437 2004-03-28 Angus Leeming <leeming@lyx.org>
2440 * LyXAction.C (init): new LFUN_PRINT.
2442 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2444 2004-03-27 Angus Leeming <leeming@lyx.org>
2447 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2449 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2451 2004-03-27 Angus Leeming <leeming@lyx.org>
2453 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2454 insetlist always contains non-null pointers to insets.
2456 2004-03-26 Angus Leeming <leeming@lyx.org>
2458 * src/BufferView_pimpl.C:
2459 * src/CutAndPaste.C:
2462 * src/output_plaintext.C:
2463 * src/outputparams.h:
2464 * src/paragraph_funcs.C:
2468 * src/frontends/controllers/ControlErrorList.C:
2469 * src/frontends/gtk/FileDialogPrivate.C:
2470 * src/frontends/gtk/GPainter.C:
2471 * src/frontends/gtk/GToolbar.C:
2472 * src/frontends/qt2/QRef.C:
2473 * src/mathed/math_scriptinset.C: squash compiler warnings.
2475 2004-03-26 Angus Leeming <leeming@lyx.org>
2477 * ispell.C (LaunchIspell::start):
2478 * lyx_cb.C (AutoSaveBuffer::start):
2479 invoke run(DontWait) rather than runNonBlocking().
2481 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2483 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2485 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2487 * kbsequence.C (print): adjust
2489 * kbmap.C (printKeySym): rename and change signature
2490 (printKey): use LyXKeySym::print()
2492 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2494 * undo.C: add using std::advance to compile for stlport
2496 2004-03-24 Angus Leeming <leeming@lyx.org>
2498 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2499 it leads to a crash when no buffer is present.
2501 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2502 Martin Vermeer <martin.vermeer@hut.fi>
2504 * lyxfunc.C (dispatch):
2505 * bufferparams.C (readToken): use the new LColor::setColor
2507 * LColor.[Ch] (setColor): new version that takes two strings as
2508 argument and creates a new color entry if necessary
2510 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2512 * buffer.C (makeLaTeXFile): if the main latex file that is
2513 processed is usually a subdocument of some master, then pretend
2514 for a while that it is actually the master
2516 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2518 * buffer.C (getLabelList):
2519 (getBibkeyList): use getMasterBuffer()
2520 (getMasterBuffer): new method. Returns the main document in the
2521 case where one is using included documents.
2523 2004-03-25 André Pönitz <poenitz@gmx.net>
2527 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2529 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2531 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2532 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2534 * ParameterStruct.h: merge with ParagraphParameters
2536 * lyxtext.h: remove LyXText::parOffset() and getPar()
2538 * text3.C: Remove all 'manual' update calls. We do now one per user
2539 interaction which is completely sufficient.
2543 * BufferView_pimpl.C:
2544 * FontIterator.[Ch]:
2546 * ParagraphParameters.[Ch]:
2551 * cursor_slice.[Ch]:
2558 * output_docbook.[Ch]:
2559 * output_latex.[Ch]:
2560 * output_linuxdoc.[Ch]:
2561 * output_plaintext.[Ch]:
2563 * paragraph_funcs.[Ch]:
2564 * paragraph_pimpl.[Ch]:
2572 * frontends/controllers/ControlDocument.C:
2573 * frontends/controllers/ControlErrorList.C:
2574 * frontends/controllers/ControlSpellchecker.C:
2577 * insets/insetbase.h:
2578 * insets/insetbibitem.C:
2579 * insets/insetbox.C:
2580 * insets/insetbranch.C:
2581 * insets/insetcaption.C:
2582 * insets/insetcharstyle.C:
2583 * insets/insetcharstyle.h:
2584 * insets/insetcollapsable.C:
2585 * insets/insetcollapsable.h:
2586 * insets/insetert.C:
2587 * insets/insetfloat.C:
2588 * insets/insetfoot.C:
2589 * insets/insetmarginal.C:
2590 * insets/insetnote.C:
2591 * insets/insetoptarg.C:
2592 * insets/insettabular.C:
2593 * insets/insettext.C:
2594 * insets/insettext.h:
2595 * insets/insetwrap.C:
2596 * mathed/math_mboxinset.C:
2597 * mathed/math_nestinset.C:
2598 * mathed/math_scriptinset.C:
2599 * mathed/math_scriptinset.h:
2602 2004-03-24 Angus Leeming <leeming@lyx.org>
2604 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2605 deal with any child processes that have finished but are waiting to
2606 communicate this fact to the rest of LyX.
2608 2004-03-24 Angus Leeming <leeming@lyx.org>
2610 64-bit compile fixes.
2612 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2613 (c-tor): pass lyx::pos_types rather than ints.
2615 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2618 * text.C (Delete): compile fix.
2619 (getPar): ensure that function declaration is the same as that in
2622 2004-03-23 Angus Leeming <leeming@lyx.org>
2624 * ispell.C (LaunchIspell):
2625 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2626 a boost::shred_ptr rather than a std::auto_ptr.
2628 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2630 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2631 handle LFUN_FILE_INSERT_*
2633 * lyxrc.C (setDefaults, getDescription, output, read):
2634 * lyxrc.h: remove ps_command
2636 2004-03-22 Angus Leeming <leeming@lyx.org>
2638 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2639 Ensure that error_handler is processed once only and that all data
2640 is saved before attempting to output any warning messages.
2642 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2644 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2646 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2648 2004-03-19 André Pönitz <poenitz@gmx.net>
2650 * cursor.[Ch] (reset): take main text inset as argument
2652 * BufferView: adjust
2653 * BufferView_pimpl.C: adjust
2655 * paragraph.[Ch]: fix completely broken operator=()
2657 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2659 * LColor.C (getFromLyXName): make sure that the color name is used
2662 2004-03-17 Angus Leeming <leeming@lyx.org>
2665 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2667 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2668 dialog and to kill a forked process.
2670 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2672 * text2.C (setCursorFromCoordinates): fix font problem
2674 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2676 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2677 bogus "rebuild cursor" code
2679 2004-03-11 André Pönitz <poenitz@gmx.net>
2681 * buffer.[Ch]: use InsetText instead of LyXText as container for
2684 * dociterator.[Ch]: drop the BufferView * member which is not needed
2685 anymore after the change to buffer.C
2687 * paragraph_funcs.C:
2691 * BufferView_pimpl.[Ch]:
2693 * cursor_slice.[Ch]: adjust
2695 * text3.C: fix bug in mathDispatch
2697 2004-03-08 André Pönitz <poenitz@gmx.net>
2699 * undo.[Ch]: use 'StableDocumentIterator' as base for
2702 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2705 * bufferparams.[Ch]: add jurabib support and param.
2707 * LaTeX.C: add FIXME/comment.
2709 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2711 * buffer.C: increment file format to 230.
2713 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2715 * cursor.C (dispatch): avoid infinite loops
2717 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2719 * rowpainter.C (paintSelection): fix x coordinates
2721 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2723 * text.C (rowBreakPoint): fix breaking before displayed insets
2725 2004-03-01 André Pönitz <poenitz@gmx.net>
2727 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2729 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2733 * BufferView_pimpl.C:
2741 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2747 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2748 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2750 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2752 * Bidi.[Ch] (computeTables): const correctness
2753 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2754 fill_hfill, fill_label_hfill and x from Row
2755 * lyxtext.h: prepareToPrint returns a RowMetrics
2756 * rowPainter.C: adjust
2757 * text.C (prepareToPrint): use width, not textWidth. adjust
2758 (redoParagraphInternal, cursorX): adjust
2759 * text2.C (getColumnNearX): adjust
2760 (init): put a default value to the top LyXText::width
2762 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2764 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2766 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2768 * lyxtext.h: add FontIterator class
2770 * text.C (FontIterator, operator*, operator->, operator++): add
2771 (rowBreakPoint, setRowWidth): adjust (fixing a
2774 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2776 * BufferView_pimpl.C (workAreaDispatch): allow also
2777 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2779 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2781 * text.C (rowBreakPoint): fix a bug showing with very large insets
2783 2004-02-25 André Pönitz <poenitz@gmx.net>
2786 * cursor.[Ch]: move some mathed specific code to mathed
2788 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2790 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2791 use_tempdir in preferences
2792 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2794 * lyx_main.C: ensure that tempdir is valid
2795 * lyxlex.h: correct typo
2796 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2797 * paragraph.[Ch] (isMultiLingual): make const
2798 * cursor.[Ch] (openable): make const
2800 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2802 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2804 2004-02-20 André Pönitz <poenitz@gmx.net>
2806 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2808 * cursor.[Ch]: prepare for localized getStatus()
2814 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2816 2004-02-20 André Pönitz <poenitz@gmx.net>
2818 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2820 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2822 * text2.C (setCursorFromCoordinates): switch to absolute coords
2824 (cursorDown): adjust
2825 * text3.C (dispatch): adjust
2827 2004-02-16 André Pönitz <poenitz@gmx.net>
2829 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2832 * cursor_slice.[Ch]: remove unneeded acessor function
2834 * lyxtext.h: rename rtl() to isRTL()
2842 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2844 * rowpainter.C (paintSelection): coord fix
2846 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2848 * Spacing.C: compile fix
2850 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2852 * cursor.C (dispatch): restore current_ before returning
2854 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2856 * text2.C (cursorUp, cursorDown): fix coords
2859 2004-02-12 André Pönitz <poenitz@gmx.net>
2864 * text3.C: add LCursor & parameter to most cursor movement functions
2865 remove usage of LyXText::cursorRow() and cursorPar()
2867 * cursor.[Ch]: add textRow() needed members
2870 * BufferView_pimpl.C:
2873 * BufferView_pimpl.C: adjust
2875 2004-02-11 André Pönitz <poenitz@gmx.net>
2879 * BufferView_pimpl.C: shift undo/redo handling
2881 * cursor.[Ch]: fix mathed crash
2884 * lyxtext.h: move selectionAsText to LCursor
2892 * rowpainter.C: fix excessive drawing
2894 2004-02-06 André Pönitz <poenitz@gmx.net>
2897 * BufferView_pimpl.[Ch]:
2898 * text3.C: move some text specific LFUN handling
2900 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2902 * text3.C (checkInsetHit): adjust coords
2903 * text2.C (getColumnNearX): adjust coords
2904 (edit): adjust coords
2905 * text.C (getRowNearY): add two asserts
2907 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2910 * format.C: add using std::distance to compile on gcc 2.95/stlport
2912 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2914 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2916 2004-02-04 André Pönitz <poenitz@gmx.net>
2918 * BufferView.[Ch] (insertInset):
2919 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2924 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2926 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2927 on the default clause of the switch
2928 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2929 wasn't catched by LCursor::dispatch
2931 2004-02-03 André Pönitz <poenitz@gmx.net>
2934 * cursor.[Ch]: some additional asserts
2936 * undo.[Ch]: remove LyXText dependency in interface
2940 * lyxtext.h (firstPar, lastPar): remove dead functions
2945 * paragraph.[Ch]: adjust
2947 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2949 * lyxfind.C (find): fix argument order in call to ::find
2951 2004-02-02 André Pönitz <poenitz@gmx.net>
2953 * cursor.[Ch]: remove direct access to anchor
2955 * text.C: remove findText() hack
2957 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2959 * iterators.[Ch] (lockPath): remove in favour of...
2960 * BufferView.[Ch] (setCursor): this addition
2961 * BufferView.C (putSelectionAt): adjust
2962 * undo.C (performUndoOrRedo): adjust
2963 * lyxfunc.C (dispatch): adjust
2965 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2967 * iterators.C (lockPath): add a missing slice
2968 * undo.C (performUndoOrRedo): remove redundant positioning code
2970 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2972 * vc-backend.C (scanMaster): ";" -> ';'
2974 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2976 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2977 std::binary_function
2979 * lyxtextclass.C (compare_name): rename to...
2980 (LayoutNamesEqual): ...this
2982 * lyxlex_pimpl.C (compare_tags): inherit from
2983 std::binary_function, put back into anon namespace
2985 * lyxfind.C (MatchString): inherig from std::binary_function
2986 (findChange): use empty() istead of !size()
2988 * format.C (FormatNamesEqual): new functor
2995 * converter.C (compare_Converter): rename to...
2996 (ConverterEqual): ...this, and fixup a bit.
2997 (getConverter): use it, and make function const
2998 (getNumber): use it, and make function const
3002 * bufferlist.C: add using boost::bind
3004 * MenuBackend.C (MenuNamesEqual): new functor
3005 (hasMenu): use it, and make function const
3006 (hasSubmenu): use nested bind to get rid of compare_memfun.
3008 2004-01-30 André Pönitz <poenitz@gmx.net>
3010 * BufferView_pimpl.C:
3013 * cursor_slice.[Ch]:
3016 * paragraph_funcs.C:
3017 * paragraph_funcs.h:
3021 * text3.C: move some of the edit(x,y) handling to the insets
3022 some coordinate changes.
3024 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3026 * text.C: add using statements for std::advance and std::distance
3028 * paragraph.C: add using statement for std::distance
3030 * lyxfind.C: add using statement for std::advance
3032 * cursor.C (region): remove std:: from swap
3033 (openable): use nucleus in stead of operator->
3035 * BufferView.C: add using statements for std::distance and std::swap
3037 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3039 * iterators.C: Remove the pimple, move the needed structures to
3040 the header file. Create accessor for the positions stack.
3041 (asPosIterator): remove function
3043 * PosIterator.C (PosIterator): move constructors to top of file
3044 (PosIterator): reimplement the constructor taking a ParIterator in
3046 (setFrom): new function
3047 (operator!=): inline it
3049 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3051 * lyxfind.C (replaceAll): use std::advance
3053 * iterators.h: inherit from std::iterator.
3055 * PosIterator.C (advance, distance): remove
3056 * PosIterator.h: interit from std::iterator.
3058 2004-01-26 André Pönitz <poenitz@gmx.net>
3061 * BufferView_pimpl.[Ch]:
3065 * bufferview_funcs.C:
3075 * output_linuxdoc.C:
3076 * output_plaintext.C:
3078 * paragraph_funcs.[Ch]:
3079 * paragraph_pimpl.[Ch]:
3085 * text3.C: more IU: dumps most of the rest of the mathcursor
3086 implementation into cursor.[Ch]; "globalize" a bit of it.
3088 2004-01-25 Angus Leeming <leeming@lyx.org>
3090 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3092 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3094 * LaTeXFeatures.h: add nice_ and nice() const
3095 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3097 2004-01-20 André Pönitz <poenitz@gmx.net>
3100 * BufferView_pimpl.C:
3102 * bufferview_funcs.C:
3104 * cursor_slice.[Ch]:
3115 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3116 LCursor and mathcursor parts to LCursor and InsetBase.
3118 2004-01-15 André Pönitz <poenitz@gmx.net>
3120 * cursor_slice.[Ch]: add a few covienience functions
3122 * funcrequest.[Ch]: remove BufferView * member
3124 * BufferView_pimpl.C:
3131 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3133 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3135 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3136 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3138 2004-01-13 André Pönitz <poenitz@gmx.net>
3141 * lyxtext.h: hide cursor and selection anchor behind accessor function
3144 * BufferView_pimpl.[Ch]:
3146 * bufferview_funcs.C:
3156 * cursor_slice.[Ch]: some integer type changes for inset unification
3158 * lyxcursor.[hC]: remove, it's CursorSlice now.
3161 * BufferView_pimpl.[Ch]:
3162 * bufferview_funcs.C:
3168 * textcursor.[Ch]: adjust
3170 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3172 * text2.C (undoSpan): add and use
3173 * text.C (breakParagraph): use undoSpan (fix bug 578)
3176 2004-01-08 Angus Leeming <leeming@lyx.org>
3178 * BufferView_pimpl.C (MenuInsertLyXFile):
3179 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3180 * lyxfunc.C (menuNew, open, doImport):
3181 FileFilterList change to the FileDialog open and save functions.
3183 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3185 * ShareContainer.h: make isEqual and isUnique adaptable
3187 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3189 2004-01-07 Angus Leeming <leeming@lyx.org>
3192 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3194 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3196 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3197 functions replacing find, replace and replaceAll.
3199 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3200 LFUN_WORDFIND(FORWARD|BACKWARD).
3202 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3204 * text.C (breakParagraph): remove an outdated #warning
3206 2004-01-07 André Pönitz <poenitz@gmx.net>
3208 * lyxfind.C: somewhat clearer logic
3210 * text.C: prevent crash in cursorX on unitialized row cache
3212 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3214 * lyxcursor.[Ch] (operator>): add
3215 * textcursor.C (selStart, selEnd): use std::min and std::max
3217 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3219 * Chktex.C: include boost/format.hpp
3221 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3223 * InsetList.C: replace functor MathcIt with adaptable functor
3225 (insetIterator): modify accordingly
3227 * BranchList.h: move the BranchNamesEqual functor here from...
3228 * BranchList.C: ... to here
3230 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3232 (add): replace a finding loop with std::find_if.
3234 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3236 * output_docbook.C: moving LatexParam functionality into
3239 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3241 * buffer.C: increment format to 229.
3243 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3246 * lyx_sty.[Ch]: remove minipageindent_def
3252 * text3.C: remove LFUN_INSET_MINIPAGE
3254 2003-12-28 Angus Leeming <leeming@lyx.org>
3256 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3258 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3260 * text2.C (setParagraph): fix off-by-one crash
3262 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3264 * output_docbook.C: header stuff for AGU
3266 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3268 * text2.C (redoCursor): remove
3271 * BufferView_pimpl.C: remove calls to redoCursor and
3272 setCursor(cursor.par(), cursor.pos()) all around
3274 2003-12-15 Angus Leeming <leeming@lyx.org>
3276 * buffer.C: up the format to 228.
3278 2003-12-15 André Pönitz <poenitz@gmx.net>
3280 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3285 * BufferView_pimpl.C:
3294 2003-12-15 Angus Leeming <leeming@lyx.org>
3296 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3297 than getFromGUIName to manipulate the color.
3299 2003-12-14 Angus Leeming <leeming@lyx.org>
3301 * BranchList.[Ch]: minimize the API.
3302 (Branch::getBranch, getColor): now return a 'const &'.
3303 (Branch::setSelected) now returns a bool set to true if the
3304 selection status changes.
3305 (BranchList::clear, size, getColor, setColor, setSelected,
3306 allBranches, allSelected, separator): removed.
3307 (BranchList::find): new functions, returning the Branch with
3309 (BranchList::add, remove): return a bool indicating that
3310 the operation was successful.
3312 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3313 new InsetBranch::isBranchSlected member function.
3315 * LColor.[Ch]: mimimize the API.
3316 (fill): renamed as addColor and made private.
3317 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3318 versions of these functions taking a string arg have been removed.
3320 * bufferparams.C (readToken):
3321 * lyxfunc.C (dispatch):
3322 * lyxrc.C (read): changes due to the altered BranchList and
3325 * factory.C (createInset, readInset): changes due to altered
3328 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3331 * lyxfunc.C: remove insetminipage. "minipage-insert"
3332 now produces a frameless minipage box inset.
3334 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3336 * textcursor.[Ch] (selStart,selEnd): add new methods
3337 remove selection::start, end, use LyXCursor::operator<
3338 * lyxcursor.[Ch] (operator<): add
3339 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3340 * BufferView.[Ch] (unsetXSel): add
3341 * text2.C (clearSelection): use unsetXSel,adjust
3344 * rowpainter.C: adjust
3345 * bufferview_funcs.C (put_selection_at): adjust
3347 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3349 * BufferView_pimpl.C: small coord. correction
3351 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3353 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3354 dragging over the splash screen.
3356 2003-12-11 Angus Leeming <leeming@lyx.org>
3358 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3359 as it is now handled in LyXText::dispatch.
3361 * text3.C (doInsertInset): remove a level of nesting.
3363 2003-12-11 Angus Leeming <leeming@lyx.org>
3365 * factory.C (createInset): changes due to the changed interface to
3366 InsetCommandMailer::string2params.
3368 2003-12-10 Angus Leeming <leeming@lyx.org>
3370 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3371 'dialog-show-new-inset <inset name>'
3373 2003-12-10 Angus Leeming <leeming@lyx.org>
3375 * buffer.C: up the format to 227.
3377 * factory.C: the box inset is now identified simply by 'Box'.
3379 2003-12-10 Angus Leeming <leeming@lyx.org>
3381 * buffer.C: up the format to 226.
3383 * factory.C: the note inset is now identified simply by 'Note'.
3385 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3387 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3388 when a pit is enough. Standarize a couple of loops.
3390 2003-12-05 Angus Leeming <leeming@lyx.org>
3392 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3393 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3394 data to the re-worked "log" dialog.
3396 2003-12-03 André Pönitz <poenitz@gmx.net>
3402 * paragraph_funcs.C:
3404 * text2.C: use Inset::getText instead of Inset::getParagraph
3406 2003-12-03 André Pönitz <poenitz@gmx.net>
3410 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3411 InsetText::read() as LyXText::read()
3413 2003-12-02 Angus Leeming <leeming@lyx.org>
3415 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3416 type. Add a comment in the implementation that the function uses
3417 the stream's bad() function rather than fail() as the std::streams
3420 2003-12-02 André Pönitz <poenitz@gmx.net>
3422 * lyxlex.[Ch]: make interface more similar to std::stream
3424 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3426 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3428 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3430 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3432 * vspace.[Ch]: remove VSpace::NONE
3434 2003-12-01 André Pönitz <poenitz@gmx.net>
3437 * lyxtext.h: move ParagraphList member to LyXText
3438 rename LyXText::ownerParagraphs to LyXText::paragraph
3441 * bufferview_funcs.C:
3451 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3453 * undo.C: fix cursor positioning
3455 2003-12-01 John Levon <levon@movementarian.org>
3457 * BufferView_pimpl.C: fix a crash on exit with
3460 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3462 * BranchList.C: fix setSelected() method.
3464 2003-11-28 André Pönitz <poenitz@gmx.net>
3466 * ParagraphParameters.[Ch]:
3467 * ParameterStruct.h: remove space above/below from Paragraph to
3470 * BufferView_pimpl.C:
3476 * paragraph_funcs.C:
3482 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3484 * factory.C: Syntax change for CharStyles
3486 2003-11-28 André Pönitz <poenitz@gmx.net>
3491 * buffer.[Ch]: move LyXText member
3493 2003-11-28 André Pönitz <poenitz@gmx.net>
3495 * BufferView.[Ch]: make LyXText * text a private member
3497 * BufferView_pimpl.C:
3508 * output_plaintext.C: cleanup
3510 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3513 * lyxtextclass.[Ch]: parametrize SGML document header
3515 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3518 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3521 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3523 * text2.C (setFont): rework using PosIterator (no more recursive)
3524 (setCharFont): no more needed
3525 (setLayout): no more selection cursors fiddling (done by redoCursor)
3526 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3527 destroy remaining ones)
3529 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3531 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3533 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3536 * text3.C: adjust + re-allow multi par depth changes
3537 * textcursor.C: simplify a bit
3539 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3545 * src/output_docbook.C:
3546 * src/output_latex.C:
3551 * src/text2.C: Introducing a number of tags parametrizing various
3552 XML formats that we may want to support
3554 2003-11-25 André Pönitz <poenitz@gmx.net>
3556 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3558 * lyxtext.h (leftMargin/rightMargin): simplify interface
3565 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3567 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3568 master file to any child files. Fixes bug 546.
3570 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3572 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3574 2003-11-24 André Pönitz <poenitz@gmx.net>
3576 * rowpainter.C: simplification
3578 * text2.C (updateCounters): remove call to redoParagraph on
3579 changed labels as this is far too expensive.
3581 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3583 * converter.C (convert): fix a crash: this function gets
3584 called with buffer == 0 from importer code.
3586 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3588 * text3.C (cursorPrevious): make sure that we do not compare
3589 iterators form different containers.
3592 * rowpainter.C (paintSelection): make sure that we do not compare
3593 iterators from different containers.
3595 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3596 iterators from different ParagraphList containers.
3599 * text2.C (LyXText): change order of initialization slightly
3600 (operator=): new function. copy all variables except cache_par_
3601 (moveUp): make sure that we do not compare iterators from
3602 different ParagraphList constainers.
3605 * text.C (firstPar): new function
3606 (lastPar): new function
3607 (endPar): new function
3609 * lyxtext.h: move things around and group public functions, public
3610 variables, private functions, private variables
3612 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3614 * factory.C: change call to InsetERT constructor to avoid
3615 additional invocation of method status
3616 * text2.C (toggleInset): remove redundant update() call
3617 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3618 instead of a Bufferview pointer
3620 2003-11-21 André Pönitz <poenitz@gmx.net>
3622 * rowpainter.C: simplification
3624 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3626 * text3.C (dispatch): make possible to extend a word/row selection
3629 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3631 * lyxtext.h: x0_,y0_ -> xo_,yo_
3632 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3633 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3634 * rowpainter.C (paintRows): paint full paragraphs
3636 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3638 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3641 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3643 * lyxtext.h: add x0_, y0_
3644 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3645 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3647 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3649 * text2.C (setCursorIntern): move the x_target update here *
3650 * text3.C: change some bv() to true/false in calls to
3651 cursorUp/Down/Right/Left
3652 * cursor.C: use helper function.
3654 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3656 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3657 * paragraph_funcs.[Ch]: correct comment
3658 * rowpainter.C: do not paint selections away from bv->cursor()
3659 Fix a long standing selection painting bug.
3660 * text3.C: generalize mouse-selection code to LyXTexts other that
3662 * textcursor.C: do not use y coords if we can use par offsets
3664 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3666 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3667 cursor position after e.g. inset insert)
3669 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3671 * lyxfind.C (replace): adjust to locking removal + some
3674 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3676 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3679 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3682 * output_docbook.C: XML sanitation: new layout
3683 parameters InnerTag and CommandDepth
3685 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3687 * BufferView_pimpl.C:
3689 * text3.C: Fix the insertion and modification of button-style
3692 2003-11-13 André Pönitz <poenitz@gmx.net>
3694 * InsetList.[Ch]: remove deleteLyXText
3696 * paragraph.[Ch]: cache beginOfBody position
3701 * text3.C: remove superfluous update() calls
3705 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3707 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3708 * BufferView.C (fitLockedInsetCursor): remove
3709 * cursor.[Ch] (getDim): add
3710 * text.C (getRowNearY): add faster version
3711 * text3.C: remove some update calls
3713 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3725 * text3.C: The Character Style /XML short element patch.
3727 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3730 * factory.C: Small step to solving 'unable to insert some insets'
3733 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3735 * cursor.[Ch] (updatePos): new function for updating the y
3736 position of the tip inset
3737 * bufferview_funcs.C (put_selection_at):
3738 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3740 2003-11-11 André Pönitz <poenitz@gmx.net>
3742 * text.C: remove big comment on invalid Paragraph pointers as it is
3745 2003-11-11 André Pönitz <poenitz@gmx.net>
3747 * text_funcs.[Ch]: merge with ...
3755 * Makefile.am: remove text_funcs.[Ch]
3757 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3759 * cursor.C (getPos): return absolute cached y coord
3761 * BufferView_pimpl.C (fitCursor): new simplistic code
3762 (workAreaDispatch): add a fitCursor call
3764 2003-11-10 André Pönitz <poenitz@gmx.net>
3767 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3769 2003-11-10 André Pönitz <poenitz@gmx.net>
3771 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3772 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3773 indicate that the cursor needs to leave an inset
3775 * lyxtext.h: remove inset locking
3777 * cursor.[Ch]: re-implement functionality provided by inset locking
3780 * BufferView_pimpl.[Ch]:
3782 * bufferview_funcs.[Ch]:
3794 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3796 * PosIterator.[Ch]: replace the stack with a vector, add inset
3798 * iterators.[C]: adjust
3800 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3802 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3804 * paragraph_funcs.C (readParToken): put the correct id in the
3805 error item, not the id of the top paragraph
3807 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3809 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3810 * bufferview_funcs.C (put_selection_at): use the above
3812 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3814 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3816 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3818 * output_linuxdoc.h:
3819 * output_plaintext.h:
3821 * output_docbook.h: add #include statements
3823 2003-11-05 José Matos <jamatos@lyx.org>
3825 * output_docbook.[Ch]:
3826 * output_latex.[Ch]:
3827 * output_linuxdoc.[Ch]:
3828 * output_plaintext.[Ch]: New files for output formats.
3829 * output.[Ch]: New file for helper functions.
3832 * paragraph_funcs.[Ch]: output functions moved to new files.
3834 * outputparams.h: rename of latexrunparams.h
3842 * paragraph_funcs.[Ch]:
3843 * paragraph_pimpl.[Ch]:
3844 * tabular.[Ch]: rename ascii to plaintext
3845 and LatexRunParams to OutputParams.
3847 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3849 * iterators.[Ch] (text): require bv argument
3850 * undo.C (recordUndo):
3851 * lyxfunc.C (dispatch):
3852 * bufferview_funcs.C (put_selection_at): adjust
3854 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3856 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3858 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3860 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3863 2003-11-04 André Pönitz <poenitz@gmx.net>
3865 * cursor.[Ch]: restructure
3868 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3870 * iterators.[Ch] (asCursor): remove
3872 * lfuns.h: remove LFUN_INSET_EDIT
3878 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3880 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3882 * lyxfind.[Ch]: complete overhaul
3883 * BufferView_pimpl.C:
3885 * paragraph.[Ch] (insert): add
3887 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3891 * text.C: remove dead spellcheck code
3893 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3895 * dispatchresult.h: add a val setter
3897 * cursor.C (dispatch): use a tempvar for data_[i]
3899 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3901 * PosIterator.[Ch]: compile fix
3903 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3905 * text.C (cursorPar): deactivate the cursor cache
3907 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3909 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3911 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3913 * text3.C (dispatch): adjust for new DisptchResult semantics.
3915 * lyxfunc.C (dispatch): handle update when return from
3916 Cursor::dispatch, adjust for new DispatchResult semantics.
3918 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3919 DispatchResult(true) mean to not update. Add class functions for
3920 setting dispatched and update, as well as reading.
3922 * cursor.C (dispatch): don't handle update here
3924 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3927 * trans_mgr.C: adjust
3929 * paragraph_funcs.C (readParToken): exception safety
3931 * lyxvc.h: store the vcs pointer in a scoped_ptr
3934 * lyxsocket.C (serverCallback): exception safety
3936 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3938 * ispell.C (clone): make it return a auto_ptr
3940 * factory.C (createInset): exception safety
3941 (readInset): exception safety
3943 * bufferlist.C (newBuffer): exception safety
3945 * Thesaurus.C (Thesaurus): use initialization for aik_
3947 * MenuBackend.C (expandToc): exception safety.
3949 2003-11-03 André Pönitz <poenitz@gmx.net>
3953 * bufferview_funcs.C: remove getInsetFromId()
3956 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3962 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3964 * PosIterator.C (distance, advance): new
3965 * bufferview_funcs.[Ch] (put_selection_at): new
3966 * iterators.[Ch] (lockPath): new
3968 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3970 * iterators.[Ch] (asPosIterator): added
3971 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3972 * PosIterator.[Ch]: added
3974 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * cursor.C (dispatch):
3979 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3981 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3982 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3983 contructor, add a class function dispatched. Remove operator>=
3985 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * debug.C: only use the default constructor for debugstream
3990 * main.C (main): include debug.h and setup the lyxerr streambuf
3993 2003-10-31 José Matos <jamatos@lyx.org>
3995 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3997 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3998 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3999 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4000 * paragraph_pimpl.C (simpleTeXSpecialC):
4001 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4002 add LatexRunParams argument.
4004 * exporter.C (Export): change call accordingly.
4006 * latexrunparams.h: add new member to take care of the other backends.
4007 2003-10-30 José Matos <jamatos@lyx.org>
4009 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4010 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4011 factorise code for paragraph output.
4013 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4016 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4018 * text3.C (dispatch):
4019 * lyxfunc.C (dispatch):
4020 * cursor.C (dispatch):
4021 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4023 * dispatchresult.h: make the dispatch_result_t ctor explicit
4025 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4028 * buffer.C: small refactoring of docbook stuff
4030 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4032 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4035 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4037 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4038 operator dispatch_result_t, and operators for == != and >=
4040 * cursor.C (dispatch): adjust for operator dispatch_result_t
4041 removal. comment out call to update
4043 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4045 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4053 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4056 * dispatchresult.h: new file, DispatchResult broken out of
4059 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4061 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4063 * text.C (rowBreakPoint): put a hack inside #if 0
4065 2003-10-28 André Pönitz <poenitz@gmx.net>
4069 * paragraph_funcs.C:
4072 * text2.C: general cleanup (lots of small stuff)
4074 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4076 * text2.C (cursorEnd): simple fix to the "end key goes to one
4077 before the end on last row" bug
4079 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4081 * text.C (backspace): fix the "zombie characters"
4083 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4085 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4087 2003-10-27 André Pönitz <poenitz@gmx.net>
4089 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4091 * factory.C: handle new InsetPagebreak, InsetLine
4093 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4094 and move handling into new InsetPagebreak, InsetLine
4096 * BufferView_pimpl.C:
4098 * ParagraphParameters.C:
4099 * ParameterStruct.h:
4104 * paragraph_funcs.C:
4105 * paragraph_pimpl.C:
4111 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4114 * lyxrow_funcs.[Ch]:
4120 * text3.C: remove lastPos uses in favour of Row::endpos
4122 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4124 * undo.C (performUndoOrRedo): fix two crashes by setting a
4125 cursor by hand and reordering some calls. Use bv->lockInset instead
4126 of inset->edit because the latter loses cursor information
4128 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4130 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4132 (rowBreakPoint): fix width. change point to point + 1.
4133 Add a missing check.
4135 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4138 * lyxfunc.C: fix (at least partly) the problems
4139 with the Nav menu and headers inside branch insets
4142 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4144 * paragraph.C (getChar): add strong asserts
4146 * lyxrow_funcs.C (lastPos): remove hideous hack
4148 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4149 (fill): adjust to that (avoid an infinite loop)
4151 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4153 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4155 2003-10-23 André Pönitz <poenitz@gmx.net>
4157 * RowList_fwd.h: change list<> to vector<> to gain speed
4158 after suggestion from Alfredo
4160 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4162 * lyxtext.h: move the bidi stuff from here...
4165 * Bidi.[Ch]: ... to here
4167 2003-10-23 André Pönitz <poenitz@gmx.net>
4170 * text.C (isLastRow, isFirstRow): new functions
4172 * paragraph.h: new width cache member
4174 * rowpainter.C: replace RowList::iterator with Row & where possible
4176 * lyxfunc.C: replace several view()->text with a single call
4178 * toc.C: fix 'unused' warning
4180 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4182 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4183 when woring with stream::pos_type
4184 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4186 2003-10-22 André Pönitz <poenitz@gmx.net>
4189 * text.C: use Row & instead of RowList::iterator
4191 * lyxrow.h: rename end() to endpos()
4197 2003-10-22 Angus Leeming <leeming@lyx.org>
4199 * buffer.[Ch] (fully_loaded): new member function, returning true
4200 only when the file has been loaded fully.
4201 Used to prevent the premature generation of previews and by the
4202 citation inset to prevent computation of the natbib-style label.
4204 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4205 templates are all set up.
4207 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4209 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4211 * text.C: fixed an "oops" in the "is a bit silly"
4214 2003-10-21 André Pönitz <poenitz@gmx.net>
4216 * FuncStatus.[Ch]: small stuff, whitespace
4218 * lyxfont.[Ch]: operator<<() for debug reasons
4222 * lyxtext.h: whitespace, spelling
4224 * paragraph.C: naming of variables
4227 * text2.C: small stuff
4230 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4232 * text.C: (1) finish off the inset display() work;
4233 (2) fix the "is a bit silly" bug (accessing char
4236 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4238 * text.C: re-introduce display() for insets, fixing the
4239 various bugs (stretch of line above, math inset
4242 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4244 * text.C (rightMargin): remove spurious semicolon
4246 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4249 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4251 * text3.C: fix one crash due to wrong cursor def
4253 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4255 * vc-backend.C (scanMaster): make the regex static
4257 * LaTeX.C (scanAuxFile): make the regexs static
4259 * text3.C (doInsertInset, dispatch, dispatch):
4260 * text2.C (cursorUp, cursorDown):
4261 * text.C (selectNextWordToSpellcheck):
4262 * BufferView_pimpl.C (dispatch):
4263 * lyxfunc.C (dispatch): localDispatch -> dispatch
4265 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4267 * lyxsocket.C: include <cerrno>
4269 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * lyxfunc.C (dispatch): remove textcache stuff
4273 * bufferlist.C (release): remove textcache stuff
4276 * TextCache.C: delete file
4277 * TextCache.h: delete file
4279 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4281 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4282 delete of the bv_->text.
4283 (resizeCurrentBuffer): remove texcache stuff
4284 (workAreaResize): ditto
4286 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4288 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4291 2003-10-16 André Pönitz <poenitz@gmx.net>
4298 * text3.C: speed up by storing y positions per paragraph plus per-row
4299 offset instead of having a 'full' y position in the row.
4301 2003-10-15 André Pönitz <poenitz@gmx.net>
4305 * undo.[Ch]: make undo aware of inner insets
4307 2003-10-14 Angus Leeming <leeming@lyx.org>
4309 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4310 static member functions LyX::ref() and LyX::cref.
4311 (lastfiles): new accessor functions for the new lastfiles_ member var.
4312 (addLyXView, views_): add a new LyXView to the list of views_.
4313 (updateInset): loop over all LyXViews to call their own updateInset
4314 member function, returning a pointer to the Buffer owning the inset.
4316 * BufferView_pimpl.C (loadLyXFile):
4317 * MenuBackend.C (expandLastfiles):
4318 * bufferlist.C (MenuWrite, QuitLyX):
4319 lastfiles is no longer a global variable.
4320 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4322 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4323 static function. Access through LyX::cref().emergencyCleanup().
4325 2003-10-14 André Pönitz <poenitz@gmx.net>
4327 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4329 * undo.[Ch]: restoring part of 'undo in insets'
4332 * undo_funcs.[Ch]: merge with undo.[Ch]
4334 * tabular.C: small cleansing stuff
4336 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4338 * paragraph_funcs.C (readParToken): report unknown insets as error
4339 boxes. Use the outer paragraph as location (also for unknown
4342 * factory.C (readInset): do not abort on reading an unknown inset.
4343 Eat it and return 0.
4345 2003-10-13 Angus Leeming <leeming@lyx.org>
4347 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4349 * lyxrc.C: displayTranslator is now a function,
4350 declared in GraphicsTypes.h.
4352 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4354 * format.C: new placeholder $$a to pass the socket address.
4356 * bufferlist.[Ch]: new function getBufferFromTmp.
4358 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4359 files in the temporary dir.
4361 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4363 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4365 * Makefile.am: add lyxsocket.[Ch].
4367 * lyx_main.C (error_handler): handle SIGPIPE.
4369 2003-10-13 André Pönitz <poenitz@gmx.net>
4371 * BufferView_pimpl.C:
4376 * undo_funcs.[Ch]: use paroffset_type instead of
4377 ParagraphList::iterators to prevent multiple conversion
4378 (and get a more robust interface)
4380 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4382 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4384 * text3.C (dispatch): ditto
4386 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4389 move the onlyfile, use onlyfile instead of foundfile in a couple
4392 * DepTable.C (update): flush the error stream a bit more
4394 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * lyxserver.C (callback): adjust
4398 * lyxfunc.C (getStatus): add a missing brace in commented code
4399 (ensureBufferClean): reindent
4400 (dispatch): delete version taking a string
4402 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4404 * LaTeX.C (deplog): move found file handlig from here...
4405 (handleFoundFile): .. to new function here.
4406 (deplog): make sure to discover several files mentioned on the
4409 2003-10-10 André Pönitz <poenitz@gmx.net>
4416 * text3.C: fix some of the tabular crashes
4418 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4420 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4422 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4424 2003-10-09 André Pönitz <poenitz@gmx.net>
4426 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4429 * BufferView_pimpl.C:
4430 * bufferview_funcs.C:
4441 * undo_funcs.C: adjust
4443 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4445 * text2.C (incrementItemDepth): new function, use a backtracking
4446 algorithm to discover the correct item depth.
4447 (resetEnumCounterIfNeeded): new function, use a backtracking
4448 algorithm to discover if counter reset is needed.
4449 (setCounter): use them. Simplify a bit. Add different labels for
4450 different item depths for itemize.
4452 * paragraph.C (Paragraph): remove initialization of enumdepth
4455 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4456 enumerate and itemize. Change the type of itemdepth to signed char.
4458 2003-10-08 André Pönitz <poenitz@gmx.net>
4460 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4465 * tabular.[Ch]: fix crash after 'row-insert'
4467 2003-10-08 Angus Leeming <leeming@lyx.org>
4469 Fix doxygen warnings.
4471 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4472 Remove CutAndPaste:: prefix from header file declaration.
4474 * LColor.h (fill): remove LColor:: prefix from declaration.
4476 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4477 use lyx::depth_type rather than Paragraph::depth_type so that
4478 header file and .C file match.
4480 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4482 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4483 * aspell.C: \file aspell_local.C -> \file aspell.C
4484 * gettext.C: \file gettext.C -> \file src/gettext.C
4485 * gettext.h: \file gettext.h -> \file src/gettext.h
4486 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4487 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4488 * text.C: \file text.C -> \file src/text.C
4490 * toc.C: move comment so that doxygen is not confused.
4492 2003-10-07 Angus Leeming <leeming@lyx.org>
4494 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4496 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4499 * aspell_local.h: add forgotten std::string's.
4501 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4508 * text3.C: The Box patch. Fancybox support, minipage, parbox
4510 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4516 * ParagraphParameters.h:
4526 * lyxtextclasslist.h:
4529 * paragraph_pimpl.C:
4530 * textcursor.h: add <string> and other small fixes to make Lars'
4531 std::string patch compile with STLport.
4533 2003-10-06 Angus Leeming <leeming@lyx.org>
4535 * LColor.h: Add missing #include <string>.
4537 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4539 * All most all file in all subdirs: Make <string> be the prefered
4540 way of getting to std::string, add using declarations.
4542 2003-10-06 André Pönitz <poenitz@gmx.net>
4544 * metricsinfo.C: initialize LyXFont before changing attribute.
4545 (fixes the 'math in \emph is upright' bug)
4547 2003-10-06 André Pönitz <poenitz@gmx.net>
4549 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4551 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4554 * paragraph_pimpl.C: Small fixes to build using STLport
4556 2003-10-02 André Pönitz <poenitz@gmx.net>
4559 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4561 2003-10-01 André Pönitz <poenitz@gmx.net>
4563 * factory.C: assert early
4565 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * lyx_main.C: remove the global debug object
4569 * debug.h: adjust for new debugstream
4571 * debug.C: adjust for new debugstream and keep the global debug
4574 2003-09-22 Angus Leeming <leeming@lyx.org>
4576 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4577 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4578 an incomplete class LyXFont.
4580 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4582 * factory.C: bug fix in branches
4584 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4586 * lyxfunc.C (processKeySym): adjust
4588 (dispatch): change arg name from ev to func, adjust
4589 (sendDispatchMessage): ditto
4591 * lyx_main.C (defaultKeyBindings): adjust keybindings
4592 (deadKeyBindings): ditto
4594 * kbsequence.C (addkey): return a FuncRequest
4596 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4598 * kbmap.C (bind): take a FuncRequest as arg, adjust
4601 (defkey): change to take a FuncRequest as arg, adjust
4602 (findbinding): take a FuncRequest as arg, adjust.
4604 * funcrequest.h (operator=): added
4606 * funcrequest.C (FuncRequest): default kb_action changed from
4607 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4609 * buffer.C (dispatch): simplify
4610 (dispatch): adjust to take a FuncRequest as arg, adjust
4612 * boost.C (assertion_failed): change assertion message slightly
4614 * ToolbarBackend.C (read): simplify
4616 * MenuBackend.C (binding): adjust call to findbinding, add a
4617 message if no binding is found.
4619 (expandToc): correct by adding a empty FuncRequest
4621 * LyXAction.C: include <boost/assert.hpp>
4622 (isPseudoAction): delete function
4623 (LookupFunc): change name to...
4624 (lookupFunc): this. change return type to FuncRequest.
4625 (getActionName): take kb_action as arg, simplify
4626 (funcHasFlag): add an assert, simplify.
4628 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4630 * toc.C (action): return a FuncRequest, simplify
4632 * lyxfunc.C (processKeySym): adjust
4633 (getStatus): delete version that takes an int.
4635 (dispatch): delete version that takes action as int
4637 (sendDispatchMessage): simplify and adjust
4639 * funcrequest.C (getArg): take unsigned int as arg
4641 * ToolbarBackend.C (read): adjust
4642 (add): delete version that takes func as a string.
4643 (getIton): take a FuncRequest as arg
4645 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4648 * MenuBackend.C (MenuItem): add a new construct that only takes a
4649 Kind, simplify the constructor use for submenus.
4651 (expandLastfiles): adjust
4652 (expandDocuments): adjust
4653 (expandFormats): adjust
4654 (expandFloatListInsert): adjust
4655 (expandFloatInsert): adjust
4656 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4658 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4659 Remove class variables lyx_pseudo_map and lyx_arg_map
4661 * LyXAction.C (searchActionArg): delete function
4662 (getPseudoAction): delete function
4663 (retrieveActionArg): delete function
4664 (LookupFunc): make it return kb_action, simplify.
4665 (getActionName): simplify
4667 * factory.C (createInset): fix new bug
4669 2003-09-19 Angus Leeming <leeming@lyx.org>
4671 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4672 masterFilename_ parameter in the include inset.
4674 * factory.C (createInset): changes due to the changes to InsetInclude.
4676 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4678 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4680 2003-09-18 Angus Leeming <leeming@lyx.org>
4683 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4684 Inset::fillWithBibKeys.
4685 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4687 2003-09-18 Angus Leeming <leeming@lyx.org>
4689 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4691 (ctor): pass and store a 'Buffer const &'
4692 (buffer): new member function.
4694 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4695 '*this' to the LaTeXFeatures ctor.
4697 2003-09-18 Angus Leeming <leeming@lyx.org>
4703 * text.C: rename EnumLColor as LColor_color.
4705 2003-09-18 Angus Leeming <leeming@lyx.org>
4707 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4708 remove #include "insets/insetbase.h" from cursor.h.
4710 2003-09-18 Angus Leeming <leeming@lyx.org>
4712 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4713 InsetOld_code to remove #include "inset.h".
4715 * iterators.C: add #include "insets/inset.h"
4717 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4719 * BufferView.C: remove more locking stuff that apparently doesn't
4720 do anything sensible.
4722 2003-09-16 André Pönitz <poenitz@gmx.net>
4725 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4728 2003-09-16 Angus Leeming <leeming@lyx.org>
4730 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4732 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4735 * paragraph.h: remove #include "lyxfont.h". Forward declare
4738 2003-09-16 Angus Leeming <leeming@lyx.org>
4740 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4741 of support/textutils.h.
4742 (isWord): move the contents of support/textutils.h's IsWordChar here.
4748 * text2.C: add #include "paragraph.h".
4751 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4753 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4759 * LaTeX.C: use namespace alias for lyx::support::os
4761 2003-09-16 Angus Leeming <leeming@lyx.org>
4764 * bufferview_funcs.C:
4767 * paragraph_pimpl.C:
4769 * text.C: add #include "LColor.h".
4771 2003-09-16 Angus Leeming <leeming@lyx.org>
4773 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4774 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4776 Store the FontBits::color variable as an int rather than as an
4777 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4780 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4781 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4782 string calls together.
4784 * lyxrc.C: add #include "LColor.h".
4786 2003-09-15 Angus Leeming <leeming@lyx.org>
4788 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4791 2003-09-15 Angus Leeming <leeming@lyx.org>
4793 * LColor.h: add an EnumLColor wrapper for LColor::color.
4795 * lyxfont.[Ch] (color, setColor, realColor):
4796 * lyxtext.h, text.C (backgroundColor):
4797 pass EnumLColor args to/from the functions, rather than LColor::color
4801 * lyxtext.h: forward declare EnumLColor.
4803 * lyx_main.C: add #include "LColor.h".
4805 2003-09-15 Angus Leeming <leeming@lyx.org>
4807 * .cvsignore: add lyx-gtk.
4809 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4814 * ParagraphParameters.C
4818 * bufferview_funcs.C
4828 * vc-backend.C: remove usage of STRCONV
4830 2003-09-15 Angus Leeming <leeming@lyx.org>
4832 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4833 explicitly define the color passed to the painter.
4835 2003-09-15 Angus Leeming <leeming@lyx.org>
4837 * bufferparams.C (BufferParams): reorder member initializers to avoid
4840 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4842 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4843 * text.C (updateRowPositions): remove an unusual nop
4845 2003-09-12 André Pönitz <poenitz@gmx.net>
4847 * BufferView_pimpl.C:
4856 * Counters.[Ch]: finish the 'automatic counters' job
4858 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4860 * aspell.C: include <boost/assert.cpp> (compile fix)
4862 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4864 * boost.C (assertion_failed): use lyx::support::abort instead of
4867 2003-09-10 Angus Leeming <leeming@lyx.org>
4869 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4870 with their _fwd progeny.
4872 2003-09-09 Angus Leeming <leeming@lyx.org>
4874 134 files throughtout the source tree: replace 'using namespace abc;'
4875 directives with the appropriate 'using abc::xyz;' declarations.
4877 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4879 * boost.C (emergencyCleanup): moved here from LAssert.c
4880 (assertion_failed): new function, called by BOOST_ASSERT
4882 * several files: change Assert to BOOST_ASSERT
4884 2003-09-09 Angus Leeming <leeming@lyx.org>
4886 * buffer.[Ch]: Add an Impl class and move Buffer's member
4887 variables into it. As a result move several header files out of
4890 Add header files to lots of .C files all over the tree as a result.
4892 2003-09-09 Angus Leeming <leeming@lyx.org>
4894 * buffer.[Ch]: make Buffer's member variables private. Add
4897 Lots of changes all over the tree as a result.
4899 2003-09-08 Angus Leeming <leeming@lyx.org>
4901 * graph.C: #include <config.h>.
4903 2003-09-08 Angus Leeming <leeming@lyx.org>
4907 * BufferView_pimpl.C:
4936 * toc.C: remove redundant using directives.
4938 2003-09-07 Angus Leeming <leeming@lyx.org>
4940 * LaTeXFeatures.h: remove #include "support/types.h".
4941 * ToolbarBackend.h: remove #include <algorithm>.
4942 * changes.h: remove #include <ctime>.
4943 * debug.h: remove #include <iosfwd>.
4944 * graph.h: remove #include "support/std_string.h".
4945 * lyx_main.h: remove #include <csignal>.
4946 * lyxlex_pimpl.h: remove #include <fstream>.
4947 * sgml.h: remove #include <algorithm>, <utility>.
4948 * toc.h: remove #include "support/std_ostream.h".
4949 Add #include <iosfwd>.
4951 2003-09-07 Angus Leeming <leeming@lyx.org>
4953 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4955 * converter.h: forward declare LatexRunParams.
4956 * encoding.h: remove #include "lyxrc.h".
4957 * lyxtext.h: remove #include "LColor.h".
4958 * lyxtextclass.h: remove #include "support/types.h".
4959 * trans.h: remove #include "tex-accent.h".
4960 * trans_mgr.h: remove #include "tex-accent.h".
4961 * insets/inset.h: remove #include "support/types.h", <vector>.
4962 * insets/insetcollapsable.h: remove #include "LColor.h".
4963 * insets/insetinclude.h: remove #include "dimension.h".
4964 * insets/insetlatexaccent.h: remove #include "dimension.h".
4965 * insets/insetoptarg.h:: remove #include "insettext.h".
4966 * insets/insettext.h: remove #include "dimension.h",
4967 <boost/shared_ptr.hpp>
4969 * insets/renderers.h: add #include "dimension.h".
4970 * insets/updatableinset.h: add #include "support/types.h".
4972 * many .C files: Associated changes.
4974 2003-09-06 Angus Leeming <leeming@lyx.org>
4976 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4977 one, inside testInvariant.
4979 * PrinterParams.C: new file.
4980 * PrinterParams.[Ch]: move the function bodies out of line.
4982 2003-09-06 Angus Leeming <leeming@lyx.org>
4984 * ParagraphParameters.h: forward declare ParameterStruct rather than
4985 including its header file.
4986 (depth): moved out-of-line.
4988 2003-09-06 Angus Leeming <leeming@lyx.org>
4990 * BufferView_pimpl.h:
4993 * lyxfunc.h: forward declare LyXKeySym rather than
4994 #include "frontends/LyXKeySym.h".
4996 * BufferView_pimpl.C:
4999 * lyxfunc.C: associated changes.
5001 2003-09-06 Angus Leeming <leeming@lyx.org>
5003 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5004 As a result, can remove the #include "insets/inset.h" from BufferView.h
5006 2003-09-06 Angus Leeming <leeming@lyx.org>
5008 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5009 As a result, can remove the #include "insets/inset.h" from BufferView.h
5011 2003-09-06 Angus Leeming <leeming@lyx.org>
5017 * bufferview_funcs.C:
5018 * BufferView_pimpl.C:
5023 * ParagraphParameters.C:
5028 * frontends/controllers/ControlDocument.C:
5029 * insets/insetcaption.C: rearrange the #includes into some sort of
5032 * buffer.h: remove #includes ErrorList.h, undo.h
5034 2003-09-06 Angus Leeming <leeming@lyx.org>
5036 * support/types.h: add a 'depth_type' typedef, used to store the
5037 nesting depth of a paragraph.
5040 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5041 defining explicitly.
5044 * paragraph_funcs.h:
5045 * ParagraphParameters.h:
5046 * sgml.h: use lyx::depth_type rather than Paragraph or
5047 ParameterStruct's depth_type.
5050 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5053 * BufferView_pimpl.C:
5055 * ParagraphParameters.C:
5058 * bufferview_funcs.C:
5065 * frontends/LyXView.C:
5066 * frontends/controllers/ControlDocument.C:
5067 * frontends/controllers/ControlErrorList.C:
5068 * insets/insetbibitem.C:
5069 * insets/insetbranch.C:
5070 * insets/insetcaption.C:
5071 * insets/insetcollapsable.C:
5072 * insets/insetenv.C:
5073 * insets/insetert.C:
5074 * insets/insetfloat.C:
5075 * insets/insetfoot.C:
5076 * insets/insetfootlike.C:
5077 * insets/insetnewline.C:
5078 * insets/insetquotes.C:
5079 * insets/insettabular.C:
5080 * insets/insettext.C:
5081 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5083 * frontends/controllers/ControlChanges.C: #include "changes.h".
5085 2003-09-06 Angus Leeming <leeming@lyx.org>
5087 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5088 than #including paragraph.h.
5091 * RowList.h: deleted. Superfluous.
5101 * insets/insettext.h: use ParagraphList_fwd.h rather than
5104 * paragraph.h: don't forward declare ParagraphList.
5107 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5108 rather than ParagraphList.h. paragraph.h is still needed for the
5109 Paragraph::depth_type parameters.
5111 * textcursor.h: enable it to compile stand-alone in light of the
5114 * bufferview_funcs.C:
5126 * frontends/controllers/ControlParagraph.C:
5127 * frontends/controllers/ControlTabular.C:
5128 * insets/insetmarginal.C:
5129 * insets/insetminipage.C:
5130 * insets/insetnote.C:
5131 * insets/insetoptarg.C: add header files needed to compile again.
5133 2003-09-06 Angus Leeming <leeming@lyx.org>
5135 * RowList_fwd.h: new file, forward-declaring Row rather than
5136 #including lyxrow.h.
5141 * insets/insettext.h: use it instead of RowList.h
5143 * bufferview_funcs.C:
5150 * text3.C: #include "RowList.h".
5152 2003-09-05 Angus Leeming <leeming@lyx.org>
5154 * factory.C (createInset):
5155 * vspace.C (c-tor): replace sscanf call with an istringstream.
5156 * ispell.C: re-add missing HP/UX headers.
5157 * lyxserver.C: re-add missing os2 headers.
5159 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5168 * text3.C: re-add missing system headers, needed for 2.95.2.
5170 2003-09-05 Angus Leeming <leeming@lyx.org>
5172 Changes most place everywhere due to the removal of using directives
5173 from support/std_sstream.h.
5175 2003-09-05 Angus Leeming <leeming@lyx.org>
5177 Replace LString.h with support/std_string.h,
5178 Lsstream.h with support/std_sstream.h,
5179 support/LIstream.h with support/std_istream.h,
5180 support/LOstream.h with support/std_ostream.h.
5182 Changes resulting throughout the tree.
5184 2003-09-05 Angus Leeming <leeming@lyx.org>
5186 * sgml.h: ensure that the header file can be compiled stand-alone.
5187 * *.C: strip out redundant #includes. (320 in total.)
5189 2003-09-04 Angus Leeming <leeming@lyx.org>
5191 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5192 here (from getPackages).
5194 * debug.[Ch]: add a new EXTERNAL tag.
5196 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5198 * text2.C (cursorEnd): simplify
5200 (getColumnNearX): adjust
5202 * text.C (computeBidiTables): adjust
5205 * rowpainter.C (paintChars): adjust
5206 (paintSelection): adjust
5207 (paintChangeBar): adjust
5210 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5212 (numberOfSeparators): adjust
5214 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5220 * text3.C: Restricts the mouse click functionality
5221 of insets like bibtex, include, toc and floatlist to the visible
5222 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5223 up the dialogs. Cursor has to be in front of the inset (i.e.
5224 start of row) for this to function.
5226 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5228 * bufferview_funcs.C (currentState): output row information
5230 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5232 * bufferview_funcs.C (currentState): output paragraph position
5234 2003-09-04 Angus Leeming <leeming@lyx.org>
5236 * FloatList.h: move out #include "Floating.h".
5237 * LaTeX.h: move out #include "DepTable.h".
5238 * LyXAction.h: move out #include "funcrequest.h".
5239 * buffer.h: move out #include "author.h", "iterators.h".
5240 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5241 * lyx_main.h: move out #include "errorlist.h".
5242 * lyxfunc.h: move out #include "FuncStatus.h".
5243 * lyxtext: move out #include "lyxcursor.h".
5244 * paragraph_pimpl.h: move out #include "counters.h".
5246 2003-09-03 Angus Leeming <leeming@lyx.org>
5248 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5249 preamble_snippets list, enabling us to add snippets to the preamble
5250 only if the snippet was not there already.
5252 2003-09-04 Angus Leeming <leeming@lyx.org>
5254 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5256 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5258 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5261 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5263 * BranchList.C: point fix, earlier forgotten
5265 2003-09-02 Angus Leeming <leeming@lyx.org>
5267 * box.C (contains): renamed from 'contained' after a fantastic
5270 2003-09-02 John Levon <levon@movementarian.org>
5276 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5278 2003-09-02 John Levon <levon@movementarian.org>
5280 * text2.C: simplification of cursorEnd(), including partial
5283 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5285 * buffer.C (readFile): add a space
5287 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5289 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5291 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * buffer.C (readFile): new function, take a filename and a
5294 ParagraphList::iterator
5296 (readFile): adjust, make it private. don't use setStream, make
5297 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5298 always contain the filename.
5300 * BufferView.C (insertLyXFile): simplify and make it work for
5303 2003-08-30 John Levon <levon@movementarian.org>
5305 * Makefile.am: fix dist (from Kayvan)
5307 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5309 * most files: change to use const Buffer refs
5311 2003-08-27 André Pönitz <poenitz@gmx.net>
5313 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5314 on top of ownerPar().
5316 2003-08-27 John Levon <levon@movementarian.org>
5318 * funcrequest.C: properly initialise POD members
5320 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5322 * lyxtext.h (top_y): move top_y from here
5327 * BufferView_pimpl.[Ch]: to here
5328 * frontends/screen.C:
5329 * insets/insettabular.C:
5330 * insets/insettext.C: adjust
5331 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5333 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5336 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5338 2003-08-26 André Pönitz <poenitz@gmx.net>
5340 * paragraph_func.[Ch] (outerPar): new function
5343 * paragraph_funcs.C:
5344 * paragraph_funcs.h:
5345 * paragraph_pimpl.C:
5346 * text2.C: remove Inset::par_owner
5348 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5353 * text2.C: eliminates the needFullRow/display() stuff
5354 altogether, putting the logic in metrics/draw in the insets.
5356 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5358 * text2.C (redoParagraphInternal, redoParagraphs):
5359 * text.C (redoParagraph): add a call to updateRowPositions at the
5360 end of each 'metrics-like' call. Remove all others.
5361 (getRow): remove the 'y-computing' version.
5362 (getRowNearY): do not compute nor return the real y. Solve the
5363 'y < 0' problem and simplify.
5365 2003-08-22 Angus Leeming <leeming@lyx.org>
5367 * *.[Ch]: clean-up of licence and author blurbs.
5368 Also move config.h out of a few .h files and into a few .C files.
5370 2003-08-22 André Pönitz <poenitz@gmx.net>
5372 * lyxrow.[Ch]: add x_ and *fill_ members
5377 * text2.C: adjust/remove prepareToPrint() calls
5379 2003-08-22 André Pönitz <poenitz@gmx.net>
5381 * lyxrow.[Ch]: add end_ member
5383 * lyxrow_funcs.C: use LyXRow::end_
5385 * lyxtext.h (singleWidth): add LyXFont parameter
5388 * text2.C: adjust LyXText::singleWidth() calls
5390 * text.C (redoParagraph): simplify row breaking logic
5393 2003-08-19 André Pönitz <poenitz@gmx.net>
5395 * funcrequest.C: initialize button_ member
5398 * rowpainter.[Ch]: interface consolidation
5400 2003-08-18 André Pönitz <poenitz@gmx.net>
5403 * BufferView_pimpl.C:
5405 * paragraph_funcs.C:
5407 * text3.C: remove LyXScreen::draw() and fitCursor calls
5409 * BranchList.h: remove spurious semicolons
5411 * MenuBackend.C: fix branchlist related crash
5413 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5421 * bufferparams.[Ch]:
5425 * text3.C: implements the 'branch inset'
5426 idea. This allows the output of various versions of a document
5427 from a single source version, selectively outputing or suppressing
5428 output of parts of the text.
5429 This implementation contains a 'branch list editor' in a separate
5430 tab of the document settings dialog. Branches are user definable
5431 and have a "display colour" to distinguish them on-screen.
5433 ColorHandler was somewhat cleaned up.
5434 (1) make possible a dynamically growing LColor list by allowing
5435 the graphic context cache to grow along (vector);
5436 (2) eliminate an IMHO unnecessary step in colour allocation.
5438 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5440 * BufferView_pimpl.C: compile fix
5442 2003-08-15 André Pönitz <poenitz@gmx.net>
5444 * rowpainter.C: remove extra metrics calls
5446 * lyxtext.h: merge the two constructors into a single one,
5447 pass reference to owner's par list
5449 * BufferView_pimpl.C:
5453 2003-08-15 André Pönitz <poenitz@gmx.net>
5455 * lyxrow_funcs.[Ch]:
5458 * paragraph_funcs.C:
5463 * text_funcs.C: split LyXText::rowlist_ into individual
5464 Paragraph::rows_ chunks
5467 * BufferView_pimpl.[Ch]:
5470 * text3.C: remove toggleSelection()
5472 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5474 * bufferlist.C: beautify two alerts (shorter text of buttons)
5475 * buffer.C: Remove redundant ' ' from message
5477 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5478 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5479 rename VALIGN_CENTER to VALIGN_MIDDLE
5481 2003-08-11 André Pönitz <poenitz@gmx.net>
5483 * lyxtext.h (getPar):
5484 * text.C: new function
5486 2003-08-11 André Pönitz <poenitz@gmx.net>
5489 * tracer.[Ch]: remove unneeded files
5491 * InsetList.[Ch]: remove resizeInsetsLyXText()
5496 * text3.C: merge insertParagraphs() and appendParagraph()
5497 remove breakAgain(), update()
5499 * BufferView_pimpl.[Ch]:
5500 * bufferview_funcs.[Ch]:
5504 * tabular.C: adjust after text & InsetList changes.
5506 2003-08-08 André Pönitz <poenitz@gmx.net>
5508 * text.C (insertChar, backspace): replace rowlist fiddling
5509 with rebreak of full par
5512 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5513 checkParagraph, updateInset): removed
5515 2003-08-07 André Pönitz <poenitz@gmx.net>
5518 * text3.C: merge some LFUN handlers, remove dead code
5520 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5522 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5524 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5526 * text2.C (DEPM): fix part of bug 1255 and 1256
5528 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5530 * BufferView_pimpl.C (workAreaDispatch): change to use
5531 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5532 that are no mouse related.
5534 2003-08-05 André Pönitz <poenitz@gmx.net>
5537 * BufferView_pimpl.[Ch]:
5538 * bufferview_funcs.C:
5540 * text3.C: rip out "deep update"
5542 * textcursor.[Ch] (last_sel_cursor): remove unused member
5544 2003-08-04 André Pönitz <poenitz@gmx.net>
5547 * BufferView_pimpl.[Ch]:
5548 * ParagraphParameters.C:
5549 * bufferview_funcs.C:
5555 * text3.C: replace "complicated" BufferView::update(...) calls with
5558 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5560 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5562 * Makefile.am (lyx_SOURCES): add paper.h
5564 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5566 * Makefile.am: move things around so that both lyx-qt and
5567 lyx-xforms can be built (according to --with-frontend). Then lyx
5568 is a symbolic link to lyx-[firstfrontend]
5570 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5572 * Always use std::endl with lyxerr
5574 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5576 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5578 2003-08-01 André Pönitz <poenitz@gmx.net>
5581 * BufferView_pimpl.[Ch]:
5583 * text3.C: merge BufferView::repaint() and BufferView::update()
5585 2003-08-01 José Matos <jamatos@lyx.org>
5587 * buffer.[Ch]: file_format is no longer a buffer data element.
5589 2003-08-01 André Pönitz <poenitz@gmx.net>
5594 * text2.C: make redoParagraph more independent of current cursor
5596 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5598 * text2.C: remove unneeded members
5600 2003-07-30 André Pönitz <poenitz@gmx.net>
5602 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5604 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5605 create a single function...
5607 * paragraph_funcs.C (moveItem): ... here.
5610 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5612 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5614 * LColor.[Ch]: Add comment and greyedout logical colors.
5616 2003-07-30 André Pönitz <poenitz@gmx.net>
5618 * tabular.C: don't use Assert too heavily. This crashes where it
5621 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5623 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5624 is disabled (bug 1232)
5626 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5628 * factory.C: limited 'arg' scope
5630 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5632 * factory.C: fixed Note submenu issues
5634 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5636 * factory.C: submenu for Note/Comment/Greyedout
5638 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5641 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5643 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5646 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5647 greyedout. Patch provided by Jürgen Spitzmüller.
5649 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5651 * kbmap.C (read): fix error message when reading bind files
5653 2003-07-29 Angus Leeming <leeming@lyx.org>
5655 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5656 certainly does not do what it purports to do. I am doing it, and
5657 us, a favour by killing it.
5659 2003-07-28 José Matos <jamatos@lyx.org>
5661 * buffer.C (readBody, do_writeFile):
5662 * paragraph.C(readParagraph): \end_document replaces \the_end.
5664 2003-07-29 André Pönitz <poenitz@gmx.net>
5667 * BufferView_pimpl.[Ch]:
5671 * textcursor.[Ch]: remove toggleToggle & Co
5673 2003-07-28 José Matos <jamatos@fep.up.pt>
5675 * buffer.C (readParagraph):
5676 * params_func (readParToken, readParagraph):
5677 * paragraph.C (write): \layout -> \begin_layout.
5679 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5681 * lyxlex_pimpl.C (setFile): clean up slightly.
5683 * bufferparams.h: add compressed var
5685 * buffer_funcs.C (readFile): adjust for LyXLex change
5686 (newFile): ditto + simplify
5688 * buffer.C (writeFile): handle writing of compressed files
5690 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5691 Check if the file is compressed and set a bufferparm if so.
5693 * Makefile.am (lyx_LDADD): remove explicit -lz
5695 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5697 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5698 makeDocBookFile): put the real LyX version in the first line of
5702 * version.C.in: remove lyx_docversion
5704 * tabular.C (write_attribute): add a template-based version to
5705 write enums properly
5707 2003-07-28 André Pönitz <poenitz@gmx.net>
5712 * text3.C: use doubles again for x-coordinates. They are needed.
5714 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5716 * messages.C (getLocaleDir): use lyx_localedir()
5718 * lyxlex_pimpl.C (setFile): compress stuff
5720 * buffer.C (writeFile): add some compression stuff
5721 (do_writeFile): new func, dont call expliti close... will this
5724 * Makefile.am (lyx_LDADD): add -lz
5726 2003-07-28 José Matos <jamatos@fep.up.pt>
5728 * buffer.C: increment file format.
5729 * paragraph_funcs (readParagraph, readParToken):
5730 * paragraph.C (readParagraph): add \end_layout.
5732 2003-07-27 Angus Leeming <leeming@lyx.org>
5734 * Makefile.am: remove special casing for configure-time setting of
5735 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5737 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5738 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5740 2003-07-26 André Pönitz <poenitz@gmx.net>
5742 * paragraph_func.[Ch]:
5743 * paragraph.C (realizeFont): inline it whereever it is used
5748 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5751 2003-07-26 André Pönitz <poenitz@gmx.net>
5755 * text2.C: get rid of LyXText::need_break_row
5757 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5759 * toc.[Ch]: put namespace toc inside namespace lyx
5761 * MenuBackend.C (expandToc2): adjust for lyx::toc
5764 * lyxfunc.C (dispatch): adjust for lyx::find
5766 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5767 lyx::find instead. Reorganize a bit.
5768 (LyXReplace): rename to replace
5769 (LyXFind): rename to find
5771 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5774 2003-07-26 André Pönitz <poenitz@gmx.net>
5776 * text.C (setHeightOfRow): restrict scope of temporary variable
5778 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5779 code (never has been used?)
5781 2003-07-27 Asger Alstrup <alstrup@local>
5783 * text.C (fill): Optimise algorithm to exploit that we can reuse
5784 the LyXFont for many characters.
5785 (setHeightOfRow): Same thing.
5786 (rowBreakPoint): Same thing.
5788 2003-07-26 Asger Alstrup <alstrup@local>
5790 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5792 * text.C (singleWidth): Spurious font copying in hot-spot
5793 singleWidth avoided. Reorder tests for arabic for efficiency.
5795 * text.C (fill): handle empty paragraphs better.
5797 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5800 * encoding.h: add includes
5802 * lyxrc.C: remove reading of bind files
5804 * lyx_main.C (init): setup bindings and menus only if we have a
5807 * kbmap.C (read): new method. Do the actual reading of bind
5810 * converter.C (dvipdfm_options):
5813 (output): adapt PAPER_* enums.
5815 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5817 * bufferparams.h: remove paper-related enums from there
5819 * paper.h: New file. A trivial header file to hold paper-related
5820 enums. It should later expand to contain many paper-related
5823 * lyxrc.C: declare extern displayTranslator
5825 2003-07-27 José Matos <jamatos@fep.up.pt>
5827 * tabular.[Ch] (linuxdoc): add support for tables and figures
5830 2003-07-27 José Matos <jamatos@fep.up.pt>
5832 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5833 consistency in both functions.
5834 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5836 2003-07-26 Asger Alstrup <alstrup@local>
5838 * rowpainter.C (paintRows): Change algorithm to work directly on
5839 the insets rather than asking every character in the document
5840 whether its an inset.
5842 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5844 * buffer.C (openFileWrite): factorize some code
5846 2003-07-26 Angus Leeming <leeming@lyx.org>
5849 * lyx_main.[Ch]: replace occurances of system_tempdir with
5852 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5854 * rename Inset to InsetOld
5856 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5858 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5859 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5860 which I think is a bit clearer. EDIT is gone, since it was
5861 premature optimisation, and broken for mathed anyway.
5862 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5863 with cursor positioning in insets as well (math insets still do not
5864 work, but that's a different story anyway.) It mysteriously
5865 crashes sometimes with undo in the first paragraph, but I'm fairly
5866 confident that this is a compiler bug.
5868 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5870 * paragraph.C (Paragraph): adjust for new clone return type
5872 (copyIntoMinibuffer): ditto
5874 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5876 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5877 by not having a special case, and always doing a full rebreak of
5878 the document after undo.
5880 2003-07-23 Angus Leeming <leeming@lyx.org>
5882 * factory.C (createInset): InsetExternal::setParams now takes a
5885 2003-07-23 Angus Leeming <leeming@lyx.org>
5887 * factory.C (createInset): changed interface to the external and
5888 graphics mailers' string2params functions.
5890 2003-07-23 Angus Leeming <leeming@lyx.org>
5892 * factory.C (createInset): pass a
5893 Buffer const * parameter to InsetExternalMailer's string2params.
5895 2003-07-22 John Levon <levon@movementarian.org>
5897 * Thesaurus.h: include the right aiksaurus header
5899 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5901 * MenuBackend.C (expand): check menu shortcuts unconditionally
5903 2003-07-21 Angus Leeming <leeming@lyx.org>
5905 * factory.C (createInset): pass a
5906 buffer_path parameter to InsetGraphicsMailer's string2params.
5908 2003-07-21 Angus Leeming <leeming@lyx.org>
5910 * BufferView_pimpl.C (buffer):
5913 * lyxfunc.C (dispatch):
5914 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5915 rather than the grfx shortcut.
5917 2003-07-21 André Pönitz <poenitz@gmx.net>
5919 * rowpainter.C: remove unused variables
5922 * tabular_funcs.h: move to tabular.C
5923 * Makefile.am: adjust
5925 * tabular.[Ch]: basic optical cleaning
5927 * author.h: pass references, not values
5929 2003-07-18 André Pönitz <poenitz@gmx.net>
5937 * text3.C: two-phase drawing for InsetText and InsetTabular
5938 some float -> int changes.
5940 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5942 * lyx_main.C: fix the fix
5944 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5946 * lyx_main.C: fix a crash in batch mode if no files specified
5949 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5951 * format.[Ch] (papersize): moved to BufferParams
5952 * converter.[Ch] (dvips_options): moved to BufferParams
5953 (dvipdfm_options): moved to anon namespace
5954 * bufferparams.[Ch]: added above functions.
5956 2003-07-17 André Pönitz <poenitz@gmx.net>
5960 * text2.C: don't call inset->update() anymore
5962 * metricsinfo.[Ch]: add convenience constructor
5964 2003-07-16 André Pönitz <poenitz@gmx.net>
5969 * text2.C: replace the LyXCursor::irow_ member with
5970 on-demand computation of the value
5972 2003-07-16 John Levon <levon@movementarian.org>
5974 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5976 2003-07-15 André Pönitz <poenitz@gmx.net>
5979 * text2.C: remove no more needed refresh_row
5981 2003-07-15 André Pönitz <poenitz@gmx.net>
5986 * text3.C: refresh_status tristate -> need_update bool
5988 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5990 * lyxtext.h (init): remove reinit argument (act as if always true)
5991 * text2.C: adjust to that
5993 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5995 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5996 * text3.C: use it to delete selections in some cases
5997 (bugs 441, 673, 702, 954).
5999 2003-07-14 André Pönitz <poenitz@gmx.net>
6001 * rowpainter.[Ch]: reduce interface
6003 2003-07-14 André Pönitz <poenitz@gmx.net>
6005 * BufferView_pimpl.C:
6006 * text2.C: adjust after removing unused BufferView * argument
6008 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6010 * text2.C (init): fix a crash fired on resize
6012 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6014 * buffer.[Ch]: added new closing signal
6015 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6016 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6017 BufferView::Pimpl via the closing the signal
6019 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6021 * buffer.[Ch]: take out all bv-related from buffer
6023 * BufferView_pimpl.[Ch]: connect to new signals
6024 * CutAndPaste.C: removed useless asserts
6025 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6028 * lyxfunc.C: moved view-related funciontality from vc here
6029 * paragraph.C: removed outdated comments
6032 2003-07-10 André Pönitz <poenitz@gmx.net>
6034 * BufferView_pimpl.C:
6038 * text2.C: remove InsetText::InnerCache, clean up consequences
6040 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6042 * ispell.C: fix two typos in error messages
6044 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6046 * Extend Note inset to other forms of annotation like Comment
6047 and Greyedout. Right button click gives dialog.
6049 Files modified or added (+):
6053 * ControlNote.[Ch] +
6055 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6056 frontends/controllers
6060 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6062 * aspell.C: add missing namespace lyx::support
6064 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6066 * BufferView.[Ch] (newFile): Add
6067 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6068 * LaTeX.[Ch] (message): added this signal and use it
6069 * buffer.[Ch] (busy, message): added these signals and use them
6070 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6074 * importer.C: use buffer signals instead of direct bv calling
6075 * lyx_cb.[Ch] (ShowMessage): removed
6078 * paragraph_funcs.C:
6079 * text2.C: use buffer signals
6081 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6083 * introduce namespace lyx::graphics
6085 2003-07-02 André Pönitz <poenitz@gmx.net>
6087 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6089 2003-07-01 André Pönitz <poenitz@gmx.net>
6096 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6097 text*.C to text_func.C
6099 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6101 * introduce namespace lyx::support
6103 2003-06-30 André Pönitz <poenitz@gmx.net>
6108 * text.C: re-enable --with-included-string
6110 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6112 * textcursor.C: add <config.h>
6114 * text.C (getWord): remove const from word_location arg
6116 * lyxvc.C (getLogFile): fix const type order
6118 * lyxtext.h: remove const from word_location arg, add arg name
6120 * lyxlayout.h: currect type on labeltype.
6122 * importer.C: correct \file
6124 * converter.C (intToFormat): use std:: on ret val, ws changes
6126 * bufferlist.h: correct \file
6128 * buffer.C (makeLinuxDocFile): fix const type order
6129 (makeDocBookFile): ditto
6130 (fillWithBibKeys): use std:: on stdlib args.
6132 * CutAndPaste.C: fix authors.
6133 (availableSelections): use std:: on return vector
6135 2003-06-27 André Pönitz <poenitz@gmx.net>
6137 * BufferView_pimpl.C:
6138 * bufferview_funcs.C:
6146 * text3.C: remove LyXCursor::row_ member
6149 * text.C: rename fullRebreak() to partialRebreak() and implement
6150 a fullRebreak() that really bereks fully
6152 * textcursor.h: new struct for cursor-related data
6154 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6156 * lyx_main.C (LyX): get full path of document loaded on the
6159 2003-06-26 André Pönitz <poenitz@gmx.net>
6161 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6162 remove unused/broken operator>,<,>=.
6164 * text.C: remove only use of broken operator<= in an Assert().
6166 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6168 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6169 moved errorlist_.clear to showErrorList
6171 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6173 * converter.C (scanLog, runLaTeX):
6174 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6175 move the bv->showErrorList call to the callers
6176 * lyxfunc.C: i.e. here...
6178 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6179 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6180 namespace, the second to...
6181 * buffer_funcs (BufferFormat, parseErrors): added
6182 * errorlist.C (ErrorList(TeXErrors const &)): removed
6184 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6186 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6188 2003-06-24 "Garst R. Reese" <reese@isn.net>
6192 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6194 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6196 * version.C.in: change docversion to 1.4
6198 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6200 * buffer.C: fix a bug just introduced
6202 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6204 * buffer.[Ch]: added the parseError signal and use it, removed
6206 * BufferView.[Ch] (addError): moved to ...
6207 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6208 to the Buffer::parseError signal to catch (guess what) parse errors
6209 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6211 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6213 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6214 ability to create a buffer and to return an existing one from
6215 the list. Moved these functions to...
6216 * buffer_funcs.[Ch]: added
6217 * BufferView.[Ch] (loadLyXFile): added
6218 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6219 job removed from bufferlist::loadLyXFile.
6220 * buffer.C (setReadOnly): make it work without view
6221 (i.e added an if (users))
6223 2003-06-19 Angus Leeming <leeming@lyx.org>
6226 * LyXAction.C (init):
6227 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6228 with LFUN_DIALOG_SHOW <name> <data>.
6230 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6232 * CutAndPaste.C (availableSelections): small compilation fix for
6233 ancient (gcc 2.9x) compilers
6235 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * text3.C (cursorNext): add tmp var
6239 * text2.C (updateCounters): for function calling out of for clause
6240 (replaceSelectionWithString): ditto
6241 (insertStringAsParagraphs): ditto
6242 (getColumnNearX): add tmp var
6243 (setCursorFromCoordinates): add tmp var
6244 (cursorDownParagraph): add tmp var
6245 (deleteEmptyParagraphMechanism): add tmp var
6247 * text.C (insertChar): add tmp var
6249 * rowpainter.C (paintDepthBar): add tmp var
6251 * CutAndPaste.C (availableSelections): potentially check all
6252 paragraphs in a cut to fill the shown strings.
6254 2003-06-18 André Pönitz <poenitz@gmx.net>
6256 * kbmap.[Ch]: use vector<> instead of list<>
6258 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6260 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6261 pasteSelection with index
6263 * text2.C (pasteSelection): modify, call pasteSelection with index
6265 * paragraph.C (asString): reimplement version with no interval to
6266 call the one with interval.
6268 * lyxtext.h: add index arg to pasteSelection
6270 * MenuBackend.C (MenuItem): handle PasteRecent
6271 (Menu::read::Menutags): add md_pasterecent
6273 (expandPasteRecent): new function
6276 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6278 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6280 (availableSelections): new function
6282 2003-06-17 Angus Leeming <leeming@lyx.org>
6284 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6286 2003-06-17 Angus Leeming <leeming@lyx.org>
6289 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6291 * lyxfunc.C (dispatch): invoke it.
6293 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6295 * iterators.C (operator++, ParPosition): reintroduce some
6296 const_cast for the benefit of older compilers.
6298 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6300 * text3.C (dispatch): do not modify clipboard when doing
6301 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6302 LFUN_DELETE_SKIP on a selection selection
6304 2003-06-16 André Pönitz <poenitz@gmx.net>
6310 * tabular.[Ch]: IU of clone() and getLabelList();
6312 2003-06-13 André Pönitz <poenitz@gmx.net>
6314 * tabular.h: compactification
6316 2003-06-12 André Pönitz <poenitz@gmx.net>
6320 * tabular_funcs.h: some renaming plus whitespace
6322 2003-06-12 André Pönitz <poenitz@gmx.net>
6325 * BufferView_pimpl.C:
6331 * toc.C: Return a Paragraph & for ParIterator::operator*()
6333 2003-06-11 John Levon <levon@movementarian.org>
6337 * ToolbarBackend.C: add "Toolbars" section and
6340 2003-06-10 Angus Leeming <leeming@lyx.org>
6343 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6345 * lyxfunc.C (dispatch): invoke it.
6347 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6349 * main.C: protect <ios> with HAVE_IOS
6350 (main): protect sync_with_stdio with HAVE_IOS
6352 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6354 * text2.C (cutSelection): adjust
6355 (pasteSelection): adjust
6357 * messages.C: handle get of empty string
6359 * main.C (main): use sync_with_stdio(false)
6361 * lyxfunc.C (dispatch): adjust
6363 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6364 (WriteAs): remove unneeded BufferView arg.
6366 * bufferparams.h: use correct types on papersize, papersize2 and
6369 * bufferparams.C (readToken): adjust for type
6370 (writeLaTeX): add missing cases to switch.
6372 * bufferlist.C (quitWriteBuffer): adjust
6375 * buffer.C (asciiParagraph): remove some commented code.
6377 * CutAndPaste.C: remove current_view extern variable.
6378 (cutSelection): add BufferParams arg.
6379 (eraseSelection): add BufferParams arg.
6380 (pasteSelection): add Buffer const & arg
6382 2003-06-07 John Levon <levon@movementarian.org>
6385 * paragraph_funcs.C:
6386 * paragraph_pimpl.C:
6390 * paragraph.C: allow InsetERT to freely space lines,
6391 and some consolidation of code
6393 2003-06-06 José Matos <jamatos@fep.up.pt>
6395 * buffer.C (makeDocBookFile): fix bug #821
6397 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6399 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6401 2003-06-04 Angus Leeming <leeming@lyx.org>
6403 * buffer.C: bump format to 224.
6405 2003-06-05 André Pönitz <poenitz@gmx.net>
6407 * text2.C (redoParagraphs): remove two const_cast<>
6409 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6411 * ParagraphList.h: remove last remnants of NO_STD_LIST
6413 2003-06-03 Angus Leeming <leeming@lyx.org>
6415 * factory.C (createInset): small change to the way InsetExternal's params
6418 2003-06-04 André Pönitz <poenitz@gmx.net>
6420 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6422 * paragraph_pimpl.h:
6423 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6425 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6427 * undo_funcs.C: make some simple cases of undo work again
6429 2003-06-03 John Levon <levon@movementarian.org>
6431 * ispell.C: HPUX doesn't have sys/select.h
6434 2003-06-03 John Levon <levon@movementarian.org>
6436 * CutAndPaste.C: update tabular and include inset
6441 * paragraph.C: remove owningBuffer(), don't pass Buffer
6444 * factory.C: insetGraphicsParams changed
6446 2003-06-02 John Levon <levon@movementarian.org>
6452 * text3.C: remove insetparent
6454 2003-06-02 John Levon <levon@movementarian.org>
6457 * buffer.C: fix inset_iterator.end(), move out of line
6460 2003-06-01 John Levon <levon@movementarian.org>
6462 * text3.C: use a proper cut/paste when doing inset
6463 insert (from Jürgen Spitzmüller)
6465 2003-06-01 John Levon <levon@movementarian.org>
6467 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6469 2003-05-30 André Pönitz <poenitz@gmx.net>
6471 * rowpainter.C: unify second drawing phase
6473 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6475 * trans_mgr.C: remove one case of current_view
6477 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6479 * paragraph_funcs.h: remove paragraph.h include
6481 * paragraph.h: delete NO_STD_LIST stuff
6483 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6485 * buffer.h: remove paragraph.h include
6487 * ParagraphList.C: delete file
6489 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6491 * toc.C (getTocList): adjust
6493 * paragraph_pimpl.C (validate): adjust
6495 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6497 * paragraph.C (Paragraph): adjust
6498 (getPositionOfInset): use const_iterator, adjust
6499 (bibitem): use const_iterator, adjust
6500 (setInsetOwner): adjust
6502 * iterators.C (operator++): adjust
6504 * InsetList.[Ch]: Replace selfmade iterator with standard
6505 vector::iterator also introduce const_iterator. Remove getPos,
6506 getInset and setInset from InsetTable. Adjust accordingly.
6508 * BufferView.C (lockInset): adjust
6509 (ChangeInsets): adjust
6511 * tabular.[Ch]: delete commented same_id functions
6513 2003-05-28 John Levon <levon@movementarian.org>
6515 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6517 2003-05-28 André Pönitz <poenitz@gmx.net>
6519 * metricsinfo.[Ch]: remove 'fullredraw' member
6521 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6523 * lyxtextclass.C (operator): remove caching.
6525 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * text2.C (cursorBottom): adjust
6530 (setCounter): use ParagraphList::find, adjust
6532 * text.C (workWidth): use ParagraphList::find, adjust
6534 * lyxcursor.C (LyXCursor): adjust
6536 * buffer.C (inset_iterator): adjust
6538 * ParagraphList.h: make iterator(value_type) private, make
6539 ParagraphList a friend of iterator.
6541 * ParagraphList.C (find): new function
6543 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6545 2003-05-27 André Pönitz <poenitz@gmx.net>
6547 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6549 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6551 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6553 2003-05-26 John Levon <levon@movementarian.org>
6555 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6557 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * remove same_id from function signatures, adjust.
6561 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6563 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6565 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6567 * paragraph.C (Paragraph): get rid of same_ids parameter
6569 * ParagraphList.C (insert): adjust
6572 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6574 * paragraph_funcs.C (breakParagraph): adjust
6575 (breakParagraphConservative): adjust
6577 * buffer.C (readParagraph): adjust
6579 * ParagraphList.C (insert): take a reference instead of a pointer
6582 * paragraph.[Ch] (id): new function
6584 * bufferlist.C (newFile): adjust
6586 * ParagraphList.C (ParagraphList): adjust
6588 (push_back): take a reference instead of a pointer.
6590 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6592 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6595 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6596 set else use old code.
6598 * ParagraphList.C: remove all NO_NEXT code and only compile this
6599 code of NO_STD_LIST is set.
6601 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6603 * BufferView_pimpl.C:
6613 * graphics/GraphicsConverter.C:
6614 * graphics/PreviewLoader.C: header adjustment
6616 2003-05-23 Angus Leeming <leeming@lyx.org>
6618 * LaTeXFeatures.[Ch] (useBabel): new method.
6619 * bufferparams.C (writeLaTeX): use it.
6621 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6623 * ParagraphList.h (set): remove unused function.
6625 2003-05-23 André Pönitz <poenitz@gmx.net>
6628 * BufferView_pimpl.C:
6632 * undo_funcs.C: setUndo reworked
6634 * iterators.[Ch]: add access to topmost ParagraphList
6636 * lyxtext.[Ch] (workWidth): add a const
6638 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6640 * texrow.[Ch] (increasePos): remove function
6641 * exporter.C (export): removed unused var and outdated comment
6643 2003-05-23 Angus Leeming <leeming@lyx.org>
6645 * latexrunparams.h: rename fragile as moving_arg.
6646 * paragraph.C (simpleTeXOnePar): ditto.
6647 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6649 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6651 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6653 (textUndoOrRedo): comment out a currently unused var.
6655 * paragraph.h (NO_NEXT): enable NO_NEXT
6657 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6659 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6661 * exporter.C (Export): adjust for removeAutoInsets removal.
6663 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6665 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6667 * BufferView.[Ch] (removeAutoInsets): delete function
6669 2003-05-22 Angus Leeming <leeming@lyx.org>
6671 * latexrunparams.h: add a free_spacing variable.
6673 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6674 to pass moving_arg, as the data is stored in runparams.fragile.
6676 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6677 to Inset::latexOptional or to simpleTeXOnePar.
6679 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6680 free_spacing arg to Inset::latexOptional.
6682 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6685 2003-05-22 Angus Leeming <leeming@lyx.org>
6687 * latexrunparams.h: add fragile and use_babel variables.
6689 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6690 * buffer.C (makeLaTeXFile): store this returned value in
6691 runparams.use_babel, thus passing it to the inset::latex methods.
6693 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6694 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6696 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6697 longer has a fragile arg, as it is stored in runparams.fragile.
6699 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6700 moving_arg parameter as the data is stored in runparams.fragile.
6702 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6703 a fragile parameter as the data is stored in runparams.fragile.
6705 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6707 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6709 2003-05-22 Angus Leeming <leeming@lyx.org>
6711 * latexrunparams.h: add a 'bool nice' which defaults to false.
6713 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6714 now encapsulated within runparams.
6716 * bufferlist.C (updateIncludedTeXfiles):
6717 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6719 2003-05-22 Angus Leeming <leeming@lyx.org>
6721 * latexrunparams.h: new file containing struct LatexRunParams.
6722 * Makefile.am: add new file.
6724 * LaTeX.[Ch] (c-tor, run):
6725 * buffer.[Ch] (makeLaTeXFile):
6726 * bufferlist.[Ch] (updateIncludedTeXfiles):
6727 * converter.C (convert, scanLog):
6728 * converter.[Ch] (runLaTeX):
6729 * exporter.C (Export):
6730 * paragraph.[Ch] (simpleTeXOnePar):
6731 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6732 * paragraph_funcs.[Ch] (latexParagraphs):
6733 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6734 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6735 pass around a LatexRunParams parameter.
6737 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6739 * paragraph.[Ch]: remove unused constructor
6741 * ParagraphList.C (erase): new function, taking two iterators
6743 2003-05-22 André Pönitz <poenitz@gmx.net>
6745 * undo_funcs.C: remove duplicated code
6747 * iterator.[Ch]: operator=
6749 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * tabular.C (SetMultiColumn): ws changes
6753 * rowpainter.C (paintFirst): get rid of a ->previous
6755 * lyx_cb.C (getPossibleLabel): parlist simplification
6757 * BufferView.C (ChangeInsets): simplify slightly.
6759 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6761 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6762 * lfuns.h: new LFUN_SPACE
6763 * lyxfunc.C: protected space has a new lfun
6764 * paragraph_funcs.C: read new space insets
6766 * factory.C: handle new space insets
6768 2003-05-22 André Pönitz <poenitz@gmx.net>
6771 * BufferView_pimpl.C:
6774 * undo_funcs.C: return a ParIterator from getParFromID.
6776 * iterators.[Ch]: add two const's
6778 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6780 * toc.C (getTocList): adjust
6782 * iterators.[Ch]: rework for parlist
6784 * buffer.C (par_iterator_begin): adjust
6785 (par_iterator_end): adjust
6787 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6789 * BufferView.C (removeAutoInsets): adjust
6790 (ChangeInsets): adjust
6792 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6794 * text.C (top_y): fix bug 1110
6796 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6798 * errorlist.[Ch]: added
6801 * BufferView_pimpl.C:
6802 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6805 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6807 * Makefile.am: ensure that lyx is relinked upon changes to the
6808 various "convenience" libs.
6810 2003-05-20 Angus Leeming <leeming@lyx.org>
6812 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6813 files are compiled in alphabetical order again.
6815 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6817 2003-05-19 Angus Leeming <leeming@lyx.org>
6819 * gettext.[Ch]: remove "char const * _(char const *)".
6821 2003-05-19 André Pönitz <poenitz@gmx.net>
6823 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6832 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6834 2003-05-19 André Pönitz <poenitz@gmx.net>
6838 * lyxtextclass.[Ch]:
6840 * paragraph_funcs.[Ch]:
6842 * text3.C: more insetenv work
6844 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6846 * ParagraphParameters.C (params2string): small bug fixed
6848 2003-05-16 André Pönitz <poenitz@gmx.net>
6851 * bufferview_funcs.C: patch from Kornel Benko to prevent
6852 crash when _(...) is called twice in a statement
6854 2003-05-16 André Pönitz <poenitz@gmx.net>
6861 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6863 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6865 * lyx_main.C (init): remove spurious static_cast
6867 2003-05-14 André Pönitz <poenitz@gmx.net>
6869 * BufferView.C: fix format string
6871 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6873 * BufferView.[Ch] (insertErrors): removed
6874 * BufferView.[Ch] (showErrorList): added
6875 * buffer.C (runChkTeX):
6876 * converter.C (scanLog): call showErrorList instead of inserterrors
6878 2003-05-13 André Pönitz <poenitz@gmx.net>
6880 * BufferView_pimpl.C:
6882 * bufferview_func.C:
6889 * tabular_funcs.h: tostr() from its own header
6891 * ParagraphParameters.C:
6896 * text3.C: STRCONV()
6898 2003-05-12 André Pönitz <poenitz@gmx.net>
6901 * BufferView_pimpl.C:
6905 * ParagraphParameters.C:
6909 * bufferview_funcs.C:
6922 * paragraph_funcs.C:
6926 * text3.C: boost::format -> bformat all over the place
6929 2003-05-09 André Pönitz <poenitz@gmx.net>
6931 * LColor.[Ch]: Pimpl the #include <map> away
6933 2003-05-09 John Levon <levon@movementarian.org>
6935 * bufferlist.C: never remove emergency saves
6937 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6939 * Makefile.am: better lib building
6941 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6943 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6945 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6946 (simpleTeXSpecialChars): adjust
6947 (simpleTeXSpecialChars): adjust
6948 * paragraph.C (simpleTeXOnePar): adjust
6949 * buffer.C (makeLaTeXFile): adjust
6951 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6953 * text2.C (changeDepth): parlist cleanup
6954 (getColumnNearX): ditto
6956 * rowpainter.C (getLabelFont): parlist cleanup
6958 * bufferlist.C (newFile): parlist cleanup
6960 * CutAndPaste.C (eraseSelection): parlist cleanup
6962 * BufferView_pimpl.C (trackChanges): parlist cleanup
6965 * BufferView.C (lockInset): parlist cleanup.
6966 (ChangeInsets): ditto
6968 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * CutAndPaste.h: Update file header.
6972 * CutAndPaste.C: Update file header.
6973 Store the parts cut out of the Document in a limited_stack.
6974 (copySelection): adjust
6975 (pasteSelection): new function, takes the index in the limited stack.
6976 (nrOfParagraphs): adjust
6977 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6978 simplify error inset insertion.
6979 (checkPastePossible): adjust
6981 2003-05-06 John Levon <levon@movementarian.org>
6983 * text2.C: don't cast wrap inset to float
6985 2003-05-05 André Pönitz <poenitz@gmx.net>
6988 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6990 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6991 few naked Paragraph *.
6993 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6995 * bufferparams.C: Output warning if a document with missing
6996 TeX document class is loaded
6997 * exporter.C: Disable TeX exports if the document class is missing
7000 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7001 isTeXClassAvailable()
7003 2003-05-03 John Levon <levon@movementarian.org>
7006 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7007 explicit cursor show/hide
7009 * BufferView_pimpl.h:
7010 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7011 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7013 * lyxfunc.C: hide cursor before dispatching.
7018 * text3.C: remove explicit cursor hides
7020 2003-05-02 André Pönitz <poenitz@gmx.net>
7022 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7025 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7028 * text2.C: tiny whitespace
7030 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7032 * undo_funcs.C: almost only ws changes.
7034 * ParagraphList.C (splice): just return if pl is empty.
7036 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7038 * ParagraphList.C (splice): new function.
7040 * CutAndPaste.C (pasteSelection): use it
7042 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7044 * CutAndPaste.C (pasteSelection): remove the last next and
7045 previous from this file.
7047 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7049 * CutAndPaste.C (pasteSelection): more clean up, user proper
7050 ParagraphList functions for pasteing.
7052 * ParagraphList.C (insert): new function, three arg insert
7054 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7056 * ParagraphList.C (insert): new function, three arg insert
7058 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7061 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7063 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7065 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7069 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7072 (copySelection): clean up a bit.
7073 (pasteSelection): use make_pair
7075 * ParagraphList.C (ParagraphList): implement copy constructor
7076 (operator=): implement, base on copy constructor.
7079 * paragraph.C (erase): return a bool
7081 * paragraph_pimpl.C (erasePos): remove function, move contents...
7082 (erase): ... here. Return a bool.
7083 (erase): call erase instead of erasePos.
7085 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7087 * ParagraphList.h: define PitPosPair
7088 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7089 ParagraphList, fix a bug on pasting multiple pars
7090 * text2.C: change interface to C&P
7092 2003-04-30 André Pönitz <poenitz@gmx.net>
7094 * undo_func.C: revert part of yesterday's patch 2
7096 2003-04-30 John Levon <levon@movementarian.org>
7098 * LColor.C: s/tabular/table/
7100 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * text3.C (dispatch): do not convert iterator -> pointer
7103 * undo_funcs.C (setCursorParUndo): ditto
7104 * text_funcs.C (transposeChars): ditto
7106 * text2.C (setLayout): ws changes only
7108 * text.C (breakParagraph): do not convert iterator -> pointer
7110 (acceptChange): ditto
7111 (rejectChange): ditto
7116 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7119 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7121 * text3.C (gotoInset): YABG (yet another bad getChar)
7123 2003-04-29 André Pönitz <poenitz@gmx.net>
7125 * paragraph.h: make operator= private unimplemented as long as
7128 * ParagraphList.C: whitespace
7131 * paragraph_pimpl.[Ch]:
7132 * paragraph_funcs.C:
7134 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7137 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7139 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7141 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7142 * paragraph.[Ch] (erase):
7143 * paragraph_pimpl.[Ch] (erase): change return type and value
7144 * text2.C (cutSelection): some rework
7146 2003-04-28 John Levon <levon@movementarian.org>
7148 * bufferlist.C: changes for unsaved changes dialog
7150 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7152 * bufferlist.C (newFile): set language (messages_) for new
7155 * buffer.C (readFile): ws changes only.
7157 2003-04-28 André Pönitz <poenitz@gmx.net>
7162 * BufferView_pimpl.C:
7163 * BufferView.C: getParFromID related ParagraphList::iterator changes
7165 2003-04-28 André Pönitz <poenitz@gmx.net>
7167 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7170 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7172 * messages.C: remove one more localedir class variable.
7174 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7176 * messages.C (getLocaleDir): singleton generation function
7178 (Messages): add a default constructor.
7180 * main.C (main): do not setup localedir here, do not call
7183 * gettext.C (_): use it.
7184 (gettext_init): delete funciton
7186 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7188 * gettext.C (getLyXMessages): new singleton generating function.
7190 * buffer.C (updateDocLang): adjust
7192 * Makefile.am (messages.o): add target
7193 (main.o): remove target
7195 2003-04-27 John Levon <levon@movementarian.org>
7200 * lyxvc.C: specify cancel button in Alert::prompt
7202 2003-04-26 John Levon <levon@movementarian.org>
7207 * LyXAction.C: add LFUN_INSET_SETTINGS
7209 * lyxfunc.C: don't enable tabular-feature when there's
7210 just any locking inset
7212 2003-04-26 John Levon <levon@movementarian.org>
7214 * bufferlist.C: re-add Cancel to buffer close question
7216 * lyxfunc.C: fix import UI a bit
7218 2003-04-25 John Levon <levon@movementarian.org>
7220 * gettext.C: remove the broken asserts for now
7222 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * messages.C: make case where setlocale cannot comply work better.
7226 * buffer.C (updateDocLang): new function
7227 (changeLanguage): use it
7230 * text2.C (setCounter): use B_ a bit.
7232 * lyxlayout.C (Read): be sure to trim the label strings.
7234 * messages.C (Messages): fix typo in comment
7236 * buffer.C (readFile): set message_ after file is loaded.
7237 (makeDocBookFile): remove double return
7238 (changeLanguage): reset message_ upon language change.
7239 (B_): new func, use this to get translated buffer strings.
7241 * main.C: add myself and Jean Marc as authors.
7243 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * messages.[hC]: pimplify Messages, and three different pimpls to be
7246 used in different circumstances.
7248 * gettext.[Ch]: change for use with new message code.
7250 2003-04-24 André Pönitz <poenitz@gmx.net>
7252 * factory.C: support for eqref
7254 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * messages.[Ch]: add missing char
7258 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7260 * messages.[Ch]: New files
7262 2003-04-18 John Levon <levon@movementarian.org>
7266 * BufferView_pimpl.C:
7270 * text2.C: remove layout-copy/paste (bug 778)
7272 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7274 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7276 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7278 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7279 if they succeed. Act accordingly.
7281 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7283 * text2.C (setCharFont): adjust
7284 (setCounter): adjust
7285 (insertStringAsLines): adjust
7287 * text.C (leftMargin): adjust
7288 (setHeightOfRow): adjust
7290 * rowpainter.C (paintFirst): adjust
7293 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7295 (isFirstInSequence): ditto
7296 (getEndLabel): ditto
7299 * paragraph.C (getParLanguage): comment out some hard stuff.
7301 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7303 (simpleDocBookOnePar): ditto
7304 (makeDocBookFile): use ParagraphList::iterator
7306 * CutAndPaste.C (pasteSelection): adjust
7308 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * text2.C (getFont): adjust
7311 (getLayoutFont): adjust
7312 (getLabelFont): adjust
7314 * paragraph_funcs.C (TeXOnePar): adjust
7316 * buffer.C (simpleLinuxDocOnePar): adjust
7317 (simpleDocBookOnePar): adjust
7319 * CutAndPaste.C (pasteSelection): adjust
7321 * BufferView.C (getEncoding): adjust
7323 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7325 2003-04-16 John Levon <levon@movementarian.org>
7327 * lyxfind.C: use parlist stuff for search/changes
7329 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7333 * text2.C (deleteEmptyParagraphMechanism): adjust
7335 * text2.[Ch] (ownerParagraph): delete func (both of them
7337 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7339 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7341 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * ParagraphList.C: prepare for NO_NEXT
7345 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7347 * text2.C (getFont): adjust
7348 (getLayoutFont): adjust
7349 (getLabelFont): adjust
7351 * paragraph.C (getFont): adjust
7352 (getLabelFont): adjust
7353 (getLayoutFont): adjust
7355 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7357 2003-04-15 John Levon <levon@movementarian.org>
7361 * lyx_main.C: handle Include in .ui files
7363 2003-04-15 John Levon <levon@movementarian.org>
7365 * MenuBackend.C: make the doc files length shorter
7368 * ToolbarBackend.C: handle toolbar placement flags,
7371 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7373 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7376 * paragraph_funcs.C (TeXOnePar): adjust
7378 * paragraph.C (getLabelFont): add outerfont arg, adjust
7379 (getLayoutFont): ditto
7380 (simpleTeXOnePar): adjust
7382 * paragraph_pimpl.C (realizeFont): delete func
7384 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7386 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7387 row argument, constify cur argument.
7389 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7391 * text2.C (getFont): adjust
7392 (getLayoutFont): adjust
7393 (getLabelFont): adjust
7395 * paragraph_funcs.C (TeXOnePar): adjust
7396 (outerFont): new func...
7397 (realizeFont): ...moved out from here, changed this to facilitate
7400 * paragraph.C (getFont): take outerfont as arg, adjust
7401 (simpleTeXOnePar): add outerfont arg, adjust
7403 * buffer.C (simpleLinuxDocOnePar): adjust
7404 (simpleDocBookOnePar): adjust
7406 * CutAndPaste.C (pasteSelection): adjust
7408 * BufferView.C (getEncoding): adjust
7410 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7412 * text2.C (setCharFont): adjust
7413 (setCounter): adjust
7415 * text.C (leftMargin): adjust
7416 (setHeightOfRow): adjust
7418 * rowpainter.C (paintFirst): adjust
7421 * paragraph_pimpl.C (realizeFont): adjust
7423 * paragraph.C (isFirstInSequence): move from here...
7424 * paragraph_funcs.C (isFirstInSequence): ...to here
7426 * paragraph.C (outerHook): move from here...
7427 * paragraph_funcs.C (outerHook): ...to here
7429 * paragraph.C (depthHook): move from here...
7430 * paragraph_funcs.C (depthHook): ...to here
7432 * paragraph.C (getEndLabel): move from here...
7433 * paragraph_funcs.C (getEndLabel): ...to here
7435 * text2.C (realizeFont): move from here...
7436 * paragraph_funcs.C (realizeFont): ...to here
7438 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7440 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7442 2003-04-14 Angus Leeming <leeming@lyx.org>
7444 * LColor.[Ch]: scrap LColor mathcursor.
7446 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * lyxlex.[Ch] (text): delete function
7449 * trans.C (Load): adjust
7450 * paragraph_funcs.C (readParToken): adjust
7452 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7454 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7455 vector<char> instead of a char[].
7457 * lyxlex_pimpl.C (getString): adjust
7459 (lex): use getString
7463 * lyxlex.C (text): use pimpl_->getString()
7467 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7469 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7470 (makeFontEntriesLayoutSpecific): temp var for par.size()
7471 (setLayout): temp var for ownerParagraphs().end()
7472 (fullRebreak): temp var for rows().end()
7473 (selectionAsString): temp var for boost::next(startpit), realize
7474 that the while really is a regular for loop.
7475 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7476 setCursor in one place.
7477 (setParagraph): temp vr for ownerParagraphs().end()
7478 (updateCounters): make the while loop a for loop
7479 (cutSelection): temp var for ownerParagraphs().end()
7480 (updateInset): make the do {} while() a regular for loop
7481 (getCursorX): use temp vars
7482 (setCurrentFont): use temp vars
7483 (getColumnNearX): use temp vars
7485 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * text.C (transformChar): use temp var for getChar
7488 (computeBidiTables): use temp var for row->par()
7489 (fill): move temp vars for row->par() and pit->layout() earlier in
7491 (labelFill): use temp var for row->par()
7492 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7493 asc and desc, realize that pit never changes and that firstpit is
7494 just a duplicate and not needed. Exchange rit->par() with pit in a
7496 (breakAgain): use a temp var for boost::next(rit)
7497 (breakAgainOneRow): ditto
7498 (breakParagraph): use a temp var for rows().begin()
7499 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7500 (cursorRightOneWord): use temp var for cursor.par() and
7501 cursor.pos(), remove usage of tmpcursor.
7502 (cursorLeftOneWord): use temp var for cursor.par() and
7503 cursor.pos() only set cur at end of function.
7505 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7507 * text.C, text2.C: exchange all usage of Paragraph::next with
7508 boost::next(ParagraphList::iterator)
7510 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7512 * text2.C (cursorTop): simplify implementation
7513 (cursorBottom): ditto
7514 (setParagraph): use ParagraphList::iterator
7515 (setCurrentFont): adjust
7516 (getColumnNearX): adjust
7517 (cursorRight): adjust
7518 (cursorLeft): remove usage of Paragraph::previous
7519 (cursorUpParagraph): ditto
7520 (deleteEmptyParagraphMechanism): slight cleanup
7522 * text.C (isBoundary): take a Paragraph const & instead of a
7524 (addressBreakPoint): ditto
7525 (leftMargin): remove usage of Paragraph::previous.
7526 (setHeightOfRow): ditto
7527 (cursorLeftOneWord): ditto
7528 (selectNextWordToSpellcheck): ditto
7531 (breakParagraph): remove one usage of Paragraph::next
7532 (redoParagraph): ditto
7533 (acceptChange): ditto
7534 (insertChar): adjust
7535 (rowBreakPoint): adjust
7537 * bufferview_funcs.C (toggleAndShow): adjust
7539 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7541 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7542 methods to access it.
7544 * text.C: Added updateRowPositions to compute all row positions.
7545 Make top_y and getRowNearY() to use the cached y position
7547 2003-04-11 John Levon <levon@movementarian.org>
7549 * text.C (rowBreakPoint): reintroduce the labelEnd
7550 checks, code copied from the row fill stuff. Deep voodoo.
7552 * text.C (fill): add a comment and debugging for the
7555 2003-04-11 John Levon <levon@movementarian.org>
7557 * text.C: make sure fullrow insets get wrapped to the next line,
7558 even when they're in a manual label
7560 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7562 * text2.C (insertParagraph): make it take ParagraphList::iterator
7564 (setLayout): make it return ParagraphList::iterator
7565 (redoParagraphs): ditto
7567 (checkParagraph): ditto
7569 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7571 * text2.C: adjust several funcs.
7572 (realizeFont): take a ParagraphList::iterator as arg.
7573 (getLayoutFont): ditto
7574 (getLabelFont): ditto
7575 (setCharFont): ditto
7577 * text.C: adjust several funcs.
7579 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7581 * text.C (selectNextWordToSpellcheck): don't accidentally
7584 2003-04-10 John Levon <levon@movementarian.org>
7586 * ToolbarBackend.C (getIcon): special handling for
7589 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7591 * text2.C (cursorRight): a getChar assert fixed
7593 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * text2.C (getFont): change to take a ParagraphList::iterator
7596 instead of Paragraph*
7597 Adjust several functions.
7599 * text.C (transformChar): change to take a ParagraphList::iterator
7600 instead of Paragraph*
7601 (singleWidth): ditto
7602 Adjust several functions.
7604 * rowpainter.C: adjust several functions
7605 * rowpainter.h:store a ParagraphList::iterator and not a
7609 2003-04-09 John Levon <levon@movementarian.org>
7614 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7615 and the "help" bits as well
7617 2003-04-09 John Levon <levon@movementarian.org>
7620 * ToolbarBackend.C: allow multiple toolbars
7622 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7624 * undo_funcs.C (setCursorParUndo): adjust
7626 * text_funcs.C (transposeChars): adjust
7628 * text3.C (gotoNextInset): adjust
7631 * text2.C (setLayout): adjust
7632 (changeDepth): adjust
7634 (redoParagraphs): adjust
7635 (selectionAsString): adjust
7636 (setParagraph): adjust
7637 (insertInset): adjust
7638 (cutSelection): adjust
7639 (copySelection): adjust
7640 (pasteSelection): adjust
7641 (insertStringAsLines): adjust
7642 (updateInset): adjust
7643 (setCursor): change to take a ParagraphList::iterator parameter
7644 (setCursorIntern): change to take a ParagraphList::iterator parameter
7645 (setCurrentFont): adjust
7646 (cursorLeft): adjust
7647 (cursorRight): adjust
7648 (deleteEmptyParagraphMechanism): adjust
7650 * text.C (breakParagraph): adjust
7651 (insertChar): adjust
7652 (acceptChange): adjust
7653 (rejectChange): adjust
7654 (selectNextWordToSpellcheck): adjust
7655 (changeCase): adjust
7659 * lyxfind.C (SearchForward): adjust
7660 (SearchBackward): adjust
7661 (nextChange): adjust
7663 * lyxcursor.C (par): adjust
7665 * lyxcursor.h: store a ParagraphList::iterator instead of a
7668 * lyx_cb.C (getPossibleLabel): adjust
7670 * bufferview_funcs.C (toggleAndShow): adjust
7672 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7675 * BufferView.C (removeAutoInsets): adjust
7676 (lockedInsetStoreUndo): adjust
7678 2003-04-09 John Levon <levon@movementarian.org>
7680 * ToolbarBackend.C: try icon without argument
7681 if with argument fails
7683 2003-04-08 John Levon <levon@movementarian.org>
7686 * ToolbarBackend.C: add getIcon(), handle tooltip,
7687 and change from "Icon" to "Item".
7689 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7691 * BufferView.C (lockInset): another bad getchar crunched
7693 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7695 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7698 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7700 * lyxfind.C (searchForward, searchBackwards): bug 782
7702 2003-04-07 John Levon <levon@movementarian.org>
7704 * paragraph.C: remove dead comment
7706 * text.C: remove troublesome depth-fiddling code
7707 in leftMargin() and rightMargin() (bug 1017)
7709 * text.C: fix breaking of rows in nested lists
7712 * text2.C (updateCounters): fix up depth values
7715 2003-04-07 John Levon <levon@movementarian.org>
7717 * BufferView_pimpl.C: clear message when doc finishes resizing,
7718 and after a mouse event
7720 * lyxfunc.C: clear message after exiting inset
7722 2003-04-07 John Levon <levon@movementarian.org>
7724 * bufferview_funcs.C: show math status not outside
7725 status in the statusbar
7727 2003-04-07 John Levon <levon@movementarian.org>
7729 * lyxfunc.C: note status changed after a depth change
7731 2003-04-04 Angus Leeming <leeming@lyx.org>
7733 * LaTeX.h: move AuxInfo operator==, != out of line.
7734 Remove LaTeX virtual destructor; nothing derives from it.
7735 Move operator()() out of public area and rename it startscript().
7736 Change protected for private.
7738 2003-04-04 Angus Leeming <leeming@lyx.org>
7741 * text2.C: remove unneeded #includes.
7743 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7745 * text2.C (dEPM): fix the heigth of the next row
7747 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7749 * text.C: squashed an invalid getChar requester + some ws changes
7751 2003-04-03 John Levon <levon@movementarian.org>
7753 * bufferview_funcs.h:
7754 * bufferview_funcs.C:
7757 * text2.C: make getStatus work for the env depth lfuns
7759 2003-04-03 John Levon <levon@movementarian.org>
7761 * bufferview_funcs.h:
7762 * bufferview_funcs.C:
7765 * text2.C: parlistize decDepth(), by merging it with incDepth()
7767 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7769 * lyxrow.h: store a ParagraphList::iterator instead of a
7770 Paragraph* and adjust other class functions to suit.
7772 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7775 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7777 * text2.C (setCursor): do not anchor to cursor row for the time being
7779 2003-04-02 John Levon <levon@movementarian.org>
7786 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7788 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * paragraph.h: make ParagraphList and ParagraphList::iterator
7791 friends of Paragraph.
7793 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7795 * ParagraphList.C: Use the private next_ and previous_ from
7798 2003-04-01 John Levon <levon@movementarian.org>
7802 * Makefile.am: rename, remove defaults gunk
7805 * MenuBackend.C: remove defaults gunk
7808 * Languages.C: remove defaults gunk
7811 * lyx_main.C: error out if files couldn't be found.
7813 2003-04-02 John Levon <levon@movementarian.org>
7815 * text2.C: make incDepth() use parlist
7817 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7819 * undo_funcs.C (firstUndoParagraph): adjust
7821 * text3.C (gotoInset): adjust
7822 (dispatch): adjust, and rewrite loop.
7824 * text2.C (init): adjust, and rewrite loop.
7825 (redoParagraphs): adjust
7826 (updateInset): adjust, and rewrite loop.
7827 (deleteEmptyParagraphMechanism): adjust
7829 * tabular.C (LyXTabular): adjust
7830 (SetMultiColumn): adjust
7833 * lyxtext.[Ch] (ownerParagraph): delete function
7834 (ownerParagraphs): new function returns a ParagraphList.
7836 * BufferView.C (removeAutoInsets): adjust
7837 (insertErrors): adjust
7838 (setCursorFromRow): adjust
7840 2003-04-01 Angus Leeming <leeming@lyx.org>
7842 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7845 2003-04-02 John Levon <levon@movementarian.org>
7851 * text_funcs.C: make transposeChars a free function
7853 * lyxrow_funcs.C: remove wrong comment
7855 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7858 * rowpainter.C: adjust
7863 * lyxrow_funcs. [Ch]: new files
7865 * lyxrow.[Ch]: remove next and previous pointers
7866 (next,previous): remove accessor functions
7867 (isParEnd): move to lyxrow_funcs
7868 (lastPos): move to lyxrow_funcs
7869 (nextRowIsAllInset): move to lyxrow_funcs
7870 (lastPrintablePos): move to lyxrow_funcs
7871 (numberOfSeparators): move to lyxrow_funcs
7872 (numberOfHfills): move to lyxrow_funcs
7873 (numberOfLabelHfills): move to lyxrow_funcs
7874 (hfillExpansion): move to lyxrow_funcs
7878 * bufferview_funcs.C (toggleAndShow): adjust
7880 * RowList.h: Remove class RowList from file leave just a
7883 * RowList.C: delete file
7885 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7888 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7890 * text3.C (cursorPrevious): adjust
7891 (cursorNext): adjust
7894 * text2.C (redoHeightOfParagraph): adjust
7895 (redoDrawingOfParagraph): adjust
7898 * text.C (breakParagraph): adjust
7899 (insertChar): adjust
7902 * rowpainter.C (RowPainter): adjust
7903 (leftMargin): simplify and adjust
7904 (most rowpainter functions): adjust.
7906 * rowpainter.h: store the row as RowList::iterator not as Row*
7908 * lyxcursor.C (row): taka RowList::iterator as arg
7911 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7914 2003-04-01 Angus Leeming <leeming@lyx.org>
7916 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7917 stuff like bool Bool.
7919 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7921 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7924 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7926 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7929 * lyxtext.h (rows): drop one version and leve a const variant that
7930 returns a RowList::iterator.
7932 2003-03-31 Angus Leeming <leeming@lyx.org>
7934 * text.C (fill): ensure that the signature is the same as that in the
7937 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7939 * text2.C (redoParagraphs): adjust
7940 (updateCounters): adjust
7941 (checkParagraph): adjust
7942 (getColumnNearX): adjust and reformat a bit.
7944 * text.C (top_y): adjust
7946 (leftMargin): adjust
7947 (prepareToPrint): adjust
7949 (getRowNearY): adjust
7951 * lyxtext.h: make rowlist_ mutable.
7953 * RowList.h: add const_iterator
7954 * RowList.C: adjust for RowList::const_iterator.
7956 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7959 2003-03-31 John Levon <levon@movementarian.org>
7962 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7964 * lyx_main.C: set default fonts from using lyx_gui funcs
7966 * exporter.C: pdf_mode moved from lyxrc
7969 * lyxfunc.C: changes from above
7971 2003-03-31 John Levon <levon@movementarian.org>
7973 * lyx_main.C: fix to the last fix
7975 2003-03-31 John Levon <levon@movementarian.org>
7977 * bufferlist.C: "Load original" -> "Load Original"
7983 * format.C: more Alert cleanups
7985 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7987 * text2.C (removeParagraph): make it take a RowList::iterator as
7989 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7990 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7992 * text.C (anchor_row): make it take a RowList::iterator as arg,
7994 (computeBidiTables): make it take a const reference to Row instead
7995 of Row pointer, adjust.
7996 (leftMargin): make it take a RowList::iterator as arg, adjust.
7997 (rowBreakPoint): adjust
7998 (breakAgainOneRow): make it take a RowList::iterator as arg,
8000 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8002 * bufferview_funcs.C (toggleAndShow): adjust
8004 2003-03-30 John Levon <levon@movementarian.org>
8008 * boost-inst.C: moved to support
8010 * several files: changes as a result
8012 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * text2.C (LyXText): adjust.
8016 (removeRow): make it take a RowList::iterator as arg, adjust.
8017 (fullRebreak): adjust
8018 (deleteEmptyParagraphMechanism): adjust
8019 (clearPaint): adjust
8022 * text.C (top_y): adjust
8023 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8024 (breakAgain): make it take a RowList::iterator as arg, adjust.
8025 (breakParagraph): adjust
8026 (insertChar): adjust
8029 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8030 need_break_row, and refresh_row.
8032 * text3.C (dispatch): adjust
8034 * text2.C (checkParagraph): adjust
8036 (setCursorFromCoordinates): adjust
8038 * text.C (top_y): adjust
8040 (getRow): make it return a RowList::iterator, adjust
8041 (getRowNearY): make it return a RowList::iterator, adjust
8043 * text2.C (init): adjust
8044 (insertRow): remove function
8045 (insertParagraph): adjust
8046 (redoParagraphs): adjust
8047 (fullRebreak): adjust
8048 (updateCounters): adjust
8050 * text.C (top_y): rewrite to use RowList iterators.
8052 (setHeightOfRow): rewrite to sue RowList iterators.
8053 (appendParagraph): adjust
8054 (breakAgain): adjust
8055 (breakAgainOneRow): adjust
8056 (breakParagraph): adjust
8058 (getRowNearY): adjust, and remove commented code.
8060 * lyxtext.h (firstRow): delete function
8061 (lastRow): delete function
8062 (rows): new function (const and non-const versions.)
8063 (insertRow): delete function
8065 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8067 2003-03-29 John Levon <levon@movementarian.org>
8069 * BufferView_pimpl.C: always update scrollbar top
8070 because pasting text when we're anchored could mean we
8071 miss an update altogether
8073 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8075 * text2.C (init): use rowlist_.end() and not 0.
8076 (insertRow): change to take a RowList::iterator as arg, adjust
8078 (insertParagraph): change to take a RowList::iterator as arg,
8080 (redoParagraphs): remove some debug msgs.
8082 * text.C (appendParagraph): change to take a RowList::iterator
8083 arg, adjust for this.
8084 (breakAgain): add an assert
8085 (breakAgainOneRow): ditto
8087 2003-03-29 John Levon <levon@movementarian.org>
8089 * text2.C: do not clear selection after inc/decDepth
8092 2003-03-29 John Levon <levon@movementarian.org>
8095 * buffer.C: fix broken strerrors according to Lars
8097 2003-03-29 John Levon <levon@movementarian.org>
8099 * converters.C: more Alert cleanups
8101 2003-03-29 John Levon <levon@movementarian.org>
8103 * bufferview_funcs.C: remove pointless Alert
8105 * buffer.C: fix confusing error message when
8106 a template is chmoded 000
8108 2003-03-29 John Levon <levon@movementarian.org>
8112 * BufferView_pimpl.C: Alert fixes
8116 * tabular-old.C: remove unused table compat reading
8118 2003-03-29 John Levon <levon@movementarian.org>
8123 * lyx_cb.C: more Alert cleanups
8125 * lyxfunc.C: don't allow chktex if not latex document
8127 2003-03-29 John Levon <levon@movementarian.org>
8131 * buffer.C: warnings pushed down from support/,
8134 2003-03-29 John Levon <levon@movementarian.org>
8136 * lyxfunc.C: safety check for C-r (revert)
8138 2003-03-29 John Levon <levon@movementarian.org>
8141 * bufferlist.C: several UI fixes using Alert::prompt.
8142 Fix the pointless looping quit code. Fix stupid revert
8147 * lyx_cb.C: use Alert::prompt
8149 * lyx_main.C: remove a silly question
8151 * lyxfunc.C: remove a couple of silly questions,
8154 2003-03-28 John Levon <levon@movementarian.org>
8156 * text2.C: fix bug 974 (End on empty par)
8158 2003-03-28 John Levon <levon@movementarian.org>
8160 * BufferView_pimpl.C:
8162 * lfuns.h: remove do-nothing math greek lfuns
8164 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8166 * lyxgluelength.h (isValidGlueLength): add default arg on
8167 parameter 2. Remove default arg from friend in class.
8169 * lyxlength.h (isValidLength): add default arg on parameter 2.
8170 Remove default arg from friend in class.
8172 * text2.C (LyXText): adjust, initialize refresh_row.
8176 (insertParagraph): adjst
8177 (redoParagraphs): adjust
8178 (fullRebreak): adjust
8179 (updateCounters): adjust
8180 (deleteEmptyParagraphMechanism): first attempt at fixing a
8183 * text.C (top_y): adjust
8184 (setHeightOfRow): adjust
8186 (getRowNearY): adjust
8188 * lyxtext.h: include RowList.h
8189 (~LyXText): not needed anymore, deleted.
8190 (firstRow): modify for RowList
8191 (lastRow): new function
8192 Delete firstrow and lastrow class variables, add a Rowlist
8193 rowlist_ class variable.
8195 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8198 * RowList.C (insert): fix case where it == begin().
8200 2003-03-26 Angus Leeming <leeming@lyx.org>
8202 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8203 the thesaurus dialog.
8205 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8207 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8209 * RowList.[Ch]: new files
8211 * ParagraphList.C (erase): handle the case where it == begin
8214 2003-03-25 John Levon <levon@movementarian.org>
8218 * aspell.C: add new aspell support
8221 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8224 2003-03-25 Angus Leeming <leeming@lyx.org>
8227 * LyXAction.C (init): new LFUN_INSET_INSERT.
8229 * BufferView_pimpl.C (dispatch): split out part of the
8230 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8232 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8235 2003-03-25 Angus Leeming <leeming@lyx.org>
8237 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8239 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8242 * text3.C: remove useless row->height(0)
8244 2003-03-25 John Levon <levon@movementarian.org>
8248 * text3.C: rename the refreshing stuff to better names
8250 2003-03-24 John Levon <levon@movementarian.org>
8252 * BufferView_pimpl.h:
8253 * BufferView_pimpl.C: update layout choice on a mouse
8256 2003-03-23 John Levon <levon@movementarian.org>
8258 * Makefile.am: fix commandtags.h reference
8260 2003-03-22 John Levon <levon@movementarian.org>
8262 * BufferView_pimpl.C:
8267 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8269 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8272 * text.C: take the rtl methods out of line
8274 2003-03-21 André Pönitz <poenitz@gmx.net>
8276 * metricsinfo.[Ch]: new files containing structures to be passed around
8277 during the two-phase-drawing...
8279 2003-03-21 André Pönitz <poenitz@gmx.net>
8281 * lyxtextclass.C: read 'environment' tag.
8283 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8285 * text2.C (removeRow): fix bug 964
8287 2003-03-20 John Levon <levon@movementarian.org>
8291 * text2.C: paint cleanups. Inset::update() dropped font
8294 2003-03-19 John Levon <levon@movementarian.org>
8296 * lyxfunc.C: only fitcursor/markDirty if available()
8298 2003-03-19 John Levon <levon@movementarian.org>
8300 * commandtags.h: rename to ...
8302 * lfuns.h: ... this, and renumber / cleanup
8304 2003-03-19 John Levon <levon@movementarian.org>
8306 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8307 fit the cursor after an lfun
8311 * BufferView_pimpl.h:
8312 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8314 * LyXAction.C: layout-character should have ReadOnly
8316 * ParagraphParameters.C:
8318 * bufferview_funcs.C:
8325 * undo_funcs.C: changes from above
8327 2003-03-18 John Levon <levon@movementarian.org>
8329 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8330 remove it from update()
8332 * lyxfunc.C: update layout choice after an lfun
8334 * text3.C: remove extra updateLayoutChoice()s
8336 2003-03-18 John Levon <levon@movementarian.org>
8338 * text.C: top_y change means full repaint, fix
8339 a drawing bug with cursor movement
8341 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8345 * text2.C: anchor row on setCursor
8347 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8349 * lyxtext.h: remove almost all mutable keywords
8352 * text3.C: remove const keywords accordingly
8354 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8356 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8358 (TeXEnvironment): ditto
8361 2003-03-17 John Levon <levon@movementarian.org>
8363 * text.C (rowBreakPoint): remove attempt to fix displayed
8364 math insets inside a manual label
8366 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8368 * lyxtext.h: remove BufferView* as first arg from almost all class
8370 * other files: adjust.
8372 2003-03-17 John Levon <levon@movementarian.org>
8376 * text2.C: more paint cleanups
8378 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8381 * rowpainter.C: remove "smart" background painting code
8383 2003-03-16 John Levon <levon@movementarian.org>
8388 * text3.C: add helper functions for setting refresh_row/y
8390 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8392 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8393 newline inset which *can* get inserted in the pass_thru layouts.
8394 This is primarily for literate documents.
8396 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8398 * buffer.C: increment LYX_FORMAT to 223
8400 2003-03-14 André Pönitz <poenitz@gmx.net>
8402 * textclass.h: prepare for environment handling, ws changes
8403 * lyxlayout.C: read latexheader and latexfooter tags
8405 2003-03-14 John Levon <levon@movementarian.org>
8407 * text2.C: rewrite ::status() a bit
8409 2003-03-13 John Levon <levon@movementarian.org>
8411 * lyxtext.h: add some docs
8413 2003-03-13 John Levon <levon@movementarian.org>
8418 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8420 2003-03-13 John Levon <levon@movementarian.org>
8422 * text3.C: fix appendix redrawing
8424 2003-03-13 John Levon <levon@movementarian.org>
8426 * text.C (setHeightOfRow):
8428 * rowpainter.C: make appendix mark have the text
8429 "Appendix" so the user knows what it is
8432 * LColor.C: s/appendixline/appendix/ from above
8434 2003-03-13 John Levon <levon@movementarian.org>
8436 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8438 * text.C: fix a getChar(pos) bug properly
8440 2003-03-13 Angus Leeming <leeming@lyx.org>
8443 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8444 Probably only temporary. Let's see how things pan out.
8446 * BufferView.C (unlockInset):
8447 * BufferView_pimpl.C (fitCursor):
8448 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8450 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8451 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8453 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8454 new functions that convert ParagraphParameters to and from a string.
8456 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8457 BufferView::Pimpl's dispatch.
8458 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8460 2003-03-13 André Pönitz <poenitz@gmx.net>
8464 * factory.C: make it aware of InsetEnv
8466 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8468 * text2.C (setCursor): never ask for one past last
8469 (setCursor): add some debugging messages.
8471 * text.C (singleWidth): never ask for one past last
8472 (singleWidth): ditto
8474 (rightMargin): ditto
8475 (rowBreakPoint): ditto
8476 (setHeightOfRow): ditto
8477 (prepareToPrint): ditto
8479 * rowpainter.C (paintBackground): never ask for one past last
8480 (paintText): never ask for one past last
8482 * paragraph_pimpl.C (getChar): make the assert stricter, never
8483 allow the one past last pos to be taken
8485 * paragraph.C (getChar): ws changes only
8487 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8488 (numberOfSeparators): ditto
8489 (numberOfHfills): ditto
8491 2003-03-12 John Levon <levon@movementarian.org>
8497 * paragraph_funcs.C: fix per-buffer authorlists
8499 2003-03-12 John Levon <levon@movementarian.org>
8501 * text.C: fix newline in right address
8503 2003-03-12 Angus Leeming <leeming@lyx.org>
8505 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8506 duplicate those in LyXFunc::dispatch.
8510 * ToolbarDefaults.C:
8511 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8512 Add LFUN_FONTFREE_UPDATE.
8514 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8515 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8517 * bufferview_func.[Ch]: several new functions to facilliate
8518 transfer of data to and from the character dialog.
8520 2003-03-12 John Levon <levon@movementarian.org>
8525 * paragraph_funcs.C:
8526 * paragraph_pimpl.C:
8530 * text3.C: remove META_NEWLINE in favour of an inset
8533 * rowpainter.C: remove paintNewline (done by inset)
8535 2003-03-12 John Levon <levon@movementarian.org>
8537 * paragraph_pimpl.C: complain about bad getChar()s
8538 for a while at least
8540 2003-03-12 John Levon <levon@movementarian.org>
8543 * buffer.C: move paragraph read into a separate function,
8544 a little renaming to reflect that.
8547 * bufferparams.C: remove the author_ids map, not necessary now
8550 * factory.C: moved Buffer::readInset to here
8552 * paragraph_funcs.h:
8553 * paragraph_funcs.C: readParagraph free function moved from
8556 * tabular.C: name change
8558 2003-03-12 John Levon <levon@movementarian.org>
8561 * ParagraphParameters.C: move par params input to
8564 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8565 behave like a normal read from the stream wrt reading
8566 a line vs. a \\token
8568 2003-03-12 John Levon <levon@movementarian.org>
8571 * ParagraphParameters.h:
8572 * ParagraphParameters.C: move output code to a
8575 2003-03-12 John Levon <levon@movementarian.org>
8577 * BufferView.C (insertLyXFile):
8580 * tabular.C: use a parlist iterator for creating the
8583 2003-03-12 John Levon <levon@movementarian.org>
8585 * buffer.C: make current_change static local not
8588 2003-03-12 John Levon <levon@movementarian.org>
8590 * buffer.C: fix insertStringAsLines for change tracking
8592 2003-03-12 John Levon <levon@movementarian.org>
8599 * bufferparams.C: move author list into params. Rename some
8600 functions. Move the header reading into a separate token
8601 loop. Move the header token reading into BufferParams.
8603 2003-03-12 John Levon <levon@movementarian.org>
8605 * changes.C: put debug inside lyxerr.debugging() checks
8607 2003-03-11 André Pönitz <poenitz@gmx.net>
8609 * factory.C: make it aware of InsetHFill
8611 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8613 * buffer.C (latexParagraphs): move function from here...
8614 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8617 2003-03-10 Angus Leeming <leeming@lyx.org>
8619 * LyXAction.C (init): fix bug in poplating array with multiple entries
8620 with the same LFUN (spotted by JMarc).
8622 2003-03-10 John Levon <levon@movementarian.org>
8625 * text2.C: move getColumnNearX() near its
8628 2003-03-10 John Levon <levon@movementarian.org>
8630 * text.C: fix break before a minipage
8632 2003-03-10 John Levon <levon@movementarian.org>
8634 * text.C: fix the last commit
8636 2003-03-09 John Levon <levon@movementarian.org>
8640 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8641 bug 365 (don't break before insets unless needed). Don't
8642 return a value > last under any circumstances.
8644 2003-03-09 Angus Leeming <leeming@lyx.org>
8646 * BufferView_pimpl.C (trackChanges, dispatch): call
8647 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8649 2003-03-09 Angus Leeming <leeming@lyx.org>
8651 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8652 than Dialogs::showAboutlyx().
8654 2003-03-09 Angus Leeming <leeming@lyx.org>
8656 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8657 than Dialogs::showTabularCreate().
8659 2003-03-09 John Levon <levon@movementarian.org>
8663 * text2.C: 3rd arg to nextBreakPoint was always the same.
8666 2003-03-08 John Levon <levon@movementarian.org>
8673 * text2.C: Remove the "main" bit from the "main body"
8676 2003-03-08 John Levon <levon@movementarian.org>
8678 * text.C (leftMargin): The left margin of an empty
8679 manual label paragraph should not include the label width
8682 * text.C (prepareToPrint): don't attempt to measure hfills
8683 for empty manual label paragraphs - the answer should be 0
8685 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8687 * CutAndPaste.C: remove commented code and reindent.
8689 2003-03-08 John Levon <levon@movementarian.org>
8692 * lyxfunc.C: move reloadBuffer()
8695 * BufferView.C: to here
8697 * lyxvc.C: add comment
8700 * vc-backend.C: call bv->reload() to avoid
8701 getStatus() check on MENURELOAD
8703 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8705 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8706 to an old format .dep file.
8708 2003-03-07 Angus Leeming <leeming@lyx.org>
8710 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8711 when the LFUN_MOUSE_RELEASE should have been handled by
8712 inset->localDispatch.
8714 2003-03-07 Angus Leeming <leeming@lyx.org>
8716 * BufferView_pimpl.C (dispatch):
8717 * LyXAction.C (init):
8718 * ToolbarDefaults.C (init):
8720 * lyxfunc.C (getStatus):
8721 remove LFUN_INSET_GRAPHICS.
8723 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8725 2003-03-07 Angus Leeming <leeming@lyx.org>
8728 * LyXAction.C (init):
8729 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8731 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8734 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8736 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8737 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8739 2003-03-07 Angus Leeming <leeming@lyx.org>
8741 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8744 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8746 * ParagraphList.C (front): new function
8749 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8751 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8752 and top_row_offset_. removed var first_y.
8754 * text2.C (LyXText, removeRow):
8756 * BufferView_pimpl.C:
8757 use these methods instead of using first_y
8759 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8761 * text2.C (pasteSelection): adjust for checkPastePossible
8763 * CutAndPaste.C: remove Paragraph * buf and replace with
8764 ParagraphList paragraphs.
8765 (DeleteBuffer): delete
8766 (cutSelection): change the tc type to textclass_type
8767 (copySelection): change the tc type to textclass_type
8768 (copySelection): adjust for ParagraphList
8769 (pasteSelection): change the tc type to textclass_type
8770 (pasteSelection): adjust for Paragraphlist
8771 (nrOfParagraphs): simplify for ParagraphList
8772 (checkPastePossible): simplify for ParagraphList
8773 (checkPastePossible): remove unused arg
8775 * ParagraphList.C (insert): handle the case where there are no
8778 * CutAndPaste.h: make CutAndPaste a namespace.
8780 * text3.C (dispatch): adjust
8782 * text.C (breakParagraph): add a ParagraphList as arg
8784 * paragraph_funcs.C (breakParagraph): change to take a
8785 BufferParams and a ParagraphList as args.
8786 (breakParagraphConservative): ditto
8787 (mergeParagraph): ditto
8788 (TeXDeeper): add a ParagraphList arg
8789 (TeXEnvironment): ditto
8792 * buffer.C (readLyXformat2): adjust
8793 (insertStringAsLines): adjust
8794 (latexParagraphs): adjust
8796 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8797 (cutSelection): adjust
8798 (pasteSelection): adjust
8800 * BufferView_pimpl.C (insertInset): adjust
8802 2003-03-05 Angus Leeming <leeming@lyx.org>
8805 * LyXAction.C (init):
8806 * BufferView_pimpl.C (dispatch):
8807 * lyxfunc.C (getStatus):
8808 remove LFUN_CHILD_INSERT.
8810 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8812 2003-03-05 Angus Leeming <leeming@lyx.org>
8815 * LyXAction.C (init):
8816 * src/factory.C (createInset):
8817 * lyxfunc.C (getStatus):
8818 * text3.C (dispatch):
8819 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8821 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8823 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8825 * ParagraphList.C (insert): handle insert right before end()
8826 (erase): fix cases where it can be first or last paragraph.
8828 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8830 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8831 Paragraph::next and Paragraph::previous
8834 * text.C (breakParagraph): adjust
8836 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8837 BufferParams& as arg.
8838 (breakParagraph): use ParagraphList::insert
8839 (breakParagraphConservative): take a Buffer* instead of a
8840 BufferParams& as arg.
8841 (breakParagraphConservative): use ParagraphList::insert.
8843 * buffer.C (insertStringAsLines): un-const it
8844 (insertStringAsLines): adjust
8846 * ParagraphList.C (insert): new function
8848 * CutAndPaste.C (pasteSelection): adjust
8850 * text.C (backspace): adjust
8852 * tabular.C (SetMultiColumn): adjust
8854 * CutAndPaste.C (cutSelection): adjust
8855 (pasteSelection): adjust
8857 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8858 Buffer const * as arg
8860 * ParagraphList.C (erase): new function
8861 * paragraph_funcs.C (mergeParagraph): use it
8862 (mergeParagraph): make it take a Buffer* instead of a
8863 BufferParams* as arg
8865 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8867 (breakParagraphConservative): ditto
8869 * paragraph.h: remove the breakParagraph friend
8871 * paragraph.C (eraseIntern): new function
8872 (setChange): new function
8874 * paragraph_funcs.C (mergeParagraph): make it take a
8875 ParagraphList::iterator instead of a Paragraph *, adjust
8878 * paragraph.h: move an #endif so that the change tracking stuff
8879 also works in the NO_NEXT case.
8881 2003-03-04 Angus Leeming <leeming@lyx.org>
8884 * LyXAction.C: new LFUN_INSET_MODIFY.
8886 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8887 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8889 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8891 * several files: ws changes only
8893 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8894 (TeXEnvironment): ditto
8897 * buffer.C (makeLaTeXFile): adjust
8898 (latexParagraphs): make it take ParagraphList::iterator as args
8900 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8902 * buffer.C (latexParagraphs): adjust
8904 * paragraph.C (TeXOnePar): move function...
8905 (optArgInset): move function...
8906 (TeXEnvironment): move function...
8907 * paragraph_pimpl.C (TeXDeeper): move function...
8908 * paragraph_funcs.C: ...here
8910 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8912 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8914 * buffer.C (readInset): remove compability code for old Figure and
8917 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8919 * buffer.C: ws changes
8922 * BufferView_pimpl.C: ditto
8925 * bufferlist.h: ditto
8929 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8931 * converter.[Ch]: split into itself +
8934 * Makefile.am: += graph.[Ch] + format.[Ch]
8941 * lyxrc.C: added #include "format.h"
8943 2003-02-27 Angus Leeming <leeming@lyx.org>
8945 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8948 * factory.C (createInset): add "label" to the factory.
8950 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8951 string and do no more.
8953 2003-02-27 Angus Leeming <leeming@lyx.org>
8956 * LyXAction.C (init):
8957 * factory.C (createInset):
8958 * BufferView_pimpl.C (dispatch):
8959 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8961 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8963 * lyxfunc.C (dispatch):
8964 * text3.C (dispatch): pass name to params2string.
8966 2003-02-26 Angus Leeming <leeming@lyx.org>
8968 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8970 Rearrange the ~includes. Strip out the unnecessary ones.
8972 * factory.C (createInset): reformat.
8973 create new insets for the various LFUN_XYZ_APPLY lfuns.
8975 2003-02-26 John Levon <levon@movementarian.org>
8978 * lyxrow.C: add isParStart,isParEnd helpers
8980 * paragraph.h: make isInserted/DeletedText take refs
8982 * paragraph_funcs.h:
8983 * paragraph_funcs.C: remove #if 0'd code
8988 * text.C: use lyxrow helpers above.
8989 Move draw and paint routines to RowPainter.
8990 Make several methods use refs not pointers.
8991 Make backgroundColor() const.
8992 Add markChangeInDraw(), isInInset().
8993 Merge changeRegionCase into changeCase.
8994 Make workWidth() shouldn't-happen code into an Assert.
8997 * rowpainter.C: new class for painting a row.
9000 * vspace.C: make inPixels take a ref
9002 2003-02-26 Angus Leeming <leeming@lyx.org>
9004 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9007 2003-02-25 John Levon <levon@movementarian.org>
9009 * ispell.C: give the forked command a more accurate name
9011 2003-02-22 John Levon <levon@movementarian.org>
9014 * toc.C: make TocItem store an id not a Paragraph *
9017 2003-02-21 Angus Leeming <leeming@lyx.org>
9019 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9020 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9021 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9022 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9023 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9024 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9026 * BufferView_pimpl.C (dispatch):
9027 * LyXAction.C (init):
9028 * factory.C (createInset):
9029 * lyxfunc.C (getStatus, dispatch):
9030 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9032 2003-02-21 Angus Leeming <leeming@lyx.org>
9034 * BufferView_pimpl.C (MenuInsertLyXFile):
9035 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9036 * lyxfunc.C (menuNew, open, doImport):
9037 no longer pass a LyXView & to fileDlg.
9039 2003-02-21 Angus Leeming <leeming@lyx.org>
9041 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9042 * LyXAction.C: change, BIBKEY to BIBITEM.
9043 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9044 Change InsetBibKey to InsetBibitem.
9045 Change BIBKEY_CODE to BIBITEM_CODE.
9046 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9047 * factory.C: replace insetbib.h with insetbibitem.h.
9048 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9049 * paragraph.C: replace insetbib.h with insetbibitem.h.
9050 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9051 Change bibkey() to bibitem().
9052 * text.C: remove insetbib.h.
9053 * text2.C: replace insetbib.h with insetbibitem.h.
9054 change bibkey() to bibitem().
9055 * text3.C: remove insetbib.h.
9056 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9058 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9060 * lyxrc.C (output): enclose user email in quotes (in case there are
9063 2003-02-18 John Levon <levon@movementarian.org>
9065 * buffer.h: add std::
9067 2003-02-17 John Levon <levon@movementarian.org>
9073 * pspell.C: reworking. Especially in ispell, a large
9074 number of clean ups and bug fixes.
9076 * lyxfunc.C: fix revert to behave sensibly
9078 2003-02-17 André Pönitz <poenitz@gmx.net>
9081 * commandtags.h: new LFUN_INSERT_BIBKEY
9091 * paragraph_func.C: remove special bibkey handling
9093 2003-02-17 John Levon <levon@movementarian.org>
9095 * text.C (Delete): fix case where delete at the end of
9096 the very first paragraph would not merge the pars
9098 2003-02-17 John Levon <levon@movementarian.org>
9100 * lyxrow.C: fix lastPrintablePos()
9102 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9104 * bufferparams.C (writeLaTeX): add a std:here
9106 * buffer.C: and remove a using directive there
9108 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9110 * buffer.C (makeLaTeXFile): move the code that generates the
9113 * bufferparams.C (writeLaTeX): ... in this new method
9115 * LaTeXFeatures.C (getEncodingSet): make const
9116 (getLanguages): make const
9118 * MenuBackend.C (binding): returns the binding associated to this
9120 (add): sets the status of each item by calling getStatus. Adds
9122 (read): add support for OptSubMenu
9123 (expand): remove extra separator at the end of expanded menu
9125 2003-02-15 John Levon <levon@movementarian.org>
9128 * BufferView_pimpl.C:
9130 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9131 inset code that had no actual effect. Remove unneeded status
9134 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9136 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9139 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9141 * text.C (drawLengthMarker): also draw an arrow marker for
9142 symbolic lengths (medskip...)
9144 2003-02-14 John Levon <levon@movementarian.org>
9147 * tabular.C: better method names
9149 2003-02-14 John Levon <levon@movementarian.org>
9151 * BufferView_pimpl.C:
9156 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9157 it's a more accurate name. Remove some pointless uses.
9159 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9161 * text2.C (LyXText): change order of initilizers to shut off
9164 2003-02-14 John Levon <levon@movementarian.org>
9166 * buffer.C: use ParIterator for getParFromID()
9170 * paragraph_pimpl.h:
9171 * paragraph_pimpl.C: remove unused getParFromID()
9173 2003-02-14 John Levon <levon@movementarian.org>
9175 * buffer.C: remove some very old #if 0'd parse code
9177 2003-02-13 John Levon <levon@movementarian.org>
9181 * text2.C: move hfillExpansion(), numberOfSeparators(),
9182 rowLast(), rowLastPrintable(), numberofHfills(),
9183 numberOfLabelHfills() ...
9186 * lyxrow.C: ... to member functions here.
9191 * text.C: remove LyXText::beginningOfMainBody(), and call
9192 p->beginningOfMainBody() directly. Move the check for
9193 LABEL_MANUAL into the latter.
9200 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9206 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9207 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9209 2003-02-13 John Levon <levon@movementarian.org>
9211 * CutAndPaste.C: remove debug
9213 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9215 * paragraph.C (asString): remove two unused variables
9217 * lyxtextclass.C (readTitleType):
9219 (LyXTextClass): handle new members titletype_ and titlename_
9221 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9223 2003-02-09 John Levon <levon@movementarian.org>
9226 * buffer.C: replace hand-coded list with a map for the dep clean
9228 2003-02-08 John Levon <levon@movementarian.org>
9230 * LaTeX.C: consolidate code into showRunMessage() helper
9232 2003-02-08 John Levon <levon@movementarian.org>
9237 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9238 and pass the size in explicitly
9240 * BufferView_pimpl.h:
9241 * BufferView_pimpl.C:
9243 * BufferView.C: add getCurrentChange()
9245 * BufferView_pimpl.h:
9246 * BufferView_pimpl.C: handle change lfuns
9248 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9249 for changes. Mark pasted paragraphs as new.
9251 * support/lyxtime.h:
9252 * support/lyxtime.C:
9253 * DepTable.C: abstract time_t as lyx::time_type
9256 * LColor.C: add colours for new text, deleted text, changebars
9258 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9259 package use "usenames" option.
9263 * LyXAction.C: add change lfuns
9267 * author.C: author handling
9270 * buffer.C: add a per-buffer author list, with first entry as
9271 current author. Handle new .lyx tokens for change tracking. Output
9272 author list to .lyx file. Output dvipost stuff to .tex preamble.
9273 Bump lyx format to 222.
9276 * bufferlist.C: add setCurrentAuthor() to reset current author details
9280 * bufferparams.C: add param for tracking
9282 * bufferview_funcs.C: output change info in minibuffer
9286 * changes.C: add change-tracking structure
9289 * debug.C: add CHANGES debug flag
9292 * lyxfind.C: add code for finding the next change piece
9295 * lyxrc.C: add user_name and user_email
9298 * lyxrow.C: add a metric for the top of the text line
9301 * text.C: implement accept/rejectChange()
9304 * text.C: paint changebars. Paint new/deleted text in the chosen
9305 colours. Strike through deleted text.
9309 * paragraph_pimpl.h:
9310 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9311 in the current change to the insert functions. Rework erase to
9312 mark text as deleted, adding an eraseIntern() and a range-based
9313 erase(). Implement per-paragraph change lookup and
9316 * paragraph_funcs.C: Fixup paste for change tracking.
9318 * tabular.C: mark added row/columns as new.
9320 * text.C: fix rowLast() to never return -1. Don't allow
9321 spellchecking of deleted text. Track transpose changes. Don't
9322 allow paragraph break or merge where appropriate.
9324 * text2.C: leave cursor at end of selection after a cut.
9326 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9328 * text.C (getLengthMarkerHeight):
9329 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9330 visible on screen too.
9332 2003-02-07 John Levon <levon@movementarian.org>
9334 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9336 2003-02-05 Angus Leeming <leeming@lyx.org>
9338 * lyxserver.C (read_ready): revert my patch of 11 September last year
9339 as it sends PC cpu through the roof. Presumably this means that
9340 the lyxserver will no longer run on an Alpha...
9342 2003-01-30 Angus Leeming <leeming@lyx.org>
9344 * factory.C (createInset): create an InsetCommandParam of type "index"
9345 and use it to 'do the right thing'.
9347 * text2.C (getStringToIndex): ensure that cursor position is always
9348 reset to the reset_cursor position.
9350 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9352 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9355 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9359 * lyxfunc.C: Output messages with identical spelling, punctuation,
9362 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9364 * MenuBackend.C (expandFormats): List only viewable export formats
9367 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9370 * lyxfunc.C (getStatus): Make sure that formats other than
9371 "fax" can also be disabled
9373 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9375 * text3.C (dispatch): put the lfuns that insert insets in 3
9376 groups, and call doInsertInset with appropriate arguments.
9377 (doInsertInset): new function, that creates an inset and inserts
9378 it according to some boolean parameters.
9380 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9382 * buffer.C (readFile): remember to pass on 'par' when calling
9383 readFile recursively.
9385 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9387 * MenuBackend.C (expandFormats): add "..." to import formats.
9389 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9391 * paragraph.C (asString): Remove XForms RTL hacks.
9393 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9394 * buffer.C: fix typo
9396 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9398 * Makefile.am (LIBS): delete var
9399 (lyx_LDADD): add @LIBS@ here instead.
9401 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9403 * Clarify the meaning of "wheel mouse jump"
9405 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9407 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9410 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9412 * importer.C (Loaders): do not preallocate 3 elements in the
9413 vector, since one ends up with 6 elements otherwise
9415 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9417 * DepTable.C (write): write the file name as last element of the
9418 .dep file (because it may contain spaces)
9419 (read): read info in the right order
9421 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9423 * paragraph_pimpl.C (simpleTeXBlanks):
9424 (simpleTeXSpecialChars):
9425 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9427 * tabular.C (latex): add some missing case statements. Reindent.
9429 * MenuBackend.C (expandToc): remove unused variable.
9431 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9440 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9443 2003-01-05 John Levon <levon@movementarian.org>
9446 * BufferView.C: add getEncoding()
9449 * kbsequence.C: do not store last keypress
9452 * lyxfunc.C: store last keypress here instead. Pass encoding
9455 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9457 * lyx_main.C (init): remove annoying error message when following
9458 symbolic links (bug #780)
9460 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9462 * text.C (insertChar):
9463 * lyxrc.C (getDescription): remove extra spaces
9465 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9467 * lyxrc.C (getDescription): remove extra spaces
9469 2002-12-20 John Levon <levon@movementarian.org>
9471 * text3.C: hack fix for page up/down across tall rows
9473 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9475 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9478 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9480 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9481 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9482 thesaurus is not compiled in
9484 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9486 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9488 2002-12-16 Angus Leeming <leeming@lyx.org>
9491 * lyx_main.C (init): remove override_x_deadkeys stuff.
9493 2002-12-12 John Levon <levon@movementarian.org>
9495 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9496 insert. Only remove shift modifier under strict
9499 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9501 * MenuBackend.C (expandToc): fix crash.
9503 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9505 * MenuBackend.C (expandToc): gettext on float names.
9507 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9509 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9510 implement bool empty() [bug 490]
9512 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9514 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9516 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9518 * several files: ws changes
9520 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9522 * text2.C (setCounter): clean up a bit, use boost.format.
9523 (updateCounters): initialize par upon declaration.
9525 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9526 if the layout exists. We do not just store the layout any more.
9527 (SwitchLayoutsBetweenClasses): use boost.format
9529 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9531 * converter.C (convert): if from and to files are the same, use a
9532 temporary files as intermediary
9534 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9537 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9539 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9541 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9543 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9545 * tabular.C (asciiPrintCell): use string(size, char) instead of
9548 * sgml.C (openTag): fix order of arguments to string constructor
9551 * lyxfunc.C (dispatch): use boost.format
9553 * lots of files: change "c" -> 'c'
9555 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9557 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9559 2002-11-25 Angus Leeming <leeming@lyx.org>
9561 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9563 * lyx_main.C (init): compile fix.
9565 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9567 * lyx_cb.C (start): boost.formatify
9568 do not include <iostream>
9570 * lengthcommon.C: ws only
9572 * boost-inst.C,BoostFormat.h: add more explict instantations
9574 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9576 * lots of files: handle USE_BOOST_FORMAT
9578 2002-11-21 John Levon <levon@movementarian.org>
9580 * pspell.C: fix compile
9582 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9584 * lyxfunc.C (dispatch): use boost::format
9588 * lyxfont.C (stateText): use boost::format
9590 * lyx_main.C (LyX): use boost::format
9592 (queryUserLyXDir): ditto
9595 (typedef boost::function): use the recommened syntax.
9597 * importer.C (Import): use boost::format
9599 * debug.C (showLevel): use boost::format
9601 * converter.C (view): use boost::format
9606 * bufferview_funcs.C (currentState): use boost::format
9608 * bufferlist.C (emergencyWrite): use boost::format
9610 * buffer.C (readLyXformat2): use boost::format
9611 (parseSingleLyXformat2Token): ditto
9613 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9615 * LaTeX.C (run): use boost::format
9617 * Chktex.C (scanLogFile): use boost::format
9619 * BufferView_pimpl.C (savePosition): use boost::format
9620 (restorePosition): ditto
9621 (MenuInsertLyXFile): ditto
9623 * BoostFormat.h: help file for explicit instation.
9625 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9627 * tabular.C (latex): Support for block alignment in fixed width
9630 2002-11-17 John Levon <levon@movementarian.org>
9632 * BufferView_pimpl.C:
9634 * lyxfunc.C: split filedialog into open/save
9636 2002-11-08 Juergen Vigna <jug@sad.it>
9638 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9639 by my last patch (hopefully).
9641 2002-11-08 John Levon <levon@movementarian.org>
9650 * toc.C: ParConstIterator, and use it (from Lars)
9652 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9654 * lyxtextclass.[Ch]: revise and add doxygen comments
9656 2002-11-07 John Levon <levon@movementarian.org>
9658 * text.C: fix progress value for spellchecker
9660 * toc.C: fix navigate menu for insetwrap inside minipage
9662 * paragraph_funcs.C: added FIXME for suspect code
9664 2002-11-07 John Levon <levon@movementarian.org>
9666 * BufferView_pimpl.C: fix redrawing of insets
9669 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9671 * text2.C (updateCounters): fix bug 668
9673 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9675 * text3.C (dispatch): Do not make the buffer dirty when moving the
9678 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9680 * vc-backend.C: STRCONV
9683 * text2.C (setCounter): STRCONV
9685 * paragraph.C (asString): STRCONV
9687 * lyxlength.C (asString): STRCONV
9688 (asLatexString): ditto
9690 * lyxgluelength.C (asString): STRCONV
9691 (asLatexString): ditto
9693 * lyxfunc.C (dispatch): STRCONV
9696 * lyxfont.C (stateText): STRCONV
9698 * importer.C (Import): STRCONV
9700 * counters.C (labelItem): STRCONV
9701 (numberLabel): ditto
9702 (numberLabel): remove unused ostringstream o
9707 * bufferview_funcs.C (currentState): STRCONV
9709 * buffer.C (readFile): STRCONV
9710 (asciiParagraph): ditto
9711 (makeLaTeXFile): ditto
9713 * Spacing.C (writeEnvirBegin): STRCONV
9715 * LaTeXFeatures.C (getLanguages): STRCONV
9716 (getPackages): ditto
9718 (getBabelOptions): ditto
9719 (getTClassPreamble): ditto
9720 (getLyXSGMLEntities): ditto
9721 (getIncludedFiles): ditto
9725 (scanAuxFile): ditto
9728 * LString.h: add the STRCONV macros
9730 * BufferView_pimpl.C (savePosition): STRCONV
9731 (restorePosition): ditto
9732 (MenuInsertLyXFile): ditto
9734 * vc-backend.C (scanMaster): change from submatch[...] to
9737 * funcrequest.C: include config.h
9739 * factory.C: include config.h
9741 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9743 * box.C: include config.h
9745 * LaTeX.C (scanAuxFile): change from submatch[...] to
9749 2002-10-25 Angus Leeming <leeming@lyx.org>
9751 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9753 * ispell.[Ch] (setError): new method.
9754 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9755 Use setError() insetead of goto END.
9757 * lyx_cb.C (AutoSave): move out child process into new class
9760 2002-10-30 John Levon <levon@movementarian.org>
9762 * text3.C: make start appendix undoable
9764 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9766 * lyxlength.C (inPixels): Fix returned value.
9768 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9771 2002-10-24 Angus Leeming <leeming@lyx.org>
9773 * lyxgluelength.h: no need to forward declare BufferParams
9774 or BufferView, so don't.
9776 2002-10-21 John Levon <levon@movementarian.org>
9778 * BufferView.C: menuUndo ->undo, redo
9780 * BufferView.h: document, remove dead, make some methods private
9782 * paragraph_funcs.h:
9783 * paragraph_funcs.C:
9784 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9789 * sgml.C: move sgml open/close tag into sgml.C
9791 * bufferview_funcs.h: unused prototype
9794 * lyxfunc.C: remove unused
9797 * text.C: remove unused
9799 2002-10-21 John Levon <levon@movementarian.org>
9803 * BufferView_pimpl.h:
9804 * BufferView_pimpl.C: fix mouse wheel handling based on
9805 patch from Darren Freeman
9807 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9809 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9811 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9813 * lyxlength.C (inPixels): Fix hanfling of negative length.
9814 Fix LyXLength::MU case.
9816 2002-10-16 John Levon <levon@movementarian.org>
9818 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9820 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9822 * converter.C (view): add support for $$i (file name) and $$p
9823 (file path) for the viewer command. If $$i is not specified, then
9824 it is appended to the command (for compatibility with old syntax)
9826 2002-10-14 Juergen Vigna <jug@sad.it>
9828 * undo_funcs.C (textHandleUndo): alter the order in which the
9829 new undopar is added to the LyXText, as we have to set first
9830 the right prev/next and then add it as otherwise the rebuild of
9831 LyXText is not correct. Also reset the cursor to the right paragraph,
9832 with this IMO we could remove the hack in "redoParagraphs()".
9834 2002-10-09 Angus Leeming <leeming@lyx.org>
9836 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9837 to turn off an optimisation if a new inset is to be inserted.
9839 2002-10-11 André Pönitz <poenitz@gmx.net>
9841 * lyxtext.h: make some functions public to allow access
9842 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9844 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9846 * text3.C (dispatch): when changing layout, avoid an infinite loop
9849 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9851 * lyxrc.C (read): treat a viewer or converter command of "none" as
9854 * MenuBackend.C (expandFormats): for an update, also allow the
9855 formats that are not viewable
9857 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9858 script if it is newer than the lyxrc.defaults in user directory
9860 2002-10-07 André Pönitz <poenitz@gmx.net>
9862 * text.C: Vitaly Lipatov's small i18n fix
9864 2002-09-25 Angus Leeming <leeming@lyx.org>
9866 * ispell.h: doxygen fix.
9868 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9870 * buffer.h (readFile): Add a new argument to the method, to allow
9871 reading of old-format templates.
9873 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9875 * toc.C (getTocList): Get TOC from InsetWrap.
9877 2002-09-16 John Levon <levon@movementarian.org>
9879 * lyxfunc.C: check tabular for cut/copy too
9881 2002-09-12 John Levon <levon@movementarian.org>
9886 * factory.C: add header
9888 * paragraph_funcs.h:
9889 * paragraph_funcs.C: cleanup
9891 2002-09-11 John Levon <levon@movementarian.org>
9893 * PrinterParams.h: odd/even default to true
9895 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9897 * PrinterParams.h: update printer parameters for new xforms dialog
9899 2002-09-11 Angus Leeming <leeming@lyx.org>
9901 * lyxserver.C (read_ready): re-write to make it more transparent
9902 and to make it work in coherent fashion under Tru64 Unix.
9904 2002-09-11 André Pönitz <poenitz@gmx.net>
9908 * text3.C: implement LFUN_WORDSEL
9910 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9912 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9913 make floatlist_ a boost::shared_ptr<FloatList>
9915 * lyxtextclass.C: include FloatList.h
9916 (LyXTextClass): initialize floatlist_
9917 (TextClassTags): add TC_NOFLOAT
9918 (Read): match "nofloat" to TC_NOFLOAT and use it.
9919 (readFloat): modify call to floatlist_
9923 * FloatList.[Ch] (FloatList): remove commented out float
9925 (erase): new function
9927 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9929 * MenuBackend.C (expandToc): fix crash when there is no document
9932 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9934 * many files: Add insetwrap.
9936 2002-09-09 John Levon <levon@movementarian.org>
9938 * text2.C: remove confusing and awkward depth wraparound
9940 2002-09-09 John Levon <levon@movementarian.org>
9942 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9945 * buffer.C: remove getIncludeonlyList()
9948 * lyxfunc.C: remove headers
9950 2002-09-09 Juergen Vigna <jug@sad.it>
9952 * text.C (getColumnNearX): fix form Michael this is most
9953 probably a cut&paste bug.
9955 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9957 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9959 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9960 references, ws changes.
9962 * text2.C (init): update counters after init
9963 (insertParagraph): no need to set counter on idividual paragraphs.
9964 (setCounter): access the counters object in the textclass object
9965 on in the buffer object.
9966 (updateCounters): ditto
9968 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9969 shared_ptr<Counters> to avoid loading counters.h in all
9971 (LyXTextClass): initialize ctrs_
9972 (TextClassTags): add TC_COUNTER, and ...
9973 (Read): use it here.
9974 (CounterTags): new tags
9975 (readCounter): new function
9976 (counters): new funtion
9977 (defaultLayoutName): return a const reference
9979 * counters.C (Counters): remove contructor
9980 (newCounter): remove a couple of unneeded statements.
9981 (newCounter): simplify a bit.
9982 (numberLabel): some small formatting changes.
9984 * buffer.[Ch]: remove all traces of counters, move the Counters
9985 object to the LyXTextClass.
9987 2002-09-06 Alain Castera <castera@in2p3.fr>
9989 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9990 package to set the horizontal alignment on fixed width columns.
9993 * lyx_sty.h: added tabularnewline macro def.
9995 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9997 2002-09-06 John Levon <levon@movementarian.org>
9999 * LyXAction.C: tooltips for sub/superscript
10001 * MenuBackend.C: a bit more verbose
10003 * lyxfunc.C: tiny clean
10005 * undo_funcs.C: document undo_frozen
10007 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10009 * counters.C (Counters): add missing algorithm counter.
10011 * text2.C (setCounter): lookup the counter with layouts latexname
10012 instead of by section number.
10013 (setCounter): use a hackish way to lookup the correct enum
10015 a float name->type change
10016 reset enum couners with counter name directly instead of depth value.
10018 * counters.C (Counters): remove the push_backs, change to use the
10019 float type not the float name.
10020 (labelItem): remove unused string, float name->type change
10022 * counters.h: don't include vector, loose the enums and sects vectors
10024 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10026 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10027 (Read): add float->TC_FLOAT to textclassTags
10028 (Read): and handle it in the switch
10029 (readFloat): new function
10031 * FloatList.C (FloatList): comment out the hardcoded float
10034 * lyxlayout.h: ws change.
10036 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10038 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10040 2002-09-03 Angus Leeming <leeming@lyx.org>
10042 * BufferView_pimpl.h: qualified name is not allowed in member
10043 declaration: WorkArea & Pimpl::workarea() const;
10045 * factory.C: added using std::endl directive.
10047 * text3.C: added using std::find and std::vector directives.
10049 2002-08-29 André Pönitz <poenitz@gmx.net>
10052 * text2.C: remove unused member number_of_rows
10055 * BufferView2.C: remove file, move contents to...
10056 * BufferView.C: ... here
10058 * BufferView_pimpl.C:
10059 * factory.C: move more inset creation to factory
10061 * vspace.C: avoid direct usage of LyXText, ws changes
10064 don't provide direct access to WorkArea, use two simple
10065 acessors haveSelction() and workHeight() instead
10068 2002-08-29 John Levon <levon@movementarian.org>
10070 * BufferView_pimpl.C (dispatch): do not continue when
10073 2002-08-28 André Pönitz <poenitz@gmx.net>
10075 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10078 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10080 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10082 * buffer.C: increment LYX_FORMAT to 221
10084 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10085 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10087 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10089 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10091 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10093 * factory.C (createInset): use LyXTextClass::floats
10095 * MenuBackend.C (expandFloatListInsert):
10096 (expandFloatInsert):
10099 * text2.C (setCounter):
10101 * LaTeXFeatures.C (useFloat):
10102 (getFloatDefinitions):
10104 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10106 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10107 floatlist_, with accessor floats().
10109 * FloatList.h: remove global FloatList
10111 2002-08-26 André Pönitz <poenitz@gmx.net>
10113 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10117 * BufferView_pimpl.C:
10118 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10120 2002-08-25 John Levon <levon@movementarian.org>
10122 * LyXAction.C: fix margin note description
10124 2002-08-24 John Levon <levon@movementarian.org>
10128 * bufferview_funcs.C:
10130 * undo_funcs.C: cleanups
10132 * lyxfunc.C: disable CUT/COPY when no selection
10134 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10136 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10137 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10139 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10140 Add backward compatibility to "mono", "gray" and "no".
10142 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10144 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10145 (and file_format >= 200).
10147 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10149 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10151 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10153 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10155 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10157 * BufferView_pimpl.C:
10164 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10165 inset and code to make it work with the paragraph code. The inset
10166 can be anywhere in the paragraph, but will only do the expected
10167 thing in LaTeX if the layout file contains the parameter line
10169 (or more generally, a nonzero value) for that layout.
10171 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10173 * paragraph.h: remove the declaration of undefined counters class
10176 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10178 * text2.C (setCounter): fixed enumeration mis-count as reported by
10179 Dr. Richard Hawkins.
10181 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10183 * paragraph_funcs.h: remove some unneeded includes
10185 * text.C (backspace): pasteParagraph now in global scipe
10187 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10188 (pasteSelection): ditto
10190 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10191 * paragraph_funcs.C (pasteParagraph): ... here
10193 2002-08-20 André Pönitz <poenitz@gmx.net>
10195 * commandtags.h: new LFUNs for swapping/copying table row/colums
10198 * lyxfunc.C: support for new lfuns
10200 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10203 * buffer.[Ch]: remove NO_COMPABILITY stuff
10205 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10207 * boost.C (throw_exception): new file, with helper function for
10208 boost compiled without exceptions.
10213 * ParameterStruct.h:
10214 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10216 * bufferlist.C (emergencyWriteAll): use boost bind
10218 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10220 * text.C: include paragraph_funcs.h
10221 (breakParagraph): breakParagraph is now in global scope
10223 * paragraph_funcs.[Ch]: new files
10225 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10228 * buffer.C: include paragraph_funcs.h
10229 (insertStringAsLines): breakParagraph is now in global scope
10231 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10234 * CutAndPaste.C: include paragraph_funcs.h
10235 (cutSelection): breakParagraphConservative is now in global scope
10236 (pasteSelection): ditto
10238 * buffer.h: declare oprator== and operator!= for
10239 Buffer::inset_iterator
10241 * bufferlist.C (emergencyWrite): don't use fmt(...)
10243 * text3.C: add using std::endl
10245 * BufferView.C (moveCursorUpdate): remove default arg
10247 2002-08-20 André Pönitz <poenitz@gmx.net>
10249 * buffer.[Ch]: move inline functions to .C
10252 * BufferView_pimpl.C:
10254 * buffer.[Ch]: use improved inset_iterator
10257 * paragraph.[Ch]: write one paragraph at a time
10259 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10261 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10262 style if style is not specified.
10264 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10266 * text2.C (setCounter): when searching for right label for a
10267 caption, make sure to recurse to parent insets (so that a caption
10268 in a minipage in a figure float works) (bug #568)
10270 2002-08-20 André Pönitz <poenitz@gmx.net>
10272 * text3.C: new file for LyXText::dispatch() and helpers
10274 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10276 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10278 2002-08-19 André Pönitz <poenitz@gmx.net>
10281 * text.C: new LyXText::dispatch()
10283 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10285 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10287 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10289 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10292 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10294 * Makefile.am: use $(variables) instead of @substitutions@
10296 2002-08-15 André Pönitz <poenitz@gmx.net>
10299 * BufferView_pimpl.C: streamlining mathed <-> outer world
10303 * LyXAction.C: remove unused LFUN_MATH
10305 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10307 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10309 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10311 * paragraph.C (Paragraph): reformat a bit
10312 (cutIntoMinibuffer): use builtin InsetList function instad of
10316 * buffer.C: include boost/bind.hpp, add using std::for_each
10317 (writeFileAscii): use ParagraphList iterators
10318 (validate): use for_each for validate traversal of paragraphs
10319 (getBibkeyList): use ParagraphList iterators
10320 (resizeInsets): use for_each to resizeInsetsLyXText for all
10322 (getParFromID): use ParagraphList iterators
10324 * BufferView2.C (lockInset): use paragraph list and iterators
10326 2002-08-14 John Levon <levon@movementarian.org>
10328 * lyxserver.C: remove spurious xforms include
10330 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10332 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10334 2002-08-13 André Pönitz <poenitz@gmx.net>
10337 * lyxfunc.C: further cleaning
10339 2002-08-13 André Pönitz <poenitz@gmx.net>
10341 * funcrequest.h: new constructor
10343 * funcrequest.C: move stuff here from .h
10346 * BufferView_pimpl.C:
10349 * lyxfunc.C: subsequent changes
10351 * lyxfunc.h: new view() member function
10353 * lyxfunc.C: subsequent changes
10355 2002-08-13 Angus Leeming <leeming@lyx.org>
10358 * BufferView_pimpl.C:
10366 changes due to the changed LyXView interface that now returns references
10367 to member variables not pointers.
10369 2002-08-13 Angus Leeming <leeming@lyx.org>
10371 * WordLangTuple (word, lang_code): return references to strings,
10376 * lyxtext.h: forward-declare WordLangTuple.
10381 * text.C: #include "WordLangTuple.h".
10384 * text.C: (selectNextWordToSpellcheck): constify return type.
10386 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10392 * paragraph_pimpl.h:
10395 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10396 suggested by Angus.
10397 Made updateCounter always count from start of buffer, and removed
10398 second argument (par).
10399 Reverted floats number display to '#'. Perhaps I'll try again when the
10400 code base is sanitized a bit.
10402 2002-08-12 Angus Leeming <leeming@lyx.org>
10404 * buffer.[Ch] (getLabelList): constify.
10406 2002-08-07 André Pönitz <poenitz@gmx.net>
10408 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10410 * funcrequest.h: extension to keep mouse (x,y) position
10412 2002-08-12 Juergen Vigna <jug@sad.it>
10414 * BufferView2.C (insertErrors): forbid undo when inserting error
10417 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10419 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10421 * ParagraphList.[Ch]: new files
10423 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10425 * BufferView2.C (lockInset): ParagraphList changes
10428 * bufferlist.C: ditto
10432 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10434 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10435 unused class variable counter_,
10437 * paragraph.[Ch] (getFirstCounter): delete unused function
10439 * counters.C: include LAssert.h
10440 (reset): add a new function with no arg, change other version to
10441 not have def. arg and to not allow empty arg.
10443 * text2.C (setCounter): remove empty arg from call to Counters::reset
10445 2002-08-11 John Levon <levon@movementarian.org>
10447 * Makefile.am: add WordLangTuple.h
10449 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10451 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10452 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10454 * insets/insettext.C: InsetList changes
10456 * graphics/GraphicsSupport.C (operator()): InsetList changes
10458 * toc.C (getTocList): InsetList changes
10460 * paragraph_pimpl.[Ch]: InsetList changes
10462 * paragraph.[Ch]: InsetList changes
10464 * buffer.C (inset_iterator): InsetList changes
10465 (setParagraph): ditto
10466 * buffer.h (inset_iterator): ditto
10467 * iterators.C (operator++): ditto
10468 * iterators.h: ditto
10470 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10472 * InsetList.[Ch]: new files, most InsetList handling moved out of
10475 * BufferView2.C (removeAutoInsets): InsetList changes
10477 (ChangeInsets): ditto
10479 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10481 * paragraph_pimpl.h (empty): new function
10483 * paragraph.[Ch] (empty): new function
10485 * other files: use the new Paragraph::empty function
10487 2002-08-09 John Levon <levon@movementarian.org>
10489 * lyxtext.h: remove unused refresh_height
10491 2002-08-09 John Levon <levon@movementarian.org>
10498 * paragraph.C: move sgml char escaping out of paragraph
10501 * paragraph.C: remove id setter
10505 * paragraph_pimpl.C: remove dead tex_code_break_column
10507 * bufferview_funcs.C: small cleanup
10509 * lyxfunc.C: remove dead proto
10511 * lyxtext.h: make some stuff private. Remove some dead stuff.
10513 * lyxgluelength.C: make as[LyX]String() readable
10515 2002-08-08 John Levon <levon@movementarian.org>
10520 * ToolbarDefaults.C:
10523 * toc.C: lyxaction cleanup
10525 2002-08-08 John Levon <levon@movementarian.org>
10527 * BufferView2.C: small cleanup
10530 * lyxfind.C: move unnecessary header into the .C
10532 2002-08-08 John Levon <levon@movementarian.org>
10534 * funcrequest.h: just tedious nonsense
10537 * lyx_main.C: cleanups
10540 * vspace.C: remove dead header lyx_main.h
10542 2002-08-07 Angus Leeming <leeming@lyx.org>
10545 * paragraph_pimpl.h:
10546 Forward declare class Counters in paragraph.h by moving the ctrs member
10547 variable into Paragraph::Pimpl.
10548 (counters): new method, returning a reference to pimpl_->ctrs.
10550 * text2.C: ensuing changes.
10552 2002-08-07 John Levon <levon@movementarian.org>
10554 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10556 * BufferView_pimpl.C: announce X selection on double/triple
10559 * lyx_main.C: use correct bool in batch dispatch
10561 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10563 2002-08-07 André Pönitz <poenitz@gmx.net>
10565 * funcrequest.h: new class to wrap a kb_action and its argument
10568 * BufferView_pimpl[Ch]:
10572 * lyxrc.C: subsequent changes
10575 2002-08-07 John Levon <levon@movementarian.org>
10577 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10578 document options change.
10580 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10585 * makefile.am: move counters functionality over from
10586 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10588 2002-08-06 John Levon <levon@movementarian.org>
10590 * WordLangTuple.h: new file for word + language code tuple
10601 * BufferView2.C: use WordLangTuple
10604 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10606 2002-08-06 John Levon <levon@movementarian.org>
10608 * lyx_main.C: fix cmdline batch handling
10610 2002-08-06 André Pönitz <poenitz@gmx.net>
10612 * lyxrc.C: set default for show_banner to true
10614 2002-08-06 John Levon <levon@movementarian.org>
10616 * pspell.C: fix a crash, and allow new aspell to work
10618 2002-08-06 John Levon <levon@movementarian.org>
10621 * kbmap.C: small cleanup
10624 * vspace.C: add const
10626 2002-08-05 John Levon <levon@movementarian.org>
10628 * LyXAction.C: back to tabular-insert
10630 2002-08-04 John Levon <levon@movementarian.org>
10633 * BufferView.C: cosmetic change
10635 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10645 * BufferView2.C: purge all "Lyx" not "LyX" strings
10648 * lyxcursor.C: attempt to add some documentation
10653 * ToolbarDefaults.C:
10654 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10655 merge with LFUN_TABULAR_INSERT
10662 * pspell.C: split up i/pspell implementations into separate
10663 files, many cleanups
10665 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10667 * text2.C: some cleanup
10669 * lyxfunc.C: don't check for isp_command == "none" any more, it
10670 didn't make any sense
10672 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10677 * makefile.am: move counters functionality over
10678 from text2.C/paragraph.[Ch] to counters.[Ch], and
10680 2002-08-02 John Levon <levon@movementarian.org>
10682 * buffer.C: s/lyxconvert/lyx2lyx/
10684 2002-08-02 Angus Leeming <leeming@lyx.org>
10686 * lyxlex.C: revert John's change as it breaks reading of the user
10689 2002-08-02 Angus Leeming <leeming@lyx.org>
10691 * importer.C (Import):
10692 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10693 changes due to LyXView::view() now returning a boost::shared_ptr.
10695 2002-08-02 John Levon <levon@movementarian.org>
10697 * lyxlex.C: small cleanup
10699 2002-08-02 John Levon <levon@movementarian.org>
10701 * text2.C (status): small cleanup, no logic change
10703 2002-08-01 John Levon <levon@movementarian.org>
10706 * buffer.C (writeFile): don't output alerts, caller
10710 * lyx_cb.C: from above
10712 * lyxfunc.C: allow to open non-existent files
10714 2002-07-31 John Levon <levon@movementarian.org>
10716 * lyxserver.C: don't let incidental errors get
10719 2002-07-30 John Levon <levon@movementarian.org>
10721 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10723 2002-07-30 John Levon <levon@movementarian.org>
10726 * lyxserver.C: remove I/O callback too
10728 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10730 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10733 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10735 * many files: strip,frontStrip -> trim,ltrim,rtrim
10737 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10739 * PrinterParams.h: remove extern containsOnly, and include
10740 support/lstrings.h instead.
10742 * LaTeX.C (scanAuxFile): modify because of strip changes
10744 * buffer.C (makeLaTeXFile): ditto
10745 * bufferparams.C (writeFile): ditt
10746 * lyxfont.C (stateText): ditto
10747 * lyxserver.C (read_ready): ditto
10748 * vc-backend.C (scanMaster): ditto
10750 * BufferView_pimpl.h: ws changes
10752 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10754 2002-07-26 André Pönitz <poenitz@gmx.net>
10756 * kb_sequence.C: remove unnedred usings
10758 2002-07-26 Juergen Vigna <jug@sad.it>
10760 * lyxfind.C (LyXReplace): we have to check better if the returned
10761 text is not of theLockingInset()->getLockingInset().
10763 2002-07-25 Juergen Vigna <jug@sad.it>
10765 * lyxfind.C (LyXReplace): don't replace if we don't get the
10768 * undo_funcs.C (createUndo): remove debugging code.
10770 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10772 * buffer.C (parseSingleLyXformat2Token): Use default placement
10773 when reading old floats.
10775 * FloatList.C (FloatList): Change the default placement of figure
10776 and tables to "tbp".
10778 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10780 * MenuBackend.C: using std::max
10782 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10784 * MenuBackend.C (expandToc):
10785 (expandToc2): code moved from xforms menu frontend. It is now
10786 generic and TOCs are transparent to menu frontends.
10788 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10790 * toc.C (getTocList): protect against buf=0
10792 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10793 Menu as first parameter. Now, this calls itself recursively to
10794 expand a whole tree (this will be useful for TOC handling)
10795 (expandFloatInsert): remove 'wide' version of floats
10797 * MenuBackend.h (submenuname): returns the name of the submenu.
10798 (submenu): returns the submenu itself, provided it has been
10799 created by MenuBackend::expand
10801 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10803 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10804 insets which have noFontChange == true. (bug #172)
10806 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10808 * BufferView_pimpl.C: add connection objects and use them...
10811 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10813 * MenuBackend.C (expandLastfiles):
10816 (expandFloatListInsert):
10817 (expandFloatInsert):
10818 (expand): split expand in parts
10820 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10822 * lyx_gui.C: use lyx_gui::exit()
10824 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10826 * LyXAction.C: show the failing pseudo action
10828 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10830 * buffer.C (readFile): Run the lyxconvert script in order to read
10833 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10837 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10839 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10843 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10845 2002-07-22 Herbert Voss <voss@lyx.org>
10848 * lyxlength.[Ch]: add support for the vertical lengths
10850 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10852 * toc.[Ch]: std:: fixes
10854 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10856 * lyxrc.C: do not include lyx_main.h
10858 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10864 * BufferView2.C: include "lyxlex.h"
10867 * bufferparams.h: do not #include "lyxlex.h"
10869 * lyxtextclasslist.C (Add): remove method
10870 (classlist): renamed to classlist_
10872 * paragraph_pimpl.C:
10876 * bufferview_funcs.C:
10881 * toc.C (getTocList): use BufferParams::getLyXTextClass
10883 * toc.C (getTocList): use InsetFloat::addToToc
10885 * toc.[Ch]: new files, containing helper functions to handle table
10888 * lyxfunc.C (dispatch): no need to remove spaces around command
10890 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10891 first command of the sequence; it is not very clever, but I do not
10892 have a better idea, actually
10894 * LyXAction.C (LookupFunc): make sure to remove space at the
10895 beginning and end of the command
10897 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10899 * MenuBackend.C (getMenubar): new method: return the menubar of
10901 (read): treat differently reading of menu and menubar (in
10902 particular, the menubar has no name now)
10903 (Menu::menubar): remove
10905 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10908 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10910 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10911 a bibitem inset in a RTL paragraph.
10913 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10915 * paragraph_pimpl.C: constify
10917 * BufferView_pimpl.C:
10919 * lyxfunc.C: fix dispatch in a nicer way
10921 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10923 * lyxfunc.C (dispatch):
10924 * BufferView_pimpl.C:
10925 * BufferView_pimpl.h:
10927 * BufferView.h: rename Dispatch() to dispatch()
10929 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10931 * lyxlayout.C (Read): honor DependsOn tag
10933 * lyxlayout.[Ch] (depends_on): new method
10935 * version.C.in: update lyx_docversion
10937 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10939 * paragraph.C (validate): remove from here...
10940 * paragraph_pimpl.C (validate): ... and move here
10941 (isTextAt): make it const
10943 * buffer.C (getLists): ws cleanup
10945 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10947 * language.C (read): Use iso8859-1 encoding in latex_lang
10948 (this prevents LyX from crashing when using iso10646-1 encoding).
10950 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10952 * text2.C (toggleInset): if cursor is inside an inset, close the
10953 inset and leave cursor _after_ it
10955 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10957 * lyxfunc.C: move minibuffer completion handling out of here
10959 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10961 * BufferView_pimpl.C:
10962 * LaTeX.C: fix dispatch calls
10964 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10966 * text.C (drawChars): Fix Arabic text rendering.
10968 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10972 * lyxfunc.C: remove message-push/pop
10976 * lyxfunc.C: rationalise some code by removing verboseDispatch
10977 in favour of a bool argument to dispatch()
10979 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * lyx_main.C (init): make sure to read symlinks as absolute paths
10983 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10986 * lyxfunc.C: no need for commandshortcut to be a member
10988 2002-07-15 André Pönitz <poenitz@gmx.net>
10990 * converter.C: add support for $$s (scripts from lib/scripts dir)
10991 * lyx_main.C: white space
10993 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10997 * lyxrc.C: remove second exit confirmation
10999 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11004 * BufferView_pimpl.h:
11005 * BufferView_pimpl.C:
11006 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11008 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11010 * MenuBackend.C (expand): add numeric shortcuts to document menu
11012 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11014 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11016 * lyxfont.C (setLyXFamily):
11023 * buffer.C (asciiParagraph): use ascii_lowercase
11025 2002-07-15 Mike Fabian <mfabian@suse.de>
11027 * lyxlex_pimpl.C (search_kw):
11028 * lyxlex.C (getLongString):
11029 * converter.h (operator<):
11030 * converter.C (operator<):
11031 * buffer.C (parseSingleLyXformat2Token):
11033 * ToolbarDefaults.C (read):
11034 * MenuBackend.C (checkShortcuts):
11036 * LColor.C (getFromGUIName):
11037 (getFromLyXName): use the compare_ascii_no_case instead of
11038 compare_no_case, because in turkish, 'i' is not the lowercase
11039 version of 'I', and thus turkish locale breaks parsing of tags.
11041 2002-07-16 Angus Leeming <leeming@lyx.org>
11043 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11044 now takes a Buffer const & argument.
11046 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11048 * BufferView.C (resize): check there's a buffer to resize
11050 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11052 * lyxfunc.C: remove dead code
11055 * lyxserver.C: use lyx_guii::set_read_callback
11057 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11059 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11060 an inset in a RTL paragraph.
11062 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11064 * lyxfunc.C: repaint after a font size update
11066 2002-07-15 André Pönitz <poenitz@gmx.net>
11068 * lyxlength.C: inBP should be able to return negative values
11070 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11072 * lyxfunc.C: use lyx_gui::update_fonts()
11074 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11076 * lyxfunc.C: use lyx_gui::update_color()
11078 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11084 * lyxrc.C: remove file->new asks for name option, and let
11085 buffer-new take an argument
11087 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11089 * BufferView_pimpl.C: remove unneeded extra repaint()
11091 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11093 * LyXAction.C: allow command-sequence with NoBuffer
11095 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11097 2002-07-10 Angus Leeming <leeming@lyx.org>
11099 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11101 2002-07-09 Angus Leeming <leeming@lyx.org>
11103 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11105 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11107 * lengthcommon.h: whitespace
11109 * lyxfunc.C: update scrollbar after goto paragraph
11111 * lyxtext.h: factor out page break drawing, and fix it so
11112 page break/added space paints as selected nicely
11114 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11116 * BufferView_pimpl.C: add FIXMEs, clean up a little
11118 2002-07-09 André Pönitz <poenitz@gmx.net>
11120 * lyxfont.[Ch]: support for wasy symbols
11122 2002-07-08 André Pönitz <poenitz@gmx.net>
11124 * BufferView_pimpl.C: apply John's patch for #93.
11126 2002-07-05 Angus Leeming <leeming@lyx.org>
11128 * BufferView_pimpl.C (buffer): generate previews if desired.
11130 * LColor.h: add "preview" to the color enum.
11132 * LColor.C (LColor): add a corresponding entry to the items array.
11134 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11137 2002-07-05 Angus Leeming <leeming@lyx.org>
11139 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11140 The body of the code is now in the method that is passed an ostream &
11141 rather than a file name.
11142 Pass an additional only_preamble parameter, useful for the forthcoming
11145 2002-07-03 André Pönitz <poenitz@gmx.net>
11147 * lyxfunc.C: simplify getStatus() a bit for math stuff
11149 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11151 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11153 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11155 * text.C (changeRegionCase): do not change case of all the
11156 document when region ends at paragraph end (bug #461)
11158 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * paragraph.C (startTeXParParams):
11161 (endTeXParParams): add \protect when necessary
11163 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11165 * BufferView_pimpl.C (workAreaExpose): remove warning
11167 2002-06-27 Angus Leeming <leeming@lyx.org>
11169 * Makefile.am: add lyxlayout_ptr_fwd.h.
11171 2002-06-26 André Pönitz <poenitz@gmx.net>
11173 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11175 2002-06-25 Angus Leeming <leeming@lyx.org>
11177 * lyxfunc.C (dispatch): Comment out the call to
11178 grfx::GCache::changeDisplay. The method no longer exists now that the
11179 pixmap generation part of the graphics loader has been moved into
11182 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11184 * text2.C: layout as layout
11186 * text.C: layout as layout
11188 * tabular.C (OldFormatRead): layout as layout
11190 * paragraph_pimpl.C (TeXDeeper): layout as layout
11191 (realizeFont): layout as layout
11193 * paragraph.C (writeFile): layout as layout
11194 (validate): layout as layout
11195 (getFont): layout as layout
11196 (getLabelFont): layout as layout
11197 (getLayoutFont): layout as layout
11198 (breakParagraph): layout as layout
11199 (stripLeadingSpaces): layout as layout
11200 (getEndLabel): layout as layout
11201 (getMaxDepthAfter): layout as layout
11202 (applyLayout): layout as layout
11203 (TeXOnePar): layout as layout
11204 (simpleTeXOnePar): layout as layout
11205 (TeXEnvironment): layout as layout
11206 (layout): layout as layout
11207 (layout): layout as layout
11209 * lyxtextclass.C (compare_name): new functor to work with
11210 shared_ptr, layout as layout
11211 (Read): layout as layout
11212 (hasLayout): layout as layout
11213 (operator): layout as layout
11214 (delete_layout): layout as layout
11215 (defaultLayout): layout as layout
11217 * lyxlayout_ptr_fwd.h: new file
11219 * lyxlayout.C (Read): layout as layout
11221 * lyx_cb.C (MenuInsertLabel): layout as layout
11223 * bufferlist.C (newFile): layout as layout
11225 * buffer.C (readLyXformat2): layout as layout
11226 (parseSingleLyXformat2Token): layout as layout
11227 (insertStringAsLines): layout as layout
11228 (asciiParagraph): layout as layout
11229 (latexParagraphs): layout as layout
11230 (makeLinuxDocFile): layout as layout
11231 (simpleLinuxDocOnePar): layout as layout
11232 (makeDocBookFile): layout as layout
11233 (simpleDocBookOnePar): layout as layout
11234 (getLists): layout as layout
11236 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11238 * CutAndPaste.C (cutSelection): layout as layout
11239 (pasteSelection): layout as layout
11240 (SwitchLayoutsBetweenClasses): layout as layout
11242 * BufferView_pimpl.C (Dispatch): layout as layout
11243 (smartQuote): layout as layout
11245 * BufferView2.C (unlockInset): layout as layout
11247 2002-06-24 André Pönitz <poenitz@gmx.net>
11249 * lyxfunc.C: fix #487
11251 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11255 * lyxfunc.C: remove display_shortcuts, show_banner
11257 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11259 * Buffer_pimpl.C: oops, update on resize
11261 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11268 * BufferView.C: use repaint()
11270 * BufferView_pimpl.h:
11271 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11272 as it's a clearer description. Remove superfluous
11275 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11277 * text.C: fix bug 488. Not ideal, but getting
11278 getWord() to work properly for the insets that
11279 matter is more difficult ...
11281 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11283 * BufferView_pimpl.C:
11286 * lyxfunc.C: remove the six million index lyxfuncs to just
11287 one, and DTRT (bug 458)
11289 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11293 * BufferView_pimpl.h:
11294 * BufferView_pimpl.C: clean up resize() stuff,
11295 and unnecessary updateScreen()s
11297 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11301 * BufferView_pimpl.h:
11302 * BufferView_pimpl.C:
11305 * minibuffer.C: remove focus management of workarea,
11306 not needed. Use screen's greyOut()
11308 2002-06-17 Herbert Voss <voss@lyx.org>
11310 * converter.C: (convert) do not post a message, when converting
11311 fails, let the calling function decide what to do in this case
11313 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11315 * lyxfunc.C: tidy up a little
11317 2002-06-16 <alstrup@diku.dk>
11319 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11320 Got rid of FORMS_H_LOCATION include. Now we are
11323 2002-06-15 LyX Development team <lyx@rilke>
11325 * buffer.[Ch] (sgmlOpenTag):
11326 (sgmlCloseTag): Added support for avoiding pernicious mixed
11327 content. Return number of lines written.
11329 (makeLinuxDocFile):
11330 (makeDocBookFile): Fixed calls to sgml*Tag.
11331 Simple white space clean.
11333 (simpleDocBookOnePar): Simple white space clean.
11335 * tabular.[Ch] (docBook): Renamed to docbook and got another
11336 argument to related with the pernicious mixed content.
11338 (docbookRow): Fixed calls for docbook inset method.
11340 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11342 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11343 so it's X11 independent.
11347 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11349 2002-06-15 Lyx Development team <lyx@electronia>
11351 * intl.h: Renamed getTrans to getTransManager.
11353 2002-06-14 Angus Leeming <leeming@lyx.org>
11355 * Makefile.am: nuke forgotten stl_string_fwd.h.
11357 2002-06-12 Angus Leeming <leeming@lyx.org>
11359 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11361 2002-06-13 Angus Leeming <leeming@lyx.org>
11364 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11366 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11368 * kbmap.C (getiso): add support for cyrillic and greek
11370 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11374 * BufferView_pimpl.h:
11375 * BufferView_pimpl.C: move bogus scrolling logic
11378 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11381 * BufferView_pimpl.C: view->resize() change
11383 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11385 * BufferView_pimpl.C: topCursorVisible
11388 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11392 * lyx_gui.C: move to frontends/
11396 * lyx_main.C: changes from above
11398 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11405 * lyx_main.C: minor tidy
11407 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11409 * BufferView_pimpl.h:
11410 * BufferView_pimpl.C:
11412 * BufferView.C: make painter() const,
11415 * BufferView2.C: use screen() accessor
11418 * lyx_main.C: some minor cleanup
11420 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11422 * BufferView_pimpl.h:
11423 * BufferView_pimpl.C: remove enter/leaveView,
11426 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11431 * BufferView_pimpl.h:
11432 * BufferView_pimpl.C: only construct screen once,
11435 * lyxrc.C: remove pointless comment
11437 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11440 * BufferView.C: remove active() and belowMouse()
11442 * BufferView_pimpl.h:
11443 * BufferView_pimpl.C: use workarea() not workarea_,
11444 and make it use a scoped_ptr instead
11446 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11448 * lyx_gui.C: add debug message on BadWindow
11450 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11452 * sp_spell.C: fdopen is not part of the C++ standard.
11454 * paragraph.C (InsetIterator): use >= instead of ==
11456 2002-06-07 Angus Leeming <leeming@lyx.org>
11458 Fixes needed to compile with Compaq cxx 6.5.
11459 * BufferView_pimpl.C:
11466 * lyxtextclasslist.C:
11471 all c-library variables have been moved into namespace std. Wrap
11472 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11477 Add a using std::abs declaration.
11479 * kbmap.h (modifier_pair):
11480 * paragraph.h (InsetTable, InsetList):
11481 * lyxfont.h (FontBits):
11482 type definition made public.
11484 * bufferlist.C (emergencyWriteAll): the compiler complains that
11485 there is more than one possible lyx::class_fun template to choose from.
11486 I re-named the void specialisation as lyx::void_class_fun.
11488 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11490 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11491 the compiler is is unable to find tostr in write_attribute.
11493 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11495 * buffer.C (sgmlError): hide #warning
11497 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11499 * xtl/*: get rid of xtl, which is not in use anyway
11501 * LyXAction.C (init):
11502 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11503 were unimplemented xtl experimentation
11505 2002-06-04 André Pönitz <poenitz@gmx.net>
11507 * lyxfunc.C: disable array operation on simple formulae
11509 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11511 * converter.C: constify a bit
11513 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11515 * lyx_gui.C: check xforms version correctly
11517 2002-04-30 Herbert Voss <voss@lyx.org>
11519 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11522 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11524 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11525 attempt to register it with a VCS)
11527 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11529 * lyx_main.C (init): honor variables LYX_DIR_13x and
11532 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11536 * lyx_main.C: fix a crash on bad command line,
11537 and give a useful exit status on error
11539 * lyxfunc.C (doImport): allow -i lyx to work
11541 2002-03-30 André Pönitz <poenitz@gmx.net>
11543 * lyxfunc.C: mathed font changes
11545 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11560 * trans_mgr.h: srcdocs, and some minor cleanups
11562 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11564 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11565 call getFont all the time)
11567 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11569 * switch from SigC signals to boost::signals
11571 2002-05-29 André Pönitz <poenitz@gmx.net>
11573 * paragraph_pimpl.C (getChar): don't call size() too often...
11575 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11577 * paragraph_pimpl.C (insertChar): do not try to update tables when
11578 appending (pos == size())
11580 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11581 in order to reduce drastically the number of comparisons needed to
11582 parse a large document
11584 2002-05-29 André Pönitz <poenitz@gmx.net>
11590 * textclasslist.[Ch]:
11591 * sp_ispell.h: whitespace change
11593 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11595 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11596 lyxaction directly now.
11598 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11602 * lyxvc.C: remove unused headers
11604 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11611 * undo_funcs.C: some cleanups. Use shared_ptr
11612 and a template for the undo stacks.
11614 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11616 * BufferView_pimpl.h:
11617 * BufferView_pimpl.C:
11624 * text2.C: use key_state/mouse_state
11626 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11628 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11631 * chset.C: change include order
11632 (loadFile): use boost regex and get rid of LRegex and LSubstring
11634 * Makefile.am (BOOST_LIBS): new variable
11635 (lyx_LDADD): use it
11637 * LaTeX.C: change include order.
11638 (scanAuxFile): use boost regex and get rid of LRegex and
11642 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11647 * FontInfo.C: moved to frontends/xforms/
11650 * FontLoader.C: moved into frontends for GUIIzation
11655 * lyxfunc.C: changes from above
11657 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11659 * LColor.C: remove spurious X include
11661 * BufferView_pimpl.C:
11666 * text2.C: move font metrics to frontends/
11668 2002-05-24 Juergen Vigna <jug@sad.it>
11670 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11671 setting the undo_cursor.
11673 * ParagraphParameters.h: include local includes first.
11675 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11677 * BufferView_pimpl.C:
11678 * BufferView_pimpl.h:
11682 * screen.C: move WorkArea into frontends/
11688 * BufferView2.C: move LyXScreen into frontends/
11692 * lyx_gui.C: move lyxlookup into frontends/xforms/
11694 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11697 * BufferView_pimpl.C:
11707 * bufferview_funcs.C:
11720 * vc-backend.C: move LyX/XFormsView into frontends/
11722 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11734 * text2.C: move Painter to frontends/
11736 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11738 * buffer.C: comment out some some code that depend upon lyx_format
11741 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11742 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11744 * buffer.h (NO_COMPABILITY): turn off compability
11746 * ColorHandler.C: include scoped_array.hpp
11748 * font.C: Use more specific smart_ptr header.
11751 * ShareContainer.h: ditto
11752 * lyx_main.h: ditto
11754 * FontInfo.h: ditto
11755 * BufferView_pimpl.h: ditto
11756 * ColorHandler.h: ditto
11758 * kbmap.C (defkey): change call to shared_ptr::reset
11760 2002-05-21 Juergen Vigna <jug@sad.it>
11762 * buffer.C (insertErtContents): fix to insert ert asis if it is
11763 non empty. Skip it completely if it contains only whitespaces.
11765 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11767 * BufferView_pimpl.C:
11768 * BufferView2.C: clear selection on paste (bug 393)
11770 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11772 * DepTable.C: include ctime
11774 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11776 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11778 2002-05-14 Juergen Vigna <jug@sad.it>
11780 * text.C (breakParagraph): fixed function to honor the keepempty
11781 layout in the right maner and also to permit the right breaking
11782 algorithm on empty or non empyt keepempty paragraphs.
11784 * paragraph.C (breakParagraph): we have to check also if the par
11785 is really empty (!size()) for isempty otherwise we do the wrong
11788 2002-05-10 Juergen Vigna <jug@sad.it>
11790 * buffer.[Ch] : The following are only changes to the ert
11791 compatibility read reading old LaTeX layout and font stuff and
11792 convert it to ERTInsets.
11794 * buffer.h: added isErtInset().
11796 * buffer.C (struct ErtComp): add a fromlayout bool to check
11797 if we're inside a LaTeX layout.
11798 (isErtInset): new helper function.
11799 (insertErtContents): look for other ert insets before this one
11800 and insert the contents there, so that we don't have subsequent
11801 ERT insets with nothing between them. This way we create only one
11802 inset with multiple paragraphs. Also check if we don't insert only
11803 spaces ' ' as they are ignored anyway afterwards in the .tex file
11804 so if we have only spaces we will ignore this latex part in the
11806 (parseSingleLyXformat2Token \\layout): better compatibility when
11807 reading layout-latex stuff.
11808 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11810 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11811 stuff after reading the inset only get the information back from
11814 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11816 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11818 * LaTeXFeatures.C (getBabelOptions): New method.
11820 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11822 * BufferView_pimpl.C (Dispatch): work around missing argument for
11825 2002-05-08 Juergen Vigna <jug@sad.it>
11827 * text.C (leftMargin): handle paragraph leftindent.
11829 * paragraph.C (writeFile): write the new \\leftindent tag.
11830 (validate): handle leftindent code.
11831 (TeXEnvironment): handle paragraphleftindent code again.
11833 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11835 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11836 for paragrap_extra indent code and new token \\leftindent.
11837 (latexParagraphs): handle the leftindent as environment.
11839 * ParameterStruct.h: added leftindent support.
11841 * ParagraphParameters.C (leftIndent): added support functions for
11842 the paragraph left indent.
11844 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11847 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11849 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11852 * text.C (computeBidiTables): No bidi in insetERT.
11854 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11857 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11859 * version.C.in: pre 5
11861 2002-05-02 José Matos <jamatos@fep.up.pt>
11862 * buffer.C (makeDocBookFile): white space changes, add newline to
11864 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11866 * tabular.C (docBook): fix typo.
11868 2002-05-03 Juergen Vigna <jug@sad.it>
11870 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11871 change in LyXText as we can not be sure it was not freed.
11872 (drawOneRow): remove unused code.
11874 * text.C (drawInset): redo the calculation of the need_break_row as
11875 it could have a row which was already freed.
11876 (draw): look at the return value of drawInset and return false if
11877 it also returned false.
11878 (paintRowText): look at the return value of draw and return false if
11879 it also returned false.
11881 * lyxtext.h: added bool return type to drawInset() and draw() so that
11882 if we have a change in the row so that the rowbreak has to be redone
11883 we abort drawing as it will be called again.
11885 2002-05-02 Juergen Vigna <jug@sad.it>
11887 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11888 a change in the maintext also if we're inside an inset.
11889 (Dispatch): set the cursor again after a break line and after the
11890 screen has been updated as it could be we're in a different row.
11892 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11893 to set the cursor behind the pargraph with > size().
11894 (setCursor): check also for the same paragraph when checking where
11895 to put the cursor if we have a NFR inset.
11897 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11898 parts of layout read further up as it still was in the wrong
11901 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * screen.C (drawFromTo): change sine fullRebreak always return
11906 * buffer.C (parseSingleLyXformat2Token): reindent some
11908 * BufferView_pimpl.C (update): change since fullRebreak always
11910 (Dispatch): git rid of the last hardcoded "Standard"s.
11912 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11914 * text2.[Ch] (fullRebreak): make it return void now that we always
11917 2002-04-30 Juergen Vigna <jug@sad.it>
11919 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11920 ert compatibility check for "latex" layout.
11922 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11924 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11925 minipages: use col% instead of p%, and also use the current font.
11926 (makeLaTeXFile): Fix use babel condition.
11927 (parseSingleLyXformat2Token): Correct font when reading old floats.
11929 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11931 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11932 inserting list of floats.
11934 2002-04-25 Herbert Voss <voss@lyx.org>
11936 * MenuBackend.C (expand): don't add the graphics extensions to the
11939 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11941 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11942 non-existing layout, do not complain if it was the default layout
11943 of the original class (bug #342)
11945 2002-04-24 Juergen Vigna <jug@sad.it>
11947 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11948 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11950 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11952 * buffer.C (getBibkeyList): If using \bibliography, return the
11953 option field with the reference itself. Enables us to provide natbib
11954 support when using \bibliography.
11956 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11958 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11960 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11961 natbib is provided by the LaTeX class.
11963 2002-04-23 Juergen Vigna <jug@sad.it>
11965 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11968 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11970 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11972 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11974 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11975 ensuremath around textordmasculine, textordfeminine and
11978 2002-04-19 Juergen Vigna <jug@sad.it>
11980 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11981 reinitializing the buffer otherwise row-dimensions may be wrong.
11982 (update): reset also the selection cursors if they do exits otherwise
11983 their x/y positions may be wrong.
11985 * text2.C (cursorDown): don't enter the inset if we came from a row
11986 above and are one row over the inset.
11988 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11989 really leaving an inset.
11991 2002-04-18 Juergen Vigna <jug@sad.it>
11993 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11994 of the selected paragraph does not have the selected layout also if
11997 * text2.C (setLayout): fixed bug which did not change last selected
12000 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12001 changed the read and substituted \\end_float with \\end_inset!
12003 * BufferView_pimpl.C (cursorPrevious):
12004 (cursorNext): fixed to make it work with rows heigher than the work
12005 area without moving the cursor only the draw of the row.
12006 (workAreaMotionNotify): fix jumping over high rows.
12008 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12010 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12013 2002-04-16 Juergen Vigna <jug@sad.it>
12015 * text2.C (setCursor): set also the irow().
12016 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12018 (cursorDown): support for locking an inset if the x_fix value goes
12019 inside it. That way I can transverse insets too with cursor up/down.
12021 * lyxrow.h: added irow helper function same as other (i) functions.
12023 * BufferView_pimpl.C (cursorPrevious):
12024 (cursorNext): fixed for insets!
12026 2002-04-15 Juergen Vigna <jug@sad.it>
12028 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12029 position otherwise it is wrong in some cases.
12031 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12032 inside the inset before the call.
12034 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12036 * buffer.[Ch] (getBibkeyList): make it const.
12038 2002-04-12 Juergen Vigna <jug@sad.it>
12040 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12042 * text2.C (getCursorX): new helper function
12043 (setCursor): compute also ix_
12044 (setCursorFromCoordinates): set also ix.
12046 * lyxcursor.h: added ix_ and helper functions.
12048 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12050 * buffer.C (insertStringAsLines): dont break paragraph if the this
12051 paragraph is inside an inset which does not permit it!
12053 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12054 also with no chars on this paragraph.
12055 (paintRowText): only paint stuff if it's inside the workarea!
12057 * paragraph.C (breakParagraph): honor keepempty flag and break the
12058 paragraph always below not above.
12060 * BufferView2.C (unlockInset): update the paragraph layout on inset
12061 unlock as we changed paragraph in such a case.
12063 * lyxfind.C (LyXFind): clear the former selection if not found!
12065 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12066 again called in insertChar().
12068 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12069 an inset which uses the whole row!
12070 (rightMargin): ditto.
12071 (insertChar): force a rebreak if we inserted an inset!
12073 2002-03-28 Herbert Voss <voss@lyx.org>
12075 * lyxlength.[Ch]: add inBP() to get the right PS-point
12076 units (BigPoint). With inPixels we have rounding errors
12078 2002-04-11 Juergen Vigna <jug@sad.it>
12080 * text2.C (setCursorFromCoordinates): set iy to the right value.
12081 (setCursor): add check if row->previous exists!
12083 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12084 an old float_type as this was the case in the old code!
12086 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12088 * BufferView2.C (showLockedInsetCursor): use iy
12089 (fitLockedInsetCursor): ditto
12091 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12092 locked insets as there we have the right value now.
12094 * lyxcursor.C: added iy_ variable and iy functions to set to the
12095 baseline of cursor-y of the locked inset.
12097 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12098 (setCursor): fixed for insets which need a full row.
12100 * text.C (rowLastPrintable): don't ignore the last space when before
12101 an inset which needs a full row.
12102 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12103 as last character of a row when before a inset which needs a full row.
12105 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12107 * version.C.in: update date
12109 * text2.C (fullRebreak): try to always return true and see what
12112 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12114 * MenuBackend.C (expand): use Floating::listName
12116 * FloatList.C (FloatList): add listName argument to the built-in
12119 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12120 text associated with the float.
12122 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12124 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12126 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12128 * ShareContainer.h: add a couple of missing typenames.
12130 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12132 * lyxrc.C (getDescription): use _() correctly rather than N_().
12134 2002-03-28 Herbert Voss <voss@lyx.org>
12136 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12137 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12139 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12141 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12142 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12144 2002-03-29 Juergen Vigna <jug@sad.it>
12146 * lyxfunc.C (dispatch): add a missing fitCursor call.
12148 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12149 it was scrolled by a cursor move, so return the bool status.
12151 * BufferView.C (fitCursor): return the bool flag also to the outside
12152 world as this is needed.
12154 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12156 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12157 call the edit() as it is not needed (and wrong) IMO.
12158 (workAreaButtonPress): set the screen_first variable before evt.
12159 unlock the inset as this may change screen_first and then we have
12160 a wrong y position for the click!
12162 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12164 * MenuBackend.C (expand): another translation that I missed
12166 2002-03-28 Juergen Vigna <jug@sad.it>
12168 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12170 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12172 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12174 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12176 * MenuBackend.C (expand): fix export/view/update when there is no
12179 2002-03-27 Herbert Voss <voss@lyx.org>
12181 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12184 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * bufferview_funcs.C (currentState): only show paragraph number
12187 for is DEVEL_VERSION is set.
12189 * lyxfunc.C (dispatch): put warning in INFO channel
12191 * MenuBackend.C (expand): translate the name of floats
12193 * FloatList.C (FloatList): mark the float names for translation
12195 * converter.C (convert): use LibScriptSearch
12197 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12199 * MenuBackend.C (defaults): fix default menu (we might as well get
12202 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12204 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12207 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12209 * lyxvc.C: reorder includes.
12211 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12213 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12216 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12218 * CutAndPaste.C: change layouts earlier on paste
12219 to avoid crashing when calling getFont()
12221 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12223 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12226 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12228 * WorkArea.C: remove 'Pending' debug message.
12230 * most files: ws cleanup
12232 * buffer.[Ch]: ws changes
12234 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12236 2002-03-21 Juergen Vigna <jug@sad.it>
12238 * tabular.C (SetMultiColumn): collapse also the contents of the
12239 cells and set the last border right. Added a Buffer const * param.
12241 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12246 2002-03-19 Juergen Vigna <jug@sad.it>
12248 * text2.C (clearSelection): reset also xsel_cache.
12250 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12251 where it needs to be called (John tells us to do so too :)
12252 (selectionLost): reset sel_cache.
12254 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12256 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12258 * text2.C (setCursorIntern): put debuging code in INSETS channel
12260 2002-03-19 André Pönitz <poenitz@gmx.net>
12262 * lyxfunc.C: tiny whitespace change
12264 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12266 * ToolbarDefaults.C (init):
12267 * LyXAction.C (init):
12269 * BufferView_pimpl.C (Dispatch):
12270 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12272 2002-03-19 Allan Rae <rae@lyx.org>
12274 * exporter.C (Export): removeAutoInsets before doing anything else.
12275 While I've just introduced a dependency on BufferView this really is
12276 the best place to clean the buffer otherwise you need to cleanup in
12277 a dozen places before calling export or cleanup in a dozen functions
12280 * converter.C (runLaTeX):
12281 (scanLog): Better handling of removeAutoInsets and screen updates.
12283 * lyxfunc.C (dispatch): small whitespace changes
12285 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12287 * WorkArea.C (C_WorkAreaEvent): return a value.
12288 (event_cb): return 1 if we handled the event, 0 otherwise.
12290 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12292 2002-03-18 Juergen Vigna <jug@sad.it>
12294 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12295 (GetAdditionalWidth): ditto.
12296 (RightLine): ditto.
12299 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12300 inset if we're there actually (probably not used right now but this
12301 is the direction to go for unifying code).
12302 (paste): disable code to clear the selection.
12304 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12305 inside an InsetText and move the check further up as it is in the
12308 * text2.C (pasteSelection): set a selection over the pasted text.
12310 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12312 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12313 and libgraphics to build on Cygwin.
12315 2002-03-15 Juergen Vigna <jug@sad.it>
12317 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12318 inserting an Inset into the paragraph. I know this is not the best
12319 fix but we already use current_view in CutAndPaste so we will remove
12320 all of it's using at the same time.
12322 * buffer.C (sgmlError): deactivated function till it is rewritten in
12323 the right mode, now it can create problems.
12325 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12326 before accessing it.
12328 2002-03-14 Juergen Vigna <jug@sad.it>
12330 * undo_funcs.C (textHandleUndo): do the right thing when updating
12331 the inset after the undo/redo.
12333 * text2.C (setCursor): just some testcode for #44 not ready yet.
12335 * undo_funcs.C (textHandleUndo): set the next() and previous()
12336 pointers of the paragraph to 0 before deleting otherwise we have
12337 problems with the Paragraph::[destructor].
12339 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12340 on a paragraph insertion.
12342 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12344 * buffer.C (asciiParagraph): use += operator for char append to
12347 * paragraph.C (getFontSettings): compare >= not just >
12348 (highestFontInRange): ditto
12351 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12353 * paragraph.C: change several algorithm to be more appripriate for
12354 the problem domain. This is lookip in FontList and in the InsetList.
12356 2002-03-13 André Pönitz <poenitz@gmx.net>
12359 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12361 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12366 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12368 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12370 * Painter.C (display): anon helper function, adjust code for this
12372 (pixmap): remove function.
12374 * Painter.h: remove private display variable.
12376 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12378 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12380 * WorkArea.[Ch]: remove figinset_canvas cruft.
12382 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12384 * lyxtextclass.C (operator): add one item cache optimization.
12386 * bufferlist.h: doxy changes
12388 * bufferlist.C: ws changes
12390 * DepTable.[Ch] (ext_exist): place const in the right spot.
12392 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12394 (workAreaExpose): call resizeInsets when the with BufferView changes.
12395 (Dispatch): adjust for protectedBlank removal
12396 (specialChar): call updateInset if the insert went ok.
12398 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12399 specialChar instead.
12401 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12403 * BufferView.h: doxy change
12405 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12407 * lyxtextclass.C (operator[]): remove non-const version
12408 (defaultLayout): remove non-const version
12410 2002-03-12 Juergen Vigna <jug@sad.it>
12412 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12413 did resize the LyXText too.
12415 * buffer.C (readLyXformat2): set layout information on newly allocated
12418 * tabular.C (OldFormatRead): set layout information on the paragraph.
12420 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12422 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12424 2002-03-11 Juergen Vigna <jug@sad.it>
12426 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12428 (resizeCurrentBuffer): force also the insets to resize themselfes.
12429 (moveCursorUpdate): fixed up for InsetText.
12431 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12434 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12435 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12436 value of Dialogs::tooltipsEnabled().
12437 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12439 2002-03-08 Juergen Vigna <jug@sad.it>
12441 * BufferView_pimpl.C (updateInset): update inset inside inset also
12442 if it isn't inside theLockingInset().
12444 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12446 * buffer.C (asciiParagraph): redo some of the word and line length
12448 (getLists): look for Caption instead of caption.
12450 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12452 * buffer.C (Buffer): initialize niceFile to true
12454 (makeLinuxDocFile):
12455 (makeDocBookFile): make sure niceFile is true on exit
12457 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12459 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12461 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12463 * LyXSendto.C: remove.
12464 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12465 * lyx_gui.C: remove now-redundant comment.
12466 * ColorHandler.h: remove forward declaration of class WorkArea.
12467 * lyxfunc.C: remove #include "WorkArea.h".
12469 2002-03-07 Juergen Vigna <jug@sad.it>
12471 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12472 got moved away with the DEPM and also set the inset_owner always
12473 right which before could have been omitted.
12475 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12478 wanted layout is not found.
12480 2002-03-07 Juergen Vigna <jug@sad.it>
12482 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12484 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12486 * paragraph.C (breakParagraph): use default layout not layout of
12488 (Paragraph): clear ParagraphParameters.
12490 2002-03-06 Juergen Vigna <jug@sad.it>
12492 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12493 otherwise it would not be a valid lenght. Fixed a special case in
12494 the minipage compatibility read where we end the document with a
12497 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12498 was set as it could be 0 for InsetTexts first entry.
12500 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12502 * paragraph.C (writeFile): if layout is empty write out
12503 defaultLayoutName().
12505 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12506 file without named layout we set layout to defaultLayoutName().
12508 2002-03-06 Juergen Vigna <jug@sad.it>
12510 * CutAndPaste.C (copySelection): set layout for new paragraph.
12512 * text.C (prepareToPrint): leave ERT inset left aligned
12513 (leftMargin): don't indent paragraphs inside ERT insets
12515 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12517 * paragraph.C (breakParagraph): dont call clear do the work manually
12519 * paragraph.[Ch] (clear): remove function
12521 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * paragraph.C (Paragraph): dont call clear, the work has already
12526 * lyxtextclass.C (operator): assert if n is empty
12528 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12529 work manually instead.
12531 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12533 * BufferView_pimpl.C: protect selectionLost against text == 0
12535 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12537 * text.C (breakParagraph): fix a setting layout to '0' problem.
12539 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12541 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12542 final location of file, for the included files, and graphics.
12544 2002-03-05 Juergen Vigna <jug@sad.it>
12546 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12548 2002-03-04 Juergen Vigna <jug@sad.it>
12550 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12552 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12553 last column of multicolumn cells.
12554 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12556 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12558 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12559 file if it doesn't go to a temporary file.
12561 * buffer.C (sgmlOpenTag):
12562 (sgmlCloseTag): remove extra newline insertion.
12564 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12566 * text.C (getRowNearY): comment out debug msg
12568 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12570 * text2.C: first -> first_y
12572 * text.C (getRowNearY): add some attemts at a possible
12573 optimization, not working.
12575 * tabular.[Ch]: add BufferParams to several function so that newly
12576 created paragraph can be initialized to he default layotu for the
12579 * tabular-old.C (ReadOld): add buf->params to call of Init
12581 * screen.C: rename text->first to text->first_y
12583 * paragraph.C (breakParagraph): always set layout in the broken
12586 * lyxtextclass.C (Read): remove lowercase
12589 (delete_layout): ditto
12591 * lyxtext.h: rename first -> first_y
12593 * lyxlayout.C (Read): remove lowercase
12596 (obsoleted_by): ditto
12598 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12600 * buffer.C (insertErtContents): add params are to InsetERT
12601 (parseSingleLyXformat2Token): add code to check if a paragraphs
12602 layout really exist.
12603 (parseSingleLyXformat2Token): add params to several inset
12605 (asciiParagraph): remove lowercase, do the layout comparisons with
12608 * BufferView_pimpl.C (cursorNext): first -> first_y
12609 (resizeCurrentBuffer): first -> first_y
12610 (updateScrollbar): first -> first_y
12611 (scrollCB): first -> first_y
12612 (workAreaMotionNotify): first -> first_y
12613 (workAreaButtonPress): first -> first_y
12614 (checkInsetHit): first -> first_y
12615 (cursorPrevious): first -> first_y
12616 (cursorNext): first -> first_y
12617 (Dispatch): add buffer_->params to severl inset contructors
12619 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * lyxlayout.C (Read): remove some debug info that I forgot.
12623 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12624 clean up the code slightly.
12625 (makeLinuxDocFile): ditto
12626 (makeDocBookFile): ditto
12628 * text2.C: layout as string
12630 * text.C: layout as string
12632 * paragraph_pimpl.C: layout as string
12634 * paragraph.[Ch]: layout as string
12636 * lyxtextclasslist.[Ch]: layout as string
12638 * lyxtextclass.[Ch]: layout as string
12640 * lyxtext.h: layout as string
12642 * lyxlayout.[Ch]: layout as string
12644 * lyx_cb.C: layout as string
12646 * bufferview_funcs.C: layout as string
12648 * bufferparams.C: layout as string
12650 * buffer.C: layout as string
12652 * LyXView.[Ch]: layout as string
12654 * LaTeXFeatures.[Ch]: layout as string
12656 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12658 * BufferView_pimpl.C: change current_layout to string, remove
12663 (workAreaButtonRelease): layout as string
12665 * BufferView2.C (unlockInset): adjust
12667 * vspace.C (asLatexCommand): use an explict temp variable.
12669 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12671 * Makefile.am: use FRONTEND_*
12673 2002-03-01 Juergen Vigna <jug@sad.it>
12675 * tabular.C (SetWidthOfMulticolCell): changed to something better
12676 I hope but still work in progress.
12677 (recalculateMulticolumnsOfColumn): renamed function from
12678 recalculateMulticolCells as it is more appropriate now.
12679 (SetWidthOfCell): calculate multicols better.
12681 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12683 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12685 * lyxfunc.C (processKeySym): print sequence also if it is
12686 `deleted' (complete)
12688 * kbsequence.C (print): print sequence even if it is deleted
12689 (complete would be a better word, actually).
12691 * lyxfunc.C (dispatch): print complete options after a prefix key
12693 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12695 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12697 * text2.C (setCharFont): eliminate setCharFont code duplication.
12699 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12701 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12702 LFUN_TABULAR_FEATURE (bug #177)
12704 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12706 * Makefile.am: remove figure.h
12708 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12710 * Bufferview_pimpl.C:
12722 * text2.C: remove #include "lyx_gui_misc.h".
12724 * LaTeX.C: added #include <cstdio>
12726 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12728 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12729 that the paragraph following this one can have.
12731 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12733 * vspace.C (asLatexCommand): fix bogus gcc warning
12735 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12737 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12739 * text2.C (setLayout): get rid of redundant code
12741 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12743 * text2.C (incDepth): make sure depth cannot be increased beyond
12746 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12748 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12749 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12751 * PainterBase.h (image):
12752 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12753 a LyXImage const *.
12755 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12759 * BufferView_pimpl.C:
12760 * BufferView_pimpl.h:
12780 * sp_spell.C: remove fig inset, and the crap house of
12781 cards that follows it
12783 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12788 * os2_errortable.h:
12789 * nt_defines.h: move .h into support/
12791 * vms_defines.h: remove
12793 * WorkArea.C: add space in debug output
12797 * buffer.C: add WITH_WARNINGS
12801 * bufferlist.C: s/retrive/retrieve/, add docs
12810 * chset.C: add docs
12812 * lyxgui.C: add ID to X error handler
12814 * lyxtestclass.c: fix typo
12816 2002-02-26 Juergen Vigna <jug@sad.it>
12818 * tabular_funcs.C (write_attribute): changed so that some default
12819 attributes are not written at all.
12820 (getTokenValue): set default values before trying to read the
12821 value so we have the return value always set as default if we don't
12822 find the token we search for.
12824 * tabular.C (Write): write bools as bools not as strings!
12826 2002-02-22 Juergen Vigna <jug@sad.it>
12828 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12829 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12831 * text.C (leftMargin): don't add an indent for paragraphs inside
12832 tabular cells (fix #208).
12834 2002-02-21 José Matos <jamatos@fep.up.pt>
12836 * tabular.C (docBook): fixed support for long tables.
12838 2002-02-20 Juergen Vigna <jug@sad.it>
12840 * text2.C (getFont): get the drawing font of the Inset if this
12841 paragraph is inside an inset (only important for InsetERT for now).
12843 * buffer.C (insertErtContents): use new lanugage params in ERT
12846 * CutAndPaste.C: commenting out seemingly uneeded code.
12848 2002-02-19 Allan Rae <rae@lyx.org>
12850 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12851 Iterators might be simple to use but they also get invalidated.
12852 (removeAutoInsets): renamed saved cursor tracking variables and added
12853 some comments to clarify what everything does.
12855 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12862 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12863 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12866 * vc-backend.h: remove #include "support/syscall.h"
12870 * converter.C: rearrange #includes in Lars' approved fashion.
12872 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12873 forward declare class Timeout in the header file.
12875 * XFormsView.C: changes due to the above.
12877 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12878 similar to LyXView.
12880 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12881 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12883 2002-02-18 José Matos <jamatos@fep.up.pt>
12885 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12888 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12890 * a lot of small ws changes
12891 * add a lot of using std::XXX
12892 * use std construcs some places where approp.
12893 * use some exisint stuff from lyxfunctional where approp.
12894 * Make file changes to use partial linking (lets test this now...)
12896 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12900 remove #include "support/syscontr.h" as it's redundant. Always has been.
12908 change Systemcalls::System to Systemcalls::Wait and
12909 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12910 No change of functionality, just reflects the stripped down Systemcalls
12913 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12915 * debug.[Ch]: add a GRAPHICS type to the enum.
12917 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12919 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12921 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12924 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12926 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12927 match the changes below.
12929 * text2.C (toggleInset): if there is not editable inset at cursor
12930 position, try to see if cursor is _inside_ a collapsable inset
12933 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12935 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12936 document menu has a nice checkbox
12938 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12940 * lyxlength.C (asLatexString): change PW to output as percent of
12943 * lengthcommon.C: change '%' to 't%'
12945 * lyxfunc.C (dispatch): a few comments from Martin
12947 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12951 * BufferView_pimpl.h:
12952 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12955 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12957 * vspace.C (inPixels): fix compiler warning
12959 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12961 * lyxfunc.C (getStatus): fix status message for disabled commands.
12963 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12965 * BufferView_pimpl.C: fix crash on close buffer
12966 during selection (#227)
12968 2002-01-27 Herbert Voss <voss@lyx.org>
12970 * buffer.C: link old Figure to new graphic inset
12972 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12974 * FontLoader.C (getFontinfo): Change the latex font names in order
12975 to match the names of type1inst.
12977 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12979 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12981 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12982 (extchanged): ditto
12984 (remove_files_with_extension): ditto
12985 (remove_file): ditto
12988 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12989 document is smaller than the work area height. Do not initialize
12990 static variables to 0.
12992 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12994 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12996 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12997 LFUN_LAYOUT_PARAGRAPHS.
12999 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13000 tabular. It is possible to provide a possible cell, which will
13001 typically be the actcell from the corresponding insettabular
13003 * lyxfunc.C (getStatus): small cleanup; disable
13004 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13007 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13009 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13011 * paragraph.C (startTeXParParams):
13012 (endTeXParParams): new methods. The LaTeX code to
13013 start/end paragraph formatting
13014 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13015 empty (fixes bug #200)
13017 * vspace.C (inPixels): adapt to the change below
13018 (inPixels): [later] more cleanups (remove unused variables)
13020 * lyxlength.C (inPixels): change to use a width and a height as
13023 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13025 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13026 Replaced with \paperwidth
13028 * DepTable.C (insert): add std:: qualifier
13030 2002-01-18 Allan Rae <rae@lyx.org>
13032 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13035 * text.C (drawInset): Turned out I didn't know enough about how
13036 rebreaking worked. This fixes most of the redraw problems. I see
13037 an occasional cursor trail when a line is broken now and the cursor
13038 placement can seem out by a few pixels also after a rebreak.
13040 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13042 * buffer.C (parseSingleLyXformat2Token): update because minipage
13043 width is now a LyXLength
13045 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13047 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13050 2002-01-17 Juergen Vigna <jug@sad.it>
13052 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13054 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13055 is set correctly and the inset is updated correctly.
13057 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13059 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13060 the beginning of the loop.
13062 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13064 * lyxrc.C: improve help for use_scalable_fonts
13066 2002-01-17 Allan Rae <rae@lyx.org>
13068 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13070 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13072 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13073 make sure to set their inset_owner to the right value (bug #171)
13075 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13078 * DepTable.C: Implement mtime checking to reduce time spent doing
13081 2002-01-16 Juergen Vigna <jug@sad.it>
13083 * tabular.C (GetAdditionalHeight): one of error fixed.
13085 * lyxrc.C (output): small fix in writing use_pspell.
13087 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13089 * sp_base.h: #include LString.h
13091 2002-01-16 Allan Rae <rae@lyx.org>
13093 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13094 Can someone check this please?
13096 * text.C (drawInset): It was possible that p.row would be removed by
13097 breakAgainOneRow upsetting a few other settings. There may be another
13098 small tweak possible by setting need_break_row = 0 when p.row has been
13099 removed but I don't know enough about the logic here.
13101 2002-01-15 Allan Rae <rae@lyx.org>
13103 * text.C (insertChar): removed conditional truism.
13105 * BufferView2.C (removeAutoInsets): More tweaks.
13106 cur_par_prev could be a stray pointer. Check for trailing empty line
13107 in case last line was cur_par and only had an error inset on it.
13109 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13111 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13114 * vc-backend.C (most methods):
13115 * exporter.C (Export):
13116 * converter.C (convert):
13118 * LyXSendto.C (SendtoApplyCB):
13119 * lyxfunc.C (dispatch):
13123 * lyx_cb.C (AutoSave):
13125 * BufferView_pimpl.C (MenuInsertLyXFile):
13126 * buffer.C (runChktex): use Buffer::filePath().
13128 * buffer.h: rename filename to filename_; rename filepath to
13129 filepath_ and make it private
13130 (filePath): new method
13132 * buffer.C (writeFile): use fileName()
13135 * lyx_main.C (init): fix starting of LyX when the binary is a
13136 link from so,ewhere else.
13138 * minibuffer.C: include <cctype> for isprint
13140 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13142 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13143 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13144 name clash with InsetCollapsable's width function.
13146 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * lastfiles.C: include <iterator>
13150 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13152 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13155 * buffer.C (makeLaTeXFile): ditto.
13156 Also make loop operation more transparent.
13158 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13160 * ToolbarDefaults.C: remove trailing comma closing namespace.
13162 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13164 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13167 * trans.C (Load): comment out unused variable, allowed.
13169 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13171 * minibuffer.[Ch] (append_char): new method to recieve input from the
13172 drop-down completion browser. If a key was pressed, then recieve this
13173 char and append it to the existing string.
13174 (peek_event): modify the positioning data passed to the completion
13175 browser so that it can be placed above the minibuffer rather than below.
13176 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13178 * LyXAction.C (init): alloe error-next for readonly documents.
13180 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13183 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13185 * bufferlist.C (readFile): create the buffer _after_ checking that
13188 * lyxfunc.C (verboseDispatch): fix handling of arguments
13190 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13192 * lyxrc.C: use string::erase() instead of initializing to "".
13195 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13197 * BufferView_pimpl.h:
13198 * BufferView_pimpl.C:
13201 * text2.C: tell X when we have made a selection for copying
13203 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13205 * BufferView_pimpl.C (MenuInsertLyXFile):
13206 * lyxfunc.C (menuNew):
13208 (doImport): add shortcuts to directory buttons
13210 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13213 * lyxfunc.C (setStatusMessage):
13214 (getStatusMessage): new methods
13215 (getStatus):use setStatusMessage instead of setErrorMessage
13216 (dispatch): when function is disabled, set error message here
13217 [instead of in getStatus previously]
13219 * BufferView_pimpl.C (workAreaButtonRelease): update
13220 toolbar/menubar here too.
13222 2002-01-13 Allan Rae <rae@lyx.org>
13224 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13225 Now seems indestructible. Remaining task is to audit all other
13226 code affected by deleteEmptyParagraphMechanism. One small quirk
13227 left is that an empty document with an error in the preamble can
13228 be made to report an error but no error box appears. I don't know
13230 (removeAutoInsets): Improved comments.
13232 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13235 * Thesaurus.C: update for Aiksaurus 0.14
13237 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13239 * text2.C (firstParagraph): removed member function, all uses
13240 replaces with ownerParagraph
13241 (redoParagraphs): here
13242 (updateInset): here
13243 (toggleAppendix): here
13244 * BufferView2.C (insertErrors): here
13245 (setCursorFromRow): here
13247 2002-01-13 Allan Rae <rae@lyx.org>
13249 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13250 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13251 There is still a way to segfault this although you may have to do this
13252 multiple times: Have an InsetERT with an unknown command in it.
13253 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13254 <down-arrow>, <Enter> again, View->DVI, BANG!
13256 * text2.C (setCursor):
13257 (deleteEmptyParagraphMechanism):
13258 * lyxtext.h (setCursor):
13259 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13260 Making use of the return value may help fix other bugs.
13262 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13264 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13266 * LyXView.C (updateMenubar): call MenuBar::update here
13267 (updateToolbar): but not here
13268 (showState): do not update toolbar/menubar
13270 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13271 should need to care about that.
13273 * lyxfunc.C (verboseDispatch): simplify a bit
13274 (getStatus): have a version which takes a pseudoaction, and
13275 another which requires a (kb_action,string).
13277 * LyXAction.C (retrieveActionArg): make it work also when action
13278 is not a pseudo-action.
13279 (getActionName): simplify a bit
13282 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13284 * lyxfunc.C (verboseDispatch): new families of methods with
13285 several ways to specify a command and a bool to indicate whether
13286 the command name and shortcut should be displayed in minibuffer
13287 (eventually, we could extend that to a finer bitmask like
13288 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13289 (dispatch): the pristine dispatch command which just, well,
13290 dispatchs! Note it still sets its result to minibuffer; I'm not
13293 * lyxfunc.h: remove setHintMessage
13295 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13297 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13299 * BufferView_pimpl.C (specialChar): delete new inset if we have
13300 not been able to insert it.
13302 * kbmap.C: revert to using int instead of kb_action, since all we
13303 are dealing with is pseudo-actions.
13305 * LyXAction.C (searchActionArg): change to return int instead of
13306 kb_action, since the result is a pseudoaction.
13308 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13310 * buffer.C (insertErtContents): Fix (partially) the font bug.
13312 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13314 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13315 as the other one is broken on my machine!
13317 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13320 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13322 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13324 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13325 reflect their actual use. Provide compatibility code for older lyxrc
13328 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13330 change names of popup font variables in line with the changes to lyxrc.C
13332 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13334 * buffer.C (asciiParagraph): avoid outputing a word twice after
13337 * lyxrc.C (getDescription): document that document_path and
13338 template_path can be empty.
13340 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13342 * LaTeXFeatures.C (getMacros):
13343 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13345 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13347 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13349 (getPackages): rename feature "floats" to "float". Use an array to
13350 iterate over 'simple' features (i.e. just a \usepackage). Add
13351 handling of "amsmath" (renamed from "amsstyle").
13353 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13355 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13358 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13360 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13361 FuncStaus::FuncStatus & FuncStaus::some_method().
13363 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13365 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13366 of the func_satus stuff. Edited and massaged in various ways by
13369 * lyxfunc.C (getStatus): use FuncStatus
13371 2002-01-08 Juergen Vigna <jug@sad.it>
13373 * text.C (nextBreakPoint): use function Inset::isChar().
13375 * paragraph.C (TeXOnePar): use function
13376 Inset::forceDefaultParagraphs.
13378 * buffer.C (latexParagraphs): use function
13379 Inset::forceDefaultParagraphs.
13381 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13383 * lyx_gui.C (init): set the style of the menu popups to
13384 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13386 2002-01-07 Juergen Vigna <jug@sad.it>
13388 * text.C (setHeightOfRow): small fix
13389 (prepareToPrint): don't look at alignment if we don't have the place
13392 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13394 * box.C: New file. Move the Box methods and functions out of box.h,
13395 following Lars' suggestion.
13397 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13399 * box.h: #include "support/LOstream.h", needed for inlined function.
13402 * lyxtextclasslist.C: added some using std declarations.
13404 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13406 * box.h: make signed dimensions to allow insets wider than
13407 the screen (bug #162)
13409 * BufferView_pimpl.C: add some insetHit debug
13411 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13413 * vc-backend.C: add FIXME
13415 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13417 * lyxfunc.C (getStatus): enable code for showing math font status
13420 2002-01-07 Juergen Vigna <jug@sad.it>
13422 * text.C (nextBreakPoint): removed debug output not needed anymore.
13424 2002-01-06 Juergen Vigna <jug@sad.it>
13426 * text.C (nextBreakPoint): fixed up this function we had this bug
13427 since ever but now hopefully we break row better.
13428 (insertChar): we have to check if an inset is the next char as it
13429 could now happen that a large inset is causing a break.
13431 2002-01-05 Juergen Vigna <jug@sad.it>
13433 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13434 if it doesn't like to be drawed.
13436 2002-01-04 Juergen Vigna <jug@sad.it>
13438 * BufferView2.C (lockInset): forgot to set a cursor.
13440 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13442 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13444 * FormMathsPanel.C:
13447 * form_maths_panel.C:
13448 * form_maths_panel.h:
13449 * form_maths_panel.fd: implemented sub- and super- buttons in math
13452 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13453 (or ^ space) to be used as in TeX (req'd by André).
13455 * lyxfunc.C: Allow ^ and _ again to be used both as
13456 super/subscript (mathed) and as themselves (in text).
13458 2002-01-03 Allan Rae <rae@lyx.org>
13460 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13461 "LyX" or the filename of the current buffer if it has one. This is a
13462 modified form of John Levon's patch.
13464 * XFormsView.C (setWindowTitle): also set icon title.
13466 * LyXView.h (setWindowTitle): signature changed.
13467 * XFormsView.h (setWindowTitle): ditto.
13469 2002-01-02 Juergen Vigna <jug@sad.it>
13471 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13473 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13475 * screen.C (topCursorVisible): introduce a temp var for
13476 text->cursor.row(), handle the case where this row is null. (kindo
13479 * text2.C (setCursor): add a couple of asserts.
13481 * paragraph.h (inset_iterator): add -> operator
13483 * paragraph.[Ch] (autoDeleteInsets): remove member function
13485 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13486 cursor pos correctly and handle inset deletion by itself.
13487 (insertErrors): move iterator declaration out of for expression
13489 * lyxtextclass.C: add <algorithm>
13491 * Makefile.am: added the new files to sources, removed layout.C
13493 * layout.C: removed file
13495 * layout.h: remove LYX_DUMMY_LAYOUT
13497 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13501 * lyxtextclass.[Ch]:
13502 * lyxtextclasslist.[Ch]: new files
13504 * include order changes to a lot of files, also changes because of
13507 2001-12-27 Juergen Vigna <jug@sad.it>
13509 * buffer.C (asciiParagraph): more fixes.
13511 * tabular.C (ascii): make ascii export support export of only the
13512 data separated by a column-delimiter.
13513 (ascii): better support for ascii export.
13515 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13517 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13519 * tabular_funcs.C: use a "using std::getline" instead of the
13520 previous fix from Angus (necessary for cxx + lyxstring)
13522 2001-12-24 Juergen Vigna <jug@sad.it>
13524 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13526 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13527 problems. First check a minipage also if we have some ert-contents
13528 (not only on par->size(), second set the right depth of the paragraph
13529 on the relink to the root-paragraph-list!
13531 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13532 which then did not anymore update the main paragraphs on undo/redo!
13534 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13536 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13537 code. Support all font-changing funcs (even those which are not in
13538 menu currently). Support for reporting font settings in
13539 mathed (disabled until Andre provides a function on mathed's side).
13541 * func_status.h (toggle): small helper function to set toggle
13544 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13546 * tabular_funcs.C: getline -> std::getline
13548 2001-12-21 Juergen Vigna <jug@sad.it>
13550 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13551 accessed and could be 0 (I couldn't generate this but it seems
13554 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13556 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13557 * tabular_funcs.h: here and include iosfwd
13559 2001-12-20 Juergen Vigna <jug@sad.it>
13561 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13562 inside inset but undo_par was.
13564 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13566 * Thesaurus.C: always include <config.h> in sources.
13570 * box.h: do not include <config.h> in header files
13572 * text.C (paintLastRow): remove unused variable
13574 * text.C (transformChar):
13576 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13578 * Painter.C (text):
13579 * font.C (width): rewrite to use uppercase() instead of
13582 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13584 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13586 * lyxfind.C: clean up of find failure position change
13588 2001-12-20 Juergen Vigna <jug@sad.it>
13590 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13592 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13593 (TeXRow): added to LaTeX a single tabular row.
13594 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13595 (Latex): simplified and finally good LT-h/f support.
13596 (various_functions): just small adaptions for LT-h/f support.
13598 * tabular_funcs.[hC]: added and moved here all not classfunctions
13601 2001-12-19 Juergen Vigna <jug@sad.it>
13603 * tabular.[Ch]: better support for longtabular options (not finished
13606 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13608 * text.C (paintLastRow): use the label font instead of the font of
13609 the last character to compute the size of *_BOX. This makes more
13610 sense and avoids a crash with empty paragraphs.
13611 Use Painter::rectangle to draw EMPTY_BOX.
13613 2001-12-19 Juergen Vigna <jug@sad.it>
13615 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13616 the paragraphs if the replaced paragraph is not the first one!
13617 Tried to delete not used paragraphs but does not work yet so for
13618 now it's inside #ifdef's and by default off!
13620 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13622 * MenuBackend.C: include "lyx_main.h" instead of declaring
13623 lastfiles (actually was declared as LastFiles* instead of a
13626 2001-12-17 Juergen Vigna <jug@sad.it>
13628 * tabular.C (AppendColumn): applied John's fix
13630 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13634 * BufferView_pimpl.h:
13635 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13638 * box.h: new start of class for above
13640 * lyxfunc.C: ignore space-only minibuffer dispatches.
13641 Show the command name when it doesn't exist
13643 * minibuffer.C: don't add empty lines to the history
13645 * minibuffer.C: add a space on dropdown completion
13647 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13649 * text.C: fix line above/below drawing in insets
13651 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13653 * lyxlength.C (LyXLength): Initialize private variables.
13655 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13658 when inserting error insets.
13660 2001-12-13 Juergen Vigna <jug@sad.it>
13662 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13663 actually sometimes the before-paragraph.
13664 (setUndo): don't clear the redostack if we're not actually undoing!
13666 2001-12-06 Juergen Vigna <jug@sad.it>
13668 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13669 and fixed redoing of main paragraph, so we can use it now ;)
13671 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13673 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13675 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13678 2001-12-13 André Pönitz <poenitz@gmx.net>
13681 * undo_func.C: minor cleanup
13683 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13685 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13686 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13687 font in urw-fonts package which is marked as -urw-fontspecific and
13688 does not work (incidentally, changing the encoding in the
13689 fonts.dir of this package to -adobe-fontspecific fixes the
13692 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13693 is a crash when undoing first paragraph (Juergen, please take a
13694 look). THis does not mean the undo fix is wrong, just that it
13697 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13698 the (Paragraph*) version when needed instead of duplicating the
13701 * text.C (workWidth): use Inset::parOwner to find out where the
13702 inset has been inserted. This is a huge performance gain for large
13703 documents with lots of insets. If Inset::parOwner is not set, fall
13704 back on the brute force method
13706 * paragraph_pimpl.C (insertInset):
13707 * paragraph.C (Paragraph):
13708 (cutIntoMinibuffer): set parOwner of insets when
13709 inserting/removing them
13711 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13713 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13719 * mathed/formulabase.C:
13720 * mathed/math_cursor.[Ch]:
13721 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13724 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * lyxlength.[Ch] (operator!=): new function
13728 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13730 * text.C (workWidth): use Inset::parOwner to find out where the
13731 inset has been inserted. This is a huge performance gain for large
13732 documents with lots of insets. If Inset::parOwner is not set, fall
13733 back on the brute force method
13735 * paragraph_pimpl.C (insertInset):
13736 * paragraph.C (Paragraph):
13737 (cutIntoMinibuffer): set parOwner of insets when
13738 inserting/removing them
13740 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13742 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13744 * tabular-old.C (getTokenValue):
13745 * tabular.C (getTokenValue):
13746 (write_attribute): new versions for LyXLength
13747 (everywhere): adjust the use of widths
13749 * tabular.h: change the type of widths from string to LyXLength
13751 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13753 * paragraph.C: fixed missing line number count when exporting
13754 Environments to LaTeX file
13756 * buffer.C: added informational message for checking line numbers.
13758 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13760 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13761 paragraph, do the 'double space' part, but not the 'empty
13764 * text.C (workWidth): small optimization
13765 (getLengthMarkerHeight): use minimal size for negative lengths.
13767 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13769 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13771 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13773 2001-12-11 André Pönitz <poenitz@gmx.net>
13776 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13778 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13780 * text2.C: keep selection on a setFont()
13782 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13784 * lyx_cb.C: another bv->text misuse, from insert label
13786 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13789 * kbsequence.C: re-instate nmodifier mask
13791 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13793 * lyx_main.h: make lyxGUI private.
13795 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13797 * lyxfind.C: place the cursor correctly on failed search
13799 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13801 * text.C (getLengthMarkerHeight): for small heights, the arrows
13802 are not always on top/bottom of the text
13803 (drawLengthMarker): smaller arrows; take the left margin in
13804 account; draw also vfills.
13806 (paintLastRow): remove special code for vfill and standard spaces,
13807 since everything is handled in drawLengthMarker now.
13809 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13811 * buffer.C (insertErtContents): try to handle font and language
13812 interaction a bit better.g
13814 * ColorHandler.C (updateColor): change the hash to cover the whole
13815 LColor enum, ws cleanup
13816 (getGCLinepars): ditto
13817 (getGCLinepars): only lookup in the linecache once.
13819 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13821 * iterators.C (operator++): Make the iterator more robust
13823 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13827 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13830 * text.C: better added space drawing
13832 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13835 * BufferView2.C: fix layout combo update on inset unlock
13837 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13839 * Makefile.am: don't compile unused files
13841 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13845 * LyXAction.C: remove old LFUN_LAYOUTNO
13847 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13849 * paragraph_pimpl.h:
13850 * paragraph_pimpl.C: isTextAt() doesn't need font param
13852 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13855 * lyxlex.C: little cleanup
13857 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13859 * BufferView_pimpl.C: fix insertAscii for insets
13861 2001-12-05 Juergen Vigna <jug@sad.it>
13863 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13864 set the right font on the "multi" paragraph paste!
13866 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13872 * lyxlength.C: remove out-commented code.
13874 * BufferView_pimpl:
13888 * vc-backend.C: change "while(" to "while ("
13890 * lyxlength.[Ch]: add zero function to check if length is zero or
13892 * lyxgluelength.C: use it
13894 2001-12-05 Allan Rae <rae@lyx.org>
13896 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13897 Works for 2.95.3, from what I understand of Garst's reports this should
13898 work for other g++ versions. We're screwed if the abs(int) definition
13899 changed between bugfix releases of gcc.
13901 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13903 * text.C: fix chapter label offset !
13905 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13908 * text.C: fix hfill at end of line, clean up
13910 2001-12-04 Juergen Vigna <jug@sad.it>
13912 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13913 that we force an update of the inset and it's owners if neccessary.
13915 2001-12-03 Juergen Vigna <jug@sad.it>
13917 * text.C (rowLast): simplified code
13919 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13921 * lyxfunc.C: fix show options on timeout
13923 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13925 * screen.C (topCursorVisible): scroll half a page when the cursor
13926 reached top of bottom of screen
13928 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13930 * minibuffer.C: deactivate on loss of focus
13932 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13934 * vspace.[Ch] (operator!=): add operator.
13936 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13938 * BufferView_pimpl.C: refuse to open an inset when
13939 there's a selection.
13941 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13943 * BufferView_pimpl.C: allow to click on RHS of full row insets
13945 2001-11-30 Juergen Vigna <jug@sad.it>
13947 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13948 insets for undo reasons.
13950 2001-11-28 André Pönitz <poenitz@gmx.net>
13952 * vspace.[Ch]: cosmetical changes
13954 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13964 * kbsequence.C: part re-write of old kb code
13967 * WorkArea.C: remove Lgb_bug_find_hack
13969 2001-11-30 José Matos <jamatos@fep.up.pt>
13971 * buffer.C (makeDocBookFile): add a comment to point a hack.
13972 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13973 Fixed a double write of labels.
13975 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13978 * LaTeX.h Fixed bug in LaTeX class where it would not
13979 re-run latex if no depfiles were changed, but the .dvi was removed.
13981 2001-11-28 André Pönitz <poenitz@gmx.net>
13983 * all the files from the change on 2001/11/26:
13984 use lyx::layout_type instead of LyXTextClass::size_type
13985 use lyx::textclass_type instead of LyXTextClassList::size_type
13987 2001-11-29 Juergen Vigna <jug@sad.it>
13989 * text.C: added support for paragraph::isFreeSpacing()
13991 * buffer.C: same as above
13993 * paragraph.h: inserted isFreeSpacing() function to enable
13994 FreeSpacing inside InsetERT.
13996 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13997 of the paragraph's in the cut/copy buffer to 0!
13999 * text2.C (removeRow): remove the assert as it can!
14001 * lyxtext.h: added helper function firstRow returning firstrow and
14002 made firstrow private again.
14004 * BufferView2.C (lockInset): don't relock if we're already locked!
14006 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14007 the only paragraph.
14008 (removeRow): added Assert::(firstrow)
14010 * debug.C: forgot to add INSETTEXT here.
14012 2001-11-28 Juergen Vigna <jug@sad.it>
14014 * sp_spell.C (initialize): changed error text to more general
14015 spellchecker command use (not only ispell!)
14017 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14019 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14021 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14023 * vspace.C: initialise lyxgluelength on failure
14025 2001-11-28 Allan Rae <rae@lyx.org>
14027 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14028 declaration & definition that looks like a function declaration.
14030 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14032 * BufferView2.C (copy):
14033 (copyEnvironment): do not clear the selection when doing a copy.
14035 * text.C (paintFirstRow): compilation fix
14037 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14039 * tabular.C (Latex): correct line count when writing latex.
14041 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14043 * paragraph_pimpl.h:
14044 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14047 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14051 * LColor.C: change vfillline->added_space
14053 * text.C: add markers and text for added space
14055 * vspace.C: fix comment
14057 2001-11-28 André Pönitz <poenitz@gmx.net>
14059 * paragraph.C: whitespace changes
14060 * all the other files from the change on 2001/11/26:
14061 change *::pos_type into lyx::pos_type
14063 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14065 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14066 language of the document when inserting error insets.
14068 2001-11-26 André Pönitz <poenitz@gmx.net>
14070 * BufferView_pimpl.[Ch]:
14078 * paragraph_pimpl.[Ch]:
14081 * text2.C: reduce header dependencies, introduce type for positions
14083 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14085 * <various>: change to use Alert.h
14087 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14089 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14090 when encountering an unknown token.
14091 (readLyXformat2): Show an error message if there were unknown tokens.
14093 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14096 * BufferView_pimpl.C:
14100 * text2.C: use par->isInset()
14102 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14104 * paragraph_pimpl.h:
14105 * paragraph_pimpl.C: cleanup
14107 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14109 * text2.C (removeRow):
14110 * text.C (setHeightOfRow): remove useless (and costly) call to
14113 2001-11-20 Allan Rae <rae@lyx.org>
14115 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14116 Now need Inset*::checkInsertChar() to return true for appropriate
14117 cases so that the characters in the minibuffer will actually be
14120 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14122 * text.C: change the order of the includes.
14123 (workWidth): initialize it at once.
14124 (workWidth): make maxw unsigned
14125 (setHeightOfRow): remove unused variable (inset)
14126 (selectSelectedWord): remove unused variable (inset)
14127 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14129 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14131 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14132 server is not running.
14134 (closeConnection): add debug info when server is disabled.
14136 * ColorHandler.C (getGCForeground): send debug message to GUI
14139 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14141 * kbmap.C (bind): modify because return conventions of
14142 kb_sequence::parse have changed.
14144 * kbsequence.C (parse): only ignore spaces and not any stupid
14145 control character. This avoids tests like s[i] <= ' ', which are
14146 guaranteed to fail with 8bit characters and signed chars.
14147 Change return code to string::npos when there have been no error
14148 (0 was a bad idea when error is at first character)
14150 2001-11-14 José Matos <jamatos@fep.up.pt>
14153 * buffer.C (simpleDocBookOnePar): removed unused argument.
14155 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14157 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14158 insets which are part of a word. Paragraph::isLetter takes care of
14159 that now. Use Paragraph::isInset to identify insets.
14160 (selectSelectedWord): do not test for hyphenation break.
14162 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14163 that protected spaces are considered as spaces.
14165 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14168 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14171 * lyxserver.C: fix it. and small cleanup.
14173 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14175 * BufferView_pimpl.C: use inline helpers
14178 * LaTeXFeatures.C: fix typos
14181 * Spacing.C: move spacing_string into class
14183 * ToolbarDefaults.C: move stuff into namespace anon
14185 * layout.h: update enum
14187 * lyxfunc.C: use better debug
14189 * minibuffer.h: fix typo
14193 * WorkArea.C: add and use Debug::WORKAREA
14197 * text2.C: code re-organisation, inline helpers
14199 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14201 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14202 std::vector.empty().
14204 2001-11-09 Allan Rae <rae@lyx.org>
14206 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14207 '\n's after tables. Tabular and ERT inset work now makes this no
14210 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14213 * minibuffer.C: fix crash, improve drop-down completion
14215 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14218 * lyxserver.C: invalidate fd's when doing endPipe()
14220 2001-11-08 José Matos <jamatos@fep.up.pt>
14222 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14223 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14226 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14228 2001-11-07 José Matos <jamatos@fep.up.pt>
14231 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14234 * buffer.C (sgmlOpenTag):
14235 * buffer.C (sgmlCloseTag): removed debug info.
14237 * buffer.h (sgmlOpenTag):
14238 * buffer.h (sgmlCloseTag): made public.
14240 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14242 * buffer.C (saveParamsAsDefaults):
14243 * lyx_cb.C (MenuLayoutSave): remove
14245 * LyXAction.C (init):
14247 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14249 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14251 * buffer.C (setPaperStuff): removed from here...
14253 * bufferparams.C (setPaperStuff): ... and moved there.
14255 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14259 * XFormsView.C: add support for drop-down completion
14261 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14263 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14266 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14268 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14271 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14273 * lyx_main.C: change ref to known bugs
14275 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14277 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14278 to work around older babel problems.
14280 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14282 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14284 2001-10-24 Juergen Vigna <jug@sad.it>
14286 * tabular-old.C (ReadOld): below variable changes reflected.
14288 * tabular.[Ch]: added ltType struct for longtable header/footer
14289 defines and changed all instances where they are used. Added
14290 future support for double top/bottom rows.
14292 2001-10-24 José Matos <jamatos@fep.up.pt>
14294 * buffer.h (docbookHandleCaption):
14295 * buffer.C (docbookHandleCaption): removed unused function.
14296 (makeDocBookFile): moved docbook supported version to v4.1.
14298 2001-10-24 José Matos <jamatos@fep.up.pt>
14301 * tabular.C (docbookRow): new function to export docbook code of a row.
14302 (DocBook): now honors the longtable flags.
14304 2001-10-23 José Matos <jamatos@fep.up.pt>
14307 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14308 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14310 * buffer.C (makeLinuxDocFile):
14311 (makeDocBookFile): reworked the preamble, more clean, and with
14312 support for lyx defined entities. Changed the document declaration
14313 to be more XML friendly.
14315 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14316 if we need to output XML that should be done with a filter.
14318 2001-10-22 Juergen Vigna <jug@sad.it>
14320 * sp_pspell.h (class PSpell): add alive function needed in the
14321 controller to see if the spellchecker could be started.
14323 2001-10-22 Juergen Vigna <jug@sad.it>
14325 * buffer.C (insertStringAsLines): modify the font for inserting
14326 chars in certain conditions by calling checkInsertChar(font).
14328 2001-10-19 Juergen Vigna <jug@sad.it>
14330 * text.C (workWidth): use getRow instead of wrong algorithm.
14331 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14333 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14338 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14340 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14342 * text.C (workWidth): do not search for the exact row when
14343 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14344 optimization for big documents.
14346 2001-10-18 Juergen Vigna <jug@sad.it>
14348 * text.C (workWidth): new function with added Inset * parameter.
14350 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14352 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14354 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14355 change return type of getColumnNearX.
14358 * text.C (changeRegionCase): use uppercase/lowercase instead of
14361 (rightMargin): simplify code by factoring out the uses of
14366 (appendParagraph): use Paragraph::size_type
14368 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14370 * vspace.C (asLatexString): add a missing break
14372 2001-10-15 Herbert Voss <voss@perce.de>
14374 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14376 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14378 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14381 2001-10-10 André Pönitz <poenitz@gmx.net>
14383 * lyxfunc.C: removed greek_kb_flag.
14385 2001-10-10 Herbert Voss <voss@perce.de>
14387 * lyx_main.C: delete global string help_lyxdir.
14389 2001-10-09 Herbert Voss <voss@perce.de>
14391 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14393 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14395 * lyx_main.C: added global string help_lyxdir.
14397 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14399 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14401 * lyxrc.C (set_font_norm_type): support iso8859-4
14403 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14405 * LaTeX.C (deplog): add another regex for MikTeX
14407 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14409 * lyxrc.C (set_font_norm_type): support iso8859-3
14411 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14413 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14415 * LaTeXFeatures.C: remove special case of french and index
14417 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14418 before \begin{document}). This solves several incompatibilities.
14420 2001-10-03 Garst Reese <reese@isn.net>
14422 * lyx_cb.C: change CheckTex error msg.
14424 2001-10-03 José Matos <jamatos@fep.up.pt>
14426 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14428 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14430 * .cvsignore: update
14432 * lyx_main.C (commandLineVersionInfo): use new style version info.
14434 * buffer.C (writeFile):
14436 (makeLinuxDocFile):
14437 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14439 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14441 * version.h: update to use stuff in version.C
14443 * version.C.in: new file. Contains version information determined
14444 at compile time. This is a merging of version.h and
14447 2001-10-03 Juergen Vigna <jug@sad.it>
14449 * BufferView_pimpl.C (update): don't change "dirty" status in
14452 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14454 * WorkArea.C (c-tor): re-position version string slightly.
14456 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14458 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14459 revert to previous code.
14461 WorkArea.[Ch]: (show, destroySplash): methods removed.
14463 WorkArea.C: rework code so that it's an amalgam of the codes before and
14464 after the splash screen was moved to WorkArea.
14466 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14469 * vspace.C (inPixels):
14472 * buffer.C (insertStringAsLines):
14473 (asciiParagraph): fix types to be large enough
14475 * lyxlex_pimpl.h: change member status from short to int
14477 * layout.h: fix type of endlabeltype
14480 * kbsequence.C (parse): change return type to string::size_type
14482 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14485 * Bullet.C (bulletSize):
14486 (bulletEntry): do not use short ints as parameters
14488 * BufferView2.C (insertLyXFile): change a char to an int.
14490 * WorkArea.C (WorkArea): remove unneeded floats in computation
14492 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14494 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14496 * paragraph.C (asString): Do not ignore newline/hfill chars when
14497 copying to the clipboard.
14499 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14501 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14502 after a multi-line inset.
14504 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14506 * paragraph.C (validate): Set NeedLyXFootnoteCode
14508 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14510 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14511 and decrease-error to decrease.
14513 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14515 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14516 it more readable (should be equivalent)
14518 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14520 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14522 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14524 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14525 of a cursor (row, etc.) after a character has been deleted
14526 (deleteEmptyParagraphMechanism): call the method above on _all_
14527 cursors held by the LyXText when a double space has been
14530 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14532 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14534 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14536 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14537 background. Use greyOut() and the new show() methods to toggle between
14538 the foreground and background. Add code to remove the splash after
14539 its initial showing.
14541 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14542 (create_forms): no longer call Dialogs::showSplash.
14544 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14546 * .cvsignore: add version_info.h
14548 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14550 * version_info.h.in: new file
14552 * Makefile.am: add version_info.h.in
14554 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14555 version_info.h instead of VERSION_INFO
14557 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14559 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14560 The ERT inset now returns string().
14562 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14564 * lyxtext.h, text.C (selectNextWord): renamed as
14565 selectNextWordToSpellcheck.
14567 * text.C (selectNextWordToSpellcheck): Modified to not select
14568 words inside an ERT inset.
14570 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14572 * lyx_cb.C (MenuLayoutSave): change a bit the question
14574 * sp_base.h: include <sys/types.h>
14576 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14578 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14580 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14582 * several files: fix typos in user-visible strings
14584 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14586 * text2.C (pasteSelection): do not set the selection, since it
14587 will be cleared later. Actually, the intent was to fix the way the
14588 selection was set, but I figured rmoving the code was just as good.
14590 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14592 * FontLoader.C (available): Check if font is available without
14595 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14597 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14599 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14601 * lyxrc.[Ch]: added display_graphics variable and associated code.
14603 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14605 * bufferparams.C (hasClassDefaults): new method. Returns true if
14606 the buffer parameters correspond to known class defaults
14608 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14610 * XFormsView.C (show): set minimum size to the main window.
14612 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14614 * text2.C (copySelection):
14616 * lyxfind.C (LyXReplace):
14617 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14618 LyXText::selectionAsString.
14620 * paragraph.C (asString): add "label" argument to the second form
14622 * text2.C (selectionAsString): add "label" argument and pass it to
14623 Paragraph::asString.
14625 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14627 * lyx_main.C (commandLineHelp): remove version information
14629 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14631 * lyx_main.C: add -version commandline option
14633 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14635 * paragraph.h: make the optional constructor arg required instead.
14636 some modifications to other files because of this.
14638 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14640 * lyxserver.C (C_LyXComm_callback): make it static
14642 * lyx_main.C (error_handler): make it static
14644 * lyx_gui.C (LyX_XErrHandler): make it static
14646 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14648 * WorkArea.C: make the extern "C" methods static.
14650 * Makefile.am (lyx_LDADD): simplify
14652 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14654 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14655 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14657 * LyXAction.C (init):
14658 * lyxfunc.C (dispatch): associated code removal.
14660 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14662 * lyxfont.h (isSymbolFont): shut off warning
14664 * text.C (setHeightOfRow):
14665 (getVisibleRow): fix crash with empty paragraphs which have a
14668 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14670 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14673 2001-09-04 José Matos <jamatos@fep.up.pt>
14676 * tabular.C (docbook): rename docBook method to docbook.
14678 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14680 * Makefile.am: add dependencies to main.o.
14682 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14684 * FontLoader.C (available): Return false if !lyxrc.use_gui
14686 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14688 * FontInfo.C (query):
14689 * converter.C (view):
14690 * importer.C (Import):
14691 * exporter.C (Export): Can not -> cannot.
14693 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14695 * BufferView_pimpl.C: allow to create index inset even if
14698 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14700 * buffer.C (getLists): replace boost::tie code with an explicit pair
14701 as boost::tie can break some compilers.
14703 * iterators.h: Added a std:: declaration to the return type of
14706 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14708 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14711 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14713 * iterators.[Ch]: New files. Provide paragraph iterators.
14715 * buffer.C (changeLanguage): Use paragraph iterators.
14716 (isMultiLingual): ditto
14718 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14720 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14722 * FontLoader.C: Support for cmr font.
14724 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14726 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14727 (available): New method.
14729 * FontInfo.C (getFontname): Use scalable fonts even when
14730 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14733 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14735 * converter.C (Formats::view): reverted! Incorrect fix.
14737 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14739 * converter.C (Formats::view): only output the -paper option
14740 if the dvi viewer is xdvi, thereby fixing bug #233429.
14742 2001-08-23 Herbert Voss <voss@perce>
14744 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14746 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14748 * Spacing.h (Spacing): Set space to Default on in the default
14751 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14753 * vc-backend.h (RCS::versionString): add RCS to version
14754 (CVS::versionString): add CVS to version
14756 * vc-backend.C (scanMaster): do not add CVS to version.
14757 (scanMaster): do not add RCS to version
14759 * lyxvc.C (versionString): new method
14761 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14763 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14765 * Spacing.C (set): initialize fval
14767 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14769 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14772 2001-08-16 Juergen Vigna <jug@sad.it>
14774 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14776 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14778 * BufferView_pimpl.C:
14781 * text2.C: setParagraph takes linespacing now
14783 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14785 * LyxAction.C: add internal LFUN_CITATION_INSERT
14787 * LyXView.C: actually apply fix
14789 * bufferlist.C: fix open non-existent file
14791 * lyxfind.C: fix indentation
14793 * lyxfunc.C: remove unneeded assert, fix typo
14795 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14797 * MenuBackend.C: use "Floatname List"
14799 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14801 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14802 when converting LaTeX layout to insetERT.
14803 Generate a non-collapsed float when reading old float
14805 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14807 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14810 2001-08-13 Juergen Vigna <jug@sad.it>
14812 * text.C (fill): return 0 instead of 20 as this seems to be the more
14815 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14817 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14820 2001-08-13 Juergen Vigna <jug@sad.it>
14822 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14824 (SearchBackward): comment out the unlocking of the inset_owner this
14825 should not be needed!
14827 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14829 * Many files: Remove inherit_language, and add latex_language
14831 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14832 collapsible insets.
14834 2001-08-10 Juergen Vigna <jug@sad.it>
14836 * text.C (prepareToPrint): fixed hfill-width in draw!
14838 * BufferView2.C (selectLastWord): save the selection cursor as this
14839 now is cleared in the function LyXText::clearSelection!
14841 2001-08-08 Juergen Vigna <jug@sad.it>
14843 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14844 BACKSPACE type functions.
14846 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14847 is only cutted from the document but not put in the cut-buffer, where
14848 still the old stuff should be.
14850 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14852 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14854 * tabular.C (SetWidthOfCell): fixed special case where the width
14856 (LeftLine): handle '|' in align_special.
14858 (LeftAlreadyDrawed): ditto
14859 (SetWidthOfCell): ditto
14861 2001-08-07 Juergen Vigna <jug@sad.it>
14863 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14865 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14867 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14868 * lyxlex.[hC]: ditto
14870 2001-08-06 Juergen Vigna <jug@sad.it>
14872 * text.C (getVisibleRow): fix up row clearing a bit.
14874 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14876 * minibuffer.C: make sure the X server sees the changes in the input.
14878 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14880 * paragraph.C (getFont): split into...
14881 (getLabelFont): this
14882 (getLayoutFont): and this
14883 * paragraph_pimpl.C (realizeFont): calling this
14885 * text2.C (getFont): split into...
14886 (getLayoutFont): this
14887 (getLabelFont): and this
14888 (realizeFont): all three calling this
14890 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14893 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14895 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14897 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14899 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14900 layouts from the Quote inset insertion.
14902 2001-08-03 Juergen Vigna <jug@sad.it>
14904 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14906 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14907 only if status not is already CHANGED_IN_DRAW (second level).
14909 * text.C (draw): don't set the need_break_row when inside an
14912 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14914 * buffer.C (parseSingleLyXformat2Token): handle more latex
14917 * bufferview_funcs.[hC]: change function names to
14918 begin with small char, adjust other files.
14920 2001-08-02 André Pönitz <poenitz@gmx.net>
14923 BufferView_pimpl.C: remove broken special code for math-greek
14925 2001-08-02 Juergen Vigna <jug@sad.it>
14927 * BufferView_pimpl.C (update): redone this function so that we
14928 update the text again if there was a CHANGE_IN_DRAW.
14930 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14931 (drawFromTo): added a new internal bool which is used by draw() and
14933 (general): some cursor drawing problems fixed.
14935 2001-08-01 Juergen Vigna <jug@sad.it>
14937 * lyxfind.C (LyXFind): fixed
14938 (SearchForward): ditto
14939 (SearchBackward): ditto
14941 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14942 spurius drawing of the cursor in the main area.
14944 * text2.C (status): small fix which could lead to a segfault!
14945 (clearSelection): remove unneeded BufferView param.
14947 2001-08-01 André Pönitz <poenitz@gmx.net>
14949 * lyxfunc.C: small change due to changed mathed interface
14951 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14953 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14955 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14957 * lyxfunc.c: fail gracefully if file doesn't exist
14962 * BufferView_pimpl.C: IsDirWriteable() proto changed
14964 * LyXView.C: fix updateWindowTitle() to store the last title
14966 2001-07-31 Juergen Vigna <jug@sad.it>
14968 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14969 the font (wrong since using of Paragraph::highestFontInRange).
14971 * paragraph.C (highestFontInRange): added a default_size parameter.
14973 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14974 (setHeightOfRow): reformat
14976 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14978 * converter.[hC] + affected files: move to (inital-char)lowercase
14981 * ParagraphParameters.C (ParagraphParameters): remove commented code
14983 * PainterBase.[Ch]: remove commented code
14985 * LaTeXFeatures.h: add "bool floats" for float.sty
14987 * LaTeXFeatures.C (LaTeXFeatures): init floats
14988 (require): handle float
14989 (getPackages): do it with floats
14991 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14993 * BufferView_pimpl.C (Dispatch): improve handling of
14994 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14996 * commandtags.h: #include lyxfont.h here temporarily to avoid
14999 * bufferlist.h: include LString.h here.
15001 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15003 * text2.C (getStringToIndex): new method.
15005 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15007 * *: Reduced header file dependencies all over.
15009 2001-07-30 Baruch Even <baruch@lyx.org>
15011 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15013 2001-07-29 Baruch Even <baruch@lyx.org>
15015 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15017 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15019 * ParameterStruct.h (endif): add a default constructor to make
15020 sure that all variables is initialized.
15022 * ParagraphParameters.C (ParagraphParameters): adjust
15024 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15026 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15027 index; also, check that there is something to index, and that it
15028 does not span over several paragraphs.
15029 (doubleClick): use WHOLE_WORD_STRICT for double click.
15031 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15033 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15036 2001-07-26 Baruch Even <baruch@lyx.org>
15038 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15039 an InsetFig figure, backwards compatible reading of old figure code.
15041 2001-07-27 Juergen Vigna <jug@sad.it>
15043 * text2.C: font.realize function adaption.
15045 * text.C (draw): add a warnings lyxerr text if needed.
15047 * layout.C: font.realize function adaption.
15049 * language.C: add inherit_language and implement it's handlings
15051 * bufferview_funcs.C (StyleReset): remove language parameter from
15052 font creation (should be language_inherit now).
15054 * bufferparams.C (writeFile): handle ignore_language.
15056 * paragraph.C (getFontSettings): the language has to be resolved
15057 otherwise we have problems in LyXFont!
15059 * lyxfont.C (lyxWriteChanges): added document_language parameter
15060 (update): removed unneeded language parameter
15062 * paragraph.C (validate): fixed wrong output of color-package when
15063 using interface colors for certain fonts in certain environments,
15064 which should not seen as that on the final output.
15066 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15068 * BufferView_pimpl.C:
15073 * LyXAction.C: add thesaurus support
15076 * lyxfind.C: add "once" parameter, for thesaurus, to not
15077 move to the next match
15079 2001-07-26 Juergen Vigna <jug@sad.it>
15081 * lyxfont.C (realize): honor ignore_language too!
15084 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15086 * text.C (draw): one place more for ignore_language to not draw
15089 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15091 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15093 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15095 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15096 the minipage conversion problem.
15098 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15100 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15103 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15105 * BufferView.h: don't forward declare WorkArea
15107 * BufferView.C: don't include WorkArea.h
15109 2001-07-25 André Pönitz <poenitz@gmx.net>
15113 * lyxfunc.C: new LFUN 'math-space'
15115 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15117 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15119 * text2.C (toggleInset): call open/close
15121 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15123 * lyxfunc.C (dispatch): add debug for the disabled case
15125 * font.C (buttonText): make similar to rectText
15127 * buffer.C (readInset): comment out parsing of insetlist and
15130 * PainterBase.C (rectText): small correction
15132 * BufferView_pimpl.C: comment out insettheorem and insetlist
15133 * LyXAction.C: ditto
15134 * commandtags.h: ditto
15136 2001-07-24 Juergen Vigna <jug@sad.it>
15138 * text.C (draw): honor the ignore_language.
15140 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15142 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15144 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15147 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15149 * lyxtext.h: remove unused (and unimplemented) methods
15151 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15153 * text.C (getVisibleRow): honor background color
15156 * Painter.h: remove default color argument for fillRectangle
15158 * text.C (backgroundColor): new method
15160 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15162 * text.C (getVisibleRow): adjust
15164 * font.[Ch] (rectText): new method, metrics
15165 (buttonText): new method, metrics
15167 * PainterBase.[hC]: make rectText and buttonText always draw and take
15170 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15172 * ToolbarDefaults.C (read):
15173 * MenuBackend.C (read): allow escaping in all strings
15175 * BufferView_pimpl.C (insertAndEditInset): new method.
15176 (Dispatch): use insertAndEditInset whenever appropriate.
15178 * BufferView_pimpl.C (insertNote): removed
15180 * BufferView_pimpl.C (smartQuote): new method, moved from
15181 BufferView; if an insetquote cannot be inserted, insert a '"'
15184 * BufferView2.C: remove insertCorrectQuote();
15186 * lyxfunc.C (getStatus): Add support for all remaingin
15187 inset-insert lfuns.
15189 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15191 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15192 command (necessary to pass " as parameter of self-insert.
15194 * text.C (selectWordWhenUnderCursor):
15195 (selectWord): add word_location parameter
15196 (selectWordWhenUnderCursor): same + remove special code for word
15198 (selectNextWord): use kind() to guess type of insetspecialchar,
15201 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15202 (insertErtContents): create ert insets as collapsed.
15203 (readInset): better compatibility code for Info inset.
15205 2001-07-20 Juergen Vigna <jug@sad.it>
15207 * lyxfunc.C (dispatch): use always LyXFind now!
15209 * text2.C (init): add a reinit flag so that the LyXText can be
15210 reinited instead of deleted and reallocated (used in InsetText).
15212 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15218 2001-07-18 Juergen Vigna <jug@sad.it>
15220 * text.C (selectNextWord): handle insets inside inset by calling
15221 always the bv->text functions so that we can go up the_locking_inset!
15223 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15224 in strange locations when inside an inset!
15226 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15227 handling to include insets.
15229 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15231 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15233 * LyXAction.C (init):
15235 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15236 LIGATURE_BREAK, since the name is so stupid.
15238 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15240 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15243 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15245 * sp_form.[Ch]: remove.
15247 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15249 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15252 * src/buffer.C (readInset): ditto.
15254 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15256 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15257 menuSeparator(), endOfSentenceDot(), ldots() and
15258 hyphenationPoint(), which are therefore removed.
15259 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15261 * LyXAction.C (init):
15262 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15264 * paragraph.C (getWord): removed.
15266 * BufferView_pimpl.C (Dispatch): use last word or selection for
15267 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15269 * lyx_main.C (queryUserLyXDir): do not ask before creating
15270 user_dir, except if it has been named explicitely.
15272 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15274 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15275 a document of zero size.
15277 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15279 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15280 approriately in the c-tor and in require().
15281 (getPackages): output the appropriate LaTeX for natbib support.
15283 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15284 variables "use_natbib" and "use_numerical_citations" when reading the
15286 (readInset): read the various natbib cite commands.
15287 (validate): white-space change.
15289 * bufferparams.[Ch]: new variables "bool use_natbib" and
15290 "bool use_numerical_citations".
15291 (writeFile): output them in the LyX file.
15293 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15295 * lyxfunc.C (getStatus): add support for all the inset insertion
15298 * text2.C (insertInset):
15299 * paragraph.C (insetAllowed):
15300 * BufferView_pimpl.C (insertInset): update to take in account the
15301 renaming of insertInsetAllowed
15303 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15305 * text2.C (getInset): new method. returns inset at cursor position.
15307 * BufferView_pimpl.C (Dispatch): changes because of this.
15309 * LyXAction.C (init): rename open-stuff to inset-toggle.
15311 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15313 * text2.C (toggleInset): renamed from openStuff; use
15316 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15318 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15320 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15322 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15324 * buffer.C (readLyXformat2): Add filename to the error dialog
15326 2001-07-18 Juergen Vigna <jug@sad.it>
15328 * tabular.C (GetCellNumber): put an assert here instead of the check!
15330 2001-07-17 Juergen Vigna <jug@sad.it>
15332 * BufferView_pimpl.C (toggleSelection): adapted too.
15334 * text.C (selectNextWord): adapted for use with insets.
15335 (selectSelectedWord): ditto
15337 2001-07-17 Juergen Vigna <jug@sad.it>
15339 * sp_spell.C (PSpell): fix initialitation order.
15341 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15343 * paragraph.C: spacing
15345 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15347 * sp_spell.C: repair language selection for pspell
15349 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15351 * lyxfunc.h: change more methods to begin with lower char.
15353 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15355 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15356 for unknown layouts.
15358 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15360 * buffer.C (readLyXformat2): Generate an error dialog if there are
15363 2001-07-16 Juergen Vigna <jug@sad.it>
15365 * sp_spell.C: always compile ISpell part.
15367 * lyxrc.C: added use_pspell entry and it's handling.
15369 2001-07-13 Juergen Vigna <jug@sad.it>
15371 * sp_spell.C: removed double includes.
15373 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15375 Consistent use of Lsstream.h:
15376 * Lsstream.h: added using std::stringstream for consistencies sake.
15378 * buffer.C: removed using std::stringstream
15380 * lyxfont.C (stateText):
15381 * paragraph.C (asString):
15382 * text.C (selectNextWord, selectSelectedWord):
15383 * text2.C (setCounter):
15384 * vspace.C (asString, asLatexString):
15385 std::ostringstream -> ostringstream.
15387 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15389 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15390 * commandtags.h: add LFUN_HELP_ABOUTLYX
15391 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15393 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15395 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15397 * lyx_gui_misc.C: remove spellchecker
15398 * lyxfunc.C: showSpellchecker
15400 * sp_ispell.h: added
15401 * sp_pspell.h: added
15402 * sp_spell.C: added
15403 * sp_form.[Ch]: removed
15404 * spellchecker.[Ch]: removed
15406 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15408 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15410 (simpleTeXSpecialChars): Simply print the input character without
15411 any special translation if pass_thru is set.
15413 * layout.h: Added bool pass_thru to layout class for being able to
15414 implement pass through of a paragraph for Literate Programming.
15416 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15417 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15418 * layout.C (Read): add "passthru" to list of layout tags and add
15419 code to set the pass_thru boolean when it is read.
15421 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15423 * trans_decl.h: remove allowed from KmodInfo
15425 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15426 remove allowed code
15429 * paragraph_pimpl.C (erase): use boost::prior
15431 * Painter.C (text): use data() instead of c_str() when length is
15433 * WorkArea.C (putClipboard): ditto
15434 * font.h (width): ditto
15436 * BufferView2.C: use it-> instead of (*it). for iterators
15438 * paragraph_pimpl.C: ditto
15439 * paragraph.C: ditto
15440 * minibuffer.C: ditto
15441 * language.C: ditto
15443 * encoding.C: ditto
15444 * counters.C: ditto
15445 * converter.C: ditto
15447 * Variables.C: ditto
15448 * TextCache.C: ditto
15449 * MenuBackend.C: ditto
15450 * LyXAction.C: ditto
15452 * FloatList.C: ditto
15453 * DepTable.C: ditto
15454 * ColorHandler.C (LyXColorHandler): ditto
15456 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15458 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15460 * text2.C (openStuff): reintroduce this method (which had been
15461 nuked in NEW_INSETS frenzy).
15463 * lyxfunc.C (Dispatch): when an action has not been handled, use
15464 its name in the error message, not its number.
15466 * paragraph.C (inInset): change method name to begin with lowercase.
15469 * text2.C: updates because of this.
15471 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15473 * ToolbarDefaults.C (add): add spaces in error message
15475 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15477 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15478 (readLyXformat2): rename return_par to first_par, use lyxlex's
15479 pushToken and remove the manual push handling.
15480 (parseSingleLyXformat2Token): add another ert comp. variable:
15481 in_tabular, rename return_par to first_par. handle newlines better
15483 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15485 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15487 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15489 * text2.C (getParFromID): removed
15491 * buffer.C (getParFromID): new method moved form lyxtext.
15492 * BufferView2.C (insertErrors): adjust
15493 (setCursorFromRow): adjust
15494 * BufferView_pimpl.C (restorePosition): adjust
15495 * lyxfunc.C (Dispatch): adjust
15496 * undo_funcs.C (textUndo): adjust
15498 (textHandleUndo): adjust
15499 (textHandleUndo): adjust
15501 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15503 * buffer.C: up' the LYX_FORMAT
15505 * lyxfont.h: turn NO_LATEX on as default
15507 * buffer.C (insertErtContents): new methods of tex style compability.
15508 (parseSingleLyXformat2Token): use it several places.
15509 * tabular.C (OldFormatRead): and here
15511 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15513 * text2.C: remove some commented code.
15516 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15517 * trans.C: changes because of the above.
15519 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15521 * text2.C (setCounter): Fix counters bug with bibliography layout.
15523 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15525 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15526 own member functions
15527 (simpleTeXSpecialChars): ditto
15529 2001-07-06 Juergen Vigna <jug@sad.it>
15531 * a lot of files: changed the access to LyXText::status and the
15532 call of undo-functions.
15534 * undo.[Ch]: added a inset_id to the undo informations.
15536 * undo_funcs.[Ch]: added and moved here all undo functions.
15538 * lyxtext.h: give the status enum a weight, made status_ a private
15539 variable and made accessor functions for it, removed the whole bunch
15540 of undo-functions as they are now in their own file, make some
15541 functions publically available. Added function ownerParagraph with
15544 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15545 made InInset() a const function, added getParFromID() function.
15547 * buffer.[Ch]: added const version for inset_iterator functions,
15548 added getInsetFromID() function.
15550 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15551 changed undo functions for new version.
15553 2001-07-05 Juergen Vigna <jug@sad.it>
15555 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15556 unknow mechanism does not call the proper constructor but only this
15557 one also if I request the other!?
15559 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15561 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15563 * text2.C (LyXText): use initialization lists.
15565 * lyxtext.h (Selection): initialize set_ and mark_
15566 (init): remove method
15568 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15570 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15572 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15574 * screen.[Ch]: change method names to begin with lowercase
15576 * BufferView_pimpl.C (updateScrollbar): simplify further and
15577 hopefully make it a bit faster.
15579 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15581 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15582 calling directly xforms functions.
15584 * Painter.C (Painter):
15585 * lyx_cb.C (MenuWrite):
15586 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15589 * lyx_gui.C: remove bogus guiruntime extern declaration.
15591 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15593 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15595 (redoDrawingOfParagraph): ditto
15596 (redoParagraphs): ditto
15597 (cutSelection): don't create a object for CutAndPaste use the
15598 static method directly
15599 (pasteSelection): ditto
15601 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15604 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15606 * modifications to some other files because of this.
15608 * Makefile.am (lyx_SOURCES): add XFormsView
15610 * XFormsView.[Ch]: new files
15612 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15613 the main window. Move the gui dependent stuff to XFormsView
15615 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15617 * tabular.C (GetCellInset): update cur_cell also in the row/col
15618 version of this function.
15620 * lyxfunc.C: no need to include figure_form.h here.
15626 * lyxvc.C: no need to include forms.h here.
15628 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15630 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15632 * lyxfunc.C (Dispatch):
15634 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15635 constructor argument.
15637 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15639 * paragraph.C (Paragraph): dont't clear, and just set layout.
15640 (makeSameLayout): use params's copy contructor.
15642 * ParagraphParameters.[Ch] (makeSame): delete method
15644 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15646 * Variables.[Ch]: fix indentation, rename set to isSet
15648 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15650 * lyxfunc.C (Dispatch): fix typo
15652 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15654 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15657 * bufferlist.C: include assert.h for emergencyWrite().
15659 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15661 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15662 give up at last (bug #425202) !
15664 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15670 * spellchecker.C: strip spellchecker options and bring up
15671 preferences tab instead
15673 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15675 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15676 the istringstream constructor
15678 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15680 * paragraph.C (getLayout): fix return value
15682 * paragraph.h: do not declare getLayout as inline.
15684 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15686 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15688 * lyxcursor.h (operator<): new func
15689 (operator>): new func
15690 (operator>=): new func
15691 (operator<=): new func
15693 * text.C (changeCase): use selection.start and selection.end
15694 (changeRegionCase): require from to be <= to. Require par to be a
15697 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15699 2001-06-27 Juergen Vigna <jug@sad.it>
15701 * text.C (cursorLeftOneWord): changed to return the cursor and added
15702 overlay with BufferView * parameter which calls this one.
15704 (selectWord): use new getWord function.
15705 (changeCase): renamed from changeWordCase as and extended to work
15706 also on selections.
15708 * lyxtext.h: added enum word_location
15710 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15711 changeCase as this operates now also on selections.
15713 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15715 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15717 * many files: send debug output to Debug::INFO instead of
15720 * converter.C (View):
15722 (Move): send debug output to Debug::FILES instead of console.
15724 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15726 * lyxfunc.C (getStatus): use func_status
15728 * func_status.h: new header, describing the results of
15729 LyXFunc::getStatus;
15731 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15734 2001-06-25 The LyX Project <jug@sad.it>
15736 * buffer.C (sgmlOpenTag):
15738 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15740 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15742 * text2.C: remove some dead code
15744 * tabular.C (GetCellInset): store the last cell checked (gotten)
15746 * tabular.h: add the helper for the speedup
15748 * lyxtext.h: remove some dead code
15750 2001-06-26 The LyX Project <Asger>
15752 * paragraph.C: Change export to LaTeX of alignment to
15753 \begin{center} and family for better roundtrip work with reLyX.
15755 * Tune the math drawing a bit.
15757 2001-06-25 The LyX Project <Asger>
15759 * LColor.C (LColor): New color for math background. New color
15762 2001-06-25 The LyX Project <jug@sad.it>
15764 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15766 * lyxfunc.C (Open):
15767 * bufferlist.C (newFile): do not restrict to files ending with
15770 * BufferView_pimpl.C (MenuInsertLyXFile):
15772 2001-06-24 The LyX Project <jug@sad.it>
15774 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15777 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15779 * lyxtext.h: rename most methods to begin with a small char.
15780 Lots of changes because of this.
15782 * paragraph.C (Paragraph): do not call fitToSize
15783 (erase): call Pimpl::erase
15784 (insertChar): call Pimpl::insertChar
15785 (insertInset): call Pipl::insertInset
15786 (breakParagraph): do not call fitToSize
15787 (breakParagraphConservative): do not call fitToSize
15788 (fitToSize): remove method
15790 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15792 2001-06-24 The LyX Project <Asger>
15794 * Fix Qt compilation^2
15796 2001-06-24 The LyX Project <jug@sad.it>
15798 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15799 depthHook(getDepth()-1).
15802 * ParagraphParameters.h:
15803 * ParameterStruct.h: change type of depth to unsigned int ==
15804 depth_type. Many adaptations to other files before of that.
15806 2001-06-24 The LyX Project <Asger>
15808 * Fix Qt compilation.
15810 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15812 * paragraph.h: renamed several methods to begin with small letter.
15813 several changes to many parts of the code because of this.
15815 2001-06-23 The LyX Project <jug@sad.it>
15817 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15818 rewritten to discard all double spaces when KeepEmpty is off
15819 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15820 to only handle newlines but not fiddle with spaces and friends.
15822 * lyxfunc.C (MenuNew): when doing 'new from template', use
15823 template_path as default directory
15825 2001-06-23 The LyX Project <Asger>
15827 * Clean-up of header file includes all over
15828 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15830 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15832 * paragraph.h: renamed from lyxparagraph.h
15834 2001-06-23 Asger <lyx@violet.home.sad.it>
15836 * Buffer.h: Removed Buffer::resize
15837 * BufferList.h: Removed BufferList::resize
15838 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15839 the document lazily when we change the width, or the font settings.
15841 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15843 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15845 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15847 * buffer.h: remove out of date comment
15849 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15852 * screen.C: fix "theoretical" GC leak
15854 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15856 * LaTeX.C (scanAuxFile):
15857 (deplog): remove trailing \r when reading stream (useful under
15860 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15862 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15863 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15864 and BufferView::theLockingInset(Inset*), so should use them and not
15865 access bv_->text->the_locking_inset directly.
15867 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15869 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15872 * tex-defs.h: remove old unused file
15874 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15876 * BufferView_pimpl.C: fix typo, remove minibuffer message
15877 when buffer has loaded
15879 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15881 * lyxfunc.C (Dispatch): use stringstream
15882 (MenuNew): use stringstream
15883 (Open): use stringstream
15885 * importer.C (Import): use stringstream
15887 * bufferview_funcs.C (CurrentState): use stringstream
15889 * LaTeX.C (run): use stringstream
15891 * BufferView_pimpl.C (savePosition): use stringstream
15892 (restorePosition): use stringstream
15893 (MenuInsertLyXFile): use stringstream
15895 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15908 * vspace.C: removed // -*- C++ -*- as first line.
15911 * version.h: added // -*- C++ -*- as first line.
15913 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15915 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15917 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15920 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15922 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15925 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15927 * gettext.C: include LString.h even when --disable-nls is on.
15929 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15931 * converter.h (Get): changed argument type from int to
15932 FormatList::size_type to avoid unnecessary conversion.
15934 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15937 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15939 * gettext.h: include LString.h even when --disable-nls is on.
15941 2001-06-07 Juergen Vigna <jug@sad.it>
15943 * text.C (BreakAgain): subst spaces with tabs.
15945 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15946 (resizeInsetsLyXText): set force on resizeLyXText.
15948 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15950 * gettext.h (gettext_init):
15951 (locale_init): use a real definition instead of a macro
15953 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15955 * Bufferview_pimpl.C:
15957 * LColor.C: further lcolor tidies
15959 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15961 * BufferView_pimpl.C (updateScrollbar): simplify.
15963 * BufferView2.C: don't include insets/insetinfo.h, change
15964 prototype for insertInset and call the Pimpl version. let
15965 updateInset call Pimpl version.
15967 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15968 gotoInset to BufferView::Pimpl
15970 2001-06-01 Juergen Vigna <jug@sad.it>
15972 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15973 inside a LockingInset (is the update needed at all?).
15975 2001-05-31 Juergen Vigna <jug@sad.it>
15977 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15978 here not the old one otherwise how should we compare it afterwards
15981 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15986 * FontInfo.C: bring C functions into global namespace when
15989 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15991 * LString.h: make sure config.h has been loaded before LString.h.
15993 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15994 (one for each char read by EatLine!).
15996 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15999 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16001 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16002 to the same as the par we break from
16004 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16006 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16008 * MenuBackend.C (expand): also create menu entries for wide
16009 versions of the floats.
16011 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16013 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16015 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16016 frontends/Makefile.am
16022 * tabular.C (getTokenValue): add std::
16024 * tabular-old.C (getTokenValue): add std::
16025 (getTokenValue): ditto
16026 (getTokenValue): ditto
16028 * screen.C (ToggleSelection): adjust
16030 * lyxtext.h: put selection cursors inside a Selection struct.
16032 * lyxfunc.C (moveCursorUpdate): adjust
16034 * lyxfont.C (latexWriteStartChanges): add std::
16036 * lyxfind.C: adjust
16038 * font.h: delete with(char const *, LyXFont const &)
16040 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16042 * FontInfo.C (getFontname): add std::
16044 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16045 (workAreaButtonPress): adjust
16046 (tripleClick): adjust
16048 (moveCursorUpdate): adjust
16051 * BufferView2.C (gotoInset): adjust
16053 2001-05-30 Juergen Vigna <jug@sad.it>
16055 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16056 to check pspell I add this as default as I now have new pspell
16057 libraries and they seem to use this.
16059 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16061 * text2.C (CutSelection): make the cursor valid before the call to
16064 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16066 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16067 relied on 0 terminated strings and other horrors. Bug found due to
16068 the new assert in lyxstring!
16070 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16073 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16075 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16078 * lyxfunc.C (processKeySym): change method of getting to the
16081 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16082 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16083 * BufferView_pimpl.[Ch]: here as private methods.
16085 2001-05-28 Juergen Vigna <jug@sad.it>
16087 * text.C (SetHeightOfRow): added the update() call again as it is
16088 needed to initialize inset dimensions!
16090 2001-05-16 Juergen Vigna <jug@sad.it>
16092 * text2.C (SetCharFont): Add new function with BufferView * and
16093 bool toggleall parameters for setting insets internal fonts.
16094 (SetFont): Freeze the undo as we may change fonts in Insets and
16095 all this change should be inside only one Undo!
16097 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16098 setting font's in insets as for them we have the SetFont function!
16100 2001-05-15 Juergen Vigna <jug@sad.it>
16102 * text2.C (ClearSelection): to be sure we REALLY don't have any
16105 * tabular.C (TeXCellPreamble): fixed the left border problem for
16108 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16110 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16113 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16115 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16116 LFUN_BREAKPARAGRAPH.
16118 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16119 help test to "internal only", similar for LFUN_INSERT_URL
16121 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16122 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16123 auto_region_delete and deadkeys.
16125 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16128 * LColor.C: remove some dead entries, tidy a little
16130 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16132 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16134 (Dispatch): implement LFUN_ESCAPE
16136 * commandtags.h: add LFUN_ESCAPE
16138 * LyXAction.C (init): add entry for LFUN_ESCAPE
16140 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16141 Remove commented code.
16142 (insertNote): moved here
16143 (open_new_inset): moved here
16145 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16148 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16150 * kbmap.C (findbinding): clean it up and make it work correctly.
16152 * lyx_main.C (init): do not pass argc and argv as parameters
16154 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16156 * buffer.C: fix path for OS/2 & Win32
16160 * lyx_main.C: Added os:: class.
16162 * os2_defines.h: update
16164 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16166 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16167 better by trying again with reduced state.
16169 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16171 * lyxrc.C (read): print error about invalid key sequence only when
16172 debugging (because not all latinX keysyms are known to some X
16175 * kbsequence.C (getiso): add a few std:: qualifiers
16176 (getiso): comment out extra return statement.
16178 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16180 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16182 (Dispatch): enhance the accent inset a bit. (not perfect)
16184 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16186 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16188 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16190 * bufferlist.C (emergencyWrite): fix assert() call
16192 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16194 * text.C (InsertChar): Added trivial patch to only send the "you
16195 can not do multiple spaces this way" message once during a
16198 2001-05-08 Baruch Even <baruch@lyx.org>
16200 * Makefile.am: Changed order of libraries to get LyX to link properly
16201 with the gnome frontend.
16203 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16205 * LaTeXFeatures.h: add a std:: qualifier
16207 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16209 * paragraph.C (String): use stringstream
16211 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16213 * paragraph.C (writeFile): remove footflag arg
16215 * buffer.C (makeLaTeXFile): use stringstream
16216 (latexParagraphs): remove footnot gurba
16218 * LaTeXFeatures.C (getPackages): use stringstream
16219 (getMacros): likewise
16220 (getTClassPreamble): likewise
16221 (getFloatDefinitions): new method
16223 * paragraph.C (writeFile): reindent
16226 * WorkArea.h: revert the xpos + etc changes.
16228 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16230 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16232 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16233 (pasteSelection): likewise
16234 * text2.C (CreateUndo): likewise
16236 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16238 * minibuffer.C (peek_event): temporarily reduce the functionality
16239 of the minibuffer (to allow args on lfuns)
16241 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16242 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16244 * buffer.C (readInset): add compability reading of old float
16245 lists, add reading of new style float list.
16246 (readInset): avoid reevaluation of inscmd.getCmdName()
16247 (getLists): reindent
16249 * MenuBackend.C (MenuItem): implement parsing of
16250 md_floatlistinsert and md_floatinsert.
16251 (expand::LastFiles): move initalizaton of iterators out of loop,
16252 avoid reevaluation.
16253 (expand::Documents): introduce typdedef vector<string> Strings,
16255 (expand::ExportFormats): introduce typedef vector<Format const *>
16256 Formats, and use it.
16257 (expand): implement FloatListInsert and FloatInsert.
16259 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16260 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16261 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16263 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16265 (Dispatch::LFUN_FLOAT_LIST): implement
16267 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16269 * LaTeX.C (run): Fix problem with --export code.
16271 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16273 * BufferView.[Ch] (workarea): removed.
16274 (getClipboard) new method; wrapper for workarea()->getClipboard()
16276 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16279 * WorkArea.h (width, height, xpos, ypos): These methods all
16280 returned the dimensions of the work_area sub-area of WorkArea,
16281 resulting in a position error if the WorkArea were resized. Now
16282 return the dimensions of the entire WorkArea.
16284 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16286 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16288 * LaTeX.C (deplog): correct the syntax of regex reg1
16290 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16292 * undo.C: remove !NEW_INSETS cruft
16294 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16296 * text2.C: remove !NEW_INSETS cruft
16298 * text.C: remove !NEW_INSETS cruft
16300 * tabular.C: remove !NEW_INSETS cruft
16302 * spellchecker.C: remove !NEW_INSETS cruft
16304 * lyxtext.h: remove !NEW_INSETS cruft
16306 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16308 * lyxfunc.C: remove !NEW_INSETS cruft
16310 * lyxfind.C: remove !NEW_INSETS cruft
16312 * lyx_cb.C: remove !NEW_INSETS cruft
16314 * figureForm.C: remove !NEW_INSETS cruft
16316 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16318 * buffer.[Ch]: remove !NEW_INSETS cruft
16320 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16322 * CutAndPaste.C: remove !NEW_INSETS cruft
16324 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16326 * BufferView2.C: remove !NEW_INSETS cruft
16328 * BufferView.h: remove !NEW_INSETS cruft
16330 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16332 * Lsstream.h: include LString.h before the sstream headers to
16333 fix problem with gcc 2.95.3 and lyxstring
16335 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16337 * lyx_main.C: add using directives when needed for C functions
16338 declared in std:: namespace.
16340 2001-04-27 Juergen Vigna <jug@sad.it>
16342 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16343 (SetHeightOfRow): comment out the update call should not be needed!
16345 2001-04-13 Juergen Vigna <jug@sad.it>
16347 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16348 (LyXTabular): tried to minimize operator= operations (and realized
16349 hopfully Lars wish).
16351 2001-04-27 Juergen Vigna <jug@sad.it>
16353 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16355 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16357 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16359 * buffer.C (readInset): hack to make listof algorithm work
16361 * BufferView_pimpl.C: hack to make listof algorithm work
16363 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16365 * LyXAction.C: removed all !NEW_INSETS cruft
16366 (init): moved lfun_item in method
16368 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16370 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16372 * BufferView2.C (theLockingInset): white space.
16374 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16376 * minibuffer.C: include <iostream>
16378 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16380 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16382 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16384 * text.[Ch] (TransposeChars): new method
16386 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16388 * call message directly through LyXView instead of through LyXFunc
16389 * BufferView2.C: adjust
16390 * BufferView_pimpl.C: adjust
16391 * FontLoader.C: adjust
16393 * bufferview_funcs.C: adjust
16394 * converter.C: adjust
16395 * figureForm.C: adjust
16396 * importer.C: adjust
16398 * lyx_gui_misc.C: adjust
16399 * lyxfunc.C: adjust
16402 + more files in subdirs
16404 * lyxparagraph.h (size): move up int file
16407 * adjust all uses of Assert to lyx::Assert.
16409 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16410 lyxfunctional in namespace lyx
16411 * layout.C (hasLayout): ditto
16414 (delete_layout): ditto
16415 (NumberOfClass): ditto
16416 * converter.C (GetFormat): ditto
16421 * bufferlist.C (getFileNames): ditto
16422 (emergencyWriteAll): ditto
16425 * MenuBackend.C (hasSubmenu): ditto
16428 * BufferView_pimpl.C (getInsetByCode): ditto
16430 2001-04-18 Juergen Vigna <jug@sad.it>
16432 * vspace.C (asLatexString): fixed the 100% problem.
16434 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16436 * lyxfunc.C (Dispatch):
16438 * minibuffer.h: add a few std:: qualifiers
16440 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16442 * minibuffer.[Ch]: reimplement so that commands is initiated and
16443 run from lyxfunc, simplified som handling, and made the completion
16444 and history code for complete. wip.
16446 * lyxfunc.C (processKeySym): call message
16447 (miniDispatch): new temporary method
16448 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16449 (LFUN_MESSAGE): implement
16450 (LFUN_MESSAGE_PUSH): implement
16451 (LFUN_MESSAGE_POP): implement
16452 (initMiniBuffer): the initial/defualt minibuffer message.
16454 * lyxfont.[Ch]: inline some more getters
16456 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16458 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16460 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16461 (AutoSave): use LFUN_MESSAGE
16462 (Reconfigure): ditto
16464 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16466 * figureForm.C: use LFUN_MESSAGE
16468 * converter.C (runLaTeX): use LFUN_MESSAGE
16470 * bufferview_funcs.C: use LFUN_MESSAGE
16472 (changeDepth): ditto
16474 * bufferparams.h: use boost::
16476 * bufferlist.h: inherit privately from noncopyable
16478 * bufferlist.C (loadLyXFile): remove some commented code.
16480 * buffer.C (runChktex): use LFUN_MESSAGE
16482 * ShareContainer.h: inherit privately from noncopyable
16484 * ParagraphParameters.[hC] (depth): inline it.
16486 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16488 (message): new method
16489 (messagePush): ditto
16490 (messagePop): ditto
16491 (show): init minibuffer
16492 (showState): direct call
16494 * LaTeX.[Ch]: inherit privately from noncopyable
16495 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16496 instead of WriteStatus.
16498 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16500 * BufferView_pimpl.C (buffer): don't init minibuffer
16501 (workAreaButtonPress): use LFUN_MESSAGE
16502 (workAreaButtonRelease): ditto
16503 (savePosition): ditto
16504 (restorePosition): ditto
16505 (MenuInsertLyXFile): ditto
16506 (workAreaExpose): don't init minibuffer
16507 (update): remove commented code, simplify
16509 * BufferView2.C (openStuff): use LFUN_MESSAGE
16510 (toggleFloat): ditto
16513 (copyEnvironment): ditto
16514 (pasteEnvironment): ditto
16519 (updateInset): remove some commented code
16521 * lastfiles.h: inherit privately from noncopyable
16524 * lyx_main.h: ditto
16526 * lyxlex_pimpl.h: ditto
16528 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16529 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16530 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16532 * LyXAction.h: inherit privately from noncopyable, add methods
16533 func_begin, func_end, returning iterators to the func map.
16535 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16536 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16537 (func_begin): new method
16538 (func_end): new method
16540 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16542 (copySelection): ditto
16543 (pasteSelection): ditto
16545 * BufferView.C: whitespace change
16546 * BufferView.h: inherit privately from noncopyable
16548 2001-04-16 Allan Rae <rae@lyx.org>
16550 * tabular-old.C (l_getline):
16551 * spellchecker.C (sc_check_word):
16552 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16553 an unrecognised preprocessor directive. So ensure they're wrapped.
16555 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16557 * src/exporter.C (Export): Give an error message when path to file
16560 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16562 * LaTeX.C (deplog): Always check that foundfile exists.
16564 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16567 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16569 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16571 * tabular.[Ch] (getLabelList): implement new method
16573 * minibuffer.h: comment ouf setTiimer
16575 * minibuffer.C (ExecutingCB): constify res
16576 (peek_event): constify s
16577 (Set): constify ntext
16578 (Init): constify nicename
16580 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16582 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16583 (savePosition): use two params to Minibuffer::Set
16584 (restorePosition): ditto
16586 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16588 * lyx_main.C: include language.h
16590 * Makefile.am (lyx_main.o): add language.h
16592 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16598 * CutAndPaste.C: include gettext.h
16600 * lyxfont.h: remove old hack with ON and OFF.
16603 * lyxfont.h: do not include language.h...
16608 * bufferview_funcs.C:
16614 * paragraph.C: ... but do it here instead
16616 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16618 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16620 * tabular.C: small reformat
16622 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16625 (BreakParagraph): ditto
16626 (SetOnlyLayout): ditto
16629 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16632 * lastfiles.C: removed most using decl, add std:: where needed
16634 * buffer.C: ws changes
16636 * MenuBackend.C (class compare_format): put into anon namespace
16637 (expand): constify label, names, action, action2
16640 * text.C (SingleWidth): constify font
16641 (IsBoundary): constify rtl2
16642 (GetVisibleRow): constify ww
16644 * LaTeX.C (deplog): constify logfile
16646 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16648 (workAreaExpose): constify widthChange, heightChange
16650 * lyxrow.C (par): moved
16653 * lyxrow.h: as inlines here
16655 * lyxfont.h (shape): moved from lyxfont.C
16656 (emph): moved from lyxfont.C
16658 * lyxfont.C (LyXFont): use initialization list for all
16660 (shape): move to lyxfont.h as inline
16661 (emph): move to lyxfont.h as inline
16664 2001-04-04 Juergen Vigna <jug@sad.it>
16666 * vspace.C: had to include stdio.h for use of sscanf
16668 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16671 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16672 independent of xforms.
16674 2001-04-02 Juergen Vigna <jug@sad.it>
16676 * spellchecker.C: fixed namespace placing!
16678 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16680 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16681 the LyXParagraph * is 0.
16683 2001-03-29 Juergen Vigna <jug@sad.it>
16685 * vspace.C: added support for %, c%, p%, l%.
16686 (stringFromUnit): added helper function.
16687 (asLatexString): changed to give right results for the %-values.
16689 * buffer.C: convert the widthp in a width%.
16691 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16693 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16696 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16697 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16699 * lyx_cb.[Ch]: see above.
16701 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16705 * lyx.[Ch]: replaced by figure_form.[Ch].
16709 * lyxfunc.C: changed headers associated with above changes.
16711 2001-03-27 Juergen Vigna <jug@sad.it>
16713 * BufferView_pimpl.C: set the temporary cursor right!
16715 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16717 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16719 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16721 * LString.h: removed "using std::getline"!
16723 * BufferView_pimpl.C (Dispatch): changes due to changes in
16724 InsetInclude::Params.
16726 * buffer.C (tag_name): removed redundant break statements as they were
16727 producing lots of warnings with my compiler.
16729 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16731 * LString.h: add "using std::getline" when using the real <string>.
16733 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16735 * buffer.C: removed bitset usage.
16736 PAR_TAG moved to an anonymous name space.
16737 (tag_name): new funtion, also in the anonymous namespace.
16738 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16739 (makeDocBookFile): clean code. Completed transition from string arrays
16741 (SimpleDocBookOnePar): code clean.
16743 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16745 * tabular.C: add some comments.
16747 2001-03-22 Juergen Vigna <jug@sad.it>
16749 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16750 compatibility read a bit and fixed bug with minipage in different
16753 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16755 * buffer.C (pop_tag): removed.
16756 (push_tag): removed.
16757 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16758 array replaced with vector. Added support for CDATA sections.
16759 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16761 (makeDocBookFile): XML conformant declaration of CDATA section,
16762 fixed bug related to <emphasis> in the first paragraph char.
16763 (sgmlOpenTag): exclude empty tags.
16764 (sgmlCloseTag): ditto.
16766 * buffer.h (pop_tag): removed.
16767 (push_tag): removed.
16769 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16771 * language.h (Languages): added size_type and size().
16773 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16775 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16776 response on compability reading of minipages. One probliem is that
16777 the old usage of minipages was «flertydig»
16779 * several files here and in subdirs: don't use static at file
16780 scope use anon namespaces instead.
16782 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16784 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16785 LaTeX output. This is necessary for Literate document
16788 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16790 * buffer.C: insert hfill when needed.
16792 * tabular.C (l_getline): use string::erase, small whitespace change.
16794 * BufferView_pimpl.C: try the anon namespace.
16795 * WorkArea.C: ditto
16797 2001-03-16 Juergen Vigna <jug@sad.it>
16799 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16800 otherwise it won't open options-dialogs.
16802 * buffer.C: honor pextraWidth(p) on converting minipages.
16804 * tabular.C (l_getline): changed the functions to strip trailing \r.
16806 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16808 * BufferView_pimpl.C:
16809 * minibuffer..C: added "using SigC::slot" declaration.
16811 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16813 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16819 * paragraph.C: ditto
16821 * lyxtext.h: NO_PEXTRA
16823 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16825 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16826 * ParameterStruct.h: ditto
16827 * ParagraphParameters.h: ditto
16828 * lyxparagraph.h: ditto
16830 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16832 * buffer.C: add compability for minipage alignment.
16833 (latexParagraphs): remove unwanted pextra check.
16835 * several files: remove CXX_WORKING_NAMESPACES
16837 * buffer.C (pop_tag): tie is in namespace boost
16839 * BufferView.h: noncopyable is in namespace boost
16841 * lyx_main.h: ditto
16844 * lastfiles.h: ditto
16845 * bufferlist.h: ditto
16846 * ShareContainer.h: ditto
16848 * LyXAction.h: ditto
16851 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16853 * Merging changes from BRANCH_MVC back into HEAD.
16855 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16857 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16859 * BufferView_pimpl.C: change from intl.C
16863 * Makefile.am: move combox.*
16869 * intl.C: remove dialog (covered by prefs)
16871 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16873 * lyxfunc.C (Dispatch): removed redundant break statement.
16875 2001-03-14 Juergen Vigna <jug@sad.it>
16877 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16879 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16881 * buffer.C: add hack to fix compability reading of minipages.
16883 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16885 * buffer.C (getLists): Cleanup.
16887 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16889 * lyxfont.C (update): don't honor toggleall on font size.
16891 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16895 * Makefile.am: moved to frontends/xforms/
16899 * BufferView_pimpl.C: changes for moved mathpanel
16901 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16903 * gettext.h: fix gettext_init() in --disable-nls
16905 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16907 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16909 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16912 * lyx.h: strip external form
16914 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16916 * BufferView_pimpl.C: add comment, destroySplash()
16918 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16920 * BufferView_pimpl.C:
16924 * lyxfunc.C: use re-worked insetinclude
16926 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16928 * buffer.C: add using std::stringstream.
16930 * lyx_cb.C: readd using std::ios.
16932 * buffer.C: add using std::map.
16934 * BufferView_pimpl.C: add using std::vector.
16936 * ShareContainer.h: add std:: to swap.
16938 * buffer.h: add some typedefs
16939 * buffer.C (getLists): use them
16940 (getLists): renamed from getTocList.
16941 add a counter for the different float types and use it in the
16943 (getLists): use the same counter for the NEW_INSETS and the "non"
16946 * lyx_cb.h: remove unused items, includes, using etc.
16948 * ShareContainer.h: remove some commented code, add more comments
16949 and "documentation".
16951 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16953 * buffer.C (getTocList): make the list also when NEW_INSETS is
16956 * buffer.h: remove TocType
16958 * buffer.C (getTocList): change to return a map<string,
16959 vector<TocItem> >, implement for dynamic number of list.
16961 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16962 * text2.C (PasteSelection): adjust
16963 * CutAndPaste.C (pasteSelection): adjust
16965 * FloatList.C (FloatList): update from the new_insets branch.
16966 * Floating.[Ch]: ditto
16967 * LaTeXFeatures.C: ditto
16969 * lyxlex_pimpl.C: ditto
16971 * paragraph.C (Last): remove when NEW_INSETS is defined.
16973 * other file: changes because of the above.
16975 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16977 * lyxparagraph.h: rename next to next_, previous to previous_,
16978 make them private for NEW_INSETS. Rename Next() to next(),
16979 Previous() to previous().
16981 * other files: changes because of the above.
16983 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16986 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16989 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16991 * main.C (main): pass lyx_localedir to gettext_init().
16993 * gettext.h: remove locale_init and gettext_init macros
16995 * gettext.C (locale_init): new function
16996 (gettext_init): new function
16998 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17001 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17003 * Moved credits to frontends:
17004 * credits.[Ch]: removed
17005 * credits_form.[Ch]: removed
17006 * lyx_gui_misc.C: remove credits stuff
17009 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17011 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17013 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17014 unneeded destructor.
17016 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17017 a standalone pointer again.
17019 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17021 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17027 * ToolbarDefaults.C:
17036 * BufferView_pimpl.C: use new file dialog in GUII
17039 * lyx_cb.C: remove LayoutsCB to Toolbar
17041 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17043 * ShareContainer.h (get): add std:: qualifier
17045 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17047 * ShareContainer.h: define a proper ShareContainer::value_type
17048 type (and use typename to please compaq cxx)
17050 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17052 * lyxparagraph.h: move serveral local vars to
17053 ParameterStruct/ParagraphParameters., use ShareContainer in
17054 FontTable., make vars in FontTable private and add getter and
17057 * paragraph.C: changes because of the above.
17059 * lyxfont.h: remove copy constructor and copy assignment. (the
17060 default ones is ok), move number inside FontBits. move inlines to
17063 * lyxfont.C: add number to initializaton of statics, move several
17064 inlines here. constify several local vars. some whitespace
17065 cleanup. Dont hide outerscope variables.
17067 * Spacing.h: add two new constructors to match the set methods.
17069 * ShareContainer.h: new file, will perhaps be moved to support
17071 * ParameterStruct.h: new file
17073 * ParagraphParameters.h: new file
17075 * ParagraphParameters.C: new file
17077 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17078 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17080 * BufferView_pimpl.C: ParagraphParameter changes.
17081 * buffer.C: Likewise.
17082 * bufferview_funcs.C: Likewise.
17083 * text.C: Likewise.
17084 * text2.C: Likewise.
17086 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17088 * lyxfind.C (LyXReplace): do not redefine default argument in
17090 (IsStringInText): ditto
17091 (SearchForward): ditto
17092 (SearchBackward): ditto
17094 2001-03-06 Juergen Vigna <jug@sad.it>
17096 * lyxfind.C (IsStringInText): put parentes around expressions.
17098 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17100 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17102 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17104 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17106 * stl_string_fwd.h: add comment
17108 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17111 * tabular.C: remove unused DocBook methods
17117 killed DO_USE_DEFAULT_LANGUAGE
17119 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17121 * lyx_gui.C: do not include language.h.
17123 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17124 arguments in function implementation.
17126 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17128 * BufferView_pimpl.C: add <ctime>
17130 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17132 * BufferView_pimpl.C: add using std::find_if
17134 2001-02-27 José Matos <jamatos@fep.up.pt>
17136 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17139 2001-02-11 José Matos <jamatos@fep.up.pt>
17141 * buffer.C (makeDocBookFile): command styles now have a parameter as
17142 "title" by default.
17144 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17146 * layout_forms.[Ch]: removed
17147 * lyx_cb.[Ch]: out character
17148 * lyx_gui.C: out character
17149 * lyx_gui_misc.C: out character
17150 * bufferview_funcs.C: : out character,
17151 added toggleall as parameter in ToggleAndShow
17153 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17155 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17157 * text2.C (SetCurrentFont): Disable number property at boundary.
17159 2001-02-26 Juergen Vigna <jug@sad.it>
17161 * lyxfunc.C (getStatus): added a string argument override function so
17162 that this is correctly called from LyXFunc::Dispatch if it contains a
17163 do_not_use_argument which is used!
17164 (Dispatch): added check for "custom" export and call appropriate func.
17166 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17168 * lyxrc.C: Add language_command_local, language_use_babel and
17169 language_global_options.
17171 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17173 * buffer.C (makeLaTeXFile): Use language_use_babel and
17174 language_global_options.
17176 2001-02-23 Juergen Vigna <jug@sad.it>
17178 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17179 which works with LyXText and putted it inside BufferView. Here now we
17180 only call for that part the BufferView::Dispatch() function.
17182 * BufferView.C (Dispatch): added.
17184 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17185 functions which needs to use a LyXText over from LyXFunc.
17186 (MenuInsertLyXFile): added
17187 (getInsetByCode): added
17188 (moveCursorUpdate): added
17189 (static TEXT): added
17191 2001-02-22 Juergen Vigna <jug@sad.it>
17193 * BufferView_pimpl.C (update): call a status update to see if LyXText
17196 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17198 * vc-backend.C (revert): implement for CVS
17199 (getLog): implement for CVS
17201 2001-02-20 Juergen Vigna <jug@sad.it>
17203 * text2.C (ClearSelection): added BufferView param for inset_owner call
17205 * lyxfunc.C (TEXT): added this function and use it instead of
17206 directly owner->view()-text of getLyXText().
17208 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17210 * src/layout_forms.C: out preamble
17211 * src/layout_forms.h: out preamble
17212 * src/lyx_cb.C: out preamble
17213 * src/lyx_cb.h: out preamble
17214 * src/lyx_gui.C: out preamble
17215 * src/lyx_gui_misc.C: out preamble
17216 * src/lyxfunc.C: connect with guii preamble
17218 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17220 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17222 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17224 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17225 whether to run bibtex.
17227 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17229 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17231 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17233 * Makefile.am (lyx_SOURCES): removed bibforms.h
17235 * vspace.h: doxygen
17237 * text.C (GetVisibleRow): make several local vars const
17239 * tabular.C: small cleanup.
17241 * lyxserver.C (callback): use compare instead of strncmp
17243 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17244 inlines to after class or to paragraph.C
17246 * lyxfont.h: remove friend operator!=
17248 * converter.h: move friend bool operator< to non friend and after
17251 * combox.h: small cleanup
17253 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17254 to inlines after class def.
17256 * buffer.C (pop_tag): use string operations instead of strcmp
17258 * bmtable.c: doxygen, small cleanup
17260 * LaTeX.h: remove friend operator==
17262 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17274 * BufferView_pimpl.C:
17275 * BufferView.[Ch]: remove cruft
17277 2001-02-14 Juergen Vigna <jug@sad.it>
17279 * lyxfunc.C: removed #if 0 unused code
17281 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17283 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17285 * text2.C (SetSelection): added a BufferView * parameter
17287 2001-02-13 Juergen Vigna <jug@sad.it>
17289 * lyxfunc.C (Dispatch): fixed protected blank problem.
17290 * BufferView2.C (protectedBlank): added LyxText * parameter.
17292 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17293 (AppendColumn): same as above for column_info.
17295 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17296 (moveCursorUpdate): use a LyXText param for support of InsetText.
17298 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17299 (tripleClick): ditto
17301 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17303 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17305 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17307 * text2.C (SetSelection): set correct update status if inset_owner
17308 (ToggleFree): ditto
17310 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17312 * tabular.C: remove some commented code.
17314 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17316 * BufferView_pimpl.C: call hideSplash()
17318 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17321 * bibforms.h: remove
17324 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17325 add LFUN_CHILD_CREATE
17327 * counters.h: fix tiny typo
17332 * lyx.C: move splash to frontends/xforms/
17334 * lyx_gui_misc.C: move Include and Bibform to frontends
17336 * lyxvc.h: clarify comment
17338 * vspace.C: tiny housekeeping
17340 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17342 * text.C (PrepareToPrint): RTL Fix.
17344 * paragraph.C (GetUChar): New method.
17345 (String): Use GetUChar.
17347 * buffer.C (asciiParagraph): Use GetUChar.
17349 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17351 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17353 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17356 * buffer.C: rename to getLogName(), handle
17357 build log / latex log nicely
17359 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17362 * MenuBackend.h: remove support for reference menuitem type.
17364 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17366 * BufferView_pimpl.C: housekeeping
17367 * BufferView_pimpl.h:
17372 * minibuffer.h: move Timeout GUI-I
17374 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17376 * lyxrc.C (read): Update converters data-structures.
17378 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17380 * LaTeX.h (operator!=): add operator != for Aux_Info
17382 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17384 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17386 * LaTeXLog.C: deleted, useful code moved to Buffer
17389 * buffer.C: new function getLatexLogName()
17395 * lyxfunc.C: use frontends for LaTeX and VC logs
17397 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17399 * LaTeX.h: yet another std:: that Allan forgot.
17401 * Variables.C (set): renamed from isset(), because this clashes
17402 with some HP-UX macros (grr).
17404 2001-02-06 Allan Rae <rae@lyx.org>
17406 * LaTeX.h: Another bug fix. Missing std:: this time.
17408 2001-02-04 Allan Rae <rae@lyx.org>
17410 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17411 floats problem. I've left it commented out because it's not quite
17412 correct. It should also test that the current object is a table or
17413 figure inset. But I haven't gotten around to figuring out how to do
17414 that. I *think* it'll be something like: "table" == inset.type()
17416 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17419 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17421 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17422 all the citation/databases/styles in the auxilary file.
17423 (run): Rerun latex if there was a babel language error.
17425 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17427 * text.C (Backspace): Preserve the font when changing newline char
17429 (BreakParagraph): If the cursor is before a space, delete the space.
17431 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17433 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17435 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17436 new argument (code).
17437 (ChangeCitationsIfUnique): New method.
17439 * paragraph.C (GetPositionOfInset): Handle bibkey.
17441 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17443 * BufferView_pimpl.h: change type of Position::par_pos to
17444 LyXParagraph::size_type.
17446 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17448 * BufferView_pimpl.C (savePosition, restorePosition): Write
17449 messages to minibuffer.
17451 2001-01-28 José Matos <jamatos@fep.up.pt>
17453 * buffer.C (makeDocBookFile): adds support for document language.
17454 A silly restriction on the name of LatexCommand types where removed.
17455 Added support for CDATA sections, allows to chars unescaped, used
17456 among others in code, to avoid escape < and >.
17458 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17460 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17461 saved positions instrad of a stack. Furthermore, a position is
17462 stored using paragraph id/paragraph position.
17464 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17465 Remove LFUN_REF_BACK.
17467 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17469 * converter.C (dvipdfm_options): New method.
17471 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17473 * vspace.C (isValidLength): Fix for empty input string.
17475 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17477 * LyXAction.C (init): change description of LFUN_FIGURE to
17480 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17482 * LaTeX.C: add using directive
17484 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17486 * MenuBackend.C (expand): Fix the sorting of the formats.
17488 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17490 * lyx_main.C: tiny error message fix
17492 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17494 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17495 calling fl_initialize(). This fixes the problem with ',' as
17496 decimal separator in text files.
17498 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17500 * trans.C (process): Fix the keymap bug.
17502 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17504 * LaTeX.C (scanAuxFiles): New method. Provides support for
17505 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17506 (scanLogFile) Scan for "run BibTeX" messages.
17508 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17509 OT1 font encoding. Also, load the aecompl package if the ae
17512 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17514 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17516 * texrow.C (increasePos): turn two error messages into debug
17519 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17521 * LaTeX.C (scanAux): Handle the \@input macro.
17522 (runBibTeX): Use scanAux().
17524 * language.C (latex_options_): New field.
17526 * LaTeXFeatures.C (getMacros): Add language macros.
17528 * buffer.C (makeLaTeXFile): Small fix.
17530 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17532 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17534 * text2.C: add a using directive.
17536 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17541 * lyxfunc.C: kill LyXBell.
17543 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17545 * text.C (IsBoundary): Remove the error message
17547 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17549 * lyxrc.C (setDefaults): Correct initialization value for
17552 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17554 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17557 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17558 and GotoNextNote().
17560 * src/LyXAction.C: Added reference-next.
17562 * text.C (InsertChar): Use contains instead of strchr.
17564 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17566 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17568 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17569 alignment commands (when needed).
17571 * text.C (InsertChar): Add ':' to number separator chars.