1 2005-04-17 Angus Leeming <leeming@lyx.org>
3 * converter.C (convert): protect all args of convertDefault.sh
6 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * text3.C (dispatch): change the layout to "Caption" after inserting
11 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
13 * text3.C (dispatch): fix language problem in newly created
14 textinsets (and main text) in non-english docs
16 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
18 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
19 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
20 * text3.C (getStatus): disable LFUN_INSET_MODIFY
22 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
27 * rowpainter.C (getFont): Fix metrics bug introduced by inset
30 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
32 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
33 output of \item arguments without trailing text.
35 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * FontIterator.C (operator*): avoid a copy of the font.
39 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
41 * rowpainter.C (getFont): fix language bug from previous fix
43 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
45 * rowpainter.C (RowPainter, getFont): fix font inside inset
48 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
50 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
51 preventing inserted font, deco, delim insets jumping to start of
54 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * lyxfunc.C (dispatch): translate message before sending it to the
59 2005-03-29 Angus Leeming <leeming@lyx.org>
61 * lyx_main.C (priv_exec): call os::internal_path on each file passed
62 to LyX on the command line.
64 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
66 * vc-backend.C: use QuoteName to protect file names wherever
69 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
72 * BranchList.h: fix bugs 1844,1845: document settings don't
75 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * lyxrc.C (setDefaults, read, output, getDescription): add support
78 for tex_allows_spaces.
80 * exporter.C (Export): allows files in directory containing spaces
81 if tex_allows_spaces is true.
83 * buffer.C (makeLaTeXFile): if the document path contains spaces,
84 output it in double quotes.
86 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
88 * rowpainter.C: use default text height for drawing change tracker
91 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
93 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
95 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
100 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
102 * text2.C: fixed the fix, extended to other case.
104 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
106 * text2.C: fix for cursor up/down stuck in math [bug 1792]
108 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
110 * text2.C (cursorUp): get rid of a crash
111 * text.C (x2pos): add an assert
113 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * lyxfunc.C (getStatus): fix warning when assertions are disabled
119 * dociterator.C: include <boost/current_function.hpp>, which is
120 needed when assertions are disabled.
122 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
124 * text2.C: fix for stuck cursor when traversing two
125 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
127 2005-02-25 Andreas Vox <avox@arcor.de>
129 * output_docbook.C (makeParagraph): suppress trailing newline
130 after a run of paragraphs
132 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
134 * paragraph.C: fix for confused change tracker when pasting
135 text that begins with a lineseparator. [bug 1827]
136 (setChange(0, Change::INSERTED);)
138 * paragraph_funcs.C: fix for lost changes on triple-paste
139 in change tracking mode [bug 1827] (par.setChange()).
141 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * text2.C (updateCounters, setCounter, expandLabel): move to
146 * buffer_funcs.C (updateCounters): turn into a free standing
147 function and add a buffer parameter. Remove dead code for tracking
149 (setCounter): change into a free-standing function which gets a
150 dociterator as argument. Use this iterator to fix captions in a
151 simple way. When no float is found above the caption, use the
152 labelstring of the caption layout as default.
154 * text.C (breakParagraph, backspace):
155 * text2.C (init, setLayout, changeDepth):
156 * text3.C (dispatch):
157 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
160 * dociterator.C (forwardPar): make it much faster by calling
161 forwardPos() only when really necessary.
163 * output_docbook.C (makeCommand): adapt to expandLabel move.
165 * cursor.C: remove unused variable
167 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
169 * paragraph_funcs.C: fix crash when pasting insets in change
170 tracking mode [bug 1277] (honour change type in moveItem).
172 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
174 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
176 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
178 * BufferView.C (setCursor): change to use a DocIterator.
179 (gotoLabel): use BufferView::setCursor (other part of bug 781).
180 (putSelectionAt): adapt to BufferView::setCursor change.
182 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
183 moved here from LyXText and rewritten to use proper cursor
184 methods. Fixes bug 1787, 616 and 835.
186 * BufferView_pimpl.C (restorePosition): set the cursor correctly
187 when inside an inset (part of bug 781).
188 (dispatch): adapt to change of BufferView::setCursor.
189 (getStatus, dispatch): handle LFUN_GOTOERROR,
190 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
192 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
193 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
194 * text3.C (gotoNextInset, gotoInset): removed.
196 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
198 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
200 2005-02-15 Angus Leeming <leeming@lyx.org>
202 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
203 can be used meaningfully in a comparison.
205 2005-02-13 André Pönitz <poenitz@gmx.net>
207 * bufferview_funcs.C (coordOffset): improve cursor drawing
209 2005-02-13 André Pönitz <poenitz@gmx.net>
211 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
212 * Cursor.C (dispatch): use fixIfBroken
213 * lyxfunc.C (getStatus): use fixIfBroken
215 2005-02-15 Angus Leeming <leeming@lyx.org>
217 * lyx_main.C (error_handler):
219 * lyxrc.C (setDefaults):
221 #include "environment.h".
223 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
225 2005-02-15 Angus Leeming <leeming@lyx.org>
227 * lyxserver.C (startPipe): squash MSVC warning "local variable
228 'fd' used without having been initialized".
230 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
232 * BufferView_pimpl.C: revert accidental commit.
234 2005-02-14 André Pönitz <poenitz@gmx.net>
236 * dociterator.[Ch]: new member forwardPosNoDescent(),
237 which doesn't enter nested insets.
238 * text2.C (setFont): use forwardPosNoDescent() instead
239 of ForwardPos() (fixes crash on font change).
241 2005-02-13 Angus Leeming <leeming@lyx.org>
243 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
244 only if lyxrc.path_prefix is not empty.
246 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
248 * bufferparams.C (readGraphicsDriver): prevent crash
250 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
252 * text2.C (setCounter): check for inInset() == 0
254 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
256 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
257 but use update() to get correct screen display; use convert
258 instead of istringstream.
259 (getStatus): handle LFUN_GOTO_PARAGRAPH
261 * lyxfunc.C (dispatch, getStatus): do not handle
262 LFUN_GOTO_PARAGRAPH here.
264 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
266 * text3.C (dispatch): size() -> depth()
268 * text2.C: remove some debug output
270 * paragraph.C: ws changes only
272 * lyxfunc.C (getStatus): size() -> depth()
274 * dociterator.h (clear, push_back, pop_back, internalData,
275 operator[], resize, empty): new functions
276 Make StableDocIterator and operator== be friends. Don't inherit
277 from std::vector use a privat class variable slices_ instead.
280 * dociterator.C: update because of not inheriting from std::vector
281 anymore. Call explictly to slices_ instead. Use depth() instead of
282 size() and top() instead of back()
284 * cursor.C: chagne size() -> depth and back() -> top(). Also
285 remove some direct operator[](i) calls in favour of foo[i]
286 (getFont): remove some dead code
288 * bufferview_funcs.C (coordOffset): size() -> depth()
290 * buffer.C: ws changes only
292 * CutAndPaste.C (eraseSelection): back() -> top()
294 * BufferView_pimpl.C (selectionRequested): back() -> top()
296 * BufferView.C (setCursor): size() -> depth()
298 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
300 * text3.C (cursorPrevious): return true if depm changed something
302 (dispatch): rename sl to oldTopSlice, remove moving use the new
303 NoUpdate func attrib instead. Make sure that needsUpdate is set
304 for function that have NoUpdate, but where depm might have changed
307 * text2.C (cursorLeft): make us return true if depm changed
310 (cursorUpParagraph): ditto
311 (curosrDownParagraph): ditto
312 (cursorUp, cursorDown): ditto, make sure to read comments in code
313 (deleteEmptyParagraphMechanism): remove an assert, also return
314 true if just a single char was deleted.
316 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
317 cursor that we modify, to avoid modifying an active cursor before
318 we call setCursor. This allows depm to run. Also return true if
319 depm deleted something.
321 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
322 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
323 cursorDownParagraph, cursorPrevious and cursorNext, return true if
324 something was changed in the buffer because of them (ie. depm run)
326 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
327 debug messages. Make update by default be false. Make sure that
328 the result of update is retained throught several calls down to
331 * LyXAction.h: add a new func_attrib: NoUpdate
333 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
334 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
335 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
337 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
339 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
342 bv_->owner(), bv_->buffer() by direct references to the private
344 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
345 (getStatus): isSavedPosition() is in BufferView::Pimpl.
346 (fitCursor): center() is in BufferView::Pimpl.
347 (getStatus, trackChanges, dispatch): no need for a temporary buf
349 (fitCursor, workAreaDispatch): use workarea().workheight()
351 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
353 * CutAndPaste.C (pasteSelectionHelper): fix a crash
355 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
357 * buffer.C: format up to 241.
358 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
359 break if pasting into ERT
360 * lyxfunc.C (getStatus): suppress mathpanel and
361 LFUN_DIALOG_SHOW_NEW_INSET in ERT
363 2005-02-01 Angus Leeming <leeming@lyx.org>
365 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
367 2005-02-01 Angus Leeming <leeming@lyx.org>
369 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
370 calling fs::is_directory().
372 2005-01-31 Angus Leeming <leeming@lyx.org>
374 * lyx_main.C (priv_exec): specify explicitly the relative location
375 of the top level build directory when run in-place.
377 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
379 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
380 LyXText containing the cursor, not the top-level one.
382 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
384 (insertStringAsLines): rename par to pit; use temporary variable
385 par to hold a Paragraph; do not store par.layout() in a variable,
386 since the pointer may die when breaking paragraphs; pass pars to
387 breakParagraph() instead of Buffer::paragraphs().
389 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
391 * lyxlex_pimpl.h: #include <fstream>.
393 * BufferView.[Ch] (getLyXText): add a const version.
395 * BufferView_pimpl.C: add debug aids.
400 * paragraph_funcs.h: add commentary explaining what the class does.
403 * coordcache.[Ch]: add lots of commentary.
404 (startUpdating, doneUpdating): debug aids.
405 (arrays, insets, parPos, getParPos): accessors to private data.
407 * cursor_slice.[Ch] (text): add a const version.
408 * dociterator.[Ch] (text, innerText): add const versions.
410 * lyxtext.h (breakParagraph): change the keep_layout arg to a
413 * paragraph.C (getRow, pos2ros): add asserts.
415 * paragraph.h: add commentary. Lots of.
417 * paragraph.[Ch] (metrucs, draw): removed.
420 * rowpainter.[Ch]: const-correct changes.
422 * text.C: various obvious clean-ups. Removal of ancient cruft.
425 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
427 * vc-backend.C (find_file): rewrite to use boost.filesystem
430 * main.C (main): set default name check for boost.filesystem to
433 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
436 (actOnUpdatedPrefs): ditto
438 * lyx_main.C (init): rewrite to use boost.filesystem
439 (queryUserLyXDir): ditto
441 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
442 (getContentsOfAsciiFile): ditto
444 * lastfiles.C (readFile): rewrite to use boost.filesystem
446 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
448 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
451 * buffer.C (Buffer): adjust for destroydir
452 (getLogName): rewrite to use boost.filesystem
454 (save): use fs::copy_file (from fs_extras)
456 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
458 * LaTeX.C (run): rewrite to use boost.filesystem
459 (scanAuxFiles): ditto
460 (handleFoundFile): ditto
462 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
464 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
466 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
468 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
470 * lyxlayout.[Ch]: change some vars from float to double
472 * buffer.C (readFile): make a local var const
474 * Several files: use convert<> instead of atoi,strToXXX and friends
476 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
478 * LaTeXFeatures.[Ch]: Add a static list packages_ that
479 holds the contents of packages.lst. New functions getAvailable
480 and isAvailable to parse and check that list, resp.
484 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
486 * bufferparams.[Ch]: new param output_changes.
488 * Buffer.C: increase file format to 240.
489 Use output_changes and isVailable.
493 * paragraph_pimpl.C: Use output_changes and isVailable.
495 2005-01-23 Angus Leeming <leeming@lyx.org>
497 * output_latex.C: #include "insetbibitem.h", rather than
498 forward declare function bibitemWidest.
500 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
502 * lyx_main.C (init): make it compile on the Mac.
504 2005-01-20 Angus Leeming <leeming@lyx.org>
506 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
507 (setLyXMisc): (char string literal) != (char string literal) is
508 performing a comparison on the addresses. Convert one operand
509 explicitly to string to guarantee expected behaviour.
512 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
515 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
517 * output_plaintext.C: remove unneeded #include gzstream.h.
519 2005-01-20 Angus Leeming <leeming@lyx.org>
521 * SpellBase.h: rename some of the elements of the Result enum.
528 * pspell.C (check): ditto
530 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
532 * buffer.C: add #include <fstream>.
534 * lyx_main.C (init): Compile fix.
536 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
538 2005-01-20 Angus Leeming <leeming@lyx.org>
540 * mover.h: change commentary to reflect the changed meaning of
543 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * output_linuxdoc.C (linuxdocParagraphs): silence warning
547 * lyxfind.C (MatchString::operator()): remove bogus semicolon
549 2005-01-20 Angus Leeming <leeming@lyx.org>
551 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
552 printing diagnostic data by not dereferecing an iterator past the
555 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
557 * buffer.C (readHeader): use "&&" rather than "and".
559 * lyxserver.h (inPipeName, outPipeName): make these const.
561 2005-01-19 Angus Leeming <leeming@lyx.org>
563 * lyx_main.C (error_handler, init): protect SIGHUP with
564 #ifdef SIGHUP guards.
566 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
568 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
570 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
572 * text.C (setHeightOfRow): add a margin at the top and bottom of
573 the document (bug 1761)
575 2005-01-17 Angus Leeming <leeming@lyx.org>
577 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
578 with "python ". Workaround for a brain-dead Windows.
580 2005-01-16 Angus Leeming <leeming@lyx.org>
582 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
583 for MacOSX and Windows to use prependEnvPath.
584 Strip out the hard-coded block to add elements to the PATH for
585 MacOSX and replace it with a call to prependEnvPath using the
586 contents of LyXRC::path_prefix.
587 (queryUserLyXDir): strip out the code to run reconfigure, instead
588 returning a boolean indicating the necessity to do so.
589 (reconfigureUserLyXDir): contains the code to reconfigure the
590 user support directory. Is now called after the various LyXRC data
591 files have been read.
593 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
595 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
597 * converter.[Ch] (convert): take a new parameter try_default. Use
598 a default converter (imagemagick) if try_default is true.
600 2005-01-13 Angus Leeming <leeming@lyx.org>
602 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
604 (write): output LyXRC::cygwin_path_fix as necessary.
606 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
609 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
611 2005-01-12 Angus Leeming <leeming@lyx.org>
613 * lyx_main.C (init): set the PATH variable to include the
614 directory containing the LyX binary when running on Mac or Windows.
616 2005-01-12 Angus Leeming <leeming@lyx.org>
618 * lyx_main.C (init): remove cruft that purports to set the locale
619 dir. It doesn't and is not needed anyway.
621 2005-01-10 Angus Leeming <leeming@lyx.org>
623 * Makefile.am: remove the lyx_main.C special casing.
625 * BufferView_pimpl.C:
631 * messages.C: use support/package.h to provide the paths to the
632 various directories used by LyX.
634 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
636 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
637 layout if pasting into an empty paragraph)
639 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
641 * tex-accent.C: add <string>
643 2005-01-06 José Matos <jamatos@lyx.org>
645 * ParagraphParameters.C (write): put every parameter in its own line.
646 * paragraph.C (write): reduce number of consecutive empty lines exported.
647 * buffer.C (LYX_FORMAT): increase file format to 239.
649 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
651 * everywhere: change support/tostr.h -> support/convert.h
653 * tabular.C: make all write_attributes templates, tostr -> convert
655 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
656 (emptyTag): and -> &&, and fix type for ret from getChar
657 (getFirstWord): fix type for ret from getChar
658 (onlyText): and -> &&
659 (simpleDocBookOnePar): and not -> && !, fix type for ret from
662 * toc.C (goTo, action):
663 * text3.C (dispatch):
664 * text.C (currentState):
665 * tex-accent.C (DoAccent):
668 * lyxfunc.C (menuNew):
669 * lyxfinc.C (replace):
670 * counters.C (laberItem):
671 * bufferview_funcs.C (font2string):
672 * bufferparams.C (writeFile):
673 * buffer.C (readFile):
675 * MenuBackend.C: tostr -> convert
677 * LaTeX.C (runMessage): fix format
678 (scanAuxFiles): tostr -> convert
680 * BufferView_pimpl.C (savePosition): fix format
681 (restorePosition): ditto
684 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
686 * Spacing.[Ch]: New method getValueAsString().
690 * ParagraphParameters.C:
693 * text3.C: store/read spacing value as string.
695 * rowpainter.C: change float value (spacing_val) to double.
697 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
698 broken custom document spacing).
700 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
702 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
703 namespace, also more use of temp references and const
705 * cursor.[Ch] (getStatus): move to lyxfunc.C
707 * bufferparams.C: reformat slightly
709 * bufferview_funcs.C (font2string): constify arg
715 * buffer_funcs.C: (many funcs): constify arg on function
716 definitions, also make more local vars const, also add ASSERTS on
719 * buffer.C (LYX_FORMAT): put const in correct place
720 (many funcs): constify arg on function definitions, also make
721 more local vars const
723 * aspell_local.h: remove "struct" from typdef setup
725 * aspell.C (check): make word_ok const
726 (nextMiss): simplify slightly
729 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
731 * lyxrc.[Ch]: store all float values as strings.
732 use int (not float) for lyxrc.dpi.
734 2005-01-04 Angus Leeming <leeming@lyx.org>
736 * lyx_cb.C (Reconfigure):
737 * lyx_main.C (queryUserLyXDir):
738 to run the <system_lyxdir>/configure correctly on Windows, prefix
739 the path to the script with "sh " when generating the string that
740 is passed to system().
742 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
744 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
746 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * lyxlength.C (asLatexString): get rid of setprecision
750 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
752 * text2.C (setLayout): remove unused variable endpit.
753 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
755 * paragraph.C (onlyText): remove unused variable style.
757 * cursor.C (bruteFind): remove unused variables beg and end.
759 * Makefile.am (dist_noinset_DATA): not needed anymore
761 * cheaders/*: remove.
763 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
765 * text3.C: fix LFUN_MATH_MODE.
767 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
769 * buffer_funcs.C (countWords): new function. Counts words between
772 * BufferView_pimpl.C (getStatus, dispatch): handle
775 * LyXAction.C (init):
776 * lfuns.h: add LFUN_WORDS_COUNT.
778 2004-12-19 Angus Leeming <leeming@lyx.org>
780 * buffer.C (save): s/slashify_path/internal_path/.
782 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
784 * lyxfind.C (findChange): do not search for end of pars, because
785 the change tracker cannot handle this (fixes bug 1719).
787 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
789 * paragraph.[Ch] (autoBreakRows): remove
791 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
793 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
794 avoid using the paragraph one
796 * text2.C (LyXText, insertStringAsLines): adjust
798 2004-12-16 Angus Leeming <leeming@lyx.org>
802 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
804 2004-12-14 Angus Leeming <leeming@lyx.org>
806 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
808 * bufferlist.C (emergencyWrite):
809 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
812 2004-12-14 Angus Leeming <leeming@lyx.org>
814 * main.C: (main): no longer pass pointers to os::init.
816 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
818 * undo.C (textUndoOrRedo): simplify logic, fix a crash
819 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
821 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
824 * text3.C: remove selection_possible global flag
826 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
828 * text2.C (getSelectionSpan): remove
829 (changeDepth, changeDepthAllowed): adjust
831 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
833 * Makefile.am (BOOST_LIBS): use boost variables
835 2004-12-03 José Matos <jamatos@lyx.org>
837 * buffer.C: format up to 238.
839 2004-12-03 José Matos <jamatos@lyx.org>
841 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
843 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
845 * cursor.C (goUpDown): remove call to idxUpDown2
847 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
849 * tabular.[Ch]: use size_t-like types for cell, row and column
852 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
854 * lyxfunc.C (getStatus): do not lose previous information when
855 calling BufferView::getStatus; do not set a default "Command
856 disabled" message at the beginning, but just before returning.
858 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
860 * cursor.h (getStatus): add better comment from src/cursor.C
862 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
864 * text3.C (getStatus): return false when the lfun is not handled
866 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
868 * broken_headers.h: remove
870 * Makefile.am (lyx_SOURCES): remove broken_headers.h
872 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
874 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
877 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
878 top_y_, merge fitcursor with update
879 (updateScrollbar, scrollDocView, fitCursor, center, update): new
882 (workAreaDispatch): adapt to new coord scheme
883 (redoCurrentBuffer): remove
885 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
887 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
890 * coordcache.[Ch]: add paragraph cache and helpers
892 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
895 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
896 (targetX, setTargetX): introduce
898 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
899 baseline -> ascent, as the rest of lyx
901 * lyxtext.h: remove redoParagraphs, updateParPositions,
902 fullRebreak, redoParagraphInternal. move dist to anon namespace in
903 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
904 have ascent/descent (ascent is ascent of first par)
906 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
909 * paragraph.[Ch]: unify dimension handling with the rest of lyx
911 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
913 * pariterator.C: fix infinite loop introduced in par->pit renaming
915 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
916 in insets and LyXText, draw two off-screen paragraphs using
917 NullPainter, and adapt to new coord scheme
921 * text3.C: adapt lfun handlers to the new coord scheme, which
922 means: there's only guaranteed coord information for onscreen pars
923 plus one above and one below. This implies that one can do search
924 from y coordinates in the range [-1,workHeight]
926 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
928 * rename a lot of InsetOld to InsetBase
930 2004-11-25 Angus Leeming <leeming@lyx.org>
932 * BufferView_pimpl.C:
934 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
936 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
938 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
939 call BufferView::getStatus if LCursor::getStatus did nothing
940 (setStatusMessage, getStatusMessage): removed.
942 * FuncStatus.C (message): new methods. Used to provide an error
943 message indicating why a command is disabled.
944 (clear, |=, FuncStatus): update for message.
946 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
948 * lyxfunc.C (dispatch): always call sendDispatchMessage
950 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
953 * BufferView_pimpl.C:
967 * undo.C: par->pit renaming
969 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
971 * tabular.C (cellstruct): use initialization, store a shared_ptr
972 to insettext instead of the insettext directly, adjust to fit.
973 (operator=): new function
975 (rowstruct): use initialization
976 (columnstruct): use initialization
977 (ltType): use initialization
980 * lyxlength.h (swap): new function
982 * LColor.[Ch] (operator=): use the common semantics
984 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
986 * lyxfind.C (findNextChange): update the bufferview after setting
989 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
991 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
992 number of InsetOptArgs has already been inserted.
994 * output_latex.C (latexOptArgInsets): new method. This outputs all
995 the optarg insets, up to the limit defined in the layout file.
996 (optArgInset): removed
997 (TeXOnePar): call latexOptArgInsets; correctly update texrow
999 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1001 * paragraph.C (isLetter): remove special spellchecker-related
1002 code; return true also for digits
1003 (isWord, isKomma): remove
1005 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1006 * lyxfind.C (MatchString()): use isLetter instead of isWord
1008 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1010 * pariterator.h (operatir=): comment out un-implemented member
1013 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1016 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1018 * lyxfont.h: include LColor.h to satisfy concept checks.
1020 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1022 * pariterator.h: add typdefs for value_type, difference_type,
1023 pointer and reference to satisfy concept checks. Also add default
1024 constructor for same reason.
1026 * pariterator.C (operator++): add post-increment operator to
1027 satisfy concept checks.
1029 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1032 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1034 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1035 checks. Also rename base_type to BaseType to follow naming
1038 * FloatList.h: include Floating.h to satisfy concept checks.
1040 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1042 * lyxfunc.C (getStatus): when the origin of the request is menu or
1043 toolbar, and the LyXView does not have focus, do as if there was
1044 no buffer (bug 1720)
1046 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1047 FuncRequest to individual entries of LFUN_SEQUENCE
1049 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * output_latex.C (TeXOnePar): override runparams.moving_arg
1052 according to the needprotect value of the current paragraph (bug
1055 * paragraph.C (simpleTeXOnePar): no need to override
1056 runparams.moving_args here
1058 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1060 * vspace.C: fix off-by-one-error, related to fix #1682
1062 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1064 * lengthcommon.C: a more general fix for bug 1682
1066 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1068 * text.C (backspace): fix crash
1070 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1072 * format.[Ch] (getFormatFromFile): new method
1073 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1075 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1077 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1079 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1081 * lyxfunc.C (dispatch): remove the verbose argument
1082 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1085 * kbmap.C (defkey): set the origin of func to KEYBOARD
1087 * MenuBackend.C (MenuItem):
1088 * ToolbarBackend.C (add): set the origin of func to UI
1090 * funcrequest.[Ch]: add origin member, which indicates which part
1091 of LyX requests an action
1093 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1095 * converter.C (move): don't lie in the error message
1096 * converter.h (isReachable, move): document
1098 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1100 * buffer.C: remove unused using lyx::support::atoi
1101 * paragraph_funcs.C: ditto
1103 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1105 * bufferlist.C (exists): use bind and equal_to instead of
1108 * lyxtextclasslist.C (NumberOfClass): ditto
1110 * cursor.C (insert): use for_each instead of explicit for loop
1112 * bufferlist.C (getFileNames): use std::transform and
1113 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1115 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1118 * buffer.C (changeLanguage): use for_each instead of explicit for
1120 (hasParWithID): implement using getParFromID
1122 * LaTeXFeatures.C: ws change only
1124 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1127 * BufferView_pimpl.C (trackChanges): use for_each instead of
1130 2004-11-04 André Pönitz <poenitz@gmx.net>
1133 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1135 * dociterator.C (asDocIterator): use hard assert again.
1137 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1139 * lyxlength.C (asLatexString): rewrite so that it does not use
1142 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1144 * text3.C (specialChar, dispatch): make sure cursor moves to the
1145 right after inserting an inset
1147 2004-11-02 José Matos <jamatos@lyx.org>
1149 * output_docbook.C (docbook):
1150 * paragraph.C (getID):
1151 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1152 garantee that the output is always legal.
1154 * tabular.C (docbook):
1155 * outputprams.[Ch]: remove mixed contents.
1157 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1159 * text2.C (setCounter): prevent endless loop
1161 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1163 * exporter.C (copyFile): use the mover instead of support::copy()
1164 * exporter.C (Export): pass format and latex name to copyFile()
1165 * exporter.h (addExternalFile): document
1166 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1168 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1170 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1172 2004-10-30 José Matos <jamatos@lyx.org>
1174 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1175 text and no inset or font change. This allows to use CDATA
1176 sections just for the whole paragraph.
1178 2004-10-30 José Matos <jamatos@lyx.org>
1180 * paragraph.C (getFirstWord): remove unused variable.
1182 2004-10-30 José Matos <jamatos@lyx.org>
1184 * paragraph.C (getFirstWord): the content should always be escaped
1186 (simpleDocBookOnePar):
1187 * output_docbook.C (makeEnvironment): replace reference to CDATA
1190 2004-10-30 José Matos <jamatos@lyx.org>
1192 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1194 2004-10-30 José Matos <jamatos@lyx.org>
1196 * output_docbook.C (makeParagraphs):
1197 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1198 standard paragraph has only a given type of content drop the wrapper.
1200 2004-10-29 José Matos <jamatos@lyx.org>
1202 * output_docbook.C (makeEnvironment):
1204 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1206 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1208 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1209 (cleanID): sanitize any id.
1211 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1213 * buffer.C, lyxlex_pimpl.C:
1214 * lyxlex_pimpl.C (setFile):
1215 s/getExtFromContents/getFormatFromContents/
1217 2004-10-28 José Matos <jamatos@lyx.org>
1219 * output_docbook.C (makeEnvironment): move id to broadest possible
1222 * sgml.C (openTag): apply substitution of <> for all attributes.
1224 2004-10-28 José Matos <jamatos@lyx.org>
1226 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1227 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1228 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1230 * sgml.[Ch]: new version for open and closeTag for paragraph and
1231 for strings. Now they handle the ids of paragraphs.
1233 2004-10-26 Angus Leeming <leeming@lyx.org>
1235 * Makefile.am: add mover.[Ch].
1237 * converter.C (convert, move): use the new Movers to move external
1238 files to the temp directory.
1240 * lyx_main.C (init): ensure that the global system_movers data
1243 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1246 * mover.[Ch]: new files, defining a Mover as a utility to move an
1247 external file between directories and, if necessary, manipulate this
1248 file using a helper script.
1250 2004-10-25 José Matos <jamatos@lyx.org>
1252 * output_docbook.C (makeCommand): merge two if's that tested the
1255 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1257 * sgml.C (escapeString): fix warning in a better way
1259 2004-10-25 José Matos <jamatos@lyx.org>
1261 * sgml.C (escapeString): import the require boosts header file for
1262 tie, and avoid a signed unsigned comparison.
1264 2004-10-25 José Matos <jamatos@lyx.org>
1266 * sgml.h: add #include <string>
1268 2004-10-25 José Matos <jamatos@lyx.org>
1270 * sgml.[Ch] (escapeString): new function to escape all the string.
1272 2004-10-24 José Matos <jamatos@lyx.org>
1274 * paragraph.[Ch] (getFirstWord): new function to get the first
1275 word. Useful for description.
1276 (simpleDocBookOnePar): remove depth argument, add another that
1277 says where to start the paragraph.
1279 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1280 use the new functions to fix cleanly the support for descriptions.
1282 2004-10-24 José Matos <jamatos@lyx.org>
1284 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1285 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1286 * output_linuxdoc.C (linuxdocParagraphs):
1287 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1288 add buffer as argument.
1290 2004-10-24 José Matos <jamatos@lyx.org>
1292 * output_docbook.C (makeEnvironment, searchEnvironment): place
1293 CDATA inside paragraphs and fix scope for listitems.
1295 2004-10-24 José Matos <jamatos@lyx.org>
1297 * output_docbook.C: remove using statement for stack.
1299 2004-10-23 José Matos <jamatos@lyx.org>
1301 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1302 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1303 docbook. The new scheme is recursive and makes use of iterators, the
1304 same as latex export works.
1305 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1306 directly with the paragraph contents. This code was moved up to
1307 output_docbook.C (docbookParagraphs).
1308 * sgml.C (openTag, closeTag): removed unneeded newlines.
1309 (closeEnvTags) removed.
1311 2004-10-23 André Pönitz <poenitz@gmx.net>
1313 * undo.C (textUndoOrRedo):
1314 * dociterator.C (asDocIterator): work around crash
1316 * cursor.C (getStatus): replace ASSERT by more verbose error message
1317 and manual correction of the problem. Should increase stability
1318 while providing more sensible information.
1320 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1322 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1324 * bufferlist.C (previous, next): new methods
1327 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1329 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1331 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1332 entities to preamble.
1334 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1336 * messages.C (Pimpl): strip off translation context information
1338 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1340 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1341 the cursor is correct (bug 1694)
1343 2004-10-13 José Matos <jamatos@lyx.org>
1345 * output_docbook.C (docbookParagraphs): fix closing tags in the
1346 end of the document.
1348 2004-10-09 José Matos <jamatos@lyx.org>
1350 * buffer.C: format up to 237.
1351 * bufferparams.C (write): use tostr to convert booleans to strings.
1353 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1355 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1357 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1359 * LaTeX.C: implement use of babel language in xindy.
1361 2004-10-05 José Matos <jamatos@lyx.org>
1363 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1364 Add new translators to help reading and writing the lyx file.
1366 2004-10-05 José Matos <jamatos@lyx.org>
1368 * ParagraphParameters.C (read):
1369 * text.C (readParToken): replace nexToken by more appropriate lex
1372 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1374 * LaTeX.C (runMakeIndex):
1375 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1376 (usually 'makeindex') configurable.
1378 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1379 with a variable rather than with a number.
1381 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1383 * output_latex.C (TeXOnePar): make sure font setting is the first
1384 thing that gets output (and the last at the end). Should fix bug
1387 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1389 * pch.h: use proper signal include
1391 * LaTeX.h: Use preferred calling of Boost.Signal
1394 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1396 * pch.h: dont include <boost/function/function0.hpp>
1398 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1400 * paragraph_pimpl.h: remove usage of ShareContainer
1402 * paragraph_pimpl.C: remove initialization of ShareContainer.
1404 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1408 * BufferView.C (putSelectionAt): change the semantics when
1409 backwards == true: now, this just swaps cursor and anchor wrt the
1412 * BufferView.h (putSelectionAt): add some documentation
1414 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1415 make sure backwardChar is done at least once (to avoid getting
1417 (findNextChange): use putSelectionAt in the forward direction
1418 (operator()): use Paragraph::isWord
1420 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1422 * Spacing.C (set): c_str fix
1424 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1426 * lyx_cb.C (Reconfigure): quote the name of configure script in
1427 case it contains spaces
1429 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1433 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1434 (BOOST_LIBS): use top_buildir when looking for the file
1436 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1438 * pch.h: do not use include boost/format.hpp, multiple symbols
1439 will result (gcc bug)
1442 2004-08-23 José Matos <jamatos@lyx.org>
1444 * bufferparams.C (readToken): fix reading of the author field.
1446 2004-08-20 José Matos <jamatos@lyx.org>
1448 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1450 2004-08-20 José Matos <jamatos@lyx.org>
1452 * lyxlex.[Ch] (findToken): remove function.
1454 * ParagraphParameters.C (findToken):
1455 * bufferparams.C (findToken): replace call for previous function
1456 with local copy. This local function has one more argument, the
1457 read string argument.
1459 2004-08-16 José Matos <jamatos@lyx.org>
1461 * ParagraphParameters.C (write):
1462 * Spacing.C (writeFile):
1463 * bufferparams.C (writeLaTeX):
1464 * lyx_cb.C (Reconfigure):
1465 * paragraph.C (write):
1466 * tabular.C (write): remove unnecessary space at end of line.
1469 2004-08-16 José Matos <jamatos@lyx.org>
1471 * text.C (readParagraph): remove debug message.
1473 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1475 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1478 * output_plaintext.C (asciiParagraph): set depth correctly
1480 * outputparams.h: add member depth
1482 * paragraph_funcs.C (ownerPar): remove.
1484 * text2.C (setCounter): remove first_pit; comment out some
1485 non-working code that uses ownerPar
1487 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1490 2004-08-16 José Matos <jamatos@lyx.org>
1492 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1493 For the same level of importance use the same chanel to report problems.
1494 (read): add code to deal with \begin_body and \end_body.
1497 2004-08-15 José Matos <jamatos@lyx.org>
1499 * lyxlex.C (getString): fix comment, buffer::readBody is now
1500 buffer:readDocument.
1502 * tex-strings.C (string_papersize): Default -> default,
1503 Custom -> custom, for consistency with other options.
1505 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1509 * Makefile.am: support pch
1511 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1513 * text.C (readParToken): remove the static LyXFont variable and
1514 pass it as a parameter instead. This fixes a nasty bug where an
1515 inset will be inserted with a bad font in some situations
1516 (readParagraph): adapt
1518 * text2.C (setCounter): reduce number of calls to pars_[pit]
1520 * text.C (singleWidth): add an assert, fix a test
1522 * rowpainter.C (paintText): reduce number of calls to singleWidth
1524 * paragraph.C (isHfill):
1525 (isNewline): ws only
1527 2004-08-14 André Pönitz <poenitz@gmx.net>
1532 * lyxtext.h (several functions): use a Paragraph & argument
1535 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1537 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1539 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1541 * text.C (singleWidth): remove useless test
1543 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1545 * tabular.h: remove bogus comments
1547 * tabular.C (getDescentOfRow):
1548 (isPartOfMultiColumn): add assertions
1550 * lyxlength.C (inPixels): remove #warning
1552 2004-08-14 André Pönitz <poenitz@gmx.net>
1554 * paragraph.h: inline getChar()
1556 * BufferView.h: remove unused declarations
1558 2004-08-14 José Matos <jamatos@lyx.org>
1560 * Buffer.[Ch] (readDocument): new name for old readBody.
1561 * Buffer.C: new file format, new keywords: \begin_document,
1562 \begin_header, \begin_body, \end_body.
1564 * bufferparams.C (readToken): replace all calls to lex.nextToken
1565 by lex.next(). Do the same to eatLine except where really needed.
1567 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1568 line when writing to the lyx file.
1570 * output_plaintext.C (asciiParagraph): fix Bibliography style
1573 * text.C (read): fix end of file handling.
1575 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1577 * MenuBackend.C (Menu::operator[]): new method to access
1578 individual menu items
1579 (Menu::hasFunc): new method. search for an item that corresponds
1581 (MenuBackend::specialMenu): new method
1582 (MenuBackend::expand): if a special menu has been set, skip
1583 entries whose func() appears in this menu
1585 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1587 * text3.C: use Debug::DEBUG a bit more
1589 * text.C (leftMargin): try to simplify a tiny bit change var x to
1590 l_margin. Dont output the wide margins always.
1591 (rightMargin): no margin in inner texts
1593 * rowpainter.h (nestMargin): new func
1594 (changebarMargin): new func
1595 (rightMargin): new func
1597 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1601 * factory.C (createInset): modify setDrawFrame
1603 * cursor.C: use Debug::DEBUG a bit more
1605 2004-08-14 André Pönitz <poenitz@gmx.net>
1608 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1609 cache for all insets in (at least partially) visible (top-level)
1612 * BufferView_pimpl.C: reset external coord cache before every update.
1613 This means the coord cache only contains valid entries.
1615 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1618 * BufferView_pimpl.C (getInsetByCode): move function out of class
1619 and change in to a template in anon namespace. Also fix to do what
1622 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1625 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1627 (breakParagraph): rename par to par_offset and use a local
1628 reference. Add code to keep the language over a rebreak.
1629 (breakParagraphConservative): rename par to par_offset, use a
1631 (mergeParagraph): ditto
1633 (isFirstInSequence): ditto
1634 (outerFont): rename pit to par_offset
1636 * paragraph.C: ws change
1637 * paragraph.h: ditto
1641 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1643 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1646 * paragraph.C (simpleTeXOnePar): when we have a \item with
1647 optional argument, enclose the argument with curly brackets (in
1648 case it contains a closing square bracket)
1652 * text3.C (checkInsetHit): constify
1654 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1656 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1657 documents (bug 1629)
1659 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1661 Fix toggling of collapsable insets with the mouse (bug 1558)
1663 * lyxfunc.C (dispatch): adapt to LCursor changes
1665 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1666 make sure that dispatch is not invoked twice
1668 * cursor.C (needsUpdate): new method
1669 (dispatch): return void
1670 (result): new method, to access the DispatchResult of the cursor.
1672 2004-08-13 José Matos <jamatos@lyx.org>
1674 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1676 2004-08-13 André Pönitz <poenitz@gmx.net>
1678 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1680 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1683 2004-08-12 André Pönitz <poenitz@gmx.net>
1685 * text3.C: take out the 'cursor right' form insertInset and only
1686 do it in those places when it is really needed. Fixes crash on
1689 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1691 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1693 * BufferView_pimpl.C (setBuffer): initialize the current font of
1694 the underlying LyXText
1696 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1698 * kbsequence.C (print): use UI native formatting for menu
1701 * text.C (insertChar): call Paragraph::insertChar with a font
1704 * paragraph.C (insertInset, insertChar): the version that takes a
1705 LyXFont argument is now a wrapper around the other one (the
1706 opposite used to be true).
1708 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1709 argument. Font setting is done in Paragraph now.
1711 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1713 * outputparams.h: add new members intitle and lang.
1715 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1716 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1718 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1720 * text3.C (dispatch): remove special handling of button 4 and 5,
1721 it is now taken care of in the frontend code.
1723 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1725 * Spacing.h: add <string> (STLPort compile fix)
1727 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1729 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1731 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1733 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1736 * converter.C (showMessage): inherit from unary_function, make
1739 * buffer.C (writeFile): initialize retval
1741 * InsetList.h: rename private variable list to list_
1742 * InsetList.[Ch]: adjust accordingly.
1744 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1746 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1747 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1748 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1749 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1750 * ParagraphParameters.C, LaTeXFeatures.C: replace
1751 "support/std_sstream.h" with <sstream>
1753 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1755 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1756 * lyxsocket.C (LyXServerSocket): ditto
1757 (serverCallback): ditto
1759 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1761 * LaTeXFeatures.C: check release date when loading jurabib.
1763 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1765 * lyxserver.C (startPipe): call register_socket_callback
1766 (endPipe): call unregister_socket_callback
1768 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1770 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1771 (LyXServerSocket): register the callback
1772 (LyXServerSocket): unregister the callback
1773 (fd): delete function
1774 (serverCallback): improve error checking and setup the callbacks.
1775 (dataCallback): change arg to fd.
1776 (writeln): new func (copied fro the client socket) used for server
1778 (LyXDataSocket): simplify
1779 (~LyXDataSocket): close ann unregiser callback
1780 (server): delete function
1781 (fd): delete function
1782 (readln): small changes, improve some std::string usage
1783 (writeln): constify a bit
1785 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1787 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1790 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1792 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1793 after it has been populated
1795 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1797 * text2.C (insertInset): move cursor when inserting inset.
1799 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1801 * kbmap.C (findbindings): a couple of new methods. returns a
1802 container of kb_sequence objects. The real work is done by the
1803 private recursive version
1804 (printbindings): uses findbindings to print out a bracketed list
1805 of bindings (renamed from findbinding).
1807 * MenuBackend.C (binding): use kb_keymap::findbindings
1809 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1811 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1813 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1815 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1817 * paragraph.C (isWord): return true on insets that report
1820 * text.C (getWord): use Paragraph::isWord to decide what is in a
1821 word and what is not; fix bug 1609.
1823 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1825 * tex-strings.C: add "none" to string_paperpackages[], fixes
1826 off-by-one-error in the paperpackage selection.
1829 * tex-strings.[Ch]: char const * string[n]
1830 -> char const * const string[]
1832 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1834 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1835 command, return early.
1837 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1839 * debug.h: add DEBUG to enum and fix size of ANY.
1841 * debug.C: add support for Debug::DEBUG
1842 (showTags): cast errorTags.level to unsigned int
1844 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1845 (redoCurrentBuffer): ditto
1846 (updateScrollbar): ditto
1847 * cursor.C (dispatch): ditto
1848 * text2.C (setLayout): ditto
1850 (updateCounters): ditto
1852 (deleteEmptyParagraphMechanism): ditto
1854 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1856 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1857 annotations to cleanup the Makefile slightly.
1859 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1861 * lyxrc.C: do not set user_email to a default value but use empty
1862 instead. The entry used to be translated, which does not work
1863 since at the point where lyxrc is constructed there is no
1864 translation service available
1866 * messages.C (getLocaleDir): remove and use directly
1867 lyx_localedir() instead
1869 2004-06-02 Angus Leeming <leeming@lyx.org>
1871 Fix crash caused by dereferencing null pointer 'exportdata' in
1872 OutputParams by creating a new ExportData variable on the heap,
1873 storing it in a boost::shared_ptr.
1874 The crash was triggered when generating an Instant Preview
1875 of an external inset.
1877 * Makefile.am: add outputparams.C
1879 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1880 (c-tor): allocate memory to it.
1882 * exporter.C (c-tor): associated changes.
1884 2004-06-01 Angus Leeming <leeming@lyx.org>
1886 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1887 contains data before calling isInset(0). (Bug 1513.)
1889 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1891 * exporter.C (checkOverwrite): new method
1892 * exporter.C (copyFile): new method
1893 * exporter.C (Export): copy referenced files to the document dir
1894 * exporter.[Ch]: new class ExportedFile
1895 * exporter.[Ch]: new class ExportData. Contains currently the
1896 names of referenced external files
1897 * outputparams.h: add exportdata member.
1899 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1901 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1904 2004-05-19 Angus Leeming <leeming@lyx.org>
1909 * lyxfunc.C: small changes due to the introduction of namespace
1910 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1912 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1914 * text3.C (dispatch): supress update when only moving the cursor
1915 * cursor.C (selHandle): remove commented code
1917 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1919 * paragraph.C (startTeXParParams): correct column count
1920 * CutAndPaste.C (pasteSelection): remove const_cast
1921 * output_docbook.C (docbookParagraphs): remove const_cast
1922 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1923 const_cast and return ParagraphList::const_iterator
1924 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1925 * output_plaintext.C (writeFileAscii): remove const_cast
1926 * paragraph.[Ch] (simpleTeXOnePar): make const
1927 * paragraph_funcs.C (outerPar): use const iterators
1928 * paragraph_pimpl.C (validate): use const iterators
1929 * text.C (setHeightOfRow): use const iterators
1931 2004-05-17 Angus Leeming <leeming@lyx.org>
1934 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1936 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1937 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1938 if the citation engine has changed.
1940 2004-05-14 José Matos <jamatos@lyx.org>
1942 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1943 if the textclass does not provide it. Have it different for sgml and
1945 support the language of document.
1946 * output_docbook.C (docbookParagraphs):
1947 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1948 first anchor as the id of the paragraph, remove special case code.
1949 * sgml.C (escapeChar): escape only < & >.
1951 2004-05-14 Angus Leeming <leeming@lyx.org>
1953 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1954 dependencies on src/frontends/controllers/biblio.h. Define a
1955 CiteEngine_enum wrapper class to enable the enum to be forward
1958 2004-05-12 Angus Leeming <leeming@lyx.org>
1960 * buffer.C: up LYX_FORMAT to 234.
1961 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1962 use_numerical_citations with a single biblio::CiteEngine cite_engine
1964 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1966 2004-05-13 José Matos <jamatos@lyx.org>
1969 * converter.C (Converter, readFlags): add xml member.
1970 * outputparams.h: add XML flavor.
1971 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1973 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1975 * lyxfunc.C (dispatch):
1976 (getStatus): fix handling of LFUN_SEQUENCE
1978 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1980 * debug.C (showLevel): do not forget the end-of-line marker
1982 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1984 * kbmap.C (read): do not stop parsing a bind file when an error
1987 2004-04-29 Angus Leeming <leeming@lyx.org>
1992 * text2.C: wrap a bunch of #warning statements
1993 inside #ifdef WITH_WARNINGS blocks.
1995 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1997 * buffer.C: increment format to 233.
1999 2004-04-28 Angus Leeming <leeming@lyx.org>
2001 * BufferView_pimpl.C:
2004 s/updateToolbar()/updateToolbars()/
2005 s/Toolbar.h/Toolbars.h/
2007 2004-04-28 Angus Leeming <leeming@lyx.org>
2009 * BufferView.[Ch] (c-tor):
2010 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2011 No longer passes these data to the WorkArea generator.
2013 2004-04-28 Angus Leeming <leeming@lyx.org>
2015 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2017 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2019 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2021 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2023 * output_latex.C (TeXEnvironment): make sure that there is a line
2024 break before \end{foo} for the last paragraph of a document
2025 (TeXOnePar): if the paragraph is at the end of the document (or
2026 inset) and the language has to be reset, then make sure that the
2027 line break is _before_ the language command, not after (fixes bug
2028 1225); also make sure that the language reset command is the first
2029 thing after the paragraph (to ensure proper nesting of
2030 environments and thus fix bug 1404)
2032 2004-04-21 John Levon <levon@movementarian.org>
2035 * ToolbarBackend.C: make "name" be a programmatic name
2036 and a gui_name field.
2038 * lyxfunc.C: display the minibuffer on M-x
2040 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2042 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2045 2004-04-19 Angus Leeming <leeming@lyx.org>
2047 * BufferView_pimpl.C (setBuffer): changed preview interface.
2049 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2052 2004-04-19 John Levon <levon@movementarian.org>
2054 * BufferView_pimpl.C:
2055 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2057 2004-04-05 Angus Leeming <leeming@lyx.org>
2059 * text.C (redoParagraphs): add call to updateCounters(), thereby
2060 fixing the missing "Figure #:" label from the caption of a
2063 2004-04-13 Angus Leeming <leeming@lyx.org>
2065 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2066 cursor is clicked out of an inset.
2068 2004-04-13 Angus Leeming <leeming@lyx.org>
2070 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2071 than an InsetOld one.
2073 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2075 * format.[Ch]: add editor to Format
2076 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2077 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2079 2004-04-08 André Pönitz <poenitz@gmx.net>
2081 * metricsinfo.h: remove PainterInfo::width member
2083 2004-04-08 Angus Leeming <leeming@lyx.org>
2085 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2086 "\providecommand" rather than "\newcommand", thereby preventing
2087 clashes with packages that define "\boldsymbol" themselves.
2090 2004-04-08 Angus Leeming <leeming@lyx.org>
2092 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2093 thereby squashing an unnecessary warning.
2095 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2097 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2100 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2102 * BufferView.C (setCursor): call redoParagraph (some insets could
2104 (putSelectionAt): remove the 'double update' trick
2106 * BufferView_pimpl.C (fitCursor): call refreshPar
2107 (workAreaDispatch): remove an uneeded update call
2108 (dispatch): remove some manual update calls
2110 * cursor.[Ch]: remove cached_y_, updatePos
2111 (selHandle): set noUpdate when appropriate
2113 * lyxfunc.C (dispatch): track if we need an update
2115 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2117 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2118 (paintSelection): cheap optimization, do not call cursorX when not
2120 (paintPars): change signature
2123 (paintTextInset): adjust
2127 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2129 * lengthcommon.C: compilation fix: remove explicit array size from
2130 unit_name[] and friends
2132 2004-04-05 Angus Leeming <leeming@lyx.org>
2134 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2136 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2137 present only for the preferences dialog.
2138 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2140 2004-04-05 Angus Leeming <leeming@lyx.org>
2142 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2143 to enable the frontends to export changes to lyxrc correctly.
2145 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2147 2004-04-07 André Pönitz <poenitz@gmx.net>
2149 * cursor.[Ch] (selClear, adjust): remove math
2151 * cursor_slice.C: more agressive assert
2154 * BufferView_pimpl.C: rework mouse event dispatch
2161 2004-04-05 André Pönitz <poenitz@gmx.net>
2163 * cursor.[Ch] (valign, halign...): remove unneeded functions
2165 2004-04-05 Angus Leeming <leeming@lyx.org>
2167 * lyxlength.[Ch] (unit_name et al.): const-correct.
2169 2004-04-05 Angus Leeming <leeming@lyx.org>
2171 * BufferView_pimpl.C:
2180 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2182 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2184 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2186 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2188 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2189 * BufferView_pimpl.[Ch] (getStatus)
2190 * BufferView.[Ch] (getStatus): add
2191 * lyxfunc.C (getStatus): move lfuns handled in
2192 BufferView::dispatch to te function above
2193 * Cursor.C (setSelection): set selection() = true
2195 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2197 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2199 2004-03-31 Angus Leeming <leeming@lyx.org>
2201 * lyxfunc.C (dispatch): Fall through to the generic
2202 Dialogs::show("preamble").
2204 2004-03-31 Angus Leeming <leeming@lyx.org>
2206 * lyxfunc.C (dispatch): Fall through to the generic
2207 Dialogs::show("spellchecker").
2209 2004-03-31 Angus Leeming <leeming@lyx.org>
2211 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2214 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2219 * insetiterator.[Ch]:
2224 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2226 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2228 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2229 insets where we are putting the cursor.
2231 2004-03-31 Angus Leeming <leeming@lyx.org>
2234 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2236 * lyxrc.[Ch] (read, write): overloaded member functions taking
2237 a std::[io]stream arguments.
2239 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2241 2004-03-31 Angus Leeming <leeming@lyx.org>
2243 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2244 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2246 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2247 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2249 2004-03-31 Angus Leeming <leeming@lyx.org>
2251 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2252 the LFUN_ALL_INSETS_TOGGLE code.
2254 2004-03-30 Angus Leeming <leeming@lyx.org>
2256 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2257 has died. Fall through to the generic Dialogs::show("document").
2259 2004-03-30 Angus Leeming <leeming@lyx.org>
2262 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2263 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2265 * lyxfunc.C (getStatus, dispatch): define the actions for these
2266 lfuns. Little more than a cut and pste job from ControlDocument.C
2268 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2270 2004-03-30 Angus Leeming <leeming@lyx.org>
2273 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2274 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2276 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2277 open/closed state of ollapsable insets. Usage:
2279 all-inset-toggle <state> <name>, where
2280 <state> == "open" || "closed" || "toggle" and
2281 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2283 * lyxtext.h, text2.C (toggleInset): removed.
2285 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2286 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2287 now passes LFUN_INSET_TOGGLE to the found inset.
2289 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2290 is now invoked as "all-insets-toggle toggle branch".
2292 2004-03-30 Angus Leeming <leeming@lyx.org>
2296 * pariterator.[Ch]: added/corrected header blurb.
2298 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2300 * dociterator.[Ch]: add an inset_ member
2301 (backwardPos): implemented
2302 (backwardPos, forwardPos): use inset_ when the stack is empty.
2303 (doc_iterator_begin, doc_iterator_end): implemented
2304 * pariterator.[Ch]: adjust, add begin, end
2305 * insetiterator.[Ch]: adjust, add begin, end
2309 * BufferView_pimpl.C:
2310 * CutAndPaste.C: adjust
2312 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2314 * buffer.C: increment file format to 232.
2315 * LaTeXFeatures.C: add bibtopic package.
2316 * bufferparams.[Ch]: param \use_bibtopic.
2318 * lyxrc.[Ch]: add lyxrc bibtex_command
2319 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2321 * buffer.C: increment file format to 231.
2323 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2325 * dociterator.C: implement forwardPar
2326 * iterators.[Ch]: remove, replaced by
2327 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2329 * BufferView_pimpl.C:
2332 * bufferview_funcs.C:
2338 * Makefile.am: adjust
2340 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2342 * CutAndPaste.C (pasteSelection): fix 2 crashes
2343 (eraseSelection): fix a crash
2344 * paragraph_funcs.C: remove a warning
2346 2004-03-28 Angus Leeming <leeming@lyx.org>
2349 * LyXAction.C (init): new LFUN_PRINT.
2351 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2353 2004-03-27 Angus Leeming <leeming@lyx.org>
2356 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2358 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2360 2004-03-27 Angus Leeming <leeming@lyx.org>
2362 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2363 insetlist always contains non-null pointers to insets.
2365 2004-03-26 Angus Leeming <leeming@lyx.org>
2367 * src/BufferView_pimpl.C:
2368 * src/CutAndPaste.C:
2371 * src/output_plaintext.C:
2372 * src/outputparams.h:
2373 * src/paragraph_funcs.C:
2377 * src/frontends/controllers/ControlErrorList.C:
2378 * src/frontends/gtk/FileDialogPrivate.C:
2379 * src/frontends/gtk/GPainter.C:
2380 * src/frontends/gtk/GToolbar.C:
2381 * src/frontends/qt2/QRef.C:
2382 * src/mathed/math_scriptinset.C: squash compiler warnings.
2384 2004-03-26 Angus Leeming <leeming@lyx.org>
2386 * ispell.C (LaunchIspell::start):
2387 * lyx_cb.C (AutoSaveBuffer::start):
2388 invoke run(DontWait) rather than runNonBlocking().
2390 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2392 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2394 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2396 * kbsequence.C (print): adjust
2398 * kbmap.C (printKeySym): rename and change signature
2399 (printKey): use LyXKeySym::print()
2401 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2403 * undo.C: add using std::advance to compile for stlport
2405 2004-03-24 Angus Leeming <leeming@lyx.org>
2407 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2408 it leads to a crash when no buffer is present.
2410 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2411 Martin Vermeer <martin.vermeer@hut.fi>
2413 * lyxfunc.C (dispatch):
2414 * bufferparams.C (readToken): use the new LColor::setColor
2416 * LColor.[Ch] (setColor): new version that takes two strings as
2417 argument and creates a new color entry if necessary
2419 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2421 * buffer.C (makeLaTeXFile): if the main latex file that is
2422 processed is usually a subdocument of some master, then pretend
2423 for a while that it is actually the master
2425 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2427 * buffer.C (getLabelList):
2428 (getBibkeyList): use getMasterBuffer()
2429 (getMasterBuffer): new method. Returns the main document in the
2430 case where one is using included documents.
2432 2004-03-25 André Pönitz <poenitz@gmx.net>
2436 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2438 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2440 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2441 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2443 * ParameterStruct.h: merge with ParagraphParameters
2445 * lyxtext.h: remove LyXText::parOffset() and getPar()
2447 * text3.C: Remove all 'manual' update calls. We do now one per user
2448 interaction which is completely sufficient.
2452 * BufferView_pimpl.C:
2453 * FontIterator.[Ch]:
2455 * ParagraphParameters.[Ch]:
2460 * cursor_slice.[Ch]:
2467 * output_docbook.[Ch]:
2468 * output_latex.[Ch]:
2469 * output_linuxdoc.[Ch]:
2470 * output_plaintext.[Ch]:
2472 * paragraph_funcs.[Ch]:
2473 * paragraph_pimpl.[Ch]:
2481 * frontends/controllers/ControlDocument.C:
2482 * frontends/controllers/ControlErrorList.C:
2483 * frontends/controllers/ControlSpellchecker.C:
2486 * insets/insetbase.h:
2487 * insets/insetbibitem.C:
2488 * insets/insetbox.C:
2489 * insets/insetbranch.C:
2490 * insets/insetcaption.C:
2491 * insets/insetcharstyle.C:
2492 * insets/insetcharstyle.h:
2493 * insets/insetcollapsable.C:
2494 * insets/insetcollapsable.h:
2495 * insets/insetert.C:
2496 * insets/insetfloat.C:
2497 * insets/insetfoot.C:
2498 * insets/insetmarginal.C:
2499 * insets/insetnote.C:
2500 * insets/insetoptarg.C:
2501 * insets/insettabular.C:
2502 * insets/insettext.C:
2503 * insets/insettext.h:
2504 * insets/insetwrap.C:
2505 * mathed/math_mboxinset.C:
2506 * mathed/math_nestinset.C:
2507 * mathed/math_scriptinset.C:
2508 * mathed/math_scriptinset.h:
2511 2004-03-24 Angus Leeming <leeming@lyx.org>
2513 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2514 deal with any child processes that have finished but are waiting to
2515 communicate this fact to the rest of LyX.
2517 2004-03-24 Angus Leeming <leeming@lyx.org>
2519 64-bit compile fixes.
2521 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2522 (c-tor): pass lyx::pos_types rather than ints.
2524 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2527 * text.C (Delete): compile fix.
2528 (getPar): ensure that function declaration is the same as that in
2531 2004-03-23 Angus Leeming <leeming@lyx.org>
2533 * ispell.C (LaunchIspell):
2534 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2535 a boost::shred_ptr rather than a std::auto_ptr.
2537 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2539 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2540 handle LFUN_FILE_INSERT_*
2542 * lyxrc.C (setDefaults, getDescription, output, read):
2543 * lyxrc.h: remove ps_command
2545 2004-03-22 Angus Leeming <leeming@lyx.org>
2547 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2548 Ensure that error_handler is processed once only and that all data
2549 is saved before attempting to output any warning messages.
2551 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2553 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2555 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2557 2004-03-19 André Pönitz <poenitz@gmx.net>
2559 * cursor.[Ch] (reset): take main text inset as argument
2561 * BufferView: adjust
2562 * BufferView_pimpl.C: adjust
2564 * paragraph.[Ch]: fix completely broken operator=()
2566 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2568 * LColor.C (getFromLyXName): make sure that the color name is used
2571 2004-03-17 Angus Leeming <leeming@lyx.org>
2574 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2576 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2577 dialog and to kill a forked process.
2579 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2581 * text2.C (setCursorFromCoordinates): fix font problem
2583 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2585 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2586 bogus "rebuild cursor" code
2588 2004-03-11 André Pönitz <poenitz@gmx.net>
2590 * buffer.[Ch]: use InsetText instead of LyXText as container for
2593 * dociterator.[Ch]: drop the BufferView * member which is not needed
2594 anymore after the change to buffer.C
2596 * paragraph_funcs.C:
2600 * BufferView_pimpl.[Ch]:
2602 * cursor_slice.[Ch]: adjust
2604 * text3.C: fix bug in mathDispatch
2606 2004-03-08 André Pönitz <poenitz@gmx.net>
2608 * undo.[Ch]: use 'StableDocumentIterator' as base for
2611 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2614 * bufferparams.[Ch]: add jurabib support and param.
2616 * LaTeX.C: add FIXME/comment.
2618 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2620 * buffer.C: increment file format to 230.
2622 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2624 * cursor.C (dispatch): avoid infinite loops
2626 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2628 * rowpainter.C (paintSelection): fix x coordinates
2630 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2632 * text.C (rowBreakPoint): fix breaking before displayed insets
2634 2004-03-01 André Pönitz <poenitz@gmx.net>
2636 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2638 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2642 * BufferView_pimpl.C:
2650 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2656 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2657 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2659 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2661 * Bidi.[Ch] (computeTables): const correctness
2662 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2663 fill_hfill, fill_label_hfill and x from Row
2664 * lyxtext.h: prepareToPrint returns a RowMetrics
2665 * rowPainter.C: adjust
2666 * text.C (prepareToPrint): use width, not textWidth. adjust
2667 (redoParagraphInternal, cursorX): adjust
2668 * text2.C (getColumnNearX): adjust
2669 (init): put a default value to the top LyXText::width
2671 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2673 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2675 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2677 * lyxtext.h: add FontIterator class
2679 * text.C (FontIterator, operator*, operator->, operator++): add
2680 (rowBreakPoint, setRowWidth): adjust (fixing a
2683 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2685 * BufferView_pimpl.C (workAreaDispatch): allow also
2686 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2688 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2690 * text.C (rowBreakPoint): fix a bug showing with very large insets
2692 2004-02-25 André Pönitz <poenitz@gmx.net>
2695 * cursor.[Ch]: move some mathed specific code to mathed
2697 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2699 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2700 use_tempdir in preferences
2701 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2703 * lyx_main.C: ensure that tempdir is valid
2704 * lyxlex.h: correct typo
2705 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2706 * paragraph.[Ch] (isMultiLingual): make const
2707 * cursor.[Ch] (openable): make const
2709 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2711 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2713 2004-02-20 André Pönitz <poenitz@gmx.net>
2715 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2717 * cursor.[Ch]: prepare for localized getStatus()
2723 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2725 2004-02-20 André Pönitz <poenitz@gmx.net>
2727 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2729 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2731 * text2.C (setCursorFromCoordinates): switch to absolute coords
2733 (cursorDown): adjust
2734 * text3.C (dispatch): adjust
2736 2004-02-16 André Pönitz <poenitz@gmx.net>
2738 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2741 * cursor_slice.[Ch]: remove unneeded acessor function
2743 * lyxtext.h: rename rtl() to isRTL()
2751 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2753 * rowpainter.C (paintSelection): coord fix
2755 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2757 * Spacing.C: compile fix
2759 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2761 * cursor.C (dispatch): restore current_ before returning
2763 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2765 * text2.C (cursorUp, cursorDown): fix coords
2768 2004-02-12 André Pönitz <poenitz@gmx.net>
2773 * text3.C: add LCursor & parameter to most cursor movement functions
2774 remove usage of LyXText::cursorRow() and cursorPar()
2776 * cursor.[Ch]: add textRow() needed members
2779 * BufferView_pimpl.C:
2782 * BufferView_pimpl.C: adjust
2784 2004-02-11 André Pönitz <poenitz@gmx.net>
2788 * BufferView_pimpl.C: shift undo/redo handling
2790 * cursor.[Ch]: fix mathed crash
2793 * lyxtext.h: move selectionAsText to LCursor
2801 * rowpainter.C: fix excessive drawing
2803 2004-02-06 André Pönitz <poenitz@gmx.net>
2806 * BufferView_pimpl.[Ch]:
2807 * text3.C: move some text specific LFUN handling
2809 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2811 * text3.C (checkInsetHit): adjust coords
2812 * text2.C (getColumnNearX): adjust coords
2813 (edit): adjust coords
2814 * text.C (getRowNearY): add two asserts
2816 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2819 * format.C: add using std::distance to compile on gcc 2.95/stlport
2821 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2823 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2825 2004-02-04 André Pönitz <poenitz@gmx.net>
2827 * BufferView.[Ch] (insertInset):
2828 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2833 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2835 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2836 on the default clause of the switch
2837 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2838 wasn't catched by LCursor::dispatch
2840 2004-02-03 André Pönitz <poenitz@gmx.net>
2843 * cursor.[Ch]: some additional asserts
2845 * undo.[Ch]: remove LyXText dependency in interface
2849 * lyxtext.h (firstPar, lastPar): remove dead functions
2854 * paragraph.[Ch]: adjust
2856 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2858 * lyxfind.C (find): fix argument order in call to ::find
2860 2004-02-02 André Pönitz <poenitz@gmx.net>
2862 * cursor.[Ch]: remove direct access to anchor
2864 * text.C: remove findText() hack
2866 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2868 * iterators.[Ch] (lockPath): remove in favour of...
2869 * BufferView.[Ch] (setCursor): this addition
2870 * BufferView.C (putSelectionAt): adjust
2871 * undo.C (performUndoOrRedo): adjust
2872 * lyxfunc.C (dispatch): adjust
2874 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2876 * iterators.C (lockPath): add a missing slice
2877 * undo.C (performUndoOrRedo): remove redundant positioning code
2879 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2881 * vc-backend.C (scanMaster): ";" -> ';'
2883 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2885 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2886 std::binary_function
2888 * lyxtextclass.C (compare_name): rename to...
2889 (LayoutNamesEqual): ...this
2891 * lyxlex_pimpl.C (compare_tags): inherit from
2892 std::binary_function, put back into anon namespace
2894 * lyxfind.C (MatchString): inherig from std::binary_function
2895 (findChange): use empty() istead of !size()
2897 * format.C (FormatNamesEqual): new functor
2904 * converter.C (compare_Converter): rename to...
2905 (ConverterEqual): ...this, and fixup a bit.
2906 (getConverter): use it, and make function const
2907 (getNumber): use it, and make function const
2911 * bufferlist.C: add using boost::bind
2913 * MenuBackend.C (MenuNamesEqual): new functor
2914 (hasMenu): use it, and make function const
2915 (hasSubmenu): use nested bind to get rid of compare_memfun.
2917 2004-01-30 André Pönitz <poenitz@gmx.net>
2919 * BufferView_pimpl.C:
2922 * cursor_slice.[Ch]:
2925 * paragraph_funcs.C:
2926 * paragraph_funcs.h:
2930 * text3.C: move some of the edit(x,y) handling to the insets
2931 some coordinate changes.
2933 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2935 * text.C: add using statements for std::advance and std::distance
2937 * paragraph.C: add using statement for std::distance
2939 * lyxfind.C: add using statement for std::advance
2941 * cursor.C (region): remove std:: from swap
2942 (openable): use nucleus in stead of operator->
2944 * BufferView.C: add using statements for std::distance and std::swap
2946 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2948 * iterators.C: Remove the pimple, move the needed structures to
2949 the header file. Create accessor for the positions stack.
2950 (asPosIterator): remove function
2952 * PosIterator.C (PosIterator): move constructors to top of file
2953 (PosIterator): reimplement the constructor taking a ParIterator in
2955 (setFrom): new function
2956 (operator!=): inline it
2958 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2960 * lyxfind.C (replaceAll): use std::advance
2962 * iterators.h: inherit from std::iterator.
2964 * PosIterator.C (advance, distance): remove
2965 * PosIterator.h: interit from std::iterator.
2967 2004-01-26 André Pönitz <poenitz@gmx.net>
2970 * BufferView_pimpl.[Ch]:
2974 * bufferview_funcs.C:
2984 * output_linuxdoc.C:
2985 * output_plaintext.C:
2987 * paragraph_funcs.[Ch]:
2988 * paragraph_pimpl.[Ch]:
2994 * text3.C: more IU: dumps most of the rest of the mathcursor
2995 implementation into cursor.[Ch]; "globalize" a bit of it.
2997 2004-01-25 Angus Leeming <leeming@lyx.org>
2999 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3001 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3003 * LaTeXFeatures.h: add nice_ and nice() const
3004 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3006 2004-01-20 André Pönitz <poenitz@gmx.net>
3009 * BufferView_pimpl.C:
3011 * bufferview_funcs.C:
3013 * cursor_slice.[Ch]:
3024 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3025 LCursor and mathcursor parts to LCursor and InsetBase.
3027 2004-01-15 André Pönitz <poenitz@gmx.net>
3029 * cursor_slice.[Ch]: add a few covienience functions
3031 * funcrequest.[Ch]: remove BufferView * member
3033 * BufferView_pimpl.C:
3040 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3042 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3044 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3045 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3047 2004-01-13 André Pönitz <poenitz@gmx.net>
3050 * lyxtext.h: hide cursor and selection anchor behind accessor function
3053 * BufferView_pimpl.[Ch]:
3055 * bufferview_funcs.C:
3065 * cursor_slice.[Ch]: some integer type changes for inset unification
3067 * lyxcursor.[hC]: remove, it's CursorSlice now.
3070 * BufferView_pimpl.[Ch]:
3071 * bufferview_funcs.C:
3077 * textcursor.[Ch]: adjust
3079 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3081 * text2.C (undoSpan): add and use
3082 * text.C (breakParagraph): use undoSpan (fix bug 578)
3085 2004-01-08 Angus Leeming <leeming@lyx.org>
3087 * BufferView_pimpl.C (MenuInsertLyXFile):
3088 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3089 * lyxfunc.C (menuNew, open, doImport):
3090 FileFilterList change to the FileDialog open and save functions.
3092 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3094 * ShareContainer.h: make isEqual and isUnique adaptable
3096 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3098 2004-01-07 Angus Leeming <leeming@lyx.org>
3101 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3103 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3105 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3106 functions replacing find, replace and replaceAll.
3108 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3109 LFUN_WORDFIND(FORWARD|BACKWARD).
3111 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3113 * text.C (breakParagraph): remove an outdated #warning
3115 2004-01-07 André Pönitz <poenitz@gmx.net>
3117 * lyxfind.C: somewhat clearer logic
3119 * text.C: prevent crash in cursorX on unitialized row cache
3121 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3123 * lyxcursor.[Ch] (operator>): add
3124 * textcursor.C (selStart, selEnd): use std::min and std::max
3126 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3128 * Chktex.C: include boost/format.hpp
3130 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3132 * InsetList.C: replace functor MathcIt with adaptable functor
3134 (insetIterator): modify accordingly
3136 * BranchList.h: move the BranchNamesEqual functor here from...
3137 * BranchList.C: ... to here
3139 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3141 (add): replace a finding loop with std::find_if.
3143 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3145 * output_docbook.C: moving LatexParam functionality into
3148 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3150 * buffer.C: increment format to 229.
3152 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3155 * lyx_sty.[Ch]: remove minipageindent_def
3161 * text3.C: remove LFUN_INSET_MINIPAGE
3163 2003-12-28 Angus Leeming <leeming@lyx.org>
3165 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3167 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3169 * text2.C (setParagraph): fix off-by-one crash
3171 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3173 * output_docbook.C: header stuff for AGU
3175 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3177 * text2.C (redoCursor): remove
3180 * BufferView_pimpl.C: remove calls to redoCursor and
3181 setCursor(cursor.par(), cursor.pos()) all around
3183 2003-12-15 Angus Leeming <leeming@lyx.org>
3185 * buffer.C: up the format to 228.
3187 2003-12-15 André Pönitz <poenitz@gmx.net>
3189 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3194 * BufferView_pimpl.C:
3203 2003-12-15 Angus Leeming <leeming@lyx.org>
3205 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3206 than getFromGUIName to manipulate the color.
3208 2003-12-14 Angus Leeming <leeming@lyx.org>
3210 * BranchList.[Ch]: minimize the API.
3211 (Branch::getBranch, getColor): now return a 'const &'.
3212 (Branch::setSelected) now returns a bool set to true if the
3213 selection status changes.
3214 (BranchList::clear, size, getColor, setColor, setSelected,
3215 allBranches, allSelected, separator): removed.
3216 (BranchList::find): new functions, returning the Branch with
3218 (BranchList::add, remove): return a bool indicating that
3219 the operation was successful.
3221 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3222 new InsetBranch::isBranchSlected member function.
3224 * LColor.[Ch]: mimimize the API.
3225 (fill): renamed as addColor and made private.
3226 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3227 versions of these functions taking a string arg have been removed.
3229 * bufferparams.C (readToken):
3230 * lyxfunc.C (dispatch):
3231 * lyxrc.C (read): changes due to the altered BranchList and
3234 * factory.C (createInset, readInset): changes due to altered
3237 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3240 * lyxfunc.C: remove insetminipage. "minipage-insert"
3241 now produces a frameless minipage box inset.
3243 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3245 * textcursor.[Ch] (selStart,selEnd): add new methods
3246 remove selection::start, end, use LyXCursor::operator<
3247 * lyxcursor.[Ch] (operator<): add
3248 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3249 * BufferView.[Ch] (unsetXSel): add
3250 * text2.C (clearSelection): use unsetXSel,adjust
3253 * rowpainter.C: adjust
3254 * bufferview_funcs.C (put_selection_at): adjust
3256 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3258 * BufferView_pimpl.C: small coord. correction
3260 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3262 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3263 dragging over the splash screen.
3265 2003-12-11 Angus Leeming <leeming@lyx.org>
3267 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3268 as it is now handled in LyXText::dispatch.
3270 * text3.C (doInsertInset): remove a level of nesting.
3272 2003-12-11 Angus Leeming <leeming@lyx.org>
3274 * factory.C (createInset): changes due to the changed interface to
3275 InsetCommandMailer::string2params.
3277 2003-12-10 Angus Leeming <leeming@lyx.org>
3279 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3280 'dialog-show-new-inset <inset name>'
3282 2003-12-10 Angus Leeming <leeming@lyx.org>
3284 * buffer.C: up the format to 227.
3286 * factory.C: the box inset is now identified simply by 'Box'.
3288 2003-12-10 Angus Leeming <leeming@lyx.org>
3290 * buffer.C: up the format to 226.
3292 * factory.C: the note inset is now identified simply by 'Note'.
3294 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3296 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3297 when a pit is enough. Standarize a couple of loops.
3299 2003-12-05 Angus Leeming <leeming@lyx.org>
3301 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3302 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3303 data to the re-worked "log" dialog.
3305 2003-12-03 André Pönitz <poenitz@gmx.net>
3311 * paragraph_funcs.C:
3313 * text2.C: use Inset::getText instead of Inset::getParagraph
3315 2003-12-03 André Pönitz <poenitz@gmx.net>
3319 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3320 InsetText::read() as LyXText::read()
3322 2003-12-02 Angus Leeming <leeming@lyx.org>
3324 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3325 type. Add a comment in the implementation that the function uses
3326 the stream's bad() function rather than fail() as the std::streams
3329 2003-12-02 André Pönitz <poenitz@gmx.net>
3331 * lyxlex.[Ch]: make interface more similar to std::stream
3333 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3335 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3337 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3339 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3341 * vspace.[Ch]: remove VSpace::NONE
3343 2003-12-01 André Pönitz <poenitz@gmx.net>
3346 * lyxtext.h: move ParagraphList member to LyXText
3347 rename LyXText::ownerParagraphs to LyXText::paragraph
3350 * bufferview_funcs.C:
3360 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3362 * undo.C: fix cursor positioning
3364 2003-12-01 John Levon <levon@movementarian.org>
3366 * BufferView_pimpl.C: fix a crash on exit with
3369 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3371 * BranchList.C: fix setSelected() method.
3373 2003-11-28 André Pönitz <poenitz@gmx.net>
3375 * ParagraphParameters.[Ch]:
3376 * ParameterStruct.h: remove space above/below from Paragraph to
3379 * BufferView_pimpl.C:
3385 * paragraph_funcs.C:
3391 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3393 * factory.C: Syntax change for CharStyles
3395 2003-11-28 André Pönitz <poenitz@gmx.net>
3400 * buffer.[Ch]: move LyXText member
3402 2003-11-28 André Pönitz <poenitz@gmx.net>
3404 * BufferView.[Ch]: make LyXText * text a private member
3406 * BufferView_pimpl.C:
3417 * output_plaintext.C: cleanup
3419 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3422 * lyxtextclass.[Ch]: parametrize SGML document header
3424 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3427 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3430 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3432 * text2.C (setFont): rework using PosIterator (no more recursive)
3433 (setCharFont): no more needed
3434 (setLayout): no more selection cursors fiddling (done by redoCursor)
3435 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3436 destroy remaining ones)
3438 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3440 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3442 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3445 * text3.C: adjust + re-allow multi par depth changes
3446 * textcursor.C: simplify a bit
3448 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3454 * src/output_docbook.C:
3455 * src/output_latex.C:
3460 * src/text2.C: Introducing a number of tags parametrizing various
3461 XML formats that we may want to support
3463 2003-11-25 André Pönitz <poenitz@gmx.net>
3465 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3467 * lyxtext.h (leftMargin/rightMargin): simplify interface
3474 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3476 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3477 master file to any child files. Fixes bug 546.
3479 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3481 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3483 2003-11-24 André Pönitz <poenitz@gmx.net>
3485 * rowpainter.C: simplification
3487 * text2.C (updateCounters): remove call to redoParagraph on
3488 changed labels as this is far too expensive.
3490 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3492 * converter.C (convert): fix a crash: this function gets
3493 called with buffer == 0 from importer code.
3495 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3497 * text3.C (cursorPrevious): make sure that we do not compare
3498 iterators form different containers.
3501 * rowpainter.C (paintSelection): make sure that we do not compare
3502 iterators from different containers.
3504 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3505 iterators from different ParagraphList containers.
3508 * text2.C (LyXText): change order of initialization slightly
3509 (operator=): new function. copy all variables except cache_par_
3510 (moveUp): make sure that we do not compare iterators from
3511 different ParagraphList constainers.
3514 * text.C (firstPar): new function
3515 (lastPar): new function
3516 (endPar): new function
3518 * lyxtext.h: move things around and group public functions, public
3519 variables, private functions, private variables
3521 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3523 * factory.C: change call to InsetERT constructor to avoid
3524 additional invocation of method status
3525 * text2.C (toggleInset): remove redundant update() call
3526 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3527 instead of a Bufferview pointer
3529 2003-11-21 André Pönitz <poenitz@gmx.net>
3531 * rowpainter.C: simplification
3533 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3535 * text3.C (dispatch): make possible to extend a word/row selection
3538 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3540 * lyxtext.h: x0_,y0_ -> xo_,yo_
3541 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3542 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3543 * rowpainter.C (paintRows): paint full paragraphs
3545 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3547 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3550 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3552 * lyxtext.h: add x0_, y0_
3553 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3554 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3556 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3558 * text2.C (setCursorIntern): move the x_target update here *
3559 * text3.C: change some bv() to true/false in calls to
3560 cursorUp/Down/Right/Left
3561 * cursor.C: use helper function.
3563 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3565 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3566 * paragraph_funcs.[Ch]: correct comment
3567 * rowpainter.C: do not paint selections away from bv->cursor()
3568 Fix a long standing selection painting bug.
3569 * text3.C: generalize mouse-selection code to LyXTexts other that
3571 * textcursor.C: do not use y coords if we can use par offsets
3573 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3575 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3576 cursor position after e.g. inset insert)
3578 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3580 * lyxfind.C (replace): adjust to locking removal + some
3583 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3585 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3588 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3591 * output_docbook.C: XML sanitation: new layout
3592 parameters InnerTag and CommandDepth
3594 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3596 * BufferView_pimpl.C:
3598 * text3.C: Fix the insertion and modification of button-style
3601 2003-11-13 André Pönitz <poenitz@gmx.net>
3603 * InsetList.[Ch]: remove deleteLyXText
3605 * paragraph.[Ch]: cache beginOfBody position
3610 * text3.C: remove superfluous update() calls
3614 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3616 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3617 * BufferView.C (fitLockedInsetCursor): remove
3618 * cursor.[Ch] (getDim): add
3619 * text.C (getRowNearY): add faster version
3620 * text3.C: remove some update calls
3622 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3634 * text3.C: The Character Style /XML short element patch.
3636 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3639 * factory.C: Small step to solving 'unable to insert some insets'
3642 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3644 * cursor.[Ch] (updatePos): new function for updating the y
3645 position of the tip inset
3646 * bufferview_funcs.C (put_selection_at):
3647 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3649 2003-11-11 André Pönitz <poenitz@gmx.net>
3651 * text.C: remove big comment on invalid Paragraph pointers as it is
3654 2003-11-11 André Pönitz <poenitz@gmx.net>
3656 * text_funcs.[Ch]: merge with ...
3664 * Makefile.am: remove text_funcs.[Ch]
3666 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3668 * cursor.C (getPos): return absolute cached y coord
3670 * BufferView_pimpl.C (fitCursor): new simplistic code
3671 (workAreaDispatch): add a fitCursor call
3673 2003-11-10 André Pönitz <poenitz@gmx.net>
3676 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3678 2003-11-10 André Pönitz <poenitz@gmx.net>
3680 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3681 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3682 indicate that the cursor needs to leave an inset
3684 * lyxtext.h: remove inset locking
3686 * cursor.[Ch]: re-implement functionality provided by inset locking
3689 * BufferView_pimpl.[Ch]:
3691 * bufferview_funcs.[Ch]:
3703 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3705 * PosIterator.[Ch]: replace the stack with a vector, add inset
3707 * iterators.[C]: adjust
3709 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3711 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3713 * paragraph_funcs.C (readParToken): put the correct id in the
3714 error item, not the id of the top paragraph
3716 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3718 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3719 * bufferview_funcs.C (put_selection_at): use the above
3721 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3723 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3725 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3727 * output_linuxdoc.h:
3728 * output_plaintext.h:
3730 * output_docbook.h: add #include statements
3732 2003-11-05 José Matos <jamatos@lyx.org>
3734 * output_docbook.[Ch]:
3735 * output_latex.[Ch]:
3736 * output_linuxdoc.[Ch]:
3737 * output_plaintext.[Ch]: New files for output formats.
3738 * output.[Ch]: New file for helper functions.
3741 * paragraph_funcs.[Ch]: output functions moved to new files.
3743 * outputparams.h: rename of latexrunparams.h
3751 * paragraph_funcs.[Ch]:
3752 * paragraph_pimpl.[Ch]:
3753 * tabular.[Ch]: rename ascii to plaintext
3754 and LatexRunParams to OutputParams.
3756 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3758 * iterators.[Ch] (text): require bv argument
3759 * undo.C (recordUndo):
3760 * lyxfunc.C (dispatch):
3761 * bufferview_funcs.C (put_selection_at): adjust
3763 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3765 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3767 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3769 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3772 2003-11-04 André Pönitz <poenitz@gmx.net>
3774 * cursor.[Ch]: restructure
3777 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3779 * iterators.[Ch] (asCursor): remove
3781 * lfuns.h: remove LFUN_INSET_EDIT
3787 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3789 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3791 * lyxfind.[Ch]: complete overhaul
3792 * BufferView_pimpl.C:
3794 * paragraph.[Ch] (insert): add
3796 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3800 * text.C: remove dead spellcheck code
3802 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * dispatchresult.h: add a val setter
3806 * cursor.C (dispatch): use a tempvar for data_[i]
3808 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3810 * PosIterator.[Ch]: compile fix
3812 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3814 * text.C (cursorPar): deactivate the cursor cache
3816 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3818 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3820 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * text3.C (dispatch): adjust for new DisptchResult semantics.
3824 * lyxfunc.C (dispatch): handle update when return from
3825 Cursor::dispatch, adjust for new DispatchResult semantics.
3827 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3828 DispatchResult(true) mean to not update. Add class functions for
3829 setting dispatched and update, as well as reading.
3831 * cursor.C (dispatch): don't handle update here
3833 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3835 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3836 * trans_mgr.C: adjust
3838 * paragraph_funcs.C (readParToken): exception safety
3840 * lyxvc.h: store the vcs pointer in a scoped_ptr
3843 * lyxsocket.C (serverCallback): exception safety
3845 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3847 * ispell.C (clone): make it return a auto_ptr
3849 * factory.C (createInset): exception safety
3850 (readInset): exception safety
3852 * bufferlist.C (newBuffer): exception safety
3854 * Thesaurus.C (Thesaurus): use initialization for aik_
3856 * MenuBackend.C (expandToc): exception safety.
3858 2003-11-03 André Pönitz <poenitz@gmx.net>
3862 * bufferview_funcs.C: remove getInsetFromId()
3865 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3871 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3873 * PosIterator.C (distance, advance): new
3874 * bufferview_funcs.[Ch] (put_selection_at): new
3875 * iterators.[Ch] (lockPath): new
3877 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3879 * iterators.[Ch] (asPosIterator): added
3880 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3881 * PosIterator.[Ch]: added
3883 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3887 * cursor.C (dispatch):
3888 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3890 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3891 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3892 contructor, add a class function dispatched. Remove operator>=
3894 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3896 * debug.C: only use the default constructor for debugstream
3899 * main.C (main): include debug.h and setup the lyxerr streambuf
3902 2003-10-31 José Matos <jamatos@lyx.org>
3904 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3906 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3907 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3908 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3909 * paragraph_pimpl.C (simpleTeXSpecialC):
3910 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3911 add LatexRunParams argument.
3913 * exporter.C (Export): change call accordingly.
3915 * latexrunparams.h: add new member to take care of the other backends.
3916 2003-10-30 José Matos <jamatos@lyx.org>
3918 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3919 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3920 factorise code for paragraph output.
3922 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3925 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * text3.C (dispatch):
3928 * lyxfunc.C (dispatch):
3929 * cursor.C (dispatch):
3930 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3932 * dispatchresult.h: make the dispatch_result_t ctor explicit
3934 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3937 * buffer.C: small refactoring of docbook stuff
3939 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3941 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3944 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3947 operator dispatch_result_t, and operators for == != and >=
3949 * cursor.C (dispatch): adjust for operator dispatch_result_t
3950 removal. comment out call to update
3952 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3954 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3965 * dispatchresult.h: new file, DispatchResult broken out of
3968 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3970 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3972 * text.C (rowBreakPoint): put a hack inside #if 0
3974 2003-10-28 André Pönitz <poenitz@gmx.net>
3978 * paragraph_funcs.C:
3981 * text2.C: general cleanup (lots of small stuff)
3983 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3985 * text2.C (cursorEnd): simple fix to the "end key goes to one
3986 before the end on last row" bug
3988 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3990 * text.C (backspace): fix the "zombie characters"
3992 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3994 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3996 2003-10-27 André Pönitz <poenitz@gmx.net>
3998 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4000 * factory.C: handle new InsetPagebreak, InsetLine
4002 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4003 and move handling into new InsetPagebreak, InsetLine
4005 * BufferView_pimpl.C:
4007 * ParagraphParameters.C:
4008 * ParameterStruct.h:
4013 * paragraph_funcs.C:
4014 * paragraph_pimpl.C:
4020 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4023 * lyxrow_funcs.[Ch]:
4029 * text3.C: remove lastPos uses in favour of Row::endpos
4031 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4033 * undo.C (performUndoOrRedo): fix two crashes by setting a
4034 cursor by hand and reordering some calls. Use bv->lockInset instead
4035 of inset->edit because the latter loses cursor information
4037 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4039 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4041 (rowBreakPoint): fix width. change point to point + 1.
4042 Add a missing check.
4044 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4047 * lyxfunc.C: fix (at least partly) the problems
4048 with the Nav menu and headers inside branch insets
4051 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4053 * paragraph.C (getChar): add strong asserts
4055 * lyxrow_funcs.C (lastPos): remove hideous hack
4057 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4058 (fill): adjust to that (avoid an infinite loop)
4060 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4062 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4064 2003-10-23 André Pönitz <poenitz@gmx.net>
4066 * RowList_fwd.h: change list<> to vector<> to gain speed
4067 after suggestion from Alfredo
4069 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4071 * lyxtext.h: move the bidi stuff from here...
4074 * Bidi.[Ch]: ... to here
4076 2003-10-23 André Pönitz <poenitz@gmx.net>
4079 * text.C (isLastRow, isFirstRow): new functions
4081 * paragraph.h: new width cache member
4083 * rowpainter.C: replace RowList::iterator with Row & where possible
4085 * lyxfunc.C: replace several view()->text with a single call
4087 * toc.C: fix 'unused' warning
4089 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4091 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4092 when woring with stream::pos_type
4093 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4095 2003-10-22 André Pönitz <poenitz@gmx.net>
4098 * text.C: use Row & instead of RowList::iterator
4100 * lyxrow.h: rename end() to endpos()
4106 2003-10-22 Angus Leeming <leeming@lyx.org>
4108 * buffer.[Ch] (fully_loaded): new member function, returning true
4109 only when the file has been loaded fully.
4110 Used to prevent the premature generation of previews and by the
4111 citation inset to prevent computation of the natbib-style label.
4113 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4114 templates are all set up.
4116 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4118 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4120 * text.C: fixed an "oops" in the "is a bit silly"
4123 2003-10-21 André Pönitz <poenitz@gmx.net>
4125 * FuncStatus.[Ch]: small stuff, whitespace
4127 * lyxfont.[Ch]: operator<<() for debug reasons
4131 * lyxtext.h: whitespace, spelling
4133 * paragraph.C: naming of variables
4136 * text2.C: small stuff
4139 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4141 * text.C: (1) finish off the inset display() work;
4142 (2) fix the "is a bit silly" bug (accessing char
4145 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4147 * text.C: re-introduce display() for insets, fixing the
4148 various bugs (stretch of line above, math inset
4151 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4153 * text.C (rightMargin): remove spurious semicolon
4155 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4158 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4160 * text3.C: fix one crash due to wrong cursor def
4162 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4164 * vc-backend.C (scanMaster): make the regex static
4166 * LaTeX.C (scanAuxFile): make the regexs static
4168 * text3.C (doInsertInset, dispatch, dispatch):
4169 * text2.C (cursorUp, cursorDown):
4170 * text.C (selectNextWordToSpellcheck):
4171 * BufferView_pimpl.C (dispatch):
4172 * lyxfunc.C (dispatch): localDispatch -> dispatch
4174 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4176 * lyxsocket.C: include <cerrno>
4178 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4180 * lyxfunc.C (dispatch): remove textcache stuff
4182 * bufferlist.C (release): remove textcache stuff
4185 * TextCache.C: delete file
4186 * TextCache.h: delete file
4188 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4190 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4191 delete of the bv_->text.
4192 (resizeCurrentBuffer): remove texcache stuff
4193 (workAreaResize): ditto
4195 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4197 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4200 2003-10-16 André Pönitz <poenitz@gmx.net>
4207 * text3.C: speed up by storing y positions per paragraph plus per-row
4208 offset instead of having a 'full' y position in the row.
4210 2003-10-15 André Pönitz <poenitz@gmx.net>
4214 * undo.[Ch]: make undo aware of inner insets
4216 2003-10-14 Angus Leeming <leeming@lyx.org>
4218 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4219 static member functions LyX::ref() and LyX::cref.
4220 (lastfiles): new accessor functions for the new lastfiles_ member var.
4221 (addLyXView, views_): add a new LyXView to the list of views_.
4222 (updateInset): loop over all LyXViews to call their own updateInset
4223 member function, returning a pointer to the Buffer owning the inset.
4225 * BufferView_pimpl.C (loadLyXFile):
4226 * MenuBackend.C (expandLastfiles):
4227 * bufferlist.C (MenuWrite, QuitLyX):
4228 lastfiles is no longer a global variable.
4229 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4231 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4232 static function. Access through LyX::cref().emergencyCleanup().
4234 2003-10-14 André Pönitz <poenitz@gmx.net>
4236 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4238 * undo.[Ch]: restoring part of 'undo in insets'
4241 * undo_funcs.[Ch]: merge with undo.[Ch]
4243 * tabular.C: small cleansing stuff
4245 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4247 * paragraph_funcs.C (readParToken): report unknown insets as error
4248 boxes. Use the outer paragraph as location (also for unknown
4251 * factory.C (readInset): do not abort on reading an unknown inset.
4252 Eat it and return 0.
4254 2003-10-13 Angus Leeming <leeming@lyx.org>
4256 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4258 * lyxrc.C: displayTranslator is now a function,
4259 declared in GraphicsTypes.h.
4261 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4263 * format.C: new placeholder $$a to pass the socket address.
4265 * bufferlist.[Ch]: new function getBufferFromTmp.
4267 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4268 files in the temporary dir.
4270 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4272 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4274 * Makefile.am: add lyxsocket.[Ch].
4276 * lyx_main.C (error_handler): handle SIGPIPE.
4278 2003-10-13 André Pönitz <poenitz@gmx.net>
4280 * BufferView_pimpl.C:
4285 * undo_funcs.[Ch]: use paroffset_type instead of
4286 ParagraphList::iterators to prevent multiple conversion
4287 (and get a more robust interface)
4289 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4291 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4293 * text3.C (dispatch): ditto
4295 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4298 move the onlyfile, use onlyfile instead of foundfile in a couple
4301 * DepTable.C (update): flush the error stream a bit more
4303 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * lyxserver.C (callback): adjust
4307 * lyxfunc.C (getStatus): add a missing brace in commented code
4308 (ensureBufferClean): reindent
4309 (dispatch): delete version taking a string
4311 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4313 * LaTeX.C (deplog): move found file handlig from here...
4314 (handleFoundFile): .. to new function here.
4315 (deplog): make sure to discover several files mentioned on the
4318 2003-10-10 André Pönitz <poenitz@gmx.net>
4325 * text3.C: fix some of the tabular crashes
4327 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4329 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4331 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4333 2003-10-09 André Pönitz <poenitz@gmx.net>
4335 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4338 * BufferView_pimpl.C:
4339 * bufferview_funcs.C:
4350 * undo_funcs.C: adjust
4352 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4354 * text2.C (incrementItemDepth): new function, use a backtracking
4355 algorithm to discover the correct item depth.
4356 (resetEnumCounterIfNeeded): new function, use a backtracking
4357 algorithm to discover if counter reset is needed.
4358 (setCounter): use them. Simplify a bit. Add different labels for
4359 different item depths for itemize.
4361 * paragraph.C (Paragraph): remove initialization of enumdepth
4364 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4365 enumerate and itemize. Change the type of itemdepth to signed char.
4367 2003-10-08 André Pönitz <poenitz@gmx.net>
4369 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4374 * tabular.[Ch]: fix crash after 'row-insert'
4376 2003-10-08 Angus Leeming <leeming@lyx.org>
4378 Fix doxygen warnings.
4380 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4381 Remove CutAndPaste:: prefix from header file declaration.
4383 * LColor.h (fill): remove LColor:: prefix from declaration.
4385 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4386 use lyx::depth_type rather than Paragraph::depth_type so that
4387 header file and .C file match.
4389 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4391 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4392 * aspell.C: \file aspell_local.C -> \file aspell.C
4393 * gettext.C: \file gettext.C -> \file src/gettext.C
4394 * gettext.h: \file gettext.h -> \file src/gettext.h
4395 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4396 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4397 * text.C: \file text.C -> \file src/text.C
4399 * toc.C: move comment so that doxygen is not confused.
4401 2003-10-07 Angus Leeming <leeming@lyx.org>
4403 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4405 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4408 * aspell_local.h: add forgotten std::string's.
4410 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4417 * text3.C: The Box patch. Fancybox support, minipage, parbox
4419 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4425 * ParagraphParameters.h:
4435 * lyxtextclasslist.h:
4438 * paragraph_pimpl.C:
4439 * textcursor.h: add <string> and other small fixes to make Lars'
4440 std::string patch compile with STLport.
4442 2003-10-06 Angus Leeming <leeming@lyx.org>
4444 * LColor.h: Add missing #include <string>.
4446 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * All most all file in all subdirs: Make <string> be the prefered
4449 way of getting to std::string, add using declarations.
4451 2003-10-06 André Pönitz <poenitz@gmx.net>
4453 * metricsinfo.C: initialize LyXFont before changing attribute.
4454 (fixes the 'math in \emph is upright' bug)
4456 2003-10-06 André Pönitz <poenitz@gmx.net>
4458 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4460 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4463 * paragraph_pimpl.C: Small fixes to build using STLport
4465 2003-10-02 André Pönitz <poenitz@gmx.net>
4468 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4470 2003-10-01 André Pönitz <poenitz@gmx.net>
4472 * factory.C: assert early
4474 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4476 * lyx_main.C: remove the global debug object
4478 * debug.h: adjust for new debugstream
4480 * debug.C: adjust for new debugstream and keep the global debug
4483 2003-09-22 Angus Leeming <leeming@lyx.org>
4485 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4486 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4487 an incomplete class LyXFont.
4489 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4491 * factory.C: bug fix in branches
4493 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * lyxfunc.C (processKeySym): adjust
4497 (dispatch): change arg name from ev to func, adjust
4498 (sendDispatchMessage): ditto
4500 * lyx_main.C (defaultKeyBindings): adjust keybindings
4501 (deadKeyBindings): ditto
4503 * kbsequence.C (addkey): return a FuncRequest
4505 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4507 * kbmap.C (bind): take a FuncRequest as arg, adjust
4510 (defkey): change to take a FuncRequest as arg, adjust
4511 (findbinding): take a FuncRequest as arg, adjust.
4513 * funcrequest.h (operator=): added
4515 * funcrequest.C (FuncRequest): default kb_action changed from
4516 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4518 * buffer.C (dispatch): simplify
4519 (dispatch): adjust to take a FuncRequest as arg, adjust
4521 * boost.C (assertion_failed): change assertion message slightly
4523 * ToolbarBackend.C (read): simplify
4525 * MenuBackend.C (binding): adjust call to findbinding, add a
4526 message if no binding is found.
4528 (expandToc): correct by adding a empty FuncRequest
4530 * LyXAction.C: include <boost/assert.hpp>
4531 (isPseudoAction): delete function
4532 (LookupFunc): change name to...
4533 (lookupFunc): this. change return type to FuncRequest.
4534 (getActionName): take kb_action as arg, simplify
4535 (funcHasFlag): add an assert, simplify.
4537 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4539 * toc.C (action): return a FuncRequest, simplify
4541 * lyxfunc.C (processKeySym): adjust
4542 (getStatus): delete version that takes an int.
4544 (dispatch): delete version that takes action as int
4546 (sendDispatchMessage): simplify and adjust
4548 * funcrequest.C (getArg): take unsigned int as arg
4550 * ToolbarBackend.C (read): adjust
4551 (add): delete version that takes func as a string.
4552 (getIton): take a FuncRequest as arg
4554 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4557 * MenuBackend.C (MenuItem): add a new construct that only takes a
4558 Kind, simplify the constructor use for submenus.
4560 (expandLastfiles): adjust
4561 (expandDocuments): adjust
4562 (expandFormats): adjust
4563 (expandFloatListInsert): adjust
4564 (expandFloatInsert): adjust
4565 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4567 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4568 Remove class variables lyx_pseudo_map and lyx_arg_map
4570 * LyXAction.C (searchActionArg): delete function
4571 (getPseudoAction): delete function
4572 (retrieveActionArg): delete function
4573 (LookupFunc): make it return kb_action, simplify.
4574 (getActionName): simplify
4576 * factory.C (createInset): fix new bug
4578 2003-09-19 Angus Leeming <leeming@lyx.org>
4580 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4581 masterFilename_ parameter in the include inset.
4583 * factory.C (createInset): changes due to the changes to InsetInclude.
4585 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4587 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4589 2003-09-18 Angus Leeming <leeming@lyx.org>
4592 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4593 Inset::fillWithBibKeys.
4594 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4596 2003-09-18 Angus Leeming <leeming@lyx.org>
4598 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4600 (ctor): pass and store a 'Buffer const &'
4601 (buffer): new member function.
4603 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4604 '*this' to the LaTeXFeatures ctor.
4606 2003-09-18 Angus Leeming <leeming@lyx.org>
4612 * text.C: rename EnumLColor as LColor_color.
4614 2003-09-18 Angus Leeming <leeming@lyx.org>
4616 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4617 remove #include "insets/insetbase.h" from cursor.h.
4619 2003-09-18 Angus Leeming <leeming@lyx.org>
4621 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4622 InsetOld_code to remove #include "inset.h".
4624 * iterators.C: add #include "insets/inset.h"
4626 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4628 * BufferView.C: remove more locking stuff that apparently doesn't
4629 do anything sensible.
4631 2003-09-16 André Pönitz <poenitz@gmx.net>
4634 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4637 2003-09-16 Angus Leeming <leeming@lyx.org>
4639 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4641 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4644 * paragraph.h: remove #include "lyxfont.h". Forward declare
4647 2003-09-16 Angus Leeming <leeming@lyx.org>
4649 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4650 of support/textutils.h.
4651 (isWord): move the contents of support/textutils.h's IsWordChar here.
4657 * text2.C: add #include "paragraph.h".
4660 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4662 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4668 * LaTeX.C: use namespace alias for lyx::support::os
4670 2003-09-16 Angus Leeming <leeming@lyx.org>
4673 * bufferview_funcs.C:
4676 * paragraph_pimpl.C:
4678 * text.C: add #include "LColor.h".
4680 2003-09-16 Angus Leeming <leeming@lyx.org>
4682 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4683 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4685 Store the FontBits::color variable as an int rather than as an
4686 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4689 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4690 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4691 string calls together.
4693 * lyxrc.C: add #include "LColor.h".
4695 2003-09-15 Angus Leeming <leeming@lyx.org>
4697 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4700 2003-09-15 Angus Leeming <leeming@lyx.org>
4702 * LColor.h: add an EnumLColor wrapper for LColor::color.
4704 * lyxfont.[Ch] (color, setColor, realColor):
4705 * lyxtext.h, text.C (backgroundColor):
4706 pass EnumLColor args to/from the functions, rather than LColor::color
4710 * lyxtext.h: forward declare EnumLColor.
4712 * lyx_main.C: add #include "LColor.h".
4714 2003-09-15 Angus Leeming <leeming@lyx.org>
4716 * .cvsignore: add lyx-gtk.
4718 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * ParagraphParameters.C
4727 * bufferview_funcs.C
4737 * vc-backend.C: remove usage of STRCONV
4739 2003-09-15 Angus Leeming <leeming@lyx.org>
4741 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4742 explicitly define the color passed to the painter.
4744 2003-09-15 Angus Leeming <leeming@lyx.org>
4746 * bufferparams.C (BufferParams): reorder member initializers to avoid
4749 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4751 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4752 * text.C (updateRowPositions): remove an unusual nop
4754 2003-09-12 André Pönitz <poenitz@gmx.net>
4756 * BufferView_pimpl.C:
4765 * Counters.[Ch]: finish the 'automatic counters' job
4767 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4769 * aspell.C: include <boost/assert.cpp> (compile fix)
4771 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4773 * boost.C (assertion_failed): use lyx::support::abort instead of
4776 2003-09-10 Angus Leeming <leeming@lyx.org>
4778 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4779 with their _fwd progeny.
4781 2003-09-09 Angus Leeming <leeming@lyx.org>
4783 134 files throughtout the source tree: replace 'using namespace abc;'
4784 directives with the appropriate 'using abc::xyz;' declarations.
4786 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4788 * boost.C (emergencyCleanup): moved here from LAssert.c
4789 (assertion_failed): new function, called by BOOST_ASSERT
4791 * several files: change Assert to BOOST_ASSERT
4793 2003-09-09 Angus Leeming <leeming@lyx.org>
4795 * buffer.[Ch]: Add an Impl class and move Buffer's member
4796 variables into it. As a result move several header files out of
4799 Add header files to lots of .C files all over the tree as a result.
4801 2003-09-09 Angus Leeming <leeming@lyx.org>
4803 * buffer.[Ch]: make Buffer's member variables private. Add
4806 Lots of changes all over the tree as a result.
4808 2003-09-08 Angus Leeming <leeming@lyx.org>
4810 * graph.C: #include <config.h>.
4812 2003-09-08 Angus Leeming <leeming@lyx.org>
4816 * BufferView_pimpl.C:
4845 * toc.C: remove redundant using directives.
4847 2003-09-07 Angus Leeming <leeming@lyx.org>
4849 * LaTeXFeatures.h: remove #include "support/types.h".
4850 * ToolbarBackend.h: remove #include <algorithm>.
4851 * changes.h: remove #include <ctime>.
4852 * debug.h: remove #include <iosfwd>.
4853 * graph.h: remove #include "support/std_string.h".
4854 * lyx_main.h: remove #include <csignal>.
4855 * lyxlex_pimpl.h: remove #include <fstream>.
4856 * sgml.h: remove #include <algorithm>, <utility>.
4857 * toc.h: remove #include "support/std_ostream.h".
4858 Add #include <iosfwd>.
4860 2003-09-07 Angus Leeming <leeming@lyx.org>
4862 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4864 * converter.h: forward declare LatexRunParams.
4865 * encoding.h: remove #include "lyxrc.h".
4866 * lyxtext.h: remove #include "LColor.h".
4867 * lyxtextclass.h: remove #include "support/types.h".
4868 * trans.h: remove #include "tex-accent.h".
4869 * trans_mgr.h: remove #include "tex-accent.h".
4870 * insets/inset.h: remove #include "support/types.h", <vector>.
4871 * insets/insetcollapsable.h: remove #include "LColor.h".
4872 * insets/insetinclude.h: remove #include "dimension.h".
4873 * insets/insetlatexaccent.h: remove #include "dimension.h".
4874 * insets/insetoptarg.h:: remove #include "insettext.h".
4875 * insets/insettext.h: remove #include "dimension.h",
4876 <boost/shared_ptr.hpp>
4878 * insets/renderers.h: add #include "dimension.h".
4879 * insets/updatableinset.h: add #include "support/types.h".
4881 * many .C files: Associated changes.
4883 2003-09-06 Angus Leeming <leeming@lyx.org>
4885 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4886 one, inside testInvariant.
4888 * PrinterParams.C: new file.
4889 * PrinterParams.[Ch]: move the function bodies out of line.
4891 2003-09-06 Angus Leeming <leeming@lyx.org>
4893 * ParagraphParameters.h: forward declare ParameterStruct rather than
4894 including its header file.
4895 (depth): moved out-of-line.
4897 2003-09-06 Angus Leeming <leeming@lyx.org>
4899 * BufferView_pimpl.h:
4902 * lyxfunc.h: forward declare LyXKeySym rather than
4903 #include "frontends/LyXKeySym.h".
4905 * BufferView_pimpl.C:
4908 * lyxfunc.C: associated changes.
4910 2003-09-06 Angus Leeming <leeming@lyx.org>
4912 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4913 As a result, can remove the #include "insets/inset.h" from BufferView.h
4915 2003-09-06 Angus Leeming <leeming@lyx.org>
4917 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4918 As a result, can remove the #include "insets/inset.h" from BufferView.h
4920 2003-09-06 Angus Leeming <leeming@lyx.org>
4926 * bufferview_funcs.C:
4927 * BufferView_pimpl.C:
4932 * ParagraphParameters.C:
4937 * frontends/controllers/ControlDocument.C:
4938 * insets/insetcaption.C: rearrange the #includes into some sort of
4941 * buffer.h: remove #includes ErrorList.h, undo.h
4943 2003-09-06 Angus Leeming <leeming@lyx.org>
4945 * support/types.h: add a 'depth_type' typedef, used to store the
4946 nesting depth of a paragraph.
4949 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4950 defining explicitly.
4953 * paragraph_funcs.h:
4954 * ParagraphParameters.h:
4955 * sgml.h: use lyx::depth_type rather than Paragraph or
4956 ParameterStruct's depth_type.
4959 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4962 * BufferView_pimpl.C:
4964 * ParagraphParameters.C:
4967 * bufferview_funcs.C:
4974 * frontends/LyXView.C:
4975 * frontends/controllers/ControlDocument.C:
4976 * frontends/controllers/ControlErrorList.C:
4977 * insets/insetbibitem.C:
4978 * insets/insetbranch.C:
4979 * insets/insetcaption.C:
4980 * insets/insetcollapsable.C:
4981 * insets/insetenv.C:
4982 * insets/insetert.C:
4983 * insets/insetfloat.C:
4984 * insets/insetfoot.C:
4985 * insets/insetfootlike.C:
4986 * insets/insetnewline.C:
4987 * insets/insetquotes.C:
4988 * insets/insettabular.C:
4989 * insets/insettext.C:
4990 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4992 * frontends/controllers/ControlChanges.C: #include "changes.h".
4994 2003-09-06 Angus Leeming <leeming@lyx.org>
4996 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4997 than #including paragraph.h.
5000 * RowList.h: deleted. Superfluous.
5010 * insets/insettext.h: use ParagraphList_fwd.h rather than
5013 * paragraph.h: don't forward declare ParagraphList.
5016 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5017 rather than ParagraphList.h. paragraph.h is still needed for the
5018 Paragraph::depth_type parameters.
5020 * textcursor.h: enable it to compile stand-alone in light of the
5023 * bufferview_funcs.C:
5035 * frontends/controllers/ControlParagraph.C:
5036 * frontends/controllers/ControlTabular.C:
5037 * insets/insetmarginal.C:
5038 * insets/insetminipage.C:
5039 * insets/insetnote.C:
5040 * insets/insetoptarg.C: add header files needed to compile again.
5042 2003-09-06 Angus Leeming <leeming@lyx.org>
5044 * RowList_fwd.h: new file, forward-declaring Row rather than
5045 #including lyxrow.h.
5050 * insets/insettext.h: use it instead of RowList.h
5052 * bufferview_funcs.C:
5059 * text3.C: #include "RowList.h".
5061 2003-09-05 Angus Leeming <leeming@lyx.org>
5063 * factory.C (createInset):
5064 * vspace.C (c-tor): replace sscanf call with an istringstream.
5065 * ispell.C: re-add missing HP/UX headers.
5066 * lyxserver.C: re-add missing os2 headers.
5068 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5077 * text3.C: re-add missing system headers, needed for 2.95.2.
5079 2003-09-05 Angus Leeming <leeming@lyx.org>
5081 Changes most place everywhere due to the removal of using directives
5082 from support/std_sstream.h.
5084 2003-09-05 Angus Leeming <leeming@lyx.org>
5086 Replace LString.h with support/std_string.h,
5087 Lsstream.h with support/std_sstream.h,
5088 support/LIstream.h with support/std_istream.h,
5089 support/LOstream.h with support/std_ostream.h.
5091 Changes resulting throughout the tree.
5093 2003-09-05 Angus Leeming <leeming@lyx.org>
5095 * sgml.h: ensure that the header file can be compiled stand-alone.
5096 * *.C: strip out redundant #includes. (320 in total.)
5098 2003-09-04 Angus Leeming <leeming@lyx.org>
5100 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5101 here (from getPackages).
5103 * debug.[Ch]: add a new EXTERNAL tag.
5105 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5107 * text2.C (cursorEnd): simplify
5109 (getColumnNearX): adjust
5111 * text.C (computeBidiTables): adjust
5114 * rowpainter.C (paintChars): adjust
5115 (paintSelection): adjust
5116 (paintChangeBar): adjust
5119 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5121 (numberOfSeparators): adjust
5123 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5129 * text3.C: Restricts the mouse click functionality
5130 of insets like bibtex, include, toc and floatlist to the visible
5131 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5132 up the dialogs. Cursor has to be in front of the inset (i.e.
5133 start of row) for this to function.
5135 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5137 * bufferview_funcs.C (currentState): output row information
5139 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5141 * bufferview_funcs.C (currentState): output paragraph position
5143 2003-09-04 Angus Leeming <leeming@lyx.org>
5145 * FloatList.h: move out #include "Floating.h".
5146 * LaTeX.h: move out #include "DepTable.h".
5147 * LyXAction.h: move out #include "funcrequest.h".
5148 * buffer.h: move out #include "author.h", "iterators.h".
5149 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5150 * lyx_main.h: move out #include "errorlist.h".
5151 * lyxfunc.h: move out #include "FuncStatus.h".
5152 * lyxtext: move out #include "lyxcursor.h".
5153 * paragraph_pimpl.h: move out #include "counters.h".
5155 2003-09-03 Angus Leeming <leeming@lyx.org>
5157 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5158 preamble_snippets list, enabling us to add snippets to the preamble
5159 only if the snippet was not there already.
5161 2003-09-04 Angus Leeming <leeming@lyx.org>
5163 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5165 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5167 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5170 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5172 * BranchList.C: point fix, earlier forgotten
5174 2003-09-02 Angus Leeming <leeming@lyx.org>
5176 * box.C (contains): renamed from 'contained' after a fantastic
5179 2003-09-02 John Levon <levon@movementarian.org>
5185 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5187 2003-09-02 John Levon <levon@movementarian.org>
5189 * text2.C: simplification of cursorEnd(), including partial
5192 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * buffer.C (readFile): add a space
5196 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5198 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5200 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5202 * buffer.C (readFile): new function, take a filename and a
5203 ParagraphList::iterator
5205 (readFile): adjust, make it private. don't use setStream, make
5206 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5207 always contain the filename.
5209 * BufferView.C (insertLyXFile): simplify and make it work for
5212 2003-08-30 John Levon <levon@movementarian.org>
5214 * Makefile.am: fix dist (from Kayvan)
5216 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5218 * most files: change to use const Buffer refs
5220 2003-08-27 André Pönitz <poenitz@gmx.net>
5222 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5223 on top of ownerPar().
5225 2003-08-27 John Levon <levon@movementarian.org>
5227 * funcrequest.C: properly initialise POD members
5229 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5231 * lyxtext.h (top_y): move top_y from here
5236 * BufferView_pimpl.[Ch]: to here
5237 * frontends/screen.C:
5238 * insets/insettabular.C:
5239 * insets/insettext.C: adjust
5240 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5242 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5245 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5247 2003-08-26 André Pönitz <poenitz@gmx.net>
5249 * paragraph_func.[Ch] (outerPar): new function
5252 * paragraph_funcs.C:
5253 * paragraph_funcs.h:
5254 * paragraph_pimpl.C:
5255 * text2.C: remove Inset::par_owner
5257 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5262 * text2.C: eliminates the needFullRow/display() stuff
5263 altogether, putting the logic in metrics/draw in the insets.
5265 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5267 * text2.C (redoParagraphInternal, redoParagraphs):
5268 * text.C (redoParagraph): add a call to updateRowPositions at the
5269 end of each 'metrics-like' call. Remove all others.
5270 (getRow): remove the 'y-computing' version.
5271 (getRowNearY): do not compute nor return the real y. Solve the
5272 'y < 0' problem and simplify.
5274 2003-08-22 Angus Leeming <leeming@lyx.org>
5276 * *.[Ch]: clean-up of licence and author blurbs.
5277 Also move config.h out of a few .h files and into a few .C files.
5279 2003-08-22 André Pönitz <poenitz@gmx.net>
5281 * lyxrow.[Ch]: add x_ and *fill_ members
5286 * text2.C: adjust/remove prepareToPrint() calls
5288 2003-08-22 André Pönitz <poenitz@gmx.net>
5290 * lyxrow.[Ch]: add end_ member
5292 * lyxrow_funcs.C: use LyXRow::end_
5294 * lyxtext.h (singleWidth): add LyXFont parameter
5297 * text2.C: adjust LyXText::singleWidth() calls
5299 * text.C (redoParagraph): simplify row breaking logic
5302 2003-08-19 André Pönitz <poenitz@gmx.net>
5304 * funcrequest.C: initialize button_ member
5307 * rowpainter.[Ch]: interface consolidation
5309 2003-08-18 André Pönitz <poenitz@gmx.net>
5312 * BufferView_pimpl.C:
5314 * paragraph_funcs.C:
5316 * text3.C: remove LyXScreen::draw() and fitCursor calls
5318 * BranchList.h: remove spurious semicolons
5320 * MenuBackend.C: fix branchlist related crash
5322 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5330 * bufferparams.[Ch]:
5334 * text3.C: implements the 'branch inset'
5335 idea. This allows the output of various versions of a document
5336 from a single source version, selectively outputing or suppressing
5337 output of parts of the text.
5338 This implementation contains a 'branch list editor' in a separate
5339 tab of the document settings dialog. Branches are user definable
5340 and have a "display colour" to distinguish them on-screen.
5342 ColorHandler was somewhat cleaned up.
5343 (1) make possible a dynamically growing LColor list by allowing
5344 the graphic context cache to grow along (vector);
5345 (2) eliminate an IMHO unnecessary step in colour allocation.
5347 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5349 * BufferView_pimpl.C: compile fix
5351 2003-08-15 André Pönitz <poenitz@gmx.net>
5353 * rowpainter.C: remove extra metrics calls
5355 * lyxtext.h: merge the two constructors into a single one,
5356 pass reference to owner's par list
5358 * BufferView_pimpl.C:
5362 2003-08-15 André Pönitz <poenitz@gmx.net>
5364 * lyxrow_funcs.[Ch]:
5367 * paragraph_funcs.C:
5372 * text_funcs.C: split LyXText::rowlist_ into individual
5373 Paragraph::rows_ chunks
5376 * BufferView_pimpl.[Ch]:
5379 * text3.C: remove toggleSelection()
5381 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5383 * bufferlist.C: beautify two alerts (shorter text of buttons)
5384 * buffer.C: Remove redundant ' ' from message
5386 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5387 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5388 rename VALIGN_CENTER to VALIGN_MIDDLE
5390 2003-08-11 André Pönitz <poenitz@gmx.net>
5392 * lyxtext.h (getPar):
5393 * text.C: new function
5395 2003-08-11 André Pönitz <poenitz@gmx.net>
5398 * tracer.[Ch]: remove unneeded files
5400 * InsetList.[Ch]: remove resizeInsetsLyXText()
5405 * text3.C: merge insertParagraphs() and appendParagraph()
5406 remove breakAgain(), update()
5408 * BufferView_pimpl.[Ch]:
5409 * bufferview_funcs.[Ch]:
5413 * tabular.C: adjust after text & InsetList changes.
5415 2003-08-08 André Pönitz <poenitz@gmx.net>
5417 * text.C (insertChar, backspace): replace rowlist fiddling
5418 with rebreak of full par
5421 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5422 checkParagraph, updateInset): removed
5424 2003-08-07 André Pönitz <poenitz@gmx.net>
5427 * text3.C: merge some LFUN handlers, remove dead code
5429 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5431 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5433 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5435 * text2.C (DEPM): fix part of bug 1255 and 1256
5437 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5439 * BufferView_pimpl.C (workAreaDispatch): change to use
5440 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5441 that are no mouse related.
5443 2003-08-05 André Pönitz <poenitz@gmx.net>
5446 * BufferView_pimpl.[Ch]:
5447 * bufferview_funcs.C:
5449 * text3.C: rip out "deep update"
5451 * textcursor.[Ch] (last_sel_cursor): remove unused member
5453 2003-08-04 André Pönitz <poenitz@gmx.net>
5456 * BufferView_pimpl.[Ch]:
5457 * ParagraphParameters.C:
5458 * bufferview_funcs.C:
5464 * text3.C: replace "complicated" BufferView::update(...) calls with
5467 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5469 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5471 * Makefile.am (lyx_SOURCES): add paper.h
5473 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5475 * Makefile.am: move things around so that both lyx-qt and
5476 lyx-xforms can be built (according to --with-frontend). Then lyx
5477 is a symbolic link to lyx-[firstfrontend]
5479 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5481 * Always use std::endl with lyxerr
5483 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5485 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5487 2003-08-01 André Pönitz <poenitz@gmx.net>
5490 * BufferView_pimpl.[Ch]:
5492 * text3.C: merge BufferView::repaint() and BufferView::update()
5494 2003-08-01 José Matos <jamatos@lyx.org>
5496 * buffer.[Ch]: file_format is no longer a buffer data element.
5498 2003-08-01 André Pönitz <poenitz@gmx.net>
5503 * text2.C: make redoParagraph more independent of current cursor
5505 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5507 * text2.C: remove unneeded members
5509 2003-07-30 André Pönitz <poenitz@gmx.net>
5511 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5513 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5514 create a single function...
5516 * paragraph_funcs.C (moveItem): ... here.
5519 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5521 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5523 * LColor.[Ch]: Add comment and greyedout logical colors.
5525 2003-07-30 André Pönitz <poenitz@gmx.net>
5527 * tabular.C: don't use Assert too heavily. This crashes where it
5530 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5532 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5533 is disabled (bug 1232)
5535 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5537 * factory.C: limited 'arg' scope
5539 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5541 * factory.C: fixed Note submenu issues
5543 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5545 * factory.C: submenu for Note/Comment/Greyedout
5547 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5550 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5552 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5555 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5556 greyedout. Patch provided by Jürgen Spitzmüller.
5558 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5560 * kbmap.C (read): fix error message when reading bind files
5562 2003-07-29 Angus Leeming <leeming@lyx.org>
5564 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5565 certainly does not do what it purports to do. I am doing it, and
5566 us, a favour by killing it.
5568 2003-07-28 José Matos <jamatos@lyx.org>
5570 * buffer.C (readBody, do_writeFile):
5571 * paragraph.C(readParagraph): \end_document replaces \the_end.
5573 2003-07-29 André Pönitz <poenitz@gmx.net>
5576 * BufferView_pimpl.[Ch]:
5580 * textcursor.[Ch]: remove toggleToggle & Co
5582 2003-07-28 José Matos <jamatos@fep.up.pt>
5584 * buffer.C (readParagraph):
5585 * params_func (readParToken, readParagraph):
5586 * paragraph.C (write): \layout -> \begin_layout.
5588 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5590 * lyxlex_pimpl.C (setFile): clean up slightly.
5592 * bufferparams.h: add compressed var
5594 * buffer_funcs.C (readFile): adjust for LyXLex change
5595 (newFile): ditto + simplify
5597 * buffer.C (writeFile): handle writing of compressed files
5599 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5600 Check if the file is compressed and set a bufferparm if so.
5602 * Makefile.am (lyx_LDADD): remove explicit -lz
5604 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5606 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5607 makeDocBookFile): put the real LyX version in the first line of
5611 * version.C.in: remove lyx_docversion
5613 * tabular.C (write_attribute): add a template-based version to
5614 write enums properly
5616 2003-07-28 André Pönitz <poenitz@gmx.net>
5621 * text3.C: use doubles again for x-coordinates. They are needed.
5623 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5625 * messages.C (getLocaleDir): use lyx_localedir()
5627 * lyxlex_pimpl.C (setFile): compress stuff
5629 * buffer.C (writeFile): add some compression stuff
5630 (do_writeFile): new func, dont call expliti close... will this
5633 * Makefile.am (lyx_LDADD): add -lz
5635 2003-07-28 José Matos <jamatos@fep.up.pt>
5637 * buffer.C: increment file format.
5638 * paragraph_funcs (readParagraph, readParToken):
5639 * paragraph.C (readParagraph): add \end_layout.
5641 2003-07-27 Angus Leeming <leeming@lyx.org>
5643 * Makefile.am: remove special casing for configure-time setting of
5644 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5646 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5647 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5649 2003-07-26 André Pönitz <poenitz@gmx.net>
5651 * paragraph_func.[Ch]:
5652 * paragraph.C (realizeFont): inline it whereever it is used
5657 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5660 2003-07-26 André Pönitz <poenitz@gmx.net>
5664 * text2.C: get rid of LyXText::need_break_row
5666 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5668 * toc.[Ch]: put namespace toc inside namespace lyx
5670 * MenuBackend.C (expandToc2): adjust for lyx::toc
5673 * lyxfunc.C (dispatch): adjust for lyx::find
5675 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5676 lyx::find instead. Reorganize a bit.
5677 (LyXReplace): rename to replace
5678 (LyXFind): rename to find
5680 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5683 2003-07-26 André Pönitz <poenitz@gmx.net>
5685 * text.C (setHeightOfRow): restrict scope of temporary variable
5687 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5688 code (never has been used?)
5690 2003-07-27 Asger Alstrup <alstrup@local>
5692 * text.C (fill): Optimise algorithm to exploit that we can reuse
5693 the LyXFont for many characters.
5694 (setHeightOfRow): Same thing.
5695 (rowBreakPoint): Same thing.
5697 2003-07-26 Asger Alstrup <alstrup@local>
5699 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5701 * text.C (singleWidth): Spurious font copying in hot-spot
5702 singleWidth avoided. Reorder tests for arabic for efficiency.
5704 * text.C (fill): handle empty paragraphs better.
5706 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5709 * encoding.h: add includes
5711 * lyxrc.C: remove reading of bind files
5713 * lyx_main.C (init): setup bindings and menus only if we have a
5716 * kbmap.C (read): new method. Do the actual reading of bind
5719 * converter.C (dvipdfm_options):
5722 (output): adapt PAPER_* enums.
5724 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5726 * bufferparams.h: remove paper-related enums from there
5728 * paper.h: New file. A trivial header file to hold paper-related
5729 enums. It should later expand to contain many paper-related
5732 * lyxrc.C: declare extern displayTranslator
5734 2003-07-27 José Matos <jamatos@fep.up.pt>
5736 * tabular.[Ch] (linuxdoc): add support for tables and figures
5739 2003-07-27 José Matos <jamatos@fep.up.pt>
5741 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5742 consistency in both functions.
5743 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5745 2003-07-26 Asger Alstrup <alstrup@local>
5747 * rowpainter.C (paintRows): Change algorithm to work directly on
5748 the insets rather than asking every character in the document
5749 whether its an inset.
5751 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5753 * buffer.C (openFileWrite): factorize some code
5755 2003-07-26 Angus Leeming <leeming@lyx.org>
5758 * lyx_main.[Ch]: replace occurances of system_tempdir with
5761 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5763 * rename Inset to InsetOld
5765 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5767 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5768 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5769 which I think is a bit clearer. EDIT is gone, since it was
5770 premature optimisation, and broken for mathed anyway.
5771 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5772 with cursor positioning in insets as well (math insets still do not
5773 work, but that's a different story anyway.) It mysteriously
5774 crashes sometimes with undo in the first paragraph, but I'm fairly
5775 confident that this is a compiler bug.
5777 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5779 * paragraph.C (Paragraph): adjust for new clone return type
5781 (copyIntoMinibuffer): ditto
5783 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5785 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5786 by not having a special case, and always doing a full rebreak of
5787 the document after undo.
5789 2003-07-23 Angus Leeming <leeming@lyx.org>
5791 * factory.C (createInset): InsetExternal::setParams now takes a
5794 2003-07-23 Angus Leeming <leeming@lyx.org>
5796 * factory.C (createInset): changed interface to the external and
5797 graphics mailers' string2params functions.
5799 2003-07-23 Angus Leeming <leeming@lyx.org>
5801 * factory.C (createInset): pass a
5802 Buffer const * parameter to InsetExternalMailer's string2params.
5804 2003-07-22 John Levon <levon@movementarian.org>
5806 * Thesaurus.h: include the right aiksaurus header
5808 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5810 * MenuBackend.C (expand): check menu shortcuts unconditionally
5812 2003-07-21 Angus Leeming <leeming@lyx.org>
5814 * factory.C (createInset): pass a
5815 buffer_path parameter to InsetGraphicsMailer's string2params.
5817 2003-07-21 Angus Leeming <leeming@lyx.org>
5819 * BufferView_pimpl.C (buffer):
5822 * lyxfunc.C (dispatch):
5823 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5824 rather than the grfx shortcut.
5826 2003-07-21 André Pönitz <poenitz@gmx.net>
5828 * rowpainter.C: remove unused variables
5831 * tabular_funcs.h: move to tabular.C
5832 * Makefile.am: adjust
5834 * tabular.[Ch]: basic optical cleaning
5836 * author.h: pass references, not values
5838 2003-07-18 André Pönitz <poenitz@gmx.net>
5846 * text3.C: two-phase drawing for InsetText and InsetTabular
5847 some float -> int changes.
5849 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5851 * lyx_main.C: fix the fix
5853 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5855 * lyx_main.C: fix a crash in batch mode if no files specified
5858 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5860 * format.[Ch] (papersize): moved to BufferParams
5861 * converter.[Ch] (dvips_options): moved to BufferParams
5862 (dvipdfm_options): moved to anon namespace
5863 * bufferparams.[Ch]: added above functions.
5865 2003-07-17 André Pönitz <poenitz@gmx.net>
5869 * text2.C: don't call inset->update() anymore
5871 * metricsinfo.[Ch]: add convenience constructor
5873 2003-07-16 André Pönitz <poenitz@gmx.net>
5878 * text2.C: replace the LyXCursor::irow_ member with
5879 on-demand computation of the value
5881 2003-07-16 John Levon <levon@movementarian.org>
5883 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5885 2003-07-15 André Pönitz <poenitz@gmx.net>
5888 * text2.C: remove no more needed refresh_row
5890 2003-07-15 André Pönitz <poenitz@gmx.net>
5895 * text3.C: refresh_status tristate -> need_update bool
5897 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5899 * lyxtext.h (init): remove reinit argument (act as if always true)
5900 * text2.C: adjust to that
5902 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5904 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5905 * text3.C: use it to delete selections in some cases
5906 (bugs 441, 673, 702, 954).
5908 2003-07-14 André Pönitz <poenitz@gmx.net>
5910 * rowpainter.[Ch]: reduce interface
5912 2003-07-14 André Pönitz <poenitz@gmx.net>
5914 * BufferView_pimpl.C:
5915 * text2.C: adjust after removing unused BufferView * argument
5917 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5919 * text2.C (init): fix a crash fired on resize
5921 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5923 * buffer.[Ch]: added new closing signal
5924 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5925 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5926 BufferView::Pimpl via the closing the signal
5928 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5930 * buffer.[Ch]: take out all bv-related from buffer
5932 * BufferView_pimpl.[Ch]: connect to new signals
5933 * CutAndPaste.C: removed useless asserts
5934 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5937 * lyxfunc.C: moved view-related funciontality from vc here
5938 * paragraph.C: removed outdated comments
5941 2003-07-10 André Pönitz <poenitz@gmx.net>
5943 * BufferView_pimpl.C:
5947 * text2.C: remove InsetText::InnerCache, clean up consequences
5949 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5951 * ispell.C: fix two typos in error messages
5953 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5955 * Extend Note inset to other forms of annotation like Comment
5956 and Greyedout. Right button click gives dialog.
5958 Files modified or added (+):
5962 * ControlNote.[Ch] +
5964 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5965 frontends/controllers
5969 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5971 * aspell.C: add missing namespace lyx::support
5973 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5975 * BufferView.[Ch] (newFile): Add
5976 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5977 * LaTeX.[Ch] (message): added this signal and use it
5978 * buffer.[Ch] (busy, message): added these signals and use them
5979 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5983 * importer.C: use buffer signals instead of direct bv calling
5984 * lyx_cb.[Ch] (ShowMessage): removed
5987 * paragraph_funcs.C:
5988 * text2.C: use buffer signals
5990 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5992 * introduce namespace lyx::graphics
5994 2003-07-02 André Pönitz <poenitz@gmx.net>
5996 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5998 2003-07-01 André Pönitz <poenitz@gmx.net>
6005 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6006 text*.C to text_func.C
6008 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * introduce namespace lyx::support
6012 2003-06-30 André Pönitz <poenitz@gmx.net>
6017 * text.C: re-enable --with-included-string
6019 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6021 * textcursor.C: add <config.h>
6023 * text.C (getWord): remove const from word_location arg
6025 * lyxvc.C (getLogFile): fix const type order
6027 * lyxtext.h: remove const from word_location arg, add arg name
6029 * lyxlayout.h: currect type on labeltype.
6031 * importer.C: correct \file
6033 * converter.C (intToFormat): use std:: on ret val, ws changes
6035 * bufferlist.h: correct \file
6037 * buffer.C (makeLinuxDocFile): fix const type order
6038 (makeDocBookFile): ditto
6039 (fillWithBibKeys): use std:: on stdlib args.
6041 * CutAndPaste.C: fix authors.
6042 (availableSelections): use std:: on return vector
6044 2003-06-27 André Pönitz <poenitz@gmx.net>
6046 * BufferView_pimpl.C:
6047 * bufferview_funcs.C:
6055 * text3.C: remove LyXCursor::row_ member
6058 * text.C: rename fullRebreak() to partialRebreak() and implement
6059 a fullRebreak() that really bereks fully
6061 * textcursor.h: new struct for cursor-related data
6063 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6065 * lyx_main.C (LyX): get full path of document loaded on the
6068 2003-06-26 André Pönitz <poenitz@gmx.net>
6070 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6071 remove unused/broken operator>,<,>=.
6073 * text.C: remove only use of broken operator<= in an Assert().
6075 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6077 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6078 moved errorlist_.clear to showErrorList
6080 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6082 * converter.C (scanLog, runLaTeX):
6083 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6084 move the bv->showErrorList call to the callers
6085 * lyxfunc.C: i.e. here...
6087 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6088 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6089 namespace, the second to...
6090 * buffer_funcs (BufferFormat, parseErrors): added
6091 * errorlist.C (ErrorList(TeXErrors const &)): removed
6093 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6095 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6097 2003-06-24 "Garst R. Reese" <reese@isn.net>
6101 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6103 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6105 * version.C.in: change docversion to 1.4
6107 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6109 * buffer.C: fix a bug just introduced
6111 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6113 * buffer.[Ch]: added the parseError signal and use it, removed
6115 * BufferView.[Ch] (addError): moved to ...
6116 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6117 to the Buffer::parseError signal to catch (guess what) parse errors
6118 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6120 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6122 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6123 ability to create a buffer and to return an existing one from
6124 the list. Moved these functions to...
6125 * buffer_funcs.[Ch]: added
6126 * BufferView.[Ch] (loadLyXFile): added
6127 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6128 job removed from bufferlist::loadLyXFile.
6129 * buffer.C (setReadOnly): make it work without view
6130 (i.e added an if (users))
6132 2003-06-19 Angus Leeming <leeming@lyx.org>
6135 * LyXAction.C (init):
6136 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6137 with LFUN_DIALOG_SHOW <name> <data>.
6139 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6141 * CutAndPaste.C (availableSelections): small compilation fix for
6142 ancient (gcc 2.9x) compilers
6144 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * text3.C (cursorNext): add tmp var
6148 * text2.C (updateCounters): for function calling out of for clause
6149 (replaceSelectionWithString): ditto
6150 (insertStringAsParagraphs): ditto
6151 (getColumnNearX): add tmp var
6152 (setCursorFromCoordinates): add tmp var
6153 (cursorDownParagraph): add tmp var
6154 (deleteEmptyParagraphMechanism): add tmp var
6156 * text.C (insertChar): add tmp var
6158 * rowpainter.C (paintDepthBar): add tmp var
6160 * CutAndPaste.C (availableSelections): potentially check all
6161 paragraphs in a cut to fill the shown strings.
6163 2003-06-18 André Pönitz <poenitz@gmx.net>
6165 * kbmap.[Ch]: use vector<> instead of list<>
6167 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6169 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6170 pasteSelection with index
6172 * text2.C (pasteSelection): modify, call pasteSelection with index
6174 * paragraph.C (asString): reimplement version with no interval to
6175 call the one with interval.
6177 * lyxtext.h: add index arg to pasteSelection
6179 * MenuBackend.C (MenuItem): handle PasteRecent
6180 (Menu::read::Menutags): add md_pasterecent
6182 (expandPasteRecent): new function
6185 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6187 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6189 (availableSelections): new function
6191 2003-06-17 Angus Leeming <leeming@lyx.org>
6193 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6195 2003-06-17 Angus Leeming <leeming@lyx.org>
6198 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6200 * lyxfunc.C (dispatch): invoke it.
6202 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6204 * iterators.C (operator++, ParPosition): reintroduce some
6205 const_cast for the benefit of older compilers.
6207 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6209 * text3.C (dispatch): do not modify clipboard when doing
6210 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6211 LFUN_DELETE_SKIP on a selection selection
6213 2003-06-16 André Pönitz <poenitz@gmx.net>
6219 * tabular.[Ch]: IU of clone() and getLabelList();
6221 2003-06-13 André Pönitz <poenitz@gmx.net>
6223 * tabular.h: compactification
6225 2003-06-12 André Pönitz <poenitz@gmx.net>
6229 * tabular_funcs.h: some renaming plus whitespace
6231 2003-06-12 André Pönitz <poenitz@gmx.net>
6234 * BufferView_pimpl.C:
6240 * toc.C: Return a Paragraph & for ParIterator::operator*()
6242 2003-06-11 John Levon <levon@movementarian.org>
6246 * ToolbarBackend.C: add "Toolbars" section and
6249 2003-06-10 Angus Leeming <leeming@lyx.org>
6252 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6254 * lyxfunc.C (dispatch): invoke it.
6256 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6258 * main.C: protect <ios> with HAVE_IOS
6259 (main): protect sync_with_stdio with HAVE_IOS
6261 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6263 * text2.C (cutSelection): adjust
6264 (pasteSelection): adjust
6266 * messages.C: handle get of empty string
6268 * main.C (main): use sync_with_stdio(false)
6270 * lyxfunc.C (dispatch): adjust
6272 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6273 (WriteAs): remove unneeded BufferView arg.
6275 * bufferparams.h: use correct types on papersize, papersize2 and
6278 * bufferparams.C (readToken): adjust for type
6279 (writeLaTeX): add missing cases to switch.
6281 * bufferlist.C (quitWriteBuffer): adjust
6284 * buffer.C (asciiParagraph): remove some commented code.
6286 * CutAndPaste.C: remove current_view extern variable.
6287 (cutSelection): add BufferParams arg.
6288 (eraseSelection): add BufferParams arg.
6289 (pasteSelection): add Buffer const & arg
6291 2003-06-07 John Levon <levon@movementarian.org>
6294 * paragraph_funcs.C:
6295 * paragraph_pimpl.C:
6299 * paragraph.C: allow InsetERT to freely space lines,
6300 and some consolidation of code
6302 2003-06-06 José Matos <jamatos@fep.up.pt>
6304 * buffer.C (makeDocBookFile): fix bug #821
6306 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6308 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6310 2003-06-04 Angus Leeming <leeming@lyx.org>
6312 * buffer.C: bump format to 224.
6314 2003-06-05 André Pönitz <poenitz@gmx.net>
6316 * text2.C (redoParagraphs): remove two const_cast<>
6318 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6320 * ParagraphList.h: remove last remnants of NO_STD_LIST
6322 2003-06-03 Angus Leeming <leeming@lyx.org>
6324 * factory.C (createInset): small change to the way InsetExternal's params
6327 2003-06-04 André Pönitz <poenitz@gmx.net>
6329 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6331 * paragraph_pimpl.h:
6332 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6334 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6336 * undo_funcs.C: make some simple cases of undo work again
6338 2003-06-03 John Levon <levon@movementarian.org>
6340 * ispell.C: HPUX doesn't have sys/select.h
6343 2003-06-03 John Levon <levon@movementarian.org>
6345 * CutAndPaste.C: update tabular and include inset
6350 * paragraph.C: remove owningBuffer(), don't pass Buffer
6353 * factory.C: insetGraphicsParams changed
6355 2003-06-02 John Levon <levon@movementarian.org>
6361 * text3.C: remove insetparent
6363 2003-06-02 John Levon <levon@movementarian.org>
6366 * buffer.C: fix inset_iterator.end(), move out of line
6369 2003-06-01 John Levon <levon@movementarian.org>
6371 * text3.C: use a proper cut/paste when doing inset
6372 insert (from Jürgen Spitzmüller)
6374 2003-06-01 John Levon <levon@movementarian.org>
6376 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6378 2003-05-30 André Pönitz <poenitz@gmx.net>
6380 * rowpainter.C: unify second drawing phase
6382 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6384 * trans_mgr.C: remove one case of current_view
6386 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6388 * paragraph_funcs.h: remove paragraph.h include
6390 * paragraph.h: delete NO_STD_LIST stuff
6392 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6394 * buffer.h: remove paragraph.h include
6396 * ParagraphList.C: delete file
6398 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6400 * toc.C (getTocList): adjust
6402 * paragraph_pimpl.C (validate): adjust
6404 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6406 * paragraph.C (Paragraph): adjust
6407 (getPositionOfInset): use const_iterator, adjust
6408 (bibitem): use const_iterator, adjust
6409 (setInsetOwner): adjust
6411 * iterators.C (operator++): adjust
6413 * InsetList.[Ch]: Replace selfmade iterator with standard
6414 vector::iterator also introduce const_iterator. Remove getPos,
6415 getInset and setInset from InsetTable. Adjust accordingly.
6417 * BufferView.C (lockInset): adjust
6418 (ChangeInsets): adjust
6420 * tabular.[Ch]: delete commented same_id functions
6422 2003-05-28 John Levon <levon@movementarian.org>
6424 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6426 2003-05-28 André Pönitz <poenitz@gmx.net>
6428 * metricsinfo.[Ch]: remove 'fullredraw' member
6430 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6432 * lyxtextclass.C (operator): remove caching.
6434 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6438 * text2.C (cursorBottom): adjust
6439 (setCounter): use ParagraphList::find, adjust
6441 * text.C (workWidth): use ParagraphList::find, adjust
6443 * lyxcursor.C (LyXCursor): adjust
6445 * buffer.C (inset_iterator): adjust
6447 * ParagraphList.h: make iterator(value_type) private, make
6448 ParagraphList a friend of iterator.
6450 * ParagraphList.C (find): new function
6452 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6454 2003-05-27 André Pönitz <poenitz@gmx.net>
6456 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6458 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6460 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6462 2003-05-26 John Levon <levon@movementarian.org>
6464 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6466 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6468 * remove same_id from function signatures, adjust.
6470 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6472 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6474 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6476 * paragraph.C (Paragraph): get rid of same_ids parameter
6478 * ParagraphList.C (insert): adjust
6481 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * paragraph_funcs.C (breakParagraph): adjust
6484 (breakParagraphConservative): adjust
6486 * buffer.C (readParagraph): adjust
6488 * ParagraphList.C (insert): take a reference instead of a pointer
6491 * paragraph.[Ch] (id): new function
6493 * bufferlist.C (newFile): adjust
6495 * ParagraphList.C (ParagraphList): adjust
6497 (push_back): take a reference instead of a pointer.
6499 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6501 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6504 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6505 set else use old code.
6507 * ParagraphList.C: remove all NO_NEXT code and only compile this
6508 code of NO_STD_LIST is set.
6510 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6512 * BufferView_pimpl.C:
6522 * graphics/GraphicsConverter.C:
6523 * graphics/PreviewLoader.C: header adjustment
6525 2003-05-23 Angus Leeming <leeming@lyx.org>
6527 * LaTeXFeatures.[Ch] (useBabel): new method.
6528 * bufferparams.C (writeLaTeX): use it.
6530 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6532 * ParagraphList.h (set): remove unused function.
6534 2003-05-23 André Pönitz <poenitz@gmx.net>
6537 * BufferView_pimpl.C:
6541 * undo_funcs.C: setUndo reworked
6543 * iterators.[Ch]: add access to topmost ParagraphList
6545 * lyxtext.[Ch] (workWidth): add a const
6547 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6549 * texrow.[Ch] (increasePos): remove function
6550 * exporter.C (export): removed unused var and outdated comment
6552 2003-05-23 Angus Leeming <leeming@lyx.org>
6554 * latexrunparams.h: rename fragile as moving_arg.
6555 * paragraph.C (simpleTeXOnePar): ditto.
6556 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6558 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6560 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6562 (textUndoOrRedo): comment out a currently unused var.
6564 * paragraph.h (NO_NEXT): enable NO_NEXT
6566 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6568 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6570 * exporter.C (Export): adjust for removeAutoInsets removal.
6572 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6574 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6576 * BufferView.[Ch] (removeAutoInsets): delete function
6578 2003-05-22 Angus Leeming <leeming@lyx.org>
6580 * latexrunparams.h: add a free_spacing variable.
6582 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6583 to pass moving_arg, as the data is stored in runparams.fragile.
6585 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6586 to Inset::latexOptional or to simpleTeXOnePar.
6588 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6589 free_spacing arg to Inset::latexOptional.
6591 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6594 2003-05-22 Angus Leeming <leeming@lyx.org>
6596 * latexrunparams.h: add fragile and use_babel variables.
6598 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6599 * buffer.C (makeLaTeXFile): store this returned value in
6600 runparams.use_babel, thus passing it to the inset::latex methods.
6602 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6603 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6605 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6606 longer has a fragile arg, as it is stored in runparams.fragile.
6608 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6609 moving_arg parameter as the data is stored in runparams.fragile.
6611 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6612 a fragile parameter as the data is stored in runparams.fragile.
6614 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6616 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6618 2003-05-22 Angus Leeming <leeming@lyx.org>
6620 * latexrunparams.h: add a 'bool nice' which defaults to false.
6622 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6623 now encapsulated within runparams.
6625 * bufferlist.C (updateIncludedTeXfiles):
6626 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6628 2003-05-22 Angus Leeming <leeming@lyx.org>
6630 * latexrunparams.h: new file containing struct LatexRunParams.
6631 * Makefile.am: add new file.
6633 * LaTeX.[Ch] (c-tor, run):
6634 * buffer.[Ch] (makeLaTeXFile):
6635 * bufferlist.[Ch] (updateIncludedTeXfiles):
6636 * converter.C (convert, scanLog):
6637 * converter.[Ch] (runLaTeX):
6638 * exporter.C (Export):
6639 * paragraph.[Ch] (simpleTeXOnePar):
6640 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6641 * paragraph_funcs.[Ch] (latexParagraphs):
6642 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6643 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6644 pass around a LatexRunParams parameter.
6646 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6648 * paragraph.[Ch]: remove unused constructor
6650 * ParagraphList.C (erase): new function, taking two iterators
6652 2003-05-22 André Pönitz <poenitz@gmx.net>
6654 * undo_funcs.C: remove duplicated code
6656 * iterator.[Ch]: operator=
6658 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6660 * tabular.C (SetMultiColumn): ws changes
6662 * rowpainter.C (paintFirst): get rid of a ->previous
6664 * lyx_cb.C (getPossibleLabel): parlist simplification
6666 * BufferView.C (ChangeInsets): simplify slightly.
6668 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6670 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6671 * lfuns.h: new LFUN_SPACE
6672 * lyxfunc.C: protected space has a new lfun
6673 * paragraph_funcs.C: read new space insets
6675 * factory.C: handle new space insets
6677 2003-05-22 André Pönitz <poenitz@gmx.net>
6680 * BufferView_pimpl.C:
6683 * undo_funcs.C: return a ParIterator from getParFromID.
6685 * iterators.[Ch]: add two const's
6687 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6689 * toc.C (getTocList): adjust
6691 * iterators.[Ch]: rework for parlist
6693 * buffer.C (par_iterator_begin): adjust
6694 (par_iterator_end): adjust
6696 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6698 * BufferView.C (removeAutoInsets): adjust
6699 (ChangeInsets): adjust
6701 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6703 * text.C (top_y): fix bug 1110
6705 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6707 * errorlist.[Ch]: added
6710 * BufferView_pimpl.C:
6711 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6714 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6716 * Makefile.am: ensure that lyx is relinked upon changes to the
6717 various "convenience" libs.
6719 2003-05-20 Angus Leeming <leeming@lyx.org>
6721 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6722 files are compiled in alphabetical order again.
6724 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6726 2003-05-19 Angus Leeming <leeming@lyx.org>
6728 * gettext.[Ch]: remove "char const * _(char const *)".
6730 2003-05-19 André Pönitz <poenitz@gmx.net>
6732 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6741 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6743 2003-05-19 André Pönitz <poenitz@gmx.net>
6747 * lyxtextclass.[Ch]:
6749 * paragraph_funcs.[Ch]:
6751 * text3.C: more insetenv work
6753 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6755 * ParagraphParameters.C (params2string): small bug fixed
6757 2003-05-16 André Pönitz <poenitz@gmx.net>
6760 * bufferview_funcs.C: patch from Kornel Benko to prevent
6761 crash when _(...) is called twice in a statement
6763 2003-05-16 André Pönitz <poenitz@gmx.net>
6770 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6772 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6774 * lyx_main.C (init): remove spurious static_cast
6776 2003-05-14 André Pönitz <poenitz@gmx.net>
6778 * BufferView.C: fix format string
6780 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6782 * BufferView.[Ch] (insertErrors): removed
6783 * BufferView.[Ch] (showErrorList): added
6784 * buffer.C (runChkTeX):
6785 * converter.C (scanLog): call showErrorList instead of inserterrors
6787 2003-05-13 André Pönitz <poenitz@gmx.net>
6789 * BufferView_pimpl.C:
6791 * bufferview_func.C:
6798 * tabular_funcs.h: tostr() from its own header
6800 * ParagraphParameters.C:
6805 * text3.C: STRCONV()
6807 2003-05-12 André Pönitz <poenitz@gmx.net>
6810 * BufferView_pimpl.C:
6814 * ParagraphParameters.C:
6818 * bufferview_funcs.C:
6831 * paragraph_funcs.C:
6835 * text3.C: boost::format -> bformat all over the place
6838 2003-05-09 André Pönitz <poenitz@gmx.net>
6840 * LColor.[Ch]: Pimpl the #include <map> away
6842 2003-05-09 John Levon <levon@movementarian.org>
6844 * bufferlist.C: never remove emergency saves
6846 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6848 * Makefile.am: better lib building
6850 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6854 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6855 (simpleTeXSpecialChars): adjust
6856 (simpleTeXSpecialChars): adjust
6857 * paragraph.C (simpleTeXOnePar): adjust
6858 * buffer.C (makeLaTeXFile): adjust
6860 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6862 * text2.C (changeDepth): parlist cleanup
6863 (getColumnNearX): ditto
6865 * rowpainter.C (getLabelFont): parlist cleanup
6867 * bufferlist.C (newFile): parlist cleanup
6869 * CutAndPaste.C (eraseSelection): parlist cleanup
6871 * BufferView_pimpl.C (trackChanges): parlist cleanup
6874 * BufferView.C (lockInset): parlist cleanup.
6875 (ChangeInsets): ditto
6877 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6879 * CutAndPaste.h: Update file header.
6881 * CutAndPaste.C: Update file header.
6882 Store the parts cut out of the Document in a limited_stack.
6883 (copySelection): adjust
6884 (pasteSelection): new function, takes the index in the limited stack.
6885 (nrOfParagraphs): adjust
6886 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6887 simplify error inset insertion.
6888 (checkPastePossible): adjust
6890 2003-05-06 John Levon <levon@movementarian.org>
6892 * text2.C: don't cast wrap inset to float
6894 2003-05-05 André Pönitz <poenitz@gmx.net>
6897 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6899 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6900 few naked Paragraph *.
6902 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6904 * bufferparams.C: Output warning if a document with missing
6905 TeX document class is loaded
6906 * exporter.C: Disable TeX exports if the document class is missing
6909 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6910 isTeXClassAvailable()
6912 2003-05-03 John Levon <levon@movementarian.org>
6915 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6916 explicit cursor show/hide
6918 * BufferView_pimpl.h:
6919 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6920 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6922 * lyxfunc.C: hide cursor before dispatching.
6927 * text3.C: remove explicit cursor hides
6929 2003-05-02 André Pönitz <poenitz@gmx.net>
6931 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6934 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6937 * text2.C: tiny whitespace
6939 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6941 * undo_funcs.C: almost only ws changes.
6943 * ParagraphList.C (splice): just return if pl is empty.
6945 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6947 * ParagraphList.C (splice): new function.
6949 * CutAndPaste.C (pasteSelection): use it
6951 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6953 * CutAndPaste.C (pasteSelection): remove the last next and
6954 previous from this file.
6956 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * CutAndPaste.C (pasteSelection): more clean up, user proper
6959 ParagraphList functions for pasteing.
6961 * ParagraphList.C (insert): new function, three arg insert
6963 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6965 * ParagraphList.C (insert): new function, three arg insert
6967 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6970 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6972 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6974 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6976 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6978 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6980 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6981 (copySelection): clean up a bit.
6982 (pasteSelection): use make_pair
6984 * ParagraphList.C (ParagraphList): implement copy constructor
6985 (operator=): implement, base on copy constructor.
6988 * paragraph.C (erase): return a bool
6990 * paragraph_pimpl.C (erasePos): remove function, move contents...
6991 (erase): ... here. Return a bool.
6992 (erase): call erase instead of erasePos.
6994 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6996 * ParagraphList.h: define PitPosPair
6997 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6998 ParagraphList, fix a bug on pasting multiple pars
6999 * text2.C: change interface to C&P
7001 2003-04-30 André Pönitz <poenitz@gmx.net>
7003 * undo_func.C: revert part of yesterday's patch 2
7005 2003-04-30 John Levon <levon@movementarian.org>
7007 * LColor.C: s/tabular/table/
7009 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * text3.C (dispatch): do not convert iterator -> pointer
7012 * undo_funcs.C (setCursorParUndo): ditto
7013 * text_funcs.C (transposeChars): ditto
7015 * text2.C (setLayout): ws changes only
7017 * text.C (breakParagraph): do not convert iterator -> pointer
7019 (acceptChange): ditto
7020 (rejectChange): ditto
7025 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7028 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7030 * text3.C (gotoInset): YABG (yet another bad getChar)
7032 2003-04-29 André Pönitz <poenitz@gmx.net>
7034 * paragraph.h: make operator= private unimplemented as long as
7037 * ParagraphList.C: whitespace
7040 * paragraph_pimpl.[Ch]:
7041 * paragraph_funcs.C:
7043 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7046 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7048 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7050 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7051 * paragraph.[Ch] (erase):
7052 * paragraph_pimpl.[Ch] (erase): change return type and value
7053 * text2.C (cutSelection): some rework
7055 2003-04-28 John Levon <levon@movementarian.org>
7057 * bufferlist.C: changes for unsaved changes dialog
7059 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7061 * bufferlist.C (newFile): set language (messages_) for new
7064 * buffer.C (readFile): ws changes only.
7066 2003-04-28 André Pönitz <poenitz@gmx.net>
7071 * BufferView_pimpl.C:
7072 * BufferView.C: getParFromID related ParagraphList::iterator changes
7074 2003-04-28 André Pönitz <poenitz@gmx.net>
7076 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7079 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7081 * messages.C: remove one more localedir class variable.
7083 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7085 * messages.C (getLocaleDir): singleton generation function
7087 (Messages): add a default constructor.
7089 * main.C (main): do not setup localedir here, do not call
7092 * gettext.C (_): use it.
7093 (gettext_init): delete funciton
7095 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7097 * gettext.C (getLyXMessages): new singleton generating function.
7099 * buffer.C (updateDocLang): adjust
7101 * Makefile.am (messages.o): add target
7102 (main.o): remove target
7104 2003-04-27 John Levon <levon@movementarian.org>
7109 * lyxvc.C: specify cancel button in Alert::prompt
7111 2003-04-26 John Levon <levon@movementarian.org>
7116 * LyXAction.C: add LFUN_INSET_SETTINGS
7118 * lyxfunc.C: don't enable tabular-feature when there's
7119 just any locking inset
7121 2003-04-26 John Levon <levon@movementarian.org>
7123 * bufferlist.C: re-add Cancel to buffer close question
7125 * lyxfunc.C: fix import UI a bit
7127 2003-04-25 John Levon <levon@movementarian.org>
7129 * gettext.C: remove the broken asserts for now
7131 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * messages.C: make case where setlocale cannot comply work better.
7135 * buffer.C (updateDocLang): new function
7136 (changeLanguage): use it
7139 * text2.C (setCounter): use B_ a bit.
7141 * lyxlayout.C (Read): be sure to trim the label strings.
7143 * messages.C (Messages): fix typo in comment
7145 * buffer.C (readFile): set message_ after file is loaded.
7146 (makeDocBookFile): remove double return
7147 (changeLanguage): reset message_ upon language change.
7148 (B_): new func, use this to get translated buffer strings.
7150 * main.C: add myself and Jean Marc as authors.
7152 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7154 * messages.[hC]: pimplify Messages, and three different pimpls to be
7155 used in different circumstances.
7157 * gettext.[Ch]: change for use with new message code.
7159 2003-04-24 André Pönitz <poenitz@gmx.net>
7161 * factory.C: support for eqref
7163 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7165 * messages.[Ch]: add missing char
7167 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7169 * messages.[Ch]: New files
7171 2003-04-18 John Levon <levon@movementarian.org>
7175 * BufferView_pimpl.C:
7179 * text2.C: remove layout-copy/paste (bug 778)
7181 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7183 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7185 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7187 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7188 if they succeed. Act accordingly.
7190 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * text2.C (setCharFont): adjust
7193 (setCounter): adjust
7194 (insertStringAsLines): adjust
7196 * text.C (leftMargin): adjust
7197 (setHeightOfRow): adjust
7199 * rowpainter.C (paintFirst): adjust
7202 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7204 (isFirstInSequence): ditto
7205 (getEndLabel): ditto
7208 * paragraph.C (getParLanguage): comment out some hard stuff.
7210 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7212 (simpleDocBookOnePar): ditto
7213 (makeDocBookFile): use ParagraphList::iterator
7215 * CutAndPaste.C (pasteSelection): adjust
7217 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7219 * text2.C (getFont): adjust
7220 (getLayoutFont): adjust
7221 (getLabelFont): adjust
7223 * paragraph_funcs.C (TeXOnePar): adjust
7225 * buffer.C (simpleLinuxDocOnePar): adjust
7226 (simpleDocBookOnePar): adjust
7228 * CutAndPaste.C (pasteSelection): adjust
7230 * BufferView.C (getEncoding): adjust
7232 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7234 2003-04-16 John Levon <levon@movementarian.org>
7236 * lyxfind.C: use parlist stuff for search/changes
7238 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7240 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7242 * text2.C (deleteEmptyParagraphMechanism): adjust
7244 * text2.[Ch] (ownerParagraph): delete func (both of them
7246 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7248 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7250 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * ParagraphList.C: prepare for NO_NEXT
7254 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * text2.C (getFont): adjust
7257 (getLayoutFont): adjust
7258 (getLabelFont): adjust
7260 * paragraph.C (getFont): adjust
7261 (getLabelFont): adjust
7262 (getLayoutFont): adjust
7264 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7266 2003-04-15 John Levon <levon@movementarian.org>
7270 * lyx_main.C: handle Include in .ui files
7272 2003-04-15 John Levon <levon@movementarian.org>
7274 * MenuBackend.C: make the doc files length shorter
7277 * ToolbarBackend.C: handle toolbar placement flags,
7280 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7282 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7285 * paragraph_funcs.C (TeXOnePar): adjust
7287 * paragraph.C (getLabelFont): add outerfont arg, adjust
7288 (getLayoutFont): ditto
7289 (simpleTeXOnePar): adjust
7291 * paragraph_pimpl.C (realizeFont): delete func
7293 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7295 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7296 row argument, constify cur argument.
7298 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * text2.C (getFont): adjust
7301 (getLayoutFont): adjust
7302 (getLabelFont): adjust
7304 * paragraph_funcs.C (TeXOnePar): adjust
7305 (outerFont): new func...
7306 (realizeFont): ...moved out from here, changed this to facilitate
7309 * paragraph.C (getFont): take outerfont as arg, adjust
7310 (simpleTeXOnePar): add outerfont arg, adjust
7312 * buffer.C (simpleLinuxDocOnePar): adjust
7313 (simpleDocBookOnePar): adjust
7315 * CutAndPaste.C (pasteSelection): adjust
7317 * BufferView.C (getEncoding): adjust
7319 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7321 * text2.C (setCharFont): adjust
7322 (setCounter): adjust
7324 * text.C (leftMargin): adjust
7325 (setHeightOfRow): adjust
7327 * rowpainter.C (paintFirst): adjust
7330 * paragraph_pimpl.C (realizeFont): adjust
7332 * paragraph.C (isFirstInSequence): move from here...
7333 * paragraph_funcs.C (isFirstInSequence): ...to here
7335 * paragraph.C (outerHook): move from here...
7336 * paragraph_funcs.C (outerHook): ...to here
7338 * paragraph.C (depthHook): move from here...
7339 * paragraph_funcs.C (depthHook): ...to here
7341 * paragraph.C (getEndLabel): move from here...
7342 * paragraph_funcs.C (getEndLabel): ...to here
7344 * text2.C (realizeFont): move from here...
7345 * paragraph_funcs.C (realizeFont): ...to here
7347 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7351 2003-04-14 Angus Leeming <leeming@lyx.org>
7353 * LColor.[Ch]: scrap LColor mathcursor.
7355 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7357 * lyxlex.[Ch] (text): delete function
7358 * trans.C (Load): adjust
7359 * paragraph_funcs.C (readParToken): adjust
7361 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7363 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7364 vector<char> instead of a char[].
7366 * lyxlex_pimpl.C (getString): adjust
7368 (lex): use getString
7372 * lyxlex.C (text): use pimpl_->getString()
7376 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7379 (makeFontEntriesLayoutSpecific): temp var for par.size()
7380 (setLayout): temp var for ownerParagraphs().end()
7381 (fullRebreak): temp var for rows().end()
7382 (selectionAsString): temp var for boost::next(startpit), realize
7383 that the while really is a regular for loop.
7384 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7385 setCursor in one place.
7386 (setParagraph): temp vr for ownerParagraphs().end()
7387 (updateCounters): make the while loop a for loop
7388 (cutSelection): temp var for ownerParagraphs().end()
7389 (updateInset): make the do {} while() a regular for loop
7390 (getCursorX): use temp vars
7391 (setCurrentFont): use temp vars
7392 (getColumnNearX): use temp vars
7394 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7396 * text.C (transformChar): use temp var for getChar
7397 (computeBidiTables): use temp var for row->par()
7398 (fill): move temp vars for row->par() and pit->layout() earlier in
7400 (labelFill): use temp var for row->par()
7401 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7402 asc and desc, realize that pit never changes and that firstpit is
7403 just a duplicate and not needed. Exchange rit->par() with pit in a
7405 (breakAgain): use a temp var for boost::next(rit)
7406 (breakAgainOneRow): ditto
7407 (breakParagraph): use a temp var for rows().begin()
7408 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7409 (cursorRightOneWord): use temp var for cursor.par() and
7410 cursor.pos(), remove usage of tmpcursor.
7411 (cursorLeftOneWord): use temp var for cursor.par() and
7412 cursor.pos() only set cur at end of function.
7414 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7416 * text.C, text2.C: exchange all usage of Paragraph::next with
7417 boost::next(ParagraphList::iterator)
7419 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7421 * text2.C (cursorTop): simplify implementation
7422 (cursorBottom): ditto
7423 (setParagraph): use ParagraphList::iterator
7424 (setCurrentFont): adjust
7425 (getColumnNearX): adjust
7426 (cursorRight): adjust
7427 (cursorLeft): remove usage of Paragraph::previous
7428 (cursorUpParagraph): ditto
7429 (deleteEmptyParagraphMechanism): slight cleanup
7431 * text.C (isBoundary): take a Paragraph const & instead of a
7433 (addressBreakPoint): ditto
7434 (leftMargin): remove usage of Paragraph::previous.
7435 (setHeightOfRow): ditto
7436 (cursorLeftOneWord): ditto
7437 (selectNextWordToSpellcheck): ditto
7440 (breakParagraph): remove one usage of Paragraph::next
7441 (redoParagraph): ditto
7442 (acceptChange): ditto
7443 (insertChar): adjust
7444 (rowBreakPoint): adjust
7446 * bufferview_funcs.C (toggleAndShow): adjust
7448 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7450 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7451 methods to access it.
7453 * text.C: Added updateRowPositions to compute all row positions.
7454 Make top_y and getRowNearY() to use the cached y position
7456 2003-04-11 John Levon <levon@movementarian.org>
7458 * text.C (rowBreakPoint): reintroduce the labelEnd
7459 checks, code copied from the row fill stuff. Deep voodoo.
7461 * text.C (fill): add a comment and debugging for the
7464 2003-04-11 John Levon <levon@movementarian.org>
7466 * text.C: make sure fullrow insets get wrapped to the next line,
7467 even when they're in a manual label
7469 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7471 * text2.C (insertParagraph): make it take ParagraphList::iterator
7473 (setLayout): make it return ParagraphList::iterator
7474 (redoParagraphs): ditto
7476 (checkParagraph): ditto
7478 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7480 * text2.C: adjust several funcs.
7481 (realizeFont): take a ParagraphList::iterator as arg.
7482 (getLayoutFont): ditto
7483 (getLabelFont): ditto
7484 (setCharFont): ditto
7486 * text.C: adjust several funcs.
7488 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7490 * text.C (selectNextWordToSpellcheck): don't accidentally
7493 2003-04-10 John Levon <levon@movementarian.org>
7495 * ToolbarBackend.C (getIcon): special handling for
7498 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7500 * text2.C (cursorRight): a getChar assert fixed
7502 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * text2.C (getFont): change to take a ParagraphList::iterator
7505 instead of Paragraph*
7506 Adjust several functions.
7508 * text.C (transformChar): change to take a ParagraphList::iterator
7509 instead of Paragraph*
7510 (singleWidth): ditto
7511 Adjust several functions.
7513 * rowpainter.C: adjust several functions
7514 * rowpainter.h:store a ParagraphList::iterator and not a
7518 2003-04-09 John Levon <levon@movementarian.org>
7523 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7524 and the "help" bits as well
7526 2003-04-09 John Levon <levon@movementarian.org>
7529 * ToolbarBackend.C: allow multiple toolbars
7531 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7533 * undo_funcs.C (setCursorParUndo): adjust
7535 * text_funcs.C (transposeChars): adjust
7537 * text3.C (gotoNextInset): adjust
7540 * text2.C (setLayout): adjust
7541 (changeDepth): adjust
7543 (redoParagraphs): adjust
7544 (selectionAsString): adjust
7545 (setParagraph): adjust
7546 (insertInset): adjust
7547 (cutSelection): adjust
7548 (copySelection): adjust
7549 (pasteSelection): adjust
7550 (insertStringAsLines): adjust
7551 (updateInset): adjust
7552 (setCursor): change to take a ParagraphList::iterator parameter
7553 (setCursorIntern): change to take a ParagraphList::iterator parameter
7554 (setCurrentFont): adjust
7555 (cursorLeft): adjust
7556 (cursorRight): adjust
7557 (deleteEmptyParagraphMechanism): adjust
7559 * text.C (breakParagraph): adjust
7560 (insertChar): adjust
7561 (acceptChange): adjust
7562 (rejectChange): adjust
7563 (selectNextWordToSpellcheck): adjust
7564 (changeCase): adjust
7568 * lyxfind.C (SearchForward): adjust
7569 (SearchBackward): adjust
7570 (nextChange): adjust
7572 * lyxcursor.C (par): adjust
7574 * lyxcursor.h: store a ParagraphList::iterator instead of a
7577 * lyx_cb.C (getPossibleLabel): adjust
7579 * bufferview_funcs.C (toggleAndShow): adjust
7581 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7584 * BufferView.C (removeAutoInsets): adjust
7585 (lockedInsetStoreUndo): adjust
7587 2003-04-09 John Levon <levon@movementarian.org>
7589 * ToolbarBackend.C: try icon without argument
7590 if with argument fails
7592 2003-04-08 John Levon <levon@movementarian.org>
7595 * ToolbarBackend.C: add getIcon(), handle tooltip,
7596 and change from "Icon" to "Item".
7598 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7600 * BufferView.C (lockInset): another bad getchar crunched
7602 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7604 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7607 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7609 * lyxfind.C (searchForward, searchBackwards): bug 782
7611 2003-04-07 John Levon <levon@movementarian.org>
7613 * paragraph.C: remove dead comment
7615 * text.C: remove troublesome depth-fiddling code
7616 in leftMargin() and rightMargin() (bug 1017)
7618 * text.C: fix breaking of rows in nested lists
7621 * text2.C (updateCounters): fix up depth values
7624 2003-04-07 John Levon <levon@movementarian.org>
7626 * BufferView_pimpl.C: clear message when doc finishes resizing,
7627 and after a mouse event
7629 * lyxfunc.C: clear message after exiting inset
7631 2003-04-07 John Levon <levon@movementarian.org>
7633 * bufferview_funcs.C: show math status not outside
7634 status in the statusbar
7636 2003-04-07 John Levon <levon@movementarian.org>
7638 * lyxfunc.C: note status changed after a depth change
7640 2003-04-04 Angus Leeming <leeming@lyx.org>
7642 * LaTeX.h: move AuxInfo operator==, != out of line.
7643 Remove LaTeX virtual destructor; nothing derives from it.
7644 Move operator()() out of public area and rename it startscript().
7645 Change protected for private.
7647 2003-04-04 Angus Leeming <leeming@lyx.org>
7650 * text2.C: remove unneeded #includes.
7652 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7654 * text2.C (dEPM): fix the heigth of the next row
7656 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7658 * text.C: squashed an invalid getChar requester + some ws changes
7660 2003-04-03 John Levon <levon@movementarian.org>
7662 * bufferview_funcs.h:
7663 * bufferview_funcs.C:
7666 * text2.C: make getStatus work for the env depth lfuns
7668 2003-04-03 John Levon <levon@movementarian.org>
7670 * bufferview_funcs.h:
7671 * bufferview_funcs.C:
7674 * text2.C: parlistize decDepth(), by merging it with incDepth()
7676 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * lyxrow.h: store a ParagraphList::iterator instead of a
7679 Paragraph* and adjust other class functions to suit.
7681 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7684 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7686 * text2.C (setCursor): do not anchor to cursor row for the time being
7688 2003-04-02 John Levon <levon@movementarian.org>
7695 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7697 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7699 * paragraph.h: make ParagraphList and ParagraphList::iterator
7700 friends of Paragraph.
7702 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7704 * ParagraphList.C: Use the private next_ and previous_ from
7707 2003-04-01 John Levon <levon@movementarian.org>
7711 * Makefile.am: rename, remove defaults gunk
7714 * MenuBackend.C: remove defaults gunk
7717 * Languages.C: remove defaults gunk
7720 * lyx_main.C: error out if files couldn't be found.
7722 2003-04-02 John Levon <levon@movementarian.org>
7724 * text2.C: make incDepth() use parlist
7726 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7728 * undo_funcs.C (firstUndoParagraph): adjust
7730 * text3.C (gotoInset): adjust
7731 (dispatch): adjust, and rewrite loop.
7733 * text2.C (init): adjust, and rewrite loop.
7734 (redoParagraphs): adjust
7735 (updateInset): adjust, and rewrite loop.
7736 (deleteEmptyParagraphMechanism): adjust
7738 * tabular.C (LyXTabular): adjust
7739 (SetMultiColumn): adjust
7742 * lyxtext.[Ch] (ownerParagraph): delete function
7743 (ownerParagraphs): new function returns a ParagraphList.
7745 * BufferView.C (removeAutoInsets): adjust
7746 (insertErrors): adjust
7747 (setCursorFromRow): adjust
7749 2003-04-01 Angus Leeming <leeming@lyx.org>
7751 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7754 2003-04-02 John Levon <levon@movementarian.org>
7760 * text_funcs.C: make transposeChars a free function
7762 * lyxrow_funcs.C: remove wrong comment
7764 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * rowpainter.C: adjust
7772 * lyxrow_funcs. [Ch]: new files
7774 * lyxrow.[Ch]: remove next and previous pointers
7775 (next,previous): remove accessor functions
7776 (isParEnd): move to lyxrow_funcs
7777 (lastPos): move to lyxrow_funcs
7778 (nextRowIsAllInset): move to lyxrow_funcs
7779 (lastPrintablePos): move to lyxrow_funcs
7780 (numberOfSeparators): move to lyxrow_funcs
7781 (numberOfHfills): move to lyxrow_funcs
7782 (numberOfLabelHfills): move to lyxrow_funcs
7783 (hfillExpansion): move to lyxrow_funcs
7787 * bufferview_funcs.C (toggleAndShow): adjust
7789 * RowList.h: Remove class RowList from file leave just a
7792 * RowList.C: delete file
7794 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7797 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7799 * text3.C (cursorPrevious): adjust
7800 (cursorNext): adjust
7803 * text2.C (redoHeightOfParagraph): adjust
7804 (redoDrawingOfParagraph): adjust
7807 * text.C (breakParagraph): adjust
7808 (insertChar): adjust
7811 * rowpainter.C (RowPainter): adjust
7812 (leftMargin): simplify and adjust
7813 (most rowpainter functions): adjust.
7815 * rowpainter.h: store the row as RowList::iterator not as Row*
7817 * lyxcursor.C (row): taka RowList::iterator as arg
7820 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7823 2003-04-01 Angus Leeming <leeming@lyx.org>
7825 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7826 stuff like bool Bool.
7828 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7830 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7833 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7835 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7838 * lyxtext.h (rows): drop one version and leve a const variant that
7839 returns a RowList::iterator.
7841 2003-03-31 Angus Leeming <leeming@lyx.org>
7843 * text.C (fill): ensure that the signature is the same as that in the
7846 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7848 * text2.C (redoParagraphs): adjust
7849 (updateCounters): adjust
7850 (checkParagraph): adjust
7851 (getColumnNearX): adjust and reformat a bit.
7853 * text.C (top_y): adjust
7855 (leftMargin): adjust
7856 (prepareToPrint): adjust
7858 (getRowNearY): adjust
7860 * lyxtext.h: make rowlist_ mutable.
7862 * RowList.h: add const_iterator
7863 * RowList.C: adjust for RowList::const_iterator.
7865 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7868 2003-03-31 John Levon <levon@movementarian.org>
7871 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7873 * lyx_main.C: set default fonts from using lyx_gui funcs
7875 * exporter.C: pdf_mode moved from lyxrc
7878 * lyxfunc.C: changes from above
7880 2003-03-31 John Levon <levon@movementarian.org>
7882 * lyx_main.C: fix to the last fix
7884 2003-03-31 John Levon <levon@movementarian.org>
7886 * bufferlist.C: "Load original" -> "Load Original"
7892 * format.C: more Alert cleanups
7894 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7896 * text2.C (removeParagraph): make it take a RowList::iterator as
7898 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7899 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7901 * text.C (anchor_row): make it take a RowList::iterator as arg,
7903 (computeBidiTables): make it take a const reference to Row instead
7904 of Row pointer, adjust.
7905 (leftMargin): make it take a RowList::iterator as arg, adjust.
7906 (rowBreakPoint): adjust
7907 (breakAgainOneRow): make it take a RowList::iterator as arg,
7909 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7911 * bufferview_funcs.C (toggleAndShow): adjust
7913 2003-03-30 John Levon <levon@movementarian.org>
7917 * boost-inst.C: moved to support
7919 * several files: changes as a result
7921 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7923 * text2.C (LyXText): adjust.
7925 (removeRow): make it take a RowList::iterator as arg, adjust.
7926 (fullRebreak): adjust
7927 (deleteEmptyParagraphMechanism): adjust
7928 (clearPaint): adjust
7931 * text.C (top_y): adjust
7932 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7933 (breakAgain): make it take a RowList::iterator as arg, adjust.
7934 (breakParagraph): adjust
7935 (insertChar): adjust
7938 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7939 need_break_row, and refresh_row.
7941 * text3.C (dispatch): adjust
7943 * text2.C (checkParagraph): adjust
7945 (setCursorFromCoordinates): adjust
7947 * text.C (top_y): adjust
7949 (getRow): make it return a RowList::iterator, adjust
7950 (getRowNearY): make it return a RowList::iterator, adjust
7952 * text2.C (init): adjust
7953 (insertRow): remove function
7954 (insertParagraph): adjust
7955 (redoParagraphs): adjust
7956 (fullRebreak): adjust
7957 (updateCounters): adjust
7959 * text.C (top_y): rewrite to use RowList iterators.
7961 (setHeightOfRow): rewrite to sue RowList iterators.
7962 (appendParagraph): adjust
7963 (breakAgain): adjust
7964 (breakAgainOneRow): adjust
7965 (breakParagraph): adjust
7967 (getRowNearY): adjust, and remove commented code.
7969 * lyxtext.h (firstRow): delete function
7970 (lastRow): delete function
7971 (rows): new function (const and non-const versions.)
7972 (insertRow): delete function
7974 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7976 2003-03-29 John Levon <levon@movementarian.org>
7978 * BufferView_pimpl.C: always update scrollbar top
7979 because pasting text when we're anchored could mean we
7980 miss an update altogether
7982 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7984 * text2.C (init): use rowlist_.end() and not 0.
7985 (insertRow): change to take a RowList::iterator as arg, adjust
7987 (insertParagraph): change to take a RowList::iterator as arg,
7989 (redoParagraphs): remove some debug msgs.
7991 * text.C (appendParagraph): change to take a RowList::iterator
7992 arg, adjust for this.
7993 (breakAgain): add an assert
7994 (breakAgainOneRow): ditto
7996 2003-03-29 John Levon <levon@movementarian.org>
7998 * text2.C: do not clear selection after inc/decDepth
8001 2003-03-29 John Levon <levon@movementarian.org>
8004 * buffer.C: fix broken strerrors according to Lars
8006 2003-03-29 John Levon <levon@movementarian.org>
8008 * converters.C: more Alert cleanups
8010 2003-03-29 John Levon <levon@movementarian.org>
8012 * bufferview_funcs.C: remove pointless Alert
8014 * buffer.C: fix confusing error message when
8015 a template is chmoded 000
8017 2003-03-29 John Levon <levon@movementarian.org>
8021 * BufferView_pimpl.C: Alert fixes
8025 * tabular-old.C: remove unused table compat reading
8027 2003-03-29 John Levon <levon@movementarian.org>
8032 * lyx_cb.C: more Alert cleanups
8034 * lyxfunc.C: don't allow chktex if not latex document
8036 2003-03-29 John Levon <levon@movementarian.org>
8040 * buffer.C: warnings pushed down from support/,
8043 2003-03-29 John Levon <levon@movementarian.org>
8045 * lyxfunc.C: safety check for C-r (revert)
8047 2003-03-29 John Levon <levon@movementarian.org>
8050 * bufferlist.C: several UI fixes using Alert::prompt.
8051 Fix the pointless looping quit code. Fix stupid revert
8056 * lyx_cb.C: use Alert::prompt
8058 * lyx_main.C: remove a silly question
8060 * lyxfunc.C: remove a couple of silly questions,
8063 2003-03-28 John Levon <levon@movementarian.org>
8065 * text2.C: fix bug 974 (End on empty par)
8067 2003-03-28 John Levon <levon@movementarian.org>
8069 * BufferView_pimpl.C:
8071 * lfuns.h: remove do-nothing math greek lfuns
8073 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8075 * lyxgluelength.h (isValidGlueLength): add default arg on
8076 parameter 2. Remove default arg from friend in class.
8078 * lyxlength.h (isValidLength): add default arg on parameter 2.
8079 Remove default arg from friend in class.
8081 * text2.C (LyXText): adjust, initialize refresh_row.
8085 (insertParagraph): adjst
8086 (redoParagraphs): adjust
8087 (fullRebreak): adjust
8088 (updateCounters): adjust
8089 (deleteEmptyParagraphMechanism): first attempt at fixing a
8092 * text.C (top_y): adjust
8093 (setHeightOfRow): adjust
8095 (getRowNearY): adjust
8097 * lyxtext.h: include RowList.h
8098 (~LyXText): not needed anymore, deleted.
8099 (firstRow): modify for RowList
8100 (lastRow): new function
8101 Delete firstrow and lastrow class variables, add a Rowlist
8102 rowlist_ class variable.
8104 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8107 * RowList.C (insert): fix case where it == begin().
8109 2003-03-26 Angus Leeming <leeming@lyx.org>
8111 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8112 the thesaurus dialog.
8114 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8116 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8118 * RowList.[Ch]: new files
8120 * ParagraphList.C (erase): handle the case where it == begin
8123 2003-03-25 John Levon <levon@movementarian.org>
8127 * aspell.C: add new aspell support
8130 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8133 2003-03-25 Angus Leeming <leeming@lyx.org>
8136 * LyXAction.C (init): new LFUN_INSET_INSERT.
8138 * BufferView_pimpl.C (dispatch): split out part of the
8139 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8141 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8144 2003-03-25 Angus Leeming <leeming@lyx.org>
8146 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8148 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8151 * text3.C: remove useless row->height(0)
8153 2003-03-25 John Levon <levon@movementarian.org>
8157 * text3.C: rename the refreshing stuff to better names
8159 2003-03-24 John Levon <levon@movementarian.org>
8161 * BufferView_pimpl.h:
8162 * BufferView_pimpl.C: update layout choice on a mouse
8165 2003-03-23 John Levon <levon@movementarian.org>
8167 * Makefile.am: fix commandtags.h reference
8169 2003-03-22 John Levon <levon@movementarian.org>
8171 * BufferView_pimpl.C:
8176 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8178 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8181 * text.C: take the rtl methods out of line
8183 2003-03-21 André Pönitz <poenitz@gmx.net>
8185 * metricsinfo.[Ch]: new files containing structures to be passed around
8186 during the two-phase-drawing...
8188 2003-03-21 André Pönitz <poenitz@gmx.net>
8190 * lyxtextclass.C: read 'environment' tag.
8192 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8194 * text2.C (removeRow): fix bug 964
8196 2003-03-20 John Levon <levon@movementarian.org>
8200 * text2.C: paint cleanups. Inset::update() dropped font
8203 2003-03-19 John Levon <levon@movementarian.org>
8205 * lyxfunc.C: only fitcursor/markDirty if available()
8207 2003-03-19 John Levon <levon@movementarian.org>
8209 * commandtags.h: rename to ...
8211 * lfuns.h: ... this, and renumber / cleanup
8213 2003-03-19 John Levon <levon@movementarian.org>
8215 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8216 fit the cursor after an lfun
8220 * BufferView_pimpl.h:
8221 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8223 * LyXAction.C: layout-character should have ReadOnly
8225 * ParagraphParameters.C:
8227 * bufferview_funcs.C:
8234 * undo_funcs.C: changes from above
8236 2003-03-18 John Levon <levon@movementarian.org>
8238 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8239 remove it from update()
8241 * lyxfunc.C: update layout choice after an lfun
8243 * text3.C: remove extra updateLayoutChoice()s
8245 2003-03-18 John Levon <levon@movementarian.org>
8247 * text.C: top_y change means full repaint, fix
8248 a drawing bug with cursor movement
8250 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8254 * text2.C: anchor row on setCursor
8256 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8258 * lyxtext.h: remove almost all mutable keywords
8261 * text3.C: remove const keywords accordingly
8263 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8265 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8267 (TeXEnvironment): ditto
8270 2003-03-17 John Levon <levon@movementarian.org>
8272 * text.C (rowBreakPoint): remove attempt to fix displayed
8273 math insets inside a manual label
8275 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * lyxtext.h: remove BufferView* as first arg from almost all class
8279 * other files: adjust.
8281 2003-03-17 John Levon <levon@movementarian.org>
8285 * text2.C: more paint cleanups
8287 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8290 * rowpainter.C: remove "smart" background painting code
8292 2003-03-16 John Levon <levon@movementarian.org>
8297 * text3.C: add helper functions for setting refresh_row/y
8299 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8301 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8302 newline inset which *can* get inserted in the pass_thru layouts.
8303 This is primarily for literate documents.
8305 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8307 * buffer.C: increment LYX_FORMAT to 223
8309 2003-03-14 André Pönitz <poenitz@gmx.net>
8311 * textclass.h: prepare for environment handling, ws changes
8312 * lyxlayout.C: read latexheader and latexfooter tags
8314 2003-03-14 John Levon <levon@movementarian.org>
8316 * text2.C: rewrite ::status() a bit
8318 2003-03-13 John Levon <levon@movementarian.org>
8320 * lyxtext.h: add some docs
8322 2003-03-13 John Levon <levon@movementarian.org>
8327 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8329 2003-03-13 John Levon <levon@movementarian.org>
8331 * text3.C: fix appendix redrawing
8333 2003-03-13 John Levon <levon@movementarian.org>
8335 * text.C (setHeightOfRow):
8337 * rowpainter.C: make appendix mark have the text
8338 "Appendix" so the user knows what it is
8341 * LColor.C: s/appendixline/appendix/ from above
8343 2003-03-13 John Levon <levon@movementarian.org>
8345 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8347 * text.C: fix a getChar(pos) bug properly
8349 2003-03-13 Angus Leeming <leeming@lyx.org>
8352 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8353 Probably only temporary. Let's see how things pan out.
8355 * BufferView.C (unlockInset):
8356 * BufferView_pimpl.C (fitCursor):
8357 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8359 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8360 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8362 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8363 new functions that convert ParagraphParameters to and from a string.
8365 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8366 BufferView::Pimpl's dispatch.
8367 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8369 2003-03-13 André Pönitz <poenitz@gmx.net>
8373 * factory.C: make it aware of InsetEnv
8375 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8377 * text2.C (setCursor): never ask for one past last
8378 (setCursor): add some debugging messages.
8380 * text.C (singleWidth): never ask for one past last
8381 (singleWidth): ditto
8383 (rightMargin): ditto
8384 (rowBreakPoint): ditto
8385 (setHeightOfRow): ditto
8386 (prepareToPrint): ditto
8388 * rowpainter.C (paintBackground): never ask for one past last
8389 (paintText): never ask for one past last
8391 * paragraph_pimpl.C (getChar): make the assert stricter, never
8392 allow the one past last pos to be taken
8394 * paragraph.C (getChar): ws changes only
8396 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8397 (numberOfSeparators): ditto
8398 (numberOfHfills): ditto
8400 2003-03-12 John Levon <levon@movementarian.org>
8406 * paragraph_funcs.C: fix per-buffer authorlists
8408 2003-03-12 John Levon <levon@movementarian.org>
8410 * text.C: fix newline in right address
8412 2003-03-12 Angus Leeming <leeming@lyx.org>
8414 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8415 duplicate those in LyXFunc::dispatch.
8419 * ToolbarDefaults.C:
8420 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8421 Add LFUN_FONTFREE_UPDATE.
8423 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8424 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8426 * bufferview_func.[Ch]: several new functions to facilliate
8427 transfer of data to and from the character dialog.
8429 2003-03-12 John Levon <levon@movementarian.org>
8434 * paragraph_funcs.C:
8435 * paragraph_pimpl.C:
8439 * text3.C: remove META_NEWLINE in favour of an inset
8442 * rowpainter.C: remove paintNewline (done by inset)
8444 2003-03-12 John Levon <levon@movementarian.org>
8446 * paragraph_pimpl.C: complain about bad getChar()s
8447 for a while at least
8449 2003-03-12 John Levon <levon@movementarian.org>
8452 * buffer.C: move paragraph read into a separate function,
8453 a little renaming to reflect that.
8456 * bufferparams.C: remove the author_ids map, not necessary now
8459 * factory.C: moved Buffer::readInset to here
8461 * paragraph_funcs.h:
8462 * paragraph_funcs.C: readParagraph free function moved from
8465 * tabular.C: name change
8467 2003-03-12 John Levon <levon@movementarian.org>
8470 * ParagraphParameters.C: move par params input to
8473 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8474 behave like a normal read from the stream wrt reading
8475 a line vs. a \\token
8477 2003-03-12 John Levon <levon@movementarian.org>
8480 * ParagraphParameters.h:
8481 * ParagraphParameters.C: move output code to a
8484 2003-03-12 John Levon <levon@movementarian.org>
8486 * BufferView.C (insertLyXFile):
8489 * tabular.C: use a parlist iterator for creating the
8492 2003-03-12 John Levon <levon@movementarian.org>
8494 * buffer.C: make current_change static local not
8497 2003-03-12 John Levon <levon@movementarian.org>
8499 * buffer.C: fix insertStringAsLines for change tracking
8501 2003-03-12 John Levon <levon@movementarian.org>
8508 * bufferparams.C: move author list into params. Rename some
8509 functions. Move the header reading into a separate token
8510 loop. Move the header token reading into BufferParams.
8512 2003-03-12 John Levon <levon@movementarian.org>
8514 * changes.C: put debug inside lyxerr.debugging() checks
8516 2003-03-11 André Pönitz <poenitz@gmx.net>
8518 * factory.C: make it aware of InsetHFill
8520 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8522 * buffer.C (latexParagraphs): move function from here...
8523 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8526 2003-03-10 Angus Leeming <leeming@lyx.org>
8528 * LyXAction.C (init): fix bug in poplating array with multiple entries
8529 with the same LFUN (spotted by JMarc).
8531 2003-03-10 John Levon <levon@movementarian.org>
8534 * text2.C: move getColumnNearX() near its
8537 2003-03-10 John Levon <levon@movementarian.org>
8539 * text.C: fix break before a minipage
8541 2003-03-10 John Levon <levon@movementarian.org>
8543 * text.C: fix the last commit
8545 2003-03-09 John Levon <levon@movementarian.org>
8549 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8550 bug 365 (don't break before insets unless needed). Don't
8551 return a value > last under any circumstances.
8553 2003-03-09 Angus Leeming <leeming@lyx.org>
8555 * BufferView_pimpl.C (trackChanges, dispatch): call
8556 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8558 2003-03-09 Angus Leeming <leeming@lyx.org>
8560 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8561 than Dialogs::showAboutlyx().
8563 2003-03-09 Angus Leeming <leeming@lyx.org>
8565 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8566 than Dialogs::showTabularCreate().
8568 2003-03-09 John Levon <levon@movementarian.org>
8572 * text2.C: 3rd arg to nextBreakPoint was always the same.
8575 2003-03-08 John Levon <levon@movementarian.org>
8582 * text2.C: Remove the "main" bit from the "main body"
8585 2003-03-08 John Levon <levon@movementarian.org>
8587 * text.C (leftMargin): The left margin of an empty
8588 manual label paragraph should not include the label width
8591 * text.C (prepareToPrint): don't attempt to measure hfills
8592 for empty manual label paragraphs - the answer should be 0
8594 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8596 * CutAndPaste.C: remove commented code and reindent.
8598 2003-03-08 John Levon <levon@movementarian.org>
8601 * lyxfunc.C: move reloadBuffer()
8604 * BufferView.C: to here
8606 * lyxvc.C: add comment
8609 * vc-backend.C: call bv->reload() to avoid
8610 getStatus() check on MENURELOAD
8612 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8614 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8615 to an old format .dep file.
8617 2003-03-07 Angus Leeming <leeming@lyx.org>
8619 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8620 when the LFUN_MOUSE_RELEASE should have been handled by
8621 inset->localDispatch.
8623 2003-03-07 Angus Leeming <leeming@lyx.org>
8625 * BufferView_pimpl.C (dispatch):
8626 * LyXAction.C (init):
8627 * ToolbarDefaults.C (init):
8629 * lyxfunc.C (getStatus):
8630 remove LFUN_INSET_GRAPHICS.
8632 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8634 2003-03-07 Angus Leeming <leeming@lyx.org>
8637 * LyXAction.C (init):
8638 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8640 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8643 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8645 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8646 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8648 2003-03-07 Angus Leeming <leeming@lyx.org>
8650 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8653 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8655 * ParagraphList.C (front): new function
8658 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8660 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8661 and top_row_offset_. removed var first_y.
8663 * text2.C (LyXText, removeRow):
8665 * BufferView_pimpl.C:
8666 use these methods instead of using first_y
8668 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8670 * text2.C (pasteSelection): adjust for checkPastePossible
8672 * CutAndPaste.C: remove Paragraph * buf and replace with
8673 ParagraphList paragraphs.
8674 (DeleteBuffer): delete
8675 (cutSelection): change the tc type to textclass_type
8676 (copySelection): change the tc type to textclass_type
8677 (copySelection): adjust for ParagraphList
8678 (pasteSelection): change the tc type to textclass_type
8679 (pasteSelection): adjust for Paragraphlist
8680 (nrOfParagraphs): simplify for ParagraphList
8681 (checkPastePossible): simplify for ParagraphList
8682 (checkPastePossible): remove unused arg
8684 * ParagraphList.C (insert): handle the case where there are no
8687 * CutAndPaste.h: make CutAndPaste a namespace.
8689 * text3.C (dispatch): adjust
8691 * text.C (breakParagraph): add a ParagraphList as arg
8693 * paragraph_funcs.C (breakParagraph): change to take a
8694 BufferParams and a ParagraphList as args.
8695 (breakParagraphConservative): ditto
8696 (mergeParagraph): ditto
8697 (TeXDeeper): add a ParagraphList arg
8698 (TeXEnvironment): ditto
8701 * buffer.C (readLyXformat2): adjust
8702 (insertStringAsLines): adjust
8703 (latexParagraphs): adjust
8705 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8706 (cutSelection): adjust
8707 (pasteSelection): adjust
8709 * BufferView_pimpl.C (insertInset): adjust
8711 2003-03-05 Angus Leeming <leeming@lyx.org>
8714 * LyXAction.C (init):
8715 * BufferView_pimpl.C (dispatch):
8716 * lyxfunc.C (getStatus):
8717 remove LFUN_CHILD_INSERT.
8719 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8721 2003-03-05 Angus Leeming <leeming@lyx.org>
8724 * LyXAction.C (init):
8725 * src/factory.C (createInset):
8726 * lyxfunc.C (getStatus):
8727 * text3.C (dispatch):
8728 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8730 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8732 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8734 * ParagraphList.C (insert): handle insert right before end()
8735 (erase): fix cases where it can be first or last paragraph.
8737 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8739 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8740 Paragraph::next and Paragraph::previous
8743 * text.C (breakParagraph): adjust
8745 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8746 BufferParams& as arg.
8747 (breakParagraph): use ParagraphList::insert
8748 (breakParagraphConservative): take a Buffer* instead of a
8749 BufferParams& as arg.
8750 (breakParagraphConservative): use ParagraphList::insert.
8752 * buffer.C (insertStringAsLines): un-const it
8753 (insertStringAsLines): adjust
8755 * ParagraphList.C (insert): new function
8757 * CutAndPaste.C (pasteSelection): adjust
8759 * text.C (backspace): adjust
8761 * tabular.C (SetMultiColumn): adjust
8763 * CutAndPaste.C (cutSelection): adjust
8764 (pasteSelection): adjust
8766 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8767 Buffer const * as arg
8769 * ParagraphList.C (erase): new function
8770 * paragraph_funcs.C (mergeParagraph): use it
8771 (mergeParagraph): make it take a Buffer* instead of a
8772 BufferParams* as arg
8774 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8776 (breakParagraphConservative): ditto
8778 * paragraph.h: remove the breakParagraph friend
8780 * paragraph.C (eraseIntern): new function
8781 (setChange): new function
8783 * paragraph_funcs.C (mergeParagraph): make it take a
8784 ParagraphList::iterator instead of a Paragraph *, adjust
8787 * paragraph.h: move an #endif so that the change tracking stuff
8788 also works in the NO_NEXT case.
8790 2003-03-04 Angus Leeming <leeming@lyx.org>
8793 * LyXAction.C: new LFUN_INSET_MODIFY.
8795 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8796 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8798 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8800 * several files: ws changes only
8802 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8803 (TeXEnvironment): ditto
8806 * buffer.C (makeLaTeXFile): adjust
8807 (latexParagraphs): make it take ParagraphList::iterator as args
8809 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8811 * buffer.C (latexParagraphs): adjust
8813 * paragraph.C (TeXOnePar): move function...
8814 (optArgInset): move function...
8815 (TeXEnvironment): move function...
8816 * paragraph_pimpl.C (TeXDeeper): move function...
8817 * paragraph_funcs.C: ...here
8819 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8821 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8823 * buffer.C (readInset): remove compability code for old Figure and
8826 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8828 * buffer.C: ws changes
8831 * BufferView_pimpl.C: ditto
8834 * bufferlist.h: ditto
8838 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8840 * converter.[Ch]: split into itself +
8843 * Makefile.am: += graph.[Ch] + format.[Ch]
8850 * lyxrc.C: added #include "format.h"
8852 2003-02-27 Angus Leeming <leeming@lyx.org>
8854 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8857 * factory.C (createInset): add "label" to the factory.
8859 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8860 string and do no more.
8862 2003-02-27 Angus Leeming <leeming@lyx.org>
8865 * LyXAction.C (init):
8866 * factory.C (createInset):
8867 * BufferView_pimpl.C (dispatch):
8868 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8870 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8872 * lyxfunc.C (dispatch):
8873 * text3.C (dispatch): pass name to params2string.
8875 2003-02-26 Angus Leeming <leeming@lyx.org>
8877 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8879 Rearrange the ~includes. Strip out the unnecessary ones.
8881 * factory.C (createInset): reformat.
8882 create new insets for the various LFUN_XYZ_APPLY lfuns.
8884 2003-02-26 John Levon <levon@movementarian.org>
8887 * lyxrow.C: add isParStart,isParEnd helpers
8889 * paragraph.h: make isInserted/DeletedText take refs
8891 * paragraph_funcs.h:
8892 * paragraph_funcs.C: remove #if 0'd code
8897 * text.C: use lyxrow helpers above.
8898 Move draw and paint routines to RowPainter.
8899 Make several methods use refs not pointers.
8900 Make backgroundColor() const.
8901 Add markChangeInDraw(), isInInset().
8902 Merge changeRegionCase into changeCase.
8903 Make workWidth() shouldn't-happen code into an Assert.
8906 * rowpainter.C: new class for painting a row.
8909 * vspace.C: make inPixels take a ref
8911 2003-02-26 Angus Leeming <leeming@lyx.org>
8913 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8916 2003-02-25 John Levon <levon@movementarian.org>
8918 * ispell.C: give the forked command a more accurate name
8920 2003-02-22 John Levon <levon@movementarian.org>
8923 * toc.C: make TocItem store an id not a Paragraph *
8926 2003-02-21 Angus Leeming <leeming@lyx.org>
8928 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8929 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8930 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8931 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8932 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8933 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8935 * BufferView_pimpl.C (dispatch):
8936 * LyXAction.C (init):
8937 * factory.C (createInset):
8938 * lyxfunc.C (getStatus, dispatch):
8939 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8941 2003-02-21 Angus Leeming <leeming@lyx.org>
8943 * BufferView_pimpl.C (MenuInsertLyXFile):
8944 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8945 * lyxfunc.C (menuNew, open, doImport):
8946 no longer pass a LyXView & to fileDlg.
8948 2003-02-21 Angus Leeming <leeming@lyx.org>
8950 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8951 * LyXAction.C: change, BIBKEY to BIBITEM.
8952 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8953 Change InsetBibKey to InsetBibitem.
8954 Change BIBKEY_CODE to BIBITEM_CODE.
8955 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8956 * factory.C: replace insetbib.h with insetbibitem.h.
8957 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8958 * paragraph.C: replace insetbib.h with insetbibitem.h.
8959 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8960 Change bibkey() to bibitem().
8961 * text.C: remove insetbib.h.
8962 * text2.C: replace insetbib.h with insetbibitem.h.
8963 change bibkey() to bibitem().
8964 * text3.C: remove insetbib.h.
8965 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8967 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8969 * lyxrc.C (output): enclose user email in quotes (in case there are
8972 2003-02-18 John Levon <levon@movementarian.org>
8974 * buffer.h: add std::
8976 2003-02-17 John Levon <levon@movementarian.org>
8982 * pspell.C: reworking. Especially in ispell, a large
8983 number of clean ups and bug fixes.
8985 * lyxfunc.C: fix revert to behave sensibly
8987 2003-02-17 André Pönitz <poenitz@gmx.net>
8990 * commandtags.h: new LFUN_INSERT_BIBKEY
9000 * paragraph_func.C: remove special bibkey handling
9002 2003-02-17 John Levon <levon@movementarian.org>
9004 * text.C (Delete): fix case where delete at the end of
9005 the very first paragraph would not merge the pars
9007 2003-02-17 John Levon <levon@movementarian.org>
9009 * lyxrow.C: fix lastPrintablePos()
9011 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9013 * bufferparams.C (writeLaTeX): add a std:here
9015 * buffer.C: and remove a using directive there
9017 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9019 * buffer.C (makeLaTeXFile): move the code that generates the
9022 * bufferparams.C (writeLaTeX): ... in this new method
9024 * LaTeXFeatures.C (getEncodingSet): make const
9025 (getLanguages): make const
9027 * MenuBackend.C (binding): returns the binding associated to this
9029 (add): sets the status of each item by calling getStatus. Adds
9031 (read): add support for OptSubMenu
9032 (expand): remove extra separator at the end of expanded menu
9034 2003-02-15 John Levon <levon@movementarian.org>
9037 * BufferView_pimpl.C:
9039 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9040 inset code that had no actual effect. Remove unneeded status
9043 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9045 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9048 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9050 * text.C (drawLengthMarker): also draw an arrow marker for
9051 symbolic lengths (medskip...)
9053 2003-02-14 John Levon <levon@movementarian.org>
9056 * tabular.C: better method names
9058 2003-02-14 John Levon <levon@movementarian.org>
9060 * BufferView_pimpl.C:
9065 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9066 it's a more accurate name. Remove some pointless uses.
9068 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9070 * text2.C (LyXText): change order of initilizers to shut off
9073 2003-02-14 John Levon <levon@movementarian.org>
9075 * buffer.C: use ParIterator for getParFromID()
9079 * paragraph_pimpl.h:
9080 * paragraph_pimpl.C: remove unused getParFromID()
9082 2003-02-14 John Levon <levon@movementarian.org>
9084 * buffer.C: remove some very old #if 0'd parse code
9086 2003-02-13 John Levon <levon@movementarian.org>
9090 * text2.C: move hfillExpansion(), numberOfSeparators(),
9091 rowLast(), rowLastPrintable(), numberofHfills(),
9092 numberOfLabelHfills() ...
9095 * lyxrow.C: ... to member functions here.
9100 * text.C: remove LyXText::beginningOfMainBody(), and call
9101 p->beginningOfMainBody() directly. Move the check for
9102 LABEL_MANUAL into the latter.
9109 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9115 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9116 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9118 2003-02-13 John Levon <levon@movementarian.org>
9120 * CutAndPaste.C: remove debug
9122 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9124 * paragraph.C (asString): remove two unused variables
9126 * lyxtextclass.C (readTitleType):
9128 (LyXTextClass): handle new members titletype_ and titlename_
9130 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9132 2003-02-09 John Levon <levon@movementarian.org>
9135 * buffer.C: replace hand-coded list with a map for the dep clean
9137 2003-02-08 John Levon <levon@movementarian.org>
9139 * LaTeX.C: consolidate code into showRunMessage() helper
9141 2003-02-08 John Levon <levon@movementarian.org>
9146 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9147 and pass the size in explicitly
9149 * BufferView_pimpl.h:
9150 * BufferView_pimpl.C:
9152 * BufferView.C: add getCurrentChange()
9154 * BufferView_pimpl.h:
9155 * BufferView_pimpl.C: handle change lfuns
9157 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9158 for changes. Mark pasted paragraphs as new.
9160 * support/lyxtime.h:
9161 * support/lyxtime.C:
9162 * DepTable.C: abstract time_t as lyx::time_type
9165 * LColor.C: add colours for new text, deleted text, changebars
9167 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9168 package use "usenames" option.
9172 * LyXAction.C: add change lfuns
9176 * author.C: author handling
9179 * buffer.C: add a per-buffer author list, with first entry as
9180 current author. Handle new .lyx tokens for change tracking. Output
9181 author list to .lyx file. Output dvipost stuff to .tex preamble.
9182 Bump lyx format to 222.
9185 * bufferlist.C: add setCurrentAuthor() to reset current author details
9189 * bufferparams.C: add param for tracking
9191 * bufferview_funcs.C: output change info in minibuffer
9195 * changes.C: add change-tracking structure
9198 * debug.C: add CHANGES debug flag
9201 * lyxfind.C: add code for finding the next change piece
9204 * lyxrc.C: add user_name and user_email
9207 * lyxrow.C: add a metric for the top of the text line
9210 * text.C: implement accept/rejectChange()
9213 * text.C: paint changebars. Paint new/deleted text in the chosen
9214 colours. Strike through deleted text.
9218 * paragraph_pimpl.h:
9219 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9220 in the current change to the insert functions. Rework erase to
9221 mark text as deleted, adding an eraseIntern() and a range-based
9222 erase(). Implement per-paragraph change lookup and
9225 * paragraph_funcs.C: Fixup paste for change tracking.
9227 * tabular.C: mark added row/columns as new.
9229 * text.C: fix rowLast() to never return -1. Don't allow
9230 spellchecking of deleted text. Track transpose changes. Don't
9231 allow paragraph break or merge where appropriate.
9233 * text2.C: leave cursor at end of selection after a cut.
9235 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9237 * text.C (getLengthMarkerHeight):
9238 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9239 visible on screen too.
9241 2003-02-07 John Levon <levon@movementarian.org>
9243 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9245 2003-02-05 Angus Leeming <leeming@lyx.org>
9247 * lyxserver.C (read_ready): revert my patch of 11 September last year
9248 as it sends PC cpu through the roof. Presumably this means that
9249 the lyxserver will no longer run on an Alpha...
9251 2003-01-30 Angus Leeming <leeming@lyx.org>
9253 * factory.C (createInset): create an InsetCommandParam of type "index"
9254 and use it to 'do the right thing'.
9256 * text2.C (getStringToIndex): ensure that cursor position is always
9257 reset to the reset_cursor position.
9259 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9261 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9264 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9268 * lyxfunc.C: Output messages with identical spelling, punctuation,
9271 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9273 * MenuBackend.C (expandFormats): List only viewable export formats
9276 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9279 * lyxfunc.C (getStatus): Make sure that formats other than
9280 "fax" can also be disabled
9282 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9284 * text3.C (dispatch): put the lfuns that insert insets in 3
9285 groups, and call doInsertInset with appropriate arguments.
9286 (doInsertInset): new function, that creates an inset and inserts
9287 it according to some boolean parameters.
9289 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9291 * buffer.C (readFile): remember to pass on 'par' when calling
9292 readFile recursively.
9294 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9296 * MenuBackend.C (expandFormats): add "..." to import formats.
9298 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9300 * paragraph.C (asString): Remove XForms RTL hacks.
9302 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9303 * buffer.C: fix typo
9305 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9307 * Makefile.am (LIBS): delete var
9308 (lyx_LDADD): add @LIBS@ here instead.
9310 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9312 * Clarify the meaning of "wheel mouse jump"
9314 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9316 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9319 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9321 * importer.C (Loaders): do not preallocate 3 elements in the
9322 vector, since one ends up with 6 elements otherwise
9324 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9326 * DepTable.C (write): write the file name as last element of the
9327 .dep file (because it may contain spaces)
9328 (read): read info in the right order
9330 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9332 * paragraph_pimpl.C (simpleTeXBlanks):
9333 (simpleTeXSpecialChars):
9334 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9336 * tabular.C (latex): add some missing case statements. Reindent.
9338 * MenuBackend.C (expandToc): remove unused variable.
9340 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9349 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9352 2003-01-05 John Levon <levon@movementarian.org>
9355 * BufferView.C: add getEncoding()
9358 * kbsequence.C: do not store last keypress
9361 * lyxfunc.C: store last keypress here instead. Pass encoding
9364 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9366 * lyx_main.C (init): remove annoying error message when following
9367 symbolic links (bug #780)
9369 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9371 * text.C (insertChar):
9372 * lyxrc.C (getDescription): remove extra spaces
9374 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9376 * lyxrc.C (getDescription): remove extra spaces
9378 2002-12-20 John Levon <levon@movementarian.org>
9380 * text3.C: hack fix for page up/down across tall rows
9382 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9384 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9387 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9389 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9390 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9391 thesaurus is not compiled in
9393 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9395 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9397 2002-12-16 Angus Leeming <leeming@lyx.org>
9400 * lyx_main.C (init): remove override_x_deadkeys stuff.
9402 2002-12-12 John Levon <levon@movementarian.org>
9404 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9405 insert. Only remove shift modifier under strict
9408 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9410 * MenuBackend.C (expandToc): fix crash.
9412 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9414 * MenuBackend.C (expandToc): gettext on float names.
9416 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9418 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9419 implement bool empty() [bug 490]
9421 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9423 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9425 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9427 * several files: ws changes
9429 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9431 * text2.C (setCounter): clean up a bit, use boost.format.
9432 (updateCounters): initialize par upon declaration.
9434 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9435 if the layout exists. We do not just store the layout any more.
9436 (SwitchLayoutsBetweenClasses): use boost.format
9438 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9440 * converter.C (convert): if from and to files are the same, use a
9441 temporary files as intermediary
9443 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9446 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9448 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9450 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9452 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9454 * tabular.C (asciiPrintCell): use string(size, char) instead of
9457 * sgml.C (openTag): fix order of arguments to string constructor
9460 * lyxfunc.C (dispatch): use boost.format
9462 * lots of files: change "c" -> 'c'
9464 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9466 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9468 2002-11-25 Angus Leeming <leeming@lyx.org>
9470 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9472 * lyx_main.C (init): compile fix.
9474 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9476 * lyx_cb.C (start): boost.formatify
9477 do not include <iostream>
9479 * lengthcommon.C: ws only
9481 * boost-inst.C,BoostFormat.h: add more explict instantations
9483 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9485 * lots of files: handle USE_BOOST_FORMAT
9487 2002-11-21 John Levon <levon@movementarian.org>
9489 * pspell.C: fix compile
9491 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9493 * lyxfunc.C (dispatch): use boost::format
9497 * lyxfont.C (stateText): use boost::format
9499 * lyx_main.C (LyX): use boost::format
9501 (queryUserLyXDir): ditto
9504 (typedef boost::function): use the recommened syntax.
9506 * importer.C (Import): use boost::format
9508 * debug.C (showLevel): use boost::format
9510 * converter.C (view): use boost::format
9515 * bufferview_funcs.C (currentState): use boost::format
9517 * bufferlist.C (emergencyWrite): use boost::format
9519 * buffer.C (readLyXformat2): use boost::format
9520 (parseSingleLyXformat2Token): ditto
9522 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9524 * LaTeX.C (run): use boost::format
9526 * Chktex.C (scanLogFile): use boost::format
9528 * BufferView_pimpl.C (savePosition): use boost::format
9529 (restorePosition): ditto
9530 (MenuInsertLyXFile): ditto
9532 * BoostFormat.h: help file for explicit instation.
9534 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9536 * tabular.C (latex): Support for block alignment in fixed width
9539 2002-11-17 John Levon <levon@movementarian.org>
9541 * BufferView_pimpl.C:
9543 * lyxfunc.C: split filedialog into open/save
9545 2002-11-08 Juergen Vigna <jug@sad.it>
9547 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9548 by my last patch (hopefully).
9550 2002-11-08 John Levon <levon@movementarian.org>
9559 * toc.C: ParConstIterator, and use it (from Lars)
9561 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9563 * lyxtextclass.[Ch]: revise and add doxygen comments
9565 2002-11-07 John Levon <levon@movementarian.org>
9567 * text.C: fix progress value for spellchecker
9569 * toc.C: fix navigate menu for insetwrap inside minipage
9571 * paragraph_funcs.C: added FIXME for suspect code
9573 2002-11-07 John Levon <levon@movementarian.org>
9575 * BufferView_pimpl.C: fix redrawing of insets
9578 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9580 * text2.C (updateCounters): fix bug 668
9582 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9584 * text3.C (dispatch): Do not make the buffer dirty when moving the
9587 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9589 * vc-backend.C: STRCONV
9592 * text2.C (setCounter): STRCONV
9594 * paragraph.C (asString): STRCONV
9596 * lyxlength.C (asString): STRCONV
9597 (asLatexString): ditto
9599 * lyxgluelength.C (asString): STRCONV
9600 (asLatexString): ditto
9602 * lyxfunc.C (dispatch): STRCONV
9605 * lyxfont.C (stateText): STRCONV
9607 * importer.C (Import): STRCONV
9609 * counters.C (labelItem): STRCONV
9610 (numberLabel): ditto
9611 (numberLabel): remove unused ostringstream o
9616 * bufferview_funcs.C (currentState): STRCONV
9618 * buffer.C (readFile): STRCONV
9619 (asciiParagraph): ditto
9620 (makeLaTeXFile): ditto
9622 * Spacing.C (writeEnvirBegin): STRCONV
9624 * LaTeXFeatures.C (getLanguages): STRCONV
9625 (getPackages): ditto
9627 (getBabelOptions): ditto
9628 (getTClassPreamble): ditto
9629 (getLyXSGMLEntities): ditto
9630 (getIncludedFiles): ditto
9634 (scanAuxFile): ditto
9637 * LString.h: add the STRCONV macros
9639 * BufferView_pimpl.C (savePosition): STRCONV
9640 (restorePosition): ditto
9641 (MenuInsertLyXFile): ditto
9643 * vc-backend.C (scanMaster): change from submatch[...] to
9646 * funcrequest.C: include config.h
9648 * factory.C: include config.h
9650 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9652 * box.C: include config.h
9654 * LaTeX.C (scanAuxFile): change from submatch[...] to
9658 2002-10-25 Angus Leeming <leeming@lyx.org>
9660 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9662 * ispell.[Ch] (setError): new method.
9663 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9664 Use setError() insetead of goto END.
9666 * lyx_cb.C (AutoSave): move out child process into new class
9669 2002-10-30 John Levon <levon@movementarian.org>
9671 * text3.C: make start appendix undoable
9673 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9675 * lyxlength.C (inPixels): Fix returned value.
9677 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9680 2002-10-24 Angus Leeming <leeming@lyx.org>
9682 * lyxgluelength.h: no need to forward declare BufferParams
9683 or BufferView, so don't.
9685 2002-10-21 John Levon <levon@movementarian.org>
9687 * BufferView.C: menuUndo ->undo, redo
9689 * BufferView.h: document, remove dead, make some methods private
9691 * paragraph_funcs.h:
9692 * paragraph_funcs.C:
9693 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9698 * sgml.C: move sgml open/close tag into sgml.C
9700 * bufferview_funcs.h: unused prototype
9703 * lyxfunc.C: remove unused
9706 * text.C: remove unused
9708 2002-10-21 John Levon <levon@movementarian.org>
9712 * BufferView_pimpl.h:
9713 * BufferView_pimpl.C: fix mouse wheel handling based on
9714 patch from Darren Freeman
9716 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9718 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9720 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9722 * lyxlength.C (inPixels): Fix hanfling of negative length.
9723 Fix LyXLength::MU case.
9725 2002-10-16 John Levon <levon@movementarian.org>
9727 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9729 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9731 * converter.C (view): add support for $$i (file name) and $$p
9732 (file path) for the viewer command. If $$i is not specified, then
9733 it is appended to the command (for compatibility with old syntax)
9735 2002-10-14 Juergen Vigna <jug@sad.it>
9737 * undo_funcs.C (textHandleUndo): alter the order in which the
9738 new undopar is added to the LyXText, as we have to set first
9739 the right prev/next and then add it as otherwise the rebuild of
9740 LyXText is not correct. Also reset the cursor to the right paragraph,
9741 with this IMO we could remove the hack in "redoParagraphs()".
9743 2002-10-09 Angus Leeming <leeming@lyx.org>
9745 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9746 to turn off an optimisation if a new inset is to be inserted.
9748 2002-10-11 André Pönitz <poenitz@gmx.net>
9750 * lyxtext.h: make some functions public to allow access
9751 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9753 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9755 * text3.C (dispatch): when changing layout, avoid an infinite loop
9758 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9760 * lyxrc.C (read): treat a viewer or converter command of "none" as
9763 * MenuBackend.C (expandFormats): for an update, also allow the
9764 formats that are not viewable
9766 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9767 script if it is newer than the lyxrc.defaults in user directory
9769 2002-10-07 André Pönitz <poenitz@gmx.net>
9771 * text.C: Vitaly Lipatov's small i18n fix
9773 2002-09-25 Angus Leeming <leeming@lyx.org>
9775 * ispell.h: doxygen fix.
9777 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9779 * buffer.h (readFile): Add a new argument to the method, to allow
9780 reading of old-format templates.
9782 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9784 * toc.C (getTocList): Get TOC from InsetWrap.
9786 2002-09-16 John Levon <levon@movementarian.org>
9788 * lyxfunc.C: check tabular for cut/copy too
9790 2002-09-12 John Levon <levon@movementarian.org>
9795 * factory.C: add header
9797 * paragraph_funcs.h:
9798 * paragraph_funcs.C: cleanup
9800 2002-09-11 John Levon <levon@movementarian.org>
9802 * PrinterParams.h: odd/even default to true
9804 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9806 * PrinterParams.h: update printer parameters for new xforms dialog
9808 2002-09-11 Angus Leeming <leeming@lyx.org>
9810 * lyxserver.C (read_ready): re-write to make it more transparent
9811 and to make it work in coherent fashion under Tru64 Unix.
9813 2002-09-11 André Pönitz <poenitz@gmx.net>
9817 * text3.C: implement LFUN_WORDSEL
9819 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9821 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9822 make floatlist_ a boost::shared_ptr<FloatList>
9824 * lyxtextclass.C: include FloatList.h
9825 (LyXTextClass): initialize floatlist_
9826 (TextClassTags): add TC_NOFLOAT
9827 (Read): match "nofloat" to TC_NOFLOAT and use it.
9828 (readFloat): modify call to floatlist_
9832 * FloatList.[Ch] (FloatList): remove commented out float
9834 (erase): new function
9836 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9838 * MenuBackend.C (expandToc): fix crash when there is no document
9841 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9843 * many files: Add insetwrap.
9845 2002-09-09 John Levon <levon@movementarian.org>
9847 * text2.C: remove confusing and awkward depth wraparound
9849 2002-09-09 John Levon <levon@movementarian.org>
9851 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9854 * buffer.C: remove getIncludeonlyList()
9857 * lyxfunc.C: remove headers
9859 2002-09-09 Juergen Vigna <jug@sad.it>
9861 * text.C (getColumnNearX): fix form Michael this is most
9862 probably a cut&paste bug.
9864 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9866 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9868 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9869 references, ws changes.
9871 * text2.C (init): update counters after init
9872 (insertParagraph): no need to set counter on idividual paragraphs.
9873 (setCounter): access the counters object in the textclass object
9874 on in the buffer object.
9875 (updateCounters): ditto
9877 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9878 shared_ptr<Counters> to avoid loading counters.h in all
9880 (LyXTextClass): initialize ctrs_
9881 (TextClassTags): add TC_COUNTER, and ...
9882 (Read): use it here.
9883 (CounterTags): new tags
9884 (readCounter): new function
9885 (counters): new funtion
9886 (defaultLayoutName): return a const reference
9888 * counters.C (Counters): remove contructor
9889 (newCounter): remove a couple of unneeded statements.
9890 (newCounter): simplify a bit.
9891 (numberLabel): some small formatting changes.
9893 * buffer.[Ch]: remove all traces of counters, move the Counters
9894 object to the LyXTextClass.
9896 2002-09-06 Alain Castera <castera@in2p3.fr>
9898 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9899 package to set the horizontal alignment on fixed width columns.
9902 * lyx_sty.h: added tabularnewline macro def.
9904 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9906 2002-09-06 John Levon <levon@movementarian.org>
9908 * LyXAction.C: tooltips for sub/superscript
9910 * MenuBackend.C: a bit more verbose
9912 * lyxfunc.C: tiny clean
9914 * undo_funcs.C: document undo_frozen
9916 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9918 * counters.C (Counters): add missing algorithm counter.
9920 * text2.C (setCounter): lookup the counter with layouts latexname
9921 instead of by section number.
9922 (setCounter): use a hackish way to lookup the correct enum
9924 a float name->type change
9925 reset enum couners with counter name directly instead of depth value.
9927 * counters.C (Counters): remove the push_backs, change to use the
9928 float type not the float name.
9929 (labelItem): remove unused string, float name->type change
9931 * counters.h: don't include vector, loose the enums and sects vectors
9933 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9935 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9936 (Read): add float->TC_FLOAT to textclassTags
9937 (Read): and handle it in the switch
9938 (readFloat): new function
9940 * FloatList.C (FloatList): comment out the hardcoded float
9943 * lyxlayout.h: ws change.
9945 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9947 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9949 2002-09-03 Angus Leeming <leeming@lyx.org>
9951 * BufferView_pimpl.h: qualified name is not allowed in member
9952 declaration: WorkArea & Pimpl::workarea() const;
9954 * factory.C: added using std::endl directive.
9956 * text3.C: added using std::find and std::vector directives.
9958 2002-08-29 André Pönitz <poenitz@gmx.net>
9961 * text2.C: remove unused member number_of_rows
9964 * BufferView2.C: remove file, move contents to...
9965 * BufferView.C: ... here
9967 * BufferView_pimpl.C:
9968 * factory.C: move more inset creation to factory
9970 * vspace.C: avoid direct usage of LyXText, ws changes
9973 don't provide direct access to WorkArea, use two simple
9974 acessors haveSelction() and workHeight() instead
9977 2002-08-29 John Levon <levon@movementarian.org>
9979 * BufferView_pimpl.C (dispatch): do not continue when
9982 2002-08-28 André Pönitz <poenitz@gmx.net>
9984 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9987 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9989 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9991 * buffer.C: increment LYX_FORMAT to 221
9993 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9994 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9996 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9998 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10000 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10002 * factory.C (createInset): use LyXTextClass::floats
10004 * MenuBackend.C (expandFloatListInsert):
10005 (expandFloatInsert):
10008 * text2.C (setCounter):
10010 * LaTeXFeatures.C (useFloat):
10011 (getFloatDefinitions):
10013 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10015 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10016 floatlist_, with accessor floats().
10018 * FloatList.h: remove global FloatList
10020 2002-08-26 André Pönitz <poenitz@gmx.net>
10022 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10026 * BufferView_pimpl.C:
10027 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10029 2002-08-25 John Levon <levon@movementarian.org>
10031 * LyXAction.C: fix margin note description
10033 2002-08-24 John Levon <levon@movementarian.org>
10037 * bufferview_funcs.C:
10039 * undo_funcs.C: cleanups
10041 * lyxfunc.C: disable CUT/COPY when no selection
10043 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10045 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10046 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10048 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10049 Add backward compatibility to "mono", "gray" and "no".
10051 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10053 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10054 (and file_format >= 200).
10056 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10058 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10060 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10062 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10064 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10066 * BufferView_pimpl.C:
10073 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10074 inset and code to make it work with the paragraph code. The inset
10075 can be anywhere in the paragraph, but will only do the expected
10076 thing in LaTeX if the layout file contains the parameter line
10078 (or more generally, a nonzero value) for that layout.
10080 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10082 * paragraph.h: remove the declaration of undefined counters class
10085 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10087 * text2.C (setCounter): fixed enumeration mis-count as reported by
10088 Dr. Richard Hawkins.
10090 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10092 * paragraph_funcs.h: remove some unneeded includes
10094 * text.C (backspace): pasteParagraph now in global scipe
10096 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10097 (pasteSelection): ditto
10099 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10100 * paragraph_funcs.C (pasteParagraph): ... here
10102 2002-08-20 André Pönitz <poenitz@gmx.net>
10104 * commandtags.h: new LFUNs for swapping/copying table row/colums
10107 * lyxfunc.C: support for new lfuns
10109 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10112 * buffer.[Ch]: remove NO_COMPABILITY stuff
10114 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10116 * boost.C (throw_exception): new file, with helper function for
10117 boost compiled without exceptions.
10122 * ParameterStruct.h:
10123 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10125 * bufferlist.C (emergencyWriteAll): use boost bind
10127 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10129 * text.C: include paragraph_funcs.h
10130 (breakParagraph): breakParagraph is now in global scope
10132 * paragraph_funcs.[Ch]: new files
10134 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10137 * buffer.C: include paragraph_funcs.h
10138 (insertStringAsLines): breakParagraph is now in global scope
10140 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10143 * CutAndPaste.C: include paragraph_funcs.h
10144 (cutSelection): breakParagraphConservative is now in global scope
10145 (pasteSelection): ditto
10147 * buffer.h: declare oprator== and operator!= for
10148 Buffer::inset_iterator
10150 * bufferlist.C (emergencyWrite): don't use fmt(...)
10152 * text3.C: add using std::endl
10154 * BufferView.C (moveCursorUpdate): remove default arg
10156 2002-08-20 André Pönitz <poenitz@gmx.net>
10158 * buffer.[Ch]: move inline functions to .C
10161 * BufferView_pimpl.C:
10163 * buffer.[Ch]: use improved inset_iterator
10166 * paragraph.[Ch]: write one paragraph at a time
10168 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10170 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10171 style if style is not specified.
10173 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * text2.C (setCounter): when searching for right label for a
10176 caption, make sure to recurse to parent insets (so that a caption
10177 in a minipage in a figure float works) (bug #568)
10179 2002-08-20 André Pönitz <poenitz@gmx.net>
10181 * text3.C: new file for LyXText::dispatch() and helpers
10183 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10185 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10187 2002-08-19 André Pönitz <poenitz@gmx.net>
10190 * text.C: new LyXText::dispatch()
10192 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10194 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10196 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10198 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10201 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10203 * Makefile.am: use $(variables) instead of @substitutions@
10205 2002-08-15 André Pönitz <poenitz@gmx.net>
10208 * BufferView_pimpl.C: streamlining mathed <-> outer world
10212 * LyXAction.C: remove unused LFUN_MATH
10214 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10216 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10218 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10220 * paragraph.C (Paragraph): reformat a bit
10221 (cutIntoMinibuffer): use builtin InsetList function instad of
10225 * buffer.C: include boost/bind.hpp, add using std::for_each
10226 (writeFileAscii): use ParagraphList iterators
10227 (validate): use for_each for validate traversal of paragraphs
10228 (getBibkeyList): use ParagraphList iterators
10229 (resizeInsets): use for_each to resizeInsetsLyXText for all
10231 (getParFromID): use ParagraphList iterators
10233 * BufferView2.C (lockInset): use paragraph list and iterators
10235 2002-08-14 John Levon <levon@movementarian.org>
10237 * lyxserver.C: remove spurious xforms include
10239 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10241 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10243 2002-08-13 André Pönitz <poenitz@gmx.net>
10246 * lyxfunc.C: further cleaning
10248 2002-08-13 André Pönitz <poenitz@gmx.net>
10250 * funcrequest.h: new constructor
10252 * funcrequest.C: move stuff here from .h
10255 * BufferView_pimpl.C:
10258 * lyxfunc.C: subsequent changes
10260 * lyxfunc.h: new view() member function
10262 * lyxfunc.C: subsequent changes
10264 2002-08-13 Angus Leeming <leeming@lyx.org>
10267 * BufferView_pimpl.C:
10275 changes due to the changed LyXView interface that now returns references
10276 to member variables not pointers.
10278 2002-08-13 Angus Leeming <leeming@lyx.org>
10280 * WordLangTuple (word, lang_code): return references to strings,
10285 * lyxtext.h: forward-declare WordLangTuple.
10290 * text.C: #include "WordLangTuple.h".
10293 * text.C: (selectNextWordToSpellcheck): constify return type.
10295 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10301 * paragraph_pimpl.h:
10304 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10305 suggested by Angus.
10306 Made updateCounter always count from start of buffer, and removed
10307 second argument (par).
10308 Reverted floats number display to '#'. Perhaps I'll try again when the
10309 code base is sanitized a bit.
10311 2002-08-12 Angus Leeming <leeming@lyx.org>
10313 * buffer.[Ch] (getLabelList): constify.
10315 2002-08-07 André Pönitz <poenitz@gmx.net>
10317 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10319 * funcrequest.h: extension to keep mouse (x,y) position
10321 2002-08-12 Juergen Vigna <jug@sad.it>
10323 * BufferView2.C (insertErrors): forbid undo when inserting error
10326 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10328 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10330 * ParagraphList.[Ch]: new files
10332 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10334 * BufferView2.C (lockInset): ParagraphList changes
10337 * bufferlist.C: ditto
10341 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10343 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10344 unused class variable counter_,
10346 * paragraph.[Ch] (getFirstCounter): delete unused function
10348 * counters.C: include LAssert.h
10349 (reset): add a new function with no arg, change other version to
10350 not have def. arg and to not allow empty arg.
10352 * text2.C (setCounter): remove empty arg from call to Counters::reset
10354 2002-08-11 John Levon <levon@movementarian.org>
10356 * Makefile.am: add WordLangTuple.h
10358 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10360 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10361 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10363 * insets/insettext.C: InsetList changes
10365 * graphics/GraphicsSupport.C (operator()): InsetList changes
10367 * toc.C (getTocList): InsetList changes
10369 * paragraph_pimpl.[Ch]: InsetList changes
10371 * paragraph.[Ch]: InsetList changes
10373 * buffer.C (inset_iterator): InsetList changes
10374 (setParagraph): ditto
10375 * buffer.h (inset_iterator): ditto
10376 * iterators.C (operator++): ditto
10377 * iterators.h: ditto
10379 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10381 * InsetList.[Ch]: new files, most InsetList handling moved out of
10384 * BufferView2.C (removeAutoInsets): InsetList changes
10386 (ChangeInsets): ditto
10388 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10390 * paragraph_pimpl.h (empty): new function
10392 * paragraph.[Ch] (empty): new function
10394 * other files: use the new Paragraph::empty function
10396 2002-08-09 John Levon <levon@movementarian.org>
10398 * lyxtext.h: remove unused refresh_height
10400 2002-08-09 John Levon <levon@movementarian.org>
10407 * paragraph.C: move sgml char escaping out of paragraph
10410 * paragraph.C: remove id setter
10414 * paragraph_pimpl.C: remove dead tex_code_break_column
10416 * bufferview_funcs.C: small cleanup
10418 * lyxfunc.C: remove dead proto
10420 * lyxtext.h: make some stuff private. Remove some dead stuff.
10422 * lyxgluelength.C: make as[LyX]String() readable
10424 2002-08-08 John Levon <levon@movementarian.org>
10429 * ToolbarDefaults.C:
10432 * toc.C: lyxaction cleanup
10434 2002-08-08 John Levon <levon@movementarian.org>
10436 * BufferView2.C: small cleanup
10439 * lyxfind.C: move unnecessary header into the .C
10441 2002-08-08 John Levon <levon@movementarian.org>
10443 * funcrequest.h: just tedious nonsense
10446 * lyx_main.C: cleanups
10449 * vspace.C: remove dead header lyx_main.h
10451 2002-08-07 Angus Leeming <leeming@lyx.org>
10454 * paragraph_pimpl.h:
10455 Forward declare class Counters in paragraph.h by moving the ctrs member
10456 variable into Paragraph::Pimpl.
10457 (counters): new method, returning a reference to pimpl_->ctrs.
10459 * text2.C: ensuing changes.
10461 2002-08-07 John Levon <levon@movementarian.org>
10463 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10465 * BufferView_pimpl.C: announce X selection on double/triple
10468 * lyx_main.C: use correct bool in batch dispatch
10470 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10472 2002-08-07 André Pönitz <poenitz@gmx.net>
10474 * funcrequest.h: new class to wrap a kb_action and its argument
10477 * BufferView_pimpl[Ch]:
10481 * lyxrc.C: subsequent changes
10484 2002-08-07 John Levon <levon@movementarian.org>
10486 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10487 document options change.
10489 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10494 * makefile.am: move counters functionality over from
10495 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10497 2002-08-06 John Levon <levon@movementarian.org>
10499 * WordLangTuple.h: new file for word + language code tuple
10510 * BufferView2.C: use WordLangTuple
10513 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10515 2002-08-06 John Levon <levon@movementarian.org>
10517 * lyx_main.C: fix cmdline batch handling
10519 2002-08-06 André Pönitz <poenitz@gmx.net>
10521 * lyxrc.C: set default for show_banner to true
10523 2002-08-06 John Levon <levon@movementarian.org>
10525 * pspell.C: fix a crash, and allow new aspell to work
10527 2002-08-06 John Levon <levon@movementarian.org>
10530 * kbmap.C: small cleanup
10533 * vspace.C: add const
10535 2002-08-05 John Levon <levon@movementarian.org>
10537 * LyXAction.C: back to tabular-insert
10539 2002-08-04 John Levon <levon@movementarian.org>
10542 * BufferView.C: cosmetic change
10544 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10554 * BufferView2.C: purge all "Lyx" not "LyX" strings
10557 * lyxcursor.C: attempt to add some documentation
10562 * ToolbarDefaults.C:
10563 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10564 merge with LFUN_TABULAR_INSERT
10571 * pspell.C: split up i/pspell implementations into separate
10572 files, many cleanups
10574 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10576 * text2.C: some cleanup
10578 * lyxfunc.C: don't check for isp_command == "none" any more, it
10579 didn't make any sense
10581 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10586 * makefile.am: move counters functionality over
10587 from text2.C/paragraph.[Ch] to counters.[Ch], and
10589 2002-08-02 John Levon <levon@movementarian.org>
10591 * buffer.C: s/lyxconvert/lyx2lyx/
10593 2002-08-02 Angus Leeming <leeming@lyx.org>
10595 * lyxlex.C: revert John's change as it breaks reading of the user
10598 2002-08-02 Angus Leeming <leeming@lyx.org>
10600 * importer.C (Import):
10601 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10602 changes due to LyXView::view() now returning a boost::shared_ptr.
10604 2002-08-02 John Levon <levon@movementarian.org>
10606 * lyxlex.C: small cleanup
10608 2002-08-02 John Levon <levon@movementarian.org>
10610 * text2.C (status): small cleanup, no logic change
10612 2002-08-01 John Levon <levon@movementarian.org>
10615 * buffer.C (writeFile): don't output alerts, caller
10619 * lyx_cb.C: from above
10621 * lyxfunc.C: allow to open non-existent files
10623 2002-07-31 John Levon <levon@movementarian.org>
10625 * lyxserver.C: don't let incidental errors get
10628 2002-07-30 John Levon <levon@movementarian.org>
10630 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10632 2002-07-30 John Levon <levon@movementarian.org>
10635 * lyxserver.C: remove I/O callback too
10637 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10639 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10642 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10644 * many files: strip,frontStrip -> trim,ltrim,rtrim
10646 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10648 * PrinterParams.h: remove extern containsOnly, and include
10649 support/lstrings.h instead.
10651 * LaTeX.C (scanAuxFile): modify because of strip changes
10653 * buffer.C (makeLaTeXFile): ditto
10654 * bufferparams.C (writeFile): ditt
10655 * lyxfont.C (stateText): ditto
10656 * lyxserver.C (read_ready): ditto
10657 * vc-backend.C (scanMaster): ditto
10659 * BufferView_pimpl.h: ws changes
10661 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10663 2002-07-26 André Pönitz <poenitz@gmx.net>
10665 * kb_sequence.C: remove unnedred usings
10667 2002-07-26 Juergen Vigna <jug@sad.it>
10669 * lyxfind.C (LyXReplace): we have to check better if the returned
10670 text is not of theLockingInset()->getLockingInset().
10672 2002-07-25 Juergen Vigna <jug@sad.it>
10674 * lyxfind.C (LyXReplace): don't replace if we don't get the
10677 * undo_funcs.C (createUndo): remove debugging code.
10679 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10681 * buffer.C (parseSingleLyXformat2Token): Use default placement
10682 when reading old floats.
10684 * FloatList.C (FloatList): Change the default placement of figure
10685 and tables to "tbp".
10687 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10689 * MenuBackend.C: using std::max
10691 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10693 * MenuBackend.C (expandToc):
10694 (expandToc2): code moved from xforms menu frontend. It is now
10695 generic and TOCs are transparent to menu frontends.
10697 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10699 * toc.C (getTocList): protect against buf=0
10701 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10702 Menu as first parameter. Now, this calls itself recursively to
10703 expand a whole tree (this will be useful for TOC handling)
10704 (expandFloatInsert): remove 'wide' version of floats
10706 * MenuBackend.h (submenuname): returns the name of the submenu.
10707 (submenu): returns the submenu itself, provided it has been
10708 created by MenuBackend::expand
10710 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10712 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10713 insets which have noFontChange == true. (bug #172)
10715 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10717 * BufferView_pimpl.C: add connection objects and use them...
10720 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10722 * MenuBackend.C (expandLastfiles):
10725 (expandFloatListInsert):
10726 (expandFloatInsert):
10727 (expand): split expand in parts
10729 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10731 * lyx_gui.C: use lyx_gui::exit()
10733 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10735 * LyXAction.C: show the failing pseudo action
10737 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10739 * buffer.C (readFile): Run the lyxconvert script in order to read
10742 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10746 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10748 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10752 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10754 2002-07-22 Herbert Voss <voss@lyx.org>
10757 * lyxlength.[Ch]: add support for the vertical lengths
10759 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10761 * toc.[Ch]: std:: fixes
10763 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10765 * lyxrc.C: do not include lyx_main.h
10767 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10773 * BufferView2.C: include "lyxlex.h"
10776 * bufferparams.h: do not #include "lyxlex.h"
10778 * lyxtextclasslist.C (Add): remove method
10779 (classlist): renamed to classlist_
10781 * paragraph_pimpl.C:
10785 * bufferview_funcs.C:
10790 * toc.C (getTocList): use BufferParams::getLyXTextClass
10792 * toc.C (getTocList): use InsetFloat::addToToc
10794 * toc.[Ch]: new files, containing helper functions to handle table
10797 * lyxfunc.C (dispatch): no need to remove spaces around command
10799 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10800 first command of the sequence; it is not very clever, but I do not
10801 have a better idea, actually
10803 * LyXAction.C (LookupFunc): make sure to remove space at the
10804 beginning and end of the command
10806 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10808 * MenuBackend.C (getMenubar): new method: return the menubar of
10810 (read): treat differently reading of menu and menubar (in
10811 particular, the menubar has no name now)
10812 (Menu::menubar): remove
10814 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10817 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10819 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10820 a bibitem inset in a RTL paragraph.
10822 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10824 * paragraph_pimpl.C: constify
10826 * BufferView_pimpl.C:
10828 * lyxfunc.C: fix dispatch in a nicer way
10830 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10832 * lyxfunc.C (dispatch):
10833 * BufferView_pimpl.C:
10834 * BufferView_pimpl.h:
10836 * BufferView.h: rename Dispatch() to dispatch()
10838 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10840 * lyxlayout.C (Read): honor DependsOn tag
10842 * lyxlayout.[Ch] (depends_on): new method
10844 * version.C.in: update lyx_docversion
10846 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10848 * paragraph.C (validate): remove from here...
10849 * paragraph_pimpl.C (validate): ... and move here
10850 (isTextAt): make it const
10852 * buffer.C (getLists): ws cleanup
10854 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10856 * language.C (read): Use iso8859-1 encoding in latex_lang
10857 (this prevents LyX from crashing when using iso10646-1 encoding).
10859 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10861 * text2.C (toggleInset): if cursor is inside an inset, close the
10862 inset and leave cursor _after_ it
10864 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10866 * lyxfunc.C: move minibuffer completion handling out of here
10868 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10870 * BufferView_pimpl.C:
10871 * LaTeX.C: fix dispatch calls
10873 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10875 * text.C (drawChars): Fix Arabic text rendering.
10877 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10881 * lyxfunc.C: remove message-push/pop
10885 * lyxfunc.C: rationalise some code by removing verboseDispatch
10886 in favour of a bool argument to dispatch()
10888 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10890 * lyx_main.C (init): make sure to read symlinks as absolute paths
10892 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10895 * lyxfunc.C: no need for commandshortcut to be a member
10897 2002-07-15 André Pönitz <poenitz@gmx.net>
10899 * converter.C: add support for $$s (scripts from lib/scripts dir)
10900 * lyx_main.C: white space
10902 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10906 * lyxrc.C: remove second exit confirmation
10908 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10913 * BufferView_pimpl.h:
10914 * BufferView_pimpl.C:
10915 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10917 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10919 * MenuBackend.C (expand): add numeric shortcuts to document menu
10921 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10923 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10925 * lyxfont.C (setLyXFamily):
10932 * buffer.C (asciiParagraph): use ascii_lowercase
10934 2002-07-15 Mike Fabian <mfabian@suse.de>
10936 * lyxlex_pimpl.C (search_kw):
10937 * lyxlex.C (getLongString):
10938 * converter.h (operator<):
10939 * converter.C (operator<):
10940 * buffer.C (parseSingleLyXformat2Token):
10942 * ToolbarDefaults.C (read):
10943 * MenuBackend.C (checkShortcuts):
10945 * LColor.C (getFromGUIName):
10946 (getFromLyXName): use the compare_ascii_no_case instead of
10947 compare_no_case, because in turkish, 'i' is not the lowercase
10948 version of 'I', and thus turkish locale breaks parsing of tags.
10950 2002-07-16 Angus Leeming <leeming@lyx.org>
10952 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10953 now takes a Buffer const & argument.
10955 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10957 * BufferView.C (resize): check there's a buffer to resize
10959 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10961 * lyxfunc.C: remove dead code
10964 * lyxserver.C: use lyx_guii::set_read_callback
10966 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10968 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10969 an inset in a RTL paragraph.
10971 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10973 * lyxfunc.C: repaint after a font size update
10975 2002-07-15 André Pönitz <poenitz@gmx.net>
10977 * lyxlength.C: inBP should be able to return negative values
10979 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10981 * lyxfunc.C: use lyx_gui::update_fonts()
10983 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10985 * lyxfunc.C: use lyx_gui::update_color()
10987 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10993 * lyxrc.C: remove file->new asks for name option, and let
10994 buffer-new take an argument
10996 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10998 * BufferView_pimpl.C: remove unneeded extra repaint()
11000 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11002 * LyXAction.C: allow command-sequence with NoBuffer
11004 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11006 2002-07-10 Angus Leeming <leeming@lyx.org>
11008 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11010 2002-07-09 Angus Leeming <leeming@lyx.org>
11012 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11014 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11016 * lengthcommon.h: whitespace
11018 * lyxfunc.C: update scrollbar after goto paragraph
11020 * lyxtext.h: factor out page break drawing, and fix it so
11021 page break/added space paints as selected nicely
11023 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11025 * BufferView_pimpl.C: add FIXMEs, clean up a little
11027 2002-07-09 André Pönitz <poenitz@gmx.net>
11029 * lyxfont.[Ch]: support for wasy symbols
11031 2002-07-08 André Pönitz <poenitz@gmx.net>
11033 * BufferView_pimpl.C: apply John's patch for #93.
11035 2002-07-05 Angus Leeming <leeming@lyx.org>
11037 * BufferView_pimpl.C (buffer): generate previews if desired.
11039 * LColor.h: add "preview" to the color enum.
11041 * LColor.C (LColor): add a corresponding entry to the items array.
11043 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11046 2002-07-05 Angus Leeming <leeming@lyx.org>
11048 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11049 The body of the code is now in the method that is passed an ostream &
11050 rather than a file name.
11051 Pass an additional only_preamble parameter, useful for the forthcoming
11054 2002-07-03 André Pönitz <poenitz@gmx.net>
11056 * lyxfunc.C: simplify getStatus() a bit for math stuff
11058 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11060 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11062 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11064 * text.C (changeRegionCase): do not change case of all the
11065 document when region ends at paragraph end (bug #461)
11067 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11069 * paragraph.C (startTeXParParams):
11070 (endTeXParParams): add \protect when necessary
11072 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11074 * BufferView_pimpl.C (workAreaExpose): remove warning
11076 2002-06-27 Angus Leeming <leeming@lyx.org>
11078 * Makefile.am: add lyxlayout_ptr_fwd.h.
11080 2002-06-26 André Pönitz <poenitz@gmx.net>
11082 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11084 2002-06-25 Angus Leeming <leeming@lyx.org>
11086 * lyxfunc.C (dispatch): Comment out the call to
11087 grfx::GCache::changeDisplay. The method no longer exists now that the
11088 pixmap generation part of the graphics loader has been moved into
11091 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11093 * text2.C: layout as layout
11095 * text.C: layout as layout
11097 * tabular.C (OldFormatRead): layout as layout
11099 * paragraph_pimpl.C (TeXDeeper): layout as layout
11100 (realizeFont): layout as layout
11102 * paragraph.C (writeFile): layout as layout
11103 (validate): layout as layout
11104 (getFont): layout as layout
11105 (getLabelFont): layout as layout
11106 (getLayoutFont): layout as layout
11107 (breakParagraph): layout as layout
11108 (stripLeadingSpaces): layout as layout
11109 (getEndLabel): layout as layout
11110 (getMaxDepthAfter): layout as layout
11111 (applyLayout): layout as layout
11112 (TeXOnePar): layout as layout
11113 (simpleTeXOnePar): layout as layout
11114 (TeXEnvironment): layout as layout
11115 (layout): layout as layout
11116 (layout): layout as layout
11118 * lyxtextclass.C (compare_name): new functor to work with
11119 shared_ptr, layout as layout
11120 (Read): layout as layout
11121 (hasLayout): layout as layout
11122 (operator): layout as layout
11123 (delete_layout): layout as layout
11124 (defaultLayout): layout as layout
11126 * lyxlayout_ptr_fwd.h: new file
11128 * lyxlayout.C (Read): layout as layout
11130 * lyx_cb.C (MenuInsertLabel): layout as layout
11132 * bufferlist.C (newFile): layout as layout
11134 * buffer.C (readLyXformat2): layout as layout
11135 (parseSingleLyXformat2Token): layout as layout
11136 (insertStringAsLines): layout as layout
11137 (asciiParagraph): layout as layout
11138 (latexParagraphs): layout as layout
11139 (makeLinuxDocFile): layout as layout
11140 (simpleLinuxDocOnePar): layout as layout
11141 (makeDocBookFile): layout as layout
11142 (simpleDocBookOnePar): layout as layout
11143 (getLists): layout as layout
11145 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11147 * CutAndPaste.C (cutSelection): layout as layout
11148 (pasteSelection): layout as layout
11149 (SwitchLayoutsBetweenClasses): layout as layout
11151 * BufferView_pimpl.C (Dispatch): layout as layout
11152 (smartQuote): layout as layout
11154 * BufferView2.C (unlockInset): layout as layout
11156 2002-06-24 André Pönitz <poenitz@gmx.net>
11158 * lyxfunc.C: fix #487
11160 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11164 * lyxfunc.C: remove display_shortcuts, show_banner
11166 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11168 * Buffer_pimpl.C: oops, update on resize
11170 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11177 * BufferView.C: use repaint()
11179 * BufferView_pimpl.h:
11180 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11181 as it's a clearer description. Remove superfluous
11184 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11186 * text.C: fix bug 488. Not ideal, but getting
11187 getWord() to work properly for the insets that
11188 matter is more difficult ...
11190 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11192 * BufferView_pimpl.C:
11195 * lyxfunc.C: remove the six million index lyxfuncs to just
11196 one, and DTRT (bug 458)
11198 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11202 * BufferView_pimpl.h:
11203 * BufferView_pimpl.C: clean up resize() stuff,
11204 and unnecessary updateScreen()s
11206 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11210 * BufferView_pimpl.h:
11211 * BufferView_pimpl.C:
11214 * minibuffer.C: remove focus management of workarea,
11215 not needed. Use screen's greyOut()
11217 2002-06-17 Herbert Voss <voss@lyx.org>
11219 * converter.C: (convert) do not post a message, when converting
11220 fails, let the calling function decide what to do in this case
11222 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11224 * lyxfunc.C: tidy up a little
11226 2002-06-16 <alstrup@diku.dk>
11228 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11229 Got rid of FORMS_H_LOCATION include. Now we are
11232 2002-06-15 LyX Development team <lyx@rilke>
11234 * buffer.[Ch] (sgmlOpenTag):
11235 (sgmlCloseTag): Added support for avoiding pernicious mixed
11236 content. Return number of lines written.
11238 (makeLinuxDocFile):
11239 (makeDocBookFile): Fixed calls to sgml*Tag.
11240 Simple white space clean.
11242 (simpleDocBookOnePar): Simple white space clean.
11244 * tabular.[Ch] (docBook): Renamed to docbook and got another
11245 argument to related with the pernicious mixed content.
11247 (docbookRow): Fixed calls for docbook inset method.
11249 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11251 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11252 so it's X11 independent.
11256 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11258 2002-06-15 Lyx Development team <lyx@electronia>
11260 * intl.h: Renamed getTrans to getTransManager.
11262 2002-06-14 Angus Leeming <leeming@lyx.org>
11264 * Makefile.am: nuke forgotten stl_string_fwd.h.
11266 2002-06-12 Angus Leeming <leeming@lyx.org>
11268 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11270 2002-06-13 Angus Leeming <leeming@lyx.org>
11273 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11275 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11277 * kbmap.C (getiso): add support for cyrillic and greek
11279 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11283 * BufferView_pimpl.h:
11284 * BufferView_pimpl.C: move bogus scrolling logic
11287 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11290 * BufferView_pimpl.C: view->resize() change
11292 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11294 * BufferView_pimpl.C: topCursorVisible
11297 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11301 * lyx_gui.C: move to frontends/
11305 * lyx_main.C: changes from above
11307 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11314 * lyx_main.C: minor tidy
11316 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11318 * BufferView_pimpl.h:
11319 * BufferView_pimpl.C:
11321 * BufferView.C: make painter() const,
11324 * BufferView2.C: use screen() accessor
11327 * lyx_main.C: some minor cleanup
11329 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11331 * BufferView_pimpl.h:
11332 * BufferView_pimpl.C: remove enter/leaveView,
11335 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11340 * BufferView_pimpl.h:
11341 * BufferView_pimpl.C: only construct screen once,
11344 * lyxrc.C: remove pointless comment
11346 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11349 * BufferView.C: remove active() and belowMouse()
11351 * BufferView_pimpl.h:
11352 * BufferView_pimpl.C: use workarea() not workarea_,
11353 and make it use a scoped_ptr instead
11355 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11357 * lyx_gui.C: add debug message on BadWindow
11359 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11361 * sp_spell.C: fdopen is not part of the C++ standard.
11363 * paragraph.C (InsetIterator): use >= instead of ==
11365 2002-06-07 Angus Leeming <leeming@lyx.org>
11367 Fixes needed to compile with Compaq cxx 6.5.
11368 * BufferView_pimpl.C:
11375 * lyxtextclasslist.C:
11380 all c-library variables have been moved into namespace std. Wrap
11381 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11386 Add a using std::abs declaration.
11388 * kbmap.h (modifier_pair):
11389 * paragraph.h (InsetTable, InsetList):
11390 * lyxfont.h (FontBits):
11391 type definition made public.
11393 * bufferlist.C (emergencyWriteAll): the compiler complains that
11394 there is more than one possible lyx::class_fun template to choose from.
11395 I re-named the void specialisation as lyx::void_class_fun.
11397 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11399 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11400 the compiler is is unable to find tostr in write_attribute.
11402 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11404 * buffer.C (sgmlError): hide #warning
11406 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11408 * xtl/*: get rid of xtl, which is not in use anyway
11410 * LyXAction.C (init):
11411 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11412 were unimplemented xtl experimentation
11414 2002-06-04 André Pönitz <poenitz@gmx.net>
11416 * lyxfunc.C: disable array operation on simple formulae
11418 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11420 * converter.C: constify a bit
11422 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11424 * lyx_gui.C: check xforms version correctly
11426 2002-04-30 Herbert Voss <voss@lyx.org>
11428 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11431 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11433 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11434 attempt to register it with a VCS)
11436 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11438 * lyx_main.C (init): honor variables LYX_DIR_13x and
11441 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11445 * lyx_main.C: fix a crash on bad command line,
11446 and give a useful exit status on error
11448 * lyxfunc.C (doImport): allow -i lyx to work
11450 2002-03-30 André Pönitz <poenitz@gmx.net>
11452 * lyxfunc.C: mathed font changes
11454 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11469 * trans_mgr.h: srcdocs, and some minor cleanups
11471 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11473 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11474 call getFont all the time)
11476 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11478 * switch from SigC signals to boost::signals
11480 2002-05-29 André Pönitz <poenitz@gmx.net>
11482 * paragraph_pimpl.C (getChar): don't call size() too often...
11484 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11486 * paragraph_pimpl.C (insertChar): do not try to update tables when
11487 appending (pos == size())
11489 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11490 in order to reduce drastically the number of comparisons needed to
11491 parse a large document
11493 2002-05-29 André Pönitz <poenitz@gmx.net>
11499 * textclasslist.[Ch]:
11500 * sp_ispell.h: whitespace change
11502 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11504 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11505 lyxaction directly now.
11507 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11511 * lyxvc.C: remove unused headers
11513 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11520 * undo_funcs.C: some cleanups. Use shared_ptr
11521 and a template for the undo stacks.
11523 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11525 * BufferView_pimpl.h:
11526 * BufferView_pimpl.C:
11533 * text2.C: use key_state/mouse_state
11535 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11537 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11540 * chset.C: change include order
11541 (loadFile): use boost regex and get rid of LRegex and LSubstring
11543 * Makefile.am (BOOST_LIBS): new variable
11544 (lyx_LDADD): use it
11546 * LaTeX.C: change include order.
11547 (scanAuxFile): use boost regex and get rid of LRegex and
11551 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11556 * FontInfo.C: moved to frontends/xforms/
11559 * FontLoader.C: moved into frontends for GUIIzation
11564 * lyxfunc.C: changes from above
11566 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11568 * LColor.C: remove spurious X include
11570 * BufferView_pimpl.C:
11575 * text2.C: move font metrics to frontends/
11577 2002-05-24 Juergen Vigna <jug@sad.it>
11579 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11580 setting the undo_cursor.
11582 * ParagraphParameters.h: include local includes first.
11584 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11586 * BufferView_pimpl.C:
11587 * BufferView_pimpl.h:
11591 * screen.C: move WorkArea into frontends/
11597 * BufferView2.C: move LyXScreen into frontends/
11601 * lyx_gui.C: move lyxlookup into frontends/xforms/
11603 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11606 * BufferView_pimpl.C:
11616 * bufferview_funcs.C:
11629 * vc-backend.C: move LyX/XFormsView into frontends/
11631 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11643 * text2.C: move Painter to frontends/
11645 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11647 * buffer.C: comment out some some code that depend upon lyx_format
11650 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11651 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11653 * buffer.h (NO_COMPABILITY): turn off compability
11655 * ColorHandler.C: include scoped_array.hpp
11657 * font.C: Use more specific smart_ptr header.
11660 * ShareContainer.h: ditto
11661 * lyx_main.h: ditto
11663 * FontInfo.h: ditto
11664 * BufferView_pimpl.h: ditto
11665 * ColorHandler.h: ditto
11667 * kbmap.C (defkey): change call to shared_ptr::reset
11669 2002-05-21 Juergen Vigna <jug@sad.it>
11671 * buffer.C (insertErtContents): fix to insert ert asis if it is
11672 non empty. Skip it completely if it contains only whitespaces.
11674 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11676 * BufferView_pimpl.C:
11677 * BufferView2.C: clear selection on paste (bug 393)
11679 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11681 * DepTable.C: include ctime
11683 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11685 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11687 2002-05-14 Juergen Vigna <jug@sad.it>
11689 * text.C (breakParagraph): fixed function to honor the keepempty
11690 layout in the right maner and also to permit the right breaking
11691 algorithm on empty or non empyt keepempty paragraphs.
11693 * paragraph.C (breakParagraph): we have to check also if the par
11694 is really empty (!size()) for isempty otherwise we do the wrong
11697 2002-05-10 Juergen Vigna <jug@sad.it>
11699 * buffer.[Ch] : The following are only changes to the ert
11700 compatibility read reading old LaTeX layout and font stuff and
11701 convert it to ERTInsets.
11703 * buffer.h: added isErtInset().
11705 * buffer.C (struct ErtComp): add a fromlayout bool to check
11706 if we're inside a LaTeX layout.
11707 (isErtInset): new helper function.
11708 (insertErtContents): look for other ert insets before this one
11709 and insert the contents there, so that we don't have subsequent
11710 ERT insets with nothing between them. This way we create only one
11711 inset with multiple paragraphs. Also check if we don't insert only
11712 spaces ' ' as they are ignored anyway afterwards in the .tex file
11713 so if we have only spaces we will ignore this latex part in the
11715 (parseSingleLyXformat2Token \\layout): better compatibility when
11716 reading layout-latex stuff.
11717 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11719 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11720 stuff after reading the inset only get the information back from
11723 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11725 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11727 * LaTeXFeatures.C (getBabelOptions): New method.
11729 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11731 * BufferView_pimpl.C (Dispatch): work around missing argument for
11734 2002-05-08 Juergen Vigna <jug@sad.it>
11736 * text.C (leftMargin): handle paragraph leftindent.
11738 * paragraph.C (writeFile): write the new \\leftindent tag.
11739 (validate): handle leftindent code.
11740 (TeXEnvironment): handle paragraphleftindent code again.
11742 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11744 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11745 for paragrap_extra indent code and new token \\leftindent.
11746 (latexParagraphs): handle the leftindent as environment.
11748 * ParameterStruct.h: added leftindent support.
11750 * ParagraphParameters.C (leftIndent): added support functions for
11751 the paragraph left indent.
11753 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11756 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11758 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11761 * text.C (computeBidiTables): No bidi in insetERT.
11763 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11766 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * version.C.in: pre 5
11770 2002-05-02 José Matos <jamatos@fep.up.pt>
11771 * buffer.C (makeDocBookFile): white space changes, add newline to
11773 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11775 * tabular.C (docBook): fix typo.
11777 2002-05-03 Juergen Vigna <jug@sad.it>
11779 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11780 change in LyXText as we can not be sure it was not freed.
11781 (drawOneRow): remove unused code.
11783 * text.C (drawInset): redo the calculation of the need_break_row as
11784 it could have a row which was already freed.
11785 (draw): look at the return value of drawInset and return false if
11786 it also returned false.
11787 (paintRowText): look at the return value of draw and return false if
11788 it also returned false.
11790 * lyxtext.h: added bool return type to drawInset() and draw() so that
11791 if we have a change in the row so that the rowbreak has to be redone
11792 we abort drawing as it will be called again.
11794 2002-05-02 Juergen Vigna <jug@sad.it>
11796 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11797 a change in the maintext also if we're inside an inset.
11798 (Dispatch): set the cursor again after a break line and after the
11799 screen has been updated as it could be we're in a different row.
11801 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11802 to set the cursor behind the pargraph with > size().
11803 (setCursor): check also for the same paragraph when checking where
11804 to put the cursor if we have a NFR inset.
11806 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11807 parts of layout read further up as it still was in the wrong
11810 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * screen.C (drawFromTo): change sine fullRebreak always return
11815 * buffer.C (parseSingleLyXformat2Token): reindent some
11817 * BufferView_pimpl.C (update): change since fullRebreak always
11819 (Dispatch): git rid of the last hardcoded "Standard"s.
11821 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11823 * text2.[Ch] (fullRebreak): make it return void now that we always
11826 2002-04-30 Juergen Vigna <jug@sad.it>
11828 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11829 ert compatibility check for "latex" layout.
11831 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11833 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11834 minipages: use col% instead of p%, and also use the current font.
11835 (makeLaTeXFile): Fix use babel condition.
11836 (parseSingleLyXformat2Token): Correct font when reading old floats.
11838 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11840 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11841 inserting list of floats.
11843 2002-04-25 Herbert Voss <voss@lyx.org>
11845 * MenuBackend.C (expand): don't add the graphics extensions to the
11848 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11850 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11851 non-existing layout, do not complain if it was the default layout
11852 of the original class (bug #342)
11854 2002-04-24 Juergen Vigna <jug@sad.it>
11856 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11857 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11859 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11861 * buffer.C (getBibkeyList): If using \bibliography, return the
11862 option field with the reference itself. Enables us to provide natbib
11863 support when using \bibliography.
11865 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11867 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11869 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11870 natbib is provided by the LaTeX class.
11872 2002-04-23 Juergen Vigna <jug@sad.it>
11874 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11877 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11879 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11881 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11883 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11884 ensuremath around textordmasculine, textordfeminine and
11887 2002-04-19 Juergen Vigna <jug@sad.it>
11889 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11890 reinitializing the buffer otherwise row-dimensions may be wrong.
11891 (update): reset also the selection cursors if they do exits otherwise
11892 their x/y positions may be wrong.
11894 * text2.C (cursorDown): don't enter the inset if we came from a row
11895 above and are one row over the inset.
11897 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11898 really leaving an inset.
11900 2002-04-18 Juergen Vigna <jug@sad.it>
11902 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11903 of the selected paragraph does not have the selected layout also if
11906 * text2.C (setLayout): fixed bug which did not change last selected
11909 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11910 changed the read and substituted \\end_float with \\end_inset!
11912 * BufferView_pimpl.C (cursorPrevious):
11913 (cursorNext): fixed to make it work with rows heigher than the work
11914 area without moving the cursor only the draw of the row.
11915 (workAreaMotionNotify): fix jumping over high rows.
11917 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11919 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11922 2002-04-16 Juergen Vigna <jug@sad.it>
11924 * text2.C (setCursor): set also the irow().
11925 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11927 (cursorDown): support for locking an inset if the x_fix value goes
11928 inside it. That way I can transverse insets too with cursor up/down.
11930 * lyxrow.h: added irow helper function same as other (i) functions.
11932 * BufferView_pimpl.C (cursorPrevious):
11933 (cursorNext): fixed for insets!
11935 2002-04-15 Juergen Vigna <jug@sad.it>
11937 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11938 position otherwise it is wrong in some cases.
11940 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11941 inside the inset before the call.
11943 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11945 * buffer.[Ch] (getBibkeyList): make it const.
11947 2002-04-12 Juergen Vigna <jug@sad.it>
11949 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11951 * text2.C (getCursorX): new helper function
11952 (setCursor): compute also ix_
11953 (setCursorFromCoordinates): set also ix.
11955 * lyxcursor.h: added ix_ and helper functions.
11957 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11959 * buffer.C (insertStringAsLines): dont break paragraph if the this
11960 paragraph is inside an inset which does not permit it!
11962 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11963 also with no chars on this paragraph.
11964 (paintRowText): only paint stuff if it's inside the workarea!
11966 * paragraph.C (breakParagraph): honor keepempty flag and break the
11967 paragraph always below not above.
11969 * BufferView2.C (unlockInset): update the paragraph layout on inset
11970 unlock as we changed paragraph in such a case.
11972 * lyxfind.C (LyXFind): clear the former selection if not found!
11974 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11975 again called in insertChar().
11977 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11978 an inset which uses the whole row!
11979 (rightMargin): ditto.
11980 (insertChar): force a rebreak if we inserted an inset!
11982 2002-03-28 Herbert Voss <voss@lyx.org>
11984 * lyxlength.[Ch]: add inBP() to get the right PS-point
11985 units (BigPoint). With inPixels we have rounding errors
11987 2002-04-11 Juergen Vigna <jug@sad.it>
11989 * text2.C (setCursorFromCoordinates): set iy to the right value.
11990 (setCursor): add check if row->previous exists!
11992 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11993 an old float_type as this was the case in the old code!
11995 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11997 * BufferView2.C (showLockedInsetCursor): use iy
11998 (fitLockedInsetCursor): ditto
12000 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12001 locked insets as there we have the right value now.
12003 * lyxcursor.C: added iy_ variable and iy functions to set to the
12004 baseline of cursor-y of the locked inset.
12006 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12007 (setCursor): fixed for insets which need a full row.
12009 * text.C (rowLastPrintable): don't ignore the last space when before
12010 an inset which needs a full row.
12011 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12012 as last character of a row when before a inset which needs a full row.
12014 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12016 * version.C.in: update date
12018 * text2.C (fullRebreak): try to always return true and see what
12021 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12023 * MenuBackend.C (expand): use Floating::listName
12025 * FloatList.C (FloatList): add listName argument to the built-in
12028 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12029 text associated with the float.
12031 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12033 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12035 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12037 * ShareContainer.h: add a couple of missing typenames.
12039 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12041 * lyxrc.C (getDescription): use _() correctly rather than N_().
12043 2002-03-28 Herbert Voss <voss@lyx.org>
12045 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12046 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12048 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12050 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12051 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12053 2002-03-29 Juergen Vigna <jug@sad.it>
12055 * lyxfunc.C (dispatch): add a missing fitCursor call.
12057 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12058 it was scrolled by a cursor move, so return the bool status.
12060 * BufferView.C (fitCursor): return the bool flag also to the outside
12061 world as this is needed.
12063 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12065 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12066 call the edit() as it is not needed (and wrong) IMO.
12067 (workAreaButtonPress): set the screen_first variable before evt.
12068 unlock the inset as this may change screen_first and then we have
12069 a wrong y position for the click!
12071 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12073 * MenuBackend.C (expand): another translation that I missed
12075 2002-03-28 Juergen Vigna <jug@sad.it>
12077 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12079 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12081 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12083 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12085 * MenuBackend.C (expand): fix export/view/update when there is no
12088 2002-03-27 Herbert Voss <voss@lyx.org>
12090 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12093 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12095 * bufferview_funcs.C (currentState): only show paragraph number
12096 for is DEVEL_VERSION is set.
12098 * lyxfunc.C (dispatch): put warning in INFO channel
12100 * MenuBackend.C (expand): translate the name of floats
12102 * FloatList.C (FloatList): mark the float names for translation
12104 * converter.C (convert): use LibScriptSearch
12106 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12108 * MenuBackend.C (defaults): fix default menu (we might as well get
12111 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12116 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12118 * lyxvc.C: reorder includes.
12120 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12122 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12125 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12127 * CutAndPaste.C: change layouts earlier on paste
12128 to avoid crashing when calling getFont()
12130 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12132 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12135 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12137 * WorkArea.C: remove 'Pending' debug message.
12139 * most files: ws cleanup
12141 * buffer.[Ch]: ws changes
12143 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12145 2002-03-21 Juergen Vigna <jug@sad.it>
12147 * tabular.C (SetMultiColumn): collapse also the contents of the
12148 cells and set the last border right. Added a Buffer const * param.
12150 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12152 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12155 2002-03-19 Juergen Vigna <jug@sad.it>
12157 * text2.C (clearSelection): reset also xsel_cache.
12159 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12160 where it needs to be called (John tells us to do so too :)
12161 (selectionLost): reset sel_cache.
12163 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12165 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12167 * text2.C (setCursorIntern): put debuging code in INSETS channel
12169 2002-03-19 André Pönitz <poenitz@gmx.net>
12171 * lyxfunc.C: tiny whitespace change
12173 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12175 * ToolbarDefaults.C (init):
12176 * LyXAction.C (init):
12178 * BufferView_pimpl.C (Dispatch):
12179 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12181 2002-03-19 Allan Rae <rae@lyx.org>
12183 * exporter.C (Export): removeAutoInsets before doing anything else.
12184 While I've just introduced a dependency on BufferView this really is
12185 the best place to clean the buffer otherwise you need to cleanup in
12186 a dozen places before calling export or cleanup in a dozen functions
12189 * converter.C (runLaTeX):
12190 (scanLog): Better handling of removeAutoInsets and screen updates.
12192 * lyxfunc.C (dispatch): small whitespace changes
12194 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12196 * WorkArea.C (C_WorkAreaEvent): return a value.
12197 (event_cb): return 1 if we handled the event, 0 otherwise.
12199 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12201 2002-03-18 Juergen Vigna <jug@sad.it>
12203 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12204 (GetAdditionalWidth): ditto.
12205 (RightLine): ditto.
12208 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12209 inset if we're there actually (probably not used right now but this
12210 is the direction to go for unifying code).
12211 (paste): disable code to clear the selection.
12213 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12214 inside an InsetText and move the check further up as it is in the
12217 * text2.C (pasteSelection): set a selection over the pasted text.
12219 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12221 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12222 and libgraphics to build on Cygwin.
12224 2002-03-15 Juergen Vigna <jug@sad.it>
12226 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12227 inserting an Inset into the paragraph. I know this is not the best
12228 fix but we already use current_view in CutAndPaste so we will remove
12229 all of it's using at the same time.
12231 * buffer.C (sgmlError): deactivated function till it is rewritten in
12232 the right mode, now it can create problems.
12234 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12235 before accessing it.
12237 2002-03-14 Juergen Vigna <jug@sad.it>
12239 * undo_funcs.C (textHandleUndo): do the right thing when updating
12240 the inset after the undo/redo.
12242 * text2.C (setCursor): just some testcode for #44 not ready yet.
12244 * undo_funcs.C (textHandleUndo): set the next() and previous()
12245 pointers of the paragraph to 0 before deleting otherwise we have
12246 problems with the Paragraph::[destructor].
12248 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12249 on a paragraph insertion.
12251 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * buffer.C (asciiParagraph): use += operator for char append to
12256 * paragraph.C (getFontSettings): compare >= not just >
12257 (highestFontInRange): ditto
12260 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12262 * paragraph.C: change several algorithm to be more appripriate for
12263 the problem domain. This is lookip in FontList and in the InsetList.
12265 2002-03-13 André Pönitz <poenitz@gmx.net>
12268 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12270 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12275 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12277 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * Painter.C (display): anon helper function, adjust code for this
12281 (pixmap): remove function.
12283 * Painter.h: remove private display variable.
12285 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12287 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12289 * WorkArea.[Ch]: remove figinset_canvas cruft.
12291 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12293 * lyxtextclass.C (operator): add one item cache optimization.
12295 * bufferlist.h: doxy changes
12297 * bufferlist.C: ws changes
12299 * DepTable.[Ch] (ext_exist): place const in the right spot.
12301 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12303 (workAreaExpose): call resizeInsets when the with BufferView changes.
12304 (Dispatch): adjust for protectedBlank removal
12305 (specialChar): call updateInset if the insert went ok.
12307 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12308 specialChar instead.
12310 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12312 * BufferView.h: doxy change
12314 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12316 * lyxtextclass.C (operator[]): remove non-const version
12317 (defaultLayout): remove non-const version
12319 2002-03-12 Juergen Vigna <jug@sad.it>
12321 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12322 did resize the LyXText too.
12324 * buffer.C (readLyXformat2): set layout information on newly allocated
12327 * tabular.C (OldFormatRead): set layout information on the paragraph.
12329 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12331 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12333 2002-03-11 Juergen Vigna <jug@sad.it>
12335 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12337 (resizeCurrentBuffer): force also the insets to resize themselfes.
12338 (moveCursorUpdate): fixed up for InsetText.
12340 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12343 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12344 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12345 value of Dialogs::tooltipsEnabled().
12346 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12348 2002-03-08 Juergen Vigna <jug@sad.it>
12350 * BufferView_pimpl.C (updateInset): update inset inside inset also
12351 if it isn't inside theLockingInset().
12353 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12355 * buffer.C (asciiParagraph): redo some of the word and line length
12357 (getLists): look for Caption instead of caption.
12359 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12361 * buffer.C (Buffer): initialize niceFile to true
12363 (makeLinuxDocFile):
12364 (makeDocBookFile): make sure niceFile is true on exit
12366 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12368 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12370 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12372 * LyXSendto.C: remove.
12373 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12374 * lyx_gui.C: remove now-redundant comment.
12375 * ColorHandler.h: remove forward declaration of class WorkArea.
12376 * lyxfunc.C: remove #include "WorkArea.h".
12378 2002-03-07 Juergen Vigna <jug@sad.it>
12380 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12381 got moved away with the DEPM and also set the inset_owner always
12382 right which before could have been omitted.
12384 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12386 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12387 wanted layout is not found.
12389 2002-03-07 Juergen Vigna <jug@sad.it>
12391 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12393 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12395 * paragraph.C (breakParagraph): use default layout not layout of
12397 (Paragraph): clear ParagraphParameters.
12399 2002-03-06 Juergen Vigna <jug@sad.it>
12401 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12402 otherwise it would not be a valid lenght. Fixed a special case in
12403 the minipage compatibility read where we end the document with a
12406 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12407 was set as it could be 0 for InsetTexts first entry.
12409 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12411 * paragraph.C (writeFile): if layout is empty write out
12412 defaultLayoutName().
12414 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12415 file without named layout we set layout to defaultLayoutName().
12417 2002-03-06 Juergen Vigna <jug@sad.it>
12419 * CutAndPaste.C (copySelection): set layout for new paragraph.
12421 * text.C (prepareToPrint): leave ERT inset left aligned
12422 (leftMargin): don't indent paragraphs inside ERT insets
12424 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12426 * paragraph.C (breakParagraph): dont call clear do the work manually
12428 * paragraph.[Ch] (clear): remove function
12430 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12432 * paragraph.C (Paragraph): dont call clear, the work has already
12435 * lyxtextclass.C (operator): assert if n is empty
12437 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12438 work manually instead.
12440 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12442 * BufferView_pimpl.C: protect selectionLost against text == 0
12444 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12446 * text.C (breakParagraph): fix a setting layout to '0' problem.
12448 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12450 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12451 final location of file, for the included files, and graphics.
12453 2002-03-05 Juergen Vigna <jug@sad.it>
12455 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12457 2002-03-04 Juergen Vigna <jug@sad.it>
12459 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12461 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12462 last column of multicolumn cells.
12463 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12465 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12467 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12468 file if it doesn't go to a temporary file.
12470 * buffer.C (sgmlOpenTag):
12471 (sgmlCloseTag): remove extra newline insertion.
12473 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12475 * text.C (getRowNearY): comment out debug msg
12477 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12479 * text2.C: first -> first_y
12481 * text.C (getRowNearY): add some attemts at a possible
12482 optimization, not working.
12484 * tabular.[Ch]: add BufferParams to several function so that newly
12485 created paragraph can be initialized to he default layotu for the
12488 * tabular-old.C (ReadOld): add buf->params to call of Init
12490 * screen.C: rename text->first to text->first_y
12492 * paragraph.C (breakParagraph): always set layout in the broken
12495 * lyxtextclass.C (Read): remove lowercase
12498 (delete_layout): ditto
12500 * lyxtext.h: rename first -> first_y
12502 * lyxlayout.C (Read): remove lowercase
12505 (obsoleted_by): ditto
12507 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12509 * buffer.C (insertErtContents): add params are to InsetERT
12510 (parseSingleLyXformat2Token): add code to check if a paragraphs
12511 layout really exist.
12512 (parseSingleLyXformat2Token): add params to several inset
12514 (asciiParagraph): remove lowercase, do the layout comparisons with
12517 * BufferView_pimpl.C (cursorNext): first -> first_y
12518 (resizeCurrentBuffer): first -> first_y
12519 (updateScrollbar): first -> first_y
12520 (scrollCB): first -> first_y
12521 (workAreaMotionNotify): first -> first_y
12522 (workAreaButtonPress): first -> first_y
12523 (checkInsetHit): first -> first_y
12524 (cursorPrevious): first -> first_y
12525 (cursorNext): first -> first_y
12526 (Dispatch): add buffer_->params to severl inset contructors
12528 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12530 * lyxlayout.C (Read): remove some debug info that I forgot.
12532 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12533 clean up the code slightly.
12534 (makeLinuxDocFile): ditto
12535 (makeDocBookFile): ditto
12537 * text2.C: layout as string
12539 * text.C: layout as string
12541 * paragraph_pimpl.C: layout as string
12543 * paragraph.[Ch]: layout as string
12545 * lyxtextclasslist.[Ch]: layout as string
12547 * lyxtextclass.[Ch]: layout as string
12549 * lyxtext.h: layout as string
12551 * lyxlayout.[Ch]: layout as string
12553 * lyx_cb.C: layout as string
12555 * bufferview_funcs.C: layout as string
12557 * bufferparams.C: layout as string
12559 * buffer.C: layout as string
12561 * LyXView.[Ch]: layout as string
12563 * LaTeXFeatures.[Ch]: layout as string
12565 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12567 * BufferView_pimpl.C: change current_layout to string, remove
12572 (workAreaButtonRelease): layout as string
12574 * BufferView2.C (unlockInset): adjust
12576 * vspace.C (asLatexCommand): use an explict temp variable.
12578 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12580 * Makefile.am: use FRONTEND_*
12582 2002-03-01 Juergen Vigna <jug@sad.it>
12584 * tabular.C (SetWidthOfMulticolCell): changed to something better
12585 I hope but still work in progress.
12586 (recalculateMulticolumnsOfColumn): renamed function from
12587 recalculateMulticolCells as it is more appropriate now.
12588 (SetWidthOfCell): calculate multicols better.
12590 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12592 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12594 * lyxfunc.C (processKeySym): print sequence also if it is
12595 `deleted' (complete)
12597 * kbsequence.C (print): print sequence even if it is deleted
12598 (complete would be a better word, actually).
12600 * lyxfunc.C (dispatch): print complete options after a prefix key
12602 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12604 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12606 * text2.C (setCharFont): eliminate setCharFont code duplication.
12608 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12610 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12611 LFUN_TABULAR_FEATURE (bug #177)
12613 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12615 * Makefile.am: remove figure.h
12617 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12619 * Bufferview_pimpl.C:
12631 * text2.C: remove #include "lyx_gui_misc.h".
12633 * LaTeX.C: added #include <cstdio>
12635 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12637 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12638 that the paragraph following this one can have.
12640 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12642 * vspace.C (asLatexCommand): fix bogus gcc warning
12644 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12646 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12648 * text2.C (setLayout): get rid of redundant code
12650 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12652 * text2.C (incDepth): make sure depth cannot be increased beyond
12655 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12657 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12658 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12660 * PainterBase.h (image):
12661 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12662 a LyXImage const *.
12664 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12668 * BufferView_pimpl.C:
12669 * BufferView_pimpl.h:
12689 * sp_spell.C: remove fig inset, and the crap house of
12690 cards that follows it
12692 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12697 * os2_errortable.h:
12698 * nt_defines.h: move .h into support/
12700 * vms_defines.h: remove
12702 * WorkArea.C: add space in debug output
12706 * buffer.C: add WITH_WARNINGS
12710 * bufferlist.C: s/retrive/retrieve/, add docs
12719 * chset.C: add docs
12721 * lyxgui.C: add ID to X error handler
12723 * lyxtestclass.c: fix typo
12725 2002-02-26 Juergen Vigna <jug@sad.it>
12727 * tabular_funcs.C (write_attribute): changed so that some default
12728 attributes are not written at all.
12729 (getTokenValue): set default values before trying to read the
12730 value so we have the return value always set as default if we don't
12731 find the token we search for.
12733 * tabular.C (Write): write bools as bools not as strings!
12735 2002-02-22 Juergen Vigna <jug@sad.it>
12737 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12738 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12740 * text.C (leftMargin): don't add an indent for paragraphs inside
12741 tabular cells (fix #208).
12743 2002-02-21 José Matos <jamatos@fep.up.pt>
12745 * tabular.C (docBook): fixed support for long tables.
12747 2002-02-20 Juergen Vigna <jug@sad.it>
12749 * text2.C (getFont): get the drawing font of the Inset if this
12750 paragraph is inside an inset (only important for InsetERT for now).
12752 * buffer.C (insertErtContents): use new lanugage params in ERT
12755 * CutAndPaste.C: commenting out seemingly uneeded code.
12757 2002-02-19 Allan Rae <rae@lyx.org>
12759 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12760 Iterators might be simple to use but they also get invalidated.
12761 (removeAutoInsets): renamed saved cursor tracking variables and added
12762 some comments to clarify what everything does.
12764 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12771 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12772 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12775 * vc-backend.h: remove #include "support/syscall.h"
12779 * converter.C: rearrange #includes in Lars' approved fashion.
12781 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12782 forward declare class Timeout in the header file.
12784 * XFormsView.C: changes due to the above.
12786 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12787 similar to LyXView.
12789 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12790 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12792 2002-02-18 José Matos <jamatos@fep.up.pt>
12794 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12797 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12799 * a lot of small ws changes
12800 * add a lot of using std::XXX
12801 * use std construcs some places where approp.
12802 * use some exisint stuff from lyxfunctional where approp.
12803 * Make file changes to use partial linking (lets test this now...)
12805 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12809 remove #include "support/syscontr.h" as it's redundant. Always has been.
12817 change Systemcalls::System to Systemcalls::Wait and
12818 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12819 No change of functionality, just reflects the stripped down Systemcalls
12822 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12824 * debug.[Ch]: add a GRAPHICS type to the enum.
12826 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12828 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12830 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12833 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12835 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12836 match the changes below.
12838 * text2.C (toggleInset): if there is not editable inset at cursor
12839 position, try to see if cursor is _inside_ a collapsable inset
12842 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12844 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12845 document menu has a nice checkbox
12847 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12849 * lyxlength.C (asLatexString): change PW to output as percent of
12852 * lengthcommon.C: change '%' to 't%'
12854 * lyxfunc.C (dispatch): a few comments from Martin
12856 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12860 * BufferView_pimpl.h:
12861 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12864 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12866 * vspace.C (inPixels): fix compiler warning
12868 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12870 * lyxfunc.C (getStatus): fix status message for disabled commands.
12872 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12874 * BufferView_pimpl.C: fix crash on close buffer
12875 during selection (#227)
12877 2002-01-27 Herbert Voss <voss@lyx.org>
12879 * buffer.C: link old Figure to new graphic inset
12881 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12883 * FontLoader.C (getFontinfo): Change the latex font names in order
12884 to match the names of type1inst.
12886 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12890 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12891 (extchanged): ditto
12893 (remove_files_with_extension): ditto
12894 (remove_file): ditto
12897 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12898 document is smaller than the work area height. Do not initialize
12899 static variables to 0.
12901 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12903 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12905 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12906 LFUN_LAYOUT_PARAGRAPHS.
12908 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12909 tabular. It is possible to provide a possible cell, which will
12910 typically be the actcell from the corresponding insettabular
12912 * lyxfunc.C (getStatus): small cleanup; disable
12913 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12916 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12918 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12920 * paragraph.C (startTeXParParams):
12921 (endTeXParParams): new methods. The LaTeX code to
12922 start/end paragraph formatting
12923 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12924 empty (fixes bug #200)
12926 * vspace.C (inPixels): adapt to the change below
12927 (inPixels): [later] more cleanups (remove unused variables)
12929 * lyxlength.C (inPixels): change to use a width and a height as
12932 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12934 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12935 Replaced with \paperwidth
12937 * DepTable.C (insert): add std:: qualifier
12939 2002-01-18 Allan Rae <rae@lyx.org>
12941 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12944 * text.C (drawInset): Turned out I didn't know enough about how
12945 rebreaking worked. This fixes most of the redraw problems. I see
12946 an occasional cursor trail when a line is broken now and the cursor
12947 placement can seem out by a few pixels also after a rebreak.
12949 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12951 * buffer.C (parseSingleLyXformat2Token): update because minipage
12952 width is now a LyXLength
12954 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12956 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12959 2002-01-17 Juergen Vigna <jug@sad.it>
12961 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12963 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12964 is set correctly and the inset is updated correctly.
12966 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12968 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12969 the beginning of the loop.
12971 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12973 * lyxrc.C: improve help for use_scalable_fonts
12975 2002-01-17 Allan Rae <rae@lyx.org>
12977 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12979 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12981 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12982 make sure to set their inset_owner to the right value (bug #171)
12984 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12987 * DepTable.C: Implement mtime checking to reduce time spent doing
12990 2002-01-16 Juergen Vigna <jug@sad.it>
12992 * tabular.C (GetAdditionalHeight): one of error fixed.
12994 * lyxrc.C (output): small fix in writing use_pspell.
12996 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12998 * sp_base.h: #include LString.h
13000 2002-01-16 Allan Rae <rae@lyx.org>
13002 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13003 Can someone check this please?
13005 * text.C (drawInset): It was possible that p.row would be removed by
13006 breakAgainOneRow upsetting a few other settings. There may be another
13007 small tweak possible by setting need_break_row = 0 when p.row has been
13008 removed but I don't know enough about the logic here.
13010 2002-01-15 Allan Rae <rae@lyx.org>
13012 * text.C (insertChar): removed conditional truism.
13014 * BufferView2.C (removeAutoInsets): More tweaks.
13015 cur_par_prev could be a stray pointer. Check for trailing empty line
13016 in case last line was cur_par and only had an error inset on it.
13018 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13020 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13023 * vc-backend.C (most methods):
13024 * exporter.C (Export):
13025 * converter.C (convert):
13027 * LyXSendto.C (SendtoApplyCB):
13028 * lyxfunc.C (dispatch):
13032 * lyx_cb.C (AutoSave):
13034 * BufferView_pimpl.C (MenuInsertLyXFile):
13035 * buffer.C (runChktex): use Buffer::filePath().
13037 * buffer.h: rename filename to filename_; rename filepath to
13038 filepath_ and make it private
13039 (filePath): new method
13041 * buffer.C (writeFile): use fileName()
13044 * lyx_main.C (init): fix starting of LyX when the binary is a
13045 link from so,ewhere else.
13047 * minibuffer.C: include <cctype> for isprint
13049 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13051 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13052 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13053 name clash with InsetCollapsable's width function.
13055 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13057 * lastfiles.C: include <iterator>
13059 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13061 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13064 * buffer.C (makeLaTeXFile): ditto.
13065 Also make loop operation more transparent.
13067 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13069 * ToolbarDefaults.C: remove trailing comma closing namespace.
13071 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13073 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13076 * trans.C (Load): comment out unused variable, allowed.
13078 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13080 * minibuffer.[Ch] (append_char): new method to recieve input from the
13081 drop-down completion browser. If a key was pressed, then recieve this
13082 char and append it to the existing string.
13083 (peek_event): modify the positioning data passed to the completion
13084 browser so that it can be placed above the minibuffer rather than below.
13085 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13087 * LyXAction.C (init): alloe error-next for readonly documents.
13089 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13092 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13094 * bufferlist.C (readFile): create the buffer _after_ checking that
13097 * lyxfunc.C (verboseDispatch): fix handling of arguments
13099 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13101 * lyxrc.C: use string::erase() instead of initializing to "".
13104 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13106 * BufferView_pimpl.h:
13107 * BufferView_pimpl.C:
13110 * text2.C: tell X when we have made a selection for copying
13112 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13114 * BufferView_pimpl.C (MenuInsertLyXFile):
13115 * lyxfunc.C (menuNew):
13117 (doImport): add shortcuts to directory buttons
13119 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13122 * lyxfunc.C (setStatusMessage):
13123 (getStatusMessage): new methods
13124 (getStatus):use setStatusMessage instead of setErrorMessage
13125 (dispatch): when function is disabled, set error message here
13126 [instead of in getStatus previously]
13128 * BufferView_pimpl.C (workAreaButtonRelease): update
13129 toolbar/menubar here too.
13131 2002-01-13 Allan Rae <rae@lyx.org>
13133 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13134 Now seems indestructible. Remaining task is to audit all other
13135 code affected by deleteEmptyParagraphMechanism. One small quirk
13136 left is that an empty document with an error in the preamble can
13137 be made to report an error but no error box appears. I don't know
13139 (removeAutoInsets): Improved comments.
13141 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13144 * Thesaurus.C: update for Aiksaurus 0.14
13146 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * text2.C (firstParagraph): removed member function, all uses
13149 replaces with ownerParagraph
13150 (redoParagraphs): here
13151 (updateInset): here
13152 (toggleAppendix): here
13153 * BufferView2.C (insertErrors): here
13154 (setCursorFromRow): here
13156 2002-01-13 Allan Rae <rae@lyx.org>
13158 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13159 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13160 There is still a way to segfault this although you may have to do this
13161 multiple times: Have an InsetERT with an unknown command in it.
13162 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13163 <down-arrow>, <Enter> again, View->DVI, BANG!
13165 * text2.C (setCursor):
13166 (deleteEmptyParagraphMechanism):
13167 * lyxtext.h (setCursor):
13168 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13169 Making use of the return value may help fix other bugs.
13171 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13173 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13175 * LyXView.C (updateMenubar): call MenuBar::update here
13176 (updateToolbar): but not here
13177 (showState): do not update toolbar/menubar
13179 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13180 should need to care about that.
13182 * lyxfunc.C (verboseDispatch): simplify a bit
13183 (getStatus): have a version which takes a pseudoaction, and
13184 another which requires a (kb_action,string).
13186 * LyXAction.C (retrieveActionArg): make it work also when action
13187 is not a pseudo-action.
13188 (getActionName): simplify a bit
13191 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13193 * lyxfunc.C (verboseDispatch): new families of methods with
13194 several ways to specify a command and a bool to indicate whether
13195 the command name and shortcut should be displayed in minibuffer
13196 (eventually, we could extend that to a finer bitmask like
13197 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13198 (dispatch): the pristine dispatch command which just, well,
13199 dispatchs! Note it still sets its result to minibuffer; I'm not
13202 * lyxfunc.h: remove setHintMessage
13204 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13206 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13208 * BufferView_pimpl.C (specialChar): delete new inset if we have
13209 not been able to insert it.
13211 * kbmap.C: revert to using int instead of kb_action, since all we
13212 are dealing with is pseudo-actions.
13214 * LyXAction.C (searchActionArg): change to return int instead of
13215 kb_action, since the result is a pseudoaction.
13217 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13219 * buffer.C (insertErtContents): Fix (partially) the font bug.
13221 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13223 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13224 as the other one is broken on my machine!
13226 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13229 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13231 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13233 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13234 reflect their actual use. Provide compatibility code for older lyxrc
13237 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13239 change names of popup font variables in line with the changes to lyxrc.C
13241 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13243 * buffer.C (asciiParagraph): avoid outputing a word twice after
13246 * lyxrc.C (getDescription): document that document_path and
13247 template_path can be empty.
13249 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13251 * LaTeXFeatures.C (getMacros):
13252 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13254 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13256 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13258 (getPackages): rename feature "floats" to "float". Use an array to
13259 iterate over 'simple' features (i.e. just a \usepackage). Add
13260 handling of "amsmath" (renamed from "amsstyle").
13262 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13264 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13267 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13269 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13270 FuncStaus::FuncStatus & FuncStaus::some_method().
13272 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13274 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13275 of the func_satus stuff. Edited and massaged in various ways by
13278 * lyxfunc.C (getStatus): use FuncStatus
13280 2002-01-08 Juergen Vigna <jug@sad.it>
13282 * text.C (nextBreakPoint): use function Inset::isChar().
13284 * paragraph.C (TeXOnePar): use function
13285 Inset::forceDefaultParagraphs.
13287 * buffer.C (latexParagraphs): use function
13288 Inset::forceDefaultParagraphs.
13290 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13292 * lyx_gui.C (init): set the style of the menu popups to
13293 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13295 2002-01-07 Juergen Vigna <jug@sad.it>
13297 * text.C (setHeightOfRow): small fix
13298 (prepareToPrint): don't look at alignment if we don't have the place
13301 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13303 * box.C: New file. Move the Box methods and functions out of box.h,
13304 following Lars' suggestion.
13306 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13308 * box.h: #include "support/LOstream.h", needed for inlined function.
13311 * lyxtextclasslist.C: added some using std declarations.
13313 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13315 * box.h: make signed dimensions to allow insets wider than
13316 the screen (bug #162)
13318 * BufferView_pimpl.C: add some insetHit debug
13320 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13322 * vc-backend.C: add FIXME
13324 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13326 * lyxfunc.C (getStatus): enable code for showing math font status
13329 2002-01-07 Juergen Vigna <jug@sad.it>
13331 * text.C (nextBreakPoint): removed debug output not needed anymore.
13333 2002-01-06 Juergen Vigna <jug@sad.it>
13335 * text.C (nextBreakPoint): fixed up this function we had this bug
13336 since ever but now hopefully we break row better.
13337 (insertChar): we have to check if an inset is the next char as it
13338 could now happen that a large inset is causing a break.
13340 2002-01-05 Juergen Vigna <jug@sad.it>
13342 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13343 if it doesn't like to be drawed.
13345 2002-01-04 Juergen Vigna <jug@sad.it>
13347 * BufferView2.C (lockInset): forgot to set a cursor.
13349 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13351 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13353 * FormMathsPanel.C:
13356 * form_maths_panel.C:
13357 * form_maths_panel.h:
13358 * form_maths_panel.fd: implemented sub- and super- buttons in math
13361 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13362 (or ^ space) to be used as in TeX (req'd by André).
13364 * lyxfunc.C: Allow ^ and _ again to be used both as
13365 super/subscript (mathed) and as themselves (in text).
13367 2002-01-03 Allan Rae <rae@lyx.org>
13369 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13370 "LyX" or the filename of the current buffer if it has one. This is a
13371 modified form of John Levon's patch.
13373 * XFormsView.C (setWindowTitle): also set icon title.
13375 * LyXView.h (setWindowTitle): signature changed.
13376 * XFormsView.h (setWindowTitle): ditto.
13378 2002-01-02 Juergen Vigna <jug@sad.it>
13380 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13382 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * screen.C (topCursorVisible): introduce a temp var for
13385 text->cursor.row(), handle the case where this row is null. (kindo
13388 * text2.C (setCursor): add a couple of asserts.
13390 * paragraph.h (inset_iterator): add -> operator
13392 * paragraph.[Ch] (autoDeleteInsets): remove member function
13394 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13395 cursor pos correctly and handle inset deletion by itself.
13396 (insertErrors): move iterator declaration out of for expression
13398 * lyxtextclass.C: add <algorithm>
13400 * Makefile.am: added the new files to sources, removed layout.C
13402 * layout.C: removed file
13404 * layout.h: remove LYX_DUMMY_LAYOUT
13406 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13410 * lyxtextclass.[Ch]:
13411 * lyxtextclasslist.[Ch]: new files
13413 * include order changes to a lot of files, also changes because of
13416 2001-12-27 Juergen Vigna <jug@sad.it>
13418 * buffer.C (asciiParagraph): more fixes.
13420 * tabular.C (ascii): make ascii export support export of only the
13421 data separated by a column-delimiter.
13422 (ascii): better support for ascii export.
13424 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13426 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13428 * tabular_funcs.C: use a "using std::getline" instead of the
13429 previous fix from Angus (necessary for cxx + lyxstring)
13431 2001-12-24 Juergen Vigna <jug@sad.it>
13433 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13435 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13436 problems. First check a minipage also if we have some ert-contents
13437 (not only on par->size(), second set the right depth of the paragraph
13438 on the relink to the root-paragraph-list!
13440 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13441 which then did not anymore update the main paragraphs on undo/redo!
13443 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13445 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13446 code. Support all font-changing funcs (even those which are not in
13447 menu currently). Support for reporting font settings in
13448 mathed (disabled until Andre provides a function on mathed's side).
13450 * func_status.h (toggle): small helper function to set toggle
13453 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13455 * tabular_funcs.C: getline -> std::getline
13457 2001-12-21 Juergen Vigna <jug@sad.it>
13459 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13460 accessed and could be 0 (I couldn't generate this but it seems
13463 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13465 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13466 * tabular_funcs.h: here and include iosfwd
13468 2001-12-20 Juergen Vigna <jug@sad.it>
13470 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13471 inside inset but undo_par was.
13473 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13475 * Thesaurus.C: always include <config.h> in sources.
13479 * box.h: do not include <config.h> in header files
13481 * text.C (paintLastRow): remove unused variable
13483 * text.C (transformChar):
13485 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13487 * Painter.C (text):
13488 * font.C (width): rewrite to use uppercase() instead of
13491 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13493 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13495 * lyxfind.C: clean up of find failure position change
13497 2001-12-20 Juergen Vigna <jug@sad.it>
13499 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13501 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13502 (TeXRow): added to LaTeX a single tabular row.
13503 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13504 (Latex): simplified and finally good LT-h/f support.
13505 (various_functions): just small adaptions for LT-h/f support.
13507 * tabular_funcs.[hC]: added and moved here all not classfunctions
13510 2001-12-19 Juergen Vigna <jug@sad.it>
13512 * tabular.[Ch]: better support for longtabular options (not finished
13515 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13517 * text.C (paintLastRow): use the label font instead of the font of
13518 the last character to compute the size of *_BOX. This makes more
13519 sense and avoids a crash with empty paragraphs.
13520 Use Painter::rectangle to draw EMPTY_BOX.
13522 2001-12-19 Juergen Vigna <jug@sad.it>
13524 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13525 the paragraphs if the replaced paragraph is not the first one!
13526 Tried to delete not used paragraphs but does not work yet so for
13527 now it's inside #ifdef's and by default off!
13529 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13531 * MenuBackend.C: include "lyx_main.h" instead of declaring
13532 lastfiles (actually was declared as LastFiles* instead of a
13535 2001-12-17 Juergen Vigna <jug@sad.it>
13537 * tabular.C (AppendColumn): applied John's fix
13539 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13543 * BufferView_pimpl.h:
13544 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13547 * box.h: new start of class for above
13549 * lyxfunc.C: ignore space-only minibuffer dispatches.
13550 Show the command name when it doesn't exist
13552 * minibuffer.C: don't add empty lines to the history
13554 * minibuffer.C: add a space on dropdown completion
13556 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13558 * text.C: fix line above/below drawing in insets
13560 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13562 * lyxlength.C (LyXLength): Initialize private variables.
13564 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13566 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13567 when inserting error insets.
13569 2001-12-13 Juergen Vigna <jug@sad.it>
13571 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13572 actually sometimes the before-paragraph.
13573 (setUndo): don't clear the redostack if we're not actually undoing!
13575 2001-12-06 Juergen Vigna <jug@sad.it>
13577 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13578 and fixed redoing of main paragraph, so we can use it now ;)
13580 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13582 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13584 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13587 2001-12-13 André Pönitz <poenitz@gmx.net>
13590 * undo_func.C: minor cleanup
13592 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13594 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13595 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13596 font in urw-fonts package which is marked as -urw-fontspecific and
13597 does not work (incidentally, changing the encoding in the
13598 fonts.dir of this package to -adobe-fontspecific fixes the
13601 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13602 is a crash when undoing first paragraph (Juergen, please take a
13603 look). THis does not mean the undo fix is wrong, just that it
13606 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13607 the (Paragraph*) version when needed instead of duplicating the
13610 * text.C (workWidth): use Inset::parOwner to find out where the
13611 inset has been inserted. This is a huge performance gain for large
13612 documents with lots of insets. If Inset::parOwner is not set, fall
13613 back on the brute force method
13615 * paragraph_pimpl.C (insertInset):
13616 * paragraph.C (Paragraph):
13617 (cutIntoMinibuffer): set parOwner of insets when
13618 inserting/removing them
13620 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13622 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13628 * mathed/formulabase.C:
13629 * mathed/math_cursor.[Ch]:
13630 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13633 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13635 * lyxlength.[Ch] (operator!=): new function
13637 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13639 * text.C (workWidth): use Inset::parOwner to find out where the
13640 inset has been inserted. This is a huge performance gain for large
13641 documents with lots of insets. If Inset::parOwner is not set, fall
13642 back on the brute force method
13644 * paragraph_pimpl.C (insertInset):
13645 * paragraph.C (Paragraph):
13646 (cutIntoMinibuffer): set parOwner of insets when
13647 inserting/removing them
13649 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13651 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13653 * tabular-old.C (getTokenValue):
13654 * tabular.C (getTokenValue):
13655 (write_attribute): new versions for LyXLength
13656 (everywhere): adjust the use of widths
13658 * tabular.h: change the type of widths from string to LyXLength
13660 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13662 * paragraph.C: fixed missing line number count when exporting
13663 Environments to LaTeX file
13665 * buffer.C: added informational message for checking line numbers.
13667 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13669 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13670 paragraph, do the 'double space' part, but not the 'empty
13673 * text.C (workWidth): small optimization
13674 (getLengthMarkerHeight): use minimal size for negative lengths.
13676 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13678 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13680 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13682 2001-12-11 André Pönitz <poenitz@gmx.net>
13685 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13687 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13689 * text2.C: keep selection on a setFont()
13691 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13693 * lyx_cb.C: another bv->text misuse, from insert label
13695 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13698 * kbsequence.C: re-instate nmodifier mask
13700 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13702 * lyx_main.h: make lyxGUI private.
13704 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13706 * lyxfind.C: place the cursor correctly on failed search
13708 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13710 * text.C (getLengthMarkerHeight): for small heights, the arrows
13711 are not always on top/bottom of the text
13712 (drawLengthMarker): smaller arrows; take the left margin in
13713 account; draw also vfills.
13715 (paintLastRow): remove special code for vfill and standard spaces,
13716 since everything is handled in drawLengthMarker now.
13718 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13720 * buffer.C (insertErtContents): try to handle font and language
13721 interaction a bit better.g
13723 * ColorHandler.C (updateColor): change the hash to cover the whole
13724 LColor enum, ws cleanup
13725 (getGCLinepars): ditto
13726 (getGCLinepars): only lookup in the linecache once.
13728 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13730 * iterators.C (operator++): Make the iterator more robust
13732 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13734 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13736 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13739 * text.C: better added space drawing
13741 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13744 * BufferView2.C: fix layout combo update on inset unlock
13746 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13748 * Makefile.am: don't compile unused files
13750 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13754 * LyXAction.C: remove old LFUN_LAYOUTNO
13756 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13758 * paragraph_pimpl.h:
13759 * paragraph_pimpl.C: isTextAt() doesn't need font param
13761 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13764 * lyxlex.C: little cleanup
13766 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13768 * BufferView_pimpl.C: fix insertAscii for insets
13770 2001-12-05 Juergen Vigna <jug@sad.it>
13772 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13773 set the right font on the "multi" paragraph paste!
13775 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13781 * lyxlength.C: remove out-commented code.
13783 * BufferView_pimpl:
13797 * vc-backend.C: change "while(" to "while ("
13799 * lyxlength.[Ch]: add zero function to check if length is zero or
13801 * lyxgluelength.C: use it
13803 2001-12-05 Allan Rae <rae@lyx.org>
13805 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13806 Works for 2.95.3, from what I understand of Garst's reports this should
13807 work for other g++ versions. We're screwed if the abs(int) definition
13808 changed between bugfix releases of gcc.
13810 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13812 * text.C: fix chapter label offset !
13814 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13817 * text.C: fix hfill at end of line, clean up
13819 2001-12-04 Juergen Vigna <jug@sad.it>
13821 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13822 that we force an update of the inset and it's owners if neccessary.
13824 2001-12-03 Juergen Vigna <jug@sad.it>
13826 * text.C (rowLast): simplified code
13828 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13830 * lyxfunc.C: fix show options on timeout
13832 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13834 * screen.C (topCursorVisible): scroll half a page when the cursor
13835 reached top of bottom of screen
13837 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13839 * minibuffer.C: deactivate on loss of focus
13841 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13843 * vspace.[Ch] (operator!=): add operator.
13845 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13847 * BufferView_pimpl.C: refuse to open an inset when
13848 there's a selection.
13850 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13852 * BufferView_pimpl.C: allow to click on RHS of full row insets
13854 2001-11-30 Juergen Vigna <jug@sad.it>
13856 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13857 insets for undo reasons.
13859 2001-11-28 André Pönitz <poenitz@gmx.net>
13861 * vspace.[Ch]: cosmetical changes
13863 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13873 * kbsequence.C: part re-write of old kb code
13876 * WorkArea.C: remove Lgb_bug_find_hack
13878 2001-11-30 José Matos <jamatos@fep.up.pt>
13880 * buffer.C (makeDocBookFile): add a comment to point a hack.
13881 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13882 Fixed a double write of labels.
13884 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13887 * LaTeX.h Fixed bug in LaTeX class where it would not
13888 re-run latex if no depfiles were changed, but the .dvi was removed.
13890 2001-11-28 André Pönitz <poenitz@gmx.net>
13892 * all the files from the change on 2001/11/26:
13893 use lyx::layout_type instead of LyXTextClass::size_type
13894 use lyx::textclass_type instead of LyXTextClassList::size_type
13896 2001-11-29 Juergen Vigna <jug@sad.it>
13898 * text.C: added support for paragraph::isFreeSpacing()
13900 * buffer.C: same as above
13902 * paragraph.h: inserted isFreeSpacing() function to enable
13903 FreeSpacing inside InsetERT.
13905 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13906 of the paragraph's in the cut/copy buffer to 0!
13908 * text2.C (removeRow): remove the assert as it can!
13910 * lyxtext.h: added helper function firstRow returning firstrow and
13911 made firstrow private again.
13913 * BufferView2.C (lockInset): don't relock if we're already locked!
13915 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13916 the only paragraph.
13917 (removeRow): added Assert::(firstrow)
13919 * debug.C: forgot to add INSETTEXT here.
13921 2001-11-28 Juergen Vigna <jug@sad.it>
13923 * sp_spell.C (initialize): changed error text to more general
13924 spellchecker command use (not only ispell!)
13926 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13928 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13930 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13932 * vspace.C: initialise lyxgluelength on failure
13934 2001-11-28 Allan Rae <rae@lyx.org>
13936 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13937 declaration & definition that looks like a function declaration.
13939 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13941 * BufferView2.C (copy):
13942 (copyEnvironment): do not clear the selection when doing a copy.
13944 * text.C (paintFirstRow): compilation fix
13946 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13948 * tabular.C (Latex): correct line count when writing latex.
13950 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13952 * paragraph_pimpl.h:
13953 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13956 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13960 * LColor.C: change vfillline->added_space
13962 * text.C: add markers and text for added space
13964 * vspace.C: fix comment
13966 2001-11-28 André Pönitz <poenitz@gmx.net>
13968 * paragraph.C: whitespace changes
13969 * all the other files from the change on 2001/11/26:
13970 change *::pos_type into lyx::pos_type
13972 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13974 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13975 language of the document when inserting error insets.
13977 2001-11-26 André Pönitz <poenitz@gmx.net>
13979 * BufferView_pimpl.[Ch]:
13987 * paragraph_pimpl.[Ch]:
13990 * text2.C: reduce header dependencies, introduce type for positions
13992 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13994 * <various>: change to use Alert.h
13996 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13998 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13999 when encountering an unknown token.
14000 (readLyXformat2): Show an error message if there were unknown tokens.
14002 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14005 * BufferView_pimpl.C:
14009 * text2.C: use par->isInset()
14011 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14013 * paragraph_pimpl.h:
14014 * paragraph_pimpl.C: cleanup
14016 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14018 * text2.C (removeRow):
14019 * text.C (setHeightOfRow): remove useless (and costly) call to
14022 2001-11-20 Allan Rae <rae@lyx.org>
14024 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14025 Now need Inset*::checkInsertChar() to return true for appropriate
14026 cases so that the characters in the minibuffer will actually be
14029 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14031 * text.C: change the order of the includes.
14032 (workWidth): initialize it at once.
14033 (workWidth): make maxw unsigned
14034 (setHeightOfRow): remove unused variable (inset)
14035 (selectSelectedWord): remove unused variable (inset)
14036 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14038 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14040 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14041 server is not running.
14043 (closeConnection): add debug info when server is disabled.
14045 * ColorHandler.C (getGCForeground): send debug message to GUI
14048 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14050 * kbmap.C (bind): modify because return conventions of
14051 kb_sequence::parse have changed.
14053 * kbsequence.C (parse): only ignore spaces and not any stupid
14054 control character. This avoids tests like s[i] <= ' ', which are
14055 guaranteed to fail with 8bit characters and signed chars.
14056 Change return code to string::npos when there have been no error
14057 (0 was a bad idea when error is at first character)
14059 2001-11-14 José Matos <jamatos@fep.up.pt>
14062 * buffer.C (simpleDocBookOnePar): removed unused argument.
14064 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14066 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14067 insets which are part of a word. Paragraph::isLetter takes care of
14068 that now. Use Paragraph::isInset to identify insets.
14069 (selectSelectedWord): do not test for hyphenation break.
14071 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14072 that protected spaces are considered as spaces.
14074 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14077 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14080 * lyxserver.C: fix it. and small cleanup.
14082 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14084 * BufferView_pimpl.C: use inline helpers
14087 * LaTeXFeatures.C: fix typos
14090 * Spacing.C: move spacing_string into class
14092 * ToolbarDefaults.C: move stuff into namespace anon
14094 * layout.h: update enum
14096 * lyxfunc.C: use better debug
14098 * minibuffer.h: fix typo
14102 * WorkArea.C: add and use Debug::WORKAREA
14106 * text2.C: code re-organisation, inline helpers
14108 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14110 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14111 std::vector.empty().
14113 2001-11-09 Allan Rae <rae@lyx.org>
14115 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14116 '\n's after tables. Tabular and ERT inset work now makes this no
14119 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14122 * minibuffer.C: fix crash, improve drop-down completion
14124 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14127 * lyxserver.C: invalidate fd's when doing endPipe()
14129 2001-11-08 José Matos <jamatos@fep.up.pt>
14131 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14132 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14135 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14137 2001-11-07 José Matos <jamatos@fep.up.pt>
14140 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14143 * buffer.C (sgmlOpenTag):
14144 * buffer.C (sgmlCloseTag): removed debug info.
14146 * buffer.h (sgmlOpenTag):
14147 * buffer.h (sgmlCloseTag): made public.
14149 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14151 * buffer.C (saveParamsAsDefaults):
14152 * lyx_cb.C (MenuLayoutSave): remove
14154 * LyXAction.C (init):
14156 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14158 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14160 * buffer.C (setPaperStuff): removed from here...
14162 * bufferparams.C (setPaperStuff): ... and moved there.
14164 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14168 * XFormsView.C: add support for drop-down completion
14170 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14172 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14175 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14177 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14180 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14182 * lyx_main.C: change ref to known bugs
14184 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14186 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14187 to work around older babel problems.
14189 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14191 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14193 2001-10-24 Juergen Vigna <jug@sad.it>
14195 * tabular-old.C (ReadOld): below variable changes reflected.
14197 * tabular.[Ch]: added ltType struct for longtable header/footer
14198 defines and changed all instances where they are used. Added
14199 future support for double top/bottom rows.
14201 2001-10-24 José Matos <jamatos@fep.up.pt>
14203 * buffer.h (docbookHandleCaption):
14204 * buffer.C (docbookHandleCaption): removed unused function.
14205 (makeDocBookFile): moved docbook supported version to v4.1.
14207 2001-10-24 José Matos <jamatos@fep.up.pt>
14210 * tabular.C (docbookRow): new function to export docbook code of a row.
14211 (DocBook): now honors the longtable flags.
14213 2001-10-23 José Matos <jamatos@fep.up.pt>
14216 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14217 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14219 * buffer.C (makeLinuxDocFile):
14220 (makeDocBookFile): reworked the preamble, more clean, and with
14221 support for lyx defined entities. Changed the document declaration
14222 to be more XML friendly.
14224 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14225 if we need to output XML that should be done with a filter.
14227 2001-10-22 Juergen Vigna <jug@sad.it>
14229 * sp_pspell.h (class PSpell): add alive function needed in the
14230 controller to see if the spellchecker could be started.
14232 2001-10-22 Juergen Vigna <jug@sad.it>
14234 * buffer.C (insertStringAsLines): modify the font for inserting
14235 chars in certain conditions by calling checkInsertChar(font).
14237 2001-10-19 Juergen Vigna <jug@sad.it>
14239 * text.C (workWidth): use getRow instead of wrong algorithm.
14240 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14242 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14247 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14249 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14251 * text.C (workWidth): do not search for the exact row when
14252 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14253 optimization for big documents.
14255 2001-10-18 Juergen Vigna <jug@sad.it>
14257 * text.C (workWidth): new function with added Inset * parameter.
14259 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14261 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14263 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14264 change return type of getColumnNearX.
14267 * text.C (changeRegionCase): use uppercase/lowercase instead of
14270 (rightMargin): simplify code by factoring out the uses of
14275 (appendParagraph): use Paragraph::size_type
14277 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14279 * vspace.C (asLatexString): add a missing break
14281 2001-10-15 Herbert Voss <voss@perce.de>
14283 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14285 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14287 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14290 2001-10-10 André Pönitz <poenitz@gmx.net>
14292 * lyxfunc.C: removed greek_kb_flag.
14294 2001-10-10 Herbert Voss <voss@perce.de>
14296 * lyx_main.C: delete global string help_lyxdir.
14298 2001-10-09 Herbert Voss <voss@perce.de>
14300 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14302 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14304 * lyx_main.C: added global string help_lyxdir.
14306 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14308 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14310 * lyxrc.C (set_font_norm_type): support iso8859-4
14312 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14314 * LaTeX.C (deplog): add another regex for MikTeX
14316 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14318 * lyxrc.C (set_font_norm_type): support iso8859-3
14320 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14322 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14324 * LaTeXFeatures.C: remove special case of french and index
14326 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14327 before \begin{document}). This solves several incompatibilities.
14329 2001-10-03 Garst Reese <reese@isn.net>
14331 * lyx_cb.C: change CheckTex error msg.
14333 2001-10-03 José Matos <jamatos@fep.up.pt>
14335 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14337 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14339 * .cvsignore: update
14341 * lyx_main.C (commandLineVersionInfo): use new style version info.
14343 * buffer.C (writeFile):
14345 (makeLinuxDocFile):
14346 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14348 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14350 * version.h: update to use stuff in version.C
14352 * version.C.in: new file. Contains version information determined
14353 at compile time. This is a merging of version.h and
14356 2001-10-03 Juergen Vigna <jug@sad.it>
14358 * BufferView_pimpl.C (update): don't change "dirty" status in
14361 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14363 * WorkArea.C (c-tor): re-position version string slightly.
14365 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14367 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14368 revert to previous code.
14370 WorkArea.[Ch]: (show, destroySplash): methods removed.
14372 WorkArea.C: rework code so that it's an amalgam of the codes before and
14373 after the splash screen was moved to WorkArea.
14375 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14378 * vspace.C (inPixels):
14381 * buffer.C (insertStringAsLines):
14382 (asciiParagraph): fix types to be large enough
14384 * lyxlex_pimpl.h: change member status from short to int
14386 * layout.h: fix type of endlabeltype
14389 * kbsequence.C (parse): change return type to string::size_type
14391 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14394 * Bullet.C (bulletSize):
14395 (bulletEntry): do not use short ints as parameters
14397 * BufferView2.C (insertLyXFile): change a char to an int.
14399 * WorkArea.C (WorkArea): remove unneeded floats in computation
14401 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14403 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14405 * paragraph.C (asString): Do not ignore newline/hfill chars when
14406 copying to the clipboard.
14408 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14410 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14411 after a multi-line inset.
14413 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14415 * paragraph.C (validate): Set NeedLyXFootnoteCode
14417 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14419 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14420 and decrease-error to decrease.
14422 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14424 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14425 it more readable (should be equivalent)
14427 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14429 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14431 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14433 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14434 of a cursor (row, etc.) after a character has been deleted
14435 (deleteEmptyParagraphMechanism): call the method above on _all_
14436 cursors held by the LyXText when a double space has been
14439 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14441 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14443 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14445 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14446 background. Use greyOut() and the new show() methods to toggle between
14447 the foreground and background. Add code to remove the splash after
14448 its initial showing.
14450 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14451 (create_forms): no longer call Dialogs::showSplash.
14453 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14455 * .cvsignore: add version_info.h
14457 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14459 * version_info.h.in: new file
14461 * Makefile.am: add version_info.h.in
14463 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14464 version_info.h instead of VERSION_INFO
14466 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14468 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14469 The ERT inset now returns string().
14471 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14473 * lyxtext.h, text.C (selectNextWord): renamed as
14474 selectNextWordToSpellcheck.
14476 * text.C (selectNextWordToSpellcheck): Modified to not select
14477 words inside an ERT inset.
14479 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14481 * lyx_cb.C (MenuLayoutSave): change a bit the question
14483 * sp_base.h: include <sys/types.h>
14485 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14487 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14489 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14491 * several files: fix typos in user-visible strings
14493 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14495 * text2.C (pasteSelection): do not set the selection, since it
14496 will be cleared later. Actually, the intent was to fix the way the
14497 selection was set, but I figured rmoving the code was just as good.
14499 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14501 * FontLoader.C (available): Check if font is available without
14504 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14506 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14508 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14510 * lyxrc.[Ch]: added display_graphics variable and associated code.
14512 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14514 * bufferparams.C (hasClassDefaults): new method. Returns true if
14515 the buffer parameters correspond to known class defaults
14517 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14519 * XFormsView.C (show): set minimum size to the main window.
14521 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14523 * text2.C (copySelection):
14525 * lyxfind.C (LyXReplace):
14526 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14527 LyXText::selectionAsString.
14529 * paragraph.C (asString): add "label" argument to the second form
14531 * text2.C (selectionAsString): add "label" argument and pass it to
14532 Paragraph::asString.
14534 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14536 * lyx_main.C (commandLineHelp): remove version information
14538 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14540 * lyx_main.C: add -version commandline option
14542 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14544 * paragraph.h: make the optional constructor arg required instead.
14545 some modifications to other files because of this.
14547 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14549 * lyxserver.C (C_LyXComm_callback): make it static
14551 * lyx_main.C (error_handler): make it static
14553 * lyx_gui.C (LyX_XErrHandler): make it static
14555 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14557 * WorkArea.C: make the extern "C" methods static.
14559 * Makefile.am (lyx_LDADD): simplify
14561 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14563 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14564 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14566 * LyXAction.C (init):
14567 * lyxfunc.C (dispatch): associated code removal.
14569 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14571 * lyxfont.h (isSymbolFont): shut off warning
14573 * text.C (setHeightOfRow):
14574 (getVisibleRow): fix crash with empty paragraphs which have a
14577 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14579 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14582 2001-09-04 José Matos <jamatos@fep.up.pt>
14585 * tabular.C (docbook): rename docBook method to docbook.
14587 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14589 * Makefile.am: add dependencies to main.o.
14591 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14593 * FontLoader.C (available): Return false if !lyxrc.use_gui
14595 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14597 * FontInfo.C (query):
14598 * converter.C (view):
14599 * importer.C (Import):
14600 * exporter.C (Export): Can not -> cannot.
14602 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14604 * BufferView_pimpl.C: allow to create index inset even if
14607 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14609 * buffer.C (getLists): replace boost::tie code with an explicit pair
14610 as boost::tie can break some compilers.
14612 * iterators.h: Added a std:: declaration to the return type of
14615 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14617 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14620 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14622 * iterators.[Ch]: New files. Provide paragraph iterators.
14624 * buffer.C (changeLanguage): Use paragraph iterators.
14625 (isMultiLingual): ditto
14627 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14629 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14631 * FontLoader.C: Support for cmr font.
14633 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14635 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14636 (available): New method.
14638 * FontInfo.C (getFontname): Use scalable fonts even when
14639 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14642 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14644 * converter.C (Formats::view): reverted! Incorrect fix.
14646 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14648 * converter.C (Formats::view): only output the -paper option
14649 if the dvi viewer is xdvi, thereby fixing bug #233429.
14651 2001-08-23 Herbert Voss <voss@perce>
14653 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14655 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14657 * Spacing.h (Spacing): Set space to Default on in the default
14660 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14662 * vc-backend.h (RCS::versionString): add RCS to version
14663 (CVS::versionString): add CVS to version
14665 * vc-backend.C (scanMaster): do not add CVS to version.
14666 (scanMaster): do not add RCS to version
14668 * lyxvc.C (versionString): new method
14670 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14672 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14674 * Spacing.C (set): initialize fval
14676 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14678 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14681 2001-08-16 Juergen Vigna <jug@sad.it>
14683 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14685 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14687 * BufferView_pimpl.C:
14690 * text2.C: setParagraph takes linespacing now
14692 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14694 * LyxAction.C: add internal LFUN_CITATION_INSERT
14696 * LyXView.C: actually apply fix
14698 * bufferlist.C: fix open non-existent file
14700 * lyxfind.C: fix indentation
14702 * lyxfunc.C: remove unneeded assert, fix typo
14704 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14706 * MenuBackend.C: use "Floatname List"
14708 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14710 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14711 when converting LaTeX layout to insetERT.
14712 Generate a non-collapsed float when reading old float
14714 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14716 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14719 2001-08-13 Juergen Vigna <jug@sad.it>
14721 * text.C (fill): return 0 instead of 20 as this seems to be the more
14724 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14726 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14729 2001-08-13 Juergen Vigna <jug@sad.it>
14731 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14733 (SearchBackward): comment out the unlocking of the inset_owner this
14734 should not be needed!
14736 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14738 * Many files: Remove inherit_language, and add latex_language
14740 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14741 collapsible insets.
14743 2001-08-10 Juergen Vigna <jug@sad.it>
14745 * text.C (prepareToPrint): fixed hfill-width in draw!
14747 * BufferView2.C (selectLastWord): save the selection cursor as this
14748 now is cleared in the function LyXText::clearSelection!
14750 2001-08-08 Juergen Vigna <jug@sad.it>
14752 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14753 BACKSPACE type functions.
14755 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14756 is only cutted from the document but not put in the cut-buffer, where
14757 still the old stuff should be.
14759 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14761 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14763 * tabular.C (SetWidthOfCell): fixed special case where the width
14765 (LeftLine): handle '|' in align_special.
14767 (LeftAlreadyDrawed): ditto
14768 (SetWidthOfCell): ditto
14770 2001-08-07 Juergen Vigna <jug@sad.it>
14772 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14774 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14776 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14777 * lyxlex.[hC]: ditto
14779 2001-08-06 Juergen Vigna <jug@sad.it>
14781 * text.C (getVisibleRow): fix up row clearing a bit.
14783 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14785 * minibuffer.C: make sure the X server sees the changes in the input.
14787 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14789 * paragraph.C (getFont): split into...
14790 (getLabelFont): this
14791 (getLayoutFont): and this
14792 * paragraph_pimpl.C (realizeFont): calling this
14794 * text2.C (getFont): split into...
14795 (getLayoutFont): this
14796 (getLabelFont): and this
14797 (realizeFont): all three calling this
14799 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14802 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14806 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14808 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14809 layouts from the Quote inset insertion.
14811 2001-08-03 Juergen Vigna <jug@sad.it>
14813 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14815 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14816 only if status not is already CHANGED_IN_DRAW (second level).
14818 * text.C (draw): don't set the need_break_row when inside an
14821 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14823 * buffer.C (parseSingleLyXformat2Token): handle more latex
14826 * bufferview_funcs.[hC]: change function names to
14827 begin with small char, adjust other files.
14829 2001-08-02 André Pönitz <poenitz@gmx.net>
14832 BufferView_pimpl.C: remove broken special code for math-greek
14834 2001-08-02 Juergen Vigna <jug@sad.it>
14836 * BufferView_pimpl.C (update): redone this function so that we
14837 update the text again if there was a CHANGE_IN_DRAW.
14839 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14840 (drawFromTo): added a new internal bool which is used by draw() and
14842 (general): some cursor drawing problems fixed.
14844 2001-08-01 Juergen Vigna <jug@sad.it>
14846 * lyxfind.C (LyXFind): fixed
14847 (SearchForward): ditto
14848 (SearchBackward): ditto
14850 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14851 spurius drawing of the cursor in the main area.
14853 * text2.C (status): small fix which could lead to a segfault!
14854 (clearSelection): remove unneeded BufferView param.
14856 2001-08-01 André Pönitz <poenitz@gmx.net>
14858 * lyxfunc.C: small change due to changed mathed interface
14860 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14862 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14864 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14866 * lyxfunc.c: fail gracefully if file doesn't exist
14871 * BufferView_pimpl.C: IsDirWriteable() proto changed
14873 * LyXView.C: fix updateWindowTitle() to store the last title
14875 2001-07-31 Juergen Vigna <jug@sad.it>
14877 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14878 the font (wrong since using of Paragraph::highestFontInRange).
14880 * paragraph.C (highestFontInRange): added a default_size parameter.
14882 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14883 (setHeightOfRow): reformat
14885 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14887 * converter.[hC] + affected files: move to (inital-char)lowercase
14890 * ParagraphParameters.C (ParagraphParameters): remove commented code
14892 * PainterBase.[Ch]: remove commented code
14894 * LaTeXFeatures.h: add "bool floats" for float.sty
14896 * LaTeXFeatures.C (LaTeXFeatures): init floats
14897 (require): handle float
14898 (getPackages): do it with floats
14900 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14902 * BufferView_pimpl.C (Dispatch): improve handling of
14903 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14905 * commandtags.h: #include lyxfont.h here temporarily to avoid
14908 * bufferlist.h: include LString.h here.
14910 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14912 * text2.C (getStringToIndex): new method.
14914 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14916 * *: Reduced header file dependencies all over.
14918 2001-07-30 Baruch Even <baruch@lyx.org>
14920 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14922 2001-07-29 Baruch Even <baruch@lyx.org>
14924 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14926 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14928 * ParameterStruct.h (endif): add a default constructor to make
14929 sure that all variables is initialized.
14931 * ParagraphParameters.C (ParagraphParameters): adjust
14933 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14935 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14936 index; also, check that there is something to index, and that it
14937 does not span over several paragraphs.
14938 (doubleClick): use WHOLE_WORD_STRICT for double click.
14940 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14942 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14945 2001-07-26 Baruch Even <baruch@lyx.org>
14947 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14948 an InsetFig figure, backwards compatible reading of old figure code.
14950 2001-07-27 Juergen Vigna <jug@sad.it>
14952 * text2.C: font.realize function adaption.
14954 * text.C (draw): add a warnings lyxerr text if needed.
14956 * layout.C: font.realize function adaption.
14958 * language.C: add inherit_language and implement it's handlings
14960 * bufferview_funcs.C (StyleReset): remove language parameter from
14961 font creation (should be language_inherit now).
14963 * bufferparams.C (writeFile): handle ignore_language.
14965 * paragraph.C (getFontSettings): the language has to be resolved
14966 otherwise we have problems in LyXFont!
14968 * lyxfont.C (lyxWriteChanges): added document_language parameter
14969 (update): removed unneeded language parameter
14971 * paragraph.C (validate): fixed wrong output of color-package when
14972 using interface colors for certain fonts in certain environments,
14973 which should not seen as that on the final output.
14975 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14977 * BufferView_pimpl.C:
14982 * LyXAction.C: add thesaurus support
14985 * lyxfind.C: add "once" parameter, for thesaurus, to not
14986 move to the next match
14988 2001-07-26 Juergen Vigna <jug@sad.it>
14990 * lyxfont.C (realize): honor ignore_language too!
14993 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14995 * text.C (draw): one place more for ignore_language to not draw
14998 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15000 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15002 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15004 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15005 the minipage conversion problem.
15007 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15009 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15012 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15014 * BufferView.h: don't forward declare WorkArea
15016 * BufferView.C: don't include WorkArea.h
15018 2001-07-25 André Pönitz <poenitz@gmx.net>
15022 * lyxfunc.C: new LFUN 'math-space'
15024 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15026 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15028 * text2.C (toggleInset): call open/close
15030 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15032 * lyxfunc.C (dispatch): add debug for the disabled case
15034 * font.C (buttonText): make similar to rectText
15036 * buffer.C (readInset): comment out parsing of insetlist and
15039 * PainterBase.C (rectText): small correction
15041 * BufferView_pimpl.C: comment out insettheorem and insetlist
15042 * LyXAction.C: ditto
15043 * commandtags.h: ditto
15045 2001-07-24 Juergen Vigna <jug@sad.it>
15047 * text.C (draw): honor the ignore_language.
15049 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15051 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15053 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15056 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15058 * lyxtext.h: remove unused (and unimplemented) methods
15060 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15062 * text.C (getVisibleRow): honor background color
15065 * Painter.h: remove default color argument for fillRectangle
15067 * text.C (backgroundColor): new method
15069 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15071 * text.C (getVisibleRow): adjust
15073 * font.[Ch] (rectText): new method, metrics
15074 (buttonText): new method, metrics
15076 * PainterBase.[hC]: make rectText and buttonText always draw and take
15079 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15081 * ToolbarDefaults.C (read):
15082 * MenuBackend.C (read): allow escaping in all strings
15084 * BufferView_pimpl.C (insertAndEditInset): new method.
15085 (Dispatch): use insertAndEditInset whenever appropriate.
15087 * BufferView_pimpl.C (insertNote): removed
15089 * BufferView_pimpl.C (smartQuote): new method, moved from
15090 BufferView; if an insetquote cannot be inserted, insert a '"'
15093 * BufferView2.C: remove insertCorrectQuote();
15095 * lyxfunc.C (getStatus): Add support for all remaingin
15096 inset-insert lfuns.
15098 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15100 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15101 command (necessary to pass " as parameter of self-insert.
15103 * text.C (selectWordWhenUnderCursor):
15104 (selectWord): add word_location parameter
15105 (selectWordWhenUnderCursor): same + remove special code for word
15107 (selectNextWord): use kind() to guess type of insetspecialchar,
15110 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15111 (insertErtContents): create ert insets as collapsed.
15112 (readInset): better compatibility code for Info inset.
15114 2001-07-20 Juergen Vigna <jug@sad.it>
15116 * lyxfunc.C (dispatch): use always LyXFind now!
15118 * text2.C (init): add a reinit flag so that the LyXText can be
15119 reinited instead of deleted and reallocated (used in InsetText).
15121 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15127 2001-07-18 Juergen Vigna <jug@sad.it>
15129 * text.C (selectNextWord): handle insets inside inset by calling
15130 always the bv->text functions so that we can go up the_locking_inset!
15132 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15133 in strange locations when inside an inset!
15135 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15136 handling to include insets.
15138 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15140 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15142 * LyXAction.C (init):
15144 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15145 LIGATURE_BREAK, since the name is so stupid.
15147 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15149 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15152 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15154 * sp_form.[Ch]: remove.
15156 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15158 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15161 * src/buffer.C (readInset): ditto.
15163 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15165 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15166 menuSeparator(), endOfSentenceDot(), ldots() and
15167 hyphenationPoint(), which are therefore removed.
15168 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15170 * LyXAction.C (init):
15171 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15173 * paragraph.C (getWord): removed.
15175 * BufferView_pimpl.C (Dispatch): use last word or selection for
15176 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15178 * lyx_main.C (queryUserLyXDir): do not ask before creating
15179 user_dir, except if it has been named explicitely.
15181 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15183 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15184 a document of zero size.
15186 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15188 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15189 approriately in the c-tor and in require().
15190 (getPackages): output the appropriate LaTeX for natbib support.
15192 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15193 variables "use_natbib" and "use_numerical_citations" when reading the
15195 (readInset): read the various natbib cite commands.
15196 (validate): white-space change.
15198 * bufferparams.[Ch]: new variables "bool use_natbib" and
15199 "bool use_numerical_citations".
15200 (writeFile): output them in the LyX file.
15202 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15204 * lyxfunc.C (getStatus): add support for all the inset insertion
15207 * text2.C (insertInset):
15208 * paragraph.C (insetAllowed):
15209 * BufferView_pimpl.C (insertInset): update to take in account the
15210 renaming of insertInsetAllowed
15212 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15214 * text2.C (getInset): new method. returns inset at cursor position.
15216 * BufferView_pimpl.C (Dispatch): changes because of this.
15218 * LyXAction.C (init): rename open-stuff to inset-toggle.
15220 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15222 * text2.C (toggleInset): renamed from openStuff; use
15225 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15227 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15229 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15231 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15233 * buffer.C (readLyXformat2): Add filename to the error dialog
15235 2001-07-18 Juergen Vigna <jug@sad.it>
15237 * tabular.C (GetCellNumber): put an assert here instead of the check!
15239 2001-07-17 Juergen Vigna <jug@sad.it>
15241 * BufferView_pimpl.C (toggleSelection): adapted too.
15243 * text.C (selectNextWord): adapted for use with insets.
15244 (selectSelectedWord): ditto
15246 2001-07-17 Juergen Vigna <jug@sad.it>
15248 * sp_spell.C (PSpell): fix initialitation order.
15250 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15252 * paragraph.C: spacing
15254 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15256 * sp_spell.C: repair language selection for pspell
15258 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15260 * lyxfunc.h: change more methods to begin with lower char.
15262 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15264 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15265 for unknown layouts.
15267 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15269 * buffer.C (readLyXformat2): Generate an error dialog if there are
15272 2001-07-16 Juergen Vigna <jug@sad.it>
15274 * sp_spell.C: always compile ISpell part.
15276 * lyxrc.C: added use_pspell entry and it's handling.
15278 2001-07-13 Juergen Vigna <jug@sad.it>
15280 * sp_spell.C: removed double includes.
15282 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15284 Consistent use of Lsstream.h:
15285 * Lsstream.h: added using std::stringstream for consistencies sake.
15287 * buffer.C: removed using std::stringstream
15289 * lyxfont.C (stateText):
15290 * paragraph.C (asString):
15291 * text.C (selectNextWord, selectSelectedWord):
15292 * text2.C (setCounter):
15293 * vspace.C (asString, asLatexString):
15294 std::ostringstream -> ostringstream.
15296 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15298 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15299 * commandtags.h: add LFUN_HELP_ABOUTLYX
15300 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15302 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15304 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15306 * lyx_gui_misc.C: remove spellchecker
15307 * lyxfunc.C: showSpellchecker
15309 * sp_ispell.h: added
15310 * sp_pspell.h: added
15311 * sp_spell.C: added
15312 * sp_form.[Ch]: removed
15313 * spellchecker.[Ch]: removed
15315 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15317 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15319 (simpleTeXSpecialChars): Simply print the input character without
15320 any special translation if pass_thru is set.
15322 * layout.h: Added bool pass_thru to layout class for being able to
15323 implement pass through of a paragraph for Literate Programming.
15325 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15326 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15327 * layout.C (Read): add "passthru" to list of layout tags and add
15328 code to set the pass_thru boolean when it is read.
15330 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15332 * trans_decl.h: remove allowed from KmodInfo
15334 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15335 remove allowed code
15338 * paragraph_pimpl.C (erase): use boost::prior
15340 * Painter.C (text): use data() instead of c_str() when length is
15342 * WorkArea.C (putClipboard): ditto
15343 * font.h (width): ditto
15345 * BufferView2.C: use it-> instead of (*it). for iterators
15347 * paragraph_pimpl.C: ditto
15348 * paragraph.C: ditto
15349 * minibuffer.C: ditto
15350 * language.C: ditto
15352 * encoding.C: ditto
15353 * counters.C: ditto
15354 * converter.C: ditto
15356 * Variables.C: ditto
15357 * TextCache.C: ditto
15358 * MenuBackend.C: ditto
15359 * LyXAction.C: ditto
15361 * FloatList.C: ditto
15362 * DepTable.C: ditto
15363 * ColorHandler.C (LyXColorHandler): ditto
15365 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15367 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15369 * text2.C (openStuff): reintroduce this method (which had been
15370 nuked in NEW_INSETS frenzy).
15372 * lyxfunc.C (Dispatch): when an action has not been handled, use
15373 its name in the error message, not its number.
15375 * paragraph.C (inInset): change method name to begin with lowercase.
15378 * text2.C: updates because of this.
15380 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15382 * ToolbarDefaults.C (add): add spaces in error message
15384 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15386 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15387 (readLyXformat2): rename return_par to first_par, use lyxlex's
15388 pushToken and remove the manual push handling.
15389 (parseSingleLyXformat2Token): add another ert comp. variable:
15390 in_tabular, rename return_par to first_par. handle newlines better
15392 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15394 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15396 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15398 * text2.C (getParFromID): removed
15400 * buffer.C (getParFromID): new method moved form lyxtext.
15401 * BufferView2.C (insertErrors): adjust
15402 (setCursorFromRow): adjust
15403 * BufferView_pimpl.C (restorePosition): adjust
15404 * lyxfunc.C (Dispatch): adjust
15405 * undo_funcs.C (textUndo): adjust
15407 (textHandleUndo): adjust
15408 (textHandleUndo): adjust
15410 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15412 * buffer.C: up' the LYX_FORMAT
15414 * lyxfont.h: turn NO_LATEX on as default
15416 * buffer.C (insertErtContents): new methods of tex style compability.
15417 (parseSingleLyXformat2Token): use it several places.
15418 * tabular.C (OldFormatRead): and here
15420 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15422 * text2.C: remove some commented code.
15425 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15426 * trans.C: changes because of the above.
15428 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15430 * text2.C (setCounter): Fix counters bug with bibliography layout.
15432 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15434 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15435 own member functions
15436 (simpleTeXSpecialChars): ditto
15438 2001-07-06 Juergen Vigna <jug@sad.it>
15440 * a lot of files: changed the access to LyXText::status and the
15441 call of undo-functions.
15443 * undo.[Ch]: added a inset_id to the undo informations.
15445 * undo_funcs.[Ch]: added and moved here all undo functions.
15447 * lyxtext.h: give the status enum a weight, made status_ a private
15448 variable and made accessor functions for it, removed the whole bunch
15449 of undo-functions as they are now in their own file, make some
15450 functions publically available. Added function ownerParagraph with
15453 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15454 made InInset() a const function, added getParFromID() function.
15456 * buffer.[Ch]: added const version for inset_iterator functions,
15457 added getInsetFromID() function.
15459 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15460 changed undo functions for new version.
15462 2001-07-05 Juergen Vigna <jug@sad.it>
15464 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15465 unknow mechanism does not call the proper constructor but only this
15466 one also if I request the other!?
15468 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15470 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15472 * text2.C (LyXText): use initialization lists.
15474 * lyxtext.h (Selection): initialize set_ and mark_
15475 (init): remove method
15477 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15479 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15481 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15483 * screen.[Ch]: change method names to begin with lowercase
15485 * BufferView_pimpl.C (updateScrollbar): simplify further and
15486 hopefully make it a bit faster.
15488 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15490 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15491 calling directly xforms functions.
15493 * Painter.C (Painter):
15494 * lyx_cb.C (MenuWrite):
15495 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15498 * lyx_gui.C: remove bogus guiruntime extern declaration.
15500 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15502 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15504 (redoDrawingOfParagraph): ditto
15505 (redoParagraphs): ditto
15506 (cutSelection): don't create a object for CutAndPaste use the
15507 static method directly
15508 (pasteSelection): ditto
15510 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15513 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15515 * modifications to some other files because of this.
15517 * Makefile.am (lyx_SOURCES): add XFormsView
15519 * XFormsView.[Ch]: new files
15521 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15522 the main window. Move the gui dependent stuff to XFormsView
15524 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15526 * tabular.C (GetCellInset): update cur_cell also in the row/col
15527 version of this function.
15529 * lyxfunc.C: no need to include figure_form.h here.
15535 * lyxvc.C: no need to include forms.h here.
15537 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15539 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15541 * lyxfunc.C (Dispatch):
15543 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15544 constructor argument.
15546 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15548 * paragraph.C (Paragraph): dont't clear, and just set layout.
15549 (makeSameLayout): use params's copy contructor.
15551 * ParagraphParameters.[Ch] (makeSame): delete method
15553 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15555 * Variables.[Ch]: fix indentation, rename set to isSet
15557 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15559 * lyxfunc.C (Dispatch): fix typo
15561 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15563 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15566 * bufferlist.C: include assert.h for emergencyWrite().
15568 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15570 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15571 give up at last (bug #425202) !
15573 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15579 * spellchecker.C: strip spellchecker options and bring up
15580 preferences tab instead
15582 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15584 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15585 the istringstream constructor
15587 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15589 * paragraph.C (getLayout): fix return value
15591 * paragraph.h: do not declare getLayout as inline.
15593 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15595 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15597 * lyxcursor.h (operator<): new func
15598 (operator>): new func
15599 (operator>=): new func
15600 (operator<=): new func
15602 * text.C (changeCase): use selection.start and selection.end
15603 (changeRegionCase): require from to be <= to. Require par to be a
15606 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15608 2001-06-27 Juergen Vigna <jug@sad.it>
15610 * text.C (cursorLeftOneWord): changed to return the cursor and added
15611 overlay with BufferView * parameter which calls this one.
15613 (selectWord): use new getWord function.
15614 (changeCase): renamed from changeWordCase as and extended to work
15615 also on selections.
15617 * lyxtext.h: added enum word_location
15619 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15620 changeCase as this operates now also on selections.
15622 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15624 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15626 * many files: send debug output to Debug::INFO instead of
15629 * converter.C (View):
15631 (Move): send debug output to Debug::FILES instead of console.
15633 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15635 * lyxfunc.C (getStatus): use func_status
15637 * func_status.h: new header, describing the results of
15638 LyXFunc::getStatus;
15640 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15643 2001-06-25 The LyX Project <jug@sad.it>
15645 * buffer.C (sgmlOpenTag):
15647 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15649 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15651 * text2.C: remove some dead code
15653 * tabular.C (GetCellInset): store the last cell checked (gotten)
15655 * tabular.h: add the helper for the speedup
15657 * lyxtext.h: remove some dead code
15659 2001-06-26 The LyX Project <Asger>
15661 * paragraph.C: Change export to LaTeX of alignment to
15662 \begin{center} and family for better roundtrip work with reLyX.
15664 * Tune the math drawing a bit.
15666 2001-06-25 The LyX Project <Asger>
15668 * LColor.C (LColor): New color for math background. New color
15671 2001-06-25 The LyX Project <jug@sad.it>
15673 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15675 * lyxfunc.C (Open):
15676 * bufferlist.C (newFile): do not restrict to files ending with
15679 * BufferView_pimpl.C (MenuInsertLyXFile):
15681 2001-06-24 The LyX Project <jug@sad.it>
15683 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15686 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15688 * lyxtext.h: rename most methods to begin with a small char.
15689 Lots of changes because of this.
15691 * paragraph.C (Paragraph): do not call fitToSize
15692 (erase): call Pimpl::erase
15693 (insertChar): call Pimpl::insertChar
15694 (insertInset): call Pipl::insertInset
15695 (breakParagraph): do not call fitToSize
15696 (breakParagraphConservative): do not call fitToSize
15697 (fitToSize): remove method
15699 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15701 2001-06-24 The LyX Project <Asger>
15703 * Fix Qt compilation^2
15705 2001-06-24 The LyX Project <jug@sad.it>
15707 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15708 depthHook(getDepth()-1).
15711 * ParagraphParameters.h:
15712 * ParameterStruct.h: change type of depth to unsigned int ==
15713 depth_type. Many adaptations to other files before of that.
15715 2001-06-24 The LyX Project <Asger>
15717 * Fix Qt compilation.
15719 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15721 * paragraph.h: renamed several methods to begin with small letter.
15722 several changes to many parts of the code because of this.
15724 2001-06-23 The LyX Project <jug@sad.it>
15726 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15727 rewritten to discard all double spaces when KeepEmpty is off
15728 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15729 to only handle newlines but not fiddle with spaces and friends.
15731 * lyxfunc.C (MenuNew): when doing 'new from template', use
15732 template_path as default directory
15734 2001-06-23 The LyX Project <Asger>
15736 * Clean-up of header file includes all over
15737 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15739 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15741 * paragraph.h: renamed from lyxparagraph.h
15743 2001-06-23 Asger <lyx@violet.home.sad.it>
15745 * Buffer.h: Removed Buffer::resize
15746 * BufferList.h: Removed BufferList::resize
15747 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15748 the document lazily when we change the width, or the font settings.
15750 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15752 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15754 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15756 * buffer.h: remove out of date comment
15758 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15761 * screen.C: fix "theoretical" GC leak
15763 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15765 * LaTeX.C (scanAuxFile):
15766 (deplog): remove trailing \r when reading stream (useful under
15769 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15771 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15772 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15773 and BufferView::theLockingInset(Inset*), so should use them and not
15774 access bv_->text->the_locking_inset directly.
15776 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15778 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15781 * tex-defs.h: remove old unused file
15783 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15785 * BufferView_pimpl.C: fix typo, remove minibuffer message
15786 when buffer has loaded
15788 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15790 * lyxfunc.C (Dispatch): use stringstream
15791 (MenuNew): use stringstream
15792 (Open): use stringstream
15794 * importer.C (Import): use stringstream
15796 * bufferview_funcs.C (CurrentState): use stringstream
15798 * LaTeX.C (run): use stringstream
15800 * BufferView_pimpl.C (savePosition): use stringstream
15801 (restorePosition): use stringstream
15802 (MenuInsertLyXFile): use stringstream
15804 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15817 * vspace.C: removed // -*- C++ -*- as first line.
15820 * version.h: added // -*- C++ -*- as first line.
15822 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15824 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15826 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15829 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15831 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15834 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15836 * gettext.C: include LString.h even when --disable-nls is on.
15838 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15840 * converter.h (Get): changed argument type from int to
15841 FormatList::size_type to avoid unnecessary conversion.
15843 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15846 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15848 * gettext.h: include LString.h even when --disable-nls is on.
15850 2001-06-07 Juergen Vigna <jug@sad.it>
15852 * text.C (BreakAgain): subst spaces with tabs.
15854 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15855 (resizeInsetsLyXText): set force on resizeLyXText.
15857 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15859 * gettext.h (gettext_init):
15860 (locale_init): use a real definition instead of a macro
15862 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15864 * Bufferview_pimpl.C:
15866 * LColor.C: further lcolor tidies
15868 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15870 * BufferView_pimpl.C (updateScrollbar): simplify.
15872 * BufferView2.C: don't include insets/insetinfo.h, change
15873 prototype for insertInset and call the Pimpl version. let
15874 updateInset call Pimpl version.
15876 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15877 gotoInset to BufferView::Pimpl
15879 2001-06-01 Juergen Vigna <jug@sad.it>
15881 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15882 inside a LockingInset (is the update needed at all?).
15884 2001-05-31 Juergen Vigna <jug@sad.it>
15886 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15887 here not the old one otherwise how should we compare it afterwards
15890 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15895 * FontInfo.C: bring C functions into global namespace when
15898 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15900 * LString.h: make sure config.h has been loaded before LString.h.
15902 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15903 (one for each char read by EatLine!).
15905 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15908 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15910 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15911 to the same as the par we break from
15913 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15915 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15917 * MenuBackend.C (expand): also create menu entries for wide
15918 versions of the floats.
15920 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15922 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15924 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15925 frontends/Makefile.am
15931 * tabular.C (getTokenValue): add std::
15933 * tabular-old.C (getTokenValue): add std::
15934 (getTokenValue): ditto
15935 (getTokenValue): ditto
15937 * screen.C (ToggleSelection): adjust
15939 * lyxtext.h: put selection cursors inside a Selection struct.
15941 * lyxfunc.C (moveCursorUpdate): adjust
15943 * lyxfont.C (latexWriteStartChanges): add std::
15945 * lyxfind.C: adjust
15947 * font.h: delete with(char const *, LyXFont const &)
15949 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15951 * FontInfo.C (getFontname): add std::
15953 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15954 (workAreaButtonPress): adjust
15955 (tripleClick): adjust
15957 (moveCursorUpdate): adjust
15960 * BufferView2.C (gotoInset): adjust
15962 2001-05-30 Juergen Vigna <jug@sad.it>
15964 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15965 to check pspell I add this as default as I now have new pspell
15966 libraries and they seem to use this.
15968 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15970 * text2.C (CutSelection): make the cursor valid before the call to
15973 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15975 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15976 relied on 0 terminated strings and other horrors. Bug found due to
15977 the new assert in lyxstring!
15979 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15982 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15984 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15987 * lyxfunc.C (processKeySym): change method of getting to the
15990 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15991 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15992 * BufferView_pimpl.[Ch]: here as private methods.
15994 2001-05-28 Juergen Vigna <jug@sad.it>
15996 * text.C (SetHeightOfRow): added the update() call again as it is
15997 needed to initialize inset dimensions!
15999 2001-05-16 Juergen Vigna <jug@sad.it>
16001 * text2.C (SetCharFont): Add new function with BufferView * and
16002 bool toggleall parameters for setting insets internal fonts.
16003 (SetFont): Freeze the undo as we may change fonts in Insets and
16004 all this change should be inside only one Undo!
16006 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16007 setting font's in insets as for them we have the SetFont function!
16009 2001-05-15 Juergen Vigna <jug@sad.it>
16011 * text2.C (ClearSelection): to be sure we REALLY don't have any
16014 * tabular.C (TeXCellPreamble): fixed the left border problem for
16017 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16019 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16022 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16024 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16025 LFUN_BREAKPARAGRAPH.
16027 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16028 help test to "internal only", similar for LFUN_INSERT_URL
16030 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16031 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16032 auto_region_delete and deadkeys.
16034 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16037 * LColor.C: remove some dead entries, tidy a little
16039 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16041 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16043 (Dispatch): implement LFUN_ESCAPE
16045 * commandtags.h: add LFUN_ESCAPE
16047 * LyXAction.C (init): add entry for LFUN_ESCAPE
16049 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16050 Remove commented code.
16051 (insertNote): moved here
16052 (open_new_inset): moved here
16054 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16057 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16059 * kbmap.C (findbinding): clean it up and make it work correctly.
16061 * lyx_main.C (init): do not pass argc and argv as parameters
16063 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16065 * buffer.C: fix path for OS/2 & Win32
16069 * lyx_main.C: Added os:: class.
16071 * os2_defines.h: update
16073 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16075 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16076 better by trying again with reduced state.
16078 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16080 * lyxrc.C (read): print error about invalid key sequence only when
16081 debugging (because not all latinX keysyms are known to some X
16084 * kbsequence.C (getiso): add a few std:: qualifiers
16085 (getiso): comment out extra return statement.
16087 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16089 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16091 (Dispatch): enhance the accent inset a bit. (not perfect)
16093 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16095 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16097 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16099 * bufferlist.C (emergencyWrite): fix assert() call
16101 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16103 * text.C (InsertChar): Added trivial patch to only send the "you
16104 can not do multiple spaces this way" message once during a
16107 2001-05-08 Baruch Even <baruch@lyx.org>
16109 * Makefile.am: Changed order of libraries to get LyX to link properly
16110 with the gnome frontend.
16112 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16114 * LaTeXFeatures.h: add a std:: qualifier
16116 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16118 * paragraph.C (String): use stringstream
16120 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16122 * paragraph.C (writeFile): remove footflag arg
16124 * buffer.C (makeLaTeXFile): use stringstream
16125 (latexParagraphs): remove footnot gurba
16127 * LaTeXFeatures.C (getPackages): use stringstream
16128 (getMacros): likewise
16129 (getTClassPreamble): likewise
16130 (getFloatDefinitions): new method
16132 * paragraph.C (writeFile): reindent
16135 * WorkArea.h: revert the xpos + etc changes.
16137 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16139 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16141 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16142 (pasteSelection): likewise
16143 * text2.C (CreateUndo): likewise
16145 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16147 * minibuffer.C (peek_event): temporarily reduce the functionality
16148 of the minibuffer (to allow args on lfuns)
16150 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16151 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16153 * buffer.C (readInset): add compability reading of old float
16154 lists, add reading of new style float list.
16155 (readInset): avoid reevaluation of inscmd.getCmdName()
16156 (getLists): reindent
16158 * MenuBackend.C (MenuItem): implement parsing of
16159 md_floatlistinsert and md_floatinsert.
16160 (expand::LastFiles): move initalizaton of iterators out of loop,
16161 avoid reevaluation.
16162 (expand::Documents): introduce typdedef vector<string> Strings,
16164 (expand::ExportFormats): introduce typedef vector<Format const *>
16165 Formats, and use it.
16166 (expand): implement FloatListInsert and FloatInsert.
16168 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16169 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16170 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16172 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16174 (Dispatch::LFUN_FLOAT_LIST): implement
16176 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16178 * LaTeX.C (run): Fix problem with --export code.
16180 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16182 * BufferView.[Ch] (workarea): removed.
16183 (getClipboard) new method; wrapper for workarea()->getClipboard()
16185 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16188 * WorkArea.h (width, height, xpos, ypos): These methods all
16189 returned the dimensions of the work_area sub-area of WorkArea,
16190 resulting in a position error if the WorkArea were resized. Now
16191 return the dimensions of the entire WorkArea.
16193 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16195 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16197 * LaTeX.C (deplog): correct the syntax of regex reg1
16199 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16201 * undo.C: remove !NEW_INSETS cruft
16203 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16205 * text2.C: remove !NEW_INSETS cruft
16207 * text.C: remove !NEW_INSETS cruft
16209 * tabular.C: remove !NEW_INSETS cruft
16211 * spellchecker.C: remove !NEW_INSETS cruft
16213 * lyxtext.h: remove !NEW_INSETS cruft
16215 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16217 * lyxfunc.C: remove !NEW_INSETS cruft
16219 * lyxfind.C: remove !NEW_INSETS cruft
16221 * lyx_cb.C: remove !NEW_INSETS cruft
16223 * figureForm.C: remove !NEW_INSETS cruft
16225 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16227 * buffer.[Ch]: remove !NEW_INSETS cruft
16229 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16231 * CutAndPaste.C: remove !NEW_INSETS cruft
16233 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16235 * BufferView2.C: remove !NEW_INSETS cruft
16237 * BufferView.h: remove !NEW_INSETS cruft
16239 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16241 * Lsstream.h: include LString.h before the sstream headers to
16242 fix problem with gcc 2.95.3 and lyxstring
16244 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16246 * lyx_main.C: add using directives when needed for C functions
16247 declared in std:: namespace.
16249 2001-04-27 Juergen Vigna <jug@sad.it>
16251 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16252 (SetHeightOfRow): comment out the update call should not be needed!
16254 2001-04-13 Juergen Vigna <jug@sad.it>
16256 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16257 (LyXTabular): tried to minimize operator= operations (and realized
16258 hopfully Lars wish).
16260 2001-04-27 Juergen Vigna <jug@sad.it>
16262 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16264 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16266 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16268 * buffer.C (readInset): hack to make listof algorithm work
16270 * BufferView_pimpl.C: hack to make listof algorithm work
16272 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16274 * LyXAction.C: removed all !NEW_INSETS cruft
16275 (init): moved lfun_item in method
16277 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16279 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16281 * BufferView2.C (theLockingInset): white space.
16283 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16285 * minibuffer.C: include <iostream>
16287 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16289 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16291 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16293 * text.[Ch] (TransposeChars): new method
16295 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16297 * call message directly through LyXView instead of through LyXFunc
16298 * BufferView2.C: adjust
16299 * BufferView_pimpl.C: adjust
16300 * FontLoader.C: adjust
16302 * bufferview_funcs.C: adjust
16303 * converter.C: adjust
16304 * figureForm.C: adjust
16305 * importer.C: adjust
16307 * lyx_gui_misc.C: adjust
16308 * lyxfunc.C: adjust
16311 + more files in subdirs
16313 * lyxparagraph.h (size): move up int file
16316 * adjust all uses of Assert to lyx::Assert.
16318 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16319 lyxfunctional in namespace lyx
16320 * layout.C (hasLayout): ditto
16323 (delete_layout): ditto
16324 (NumberOfClass): ditto
16325 * converter.C (GetFormat): ditto
16330 * bufferlist.C (getFileNames): ditto
16331 (emergencyWriteAll): ditto
16334 * MenuBackend.C (hasSubmenu): ditto
16337 * BufferView_pimpl.C (getInsetByCode): ditto
16339 2001-04-18 Juergen Vigna <jug@sad.it>
16341 * vspace.C (asLatexString): fixed the 100% problem.
16343 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16345 * lyxfunc.C (Dispatch):
16347 * minibuffer.h: add a few std:: qualifiers
16349 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16351 * minibuffer.[Ch]: reimplement so that commands is initiated and
16352 run from lyxfunc, simplified som handling, and made the completion
16353 and history code for complete. wip.
16355 * lyxfunc.C (processKeySym): call message
16356 (miniDispatch): new temporary method
16357 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16358 (LFUN_MESSAGE): implement
16359 (LFUN_MESSAGE_PUSH): implement
16360 (LFUN_MESSAGE_POP): implement
16361 (initMiniBuffer): the initial/defualt minibuffer message.
16363 * lyxfont.[Ch]: inline some more getters
16365 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16367 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16369 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16370 (AutoSave): use LFUN_MESSAGE
16371 (Reconfigure): ditto
16373 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16375 * figureForm.C: use LFUN_MESSAGE
16377 * converter.C (runLaTeX): use LFUN_MESSAGE
16379 * bufferview_funcs.C: use LFUN_MESSAGE
16381 (changeDepth): ditto
16383 * bufferparams.h: use boost::
16385 * bufferlist.h: inherit privately from noncopyable
16387 * bufferlist.C (loadLyXFile): remove some commented code.
16389 * buffer.C (runChktex): use LFUN_MESSAGE
16391 * ShareContainer.h: inherit privately from noncopyable
16393 * ParagraphParameters.[hC] (depth): inline it.
16395 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16397 (message): new method
16398 (messagePush): ditto
16399 (messagePop): ditto
16400 (show): init minibuffer
16401 (showState): direct call
16403 * LaTeX.[Ch]: inherit privately from noncopyable
16404 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16405 instead of WriteStatus.
16407 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16409 * BufferView_pimpl.C (buffer): don't init minibuffer
16410 (workAreaButtonPress): use LFUN_MESSAGE
16411 (workAreaButtonRelease): ditto
16412 (savePosition): ditto
16413 (restorePosition): ditto
16414 (MenuInsertLyXFile): ditto
16415 (workAreaExpose): don't init minibuffer
16416 (update): remove commented code, simplify
16418 * BufferView2.C (openStuff): use LFUN_MESSAGE
16419 (toggleFloat): ditto
16422 (copyEnvironment): ditto
16423 (pasteEnvironment): ditto
16428 (updateInset): remove some commented code
16430 * lastfiles.h: inherit privately from noncopyable
16433 * lyx_main.h: ditto
16435 * lyxlex_pimpl.h: ditto
16437 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16438 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16439 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16441 * LyXAction.h: inherit privately from noncopyable, add methods
16442 func_begin, func_end, returning iterators to the func map.
16444 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16445 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16446 (func_begin): new method
16447 (func_end): new method
16449 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16451 (copySelection): ditto
16452 (pasteSelection): ditto
16454 * BufferView.C: whitespace change
16455 * BufferView.h: inherit privately from noncopyable
16457 2001-04-16 Allan Rae <rae@lyx.org>
16459 * tabular-old.C (l_getline):
16460 * spellchecker.C (sc_check_word):
16461 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16462 an unrecognised preprocessor directive. So ensure they're wrapped.
16464 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16466 * src/exporter.C (Export): Give an error message when path to file
16469 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16471 * LaTeX.C (deplog): Always check that foundfile exists.
16473 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16476 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16478 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16480 * tabular.[Ch] (getLabelList): implement new method
16482 * minibuffer.h: comment ouf setTiimer
16484 * minibuffer.C (ExecutingCB): constify res
16485 (peek_event): constify s
16486 (Set): constify ntext
16487 (Init): constify nicename
16489 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16491 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16492 (savePosition): use two params to Minibuffer::Set
16493 (restorePosition): ditto
16495 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16497 * lyx_main.C: include language.h
16499 * Makefile.am (lyx_main.o): add language.h
16501 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16507 * CutAndPaste.C: include gettext.h
16509 * lyxfont.h: remove old hack with ON and OFF.
16512 * lyxfont.h: do not include language.h...
16517 * bufferview_funcs.C:
16523 * paragraph.C: ... but do it here instead
16525 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16527 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16529 * tabular.C: small reformat
16531 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16534 (BreakParagraph): ditto
16535 (SetOnlyLayout): ditto
16538 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16541 * lastfiles.C: removed most using decl, add std:: where needed
16543 * buffer.C: ws changes
16545 * MenuBackend.C (class compare_format): put into anon namespace
16546 (expand): constify label, names, action, action2
16549 * text.C (SingleWidth): constify font
16550 (IsBoundary): constify rtl2
16551 (GetVisibleRow): constify ww
16553 * LaTeX.C (deplog): constify logfile
16555 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16557 (workAreaExpose): constify widthChange, heightChange
16559 * lyxrow.C (par): moved
16562 * lyxrow.h: as inlines here
16564 * lyxfont.h (shape): moved from lyxfont.C
16565 (emph): moved from lyxfont.C
16567 * lyxfont.C (LyXFont): use initialization list for all
16569 (shape): move to lyxfont.h as inline
16570 (emph): move to lyxfont.h as inline
16573 2001-04-04 Juergen Vigna <jug@sad.it>
16575 * vspace.C: had to include stdio.h for use of sscanf
16577 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16580 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16581 independent of xforms.
16583 2001-04-02 Juergen Vigna <jug@sad.it>
16585 * spellchecker.C: fixed namespace placing!
16587 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16589 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16590 the LyXParagraph * is 0.
16592 2001-03-29 Juergen Vigna <jug@sad.it>
16594 * vspace.C: added support for %, c%, p%, l%.
16595 (stringFromUnit): added helper function.
16596 (asLatexString): changed to give right results for the %-values.
16598 * buffer.C: convert the widthp in a width%.
16600 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16602 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16605 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16606 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16608 * lyx_cb.[Ch]: see above.
16610 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16614 * lyx.[Ch]: replaced by figure_form.[Ch].
16618 * lyxfunc.C: changed headers associated with above changes.
16620 2001-03-27 Juergen Vigna <jug@sad.it>
16622 * BufferView_pimpl.C: set the temporary cursor right!
16624 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16626 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16628 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16630 * LString.h: removed "using std::getline"!
16632 * BufferView_pimpl.C (Dispatch): changes due to changes in
16633 InsetInclude::Params.
16635 * buffer.C (tag_name): removed redundant break statements as they were
16636 producing lots of warnings with my compiler.
16638 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16640 * LString.h: add "using std::getline" when using the real <string>.
16642 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16644 * buffer.C: removed bitset usage.
16645 PAR_TAG moved to an anonymous name space.
16646 (tag_name): new funtion, also in the anonymous namespace.
16647 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16648 (makeDocBookFile): clean code. Completed transition from string arrays
16650 (SimpleDocBookOnePar): code clean.
16652 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16654 * tabular.C: add some comments.
16656 2001-03-22 Juergen Vigna <jug@sad.it>
16658 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16659 compatibility read a bit and fixed bug with minipage in different
16662 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16664 * buffer.C (pop_tag): removed.
16665 (push_tag): removed.
16666 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16667 array replaced with vector. Added support for CDATA sections.
16668 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16670 (makeDocBookFile): XML conformant declaration of CDATA section,
16671 fixed bug related to <emphasis> in the first paragraph char.
16672 (sgmlOpenTag): exclude empty tags.
16673 (sgmlCloseTag): ditto.
16675 * buffer.h (pop_tag): removed.
16676 (push_tag): removed.
16678 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16680 * language.h (Languages): added size_type and size().
16682 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16684 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16685 response on compability reading of minipages. One probliem is that
16686 the old usage of minipages was «flertydig»
16688 * several files here and in subdirs: don't use static at file
16689 scope use anon namespaces instead.
16691 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16693 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16694 LaTeX output. This is necessary for Literate document
16697 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16699 * buffer.C: insert hfill when needed.
16701 * tabular.C (l_getline): use string::erase, small whitespace change.
16703 * BufferView_pimpl.C: try the anon namespace.
16704 * WorkArea.C: ditto
16706 2001-03-16 Juergen Vigna <jug@sad.it>
16708 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16709 otherwise it won't open options-dialogs.
16711 * buffer.C: honor pextraWidth(p) on converting minipages.
16713 * tabular.C (l_getline): changed the functions to strip trailing \r.
16715 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16717 * BufferView_pimpl.C:
16718 * minibuffer..C: added "using SigC::slot" declaration.
16720 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16722 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16728 * paragraph.C: ditto
16730 * lyxtext.h: NO_PEXTRA
16732 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16734 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16735 * ParameterStruct.h: ditto
16736 * ParagraphParameters.h: ditto
16737 * lyxparagraph.h: ditto
16739 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16741 * buffer.C: add compability for minipage alignment.
16742 (latexParagraphs): remove unwanted pextra check.
16744 * several files: remove CXX_WORKING_NAMESPACES
16746 * buffer.C (pop_tag): tie is in namespace boost
16748 * BufferView.h: noncopyable is in namespace boost
16750 * lyx_main.h: ditto
16753 * lastfiles.h: ditto
16754 * bufferlist.h: ditto
16755 * ShareContainer.h: ditto
16757 * LyXAction.h: ditto
16760 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16762 * Merging changes from BRANCH_MVC back into HEAD.
16764 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16766 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16768 * BufferView_pimpl.C: change from intl.C
16772 * Makefile.am: move combox.*
16778 * intl.C: remove dialog (covered by prefs)
16780 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16782 * lyxfunc.C (Dispatch): removed redundant break statement.
16784 2001-03-14 Juergen Vigna <jug@sad.it>
16786 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16788 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16790 * buffer.C: add hack to fix compability reading of minipages.
16792 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16794 * buffer.C (getLists): Cleanup.
16796 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16798 * lyxfont.C (update): don't honor toggleall on font size.
16800 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16804 * Makefile.am: moved to frontends/xforms/
16808 * BufferView_pimpl.C: changes for moved mathpanel
16810 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16812 * gettext.h: fix gettext_init() in --disable-nls
16814 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16816 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16818 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16821 * lyx.h: strip external form
16823 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16825 * BufferView_pimpl.C: add comment, destroySplash()
16827 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16829 * BufferView_pimpl.C:
16833 * lyxfunc.C: use re-worked insetinclude
16835 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16837 * buffer.C: add using std::stringstream.
16839 * lyx_cb.C: readd using std::ios.
16841 * buffer.C: add using std::map.
16843 * BufferView_pimpl.C: add using std::vector.
16845 * ShareContainer.h: add std:: to swap.
16847 * buffer.h: add some typedefs
16848 * buffer.C (getLists): use them
16849 (getLists): renamed from getTocList.
16850 add a counter for the different float types and use it in the
16852 (getLists): use the same counter for the NEW_INSETS and the "non"
16855 * lyx_cb.h: remove unused items, includes, using etc.
16857 * ShareContainer.h: remove some commented code, add more comments
16858 and "documentation".
16860 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16862 * buffer.C (getTocList): make the list also when NEW_INSETS is
16865 * buffer.h: remove TocType
16867 * buffer.C (getTocList): change to return a map<string,
16868 vector<TocItem> >, implement for dynamic number of list.
16870 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16871 * text2.C (PasteSelection): adjust
16872 * CutAndPaste.C (pasteSelection): adjust
16874 * FloatList.C (FloatList): update from the new_insets branch.
16875 * Floating.[Ch]: ditto
16876 * LaTeXFeatures.C: ditto
16878 * lyxlex_pimpl.C: ditto
16880 * paragraph.C (Last): remove when NEW_INSETS is defined.
16882 * other file: changes because of the above.
16884 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16886 * lyxparagraph.h: rename next to next_, previous to previous_,
16887 make them private for NEW_INSETS. Rename Next() to next(),
16888 Previous() to previous().
16890 * other files: changes because of the above.
16892 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16895 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16898 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16900 * main.C (main): pass lyx_localedir to gettext_init().
16902 * gettext.h: remove locale_init and gettext_init macros
16904 * gettext.C (locale_init): new function
16905 (gettext_init): new function
16907 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16910 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16912 * Moved credits to frontends:
16913 * credits.[Ch]: removed
16914 * credits_form.[Ch]: removed
16915 * lyx_gui_misc.C: remove credits stuff
16918 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16920 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16922 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16923 unneeded destructor.
16925 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16926 a standalone pointer again.
16928 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16930 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16936 * ToolbarDefaults.C:
16945 * BufferView_pimpl.C: use new file dialog in GUII
16948 * lyx_cb.C: remove LayoutsCB to Toolbar
16950 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16952 * ShareContainer.h (get): add std:: qualifier
16954 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16956 * ShareContainer.h: define a proper ShareContainer::value_type
16957 type (and use typename to please compaq cxx)
16959 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16961 * lyxparagraph.h: move serveral local vars to
16962 ParameterStruct/ParagraphParameters., use ShareContainer in
16963 FontTable., make vars in FontTable private and add getter and
16966 * paragraph.C: changes because of the above.
16968 * lyxfont.h: remove copy constructor and copy assignment. (the
16969 default ones is ok), move number inside FontBits. move inlines to
16972 * lyxfont.C: add number to initializaton of statics, move several
16973 inlines here. constify several local vars. some whitespace
16974 cleanup. Dont hide outerscope variables.
16976 * Spacing.h: add two new constructors to match the set methods.
16978 * ShareContainer.h: new file, will perhaps be moved to support
16980 * ParameterStruct.h: new file
16982 * ParagraphParameters.h: new file
16984 * ParagraphParameters.C: new file
16986 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16987 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16989 * BufferView_pimpl.C: ParagraphParameter changes.
16990 * buffer.C: Likewise.
16991 * bufferview_funcs.C: Likewise.
16992 * text.C: Likewise.
16993 * text2.C: Likewise.
16995 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16997 * lyxfind.C (LyXReplace): do not redefine default argument in
16999 (IsStringInText): ditto
17000 (SearchForward): ditto
17001 (SearchBackward): ditto
17003 2001-03-06 Juergen Vigna <jug@sad.it>
17005 * lyxfind.C (IsStringInText): put parentes around expressions.
17007 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17009 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17011 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17013 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17015 * stl_string_fwd.h: add comment
17017 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17020 * tabular.C: remove unused DocBook methods
17026 killed DO_USE_DEFAULT_LANGUAGE
17028 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17030 * lyx_gui.C: do not include language.h.
17032 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17033 arguments in function implementation.
17035 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17037 * BufferView_pimpl.C: add <ctime>
17039 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17041 * BufferView_pimpl.C: add using std::find_if
17043 2001-02-27 José Matos <jamatos@fep.up.pt>
17045 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17048 2001-02-11 José Matos <jamatos@fep.up.pt>
17050 * buffer.C (makeDocBookFile): command styles now have a parameter as
17051 "title" by default.
17053 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17055 * layout_forms.[Ch]: removed
17056 * lyx_cb.[Ch]: out character
17057 * lyx_gui.C: out character
17058 * lyx_gui_misc.C: out character
17059 * bufferview_funcs.C: : out character,
17060 added toggleall as parameter in ToggleAndShow
17062 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17064 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17066 * text2.C (SetCurrentFont): Disable number property at boundary.
17068 2001-02-26 Juergen Vigna <jug@sad.it>
17070 * lyxfunc.C (getStatus): added a string argument override function so
17071 that this is correctly called from LyXFunc::Dispatch if it contains a
17072 do_not_use_argument which is used!
17073 (Dispatch): added check for "custom" export and call appropriate func.
17075 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17077 * lyxrc.C: Add language_command_local, language_use_babel and
17078 language_global_options.
17080 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17082 * buffer.C (makeLaTeXFile): Use language_use_babel and
17083 language_global_options.
17085 2001-02-23 Juergen Vigna <jug@sad.it>
17087 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17088 which works with LyXText and putted it inside BufferView. Here now we
17089 only call for that part the BufferView::Dispatch() function.
17091 * BufferView.C (Dispatch): added.
17093 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17094 functions which needs to use a LyXText over from LyXFunc.
17095 (MenuInsertLyXFile): added
17096 (getInsetByCode): added
17097 (moveCursorUpdate): added
17098 (static TEXT): added
17100 2001-02-22 Juergen Vigna <jug@sad.it>
17102 * BufferView_pimpl.C (update): call a status update to see if LyXText
17105 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17107 * vc-backend.C (revert): implement for CVS
17108 (getLog): implement for CVS
17110 2001-02-20 Juergen Vigna <jug@sad.it>
17112 * text2.C (ClearSelection): added BufferView param for inset_owner call
17114 * lyxfunc.C (TEXT): added this function and use it instead of
17115 directly owner->view()-text of getLyXText().
17117 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17119 * src/layout_forms.C: out preamble
17120 * src/layout_forms.h: out preamble
17121 * src/lyx_cb.C: out preamble
17122 * src/lyx_cb.h: out preamble
17123 * src/lyx_gui.C: out preamble
17124 * src/lyx_gui_misc.C: out preamble
17125 * src/lyxfunc.C: connect with guii preamble
17127 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17129 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17131 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17133 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17134 whether to run bibtex.
17136 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17138 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17140 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17142 * Makefile.am (lyx_SOURCES): removed bibforms.h
17144 * vspace.h: doxygen
17146 * text.C (GetVisibleRow): make several local vars const
17148 * tabular.C: small cleanup.
17150 * lyxserver.C (callback): use compare instead of strncmp
17152 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17153 inlines to after class or to paragraph.C
17155 * lyxfont.h: remove friend operator!=
17157 * converter.h: move friend bool operator< to non friend and after
17160 * combox.h: small cleanup
17162 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17163 to inlines after class def.
17165 * buffer.C (pop_tag): use string operations instead of strcmp
17167 * bmtable.c: doxygen, small cleanup
17169 * LaTeX.h: remove friend operator==
17171 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17183 * BufferView_pimpl.C:
17184 * BufferView.[Ch]: remove cruft
17186 2001-02-14 Juergen Vigna <jug@sad.it>
17188 * lyxfunc.C: removed #if 0 unused code
17190 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17192 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17194 * text2.C (SetSelection): added a BufferView * parameter
17196 2001-02-13 Juergen Vigna <jug@sad.it>
17198 * lyxfunc.C (Dispatch): fixed protected blank problem.
17199 * BufferView2.C (protectedBlank): added LyxText * parameter.
17201 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17202 (AppendColumn): same as above for column_info.
17204 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17205 (moveCursorUpdate): use a LyXText param for support of InsetText.
17207 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17208 (tripleClick): ditto
17210 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17212 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17214 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17216 * text2.C (SetSelection): set correct update status if inset_owner
17217 (ToggleFree): ditto
17219 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17221 * tabular.C: remove some commented code.
17223 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17225 * BufferView_pimpl.C: call hideSplash()
17227 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17230 * bibforms.h: remove
17233 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17234 add LFUN_CHILD_CREATE
17236 * counters.h: fix tiny typo
17241 * lyx.C: move splash to frontends/xforms/
17243 * lyx_gui_misc.C: move Include and Bibform to frontends
17245 * lyxvc.h: clarify comment
17247 * vspace.C: tiny housekeeping
17249 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17251 * text.C (PrepareToPrint): RTL Fix.
17253 * paragraph.C (GetUChar): New method.
17254 (String): Use GetUChar.
17256 * buffer.C (asciiParagraph): Use GetUChar.
17258 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17260 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17262 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17265 * buffer.C: rename to getLogName(), handle
17266 build log / latex log nicely
17268 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17271 * MenuBackend.h: remove support for reference menuitem type.
17273 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17275 * BufferView_pimpl.C: housekeeping
17276 * BufferView_pimpl.h:
17281 * minibuffer.h: move Timeout GUI-I
17283 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17285 * lyxrc.C (read): Update converters data-structures.
17287 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17289 * LaTeX.h (operator!=): add operator != for Aux_Info
17291 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17293 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17295 * LaTeXLog.C: deleted, useful code moved to Buffer
17298 * buffer.C: new function getLatexLogName()
17304 * lyxfunc.C: use frontends for LaTeX and VC logs
17306 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17308 * LaTeX.h: yet another std:: that Allan forgot.
17310 * Variables.C (set): renamed from isset(), because this clashes
17311 with some HP-UX macros (grr).
17313 2001-02-06 Allan Rae <rae@lyx.org>
17315 * LaTeX.h: Another bug fix. Missing std:: this time.
17317 2001-02-04 Allan Rae <rae@lyx.org>
17319 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17320 floats problem. I've left it commented out because it's not quite
17321 correct. It should also test that the current object is a table or
17322 figure inset. But I haven't gotten around to figuring out how to do
17323 that. I *think* it'll be something like: "table" == inset.type()
17325 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17328 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17330 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17331 all the citation/databases/styles in the auxilary file.
17332 (run): Rerun latex if there was a babel language error.
17334 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17336 * text.C (Backspace): Preserve the font when changing newline char
17338 (BreakParagraph): If the cursor is before a space, delete the space.
17340 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17342 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17344 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17345 new argument (code).
17346 (ChangeCitationsIfUnique): New method.
17348 * paragraph.C (GetPositionOfInset): Handle bibkey.
17350 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17352 * BufferView_pimpl.h: change type of Position::par_pos to
17353 LyXParagraph::size_type.
17355 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17357 * BufferView_pimpl.C (savePosition, restorePosition): Write
17358 messages to minibuffer.
17360 2001-01-28 José Matos <jamatos@fep.up.pt>
17362 * buffer.C (makeDocBookFile): adds support for document language.
17363 A silly restriction on the name of LatexCommand types where removed.
17364 Added support for CDATA sections, allows to chars unescaped, used
17365 among others in code, to avoid escape < and >.
17367 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17369 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17370 saved positions instrad of a stack. Furthermore, a position is
17371 stored using paragraph id/paragraph position.
17373 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17374 Remove LFUN_REF_BACK.
17376 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17378 * converter.C (dvipdfm_options): New method.
17380 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17382 * vspace.C (isValidLength): Fix for empty input string.
17384 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17386 * LyXAction.C (init): change description of LFUN_FIGURE to
17389 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17391 * LaTeX.C: add using directive
17393 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17395 * MenuBackend.C (expand): Fix the sorting of the formats.
17397 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17399 * lyx_main.C: tiny error message fix
17401 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17403 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17404 calling fl_initialize(). This fixes the problem with ',' as
17405 decimal separator in text files.
17407 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17409 * trans.C (process): Fix the keymap bug.
17411 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17413 * LaTeX.C (scanAuxFiles): New method. Provides support for
17414 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17415 (scanLogFile) Scan for "run BibTeX" messages.
17417 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17418 OT1 font encoding. Also, load the aecompl package if the ae
17421 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17423 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17425 * texrow.C (increasePos): turn two error messages into debug
17428 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17430 * LaTeX.C (scanAux): Handle the \@input macro.
17431 (runBibTeX): Use scanAux().
17433 * language.C (latex_options_): New field.
17435 * LaTeXFeatures.C (getMacros): Add language macros.
17437 * buffer.C (makeLaTeXFile): Small fix.
17439 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17441 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17443 * text2.C: add a using directive.
17445 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17450 * lyxfunc.C: kill LyXBell.
17452 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17454 * text.C (IsBoundary): Remove the error message
17456 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17458 * lyxrc.C (setDefaults): Correct initialization value for
17461 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17463 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17466 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17467 and GotoNextNote().
17469 * src/LyXAction.C: Added reference-next.
17471 * text.C (InsertChar): Use contains instead of strchr.
17473 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17475 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17477 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17478 alignment commands (when needed).
17480 * text.C (InsertChar): Add ':' to number separator chars.