1 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
3 * text2.C: fix for stuck cursor when traversing two
4 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
6 2005-02-25 Andreas Vox <avox@arcor.de>
8 * output_docbook.C (makeParagraph): suppress trailing newline
9 after a run of paragraphs
11 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
13 * paragraph.C: fix for confused change tracker when pasting
14 text that begins with a lineseparator. [bug 1827]
15 (setChange(0, Change::INSERTED);)
17 * paragraph_funcs.C: fix for lost changes on triple-paste
18 in change tracking mode [bug 1827] (par.setChange()).
20 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
22 * text2.C (updateCounters, setCounter, expandLabel): move to
25 * buffer_funcs.C (updateCounters): turn into a free standing
26 function and add a buffer parameter. Remove dead code for tracking
28 (setCounter): change into a free-standing function which gets a
29 dociterator as argument. Use this iterator to fix captions in a
30 simple way. When no float is found above the caption, use the
31 labelstring of the caption layout as default.
33 * text.C (breakParagraph, backspace):
34 * text2.C (init, setLayout, changeDepth):
36 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
39 * dociterator.C (forwardPar): make it much faster by calling
40 forwardPos() only when really necessary.
42 * output_docbook.C (makeCommand): adapt to expandLabel move.
44 * cursor.C: remove unused variable
46 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
48 * paragraph_funcs.C: fix crash when pasting insets in change
49 tracking mode [bug 1277] (honour change type in moveItem).
51 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
55 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
57 * BufferView.C (setCursor): change to use a DocIterator.
58 (gotoLabel): use BufferView::setCursor (other part of bug 781).
59 (putSelectionAt): adapt to BufferView::setCursor change.
61 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
62 moved here from LyXText and rewritten to use proper cursor
63 methods. Fixes bug 1787, 616 and 835.
65 * BufferView_pimpl.C (restorePosition): set the cursor correctly
66 when inside an inset (part of bug 781).
67 (dispatch): adapt to change of BufferView::setCursor.
68 (getStatus, dispatch): handle LFUN_GOTOERROR,
69 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
71 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
72 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
73 * text3.C (gotoNextInset, gotoInset): removed.
75 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
79 2005-02-15 Angus Leeming <leeming@lyx.org>
81 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
82 can be used meaningfully in a comparison.
84 2005-02-13 André Pönitz <poenitz@gmx.net>
86 * bufferview_funcs.C (coordOffset): improve cursor drawing
88 2005-02-13 André Pönitz <poenitz@gmx.net>
90 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
91 * Cursor.C (dispatch): use fixIfBroken
92 * lyxfunc.C (getStatus): use fixIfBroken
94 2005-02-15 Angus Leeming <leeming@lyx.org>
96 * lyx_main.C (error_handler):
98 * lyxrc.C (setDefaults):
100 #include "environment.h".
102 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
104 2005-02-15 Angus Leeming <leeming@lyx.org>
106 * lyxserver.C (startPipe): squash MSVC warning "local variable
107 'fd' used without having been initialized".
109 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
111 * BufferView_pimpl.C: revert accidental commit.
113 2005-02-14 André Pönitz <poenitz@gmx.net>
115 * dociterator.[Ch]: new member forwardPosNoDescent(),
116 which doesn't enter nested insets.
117 * text2.C (setFont): use forwardPosNoDescent() instead
118 of ForwardPos() (fixes crash on font change).
120 2005-02-13 Angus Leeming <leeming@lyx.org>
122 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
123 only if lyxrc.path_prefix is not empty.
125 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
127 * bufferparams.C (readGraphicsDriver): prevent crash
129 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
131 * text2.C (setCounter): check for inInset() == 0
133 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
136 but use update() to get correct screen display; use convert
137 instead of istringstream.
138 (getStatus): handle LFUN_GOTO_PARAGRAPH
140 * lyxfunc.C (dispatch, getStatus): do not handle
141 LFUN_GOTO_PARAGRAPH here.
143 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
145 * text3.C (dispatch): size() -> depth()
147 * text2.C: remove some debug output
149 * paragraph.C: ws changes only
151 * lyxfunc.C (getStatus): size() -> depth()
153 * dociterator.h (clear, push_back, pop_back, internalData,
154 operator[], resize, empty): new functions
155 Make StableDocIterator and operator== be friends. Don't inherit
156 from std::vector use a privat class variable slices_ instead.
159 * dociterator.C: update because of not inheriting from std::vector
160 anymore. Call explictly to slices_ instead. Use depth() instead of
161 size() and top() instead of back()
163 * cursor.C: chagne size() -> depth and back() -> top(). Also
164 remove some direct operator[](i) calls in favour of foo[i]
165 (getFont): remove some dead code
167 * bufferview_funcs.C (coordOffset): size() -> depth()
169 * buffer.C: ws changes only
171 * CutAndPaste.C (eraseSelection): back() -> top()
173 * BufferView_pimpl.C (selectionRequested): back() -> top()
175 * BufferView.C (setCursor): size() -> depth()
177 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
179 * text3.C (cursorPrevious): return true if depm changed something
181 (dispatch): rename sl to oldTopSlice, remove moving use the new
182 NoUpdate func attrib instead. Make sure that needsUpdate is set
183 for function that have NoUpdate, but where depm might have changed
186 * text2.C (cursorLeft): make us return true if depm changed
189 (cursorUpParagraph): ditto
190 (curosrDownParagraph): ditto
191 (cursorUp, cursorDown): ditto, make sure to read comments in code
192 (deleteEmptyParagraphMechanism): remove an assert, also return
193 true if just a single char was deleted.
195 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
196 cursor that we modify, to avoid modifying an active cursor before
197 we call setCursor. This allows depm to run. Also return true if
198 depm deleted something.
200 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
201 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
202 cursorDownParagraph, cursorPrevious and cursorNext, return true if
203 something was changed in the buffer because of them (ie. depm run)
205 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
206 debug messages. Make update by default be false. Make sure that
207 the result of update is retained throught several calls down to
210 * LyXAction.h: add a new func_attrib: NoUpdate
212 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
213 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
214 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
216 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
218 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
221 bv_->owner(), bv_->buffer() by direct references to the private
223 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
224 (getStatus): isSavedPosition() is in BufferView::Pimpl.
225 (fitCursor): center() is in BufferView::Pimpl.
226 (getStatus, trackChanges, dispatch): no need for a temporary buf
228 (fitCursor, workAreaDispatch): use workarea().workheight()
230 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
232 * CutAndPaste.C (pasteSelectionHelper): fix a crash
234 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
236 * buffer.C: format up to 241.
237 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
238 break if pasting into ERT
239 * lyxfunc.C (getStatus): suppress mathpanel and
240 LFUN_DIALOG_SHOW_NEW_INSET in ERT
242 2005-02-01 Angus Leeming <leeming@lyx.org>
244 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
246 2005-02-01 Angus Leeming <leeming@lyx.org>
248 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
249 calling fs::is_directory().
251 2005-01-31 Angus Leeming <leeming@lyx.org>
253 * lyx_main.C (priv_exec): specify explicitly the relative location
254 of the top level build directory when run in-place.
256 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
259 LyXText containing the cursor, not the top-level one.
261 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
263 (insertStringAsLines): rename par to pit; use temporary variable
264 par to hold a Paragraph; do not store par.layout() in a variable,
265 since the pointer may die when breaking paragraphs; pass pars to
266 breakParagraph() instead of Buffer::paragraphs().
268 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
270 * lyxlex_pimpl.h: #include <fstream>.
272 * BufferView.[Ch] (getLyXText): add a const version.
274 * BufferView_pimpl.C: add debug aids.
279 * paragraph_funcs.h: add commentary explaining what the class does.
282 * coordcache.[Ch]: add lots of commentary.
283 (startUpdating, doneUpdating): debug aids.
284 (arrays, insets, parPos, getParPos): accessors to private data.
286 * cursor_slice.[Ch] (text): add a const version.
287 * dociterator.[Ch] (text, innerText): add const versions.
289 * lyxtext.h (breakParagraph): change the keep_layout arg to a
292 * paragraph.C (getRow, pos2ros): add asserts.
294 * paragraph.h: add commentary. Lots of.
296 * paragraph.[Ch] (metrucs, draw): removed.
299 * rowpainter.[Ch]: const-correct changes.
301 * text.C: various obvious clean-ups. Removal of ancient cruft.
304 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
306 * vc-backend.C (find_file): rewrite to use boost.filesystem
309 * main.C (main): set default name check for boost.filesystem to
312 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
315 (actOnUpdatedPrefs): ditto
317 * lyx_main.C (init): rewrite to use boost.filesystem
318 (queryUserLyXDir): ditto
320 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
321 (getContentsOfAsciiFile): ditto
323 * lastfiles.C (readFile): rewrite to use boost.filesystem
325 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
327 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
330 * buffer.C (Buffer): adjust for destroydir
331 (getLogName): rewrite to use boost.filesystem
333 (save): use fs::copy_file (from fs_extras)
335 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
337 * LaTeX.C (run): rewrite to use boost.filesystem
338 (scanAuxFiles): ditto
339 (handleFoundFile): ditto
341 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
343 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
345 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
347 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
349 * lyxlayout.[Ch]: change some vars from float to double
351 * buffer.C (readFile): make a local var const
353 * Several files: use convert<> instead of atoi,strToXXX and friends
355 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
357 * LaTeXFeatures.[Ch]: Add a static list packages_ that
358 holds the contents of packages.lst. New functions getAvailable
359 and isAvailable to parse and check that list, resp.
363 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
365 * bufferparams.[Ch]: new param output_changes.
367 * Buffer.C: increase file format to 240.
368 Use output_changes and isVailable.
372 * paragraph_pimpl.C: Use output_changes and isVailable.
374 2005-01-23 Angus Leeming <leeming@lyx.org>
376 * output_latex.C: #include "insetbibitem.h", rather than
377 forward declare function bibitemWidest.
379 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
381 * lyx_main.C (init): make it compile on the Mac.
383 2005-01-20 Angus Leeming <leeming@lyx.org>
385 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
386 (setLyXMisc): (char string literal) != (char string literal) is
387 performing a comparison on the addresses. Convert one operand
388 explicitly to string to guarantee expected behaviour.
391 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
394 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
396 * output_plaintext.C: remove unneeded #include gzstream.h.
398 2005-01-20 Angus Leeming <leeming@lyx.org>
400 * SpellBase.h: rename some of the elements of the Result enum.
407 * pspell.C (check): ditto
409 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
411 * buffer.C: add #include <fstream>.
413 * lyx_main.C (init): Compile fix.
415 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
417 2005-01-20 Angus Leeming <leeming@lyx.org>
419 * mover.h: change commentary to reflect the changed meaning of
422 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
424 * output_linuxdoc.C (linuxdocParagraphs): silence warning
426 * lyxfind.C (MatchString::operator()): remove bogus semicolon
428 2005-01-20 Angus Leeming <leeming@lyx.org>
430 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
431 printing diagnostic data by not dereferecing an iterator past the
434 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
436 * buffer.C (readHeader): use "&&" rather than "and".
438 * lyxserver.h (inPipeName, outPipeName): make these const.
440 2005-01-19 Angus Leeming <leeming@lyx.org>
442 * lyx_main.C (error_handler, init): protect SIGHUP with
443 #ifdef SIGHUP guards.
445 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
447 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
449 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
451 * text.C (setHeightOfRow): add a margin at the top and bottom of
452 the document (bug 1761)
454 2005-01-17 Angus Leeming <leeming@lyx.org>
456 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
457 with "python ". Workaround for a brain-dead Windows.
459 2005-01-16 Angus Leeming <leeming@lyx.org>
461 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
462 for MacOSX and Windows to use prependEnvPath.
463 Strip out the hard-coded block to add elements to the PATH for
464 MacOSX and replace it with a call to prependEnvPath using the
465 contents of LyXRC::path_prefix.
466 (queryUserLyXDir): strip out the code to run reconfigure, instead
467 returning a boolean indicating the necessity to do so.
468 (reconfigureUserLyXDir): contains the code to reconfigure the
469 user support directory. Is now called after the various LyXRC data
470 files have been read.
472 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
474 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
476 * converter.[Ch] (convert): take a new parameter try_default. Use
477 a default converter (imagemagick) if try_default is true.
479 2005-01-13 Angus Leeming <leeming@lyx.org>
481 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
483 (write): output LyXRC::cygwin_path_fix as necessary.
485 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
488 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
490 2005-01-12 Angus Leeming <leeming@lyx.org>
492 * lyx_main.C (init): set the PATH variable to include the
493 directory containing the LyX binary when running on Mac or Windows.
495 2005-01-12 Angus Leeming <leeming@lyx.org>
497 * lyx_main.C (init): remove cruft that purports to set the locale
498 dir. It doesn't and is not needed anyway.
500 2005-01-10 Angus Leeming <leeming@lyx.org>
502 * Makefile.am: remove the lyx_main.C special casing.
504 * BufferView_pimpl.C:
510 * messages.C: use support/package.h to provide the paths to the
511 various directories used by LyX.
513 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
515 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
516 layout if pasting into an empty paragraph)
518 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
520 * tex-accent.C: add <string>
522 2005-01-06 José Matos <jamatos@lyx.org>
524 * ParagraphParameters.C (write): put every parameter in its own line.
525 * paragraph.C (write): reduce number of consecutive empty lines exported.
526 * buffer.C (LYX_FORMAT): increase file format to 239.
528 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
530 * everywhere: change support/tostr.h -> support/convert.h
532 * tabular.C: make all write_attributes templates, tostr -> convert
534 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
535 (emptyTag): and -> &&, and fix type for ret from getChar
536 (getFirstWord): fix type for ret from getChar
537 (onlyText): and -> &&
538 (simpleDocBookOnePar): and not -> && !, fix type for ret from
541 * toc.C (goTo, action):
542 * text3.C (dispatch):
543 * text.C (currentState):
544 * tex-accent.C (DoAccent):
547 * lyxfunc.C (menuNew):
548 * lyxfinc.C (replace):
549 * counters.C (laberItem):
550 * bufferview_funcs.C (font2string):
551 * bufferparams.C (writeFile):
552 * buffer.C (readFile):
554 * MenuBackend.C: tostr -> convert
556 * LaTeX.C (runMessage): fix format
557 (scanAuxFiles): tostr -> convert
559 * BufferView_pimpl.C (savePosition): fix format
560 (restorePosition): ditto
563 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
565 * Spacing.[Ch]: New method getValueAsString().
569 * ParagraphParameters.C:
572 * text3.C: store/read spacing value as string.
574 * rowpainter.C: change float value (spacing_val) to double.
576 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
577 broken custom document spacing).
579 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
581 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
582 namespace, also more use of temp references and const
584 * cursor.[Ch] (getStatus): move to lyxfunc.C
586 * bufferparams.C: reformat slightly
588 * bufferview_funcs.C (font2string): constify arg
594 * buffer_funcs.C: (many funcs): constify arg on function
595 definitions, also make more local vars const, also add ASSERTS on
598 * buffer.C (LYX_FORMAT): put const in correct place
599 (many funcs): constify arg on function definitions, also make
600 more local vars const
602 * aspell_local.h: remove "struct" from typdef setup
604 * aspell.C (check): make word_ok const
605 (nextMiss): simplify slightly
608 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
610 * lyxrc.[Ch]: store all float values as strings.
611 use int (not float) for lyxrc.dpi.
613 2005-01-04 Angus Leeming <leeming@lyx.org>
615 * lyx_cb.C (Reconfigure):
616 * lyx_main.C (queryUserLyXDir):
617 to run the <system_lyxdir>/configure correctly on Windows, prefix
618 the path to the script with "sh " when generating the string that
619 is passed to system().
621 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
623 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
625 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
627 * lyxlength.C (asLatexString): get rid of setprecision
629 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
631 * text2.C (setLayout): remove unused variable endpit.
632 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
634 * paragraph.C (onlyText): remove unused variable style.
636 * cursor.C (bruteFind): remove unused variables beg and end.
638 * Makefile.am (dist_noinset_DATA): not needed anymore
640 * cheaders/*: remove.
642 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
644 * text3.C: fix LFUN_MATH_MODE.
646 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
648 * buffer_funcs.C (countWords): new function. Counts words between
651 * BufferView_pimpl.C (getStatus, dispatch): handle
654 * LyXAction.C (init):
655 * lfuns.h: add LFUN_WORDS_COUNT.
657 2004-12-19 Angus Leeming <leeming@lyx.org>
659 * buffer.C (save): s/slashify_path/internal_path/.
661 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
663 * lyxfind.C (findChange): do not search for end of pars, because
664 the change tracker cannot handle this (fixes bug 1719).
666 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
668 * paragraph.[Ch] (autoBreakRows): remove
670 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
672 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
673 avoid using the paragraph one
675 * text2.C (LyXText, insertStringAsLines): adjust
677 2004-12-16 Angus Leeming <leeming@lyx.org>
681 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
683 2004-12-14 Angus Leeming <leeming@lyx.org>
685 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
687 * bufferlist.C (emergencyWrite):
688 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
691 2004-12-14 Angus Leeming <leeming@lyx.org>
693 * main.C: (main): no longer pass pointers to os::init.
695 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
697 * undo.C (textUndoOrRedo): simplify logic, fix a crash
698 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
700 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
703 * text3.C: remove selection_possible global flag
705 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
707 * text2.C (getSelectionSpan): remove
708 (changeDepth, changeDepthAllowed): adjust
710 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
712 * Makefile.am (BOOST_LIBS): use boost variables
714 2004-12-03 José Matos <jamatos@lyx.org>
716 * buffer.C: format up to 238.
718 2004-12-03 José Matos <jamatos@lyx.org>
720 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
722 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
724 * cursor.C (goUpDown): remove call to idxUpDown2
726 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
728 * tabular.[Ch]: use size_t-like types for cell, row and column
731 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
733 * lyxfunc.C (getStatus): do not lose previous information when
734 calling BufferView::getStatus; do not set a default "Command
735 disabled" message at the beginning, but just before returning.
737 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
739 * cursor.h (getStatus): add better comment from src/cursor.C
741 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * text3.C (getStatus): return false when the lfun is not handled
745 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
747 * broken_headers.h: remove
749 * Makefile.am (lyx_SOURCES): remove broken_headers.h
751 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
753 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
756 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
757 top_y_, merge fitcursor with update
758 (updateScrollbar, scrollDocView, fitCursor, center, update): new
761 (workAreaDispatch): adapt to new coord scheme
762 (redoCurrentBuffer): remove
764 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
766 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
769 * coordcache.[Ch]: add paragraph cache and helpers
771 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
774 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
775 (targetX, setTargetX): introduce
777 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
778 baseline -> ascent, as the rest of lyx
780 * lyxtext.h: remove redoParagraphs, updateParPositions,
781 fullRebreak, redoParagraphInternal. move dist to anon namespace in
782 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
783 have ascent/descent (ascent is ascent of first par)
785 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
788 * paragraph.[Ch]: unify dimension handling with the rest of lyx
790 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
792 * pariterator.C: fix infinite loop introduced in par->pit renaming
794 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
795 in insets and LyXText, draw two off-screen paragraphs using
796 NullPainter, and adapt to new coord scheme
800 * text3.C: adapt lfun handlers to the new coord scheme, which
801 means: there's only guaranteed coord information for onscreen pars
802 plus one above and one below. This implies that one can do search
803 from y coordinates in the range [-1,workHeight]
805 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
807 * rename a lot of InsetOld to InsetBase
809 2004-11-25 Angus Leeming <leeming@lyx.org>
811 * BufferView_pimpl.C:
813 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
815 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
817 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
818 call BufferView::getStatus if LCursor::getStatus did nothing
819 (setStatusMessage, getStatusMessage): removed.
821 * FuncStatus.C (message): new methods. Used to provide an error
822 message indicating why a command is disabled.
823 (clear, |=, FuncStatus): update for message.
825 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
827 * lyxfunc.C (dispatch): always call sendDispatchMessage
829 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
832 * BufferView_pimpl.C:
846 * undo.C: par->pit renaming
848 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
850 * tabular.C (cellstruct): use initialization, store a shared_ptr
851 to insettext instead of the insettext directly, adjust to fit.
852 (operator=): new function
854 (rowstruct): use initialization
855 (columnstruct): use initialization
856 (ltType): use initialization
859 * lyxlength.h (swap): new function
861 * LColor.[Ch] (operator=): use the common semantics
863 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
865 * lyxfind.C (findNextChange): update the bufferview after setting
868 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
870 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
871 number of InsetOptArgs has already been inserted.
873 * output_latex.C (latexOptArgInsets): new method. This outputs all
874 the optarg insets, up to the limit defined in the layout file.
875 (optArgInset): removed
876 (TeXOnePar): call latexOptArgInsets; correctly update texrow
878 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
880 * paragraph.C (isLetter): remove special spellchecker-related
881 code; return true also for digits
882 (isWord, isKomma): remove
884 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
885 * lyxfind.C (MatchString()): use isLetter instead of isWord
887 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
889 * pariterator.h (operatir=): comment out un-implemented member
892 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
895 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
897 * lyxfont.h: include LColor.h to satisfy concept checks.
899 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
901 * pariterator.h: add typdefs for value_type, difference_type,
902 pointer and reference to satisfy concept checks. Also add default
903 constructor for same reason.
905 * pariterator.C (operator++): add post-increment operator to
906 satisfy concept checks.
908 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
911 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
913 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
914 checks. Also rename base_type to BaseType to follow naming
917 * FloatList.h: include Floating.h to satisfy concept checks.
919 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
921 * lyxfunc.C (getStatus): when the origin of the request is menu or
922 toolbar, and the LyXView does not have focus, do as if there was
925 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
926 FuncRequest to individual entries of LFUN_SEQUENCE
928 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * output_latex.C (TeXOnePar): override runparams.moving_arg
931 according to the needprotect value of the current paragraph (bug
934 * paragraph.C (simpleTeXOnePar): no need to override
935 runparams.moving_args here
937 2004-11-14 John Spray <spray_john@users.sourceforge.net>
939 * vspace.C: fix off-by-one-error, related to fix #1682
941 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
943 * lengthcommon.C: a more general fix for bug 1682
945 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
947 * text.C (backspace): fix crash
949 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
951 * format.[Ch] (getFormatFromFile): new method
952 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
954 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
956 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
958 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
960 * lyxfunc.C (dispatch): remove the verbose argument
961 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
964 * kbmap.C (defkey): set the origin of func to KEYBOARD
966 * MenuBackend.C (MenuItem):
967 * ToolbarBackend.C (add): set the origin of func to UI
969 * funcrequest.[Ch]: add origin member, which indicates which part
970 of LyX requests an action
972 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
974 * converter.C (move): don't lie in the error message
975 * converter.h (isReachable, move): document
977 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
979 * buffer.C: remove unused using lyx::support::atoi
980 * paragraph_funcs.C: ditto
982 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
984 * bufferlist.C (exists): use bind and equal_to instead of
987 * lyxtextclasslist.C (NumberOfClass): ditto
989 * cursor.C (insert): use for_each instead of explicit for loop
991 * bufferlist.C (getFileNames): use std::transform and
992 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
994 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
997 * buffer.C (changeLanguage): use for_each instead of explicit for
999 (hasParWithID): implement using getParFromID
1001 * LaTeXFeatures.C: ws change only
1003 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1006 * BufferView_pimpl.C (trackChanges): use for_each instead of
1009 2004-11-04 André Pönitz <poenitz@gmx.net>
1012 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1014 * dociterator.C (asDocIterator): use hard assert again.
1016 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1018 * lyxlength.C (asLatexString): rewrite so that it does not use
1021 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1023 * text3.C (specialChar, dispatch): make sure cursor moves to the
1024 right after inserting an inset
1026 2004-11-02 José Matos <jamatos@lyx.org>
1028 * output_docbook.C (docbook):
1029 * paragraph.C (getID):
1030 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1031 garantee that the output is always legal.
1033 * tabular.C (docbook):
1034 * outputprams.[Ch]: remove mixed contents.
1036 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1038 * text2.C (setCounter): prevent endless loop
1040 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1042 * exporter.C (copyFile): use the mover instead of support::copy()
1043 * exporter.C (Export): pass format and latex name to copyFile()
1044 * exporter.h (addExternalFile): document
1045 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1047 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1049 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1051 2004-10-30 José Matos <jamatos@lyx.org>
1053 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1054 text and no inset or font change. This allows to use CDATA
1055 sections just for the whole paragraph.
1057 2004-10-30 José Matos <jamatos@lyx.org>
1059 * paragraph.C (getFirstWord): remove unused variable.
1061 2004-10-30 José Matos <jamatos@lyx.org>
1063 * paragraph.C (getFirstWord): the content should always be escaped
1065 (simpleDocBookOnePar):
1066 * output_docbook.C (makeEnvironment): replace reference to CDATA
1069 2004-10-30 José Matos <jamatos@lyx.org>
1071 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1073 2004-10-30 José Matos <jamatos@lyx.org>
1075 * output_docbook.C (makeParagraphs):
1076 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1077 standard paragraph has only a given type of content drop the wrapper.
1079 2004-10-29 José Matos <jamatos@lyx.org>
1081 * output_docbook.C (makeEnvironment):
1083 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1085 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1087 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1088 (cleanID): sanitize any id.
1090 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1092 * buffer.C, lyxlex_pimpl.C:
1093 * lyxlex_pimpl.C (setFile):
1094 s/getExtFromContents/getFormatFromContents/
1096 2004-10-28 José Matos <jamatos@lyx.org>
1098 * output_docbook.C (makeEnvironment): move id to broadest possible
1101 * sgml.C (openTag): apply substitution of <> for all attributes.
1103 2004-10-28 José Matos <jamatos@lyx.org>
1105 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1106 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1107 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1109 * sgml.[Ch]: new version for open and closeTag for paragraph and
1110 for strings. Now they handle the ids of paragraphs.
1112 2004-10-26 Angus Leeming <leeming@lyx.org>
1114 * Makefile.am: add mover.[Ch].
1116 * converter.C (convert, move): use the new Movers to move external
1117 files to the temp directory.
1119 * lyx_main.C (init): ensure that the global system_movers data
1122 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1125 * mover.[Ch]: new files, defining a Mover as a utility to move an
1126 external file between directories and, if necessary, manipulate this
1127 file using a helper script.
1129 2004-10-25 José Matos <jamatos@lyx.org>
1131 * output_docbook.C (makeCommand): merge two if's that tested the
1134 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1136 * sgml.C (escapeString): fix warning in a better way
1138 2004-10-25 José Matos <jamatos@lyx.org>
1140 * sgml.C (escapeString): import the require boosts header file for
1141 tie, and avoid a signed unsigned comparison.
1143 2004-10-25 José Matos <jamatos@lyx.org>
1145 * sgml.h: add #include <string>
1147 2004-10-25 José Matos <jamatos@lyx.org>
1149 * sgml.[Ch] (escapeString): new function to escape all the string.
1151 2004-10-24 José Matos <jamatos@lyx.org>
1153 * paragraph.[Ch] (getFirstWord): new function to get the first
1154 word. Useful for description.
1155 (simpleDocBookOnePar): remove depth argument, add another that
1156 says where to start the paragraph.
1158 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1159 use the new functions to fix cleanly the support for descriptions.
1161 2004-10-24 José Matos <jamatos@lyx.org>
1163 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1164 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1165 * output_linuxdoc.C (linuxdocParagraphs):
1166 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1167 add buffer as argument.
1169 2004-10-24 José Matos <jamatos@lyx.org>
1171 * output_docbook.C (makeEnvironment, searchEnvironment): place
1172 CDATA inside paragraphs and fix scope for listitems.
1174 2004-10-24 José Matos <jamatos@lyx.org>
1176 * output_docbook.C: remove using statement for stack.
1178 2004-10-23 José Matos <jamatos@lyx.org>
1180 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1181 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1182 docbook. The new scheme is recursive and makes use of iterators, the
1183 same as latex export works.
1184 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1185 directly with the paragraph contents. This code was moved up to
1186 output_docbook.C (docbookParagraphs).
1187 * sgml.C (openTag, closeTag): removed unneeded newlines.
1188 (closeEnvTags) removed.
1190 2004-10-23 André Pönitz <poenitz@gmx.net>
1192 * undo.C (textUndoOrRedo):
1193 * dociterator.C (asDocIterator): work around crash
1195 * cursor.C (getStatus): replace ASSERT by more verbose error message
1196 and manual correction of the problem. Should increase stability
1197 while providing more sensible information.
1199 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1201 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1203 * bufferlist.C (previous, next): new methods
1206 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1208 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1210 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1211 entities to preamble.
1213 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1215 * messages.C (Pimpl): strip off translation context information
1217 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1219 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1220 the cursor is correct (bug 1694)
1222 2004-10-13 José Matos <jamatos@lyx.org>
1224 * output_docbook.C (docbookParagraphs): fix closing tags in the
1225 end of the document.
1227 2004-10-09 José Matos <jamatos@lyx.org>
1229 * buffer.C: format up to 237.
1230 * bufferparams.C (write): use tostr to convert booleans to strings.
1232 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1234 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1236 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1238 * LaTeX.C: implement use of babel language in xindy.
1240 2004-10-05 José Matos <jamatos@lyx.org>
1242 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1243 Add new translators to help reading and writing the lyx file.
1245 2004-10-05 José Matos <jamatos@lyx.org>
1247 * ParagraphParameters.C (read):
1248 * text.C (readParToken): replace nexToken by more appropriate lex
1251 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1253 * LaTeX.C (runMakeIndex):
1254 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1255 (usually 'makeindex') configurable.
1257 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1258 with a variable rather than with a number.
1260 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1262 * output_latex.C (TeXOnePar): make sure font setting is the first
1263 thing that gets output (and the last at the end). Should fix bug
1266 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1268 * pch.h: use proper signal include
1270 * LaTeX.h: Use preferred calling of Boost.Signal
1273 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1275 * pch.h: dont include <boost/function/function0.hpp>
1277 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1279 * paragraph_pimpl.h: remove usage of ShareContainer
1281 * paragraph_pimpl.C: remove initialization of ShareContainer.
1283 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1287 * BufferView.C (putSelectionAt): change the semantics when
1288 backwards == true: now, this just swaps cursor and anchor wrt the
1291 * BufferView.h (putSelectionAt): add some documentation
1293 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1294 make sure backwardChar is done at least once (to avoid getting
1296 (findNextChange): use putSelectionAt in the forward direction
1297 (operator()): use Paragraph::isWord
1299 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1301 * Spacing.C (set): c_str fix
1303 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1305 * lyx_cb.C (Reconfigure): quote the name of configure script in
1306 case it contains spaces
1308 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1312 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1313 (BOOST_LIBS): use top_buildir when looking for the file
1315 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1317 * pch.h: do not use include boost/format.hpp, multiple symbols
1318 will result (gcc bug)
1321 2004-08-23 José Matos <jamatos@lyx.org>
1323 * bufferparams.C (readToken): fix reading of the author field.
1325 2004-08-20 José Matos <jamatos@lyx.org>
1327 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1329 2004-08-20 José Matos <jamatos@lyx.org>
1331 * lyxlex.[Ch] (findToken): remove function.
1333 * ParagraphParameters.C (findToken):
1334 * bufferparams.C (findToken): replace call for previous function
1335 with local copy. This local function has one more argument, the
1336 read string argument.
1338 2004-08-16 José Matos <jamatos@lyx.org>
1340 * ParagraphParameters.C (write):
1341 * Spacing.C (writeFile):
1342 * bufferparams.C (writeLaTeX):
1343 * lyx_cb.C (Reconfigure):
1344 * paragraph.C (write):
1345 * tabular.C (write): remove unnecessary space at end of line.
1348 2004-08-16 José Matos <jamatos@lyx.org>
1350 * text.C (readParagraph): remove debug message.
1352 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1354 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1357 * output_plaintext.C (asciiParagraph): set depth correctly
1359 * outputparams.h: add member depth
1361 * paragraph_funcs.C (ownerPar): remove.
1363 * text2.C (setCounter): remove first_pit; comment out some
1364 non-working code that uses ownerPar
1366 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1369 2004-08-16 José Matos <jamatos@lyx.org>
1371 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1372 For the same level of importance use the same chanel to report problems.
1373 (read): add code to deal with \begin_body and \end_body.
1376 2004-08-15 José Matos <jamatos@lyx.org>
1378 * lyxlex.C (getString): fix comment, buffer::readBody is now
1379 buffer:readDocument.
1381 * tex-strings.C (string_papersize): Default -> default,
1382 Custom -> custom, for consistency with other options.
1384 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1388 * Makefile.am: support pch
1390 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1392 * text.C (readParToken): remove the static LyXFont variable and
1393 pass it as a parameter instead. This fixes a nasty bug where an
1394 inset will be inserted with a bad font in some situations
1395 (readParagraph): adapt
1397 * text2.C (setCounter): reduce number of calls to pars_[pit]
1399 * text.C (singleWidth): add an assert, fix a test
1401 * rowpainter.C (paintText): reduce number of calls to singleWidth
1403 * paragraph.C (isHfill):
1404 (isNewline): ws only
1406 2004-08-14 André Pönitz <poenitz@gmx.net>
1411 * lyxtext.h (several functions): use a Paragraph & argument
1414 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1416 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1418 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1420 * text.C (singleWidth): remove useless test
1422 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1424 * tabular.h: remove bogus comments
1426 * tabular.C (getDescentOfRow):
1427 (isPartOfMultiColumn): add assertions
1429 * lyxlength.C (inPixels): remove #warning
1431 2004-08-14 André Pönitz <poenitz@gmx.net>
1433 * paragraph.h: inline getChar()
1435 * BufferView.h: remove unused declarations
1437 2004-08-14 José Matos <jamatos@lyx.org>
1439 * Buffer.[Ch] (readDocument): new name for old readBody.
1440 * Buffer.C: new file format, new keywords: \begin_document,
1441 \begin_header, \begin_body, \end_body.
1443 * bufferparams.C (readToken): replace all calls to lex.nextToken
1444 by lex.next(). Do the same to eatLine except where really needed.
1446 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1447 line when writing to the lyx file.
1449 * output_plaintext.C (asciiParagraph): fix Bibliography style
1452 * text.C (read): fix end of file handling.
1454 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1456 * MenuBackend.C (Menu::operator[]): new method to access
1457 individual menu items
1458 (Menu::hasFunc): new method. search for an item that corresponds
1460 (MenuBackend::specialMenu): new method
1461 (MenuBackend::expand): if a special menu has been set, skip
1462 entries whose func() appears in this menu
1464 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1466 * text3.C: use Debug::DEBUG a bit more
1468 * text.C (leftMargin): try to simplify a tiny bit change var x to
1469 l_margin. Dont output the wide margins always.
1470 (rightMargin): no margin in inner texts
1472 * rowpainter.h (nestMargin): new func
1473 (changebarMargin): new func
1474 (rightMargin): new func
1476 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1480 * factory.C (createInset): modify setDrawFrame
1482 * cursor.C: use Debug::DEBUG a bit more
1484 2004-08-14 André Pönitz <poenitz@gmx.net>
1487 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1488 cache for all insets in (at least partially) visible (top-level)
1491 * BufferView_pimpl.C: reset external coord cache before every update.
1492 This means the coord cache only contains valid entries.
1494 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1497 * BufferView_pimpl.C (getInsetByCode): move function out of class
1498 and change in to a template in anon namespace. Also fix to do what
1501 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1504 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1506 (breakParagraph): rename par to par_offset and use a local
1507 reference. Add code to keep the language over a rebreak.
1508 (breakParagraphConservative): rename par to par_offset, use a
1510 (mergeParagraph): ditto
1512 (isFirstInSequence): ditto
1513 (outerFont): rename pit to par_offset
1515 * paragraph.C: ws change
1516 * paragraph.h: ditto
1520 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1522 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1525 * paragraph.C (simpleTeXOnePar): when we have a \item with
1526 optional argument, enclose the argument with curly brackets (in
1527 case it contains a closing square bracket)
1531 * text3.C (checkInsetHit): constify
1533 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1535 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1536 documents (bug 1629)
1538 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1540 Fix toggling of collapsable insets with the mouse (bug 1558)
1542 * lyxfunc.C (dispatch): adapt to LCursor changes
1544 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1545 make sure that dispatch is not invoked twice
1547 * cursor.C (needsUpdate): new method
1548 (dispatch): return void
1549 (result): new method, to access the DispatchResult of the cursor.
1551 2004-08-13 José Matos <jamatos@lyx.org>
1553 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1555 2004-08-13 André Pönitz <poenitz@gmx.net>
1557 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1559 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1562 2004-08-12 André Pönitz <poenitz@gmx.net>
1564 * text3.C: take out the 'cursor right' form insertInset and only
1565 do it in those places when it is really needed. Fixes crash on
1568 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1570 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1572 * BufferView_pimpl.C (setBuffer): initialize the current font of
1573 the underlying LyXText
1575 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1577 * kbsequence.C (print): use UI native formatting for menu
1580 * text.C (insertChar): call Paragraph::insertChar with a font
1583 * paragraph.C (insertInset, insertChar): the version that takes a
1584 LyXFont argument is now a wrapper around the other one (the
1585 opposite used to be true).
1587 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1588 argument. Font setting is done in Paragraph now.
1590 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1592 * outputparams.h: add new members intitle and lang.
1594 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1595 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1597 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1599 * text3.C (dispatch): remove special handling of button 4 and 5,
1600 it is now taken care of in the frontend code.
1602 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1604 * Spacing.h: add <string> (STLPort compile fix)
1606 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1608 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1610 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1612 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1615 * converter.C (showMessage): inherit from unary_function, make
1618 * buffer.C (writeFile): initialize retval
1620 * InsetList.h: rename private variable list to list_
1621 * InsetList.[Ch]: adjust accordingly.
1623 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1625 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1626 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1627 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1628 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1629 * ParagraphParameters.C, LaTeXFeatures.C: replace
1630 "support/std_sstream.h" with <sstream>
1632 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1634 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1635 * lyxsocket.C (LyXServerSocket): ditto
1636 (serverCallback): ditto
1638 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1640 * LaTeXFeatures.C: check release date when loading jurabib.
1642 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1644 * lyxserver.C (startPipe): call register_socket_callback
1645 (endPipe): call unregister_socket_callback
1647 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1649 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1650 (LyXServerSocket): register the callback
1651 (LyXServerSocket): unregister the callback
1652 (fd): delete function
1653 (serverCallback): improve error checking and setup the callbacks.
1654 (dataCallback): change arg to fd.
1655 (writeln): new func (copied fro the client socket) used for server
1657 (LyXDataSocket): simplify
1658 (~LyXDataSocket): close ann unregiser callback
1659 (server): delete function
1660 (fd): delete function
1661 (readln): small changes, improve some std::string usage
1662 (writeln): constify a bit
1664 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1666 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1669 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1671 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1672 after it has been populated
1674 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1676 * text2.C (insertInset): move cursor when inserting inset.
1678 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1680 * kbmap.C (findbindings): a couple of new methods. returns a
1681 container of kb_sequence objects. The real work is done by the
1682 private recursive version
1683 (printbindings): uses findbindings to print out a bracketed list
1684 of bindings (renamed from findbinding).
1686 * MenuBackend.C (binding): use kb_keymap::findbindings
1688 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1690 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1692 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1694 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1696 * paragraph.C (isWord): return true on insets that report
1699 * text.C (getWord): use Paragraph::isWord to decide what is in a
1700 word and what is not; fix bug 1609.
1702 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1704 * tex-strings.C: add "none" to string_paperpackages[], fixes
1705 off-by-one-error in the paperpackage selection.
1708 * tex-strings.[Ch]: char const * string[n]
1709 -> char const * const string[]
1711 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1713 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1714 command, return early.
1716 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1718 * debug.h: add DEBUG to enum and fix size of ANY.
1720 * debug.C: add support for Debug::DEBUG
1721 (showTags): cast errorTags.level to unsigned int
1723 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1724 (redoCurrentBuffer): ditto
1725 (updateScrollbar): ditto
1726 * cursor.C (dispatch): ditto
1727 * text2.C (setLayout): ditto
1729 (updateCounters): ditto
1731 (deleteEmptyParagraphMechanism): ditto
1733 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1735 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1736 annotations to cleanup the Makefile slightly.
1738 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1740 * lyxrc.C: do not set user_email to a default value but use empty
1741 instead. The entry used to be translated, which does not work
1742 since at the point where lyxrc is constructed there is no
1743 translation service available
1745 * messages.C (getLocaleDir): remove and use directly
1746 lyx_localedir() instead
1748 2004-06-02 Angus Leeming <leeming@lyx.org>
1750 Fix crash caused by dereferencing null pointer 'exportdata' in
1751 OutputParams by creating a new ExportData variable on the heap,
1752 storing it in a boost::shared_ptr.
1753 The crash was triggered when generating an Instant Preview
1754 of an external inset.
1756 * Makefile.am: add outputparams.C
1758 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1759 (c-tor): allocate memory to it.
1761 * exporter.C (c-tor): associated changes.
1763 2004-06-01 Angus Leeming <leeming@lyx.org>
1765 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1766 contains data before calling isInset(0). (Bug 1513.)
1768 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1770 * exporter.C (checkOverwrite): new method
1771 * exporter.C (copyFile): new method
1772 * exporter.C (Export): copy referenced files to the document dir
1773 * exporter.[Ch]: new class ExportedFile
1774 * exporter.[Ch]: new class ExportData. Contains currently the
1775 names of referenced external files
1776 * outputparams.h: add exportdata member.
1778 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1780 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1783 2004-05-19 Angus Leeming <leeming@lyx.org>
1788 * lyxfunc.C: small changes due to the introduction of namespace
1789 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1791 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1793 * text3.C (dispatch): supress update when only moving the cursor
1794 * cursor.C (selHandle): remove commented code
1796 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1798 * paragraph.C (startTeXParParams): correct column count
1799 * CutAndPaste.C (pasteSelection): remove const_cast
1800 * output_docbook.C (docbookParagraphs): remove const_cast
1801 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1802 const_cast and return ParagraphList::const_iterator
1803 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1804 * output_plaintext.C (writeFileAscii): remove const_cast
1805 * paragraph.[Ch] (simpleTeXOnePar): make const
1806 * paragraph_funcs.C (outerPar): use const iterators
1807 * paragraph_pimpl.C (validate): use const iterators
1808 * text.C (setHeightOfRow): use const iterators
1810 2004-05-17 Angus Leeming <leeming@lyx.org>
1813 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1815 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1816 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1817 if the citation engine has changed.
1819 2004-05-14 José Matos <jamatos@lyx.org>
1821 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1822 if the textclass does not provide it. Have it different for sgml and
1824 support the language of document.
1825 * output_docbook.C (docbookParagraphs):
1826 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1827 first anchor as the id of the paragraph, remove special case code.
1828 * sgml.C (escapeChar): escape only < & >.
1830 2004-05-14 Angus Leeming <leeming@lyx.org>
1832 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1833 dependencies on src/frontends/controllers/biblio.h. Define a
1834 CiteEngine_enum wrapper class to enable the enum to be forward
1837 2004-05-12 Angus Leeming <leeming@lyx.org>
1839 * buffer.C: up LYX_FORMAT to 234.
1840 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1841 use_numerical_citations with a single biblio::CiteEngine cite_engine
1843 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1845 2004-05-13 José Matos <jamatos@lyx.org>
1848 * converter.C (Converter, readFlags): add xml member.
1849 * outputparams.h: add XML flavor.
1850 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1852 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1854 * lyxfunc.C (dispatch):
1855 (getStatus): fix handling of LFUN_SEQUENCE
1857 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1859 * debug.C (showLevel): do not forget the end-of-line marker
1861 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1863 * kbmap.C (read): do not stop parsing a bind file when an error
1866 2004-04-29 Angus Leeming <leeming@lyx.org>
1871 * text2.C: wrap a bunch of #warning statements
1872 inside #ifdef WITH_WARNINGS blocks.
1874 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1876 * buffer.C: increment format to 233.
1878 2004-04-28 Angus Leeming <leeming@lyx.org>
1880 * BufferView_pimpl.C:
1883 s/updateToolbar()/updateToolbars()/
1884 s/Toolbar.h/Toolbars.h/
1886 2004-04-28 Angus Leeming <leeming@lyx.org>
1888 * BufferView.[Ch] (c-tor):
1889 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1890 No longer passes these data to the WorkArea generator.
1892 2004-04-28 Angus Leeming <leeming@lyx.org>
1894 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1896 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1898 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1900 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1902 * output_latex.C (TeXEnvironment): make sure that there is a line
1903 break before \end{foo} for the last paragraph of a document
1904 (TeXOnePar): if the paragraph is at the end of the document (or
1905 inset) and the language has to be reset, then make sure that the
1906 line break is _before_ the language command, not after (fixes bug
1907 1225); also make sure that the language reset command is the first
1908 thing after the paragraph (to ensure proper nesting of
1909 environments and thus fix bug 1404)
1911 2004-04-21 John Levon <levon@movementarian.org>
1914 * ToolbarBackend.C: make "name" be a programmatic name
1915 and a gui_name field.
1917 * lyxfunc.C: display the minibuffer on M-x
1919 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1921 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1924 2004-04-19 Angus Leeming <leeming@lyx.org>
1926 * BufferView_pimpl.C (setBuffer): changed preview interface.
1928 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1931 2004-04-19 John Levon <levon@movementarian.org>
1933 * BufferView_pimpl.C:
1934 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1936 2004-04-05 Angus Leeming <leeming@lyx.org>
1938 * text.C (redoParagraphs): add call to updateCounters(), thereby
1939 fixing the missing "Figure #:" label from the caption of a
1942 2004-04-13 Angus Leeming <leeming@lyx.org>
1944 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1945 cursor is clicked out of an inset.
1947 2004-04-13 Angus Leeming <leeming@lyx.org>
1949 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1950 than an InsetOld one.
1952 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1954 * format.[Ch]: add editor to Format
1955 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1956 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1958 2004-04-08 André Pönitz <poenitz@gmx.net>
1960 * metricsinfo.h: remove PainterInfo::width member
1962 2004-04-08 Angus Leeming <leeming@lyx.org>
1964 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1965 "\providecommand" rather than "\newcommand", thereby preventing
1966 clashes with packages that define "\boldsymbol" themselves.
1969 2004-04-08 Angus Leeming <leeming@lyx.org>
1971 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1972 thereby squashing an unnecessary warning.
1974 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1976 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1979 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1981 * BufferView.C (setCursor): call redoParagraph (some insets could
1983 (putSelectionAt): remove the 'double update' trick
1985 * BufferView_pimpl.C (fitCursor): call refreshPar
1986 (workAreaDispatch): remove an uneeded update call
1987 (dispatch): remove some manual update calls
1989 * cursor.[Ch]: remove cached_y_, updatePos
1990 (selHandle): set noUpdate when appropriate
1992 * lyxfunc.C (dispatch): track if we need an update
1994 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1996 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1997 (paintSelection): cheap optimization, do not call cursorX when not
1999 (paintPars): change signature
2002 (paintTextInset): adjust
2006 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2008 * lengthcommon.C: compilation fix: remove explicit array size from
2009 unit_name[] and friends
2011 2004-04-05 Angus Leeming <leeming@lyx.org>
2013 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2015 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2016 present only for the preferences dialog.
2017 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2019 2004-04-05 Angus Leeming <leeming@lyx.org>
2021 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2022 to enable the frontends to export changes to lyxrc correctly.
2024 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2026 2004-04-07 André Pönitz <poenitz@gmx.net>
2028 * cursor.[Ch] (selClear, adjust): remove math
2030 * cursor_slice.C: more agressive assert
2033 * BufferView_pimpl.C: rework mouse event dispatch
2040 2004-04-05 André Pönitz <poenitz@gmx.net>
2042 * cursor.[Ch] (valign, halign...): remove unneeded functions
2044 2004-04-05 Angus Leeming <leeming@lyx.org>
2046 * lyxlength.[Ch] (unit_name et al.): const-correct.
2048 2004-04-05 Angus Leeming <leeming@lyx.org>
2050 * BufferView_pimpl.C:
2059 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2061 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2063 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2065 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2067 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2068 * BufferView_pimpl.[Ch] (getStatus)
2069 * BufferView.[Ch] (getStatus): add
2070 * lyxfunc.C (getStatus): move lfuns handled in
2071 BufferView::dispatch to te function above
2072 * Cursor.C (setSelection): set selection() = true
2074 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2076 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2078 2004-03-31 Angus Leeming <leeming@lyx.org>
2080 * lyxfunc.C (dispatch): Fall through to the generic
2081 Dialogs::show("preamble").
2083 2004-03-31 Angus Leeming <leeming@lyx.org>
2085 * lyxfunc.C (dispatch): Fall through to the generic
2086 Dialogs::show("spellchecker").
2088 2004-03-31 Angus Leeming <leeming@lyx.org>
2090 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2093 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2098 * insetiterator.[Ch]:
2103 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2105 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2107 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2108 insets where we are putting the cursor.
2110 2004-03-31 Angus Leeming <leeming@lyx.org>
2113 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2115 * lyxrc.[Ch] (read, write): overloaded member functions taking
2116 a std::[io]stream arguments.
2118 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2120 2004-03-31 Angus Leeming <leeming@lyx.org>
2122 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2123 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2125 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2126 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2128 2004-03-31 Angus Leeming <leeming@lyx.org>
2130 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2131 the LFUN_ALL_INSETS_TOGGLE code.
2133 2004-03-30 Angus Leeming <leeming@lyx.org>
2135 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2136 has died. Fall through to the generic Dialogs::show("document").
2138 2004-03-30 Angus Leeming <leeming@lyx.org>
2141 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2142 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2144 * lyxfunc.C (getStatus, dispatch): define the actions for these
2145 lfuns. Little more than a cut and pste job from ControlDocument.C
2147 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2149 2004-03-30 Angus Leeming <leeming@lyx.org>
2152 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2153 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2155 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2156 open/closed state of ollapsable insets. Usage:
2158 all-inset-toggle <state> <name>, where
2159 <state> == "open" || "closed" || "toggle" and
2160 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2162 * lyxtext.h, text2.C (toggleInset): removed.
2164 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2165 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2166 now passes LFUN_INSET_TOGGLE to the found inset.
2168 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2169 is now invoked as "all-insets-toggle toggle branch".
2171 2004-03-30 Angus Leeming <leeming@lyx.org>
2175 * pariterator.[Ch]: added/corrected header blurb.
2177 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2179 * dociterator.[Ch]: add an inset_ member
2180 (backwardPos): implemented
2181 (backwardPos, forwardPos): use inset_ when the stack is empty.
2182 (doc_iterator_begin, doc_iterator_end): implemented
2183 * pariterator.[Ch]: adjust, add begin, end
2184 * insetiterator.[Ch]: adjust, add begin, end
2188 * BufferView_pimpl.C:
2189 * CutAndPaste.C: adjust
2191 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2193 * buffer.C: increment file format to 232.
2194 * LaTeXFeatures.C: add bibtopic package.
2195 * bufferparams.[Ch]: param \use_bibtopic.
2197 * lyxrc.[Ch]: add lyxrc bibtex_command
2198 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2200 * buffer.C: increment file format to 231.
2202 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2204 * dociterator.C: implement forwardPar
2205 * iterators.[Ch]: remove, replaced by
2206 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2208 * BufferView_pimpl.C:
2211 * bufferview_funcs.C:
2217 * Makefile.am: adjust
2219 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2221 * CutAndPaste.C (pasteSelection): fix 2 crashes
2222 (eraseSelection): fix a crash
2223 * paragraph_funcs.C: remove a warning
2225 2004-03-28 Angus Leeming <leeming@lyx.org>
2228 * LyXAction.C (init): new LFUN_PRINT.
2230 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2232 2004-03-27 Angus Leeming <leeming@lyx.org>
2235 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2237 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2239 2004-03-27 Angus Leeming <leeming@lyx.org>
2241 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2242 insetlist always contains non-null pointers to insets.
2244 2004-03-26 Angus Leeming <leeming@lyx.org>
2246 * src/BufferView_pimpl.C:
2247 * src/CutAndPaste.C:
2250 * src/output_plaintext.C:
2251 * src/outputparams.h:
2252 * src/paragraph_funcs.C:
2256 * src/frontends/controllers/ControlErrorList.C:
2257 * src/frontends/gtk/FileDialogPrivate.C:
2258 * src/frontends/gtk/GPainter.C:
2259 * src/frontends/gtk/GToolbar.C:
2260 * src/frontends/qt2/QRef.C:
2261 * src/mathed/math_scriptinset.C: squash compiler warnings.
2263 2004-03-26 Angus Leeming <leeming@lyx.org>
2265 * ispell.C (LaunchIspell::start):
2266 * lyx_cb.C (AutoSaveBuffer::start):
2267 invoke run(DontWait) rather than runNonBlocking().
2269 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2271 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2273 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2275 * kbsequence.C (print): adjust
2277 * kbmap.C (printKeySym): rename and change signature
2278 (printKey): use LyXKeySym::print()
2280 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2282 * undo.C: add using std::advance to compile for stlport
2284 2004-03-24 Angus Leeming <leeming@lyx.org>
2286 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2287 it leads to a crash when no buffer is present.
2289 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2290 Martin Vermeer <martin.vermeer@hut.fi>
2292 * lyxfunc.C (dispatch):
2293 * bufferparams.C (readToken): use the new LColor::setColor
2295 * LColor.[Ch] (setColor): new version that takes two strings as
2296 argument and creates a new color entry if necessary
2298 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2300 * buffer.C (makeLaTeXFile): if the main latex file that is
2301 processed is usually a subdocument of some master, then pretend
2302 for a while that it is actually the master
2304 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2306 * buffer.C (getLabelList):
2307 (getBibkeyList): use getMasterBuffer()
2308 (getMasterBuffer): new method. Returns the main document in the
2309 case where one is using included documents.
2311 2004-03-25 André Pönitz <poenitz@gmx.net>
2315 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2317 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2319 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2320 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2322 * ParameterStruct.h: merge with ParagraphParameters
2324 * lyxtext.h: remove LyXText::parOffset() and getPar()
2326 * text3.C: Remove all 'manual' update calls. We do now one per user
2327 interaction which is completely sufficient.
2331 * BufferView_pimpl.C:
2332 * FontIterator.[Ch]:
2334 * ParagraphParameters.[Ch]:
2339 * cursor_slice.[Ch]:
2346 * output_docbook.[Ch]:
2347 * output_latex.[Ch]:
2348 * output_linuxdoc.[Ch]:
2349 * output_plaintext.[Ch]:
2351 * paragraph_funcs.[Ch]:
2352 * paragraph_pimpl.[Ch]:
2360 * frontends/controllers/ControlDocument.C:
2361 * frontends/controllers/ControlErrorList.C:
2362 * frontends/controllers/ControlSpellchecker.C:
2365 * insets/insetbase.h:
2366 * insets/insetbibitem.C:
2367 * insets/insetbox.C:
2368 * insets/insetbranch.C:
2369 * insets/insetcaption.C:
2370 * insets/insetcharstyle.C:
2371 * insets/insetcharstyle.h:
2372 * insets/insetcollapsable.C:
2373 * insets/insetcollapsable.h:
2374 * insets/insetert.C:
2375 * insets/insetfloat.C:
2376 * insets/insetfoot.C:
2377 * insets/insetmarginal.C:
2378 * insets/insetnote.C:
2379 * insets/insetoptarg.C:
2380 * insets/insettabular.C:
2381 * insets/insettext.C:
2382 * insets/insettext.h:
2383 * insets/insetwrap.C:
2384 * mathed/math_mboxinset.C:
2385 * mathed/math_nestinset.C:
2386 * mathed/math_scriptinset.C:
2387 * mathed/math_scriptinset.h:
2390 2004-03-24 Angus Leeming <leeming@lyx.org>
2392 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2393 deal with any child processes that have finished but are waiting to
2394 communicate this fact to the rest of LyX.
2396 2004-03-24 Angus Leeming <leeming@lyx.org>
2398 64-bit compile fixes.
2400 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2401 (c-tor): pass lyx::pos_types rather than ints.
2403 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2406 * text.C (Delete): compile fix.
2407 (getPar): ensure that function declaration is the same as that in
2410 2004-03-23 Angus Leeming <leeming@lyx.org>
2412 * ispell.C (LaunchIspell):
2413 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2414 a boost::shred_ptr rather than a std::auto_ptr.
2416 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2418 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2419 handle LFUN_FILE_INSERT_*
2421 * lyxrc.C (setDefaults, getDescription, output, read):
2422 * lyxrc.h: remove ps_command
2424 2004-03-22 Angus Leeming <leeming@lyx.org>
2426 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2427 Ensure that error_handler is processed once only and that all data
2428 is saved before attempting to output any warning messages.
2430 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2432 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2434 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2436 2004-03-19 André Pönitz <poenitz@gmx.net>
2438 * cursor.[Ch] (reset): take main text inset as argument
2440 * BufferView: adjust
2441 * BufferView_pimpl.C: adjust
2443 * paragraph.[Ch]: fix completely broken operator=()
2445 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2447 * LColor.C (getFromLyXName): make sure that the color name is used
2450 2004-03-17 Angus Leeming <leeming@lyx.org>
2453 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2455 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2456 dialog and to kill a forked process.
2458 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2460 * text2.C (setCursorFromCoordinates): fix font problem
2462 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2464 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2465 bogus "rebuild cursor" code
2467 2004-03-11 André Pönitz <poenitz@gmx.net>
2469 * buffer.[Ch]: use InsetText instead of LyXText as container for
2472 * dociterator.[Ch]: drop the BufferView * member which is not needed
2473 anymore after the change to buffer.C
2475 * paragraph_funcs.C:
2479 * BufferView_pimpl.[Ch]:
2481 * cursor_slice.[Ch]: adjust
2483 * text3.C: fix bug in mathDispatch
2485 2004-03-08 André Pönitz <poenitz@gmx.net>
2487 * undo.[Ch]: use 'StableDocumentIterator' as base for
2490 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2493 * bufferparams.[Ch]: add jurabib support and param.
2495 * LaTeX.C: add FIXME/comment.
2497 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2499 * buffer.C: increment file format to 230.
2501 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2503 * cursor.C (dispatch): avoid infinite loops
2505 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2507 * rowpainter.C (paintSelection): fix x coordinates
2509 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2511 * text.C (rowBreakPoint): fix breaking before displayed insets
2513 2004-03-01 André Pönitz <poenitz@gmx.net>
2515 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2517 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2521 * BufferView_pimpl.C:
2529 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2535 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2536 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2538 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2540 * Bidi.[Ch] (computeTables): const correctness
2541 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2542 fill_hfill, fill_label_hfill and x from Row
2543 * lyxtext.h: prepareToPrint returns a RowMetrics
2544 * rowPainter.C: adjust
2545 * text.C (prepareToPrint): use width, not textWidth. adjust
2546 (redoParagraphInternal, cursorX): adjust
2547 * text2.C (getColumnNearX): adjust
2548 (init): put a default value to the top LyXText::width
2550 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2552 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2554 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2556 * lyxtext.h: add FontIterator class
2558 * text.C (FontIterator, operator*, operator->, operator++): add
2559 (rowBreakPoint, setRowWidth): adjust (fixing a
2562 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2564 * BufferView_pimpl.C (workAreaDispatch): allow also
2565 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2567 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2569 * text.C (rowBreakPoint): fix a bug showing with very large insets
2571 2004-02-25 André Pönitz <poenitz@gmx.net>
2574 * cursor.[Ch]: move some mathed specific code to mathed
2576 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2578 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2579 use_tempdir in preferences
2580 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2582 * lyx_main.C: ensure that tempdir is valid
2583 * lyxlex.h: correct typo
2584 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2585 * paragraph.[Ch] (isMultiLingual): make const
2586 * cursor.[Ch] (openable): make const
2588 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2590 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2592 2004-02-20 André Pönitz <poenitz@gmx.net>
2594 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2596 * cursor.[Ch]: prepare for localized getStatus()
2602 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2604 2004-02-20 André Pönitz <poenitz@gmx.net>
2606 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2608 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2610 * text2.C (setCursorFromCoordinates): switch to absolute coords
2612 (cursorDown): adjust
2613 * text3.C (dispatch): adjust
2615 2004-02-16 André Pönitz <poenitz@gmx.net>
2617 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2620 * cursor_slice.[Ch]: remove unneeded acessor function
2622 * lyxtext.h: rename rtl() to isRTL()
2630 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2632 * rowpainter.C (paintSelection): coord fix
2634 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2636 * Spacing.C: compile fix
2638 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2640 * cursor.C (dispatch): restore current_ before returning
2642 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2644 * text2.C (cursorUp, cursorDown): fix coords
2647 2004-02-12 André Pönitz <poenitz@gmx.net>
2652 * text3.C: add LCursor & parameter to most cursor movement functions
2653 remove usage of LyXText::cursorRow() and cursorPar()
2655 * cursor.[Ch]: add textRow() needed members
2658 * BufferView_pimpl.C:
2661 * BufferView_pimpl.C: adjust
2663 2004-02-11 André Pönitz <poenitz@gmx.net>
2667 * BufferView_pimpl.C: shift undo/redo handling
2669 * cursor.[Ch]: fix mathed crash
2672 * lyxtext.h: move selectionAsText to LCursor
2680 * rowpainter.C: fix excessive drawing
2682 2004-02-06 André Pönitz <poenitz@gmx.net>
2685 * BufferView_pimpl.[Ch]:
2686 * text3.C: move some text specific LFUN handling
2688 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2690 * text3.C (checkInsetHit): adjust coords
2691 * text2.C (getColumnNearX): adjust coords
2692 (edit): adjust coords
2693 * text.C (getRowNearY): add two asserts
2695 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2698 * format.C: add using std::distance to compile on gcc 2.95/stlport
2700 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2702 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2704 2004-02-04 André Pönitz <poenitz@gmx.net>
2706 * BufferView.[Ch] (insertInset):
2707 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2712 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2714 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2715 on the default clause of the switch
2716 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2717 wasn't catched by LCursor::dispatch
2719 2004-02-03 André Pönitz <poenitz@gmx.net>
2722 * cursor.[Ch]: some additional asserts
2724 * undo.[Ch]: remove LyXText dependency in interface
2728 * lyxtext.h (firstPar, lastPar): remove dead functions
2733 * paragraph.[Ch]: adjust
2735 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2737 * lyxfind.C (find): fix argument order in call to ::find
2739 2004-02-02 André Pönitz <poenitz@gmx.net>
2741 * cursor.[Ch]: remove direct access to anchor
2743 * text.C: remove findText() hack
2745 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2747 * iterators.[Ch] (lockPath): remove in favour of...
2748 * BufferView.[Ch] (setCursor): this addition
2749 * BufferView.C (putSelectionAt): adjust
2750 * undo.C (performUndoOrRedo): adjust
2751 * lyxfunc.C (dispatch): adjust
2753 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2755 * iterators.C (lockPath): add a missing slice
2756 * undo.C (performUndoOrRedo): remove redundant positioning code
2758 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2760 * vc-backend.C (scanMaster): ";" -> ';'
2762 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2764 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2765 std::binary_function
2767 * lyxtextclass.C (compare_name): rename to...
2768 (LayoutNamesEqual): ...this
2770 * lyxlex_pimpl.C (compare_tags): inherit from
2771 std::binary_function, put back into anon namespace
2773 * lyxfind.C (MatchString): inherig from std::binary_function
2774 (findChange): use empty() istead of !size()
2776 * format.C (FormatNamesEqual): new functor
2783 * converter.C (compare_Converter): rename to...
2784 (ConverterEqual): ...this, and fixup a bit.
2785 (getConverter): use it, and make function const
2786 (getNumber): use it, and make function const
2790 * bufferlist.C: add using boost::bind
2792 * MenuBackend.C (MenuNamesEqual): new functor
2793 (hasMenu): use it, and make function const
2794 (hasSubmenu): use nested bind to get rid of compare_memfun.
2796 2004-01-30 André Pönitz <poenitz@gmx.net>
2798 * BufferView_pimpl.C:
2801 * cursor_slice.[Ch]:
2804 * paragraph_funcs.C:
2805 * paragraph_funcs.h:
2809 * text3.C: move some of the edit(x,y) handling to the insets
2810 some coordinate changes.
2812 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2814 * text.C: add using statements for std::advance and std::distance
2816 * paragraph.C: add using statement for std::distance
2818 * lyxfind.C: add using statement for std::advance
2820 * cursor.C (region): remove std:: from swap
2821 (openable): use nucleus in stead of operator->
2823 * BufferView.C: add using statements for std::distance and std::swap
2825 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2827 * iterators.C: Remove the pimple, move the needed structures to
2828 the header file. Create accessor for the positions stack.
2829 (asPosIterator): remove function
2831 * PosIterator.C (PosIterator): move constructors to top of file
2832 (PosIterator): reimplement the constructor taking a ParIterator in
2834 (setFrom): new function
2835 (operator!=): inline it
2837 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2839 * lyxfind.C (replaceAll): use std::advance
2841 * iterators.h: inherit from std::iterator.
2843 * PosIterator.C (advance, distance): remove
2844 * PosIterator.h: interit from std::iterator.
2846 2004-01-26 André Pönitz <poenitz@gmx.net>
2849 * BufferView_pimpl.[Ch]:
2853 * bufferview_funcs.C:
2863 * output_linuxdoc.C:
2864 * output_plaintext.C:
2866 * paragraph_funcs.[Ch]:
2867 * paragraph_pimpl.[Ch]:
2873 * text3.C: more IU: dumps most of the rest of the mathcursor
2874 implementation into cursor.[Ch]; "globalize" a bit of it.
2876 2004-01-25 Angus Leeming <leeming@lyx.org>
2878 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2880 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2882 * LaTeXFeatures.h: add nice_ and nice() const
2883 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2885 2004-01-20 André Pönitz <poenitz@gmx.net>
2888 * BufferView_pimpl.C:
2890 * bufferview_funcs.C:
2892 * cursor_slice.[Ch]:
2903 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2904 LCursor and mathcursor parts to LCursor and InsetBase.
2906 2004-01-15 André Pönitz <poenitz@gmx.net>
2908 * cursor_slice.[Ch]: add a few covienience functions
2910 * funcrequest.[Ch]: remove BufferView * member
2912 * BufferView_pimpl.C:
2919 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2921 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2923 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2924 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2926 2004-01-13 André Pönitz <poenitz@gmx.net>
2929 * lyxtext.h: hide cursor and selection anchor behind accessor function
2932 * BufferView_pimpl.[Ch]:
2934 * bufferview_funcs.C:
2944 * cursor_slice.[Ch]: some integer type changes for inset unification
2946 * lyxcursor.[hC]: remove, it's CursorSlice now.
2949 * BufferView_pimpl.[Ch]:
2950 * bufferview_funcs.C:
2956 * textcursor.[Ch]: adjust
2958 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2960 * text2.C (undoSpan): add and use
2961 * text.C (breakParagraph): use undoSpan (fix bug 578)
2964 2004-01-08 Angus Leeming <leeming@lyx.org>
2966 * BufferView_pimpl.C (MenuInsertLyXFile):
2967 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2968 * lyxfunc.C (menuNew, open, doImport):
2969 FileFilterList change to the FileDialog open and save functions.
2971 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2973 * ShareContainer.h: make isEqual and isUnique adaptable
2975 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2977 2004-01-07 Angus Leeming <leeming@lyx.org>
2980 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2982 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2984 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2985 functions replacing find, replace and replaceAll.
2987 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2988 LFUN_WORDFIND(FORWARD|BACKWARD).
2990 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2992 * text.C (breakParagraph): remove an outdated #warning
2994 2004-01-07 André Pönitz <poenitz@gmx.net>
2996 * lyxfind.C: somewhat clearer logic
2998 * text.C: prevent crash in cursorX on unitialized row cache
3000 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3002 * lyxcursor.[Ch] (operator>): add
3003 * textcursor.C (selStart, selEnd): use std::min and std::max
3005 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3007 * Chktex.C: include boost/format.hpp
3009 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3011 * InsetList.C: replace functor MathcIt with adaptable functor
3013 (insetIterator): modify accordingly
3015 * BranchList.h: move the BranchNamesEqual functor here from...
3016 * BranchList.C: ... to here
3018 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3020 (add): replace a finding loop with std::find_if.
3022 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3024 * output_docbook.C: moving LatexParam functionality into
3027 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3029 * buffer.C: increment format to 229.
3031 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3034 * lyx_sty.[Ch]: remove minipageindent_def
3040 * text3.C: remove LFUN_INSET_MINIPAGE
3042 2003-12-28 Angus Leeming <leeming@lyx.org>
3044 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3046 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3048 * text2.C (setParagraph): fix off-by-one crash
3050 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3052 * output_docbook.C: header stuff for AGU
3054 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3056 * text2.C (redoCursor): remove
3059 * BufferView_pimpl.C: remove calls to redoCursor and
3060 setCursor(cursor.par(), cursor.pos()) all around
3062 2003-12-15 Angus Leeming <leeming@lyx.org>
3064 * buffer.C: up the format to 228.
3066 2003-12-15 André Pönitz <poenitz@gmx.net>
3068 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3073 * BufferView_pimpl.C:
3082 2003-12-15 Angus Leeming <leeming@lyx.org>
3084 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3085 than getFromGUIName to manipulate the color.
3087 2003-12-14 Angus Leeming <leeming@lyx.org>
3089 * BranchList.[Ch]: minimize the API.
3090 (Branch::getBranch, getColor): now return a 'const &'.
3091 (Branch::setSelected) now returns a bool set to true if the
3092 selection status changes.
3093 (BranchList::clear, size, getColor, setColor, setSelected,
3094 allBranches, allSelected, separator): removed.
3095 (BranchList::find): new functions, returning the Branch with
3097 (BranchList::add, remove): return a bool indicating that
3098 the operation was successful.
3100 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3101 new InsetBranch::isBranchSlected member function.
3103 * LColor.[Ch]: mimimize the API.
3104 (fill): renamed as addColor and made private.
3105 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3106 versions of these functions taking a string arg have been removed.
3108 * bufferparams.C (readToken):
3109 * lyxfunc.C (dispatch):
3110 * lyxrc.C (read): changes due to the altered BranchList and
3113 * factory.C (createInset, readInset): changes due to altered
3116 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3119 * lyxfunc.C: remove insetminipage. "minipage-insert"
3120 now produces a frameless minipage box inset.
3122 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3124 * textcursor.[Ch] (selStart,selEnd): add new methods
3125 remove selection::start, end, use LyXCursor::operator<
3126 * lyxcursor.[Ch] (operator<): add
3127 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3128 * BufferView.[Ch] (unsetXSel): add
3129 * text2.C (clearSelection): use unsetXSel,adjust
3132 * rowpainter.C: adjust
3133 * bufferview_funcs.C (put_selection_at): adjust
3135 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3137 * BufferView_pimpl.C: small coord. correction
3139 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3141 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3142 dragging over the splash screen.
3144 2003-12-11 Angus Leeming <leeming@lyx.org>
3146 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3147 as it is now handled in LyXText::dispatch.
3149 * text3.C (doInsertInset): remove a level of nesting.
3151 2003-12-11 Angus Leeming <leeming@lyx.org>
3153 * factory.C (createInset): changes due to the changed interface to
3154 InsetCommandMailer::string2params.
3156 2003-12-10 Angus Leeming <leeming@lyx.org>
3158 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3159 'dialog-show-new-inset <inset name>'
3161 2003-12-10 Angus Leeming <leeming@lyx.org>
3163 * buffer.C: up the format to 227.
3165 * factory.C: the box inset is now identified simply by 'Box'.
3167 2003-12-10 Angus Leeming <leeming@lyx.org>
3169 * buffer.C: up the format to 226.
3171 * factory.C: the note inset is now identified simply by 'Note'.
3173 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3175 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3176 when a pit is enough. Standarize a couple of loops.
3178 2003-12-05 Angus Leeming <leeming@lyx.org>
3180 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3181 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3182 data to the re-worked "log" dialog.
3184 2003-12-03 André Pönitz <poenitz@gmx.net>
3190 * paragraph_funcs.C:
3192 * text2.C: use Inset::getText instead of Inset::getParagraph
3194 2003-12-03 André Pönitz <poenitz@gmx.net>
3198 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3199 InsetText::read() as LyXText::read()
3201 2003-12-02 Angus Leeming <leeming@lyx.org>
3203 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3204 type. Add a comment in the implementation that the function uses
3205 the stream's bad() function rather than fail() as the std::streams
3208 2003-12-02 André Pönitz <poenitz@gmx.net>
3210 * lyxlex.[Ch]: make interface more similar to std::stream
3212 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3214 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3216 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3218 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3220 * vspace.[Ch]: remove VSpace::NONE
3222 2003-12-01 André Pönitz <poenitz@gmx.net>
3225 * lyxtext.h: move ParagraphList member to LyXText
3226 rename LyXText::ownerParagraphs to LyXText::paragraph
3229 * bufferview_funcs.C:
3239 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3241 * undo.C: fix cursor positioning
3243 2003-12-01 John Levon <levon@movementarian.org>
3245 * BufferView_pimpl.C: fix a crash on exit with
3248 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3250 * BranchList.C: fix setSelected() method.
3252 2003-11-28 André Pönitz <poenitz@gmx.net>
3254 * ParagraphParameters.[Ch]:
3255 * ParameterStruct.h: remove space above/below from Paragraph to
3258 * BufferView_pimpl.C:
3264 * paragraph_funcs.C:
3270 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3272 * factory.C: Syntax change for CharStyles
3274 2003-11-28 André Pönitz <poenitz@gmx.net>
3279 * buffer.[Ch]: move LyXText member
3281 2003-11-28 André Pönitz <poenitz@gmx.net>
3283 * BufferView.[Ch]: make LyXText * text a private member
3285 * BufferView_pimpl.C:
3296 * output_plaintext.C: cleanup
3298 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3301 * lyxtextclass.[Ch]: parametrize SGML document header
3303 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3306 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3309 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3311 * text2.C (setFont): rework using PosIterator (no more recursive)
3312 (setCharFont): no more needed
3313 (setLayout): no more selection cursors fiddling (done by redoCursor)
3314 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3315 destroy remaining ones)
3317 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3319 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3321 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3324 * text3.C: adjust + re-allow multi par depth changes
3325 * textcursor.C: simplify a bit
3327 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3333 * src/output_docbook.C:
3334 * src/output_latex.C:
3339 * src/text2.C: Introducing a number of tags parametrizing various
3340 XML formats that we may want to support
3342 2003-11-25 André Pönitz <poenitz@gmx.net>
3344 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3346 * lyxtext.h (leftMargin/rightMargin): simplify interface
3353 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3355 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3356 master file to any child files. Fixes bug 546.
3358 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3360 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3362 2003-11-24 André Pönitz <poenitz@gmx.net>
3364 * rowpainter.C: simplification
3366 * text2.C (updateCounters): remove call to redoParagraph on
3367 changed labels as this is far too expensive.
3369 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3371 * converter.C (convert): fix a crash: this function gets
3372 called with buffer == 0 from importer code.
3374 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3376 * text3.C (cursorPrevious): make sure that we do not compare
3377 iterators form different containers.
3380 * rowpainter.C (paintSelection): make sure that we do not compare
3381 iterators from different containers.
3383 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3384 iterators from different ParagraphList containers.
3387 * text2.C (LyXText): change order of initialization slightly
3388 (operator=): new function. copy all variables except cache_par_
3389 (moveUp): make sure that we do not compare iterators from
3390 different ParagraphList constainers.
3393 * text.C (firstPar): new function
3394 (lastPar): new function
3395 (endPar): new function
3397 * lyxtext.h: move things around and group public functions, public
3398 variables, private functions, private variables
3400 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3402 * factory.C: change call to InsetERT constructor to avoid
3403 additional invocation of method status
3404 * text2.C (toggleInset): remove redundant update() call
3405 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3406 instead of a Bufferview pointer
3408 2003-11-21 André Pönitz <poenitz@gmx.net>
3410 * rowpainter.C: simplification
3412 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3414 * text3.C (dispatch): make possible to extend a word/row selection
3417 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3419 * lyxtext.h: x0_,y0_ -> xo_,yo_
3420 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3421 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3422 * rowpainter.C (paintRows): paint full paragraphs
3424 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3426 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3429 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3431 * lyxtext.h: add x0_, y0_
3432 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3433 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3435 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3437 * text2.C (setCursorIntern): move the x_target update here *
3438 * text3.C: change some bv() to true/false in calls to
3439 cursorUp/Down/Right/Left
3440 * cursor.C: use helper function.
3442 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3444 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3445 * paragraph_funcs.[Ch]: correct comment
3446 * rowpainter.C: do not paint selections away from bv->cursor()
3447 Fix a long standing selection painting bug.
3448 * text3.C: generalize mouse-selection code to LyXTexts other that
3450 * textcursor.C: do not use y coords if we can use par offsets
3452 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3454 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3455 cursor position after e.g. inset insert)
3457 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3459 * lyxfind.C (replace): adjust to locking removal + some
3462 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3464 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3467 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3470 * output_docbook.C: XML sanitation: new layout
3471 parameters InnerTag and CommandDepth
3473 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3475 * BufferView_pimpl.C:
3477 * text3.C: Fix the insertion and modification of button-style
3480 2003-11-13 André Pönitz <poenitz@gmx.net>
3482 * InsetList.[Ch]: remove deleteLyXText
3484 * paragraph.[Ch]: cache beginOfBody position
3489 * text3.C: remove superfluous update() calls
3493 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3495 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3496 * BufferView.C (fitLockedInsetCursor): remove
3497 * cursor.[Ch] (getDim): add
3498 * text.C (getRowNearY): add faster version
3499 * text3.C: remove some update calls
3501 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3513 * text3.C: The Character Style /XML short element patch.
3515 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3518 * factory.C: Small step to solving 'unable to insert some insets'
3521 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3523 * cursor.[Ch] (updatePos): new function for updating the y
3524 position of the tip inset
3525 * bufferview_funcs.C (put_selection_at):
3526 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3528 2003-11-11 André Pönitz <poenitz@gmx.net>
3530 * text.C: remove big comment on invalid Paragraph pointers as it is
3533 2003-11-11 André Pönitz <poenitz@gmx.net>
3535 * text_funcs.[Ch]: merge with ...
3543 * Makefile.am: remove text_funcs.[Ch]
3545 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3547 * cursor.C (getPos): return absolute cached y coord
3549 * BufferView_pimpl.C (fitCursor): new simplistic code
3550 (workAreaDispatch): add a fitCursor call
3552 2003-11-10 André Pönitz <poenitz@gmx.net>
3555 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3557 2003-11-10 André Pönitz <poenitz@gmx.net>
3559 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3560 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3561 indicate that the cursor needs to leave an inset
3563 * lyxtext.h: remove inset locking
3565 * cursor.[Ch]: re-implement functionality provided by inset locking
3568 * BufferView_pimpl.[Ch]:
3570 * bufferview_funcs.[Ch]:
3582 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3584 * PosIterator.[Ch]: replace the stack with a vector, add inset
3586 * iterators.[C]: adjust
3588 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3590 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3592 * paragraph_funcs.C (readParToken): put the correct id in the
3593 error item, not the id of the top paragraph
3595 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3597 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3598 * bufferview_funcs.C (put_selection_at): use the above
3600 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3602 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3604 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3606 * output_linuxdoc.h:
3607 * output_plaintext.h:
3609 * output_docbook.h: add #include statements
3611 2003-11-05 José Matos <jamatos@lyx.org>
3613 * output_docbook.[Ch]:
3614 * output_latex.[Ch]:
3615 * output_linuxdoc.[Ch]:
3616 * output_plaintext.[Ch]: New files for output formats.
3617 * output.[Ch]: New file for helper functions.
3620 * paragraph_funcs.[Ch]: output functions moved to new files.
3622 * outputparams.h: rename of latexrunparams.h
3630 * paragraph_funcs.[Ch]:
3631 * paragraph_pimpl.[Ch]:
3632 * tabular.[Ch]: rename ascii to plaintext
3633 and LatexRunParams to OutputParams.
3635 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3637 * iterators.[Ch] (text): require bv argument
3638 * undo.C (recordUndo):
3639 * lyxfunc.C (dispatch):
3640 * bufferview_funcs.C (put_selection_at): adjust
3642 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3644 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3646 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3648 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3651 2003-11-04 André Pönitz <poenitz@gmx.net>
3653 * cursor.[Ch]: restructure
3656 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3658 * iterators.[Ch] (asCursor): remove
3660 * lfuns.h: remove LFUN_INSET_EDIT
3666 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3668 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3670 * lyxfind.[Ch]: complete overhaul
3671 * BufferView_pimpl.C:
3673 * paragraph.[Ch] (insert): add
3675 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3679 * text.C: remove dead spellcheck code
3681 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3683 * dispatchresult.h: add a val setter
3685 * cursor.C (dispatch): use a tempvar for data_[i]
3687 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3689 * PosIterator.[Ch]: compile fix
3691 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3693 * text.C (cursorPar): deactivate the cursor cache
3695 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3697 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3699 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * text3.C (dispatch): adjust for new DisptchResult semantics.
3703 * lyxfunc.C (dispatch): handle update when return from
3704 Cursor::dispatch, adjust for new DispatchResult semantics.
3706 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3707 DispatchResult(true) mean to not update. Add class functions for
3708 setting dispatched and update, as well as reading.
3710 * cursor.C (dispatch): don't handle update here
3712 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3715 * trans_mgr.C: adjust
3717 * paragraph_funcs.C (readParToken): exception safety
3719 * lyxvc.h: store the vcs pointer in a scoped_ptr
3722 * lyxsocket.C (serverCallback): exception safety
3724 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3726 * ispell.C (clone): make it return a auto_ptr
3728 * factory.C (createInset): exception safety
3729 (readInset): exception safety
3731 * bufferlist.C (newBuffer): exception safety
3733 * Thesaurus.C (Thesaurus): use initialization for aik_
3735 * MenuBackend.C (expandToc): exception safety.
3737 2003-11-03 André Pönitz <poenitz@gmx.net>
3741 * bufferview_funcs.C: remove getInsetFromId()
3744 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3750 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3752 * PosIterator.C (distance, advance): new
3753 * bufferview_funcs.[Ch] (put_selection_at): new
3754 * iterators.[Ch] (lockPath): new
3756 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3758 * iterators.[Ch] (asPosIterator): added
3759 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3760 * PosIterator.[Ch]: added
3762 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * cursor.C (dispatch):
3767 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3769 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3770 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3771 contructor, add a class function dispatched. Remove operator>=
3773 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * debug.C: only use the default constructor for debugstream
3778 * main.C (main): include debug.h and setup the lyxerr streambuf
3781 2003-10-31 José Matos <jamatos@lyx.org>
3783 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3785 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3786 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3787 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3788 * paragraph_pimpl.C (simpleTeXSpecialC):
3789 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3790 add LatexRunParams argument.
3792 * exporter.C (Export): change call accordingly.
3794 * latexrunparams.h: add new member to take care of the other backends.
3795 2003-10-30 José Matos <jamatos@lyx.org>
3797 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3798 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3799 factorise code for paragraph output.
3801 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3804 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * text3.C (dispatch):
3807 * lyxfunc.C (dispatch):
3808 * cursor.C (dispatch):
3809 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3811 * dispatchresult.h: make the dispatch_result_t ctor explicit
3813 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3816 * buffer.C: small refactoring of docbook stuff
3818 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3820 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3823 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3826 operator dispatch_result_t, and operators for == != and >=
3828 * cursor.C (dispatch): adjust for operator dispatch_result_t
3829 removal. comment out call to update
3831 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3833 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3841 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3844 * dispatchresult.h: new file, DispatchResult broken out of
3847 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3849 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3851 * text.C (rowBreakPoint): put a hack inside #if 0
3853 2003-10-28 André Pönitz <poenitz@gmx.net>
3857 * paragraph_funcs.C:
3860 * text2.C: general cleanup (lots of small stuff)
3862 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3864 * text2.C (cursorEnd): simple fix to the "end key goes to one
3865 before the end on last row" bug
3867 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3869 * text.C (backspace): fix the "zombie characters"
3871 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3873 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3875 2003-10-27 André Pönitz <poenitz@gmx.net>
3877 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3879 * factory.C: handle new InsetPagebreak, InsetLine
3881 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3882 and move handling into new InsetPagebreak, InsetLine
3884 * BufferView_pimpl.C:
3886 * ParagraphParameters.C:
3887 * ParameterStruct.h:
3892 * paragraph_funcs.C:
3893 * paragraph_pimpl.C:
3899 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3902 * lyxrow_funcs.[Ch]:
3908 * text3.C: remove lastPos uses in favour of Row::endpos
3910 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3912 * undo.C (performUndoOrRedo): fix two crashes by setting a
3913 cursor by hand and reordering some calls. Use bv->lockInset instead
3914 of inset->edit because the latter loses cursor information
3916 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3918 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3920 (rowBreakPoint): fix width. change point to point + 1.
3921 Add a missing check.
3923 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3926 * lyxfunc.C: fix (at least partly) the problems
3927 with the Nav menu and headers inside branch insets
3930 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3932 * paragraph.C (getChar): add strong asserts
3934 * lyxrow_funcs.C (lastPos): remove hideous hack
3936 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3937 (fill): adjust to that (avoid an infinite loop)
3939 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3941 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3943 2003-10-23 André Pönitz <poenitz@gmx.net>
3945 * RowList_fwd.h: change list<> to vector<> to gain speed
3946 after suggestion from Alfredo
3948 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3950 * lyxtext.h: move the bidi stuff from here...
3953 * Bidi.[Ch]: ... to here
3955 2003-10-23 André Pönitz <poenitz@gmx.net>
3958 * text.C (isLastRow, isFirstRow): new functions
3960 * paragraph.h: new width cache member
3962 * rowpainter.C: replace RowList::iterator with Row & where possible
3964 * lyxfunc.C: replace several view()->text with a single call
3966 * toc.C: fix 'unused' warning
3968 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3971 when woring with stream::pos_type
3972 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3974 2003-10-22 André Pönitz <poenitz@gmx.net>
3977 * text.C: use Row & instead of RowList::iterator
3979 * lyxrow.h: rename end() to endpos()
3985 2003-10-22 Angus Leeming <leeming@lyx.org>
3987 * buffer.[Ch] (fully_loaded): new member function, returning true
3988 only when the file has been loaded fully.
3989 Used to prevent the premature generation of previews and by the
3990 citation inset to prevent computation of the natbib-style label.
3992 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3993 templates are all set up.
3995 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3997 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3999 * text.C: fixed an "oops" in the "is a bit silly"
4002 2003-10-21 André Pönitz <poenitz@gmx.net>
4004 * FuncStatus.[Ch]: small stuff, whitespace
4006 * lyxfont.[Ch]: operator<<() for debug reasons
4010 * lyxtext.h: whitespace, spelling
4012 * paragraph.C: naming of variables
4015 * text2.C: small stuff
4018 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4020 * text.C: (1) finish off the inset display() work;
4021 (2) fix the "is a bit silly" bug (accessing char
4024 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4026 * text.C: re-introduce display() for insets, fixing the
4027 various bugs (stretch of line above, math inset
4030 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4032 * text.C (rightMargin): remove spurious semicolon
4034 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4037 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4039 * text3.C: fix one crash due to wrong cursor def
4041 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4043 * vc-backend.C (scanMaster): make the regex static
4045 * LaTeX.C (scanAuxFile): make the regexs static
4047 * text3.C (doInsertInset, dispatch, dispatch):
4048 * text2.C (cursorUp, cursorDown):
4049 * text.C (selectNextWordToSpellcheck):
4050 * BufferView_pimpl.C (dispatch):
4051 * lyxfunc.C (dispatch): localDispatch -> dispatch
4053 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4055 * lyxsocket.C: include <cerrno>
4057 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * lyxfunc.C (dispatch): remove textcache stuff
4061 * bufferlist.C (release): remove textcache stuff
4064 * TextCache.C: delete file
4065 * TextCache.h: delete file
4067 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4069 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4070 delete of the bv_->text.
4071 (resizeCurrentBuffer): remove texcache stuff
4072 (workAreaResize): ditto
4074 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4076 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4079 2003-10-16 André Pönitz <poenitz@gmx.net>
4086 * text3.C: speed up by storing y positions per paragraph plus per-row
4087 offset instead of having a 'full' y position in the row.
4089 2003-10-15 André Pönitz <poenitz@gmx.net>
4093 * undo.[Ch]: make undo aware of inner insets
4095 2003-10-14 Angus Leeming <leeming@lyx.org>
4097 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4098 static member functions LyX::ref() and LyX::cref.
4099 (lastfiles): new accessor functions for the new lastfiles_ member var.
4100 (addLyXView, views_): add a new LyXView to the list of views_.
4101 (updateInset): loop over all LyXViews to call their own updateInset
4102 member function, returning a pointer to the Buffer owning the inset.
4104 * BufferView_pimpl.C (loadLyXFile):
4105 * MenuBackend.C (expandLastfiles):
4106 * bufferlist.C (MenuWrite, QuitLyX):
4107 lastfiles is no longer a global variable.
4108 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4110 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4111 static function. Access through LyX::cref().emergencyCleanup().
4113 2003-10-14 André Pönitz <poenitz@gmx.net>
4115 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4117 * undo.[Ch]: restoring part of 'undo in insets'
4120 * undo_funcs.[Ch]: merge with undo.[Ch]
4122 * tabular.C: small cleansing stuff
4124 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4126 * paragraph_funcs.C (readParToken): report unknown insets as error
4127 boxes. Use the outer paragraph as location (also for unknown
4130 * factory.C (readInset): do not abort on reading an unknown inset.
4131 Eat it and return 0.
4133 2003-10-13 Angus Leeming <leeming@lyx.org>
4135 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4137 * lyxrc.C: displayTranslator is now a function,
4138 declared in GraphicsTypes.h.
4140 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4142 * format.C: new placeholder $$a to pass the socket address.
4144 * bufferlist.[Ch]: new function getBufferFromTmp.
4146 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4147 files in the temporary dir.
4149 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4151 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4153 * Makefile.am: add lyxsocket.[Ch].
4155 * lyx_main.C (error_handler): handle SIGPIPE.
4157 2003-10-13 André Pönitz <poenitz@gmx.net>
4159 * BufferView_pimpl.C:
4164 * undo_funcs.[Ch]: use paroffset_type instead of
4165 ParagraphList::iterators to prevent multiple conversion
4166 (and get a more robust interface)
4168 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4170 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4172 * text3.C (dispatch): ditto
4174 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4176 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4177 move the onlyfile, use onlyfile instead of foundfile in a couple
4180 * DepTable.C (update): flush the error stream a bit more
4182 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4184 * lyxserver.C (callback): adjust
4186 * lyxfunc.C (getStatus): add a missing brace in commented code
4187 (ensureBufferClean): reindent
4188 (dispatch): delete version taking a string
4190 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * LaTeX.C (deplog): move found file handlig from here...
4193 (handleFoundFile): .. to new function here.
4194 (deplog): make sure to discover several files mentioned on the
4197 2003-10-10 André Pönitz <poenitz@gmx.net>
4204 * text3.C: fix some of the tabular crashes
4206 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4208 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4210 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4212 2003-10-09 André Pönitz <poenitz@gmx.net>
4214 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4217 * BufferView_pimpl.C:
4218 * bufferview_funcs.C:
4229 * undo_funcs.C: adjust
4231 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * text2.C (incrementItemDepth): new function, use a backtracking
4234 algorithm to discover the correct item depth.
4235 (resetEnumCounterIfNeeded): new function, use a backtracking
4236 algorithm to discover if counter reset is needed.
4237 (setCounter): use them. Simplify a bit. Add different labels for
4238 different item depths for itemize.
4240 * paragraph.C (Paragraph): remove initialization of enumdepth
4243 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4244 enumerate and itemize. Change the type of itemdepth to signed char.
4246 2003-10-08 André Pönitz <poenitz@gmx.net>
4248 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4253 * tabular.[Ch]: fix crash after 'row-insert'
4255 2003-10-08 Angus Leeming <leeming@lyx.org>
4257 Fix doxygen warnings.
4259 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4260 Remove CutAndPaste:: prefix from header file declaration.
4262 * LColor.h (fill): remove LColor:: prefix from declaration.
4264 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4265 use lyx::depth_type rather than Paragraph::depth_type so that
4266 header file and .C file match.
4268 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4270 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4271 * aspell.C: \file aspell_local.C -> \file aspell.C
4272 * gettext.C: \file gettext.C -> \file src/gettext.C
4273 * gettext.h: \file gettext.h -> \file src/gettext.h
4274 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4275 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4276 * text.C: \file text.C -> \file src/text.C
4278 * toc.C: move comment so that doxygen is not confused.
4280 2003-10-07 Angus Leeming <leeming@lyx.org>
4282 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4284 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4287 * aspell_local.h: add forgotten std::string's.
4289 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4296 * text3.C: The Box patch. Fancybox support, minipage, parbox
4298 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4304 * ParagraphParameters.h:
4314 * lyxtextclasslist.h:
4317 * paragraph_pimpl.C:
4318 * textcursor.h: add <string> and other small fixes to make Lars'
4319 std::string patch compile with STLport.
4321 2003-10-06 Angus Leeming <leeming@lyx.org>
4323 * LColor.h: Add missing #include <string>.
4325 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * All most all file in all subdirs: Make <string> be the prefered
4328 way of getting to std::string, add using declarations.
4330 2003-10-06 André Pönitz <poenitz@gmx.net>
4332 * metricsinfo.C: initialize LyXFont before changing attribute.
4333 (fixes the 'math in \emph is upright' bug)
4335 2003-10-06 André Pönitz <poenitz@gmx.net>
4337 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4339 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4342 * paragraph_pimpl.C: Small fixes to build using STLport
4344 2003-10-02 André Pönitz <poenitz@gmx.net>
4347 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4349 2003-10-01 André Pönitz <poenitz@gmx.net>
4351 * factory.C: assert early
4353 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * lyx_main.C: remove the global debug object
4357 * debug.h: adjust for new debugstream
4359 * debug.C: adjust for new debugstream and keep the global debug
4362 2003-09-22 Angus Leeming <leeming@lyx.org>
4364 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4365 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4366 an incomplete class LyXFont.
4368 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4370 * factory.C: bug fix in branches
4372 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * lyxfunc.C (processKeySym): adjust
4376 (dispatch): change arg name from ev to func, adjust
4377 (sendDispatchMessage): ditto
4379 * lyx_main.C (defaultKeyBindings): adjust keybindings
4380 (deadKeyBindings): ditto
4382 * kbsequence.C (addkey): return a FuncRequest
4384 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4386 * kbmap.C (bind): take a FuncRequest as arg, adjust
4389 (defkey): change to take a FuncRequest as arg, adjust
4390 (findbinding): take a FuncRequest as arg, adjust.
4392 * funcrequest.h (operator=): added
4394 * funcrequest.C (FuncRequest): default kb_action changed from
4395 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4397 * buffer.C (dispatch): simplify
4398 (dispatch): adjust to take a FuncRequest as arg, adjust
4400 * boost.C (assertion_failed): change assertion message slightly
4402 * ToolbarBackend.C (read): simplify
4404 * MenuBackend.C (binding): adjust call to findbinding, add a
4405 message if no binding is found.
4407 (expandToc): correct by adding a empty FuncRequest
4409 * LyXAction.C: include <boost/assert.hpp>
4410 (isPseudoAction): delete function
4411 (LookupFunc): change name to...
4412 (lookupFunc): this. change return type to FuncRequest.
4413 (getActionName): take kb_action as arg, simplify
4414 (funcHasFlag): add an assert, simplify.
4416 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * toc.C (action): return a FuncRequest, simplify
4420 * lyxfunc.C (processKeySym): adjust
4421 (getStatus): delete version that takes an int.
4423 (dispatch): delete version that takes action as int
4425 (sendDispatchMessage): simplify and adjust
4427 * funcrequest.C (getArg): take unsigned int as arg
4429 * ToolbarBackend.C (read): adjust
4430 (add): delete version that takes func as a string.
4431 (getIton): take a FuncRequest as arg
4433 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4436 * MenuBackend.C (MenuItem): add a new construct that only takes a
4437 Kind, simplify the constructor use for submenus.
4439 (expandLastfiles): adjust
4440 (expandDocuments): adjust
4441 (expandFormats): adjust
4442 (expandFloatListInsert): adjust
4443 (expandFloatInsert): adjust
4444 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4446 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4447 Remove class variables lyx_pseudo_map and lyx_arg_map
4449 * LyXAction.C (searchActionArg): delete function
4450 (getPseudoAction): delete function
4451 (retrieveActionArg): delete function
4452 (LookupFunc): make it return kb_action, simplify.
4453 (getActionName): simplify
4455 * factory.C (createInset): fix new bug
4457 2003-09-19 Angus Leeming <leeming@lyx.org>
4459 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4460 masterFilename_ parameter in the include inset.
4462 * factory.C (createInset): changes due to the changes to InsetInclude.
4464 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4466 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4468 2003-09-18 Angus Leeming <leeming@lyx.org>
4471 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4472 Inset::fillWithBibKeys.
4473 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4475 2003-09-18 Angus Leeming <leeming@lyx.org>
4477 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4479 (ctor): pass and store a 'Buffer const &'
4480 (buffer): new member function.
4482 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4483 '*this' to the LaTeXFeatures ctor.
4485 2003-09-18 Angus Leeming <leeming@lyx.org>
4491 * text.C: rename EnumLColor as LColor_color.
4493 2003-09-18 Angus Leeming <leeming@lyx.org>
4495 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4496 remove #include "insets/insetbase.h" from cursor.h.
4498 2003-09-18 Angus Leeming <leeming@lyx.org>
4500 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4501 InsetOld_code to remove #include "inset.h".
4503 * iterators.C: add #include "insets/inset.h"
4505 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4507 * BufferView.C: remove more locking stuff that apparently doesn't
4508 do anything sensible.
4510 2003-09-16 André Pönitz <poenitz@gmx.net>
4513 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4516 2003-09-16 Angus Leeming <leeming@lyx.org>
4518 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4520 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4523 * paragraph.h: remove #include "lyxfont.h". Forward declare
4526 2003-09-16 Angus Leeming <leeming@lyx.org>
4528 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4529 of support/textutils.h.
4530 (isWord): move the contents of support/textutils.h's IsWordChar here.
4536 * text2.C: add #include "paragraph.h".
4539 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4541 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4547 * LaTeX.C: use namespace alias for lyx::support::os
4549 2003-09-16 Angus Leeming <leeming@lyx.org>
4552 * bufferview_funcs.C:
4555 * paragraph_pimpl.C:
4557 * text.C: add #include "LColor.h".
4559 2003-09-16 Angus Leeming <leeming@lyx.org>
4561 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4562 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4564 Store the FontBits::color variable as an int rather than as an
4565 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4568 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4569 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4570 string calls together.
4572 * lyxrc.C: add #include "LColor.h".
4574 2003-09-15 Angus Leeming <leeming@lyx.org>
4576 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4579 2003-09-15 Angus Leeming <leeming@lyx.org>
4581 * LColor.h: add an EnumLColor wrapper for LColor::color.
4583 * lyxfont.[Ch] (color, setColor, realColor):
4584 * lyxtext.h, text.C (backgroundColor):
4585 pass EnumLColor args to/from the functions, rather than LColor::color
4589 * lyxtext.h: forward declare EnumLColor.
4591 * lyx_main.C: add #include "LColor.h".
4593 2003-09-15 Angus Leeming <leeming@lyx.org>
4595 * .cvsignore: add lyx-gtk.
4597 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * ParagraphParameters.C
4606 * bufferview_funcs.C
4616 * vc-backend.C: remove usage of STRCONV
4618 2003-09-15 Angus Leeming <leeming@lyx.org>
4620 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4621 explicitly define the color passed to the painter.
4623 2003-09-15 Angus Leeming <leeming@lyx.org>
4625 * bufferparams.C (BufferParams): reorder member initializers to avoid
4628 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4630 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4631 * text.C (updateRowPositions): remove an unusual nop
4633 2003-09-12 André Pönitz <poenitz@gmx.net>
4635 * BufferView_pimpl.C:
4644 * Counters.[Ch]: finish the 'automatic counters' job
4646 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4648 * aspell.C: include <boost/assert.cpp> (compile fix)
4650 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4652 * boost.C (assertion_failed): use lyx::support::abort instead of
4655 2003-09-10 Angus Leeming <leeming@lyx.org>
4657 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4658 with their _fwd progeny.
4660 2003-09-09 Angus Leeming <leeming@lyx.org>
4662 134 files throughtout the source tree: replace 'using namespace abc;'
4663 directives with the appropriate 'using abc::xyz;' declarations.
4665 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4667 * boost.C (emergencyCleanup): moved here from LAssert.c
4668 (assertion_failed): new function, called by BOOST_ASSERT
4670 * several files: change Assert to BOOST_ASSERT
4672 2003-09-09 Angus Leeming <leeming@lyx.org>
4674 * buffer.[Ch]: Add an Impl class and move Buffer's member
4675 variables into it. As a result move several header files out of
4678 Add header files to lots of .C files all over the tree as a result.
4680 2003-09-09 Angus Leeming <leeming@lyx.org>
4682 * buffer.[Ch]: make Buffer's member variables private. Add
4685 Lots of changes all over the tree as a result.
4687 2003-09-08 Angus Leeming <leeming@lyx.org>
4689 * graph.C: #include <config.h>.
4691 2003-09-08 Angus Leeming <leeming@lyx.org>
4695 * BufferView_pimpl.C:
4724 * toc.C: remove redundant using directives.
4726 2003-09-07 Angus Leeming <leeming@lyx.org>
4728 * LaTeXFeatures.h: remove #include "support/types.h".
4729 * ToolbarBackend.h: remove #include <algorithm>.
4730 * changes.h: remove #include <ctime>.
4731 * debug.h: remove #include <iosfwd>.
4732 * graph.h: remove #include "support/std_string.h".
4733 * lyx_main.h: remove #include <csignal>.
4734 * lyxlex_pimpl.h: remove #include <fstream>.
4735 * sgml.h: remove #include <algorithm>, <utility>.
4736 * toc.h: remove #include "support/std_ostream.h".
4737 Add #include <iosfwd>.
4739 2003-09-07 Angus Leeming <leeming@lyx.org>
4741 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4743 * converter.h: forward declare LatexRunParams.
4744 * encoding.h: remove #include "lyxrc.h".
4745 * lyxtext.h: remove #include "LColor.h".
4746 * lyxtextclass.h: remove #include "support/types.h".
4747 * trans.h: remove #include "tex-accent.h".
4748 * trans_mgr.h: remove #include "tex-accent.h".
4749 * insets/inset.h: remove #include "support/types.h", <vector>.
4750 * insets/insetcollapsable.h: remove #include "LColor.h".
4751 * insets/insetinclude.h: remove #include "dimension.h".
4752 * insets/insetlatexaccent.h: remove #include "dimension.h".
4753 * insets/insetoptarg.h:: remove #include "insettext.h".
4754 * insets/insettext.h: remove #include "dimension.h",
4755 <boost/shared_ptr.hpp>
4757 * insets/renderers.h: add #include "dimension.h".
4758 * insets/updatableinset.h: add #include "support/types.h".
4760 * many .C files: Associated changes.
4762 2003-09-06 Angus Leeming <leeming@lyx.org>
4764 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4765 one, inside testInvariant.
4767 * PrinterParams.C: new file.
4768 * PrinterParams.[Ch]: move the function bodies out of line.
4770 2003-09-06 Angus Leeming <leeming@lyx.org>
4772 * ParagraphParameters.h: forward declare ParameterStruct rather than
4773 including its header file.
4774 (depth): moved out-of-line.
4776 2003-09-06 Angus Leeming <leeming@lyx.org>
4778 * BufferView_pimpl.h:
4781 * lyxfunc.h: forward declare LyXKeySym rather than
4782 #include "frontends/LyXKeySym.h".
4784 * BufferView_pimpl.C:
4787 * lyxfunc.C: associated changes.
4789 2003-09-06 Angus Leeming <leeming@lyx.org>
4791 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4792 As a result, can remove the #include "insets/inset.h" from BufferView.h
4794 2003-09-06 Angus Leeming <leeming@lyx.org>
4796 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4797 As a result, can remove the #include "insets/inset.h" from BufferView.h
4799 2003-09-06 Angus Leeming <leeming@lyx.org>
4805 * bufferview_funcs.C:
4806 * BufferView_pimpl.C:
4811 * ParagraphParameters.C:
4816 * frontends/controllers/ControlDocument.C:
4817 * insets/insetcaption.C: rearrange the #includes into some sort of
4820 * buffer.h: remove #includes ErrorList.h, undo.h
4822 2003-09-06 Angus Leeming <leeming@lyx.org>
4824 * support/types.h: add a 'depth_type' typedef, used to store the
4825 nesting depth of a paragraph.
4828 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4829 defining explicitly.
4832 * paragraph_funcs.h:
4833 * ParagraphParameters.h:
4834 * sgml.h: use lyx::depth_type rather than Paragraph or
4835 ParameterStruct's depth_type.
4838 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4841 * BufferView_pimpl.C:
4843 * ParagraphParameters.C:
4846 * bufferview_funcs.C:
4853 * frontends/LyXView.C:
4854 * frontends/controllers/ControlDocument.C:
4855 * frontends/controllers/ControlErrorList.C:
4856 * insets/insetbibitem.C:
4857 * insets/insetbranch.C:
4858 * insets/insetcaption.C:
4859 * insets/insetcollapsable.C:
4860 * insets/insetenv.C:
4861 * insets/insetert.C:
4862 * insets/insetfloat.C:
4863 * insets/insetfoot.C:
4864 * insets/insetfootlike.C:
4865 * insets/insetnewline.C:
4866 * insets/insetquotes.C:
4867 * insets/insettabular.C:
4868 * insets/insettext.C:
4869 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4871 * frontends/controllers/ControlChanges.C: #include "changes.h".
4873 2003-09-06 Angus Leeming <leeming@lyx.org>
4875 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4876 than #including paragraph.h.
4879 * RowList.h: deleted. Superfluous.
4889 * insets/insettext.h: use ParagraphList_fwd.h rather than
4892 * paragraph.h: don't forward declare ParagraphList.
4895 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4896 rather than ParagraphList.h. paragraph.h is still needed for the
4897 Paragraph::depth_type parameters.
4899 * textcursor.h: enable it to compile stand-alone in light of the
4902 * bufferview_funcs.C:
4914 * frontends/controllers/ControlParagraph.C:
4915 * frontends/controllers/ControlTabular.C:
4916 * insets/insetmarginal.C:
4917 * insets/insetminipage.C:
4918 * insets/insetnote.C:
4919 * insets/insetoptarg.C: add header files needed to compile again.
4921 2003-09-06 Angus Leeming <leeming@lyx.org>
4923 * RowList_fwd.h: new file, forward-declaring Row rather than
4924 #including lyxrow.h.
4929 * insets/insettext.h: use it instead of RowList.h
4931 * bufferview_funcs.C:
4938 * text3.C: #include "RowList.h".
4940 2003-09-05 Angus Leeming <leeming@lyx.org>
4942 * factory.C (createInset):
4943 * vspace.C (c-tor): replace sscanf call with an istringstream.
4944 * ispell.C: re-add missing HP/UX headers.
4945 * lyxserver.C: re-add missing os2 headers.
4947 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4956 * text3.C: re-add missing system headers, needed for 2.95.2.
4958 2003-09-05 Angus Leeming <leeming@lyx.org>
4960 Changes most place everywhere due to the removal of using directives
4961 from support/std_sstream.h.
4963 2003-09-05 Angus Leeming <leeming@lyx.org>
4965 Replace LString.h with support/std_string.h,
4966 Lsstream.h with support/std_sstream.h,
4967 support/LIstream.h with support/std_istream.h,
4968 support/LOstream.h with support/std_ostream.h.
4970 Changes resulting throughout the tree.
4972 2003-09-05 Angus Leeming <leeming@lyx.org>
4974 * sgml.h: ensure that the header file can be compiled stand-alone.
4975 * *.C: strip out redundant #includes. (320 in total.)
4977 2003-09-04 Angus Leeming <leeming@lyx.org>
4979 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4980 here (from getPackages).
4982 * debug.[Ch]: add a new EXTERNAL tag.
4984 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4986 * text2.C (cursorEnd): simplify
4988 (getColumnNearX): adjust
4990 * text.C (computeBidiTables): adjust
4993 * rowpainter.C (paintChars): adjust
4994 (paintSelection): adjust
4995 (paintChangeBar): adjust
4998 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5000 (numberOfSeparators): adjust
5002 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5008 * text3.C: Restricts the mouse click functionality
5009 of insets like bibtex, include, toc and floatlist to the visible
5010 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5011 up the dialogs. Cursor has to be in front of the inset (i.e.
5012 start of row) for this to function.
5014 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5016 * bufferview_funcs.C (currentState): output row information
5018 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5020 * bufferview_funcs.C (currentState): output paragraph position
5022 2003-09-04 Angus Leeming <leeming@lyx.org>
5024 * FloatList.h: move out #include "Floating.h".
5025 * LaTeX.h: move out #include "DepTable.h".
5026 * LyXAction.h: move out #include "funcrequest.h".
5027 * buffer.h: move out #include "author.h", "iterators.h".
5028 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5029 * lyx_main.h: move out #include "errorlist.h".
5030 * lyxfunc.h: move out #include "FuncStatus.h".
5031 * lyxtext: move out #include "lyxcursor.h".
5032 * paragraph_pimpl.h: move out #include "counters.h".
5034 2003-09-03 Angus Leeming <leeming@lyx.org>
5036 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5037 preamble_snippets list, enabling us to add snippets to the preamble
5038 only if the snippet was not there already.
5040 2003-09-04 Angus Leeming <leeming@lyx.org>
5042 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5044 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5046 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5049 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5051 * BranchList.C: point fix, earlier forgotten
5053 2003-09-02 Angus Leeming <leeming@lyx.org>
5055 * box.C (contains): renamed from 'contained' after a fantastic
5058 2003-09-02 John Levon <levon@movementarian.org>
5064 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5066 2003-09-02 John Levon <levon@movementarian.org>
5068 * text2.C: simplification of cursorEnd(), including partial
5071 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5073 * buffer.C (readFile): add a space
5075 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5077 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5079 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5081 * buffer.C (readFile): new function, take a filename and a
5082 ParagraphList::iterator
5084 (readFile): adjust, make it private. don't use setStream, make
5085 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5086 always contain the filename.
5088 * BufferView.C (insertLyXFile): simplify and make it work for
5091 2003-08-30 John Levon <levon@movementarian.org>
5093 * Makefile.am: fix dist (from Kayvan)
5095 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5097 * most files: change to use const Buffer refs
5099 2003-08-27 André Pönitz <poenitz@gmx.net>
5101 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5102 on top of ownerPar().
5104 2003-08-27 John Levon <levon@movementarian.org>
5106 * funcrequest.C: properly initialise POD members
5108 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5110 * lyxtext.h (top_y): move top_y from here
5115 * BufferView_pimpl.[Ch]: to here
5116 * frontends/screen.C:
5117 * insets/insettabular.C:
5118 * insets/insettext.C: adjust
5119 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5121 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5124 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5126 2003-08-26 André Pönitz <poenitz@gmx.net>
5128 * paragraph_func.[Ch] (outerPar): new function
5131 * paragraph_funcs.C:
5132 * paragraph_funcs.h:
5133 * paragraph_pimpl.C:
5134 * text2.C: remove Inset::par_owner
5136 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5141 * text2.C: eliminates the needFullRow/display() stuff
5142 altogether, putting the logic in metrics/draw in the insets.
5144 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5146 * text2.C (redoParagraphInternal, redoParagraphs):
5147 * text.C (redoParagraph): add a call to updateRowPositions at the
5148 end of each 'metrics-like' call. Remove all others.
5149 (getRow): remove the 'y-computing' version.
5150 (getRowNearY): do not compute nor return the real y. Solve the
5151 'y < 0' problem and simplify.
5153 2003-08-22 Angus Leeming <leeming@lyx.org>
5155 * *.[Ch]: clean-up of licence and author blurbs.
5156 Also move config.h out of a few .h files and into a few .C files.
5158 2003-08-22 André Pönitz <poenitz@gmx.net>
5160 * lyxrow.[Ch]: add x_ and *fill_ members
5165 * text2.C: adjust/remove prepareToPrint() calls
5167 2003-08-22 André Pönitz <poenitz@gmx.net>
5169 * lyxrow.[Ch]: add end_ member
5171 * lyxrow_funcs.C: use LyXRow::end_
5173 * lyxtext.h (singleWidth): add LyXFont parameter
5176 * text2.C: adjust LyXText::singleWidth() calls
5178 * text.C (redoParagraph): simplify row breaking logic
5181 2003-08-19 André Pönitz <poenitz@gmx.net>
5183 * funcrequest.C: initialize button_ member
5186 * rowpainter.[Ch]: interface consolidation
5188 2003-08-18 André Pönitz <poenitz@gmx.net>
5191 * BufferView_pimpl.C:
5193 * paragraph_funcs.C:
5195 * text3.C: remove LyXScreen::draw() and fitCursor calls
5197 * BranchList.h: remove spurious semicolons
5199 * MenuBackend.C: fix branchlist related crash
5201 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5209 * bufferparams.[Ch]:
5213 * text3.C: implements the 'branch inset'
5214 idea. This allows the output of various versions of a document
5215 from a single source version, selectively outputing or suppressing
5216 output of parts of the text.
5217 This implementation contains a 'branch list editor' in a separate
5218 tab of the document settings dialog. Branches are user definable
5219 and have a "display colour" to distinguish them on-screen.
5221 ColorHandler was somewhat cleaned up.
5222 (1) make possible a dynamically growing LColor list by allowing
5223 the graphic context cache to grow along (vector);
5224 (2) eliminate an IMHO unnecessary step in colour allocation.
5226 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5228 * BufferView_pimpl.C: compile fix
5230 2003-08-15 André Pönitz <poenitz@gmx.net>
5232 * rowpainter.C: remove extra metrics calls
5234 * lyxtext.h: merge the two constructors into a single one,
5235 pass reference to owner's par list
5237 * BufferView_pimpl.C:
5241 2003-08-15 André Pönitz <poenitz@gmx.net>
5243 * lyxrow_funcs.[Ch]:
5246 * paragraph_funcs.C:
5251 * text_funcs.C: split LyXText::rowlist_ into individual
5252 Paragraph::rows_ chunks
5255 * BufferView_pimpl.[Ch]:
5258 * text3.C: remove toggleSelection()
5260 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5262 * bufferlist.C: beautify two alerts (shorter text of buttons)
5263 * buffer.C: Remove redundant ' ' from message
5265 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5266 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5267 rename VALIGN_CENTER to VALIGN_MIDDLE
5269 2003-08-11 André Pönitz <poenitz@gmx.net>
5271 * lyxtext.h (getPar):
5272 * text.C: new function
5274 2003-08-11 André Pönitz <poenitz@gmx.net>
5277 * tracer.[Ch]: remove unneeded files
5279 * InsetList.[Ch]: remove resizeInsetsLyXText()
5284 * text3.C: merge insertParagraphs() and appendParagraph()
5285 remove breakAgain(), update()
5287 * BufferView_pimpl.[Ch]:
5288 * bufferview_funcs.[Ch]:
5292 * tabular.C: adjust after text & InsetList changes.
5294 2003-08-08 André Pönitz <poenitz@gmx.net>
5296 * text.C (insertChar, backspace): replace rowlist fiddling
5297 with rebreak of full par
5300 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5301 checkParagraph, updateInset): removed
5303 2003-08-07 André Pönitz <poenitz@gmx.net>
5306 * text3.C: merge some LFUN handlers, remove dead code
5308 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5310 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5312 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5314 * text2.C (DEPM): fix part of bug 1255 and 1256
5316 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5318 * BufferView_pimpl.C (workAreaDispatch): change to use
5319 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5320 that are no mouse related.
5322 2003-08-05 André Pönitz <poenitz@gmx.net>
5325 * BufferView_pimpl.[Ch]:
5326 * bufferview_funcs.C:
5328 * text3.C: rip out "deep update"
5330 * textcursor.[Ch] (last_sel_cursor): remove unused member
5332 2003-08-04 André Pönitz <poenitz@gmx.net>
5335 * BufferView_pimpl.[Ch]:
5336 * ParagraphParameters.C:
5337 * bufferview_funcs.C:
5343 * text3.C: replace "complicated" BufferView::update(...) calls with
5346 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5348 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5350 * Makefile.am (lyx_SOURCES): add paper.h
5352 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5354 * Makefile.am: move things around so that both lyx-qt and
5355 lyx-xforms can be built (according to --with-frontend). Then lyx
5356 is a symbolic link to lyx-[firstfrontend]
5358 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5360 * Always use std::endl with lyxerr
5362 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5364 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5366 2003-08-01 André Pönitz <poenitz@gmx.net>
5369 * BufferView_pimpl.[Ch]:
5371 * text3.C: merge BufferView::repaint() and BufferView::update()
5373 2003-08-01 José Matos <jamatos@lyx.org>
5375 * buffer.[Ch]: file_format is no longer a buffer data element.
5377 2003-08-01 André Pönitz <poenitz@gmx.net>
5382 * text2.C: make redoParagraph more independent of current cursor
5384 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5386 * text2.C: remove unneeded members
5388 2003-07-30 André Pönitz <poenitz@gmx.net>
5390 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5392 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5393 create a single function...
5395 * paragraph_funcs.C (moveItem): ... here.
5398 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5400 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5402 * LColor.[Ch]: Add comment and greyedout logical colors.
5404 2003-07-30 André Pönitz <poenitz@gmx.net>
5406 * tabular.C: don't use Assert too heavily. This crashes where it
5409 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5411 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5412 is disabled (bug 1232)
5414 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5416 * factory.C: limited 'arg' scope
5418 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5420 * factory.C: fixed Note submenu issues
5422 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5424 * factory.C: submenu for Note/Comment/Greyedout
5426 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5429 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5431 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5434 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5435 greyedout. Patch provided by Jürgen Spitzmüller.
5437 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5439 * kbmap.C (read): fix error message when reading bind files
5441 2003-07-29 Angus Leeming <leeming@lyx.org>
5443 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5444 certainly does not do what it purports to do. I am doing it, and
5445 us, a favour by killing it.
5447 2003-07-28 José Matos <jamatos@lyx.org>
5449 * buffer.C (readBody, do_writeFile):
5450 * paragraph.C(readParagraph): \end_document replaces \the_end.
5452 2003-07-29 André Pönitz <poenitz@gmx.net>
5455 * BufferView_pimpl.[Ch]:
5459 * textcursor.[Ch]: remove toggleToggle & Co
5461 2003-07-28 José Matos <jamatos@fep.up.pt>
5463 * buffer.C (readParagraph):
5464 * params_func (readParToken, readParagraph):
5465 * paragraph.C (write): \layout -> \begin_layout.
5467 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5469 * lyxlex_pimpl.C (setFile): clean up slightly.
5471 * bufferparams.h: add compressed var
5473 * buffer_funcs.C (readFile): adjust for LyXLex change
5474 (newFile): ditto + simplify
5476 * buffer.C (writeFile): handle writing of compressed files
5478 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5479 Check if the file is compressed and set a bufferparm if so.
5481 * Makefile.am (lyx_LDADD): remove explicit -lz
5483 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5485 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5486 makeDocBookFile): put the real LyX version in the first line of
5490 * version.C.in: remove lyx_docversion
5492 * tabular.C (write_attribute): add a template-based version to
5493 write enums properly
5495 2003-07-28 André Pönitz <poenitz@gmx.net>
5500 * text3.C: use doubles again for x-coordinates. They are needed.
5502 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * messages.C (getLocaleDir): use lyx_localedir()
5506 * lyxlex_pimpl.C (setFile): compress stuff
5508 * buffer.C (writeFile): add some compression stuff
5509 (do_writeFile): new func, dont call expliti close... will this
5512 * Makefile.am (lyx_LDADD): add -lz
5514 2003-07-28 José Matos <jamatos@fep.up.pt>
5516 * buffer.C: increment file format.
5517 * paragraph_funcs (readParagraph, readParToken):
5518 * paragraph.C (readParagraph): add \end_layout.
5520 2003-07-27 Angus Leeming <leeming@lyx.org>
5522 * Makefile.am: remove special casing for configure-time setting of
5523 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5525 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5526 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5528 2003-07-26 André Pönitz <poenitz@gmx.net>
5530 * paragraph_func.[Ch]:
5531 * paragraph.C (realizeFont): inline it whereever it is used
5536 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5539 2003-07-26 André Pönitz <poenitz@gmx.net>
5543 * text2.C: get rid of LyXText::need_break_row
5545 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5547 * toc.[Ch]: put namespace toc inside namespace lyx
5549 * MenuBackend.C (expandToc2): adjust for lyx::toc
5552 * lyxfunc.C (dispatch): adjust for lyx::find
5554 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5555 lyx::find instead. Reorganize a bit.
5556 (LyXReplace): rename to replace
5557 (LyXFind): rename to find
5559 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5562 2003-07-26 André Pönitz <poenitz@gmx.net>
5564 * text.C (setHeightOfRow): restrict scope of temporary variable
5566 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5567 code (never has been used?)
5569 2003-07-27 Asger Alstrup <alstrup@local>
5571 * text.C (fill): Optimise algorithm to exploit that we can reuse
5572 the LyXFont for many characters.
5573 (setHeightOfRow): Same thing.
5574 (rowBreakPoint): Same thing.
5576 2003-07-26 Asger Alstrup <alstrup@local>
5578 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5580 * text.C (singleWidth): Spurious font copying in hot-spot
5581 singleWidth avoided. Reorder tests for arabic for efficiency.
5583 * text.C (fill): handle empty paragraphs better.
5585 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5588 * encoding.h: add includes
5590 * lyxrc.C: remove reading of bind files
5592 * lyx_main.C (init): setup bindings and menus only if we have a
5595 * kbmap.C (read): new method. Do the actual reading of bind
5598 * converter.C (dvipdfm_options):
5601 (output): adapt PAPER_* enums.
5603 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5605 * bufferparams.h: remove paper-related enums from there
5607 * paper.h: New file. A trivial header file to hold paper-related
5608 enums. It should later expand to contain many paper-related
5611 * lyxrc.C: declare extern displayTranslator
5613 2003-07-27 José Matos <jamatos@fep.up.pt>
5615 * tabular.[Ch] (linuxdoc): add support for tables and figures
5618 2003-07-27 José Matos <jamatos@fep.up.pt>
5620 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5621 consistency in both functions.
5622 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5624 2003-07-26 Asger Alstrup <alstrup@local>
5626 * rowpainter.C (paintRows): Change algorithm to work directly on
5627 the insets rather than asking every character in the document
5628 whether its an inset.
5630 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5632 * buffer.C (openFileWrite): factorize some code
5634 2003-07-26 Angus Leeming <leeming@lyx.org>
5637 * lyx_main.[Ch]: replace occurances of system_tempdir with
5640 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5642 * rename Inset to InsetOld
5644 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5646 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5647 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5648 which I think is a bit clearer. EDIT is gone, since it was
5649 premature optimisation, and broken for mathed anyway.
5650 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5651 with cursor positioning in insets as well (math insets still do not
5652 work, but that's a different story anyway.) It mysteriously
5653 crashes sometimes with undo in the first paragraph, but I'm fairly
5654 confident that this is a compiler bug.
5656 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5658 * paragraph.C (Paragraph): adjust for new clone return type
5660 (copyIntoMinibuffer): ditto
5662 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5664 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5665 by not having a special case, and always doing a full rebreak of
5666 the document after undo.
5668 2003-07-23 Angus Leeming <leeming@lyx.org>
5670 * factory.C (createInset): InsetExternal::setParams now takes a
5673 2003-07-23 Angus Leeming <leeming@lyx.org>
5675 * factory.C (createInset): changed interface to the external and
5676 graphics mailers' string2params functions.
5678 2003-07-23 Angus Leeming <leeming@lyx.org>
5680 * factory.C (createInset): pass a
5681 Buffer const * parameter to InsetExternalMailer's string2params.
5683 2003-07-22 John Levon <levon@movementarian.org>
5685 * Thesaurus.h: include the right aiksaurus header
5687 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5689 * MenuBackend.C (expand): check menu shortcuts unconditionally
5691 2003-07-21 Angus Leeming <leeming@lyx.org>
5693 * factory.C (createInset): pass a
5694 buffer_path parameter to InsetGraphicsMailer's string2params.
5696 2003-07-21 Angus Leeming <leeming@lyx.org>
5698 * BufferView_pimpl.C (buffer):
5701 * lyxfunc.C (dispatch):
5702 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5703 rather than the grfx shortcut.
5705 2003-07-21 André Pönitz <poenitz@gmx.net>
5707 * rowpainter.C: remove unused variables
5710 * tabular_funcs.h: move to tabular.C
5711 * Makefile.am: adjust
5713 * tabular.[Ch]: basic optical cleaning
5715 * author.h: pass references, not values
5717 2003-07-18 André Pönitz <poenitz@gmx.net>
5725 * text3.C: two-phase drawing for InsetText and InsetTabular
5726 some float -> int changes.
5728 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5730 * lyx_main.C: fix the fix
5732 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5734 * lyx_main.C: fix a crash in batch mode if no files specified
5737 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5739 * format.[Ch] (papersize): moved to BufferParams
5740 * converter.[Ch] (dvips_options): moved to BufferParams
5741 (dvipdfm_options): moved to anon namespace
5742 * bufferparams.[Ch]: added above functions.
5744 2003-07-17 André Pönitz <poenitz@gmx.net>
5748 * text2.C: don't call inset->update() anymore
5750 * metricsinfo.[Ch]: add convenience constructor
5752 2003-07-16 André Pönitz <poenitz@gmx.net>
5757 * text2.C: replace the LyXCursor::irow_ member with
5758 on-demand computation of the value
5760 2003-07-16 John Levon <levon@movementarian.org>
5762 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5764 2003-07-15 André Pönitz <poenitz@gmx.net>
5767 * text2.C: remove no more needed refresh_row
5769 2003-07-15 André Pönitz <poenitz@gmx.net>
5774 * text3.C: refresh_status tristate -> need_update bool
5776 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5778 * lyxtext.h (init): remove reinit argument (act as if always true)
5779 * text2.C: adjust to that
5781 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5783 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5784 * text3.C: use it to delete selections in some cases
5785 (bugs 441, 673, 702, 954).
5787 2003-07-14 André Pönitz <poenitz@gmx.net>
5789 * rowpainter.[Ch]: reduce interface
5791 2003-07-14 André Pönitz <poenitz@gmx.net>
5793 * BufferView_pimpl.C:
5794 * text2.C: adjust after removing unused BufferView * argument
5796 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5798 * text2.C (init): fix a crash fired on resize
5800 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5802 * buffer.[Ch]: added new closing signal
5803 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5804 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5805 BufferView::Pimpl via the closing the signal
5807 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5809 * buffer.[Ch]: take out all bv-related from buffer
5811 * BufferView_pimpl.[Ch]: connect to new signals
5812 * CutAndPaste.C: removed useless asserts
5813 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5816 * lyxfunc.C: moved view-related funciontality from vc here
5817 * paragraph.C: removed outdated comments
5820 2003-07-10 André Pönitz <poenitz@gmx.net>
5822 * BufferView_pimpl.C:
5826 * text2.C: remove InsetText::InnerCache, clean up consequences
5828 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5830 * ispell.C: fix two typos in error messages
5832 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5834 * Extend Note inset to other forms of annotation like Comment
5835 and Greyedout. Right button click gives dialog.
5837 Files modified or added (+):
5841 * ControlNote.[Ch] +
5843 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5844 frontends/controllers
5848 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5850 * aspell.C: add missing namespace lyx::support
5852 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5854 * BufferView.[Ch] (newFile): Add
5855 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5856 * LaTeX.[Ch] (message): added this signal and use it
5857 * buffer.[Ch] (busy, message): added these signals and use them
5858 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5862 * importer.C: use buffer signals instead of direct bv calling
5863 * lyx_cb.[Ch] (ShowMessage): removed
5866 * paragraph_funcs.C:
5867 * text2.C: use buffer signals
5869 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5871 * introduce namespace lyx::graphics
5873 2003-07-02 André Pönitz <poenitz@gmx.net>
5875 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5877 2003-07-01 André Pönitz <poenitz@gmx.net>
5884 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5885 text*.C to text_func.C
5887 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * introduce namespace lyx::support
5891 2003-06-30 André Pönitz <poenitz@gmx.net>
5896 * text.C: re-enable --with-included-string
5898 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5900 * textcursor.C: add <config.h>
5902 * text.C (getWord): remove const from word_location arg
5904 * lyxvc.C (getLogFile): fix const type order
5906 * lyxtext.h: remove const from word_location arg, add arg name
5908 * lyxlayout.h: currect type on labeltype.
5910 * importer.C: correct \file
5912 * converter.C (intToFormat): use std:: on ret val, ws changes
5914 * bufferlist.h: correct \file
5916 * buffer.C (makeLinuxDocFile): fix const type order
5917 (makeDocBookFile): ditto
5918 (fillWithBibKeys): use std:: on stdlib args.
5920 * CutAndPaste.C: fix authors.
5921 (availableSelections): use std:: on return vector
5923 2003-06-27 André Pönitz <poenitz@gmx.net>
5925 * BufferView_pimpl.C:
5926 * bufferview_funcs.C:
5934 * text3.C: remove LyXCursor::row_ member
5937 * text.C: rename fullRebreak() to partialRebreak() and implement
5938 a fullRebreak() that really bereks fully
5940 * textcursor.h: new struct for cursor-related data
5942 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5944 * lyx_main.C (LyX): get full path of document loaded on the
5947 2003-06-26 André Pönitz <poenitz@gmx.net>
5949 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5950 remove unused/broken operator>,<,>=.
5952 * text.C: remove only use of broken operator<= in an Assert().
5954 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5956 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5957 moved errorlist_.clear to showErrorList
5959 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5961 * converter.C (scanLog, runLaTeX):
5962 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5963 move the bv->showErrorList call to the callers
5964 * lyxfunc.C: i.e. here...
5966 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5967 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5968 namespace, the second to...
5969 * buffer_funcs (BufferFormat, parseErrors): added
5970 * errorlist.C (ErrorList(TeXErrors const &)): removed
5972 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5974 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5976 2003-06-24 "Garst R. Reese" <reese@isn.net>
5980 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5982 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5984 * version.C.in: change docversion to 1.4
5986 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5988 * buffer.C: fix a bug just introduced
5990 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5992 * buffer.[Ch]: added the parseError signal and use it, removed
5994 * BufferView.[Ch] (addError): moved to ...
5995 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5996 to the Buffer::parseError signal to catch (guess what) parse errors
5997 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5999 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6001 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6002 ability to create a buffer and to return an existing one from
6003 the list. Moved these functions to...
6004 * buffer_funcs.[Ch]: added
6005 * BufferView.[Ch] (loadLyXFile): added
6006 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6007 job removed from bufferlist::loadLyXFile.
6008 * buffer.C (setReadOnly): make it work without view
6009 (i.e added an if (users))
6011 2003-06-19 Angus Leeming <leeming@lyx.org>
6014 * LyXAction.C (init):
6015 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6016 with LFUN_DIALOG_SHOW <name> <data>.
6018 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6020 * CutAndPaste.C (availableSelections): small compilation fix for
6021 ancient (gcc 2.9x) compilers
6023 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6025 * text3.C (cursorNext): add tmp var
6027 * text2.C (updateCounters): for function calling out of for clause
6028 (replaceSelectionWithString): ditto
6029 (insertStringAsParagraphs): ditto
6030 (getColumnNearX): add tmp var
6031 (setCursorFromCoordinates): add tmp var
6032 (cursorDownParagraph): add tmp var
6033 (deleteEmptyParagraphMechanism): add tmp var
6035 * text.C (insertChar): add tmp var
6037 * rowpainter.C (paintDepthBar): add tmp var
6039 * CutAndPaste.C (availableSelections): potentially check all
6040 paragraphs in a cut to fill the shown strings.
6042 2003-06-18 André Pönitz <poenitz@gmx.net>
6044 * kbmap.[Ch]: use vector<> instead of list<>
6046 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6048 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6049 pasteSelection with index
6051 * text2.C (pasteSelection): modify, call pasteSelection with index
6053 * paragraph.C (asString): reimplement version with no interval to
6054 call the one with interval.
6056 * lyxtext.h: add index arg to pasteSelection
6058 * MenuBackend.C (MenuItem): handle PasteRecent
6059 (Menu::read::Menutags): add md_pasterecent
6061 (expandPasteRecent): new function
6064 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6066 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6068 (availableSelections): new function
6070 2003-06-17 Angus Leeming <leeming@lyx.org>
6072 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6074 2003-06-17 Angus Leeming <leeming@lyx.org>
6077 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6079 * lyxfunc.C (dispatch): invoke it.
6081 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6083 * iterators.C (operator++, ParPosition): reintroduce some
6084 const_cast for the benefit of older compilers.
6086 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6088 * text3.C (dispatch): do not modify clipboard when doing
6089 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6090 LFUN_DELETE_SKIP on a selection selection
6092 2003-06-16 André Pönitz <poenitz@gmx.net>
6098 * tabular.[Ch]: IU of clone() and getLabelList();
6100 2003-06-13 André Pönitz <poenitz@gmx.net>
6102 * tabular.h: compactification
6104 2003-06-12 André Pönitz <poenitz@gmx.net>
6108 * tabular_funcs.h: some renaming plus whitespace
6110 2003-06-12 André Pönitz <poenitz@gmx.net>
6113 * BufferView_pimpl.C:
6119 * toc.C: Return a Paragraph & for ParIterator::operator*()
6121 2003-06-11 John Levon <levon@movementarian.org>
6125 * ToolbarBackend.C: add "Toolbars" section and
6128 2003-06-10 Angus Leeming <leeming@lyx.org>
6131 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6133 * lyxfunc.C (dispatch): invoke it.
6135 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6137 * main.C: protect <ios> with HAVE_IOS
6138 (main): protect sync_with_stdio with HAVE_IOS
6140 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6142 * text2.C (cutSelection): adjust
6143 (pasteSelection): adjust
6145 * messages.C: handle get of empty string
6147 * main.C (main): use sync_with_stdio(false)
6149 * lyxfunc.C (dispatch): adjust
6151 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6152 (WriteAs): remove unneeded BufferView arg.
6154 * bufferparams.h: use correct types on papersize, papersize2 and
6157 * bufferparams.C (readToken): adjust for type
6158 (writeLaTeX): add missing cases to switch.
6160 * bufferlist.C (quitWriteBuffer): adjust
6163 * buffer.C (asciiParagraph): remove some commented code.
6165 * CutAndPaste.C: remove current_view extern variable.
6166 (cutSelection): add BufferParams arg.
6167 (eraseSelection): add BufferParams arg.
6168 (pasteSelection): add Buffer const & arg
6170 2003-06-07 John Levon <levon@movementarian.org>
6173 * paragraph_funcs.C:
6174 * paragraph_pimpl.C:
6178 * paragraph.C: allow InsetERT to freely space lines,
6179 and some consolidation of code
6181 2003-06-06 José Matos <jamatos@fep.up.pt>
6183 * buffer.C (makeDocBookFile): fix bug #821
6185 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6187 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6189 2003-06-04 Angus Leeming <leeming@lyx.org>
6191 * buffer.C: bump format to 224.
6193 2003-06-05 André Pönitz <poenitz@gmx.net>
6195 * text2.C (redoParagraphs): remove two const_cast<>
6197 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6199 * ParagraphList.h: remove last remnants of NO_STD_LIST
6201 2003-06-03 Angus Leeming <leeming@lyx.org>
6203 * factory.C (createInset): small change to the way InsetExternal's params
6206 2003-06-04 André Pönitz <poenitz@gmx.net>
6208 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6210 * paragraph_pimpl.h:
6211 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6213 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6215 * undo_funcs.C: make some simple cases of undo work again
6217 2003-06-03 John Levon <levon@movementarian.org>
6219 * ispell.C: HPUX doesn't have sys/select.h
6222 2003-06-03 John Levon <levon@movementarian.org>
6224 * CutAndPaste.C: update tabular and include inset
6229 * paragraph.C: remove owningBuffer(), don't pass Buffer
6232 * factory.C: insetGraphicsParams changed
6234 2003-06-02 John Levon <levon@movementarian.org>
6240 * text3.C: remove insetparent
6242 2003-06-02 John Levon <levon@movementarian.org>
6245 * buffer.C: fix inset_iterator.end(), move out of line
6248 2003-06-01 John Levon <levon@movementarian.org>
6250 * text3.C: use a proper cut/paste when doing inset
6251 insert (from Jürgen Spitzmüller)
6253 2003-06-01 John Levon <levon@movementarian.org>
6255 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6257 2003-05-30 André Pönitz <poenitz@gmx.net>
6259 * rowpainter.C: unify second drawing phase
6261 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6263 * trans_mgr.C: remove one case of current_view
6265 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6267 * paragraph_funcs.h: remove paragraph.h include
6269 * paragraph.h: delete NO_STD_LIST stuff
6271 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6273 * buffer.h: remove paragraph.h include
6275 * ParagraphList.C: delete file
6277 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6279 * toc.C (getTocList): adjust
6281 * paragraph_pimpl.C (validate): adjust
6283 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6285 * paragraph.C (Paragraph): adjust
6286 (getPositionOfInset): use const_iterator, adjust
6287 (bibitem): use const_iterator, adjust
6288 (setInsetOwner): adjust
6290 * iterators.C (operator++): adjust
6292 * InsetList.[Ch]: Replace selfmade iterator with standard
6293 vector::iterator also introduce const_iterator. Remove getPos,
6294 getInset and setInset from InsetTable. Adjust accordingly.
6296 * BufferView.C (lockInset): adjust
6297 (ChangeInsets): adjust
6299 * tabular.[Ch]: delete commented same_id functions
6301 2003-05-28 John Levon <levon@movementarian.org>
6303 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6305 2003-05-28 André Pönitz <poenitz@gmx.net>
6307 * metricsinfo.[Ch]: remove 'fullredraw' member
6309 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6311 * lyxtextclass.C (operator): remove caching.
6313 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * text2.C (cursorBottom): adjust
6318 (setCounter): use ParagraphList::find, adjust
6320 * text.C (workWidth): use ParagraphList::find, adjust
6322 * lyxcursor.C (LyXCursor): adjust
6324 * buffer.C (inset_iterator): adjust
6326 * ParagraphList.h: make iterator(value_type) private, make
6327 ParagraphList a friend of iterator.
6329 * ParagraphList.C (find): new function
6331 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6333 2003-05-27 André Pönitz <poenitz@gmx.net>
6335 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6337 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6339 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6341 2003-05-26 John Levon <levon@movementarian.org>
6343 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6345 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6347 * remove same_id from function signatures, adjust.
6349 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6351 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6353 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6355 * paragraph.C (Paragraph): get rid of same_ids parameter
6357 * ParagraphList.C (insert): adjust
6360 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * paragraph_funcs.C (breakParagraph): adjust
6363 (breakParagraphConservative): adjust
6365 * buffer.C (readParagraph): adjust
6367 * ParagraphList.C (insert): take a reference instead of a pointer
6370 * paragraph.[Ch] (id): new function
6372 * bufferlist.C (newFile): adjust
6374 * ParagraphList.C (ParagraphList): adjust
6376 (push_back): take a reference instead of a pointer.
6378 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6380 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6383 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6384 set else use old code.
6386 * ParagraphList.C: remove all NO_NEXT code and only compile this
6387 code of NO_STD_LIST is set.
6389 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6391 * BufferView_pimpl.C:
6401 * graphics/GraphicsConverter.C:
6402 * graphics/PreviewLoader.C: header adjustment
6404 2003-05-23 Angus Leeming <leeming@lyx.org>
6406 * LaTeXFeatures.[Ch] (useBabel): new method.
6407 * bufferparams.C (writeLaTeX): use it.
6409 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * ParagraphList.h (set): remove unused function.
6413 2003-05-23 André Pönitz <poenitz@gmx.net>
6416 * BufferView_pimpl.C:
6420 * undo_funcs.C: setUndo reworked
6422 * iterators.[Ch]: add access to topmost ParagraphList
6424 * lyxtext.[Ch] (workWidth): add a const
6426 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6428 * texrow.[Ch] (increasePos): remove function
6429 * exporter.C (export): removed unused var and outdated comment
6431 2003-05-23 Angus Leeming <leeming@lyx.org>
6433 * latexrunparams.h: rename fragile as moving_arg.
6434 * paragraph.C (simpleTeXOnePar): ditto.
6435 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6437 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6439 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6441 (textUndoOrRedo): comment out a currently unused var.
6443 * paragraph.h (NO_NEXT): enable NO_NEXT
6445 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6447 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6449 * exporter.C (Export): adjust for removeAutoInsets removal.
6451 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6453 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6455 * BufferView.[Ch] (removeAutoInsets): delete function
6457 2003-05-22 Angus Leeming <leeming@lyx.org>
6459 * latexrunparams.h: add a free_spacing variable.
6461 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6462 to pass moving_arg, as the data is stored in runparams.fragile.
6464 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6465 to Inset::latexOptional or to simpleTeXOnePar.
6467 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6468 free_spacing arg to Inset::latexOptional.
6470 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6473 2003-05-22 Angus Leeming <leeming@lyx.org>
6475 * latexrunparams.h: add fragile and use_babel variables.
6477 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6478 * buffer.C (makeLaTeXFile): store this returned value in
6479 runparams.use_babel, thus passing it to the inset::latex methods.
6481 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6482 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6484 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6485 longer has a fragile arg, as it is stored in runparams.fragile.
6487 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6488 moving_arg parameter as the data is stored in runparams.fragile.
6490 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6491 a fragile parameter as the data is stored in runparams.fragile.
6493 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6495 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6497 2003-05-22 Angus Leeming <leeming@lyx.org>
6499 * latexrunparams.h: add a 'bool nice' which defaults to false.
6501 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6502 now encapsulated within runparams.
6504 * bufferlist.C (updateIncludedTeXfiles):
6505 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6507 2003-05-22 Angus Leeming <leeming@lyx.org>
6509 * latexrunparams.h: new file containing struct LatexRunParams.
6510 * Makefile.am: add new file.
6512 * LaTeX.[Ch] (c-tor, run):
6513 * buffer.[Ch] (makeLaTeXFile):
6514 * bufferlist.[Ch] (updateIncludedTeXfiles):
6515 * converter.C (convert, scanLog):
6516 * converter.[Ch] (runLaTeX):
6517 * exporter.C (Export):
6518 * paragraph.[Ch] (simpleTeXOnePar):
6519 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6520 * paragraph_funcs.[Ch] (latexParagraphs):
6521 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6522 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6523 pass around a LatexRunParams parameter.
6525 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6527 * paragraph.[Ch]: remove unused constructor
6529 * ParagraphList.C (erase): new function, taking two iterators
6531 2003-05-22 André Pönitz <poenitz@gmx.net>
6533 * undo_funcs.C: remove duplicated code
6535 * iterator.[Ch]: operator=
6537 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6539 * tabular.C (SetMultiColumn): ws changes
6541 * rowpainter.C (paintFirst): get rid of a ->previous
6543 * lyx_cb.C (getPossibleLabel): parlist simplification
6545 * BufferView.C (ChangeInsets): simplify slightly.
6547 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6549 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6550 * lfuns.h: new LFUN_SPACE
6551 * lyxfunc.C: protected space has a new lfun
6552 * paragraph_funcs.C: read new space insets
6554 * factory.C: handle new space insets
6556 2003-05-22 André Pönitz <poenitz@gmx.net>
6559 * BufferView_pimpl.C:
6562 * undo_funcs.C: return a ParIterator from getParFromID.
6564 * iterators.[Ch]: add two const's
6566 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6568 * toc.C (getTocList): adjust
6570 * iterators.[Ch]: rework for parlist
6572 * buffer.C (par_iterator_begin): adjust
6573 (par_iterator_end): adjust
6575 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6577 * BufferView.C (removeAutoInsets): adjust
6578 (ChangeInsets): adjust
6580 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6582 * text.C (top_y): fix bug 1110
6584 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6586 * errorlist.[Ch]: added
6589 * BufferView_pimpl.C:
6590 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6593 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6595 * Makefile.am: ensure that lyx is relinked upon changes to the
6596 various "convenience" libs.
6598 2003-05-20 Angus Leeming <leeming@lyx.org>
6600 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6601 files are compiled in alphabetical order again.
6603 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6605 2003-05-19 Angus Leeming <leeming@lyx.org>
6607 * gettext.[Ch]: remove "char const * _(char const *)".
6609 2003-05-19 André Pönitz <poenitz@gmx.net>
6611 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6620 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6622 2003-05-19 André Pönitz <poenitz@gmx.net>
6626 * lyxtextclass.[Ch]:
6628 * paragraph_funcs.[Ch]:
6630 * text3.C: more insetenv work
6632 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6634 * ParagraphParameters.C (params2string): small bug fixed
6636 2003-05-16 André Pönitz <poenitz@gmx.net>
6639 * bufferview_funcs.C: patch from Kornel Benko to prevent
6640 crash when _(...) is called twice in a statement
6642 2003-05-16 André Pönitz <poenitz@gmx.net>
6649 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6651 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6653 * lyx_main.C (init): remove spurious static_cast
6655 2003-05-14 André Pönitz <poenitz@gmx.net>
6657 * BufferView.C: fix format string
6659 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6661 * BufferView.[Ch] (insertErrors): removed
6662 * BufferView.[Ch] (showErrorList): added
6663 * buffer.C (runChkTeX):
6664 * converter.C (scanLog): call showErrorList instead of inserterrors
6666 2003-05-13 André Pönitz <poenitz@gmx.net>
6668 * BufferView_pimpl.C:
6670 * bufferview_func.C:
6677 * tabular_funcs.h: tostr() from its own header
6679 * ParagraphParameters.C:
6684 * text3.C: STRCONV()
6686 2003-05-12 André Pönitz <poenitz@gmx.net>
6689 * BufferView_pimpl.C:
6693 * ParagraphParameters.C:
6697 * bufferview_funcs.C:
6710 * paragraph_funcs.C:
6714 * text3.C: boost::format -> bformat all over the place
6717 2003-05-09 André Pönitz <poenitz@gmx.net>
6719 * LColor.[Ch]: Pimpl the #include <map> away
6721 2003-05-09 John Levon <levon@movementarian.org>
6723 * bufferlist.C: never remove emergency saves
6725 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * Makefile.am: better lib building
6729 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6733 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6734 (simpleTeXSpecialChars): adjust
6735 (simpleTeXSpecialChars): adjust
6736 * paragraph.C (simpleTeXOnePar): adjust
6737 * buffer.C (makeLaTeXFile): adjust
6739 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6741 * text2.C (changeDepth): parlist cleanup
6742 (getColumnNearX): ditto
6744 * rowpainter.C (getLabelFont): parlist cleanup
6746 * bufferlist.C (newFile): parlist cleanup
6748 * CutAndPaste.C (eraseSelection): parlist cleanup
6750 * BufferView_pimpl.C (trackChanges): parlist cleanup
6753 * BufferView.C (lockInset): parlist cleanup.
6754 (ChangeInsets): ditto
6756 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * CutAndPaste.h: Update file header.
6760 * CutAndPaste.C: Update file header.
6761 Store the parts cut out of the Document in a limited_stack.
6762 (copySelection): adjust
6763 (pasteSelection): new function, takes the index in the limited stack.
6764 (nrOfParagraphs): adjust
6765 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6766 simplify error inset insertion.
6767 (checkPastePossible): adjust
6769 2003-05-06 John Levon <levon@movementarian.org>
6771 * text2.C: don't cast wrap inset to float
6773 2003-05-05 André Pönitz <poenitz@gmx.net>
6776 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6778 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6779 few naked Paragraph *.
6781 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6783 * bufferparams.C: Output warning if a document with missing
6784 TeX document class is loaded
6785 * exporter.C: Disable TeX exports if the document class is missing
6788 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6789 isTeXClassAvailable()
6791 2003-05-03 John Levon <levon@movementarian.org>
6794 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6795 explicit cursor show/hide
6797 * BufferView_pimpl.h:
6798 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6799 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6801 * lyxfunc.C: hide cursor before dispatching.
6806 * text3.C: remove explicit cursor hides
6808 2003-05-02 André Pönitz <poenitz@gmx.net>
6810 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6813 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6816 * text2.C: tiny whitespace
6818 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6820 * undo_funcs.C: almost only ws changes.
6822 * ParagraphList.C (splice): just return if pl is empty.
6824 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6826 * ParagraphList.C (splice): new function.
6828 * CutAndPaste.C (pasteSelection): use it
6830 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * CutAndPaste.C (pasteSelection): remove the last next and
6833 previous from this file.
6835 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6837 * CutAndPaste.C (pasteSelection): more clean up, user proper
6838 ParagraphList functions for pasteing.
6840 * ParagraphList.C (insert): new function, three arg insert
6842 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6844 * ParagraphList.C (insert): new function, three arg insert
6846 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6849 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6851 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6853 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6855 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6857 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6859 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6860 (copySelection): clean up a bit.
6861 (pasteSelection): use make_pair
6863 * ParagraphList.C (ParagraphList): implement copy constructor
6864 (operator=): implement, base on copy constructor.
6867 * paragraph.C (erase): return a bool
6869 * paragraph_pimpl.C (erasePos): remove function, move contents...
6870 (erase): ... here. Return a bool.
6871 (erase): call erase instead of erasePos.
6873 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6875 * ParagraphList.h: define PitPosPair
6876 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6877 ParagraphList, fix a bug on pasting multiple pars
6878 * text2.C: change interface to C&P
6880 2003-04-30 André Pönitz <poenitz@gmx.net>
6882 * undo_func.C: revert part of yesterday's patch 2
6884 2003-04-30 John Levon <levon@movementarian.org>
6886 * LColor.C: s/tabular/table/
6888 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * text3.C (dispatch): do not convert iterator -> pointer
6891 * undo_funcs.C (setCursorParUndo): ditto
6892 * text_funcs.C (transposeChars): ditto
6894 * text2.C (setLayout): ws changes only
6896 * text.C (breakParagraph): do not convert iterator -> pointer
6898 (acceptChange): ditto
6899 (rejectChange): ditto
6904 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6907 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6909 * text3.C (gotoInset): YABG (yet another bad getChar)
6911 2003-04-29 André Pönitz <poenitz@gmx.net>
6913 * paragraph.h: make operator= private unimplemented as long as
6916 * ParagraphList.C: whitespace
6919 * paragraph_pimpl.[Ch]:
6920 * paragraph_funcs.C:
6922 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6925 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6927 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6929 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6930 * paragraph.[Ch] (erase):
6931 * paragraph_pimpl.[Ch] (erase): change return type and value
6932 * text2.C (cutSelection): some rework
6934 2003-04-28 John Levon <levon@movementarian.org>
6936 * bufferlist.C: changes for unsaved changes dialog
6938 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * bufferlist.C (newFile): set language (messages_) for new
6943 * buffer.C (readFile): ws changes only.
6945 2003-04-28 André Pönitz <poenitz@gmx.net>
6950 * BufferView_pimpl.C:
6951 * BufferView.C: getParFromID related ParagraphList::iterator changes
6953 2003-04-28 André Pönitz <poenitz@gmx.net>
6955 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6958 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6960 * messages.C: remove one more localedir class variable.
6962 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6964 * messages.C (getLocaleDir): singleton generation function
6966 (Messages): add a default constructor.
6968 * main.C (main): do not setup localedir here, do not call
6971 * gettext.C (_): use it.
6972 (gettext_init): delete funciton
6974 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6976 * gettext.C (getLyXMessages): new singleton generating function.
6978 * buffer.C (updateDocLang): adjust
6980 * Makefile.am (messages.o): add target
6981 (main.o): remove target
6983 2003-04-27 John Levon <levon@movementarian.org>
6988 * lyxvc.C: specify cancel button in Alert::prompt
6990 2003-04-26 John Levon <levon@movementarian.org>
6995 * LyXAction.C: add LFUN_INSET_SETTINGS
6997 * lyxfunc.C: don't enable tabular-feature when there's
6998 just any locking inset
7000 2003-04-26 John Levon <levon@movementarian.org>
7002 * bufferlist.C: re-add Cancel to buffer close question
7004 * lyxfunc.C: fix import UI a bit
7006 2003-04-25 John Levon <levon@movementarian.org>
7008 * gettext.C: remove the broken asserts for now
7010 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7012 * messages.C: make case where setlocale cannot comply work better.
7014 * buffer.C (updateDocLang): new function
7015 (changeLanguage): use it
7018 * text2.C (setCounter): use B_ a bit.
7020 * lyxlayout.C (Read): be sure to trim the label strings.
7022 * messages.C (Messages): fix typo in comment
7024 * buffer.C (readFile): set message_ after file is loaded.
7025 (makeDocBookFile): remove double return
7026 (changeLanguage): reset message_ upon language change.
7027 (B_): new func, use this to get translated buffer strings.
7029 * main.C: add myself and Jean Marc as authors.
7031 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7033 * messages.[hC]: pimplify Messages, and three different pimpls to be
7034 used in different circumstances.
7036 * gettext.[Ch]: change for use with new message code.
7038 2003-04-24 André Pönitz <poenitz@gmx.net>
7040 * factory.C: support for eqref
7042 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7044 * messages.[Ch]: add missing char
7046 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7048 * messages.[Ch]: New files
7050 2003-04-18 John Levon <levon@movementarian.org>
7054 * BufferView_pimpl.C:
7058 * text2.C: remove layout-copy/paste (bug 778)
7060 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7062 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7064 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7066 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7067 if they succeed. Act accordingly.
7069 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * text2.C (setCharFont): adjust
7072 (setCounter): adjust
7073 (insertStringAsLines): adjust
7075 * text.C (leftMargin): adjust
7076 (setHeightOfRow): adjust
7078 * rowpainter.C (paintFirst): adjust
7081 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7083 (isFirstInSequence): ditto
7084 (getEndLabel): ditto
7087 * paragraph.C (getParLanguage): comment out some hard stuff.
7089 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7091 (simpleDocBookOnePar): ditto
7092 (makeDocBookFile): use ParagraphList::iterator
7094 * CutAndPaste.C (pasteSelection): adjust
7096 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7098 * text2.C (getFont): adjust
7099 (getLayoutFont): adjust
7100 (getLabelFont): adjust
7102 * paragraph_funcs.C (TeXOnePar): adjust
7104 * buffer.C (simpleLinuxDocOnePar): adjust
7105 (simpleDocBookOnePar): adjust
7107 * CutAndPaste.C (pasteSelection): adjust
7109 * BufferView.C (getEncoding): adjust
7111 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7113 2003-04-16 John Levon <levon@movementarian.org>
7115 * lyxfind.C: use parlist stuff for search/changes
7117 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7119 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7121 * text2.C (deleteEmptyParagraphMechanism): adjust
7123 * text2.[Ch] (ownerParagraph): delete func (both of them
7125 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7127 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7129 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7131 * ParagraphList.C: prepare for NO_NEXT
7133 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7135 * text2.C (getFont): adjust
7136 (getLayoutFont): adjust
7137 (getLabelFont): adjust
7139 * paragraph.C (getFont): adjust
7140 (getLabelFont): adjust
7141 (getLayoutFont): adjust
7143 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7145 2003-04-15 John Levon <levon@movementarian.org>
7149 * lyx_main.C: handle Include in .ui files
7151 2003-04-15 John Levon <levon@movementarian.org>
7153 * MenuBackend.C: make the doc files length shorter
7156 * ToolbarBackend.C: handle toolbar placement flags,
7159 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7161 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7164 * paragraph_funcs.C (TeXOnePar): adjust
7166 * paragraph.C (getLabelFont): add outerfont arg, adjust
7167 (getLayoutFont): ditto
7168 (simpleTeXOnePar): adjust
7170 * paragraph_pimpl.C (realizeFont): delete func
7172 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7174 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7175 row argument, constify cur argument.
7177 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * text2.C (getFont): adjust
7180 (getLayoutFont): adjust
7181 (getLabelFont): adjust
7183 * paragraph_funcs.C (TeXOnePar): adjust
7184 (outerFont): new func...
7185 (realizeFont): ...moved out from here, changed this to facilitate
7188 * paragraph.C (getFont): take outerfont as arg, adjust
7189 (simpleTeXOnePar): add outerfont arg, adjust
7191 * buffer.C (simpleLinuxDocOnePar): adjust
7192 (simpleDocBookOnePar): adjust
7194 * CutAndPaste.C (pasteSelection): adjust
7196 * BufferView.C (getEncoding): adjust
7198 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * text2.C (setCharFont): adjust
7201 (setCounter): adjust
7203 * text.C (leftMargin): adjust
7204 (setHeightOfRow): adjust
7206 * rowpainter.C (paintFirst): adjust
7209 * paragraph_pimpl.C (realizeFont): adjust
7211 * paragraph.C (isFirstInSequence): move from here...
7212 * paragraph_funcs.C (isFirstInSequence): ...to here
7214 * paragraph.C (outerHook): move from here...
7215 * paragraph_funcs.C (outerHook): ...to here
7217 * paragraph.C (depthHook): move from here...
7218 * paragraph_funcs.C (depthHook): ...to here
7220 * paragraph.C (getEndLabel): move from here...
7221 * paragraph_funcs.C (getEndLabel): ...to here
7223 * text2.C (realizeFont): move from here...
7224 * paragraph_funcs.C (realizeFont): ...to here
7226 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7228 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7230 2003-04-14 Angus Leeming <leeming@lyx.org>
7232 * LColor.[Ch]: scrap LColor mathcursor.
7234 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7236 * lyxlex.[Ch] (text): delete function
7237 * trans.C (Load): adjust
7238 * paragraph_funcs.C (readParToken): adjust
7240 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7242 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7243 vector<char> instead of a char[].
7245 * lyxlex_pimpl.C (getString): adjust
7247 (lex): use getString
7251 * lyxlex.C (text): use pimpl_->getString()
7255 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7257 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7258 (makeFontEntriesLayoutSpecific): temp var for par.size()
7259 (setLayout): temp var for ownerParagraphs().end()
7260 (fullRebreak): temp var for rows().end()
7261 (selectionAsString): temp var for boost::next(startpit), realize
7262 that the while really is a regular for loop.
7263 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7264 setCursor in one place.
7265 (setParagraph): temp vr for ownerParagraphs().end()
7266 (updateCounters): make the while loop a for loop
7267 (cutSelection): temp var for ownerParagraphs().end()
7268 (updateInset): make the do {} while() a regular for loop
7269 (getCursorX): use temp vars
7270 (setCurrentFont): use temp vars
7271 (getColumnNearX): use temp vars
7273 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7275 * text.C (transformChar): use temp var for getChar
7276 (computeBidiTables): use temp var for row->par()
7277 (fill): move temp vars for row->par() and pit->layout() earlier in
7279 (labelFill): use temp var for row->par()
7280 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7281 asc and desc, realize that pit never changes and that firstpit is
7282 just a duplicate and not needed. Exchange rit->par() with pit in a
7284 (breakAgain): use a temp var for boost::next(rit)
7285 (breakAgainOneRow): ditto
7286 (breakParagraph): use a temp var for rows().begin()
7287 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7288 (cursorRightOneWord): use temp var for cursor.par() and
7289 cursor.pos(), remove usage of tmpcursor.
7290 (cursorLeftOneWord): use temp var for cursor.par() and
7291 cursor.pos() only set cur at end of function.
7293 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7295 * text.C, text2.C: exchange all usage of Paragraph::next with
7296 boost::next(ParagraphList::iterator)
7298 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7300 * text2.C (cursorTop): simplify implementation
7301 (cursorBottom): ditto
7302 (setParagraph): use ParagraphList::iterator
7303 (setCurrentFont): adjust
7304 (getColumnNearX): adjust
7305 (cursorRight): adjust
7306 (cursorLeft): remove usage of Paragraph::previous
7307 (cursorUpParagraph): ditto
7308 (deleteEmptyParagraphMechanism): slight cleanup
7310 * text.C (isBoundary): take a Paragraph const & instead of a
7312 (addressBreakPoint): ditto
7313 (leftMargin): remove usage of Paragraph::previous.
7314 (setHeightOfRow): ditto
7315 (cursorLeftOneWord): ditto
7316 (selectNextWordToSpellcheck): ditto
7319 (breakParagraph): remove one usage of Paragraph::next
7320 (redoParagraph): ditto
7321 (acceptChange): ditto
7322 (insertChar): adjust
7323 (rowBreakPoint): adjust
7325 * bufferview_funcs.C (toggleAndShow): adjust
7327 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7329 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7330 methods to access it.
7332 * text.C: Added updateRowPositions to compute all row positions.
7333 Make top_y and getRowNearY() to use the cached y position
7335 2003-04-11 John Levon <levon@movementarian.org>
7337 * text.C (rowBreakPoint): reintroduce the labelEnd
7338 checks, code copied from the row fill stuff. Deep voodoo.
7340 * text.C (fill): add a comment and debugging for the
7343 2003-04-11 John Levon <levon@movementarian.org>
7345 * text.C: make sure fullrow insets get wrapped to the next line,
7346 even when they're in a manual label
7348 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7350 * text2.C (insertParagraph): make it take ParagraphList::iterator
7352 (setLayout): make it return ParagraphList::iterator
7353 (redoParagraphs): ditto
7355 (checkParagraph): ditto
7357 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7359 * text2.C: adjust several funcs.
7360 (realizeFont): take a ParagraphList::iterator as arg.
7361 (getLayoutFont): ditto
7362 (getLabelFont): ditto
7363 (setCharFont): ditto
7365 * text.C: adjust several funcs.
7367 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7369 * text.C (selectNextWordToSpellcheck): don't accidentally
7372 2003-04-10 John Levon <levon@movementarian.org>
7374 * ToolbarBackend.C (getIcon): special handling for
7377 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7379 * text2.C (cursorRight): a getChar assert fixed
7381 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7383 * text2.C (getFont): change to take a ParagraphList::iterator
7384 instead of Paragraph*
7385 Adjust several functions.
7387 * text.C (transformChar): change to take a ParagraphList::iterator
7388 instead of Paragraph*
7389 (singleWidth): ditto
7390 Adjust several functions.
7392 * rowpainter.C: adjust several functions
7393 * rowpainter.h:store a ParagraphList::iterator and not a
7397 2003-04-09 John Levon <levon@movementarian.org>
7402 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7403 and the "help" bits as well
7405 2003-04-09 John Levon <levon@movementarian.org>
7408 * ToolbarBackend.C: allow multiple toolbars
7410 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7412 * undo_funcs.C (setCursorParUndo): adjust
7414 * text_funcs.C (transposeChars): adjust
7416 * text3.C (gotoNextInset): adjust
7419 * text2.C (setLayout): adjust
7420 (changeDepth): adjust
7422 (redoParagraphs): adjust
7423 (selectionAsString): adjust
7424 (setParagraph): adjust
7425 (insertInset): adjust
7426 (cutSelection): adjust
7427 (copySelection): adjust
7428 (pasteSelection): adjust
7429 (insertStringAsLines): adjust
7430 (updateInset): adjust
7431 (setCursor): change to take a ParagraphList::iterator parameter
7432 (setCursorIntern): change to take a ParagraphList::iterator parameter
7433 (setCurrentFont): adjust
7434 (cursorLeft): adjust
7435 (cursorRight): adjust
7436 (deleteEmptyParagraphMechanism): adjust
7438 * text.C (breakParagraph): adjust
7439 (insertChar): adjust
7440 (acceptChange): adjust
7441 (rejectChange): adjust
7442 (selectNextWordToSpellcheck): adjust
7443 (changeCase): adjust
7447 * lyxfind.C (SearchForward): adjust
7448 (SearchBackward): adjust
7449 (nextChange): adjust
7451 * lyxcursor.C (par): adjust
7453 * lyxcursor.h: store a ParagraphList::iterator instead of a
7456 * lyx_cb.C (getPossibleLabel): adjust
7458 * bufferview_funcs.C (toggleAndShow): adjust
7460 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7463 * BufferView.C (removeAutoInsets): adjust
7464 (lockedInsetStoreUndo): adjust
7466 2003-04-09 John Levon <levon@movementarian.org>
7468 * ToolbarBackend.C: try icon without argument
7469 if with argument fails
7471 2003-04-08 John Levon <levon@movementarian.org>
7474 * ToolbarBackend.C: add getIcon(), handle tooltip,
7475 and change from "Icon" to "Item".
7477 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7479 * BufferView.C (lockInset): another bad getchar crunched
7481 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7483 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7486 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7488 * lyxfind.C (searchForward, searchBackwards): bug 782
7490 2003-04-07 John Levon <levon@movementarian.org>
7492 * paragraph.C: remove dead comment
7494 * text.C: remove troublesome depth-fiddling code
7495 in leftMargin() and rightMargin() (bug 1017)
7497 * text.C: fix breaking of rows in nested lists
7500 * text2.C (updateCounters): fix up depth values
7503 2003-04-07 John Levon <levon@movementarian.org>
7505 * BufferView_pimpl.C: clear message when doc finishes resizing,
7506 and after a mouse event
7508 * lyxfunc.C: clear message after exiting inset
7510 2003-04-07 John Levon <levon@movementarian.org>
7512 * bufferview_funcs.C: show math status not outside
7513 status in the statusbar
7515 2003-04-07 John Levon <levon@movementarian.org>
7517 * lyxfunc.C: note status changed after a depth change
7519 2003-04-04 Angus Leeming <leeming@lyx.org>
7521 * LaTeX.h: move AuxInfo operator==, != out of line.
7522 Remove LaTeX virtual destructor; nothing derives from it.
7523 Move operator()() out of public area and rename it startscript().
7524 Change protected for private.
7526 2003-04-04 Angus Leeming <leeming@lyx.org>
7529 * text2.C: remove unneeded #includes.
7531 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7533 * text2.C (dEPM): fix the heigth of the next row
7535 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7537 * text.C: squashed an invalid getChar requester + some ws changes
7539 2003-04-03 John Levon <levon@movementarian.org>
7541 * bufferview_funcs.h:
7542 * bufferview_funcs.C:
7545 * text2.C: make getStatus work for the env depth lfuns
7547 2003-04-03 John Levon <levon@movementarian.org>
7549 * bufferview_funcs.h:
7550 * bufferview_funcs.C:
7553 * text2.C: parlistize decDepth(), by merging it with incDepth()
7555 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * lyxrow.h: store a ParagraphList::iterator instead of a
7558 Paragraph* and adjust other class functions to suit.
7560 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7563 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7565 * text2.C (setCursor): do not anchor to cursor row for the time being
7567 2003-04-02 John Levon <levon@movementarian.org>
7574 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7576 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7578 * paragraph.h: make ParagraphList and ParagraphList::iterator
7579 friends of Paragraph.
7581 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7583 * ParagraphList.C: Use the private next_ and previous_ from
7586 2003-04-01 John Levon <levon@movementarian.org>
7590 * Makefile.am: rename, remove defaults gunk
7593 * MenuBackend.C: remove defaults gunk
7596 * Languages.C: remove defaults gunk
7599 * lyx_main.C: error out if files couldn't be found.
7601 2003-04-02 John Levon <levon@movementarian.org>
7603 * text2.C: make incDepth() use parlist
7605 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * undo_funcs.C (firstUndoParagraph): adjust
7609 * text3.C (gotoInset): adjust
7610 (dispatch): adjust, and rewrite loop.
7612 * text2.C (init): adjust, and rewrite loop.
7613 (redoParagraphs): adjust
7614 (updateInset): adjust, and rewrite loop.
7615 (deleteEmptyParagraphMechanism): adjust
7617 * tabular.C (LyXTabular): adjust
7618 (SetMultiColumn): adjust
7621 * lyxtext.[Ch] (ownerParagraph): delete function
7622 (ownerParagraphs): new function returns a ParagraphList.
7624 * BufferView.C (removeAutoInsets): adjust
7625 (insertErrors): adjust
7626 (setCursorFromRow): adjust
7628 2003-04-01 Angus Leeming <leeming@lyx.org>
7630 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7633 2003-04-02 John Levon <levon@movementarian.org>
7639 * text_funcs.C: make transposeChars a free function
7641 * lyxrow_funcs.C: remove wrong comment
7643 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * rowpainter.C: adjust
7651 * lyxrow_funcs. [Ch]: new files
7653 * lyxrow.[Ch]: remove next and previous pointers
7654 (next,previous): remove accessor functions
7655 (isParEnd): move to lyxrow_funcs
7656 (lastPos): move to lyxrow_funcs
7657 (nextRowIsAllInset): move to lyxrow_funcs
7658 (lastPrintablePos): move to lyxrow_funcs
7659 (numberOfSeparators): move to lyxrow_funcs
7660 (numberOfHfills): move to lyxrow_funcs
7661 (numberOfLabelHfills): move to lyxrow_funcs
7662 (hfillExpansion): move to lyxrow_funcs
7666 * bufferview_funcs.C (toggleAndShow): adjust
7668 * RowList.h: Remove class RowList from file leave just a
7671 * RowList.C: delete file
7673 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7676 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * text3.C (cursorPrevious): adjust
7679 (cursorNext): adjust
7682 * text2.C (redoHeightOfParagraph): adjust
7683 (redoDrawingOfParagraph): adjust
7686 * text.C (breakParagraph): adjust
7687 (insertChar): adjust
7690 * rowpainter.C (RowPainter): adjust
7691 (leftMargin): simplify and adjust
7692 (most rowpainter functions): adjust.
7694 * rowpainter.h: store the row as RowList::iterator not as Row*
7696 * lyxcursor.C (row): taka RowList::iterator as arg
7699 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7702 2003-04-01 Angus Leeming <leeming@lyx.org>
7704 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7705 stuff like bool Bool.
7707 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7709 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7712 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7717 * lyxtext.h (rows): drop one version and leve a const variant that
7718 returns a RowList::iterator.
7720 2003-03-31 Angus Leeming <leeming@lyx.org>
7722 * text.C (fill): ensure that the signature is the same as that in the
7725 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7727 * text2.C (redoParagraphs): adjust
7728 (updateCounters): adjust
7729 (checkParagraph): adjust
7730 (getColumnNearX): adjust and reformat a bit.
7732 * text.C (top_y): adjust
7734 (leftMargin): adjust
7735 (prepareToPrint): adjust
7737 (getRowNearY): adjust
7739 * lyxtext.h: make rowlist_ mutable.
7741 * RowList.h: add const_iterator
7742 * RowList.C: adjust for RowList::const_iterator.
7744 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7747 2003-03-31 John Levon <levon@movementarian.org>
7750 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7752 * lyx_main.C: set default fonts from using lyx_gui funcs
7754 * exporter.C: pdf_mode moved from lyxrc
7757 * lyxfunc.C: changes from above
7759 2003-03-31 John Levon <levon@movementarian.org>
7761 * lyx_main.C: fix to the last fix
7763 2003-03-31 John Levon <levon@movementarian.org>
7765 * bufferlist.C: "Load original" -> "Load Original"
7771 * format.C: more Alert cleanups
7773 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7775 * text2.C (removeParagraph): make it take a RowList::iterator as
7777 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7778 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7780 * text.C (anchor_row): make it take a RowList::iterator as arg,
7782 (computeBidiTables): make it take a const reference to Row instead
7783 of Row pointer, adjust.
7784 (leftMargin): make it take a RowList::iterator as arg, adjust.
7785 (rowBreakPoint): adjust
7786 (breakAgainOneRow): make it take a RowList::iterator as arg,
7788 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7790 * bufferview_funcs.C (toggleAndShow): adjust
7792 2003-03-30 John Levon <levon@movementarian.org>
7796 * boost-inst.C: moved to support
7798 * several files: changes as a result
7800 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * text2.C (LyXText): adjust.
7804 (removeRow): make it take a RowList::iterator as arg, adjust.
7805 (fullRebreak): adjust
7806 (deleteEmptyParagraphMechanism): adjust
7807 (clearPaint): adjust
7810 * text.C (top_y): adjust
7811 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7812 (breakAgain): make it take a RowList::iterator as arg, adjust.
7813 (breakParagraph): adjust
7814 (insertChar): adjust
7817 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7818 need_break_row, and refresh_row.
7820 * text3.C (dispatch): adjust
7822 * text2.C (checkParagraph): adjust
7824 (setCursorFromCoordinates): adjust
7826 * text.C (top_y): adjust
7828 (getRow): make it return a RowList::iterator, adjust
7829 (getRowNearY): make it return a RowList::iterator, adjust
7831 * text2.C (init): adjust
7832 (insertRow): remove function
7833 (insertParagraph): adjust
7834 (redoParagraphs): adjust
7835 (fullRebreak): adjust
7836 (updateCounters): adjust
7838 * text.C (top_y): rewrite to use RowList iterators.
7840 (setHeightOfRow): rewrite to sue RowList iterators.
7841 (appendParagraph): adjust
7842 (breakAgain): adjust
7843 (breakAgainOneRow): adjust
7844 (breakParagraph): adjust
7846 (getRowNearY): adjust, and remove commented code.
7848 * lyxtext.h (firstRow): delete function
7849 (lastRow): delete function
7850 (rows): new function (const and non-const versions.)
7851 (insertRow): delete function
7853 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7855 2003-03-29 John Levon <levon@movementarian.org>
7857 * BufferView_pimpl.C: always update scrollbar top
7858 because pasting text when we're anchored could mean we
7859 miss an update altogether
7861 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7863 * text2.C (init): use rowlist_.end() and not 0.
7864 (insertRow): change to take a RowList::iterator as arg, adjust
7866 (insertParagraph): change to take a RowList::iterator as arg,
7868 (redoParagraphs): remove some debug msgs.
7870 * text.C (appendParagraph): change to take a RowList::iterator
7871 arg, adjust for this.
7872 (breakAgain): add an assert
7873 (breakAgainOneRow): ditto
7875 2003-03-29 John Levon <levon@movementarian.org>
7877 * text2.C: do not clear selection after inc/decDepth
7880 2003-03-29 John Levon <levon@movementarian.org>
7883 * buffer.C: fix broken strerrors according to Lars
7885 2003-03-29 John Levon <levon@movementarian.org>
7887 * converters.C: more Alert cleanups
7889 2003-03-29 John Levon <levon@movementarian.org>
7891 * bufferview_funcs.C: remove pointless Alert
7893 * buffer.C: fix confusing error message when
7894 a template is chmoded 000
7896 2003-03-29 John Levon <levon@movementarian.org>
7900 * BufferView_pimpl.C: Alert fixes
7904 * tabular-old.C: remove unused table compat reading
7906 2003-03-29 John Levon <levon@movementarian.org>
7911 * lyx_cb.C: more Alert cleanups
7913 * lyxfunc.C: don't allow chktex if not latex document
7915 2003-03-29 John Levon <levon@movementarian.org>
7919 * buffer.C: warnings pushed down from support/,
7922 2003-03-29 John Levon <levon@movementarian.org>
7924 * lyxfunc.C: safety check for C-r (revert)
7926 2003-03-29 John Levon <levon@movementarian.org>
7929 * bufferlist.C: several UI fixes using Alert::prompt.
7930 Fix the pointless looping quit code. Fix stupid revert
7935 * lyx_cb.C: use Alert::prompt
7937 * lyx_main.C: remove a silly question
7939 * lyxfunc.C: remove a couple of silly questions,
7942 2003-03-28 John Levon <levon@movementarian.org>
7944 * text2.C: fix bug 974 (End on empty par)
7946 2003-03-28 John Levon <levon@movementarian.org>
7948 * BufferView_pimpl.C:
7950 * lfuns.h: remove do-nothing math greek lfuns
7952 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7954 * lyxgluelength.h (isValidGlueLength): add default arg on
7955 parameter 2. Remove default arg from friend in class.
7957 * lyxlength.h (isValidLength): add default arg on parameter 2.
7958 Remove default arg from friend in class.
7960 * text2.C (LyXText): adjust, initialize refresh_row.
7964 (insertParagraph): adjst
7965 (redoParagraphs): adjust
7966 (fullRebreak): adjust
7967 (updateCounters): adjust
7968 (deleteEmptyParagraphMechanism): first attempt at fixing a
7971 * text.C (top_y): adjust
7972 (setHeightOfRow): adjust
7974 (getRowNearY): adjust
7976 * lyxtext.h: include RowList.h
7977 (~LyXText): not needed anymore, deleted.
7978 (firstRow): modify for RowList
7979 (lastRow): new function
7980 Delete firstrow and lastrow class variables, add a Rowlist
7981 rowlist_ class variable.
7983 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7986 * RowList.C (insert): fix case where it == begin().
7988 2003-03-26 Angus Leeming <leeming@lyx.org>
7990 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7991 the thesaurus dialog.
7993 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7995 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7997 * RowList.[Ch]: new files
7999 * ParagraphList.C (erase): handle the case where it == begin
8002 2003-03-25 John Levon <levon@movementarian.org>
8006 * aspell.C: add new aspell support
8009 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8012 2003-03-25 Angus Leeming <leeming@lyx.org>
8015 * LyXAction.C (init): new LFUN_INSET_INSERT.
8017 * BufferView_pimpl.C (dispatch): split out part of the
8018 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8020 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8023 2003-03-25 Angus Leeming <leeming@lyx.org>
8025 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8027 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8030 * text3.C: remove useless row->height(0)
8032 2003-03-25 John Levon <levon@movementarian.org>
8036 * text3.C: rename the refreshing stuff to better names
8038 2003-03-24 John Levon <levon@movementarian.org>
8040 * BufferView_pimpl.h:
8041 * BufferView_pimpl.C: update layout choice on a mouse
8044 2003-03-23 John Levon <levon@movementarian.org>
8046 * Makefile.am: fix commandtags.h reference
8048 2003-03-22 John Levon <levon@movementarian.org>
8050 * BufferView_pimpl.C:
8055 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8057 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8060 * text.C: take the rtl methods out of line
8062 2003-03-21 André Pönitz <poenitz@gmx.net>
8064 * metricsinfo.[Ch]: new files containing structures to be passed around
8065 during the two-phase-drawing...
8067 2003-03-21 André Pönitz <poenitz@gmx.net>
8069 * lyxtextclass.C: read 'environment' tag.
8071 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8073 * text2.C (removeRow): fix bug 964
8075 2003-03-20 John Levon <levon@movementarian.org>
8079 * text2.C: paint cleanups. Inset::update() dropped font
8082 2003-03-19 John Levon <levon@movementarian.org>
8084 * lyxfunc.C: only fitcursor/markDirty if available()
8086 2003-03-19 John Levon <levon@movementarian.org>
8088 * commandtags.h: rename to ...
8090 * lfuns.h: ... this, and renumber / cleanup
8092 2003-03-19 John Levon <levon@movementarian.org>
8094 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8095 fit the cursor after an lfun
8099 * BufferView_pimpl.h:
8100 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8102 * LyXAction.C: layout-character should have ReadOnly
8104 * ParagraphParameters.C:
8106 * bufferview_funcs.C:
8113 * undo_funcs.C: changes from above
8115 2003-03-18 John Levon <levon@movementarian.org>
8117 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8118 remove it from update()
8120 * lyxfunc.C: update layout choice after an lfun
8122 * text3.C: remove extra updateLayoutChoice()s
8124 2003-03-18 John Levon <levon@movementarian.org>
8126 * text.C: top_y change means full repaint, fix
8127 a drawing bug with cursor movement
8129 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8133 * text2.C: anchor row on setCursor
8135 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8137 * lyxtext.h: remove almost all mutable keywords
8140 * text3.C: remove const keywords accordingly
8142 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8144 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8146 (TeXEnvironment): ditto
8149 2003-03-17 John Levon <levon@movementarian.org>
8151 * text.C (rowBreakPoint): remove attempt to fix displayed
8152 math insets inside a manual label
8154 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * lyxtext.h: remove BufferView* as first arg from almost all class
8158 * other files: adjust.
8160 2003-03-17 John Levon <levon@movementarian.org>
8164 * text2.C: more paint cleanups
8166 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8169 * rowpainter.C: remove "smart" background painting code
8171 2003-03-16 John Levon <levon@movementarian.org>
8176 * text3.C: add helper functions for setting refresh_row/y
8178 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8180 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8181 newline inset which *can* get inserted in the pass_thru layouts.
8182 This is primarily for literate documents.
8184 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8186 * buffer.C: increment LYX_FORMAT to 223
8188 2003-03-14 André Pönitz <poenitz@gmx.net>
8190 * textclass.h: prepare for environment handling, ws changes
8191 * lyxlayout.C: read latexheader and latexfooter tags
8193 2003-03-14 John Levon <levon@movementarian.org>
8195 * text2.C: rewrite ::status() a bit
8197 2003-03-13 John Levon <levon@movementarian.org>
8199 * lyxtext.h: add some docs
8201 2003-03-13 John Levon <levon@movementarian.org>
8206 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8208 2003-03-13 John Levon <levon@movementarian.org>
8210 * text3.C: fix appendix redrawing
8212 2003-03-13 John Levon <levon@movementarian.org>
8214 * text.C (setHeightOfRow):
8216 * rowpainter.C: make appendix mark have the text
8217 "Appendix" so the user knows what it is
8220 * LColor.C: s/appendixline/appendix/ from above
8222 2003-03-13 John Levon <levon@movementarian.org>
8224 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8226 * text.C: fix a getChar(pos) bug properly
8228 2003-03-13 Angus Leeming <leeming@lyx.org>
8231 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8232 Probably only temporary. Let's see how things pan out.
8234 * BufferView.C (unlockInset):
8235 * BufferView_pimpl.C (fitCursor):
8236 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8238 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8239 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8241 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8242 new functions that convert ParagraphParameters to and from a string.
8244 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8245 BufferView::Pimpl's dispatch.
8246 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8248 2003-03-13 André Pönitz <poenitz@gmx.net>
8252 * factory.C: make it aware of InsetEnv
8254 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8256 * text2.C (setCursor): never ask for one past last
8257 (setCursor): add some debugging messages.
8259 * text.C (singleWidth): never ask for one past last
8260 (singleWidth): ditto
8262 (rightMargin): ditto
8263 (rowBreakPoint): ditto
8264 (setHeightOfRow): ditto
8265 (prepareToPrint): ditto
8267 * rowpainter.C (paintBackground): never ask for one past last
8268 (paintText): never ask for one past last
8270 * paragraph_pimpl.C (getChar): make the assert stricter, never
8271 allow the one past last pos to be taken
8273 * paragraph.C (getChar): ws changes only
8275 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8276 (numberOfSeparators): ditto
8277 (numberOfHfills): ditto
8279 2003-03-12 John Levon <levon@movementarian.org>
8285 * paragraph_funcs.C: fix per-buffer authorlists
8287 2003-03-12 John Levon <levon@movementarian.org>
8289 * text.C: fix newline in right address
8291 2003-03-12 Angus Leeming <leeming@lyx.org>
8293 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8294 duplicate those in LyXFunc::dispatch.
8298 * ToolbarDefaults.C:
8299 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8300 Add LFUN_FONTFREE_UPDATE.
8302 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8303 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8305 * bufferview_func.[Ch]: several new functions to facilliate
8306 transfer of data to and from the character dialog.
8308 2003-03-12 John Levon <levon@movementarian.org>
8313 * paragraph_funcs.C:
8314 * paragraph_pimpl.C:
8318 * text3.C: remove META_NEWLINE in favour of an inset
8321 * rowpainter.C: remove paintNewline (done by inset)
8323 2003-03-12 John Levon <levon@movementarian.org>
8325 * paragraph_pimpl.C: complain about bad getChar()s
8326 for a while at least
8328 2003-03-12 John Levon <levon@movementarian.org>
8331 * buffer.C: move paragraph read into a separate function,
8332 a little renaming to reflect that.
8335 * bufferparams.C: remove the author_ids map, not necessary now
8338 * factory.C: moved Buffer::readInset to here
8340 * paragraph_funcs.h:
8341 * paragraph_funcs.C: readParagraph free function moved from
8344 * tabular.C: name change
8346 2003-03-12 John Levon <levon@movementarian.org>
8349 * ParagraphParameters.C: move par params input to
8352 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8353 behave like a normal read from the stream wrt reading
8354 a line vs. a \\token
8356 2003-03-12 John Levon <levon@movementarian.org>
8359 * ParagraphParameters.h:
8360 * ParagraphParameters.C: move output code to a
8363 2003-03-12 John Levon <levon@movementarian.org>
8365 * BufferView.C (insertLyXFile):
8368 * tabular.C: use a parlist iterator for creating the
8371 2003-03-12 John Levon <levon@movementarian.org>
8373 * buffer.C: make current_change static local not
8376 2003-03-12 John Levon <levon@movementarian.org>
8378 * buffer.C: fix insertStringAsLines for change tracking
8380 2003-03-12 John Levon <levon@movementarian.org>
8387 * bufferparams.C: move author list into params. Rename some
8388 functions. Move the header reading into a separate token
8389 loop. Move the header token reading into BufferParams.
8391 2003-03-12 John Levon <levon@movementarian.org>
8393 * changes.C: put debug inside lyxerr.debugging() checks
8395 2003-03-11 André Pönitz <poenitz@gmx.net>
8397 * factory.C: make it aware of InsetHFill
8399 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8401 * buffer.C (latexParagraphs): move function from here...
8402 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8405 2003-03-10 Angus Leeming <leeming@lyx.org>
8407 * LyXAction.C (init): fix bug in poplating array with multiple entries
8408 with the same LFUN (spotted by JMarc).
8410 2003-03-10 John Levon <levon@movementarian.org>
8413 * text2.C: move getColumnNearX() near its
8416 2003-03-10 John Levon <levon@movementarian.org>
8418 * text.C: fix break before a minipage
8420 2003-03-10 John Levon <levon@movementarian.org>
8422 * text.C: fix the last commit
8424 2003-03-09 John Levon <levon@movementarian.org>
8428 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8429 bug 365 (don't break before insets unless needed). Don't
8430 return a value > last under any circumstances.
8432 2003-03-09 Angus Leeming <leeming@lyx.org>
8434 * BufferView_pimpl.C (trackChanges, dispatch): call
8435 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8437 2003-03-09 Angus Leeming <leeming@lyx.org>
8439 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8440 than Dialogs::showAboutlyx().
8442 2003-03-09 Angus Leeming <leeming@lyx.org>
8444 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8445 than Dialogs::showTabularCreate().
8447 2003-03-09 John Levon <levon@movementarian.org>
8451 * text2.C: 3rd arg to nextBreakPoint was always the same.
8454 2003-03-08 John Levon <levon@movementarian.org>
8461 * text2.C: Remove the "main" bit from the "main body"
8464 2003-03-08 John Levon <levon@movementarian.org>
8466 * text.C (leftMargin): The left margin of an empty
8467 manual label paragraph should not include the label width
8470 * text.C (prepareToPrint): don't attempt to measure hfills
8471 for empty manual label paragraphs - the answer should be 0
8473 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8475 * CutAndPaste.C: remove commented code and reindent.
8477 2003-03-08 John Levon <levon@movementarian.org>
8480 * lyxfunc.C: move reloadBuffer()
8483 * BufferView.C: to here
8485 * lyxvc.C: add comment
8488 * vc-backend.C: call bv->reload() to avoid
8489 getStatus() check on MENURELOAD
8491 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8493 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8494 to an old format .dep file.
8496 2003-03-07 Angus Leeming <leeming@lyx.org>
8498 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8499 when the LFUN_MOUSE_RELEASE should have been handled by
8500 inset->localDispatch.
8502 2003-03-07 Angus Leeming <leeming@lyx.org>
8504 * BufferView_pimpl.C (dispatch):
8505 * LyXAction.C (init):
8506 * ToolbarDefaults.C (init):
8508 * lyxfunc.C (getStatus):
8509 remove LFUN_INSET_GRAPHICS.
8511 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8513 2003-03-07 Angus Leeming <leeming@lyx.org>
8516 * LyXAction.C (init):
8517 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8519 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8522 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8524 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8525 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8527 2003-03-07 Angus Leeming <leeming@lyx.org>
8529 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8532 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8534 * ParagraphList.C (front): new function
8537 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8539 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8540 and top_row_offset_. removed var first_y.
8542 * text2.C (LyXText, removeRow):
8544 * BufferView_pimpl.C:
8545 use these methods instead of using first_y
8547 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8549 * text2.C (pasteSelection): adjust for checkPastePossible
8551 * CutAndPaste.C: remove Paragraph * buf and replace with
8552 ParagraphList paragraphs.
8553 (DeleteBuffer): delete
8554 (cutSelection): change the tc type to textclass_type
8555 (copySelection): change the tc type to textclass_type
8556 (copySelection): adjust for ParagraphList
8557 (pasteSelection): change the tc type to textclass_type
8558 (pasteSelection): adjust for Paragraphlist
8559 (nrOfParagraphs): simplify for ParagraphList
8560 (checkPastePossible): simplify for ParagraphList
8561 (checkPastePossible): remove unused arg
8563 * ParagraphList.C (insert): handle the case where there are no
8566 * CutAndPaste.h: make CutAndPaste a namespace.
8568 * text3.C (dispatch): adjust
8570 * text.C (breakParagraph): add a ParagraphList as arg
8572 * paragraph_funcs.C (breakParagraph): change to take a
8573 BufferParams and a ParagraphList as args.
8574 (breakParagraphConservative): ditto
8575 (mergeParagraph): ditto
8576 (TeXDeeper): add a ParagraphList arg
8577 (TeXEnvironment): ditto
8580 * buffer.C (readLyXformat2): adjust
8581 (insertStringAsLines): adjust
8582 (latexParagraphs): adjust
8584 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8585 (cutSelection): adjust
8586 (pasteSelection): adjust
8588 * BufferView_pimpl.C (insertInset): adjust
8590 2003-03-05 Angus Leeming <leeming@lyx.org>
8593 * LyXAction.C (init):
8594 * BufferView_pimpl.C (dispatch):
8595 * lyxfunc.C (getStatus):
8596 remove LFUN_CHILD_INSERT.
8598 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8600 2003-03-05 Angus Leeming <leeming@lyx.org>
8603 * LyXAction.C (init):
8604 * src/factory.C (createInset):
8605 * lyxfunc.C (getStatus):
8606 * text3.C (dispatch):
8607 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8609 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8611 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8613 * ParagraphList.C (insert): handle insert right before end()
8614 (erase): fix cases where it can be first or last paragraph.
8616 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8618 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8619 Paragraph::next and Paragraph::previous
8622 * text.C (breakParagraph): adjust
8624 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8625 BufferParams& as arg.
8626 (breakParagraph): use ParagraphList::insert
8627 (breakParagraphConservative): take a Buffer* instead of a
8628 BufferParams& as arg.
8629 (breakParagraphConservative): use ParagraphList::insert.
8631 * buffer.C (insertStringAsLines): un-const it
8632 (insertStringAsLines): adjust
8634 * ParagraphList.C (insert): new function
8636 * CutAndPaste.C (pasteSelection): adjust
8638 * text.C (backspace): adjust
8640 * tabular.C (SetMultiColumn): adjust
8642 * CutAndPaste.C (cutSelection): adjust
8643 (pasteSelection): adjust
8645 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8646 Buffer const * as arg
8648 * ParagraphList.C (erase): new function
8649 * paragraph_funcs.C (mergeParagraph): use it
8650 (mergeParagraph): make it take a Buffer* instead of a
8651 BufferParams* as arg
8653 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8655 (breakParagraphConservative): ditto
8657 * paragraph.h: remove the breakParagraph friend
8659 * paragraph.C (eraseIntern): new function
8660 (setChange): new function
8662 * paragraph_funcs.C (mergeParagraph): make it take a
8663 ParagraphList::iterator instead of a Paragraph *, adjust
8666 * paragraph.h: move an #endif so that the change tracking stuff
8667 also works in the NO_NEXT case.
8669 2003-03-04 Angus Leeming <leeming@lyx.org>
8672 * LyXAction.C: new LFUN_INSET_MODIFY.
8674 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8675 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8677 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8679 * several files: ws changes only
8681 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8682 (TeXEnvironment): ditto
8685 * buffer.C (makeLaTeXFile): adjust
8686 (latexParagraphs): make it take ParagraphList::iterator as args
8688 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8690 * buffer.C (latexParagraphs): adjust
8692 * paragraph.C (TeXOnePar): move function...
8693 (optArgInset): move function...
8694 (TeXEnvironment): move function...
8695 * paragraph_pimpl.C (TeXDeeper): move function...
8696 * paragraph_funcs.C: ...here
8698 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8700 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8702 * buffer.C (readInset): remove compability code for old Figure and
8705 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8707 * buffer.C: ws changes
8710 * BufferView_pimpl.C: ditto
8713 * bufferlist.h: ditto
8717 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8719 * converter.[Ch]: split into itself +
8722 * Makefile.am: += graph.[Ch] + format.[Ch]
8729 * lyxrc.C: added #include "format.h"
8731 2003-02-27 Angus Leeming <leeming@lyx.org>
8733 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8736 * factory.C (createInset): add "label" to the factory.
8738 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8739 string and do no more.
8741 2003-02-27 Angus Leeming <leeming@lyx.org>
8744 * LyXAction.C (init):
8745 * factory.C (createInset):
8746 * BufferView_pimpl.C (dispatch):
8747 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8749 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8751 * lyxfunc.C (dispatch):
8752 * text3.C (dispatch): pass name to params2string.
8754 2003-02-26 Angus Leeming <leeming@lyx.org>
8756 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8758 Rearrange the ~includes. Strip out the unnecessary ones.
8760 * factory.C (createInset): reformat.
8761 create new insets for the various LFUN_XYZ_APPLY lfuns.
8763 2003-02-26 John Levon <levon@movementarian.org>
8766 * lyxrow.C: add isParStart,isParEnd helpers
8768 * paragraph.h: make isInserted/DeletedText take refs
8770 * paragraph_funcs.h:
8771 * paragraph_funcs.C: remove #if 0'd code
8776 * text.C: use lyxrow helpers above.
8777 Move draw and paint routines to RowPainter.
8778 Make several methods use refs not pointers.
8779 Make backgroundColor() const.
8780 Add markChangeInDraw(), isInInset().
8781 Merge changeRegionCase into changeCase.
8782 Make workWidth() shouldn't-happen code into an Assert.
8785 * rowpainter.C: new class for painting a row.
8788 * vspace.C: make inPixels take a ref
8790 2003-02-26 Angus Leeming <leeming@lyx.org>
8792 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8795 2003-02-25 John Levon <levon@movementarian.org>
8797 * ispell.C: give the forked command a more accurate name
8799 2003-02-22 John Levon <levon@movementarian.org>
8802 * toc.C: make TocItem store an id not a Paragraph *
8805 2003-02-21 Angus Leeming <leeming@lyx.org>
8807 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8808 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8809 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8810 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8811 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8812 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8814 * BufferView_pimpl.C (dispatch):
8815 * LyXAction.C (init):
8816 * factory.C (createInset):
8817 * lyxfunc.C (getStatus, dispatch):
8818 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8820 2003-02-21 Angus Leeming <leeming@lyx.org>
8822 * BufferView_pimpl.C (MenuInsertLyXFile):
8823 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8824 * lyxfunc.C (menuNew, open, doImport):
8825 no longer pass a LyXView & to fileDlg.
8827 2003-02-21 Angus Leeming <leeming@lyx.org>
8829 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8830 * LyXAction.C: change, BIBKEY to BIBITEM.
8831 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8832 Change InsetBibKey to InsetBibitem.
8833 Change BIBKEY_CODE to BIBITEM_CODE.
8834 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8835 * factory.C: replace insetbib.h with insetbibitem.h.
8836 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8837 * paragraph.C: replace insetbib.h with insetbibitem.h.
8838 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8839 Change bibkey() to bibitem().
8840 * text.C: remove insetbib.h.
8841 * text2.C: replace insetbib.h with insetbibitem.h.
8842 change bibkey() to bibitem().
8843 * text3.C: remove insetbib.h.
8844 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8846 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8848 * lyxrc.C (output): enclose user email in quotes (in case there are
8851 2003-02-18 John Levon <levon@movementarian.org>
8853 * buffer.h: add std::
8855 2003-02-17 John Levon <levon@movementarian.org>
8861 * pspell.C: reworking. Especially in ispell, a large
8862 number of clean ups and bug fixes.
8864 * lyxfunc.C: fix revert to behave sensibly
8866 2003-02-17 André Pönitz <poenitz@gmx.net>
8869 * commandtags.h: new LFUN_INSERT_BIBKEY
8879 * paragraph_func.C: remove special bibkey handling
8881 2003-02-17 John Levon <levon@movementarian.org>
8883 * text.C (Delete): fix case where delete at the end of
8884 the very first paragraph would not merge the pars
8886 2003-02-17 John Levon <levon@movementarian.org>
8888 * lyxrow.C: fix lastPrintablePos()
8890 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8892 * bufferparams.C (writeLaTeX): add a std:here
8894 * buffer.C: and remove a using directive there
8896 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8898 * buffer.C (makeLaTeXFile): move the code that generates the
8901 * bufferparams.C (writeLaTeX): ... in this new method
8903 * LaTeXFeatures.C (getEncodingSet): make const
8904 (getLanguages): make const
8906 * MenuBackend.C (binding): returns the binding associated to this
8908 (add): sets the status of each item by calling getStatus. Adds
8910 (read): add support for OptSubMenu
8911 (expand): remove extra separator at the end of expanded menu
8913 2003-02-15 John Levon <levon@movementarian.org>
8916 * BufferView_pimpl.C:
8918 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8919 inset code that had no actual effect. Remove unneeded status
8922 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8924 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8927 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8929 * text.C (drawLengthMarker): also draw an arrow marker for
8930 symbolic lengths (medskip...)
8932 2003-02-14 John Levon <levon@movementarian.org>
8935 * tabular.C: better method names
8937 2003-02-14 John Levon <levon@movementarian.org>
8939 * BufferView_pimpl.C:
8944 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8945 it's a more accurate name. Remove some pointless uses.
8947 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8949 * text2.C (LyXText): change order of initilizers to shut off
8952 2003-02-14 John Levon <levon@movementarian.org>
8954 * buffer.C: use ParIterator for getParFromID()
8958 * paragraph_pimpl.h:
8959 * paragraph_pimpl.C: remove unused getParFromID()
8961 2003-02-14 John Levon <levon@movementarian.org>
8963 * buffer.C: remove some very old #if 0'd parse code
8965 2003-02-13 John Levon <levon@movementarian.org>
8969 * text2.C: move hfillExpansion(), numberOfSeparators(),
8970 rowLast(), rowLastPrintable(), numberofHfills(),
8971 numberOfLabelHfills() ...
8974 * lyxrow.C: ... to member functions here.
8979 * text.C: remove LyXText::beginningOfMainBody(), and call
8980 p->beginningOfMainBody() directly. Move the check for
8981 LABEL_MANUAL into the latter.
8988 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8994 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8995 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8997 2003-02-13 John Levon <levon@movementarian.org>
8999 * CutAndPaste.C: remove debug
9001 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9003 * paragraph.C (asString): remove two unused variables
9005 * lyxtextclass.C (readTitleType):
9007 (LyXTextClass): handle new members titletype_ and titlename_
9009 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9011 2003-02-09 John Levon <levon@movementarian.org>
9014 * buffer.C: replace hand-coded list with a map for the dep clean
9016 2003-02-08 John Levon <levon@movementarian.org>
9018 * LaTeX.C: consolidate code into showRunMessage() helper
9020 2003-02-08 John Levon <levon@movementarian.org>
9025 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9026 and pass the size in explicitly
9028 * BufferView_pimpl.h:
9029 * BufferView_pimpl.C:
9031 * BufferView.C: add getCurrentChange()
9033 * BufferView_pimpl.h:
9034 * BufferView_pimpl.C: handle change lfuns
9036 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9037 for changes. Mark pasted paragraphs as new.
9039 * support/lyxtime.h:
9040 * support/lyxtime.C:
9041 * DepTable.C: abstract time_t as lyx::time_type
9044 * LColor.C: add colours for new text, deleted text, changebars
9046 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9047 package use "usenames" option.
9051 * LyXAction.C: add change lfuns
9055 * author.C: author handling
9058 * buffer.C: add a per-buffer author list, with first entry as
9059 current author. Handle new .lyx tokens for change tracking. Output
9060 author list to .lyx file. Output dvipost stuff to .tex preamble.
9061 Bump lyx format to 222.
9064 * bufferlist.C: add setCurrentAuthor() to reset current author details
9068 * bufferparams.C: add param for tracking
9070 * bufferview_funcs.C: output change info in minibuffer
9074 * changes.C: add change-tracking structure
9077 * debug.C: add CHANGES debug flag
9080 * lyxfind.C: add code for finding the next change piece
9083 * lyxrc.C: add user_name and user_email
9086 * lyxrow.C: add a metric for the top of the text line
9089 * text.C: implement accept/rejectChange()
9092 * text.C: paint changebars. Paint new/deleted text in the chosen
9093 colours. Strike through deleted text.
9097 * paragraph_pimpl.h:
9098 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9099 in the current change to the insert functions. Rework erase to
9100 mark text as deleted, adding an eraseIntern() and a range-based
9101 erase(). Implement per-paragraph change lookup and
9104 * paragraph_funcs.C: Fixup paste for change tracking.
9106 * tabular.C: mark added row/columns as new.
9108 * text.C: fix rowLast() to never return -1. Don't allow
9109 spellchecking of deleted text. Track transpose changes. Don't
9110 allow paragraph break or merge where appropriate.
9112 * text2.C: leave cursor at end of selection after a cut.
9114 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9116 * text.C (getLengthMarkerHeight):
9117 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9118 visible on screen too.
9120 2003-02-07 John Levon <levon@movementarian.org>
9122 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9124 2003-02-05 Angus Leeming <leeming@lyx.org>
9126 * lyxserver.C (read_ready): revert my patch of 11 September last year
9127 as it sends PC cpu through the roof. Presumably this means that
9128 the lyxserver will no longer run on an Alpha...
9130 2003-01-30 Angus Leeming <leeming@lyx.org>
9132 * factory.C (createInset): create an InsetCommandParam of type "index"
9133 and use it to 'do the right thing'.
9135 * text2.C (getStringToIndex): ensure that cursor position is always
9136 reset to the reset_cursor position.
9138 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9140 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9143 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9147 * lyxfunc.C: Output messages with identical spelling, punctuation,
9150 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9152 * MenuBackend.C (expandFormats): List only viewable export formats
9155 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9158 * lyxfunc.C (getStatus): Make sure that formats other than
9159 "fax" can also be disabled
9161 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9163 * text3.C (dispatch): put the lfuns that insert insets in 3
9164 groups, and call doInsertInset with appropriate arguments.
9165 (doInsertInset): new function, that creates an inset and inserts
9166 it according to some boolean parameters.
9168 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9170 * buffer.C (readFile): remember to pass on 'par' when calling
9171 readFile recursively.
9173 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9175 * MenuBackend.C (expandFormats): add "..." to import formats.
9177 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9179 * paragraph.C (asString): Remove XForms RTL hacks.
9181 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9182 * buffer.C: fix typo
9184 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9186 * Makefile.am (LIBS): delete var
9187 (lyx_LDADD): add @LIBS@ here instead.
9189 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9191 * Clarify the meaning of "wheel mouse jump"
9193 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9195 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9198 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * importer.C (Loaders): do not preallocate 3 elements in the
9201 vector, since one ends up with 6 elements otherwise
9203 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9205 * DepTable.C (write): write the file name as last element of the
9206 .dep file (because it may contain spaces)
9207 (read): read info in the right order
9209 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9211 * paragraph_pimpl.C (simpleTeXBlanks):
9212 (simpleTeXSpecialChars):
9213 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9215 * tabular.C (latex): add some missing case statements. Reindent.
9217 * MenuBackend.C (expandToc): remove unused variable.
9219 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9228 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9231 2003-01-05 John Levon <levon@movementarian.org>
9234 * BufferView.C: add getEncoding()
9237 * kbsequence.C: do not store last keypress
9240 * lyxfunc.C: store last keypress here instead. Pass encoding
9243 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9245 * lyx_main.C (init): remove annoying error message when following
9246 symbolic links (bug #780)
9248 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9250 * text.C (insertChar):
9251 * lyxrc.C (getDescription): remove extra spaces
9253 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9255 * lyxrc.C (getDescription): remove extra spaces
9257 2002-12-20 John Levon <levon@movementarian.org>
9259 * text3.C: hack fix for page up/down across tall rows
9261 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9263 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9266 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9268 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9269 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9270 thesaurus is not compiled in
9272 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9274 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9276 2002-12-16 Angus Leeming <leeming@lyx.org>
9279 * lyx_main.C (init): remove override_x_deadkeys stuff.
9281 2002-12-12 John Levon <levon@movementarian.org>
9283 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9284 insert. Only remove shift modifier under strict
9287 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9289 * MenuBackend.C (expandToc): fix crash.
9291 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9293 * MenuBackend.C (expandToc): gettext on float names.
9295 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9297 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9298 implement bool empty() [bug 490]
9300 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9302 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9304 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9306 * several files: ws changes
9308 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9310 * text2.C (setCounter): clean up a bit, use boost.format.
9311 (updateCounters): initialize par upon declaration.
9313 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9314 if the layout exists. We do not just store the layout any more.
9315 (SwitchLayoutsBetweenClasses): use boost.format
9317 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9319 * converter.C (convert): if from and to files are the same, use a
9320 temporary files as intermediary
9322 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9325 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9327 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9329 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9331 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9333 * tabular.C (asciiPrintCell): use string(size, char) instead of
9336 * sgml.C (openTag): fix order of arguments to string constructor
9339 * lyxfunc.C (dispatch): use boost.format
9341 * lots of files: change "c" -> 'c'
9343 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9345 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9347 2002-11-25 Angus Leeming <leeming@lyx.org>
9349 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9351 * lyx_main.C (init): compile fix.
9353 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9355 * lyx_cb.C (start): boost.formatify
9356 do not include <iostream>
9358 * lengthcommon.C: ws only
9360 * boost-inst.C,BoostFormat.h: add more explict instantations
9362 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9364 * lots of files: handle USE_BOOST_FORMAT
9366 2002-11-21 John Levon <levon@movementarian.org>
9368 * pspell.C: fix compile
9370 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9372 * lyxfunc.C (dispatch): use boost::format
9376 * lyxfont.C (stateText): use boost::format
9378 * lyx_main.C (LyX): use boost::format
9380 (queryUserLyXDir): ditto
9383 (typedef boost::function): use the recommened syntax.
9385 * importer.C (Import): use boost::format
9387 * debug.C (showLevel): use boost::format
9389 * converter.C (view): use boost::format
9394 * bufferview_funcs.C (currentState): use boost::format
9396 * bufferlist.C (emergencyWrite): use boost::format
9398 * buffer.C (readLyXformat2): use boost::format
9399 (parseSingleLyXformat2Token): ditto
9401 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9403 * LaTeX.C (run): use boost::format
9405 * Chktex.C (scanLogFile): use boost::format
9407 * BufferView_pimpl.C (savePosition): use boost::format
9408 (restorePosition): ditto
9409 (MenuInsertLyXFile): ditto
9411 * BoostFormat.h: help file for explicit instation.
9413 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9415 * tabular.C (latex): Support for block alignment in fixed width
9418 2002-11-17 John Levon <levon@movementarian.org>
9420 * BufferView_pimpl.C:
9422 * lyxfunc.C: split filedialog into open/save
9424 2002-11-08 Juergen Vigna <jug@sad.it>
9426 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9427 by my last patch (hopefully).
9429 2002-11-08 John Levon <levon@movementarian.org>
9438 * toc.C: ParConstIterator, and use it (from Lars)
9440 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9442 * lyxtextclass.[Ch]: revise and add doxygen comments
9444 2002-11-07 John Levon <levon@movementarian.org>
9446 * text.C: fix progress value for spellchecker
9448 * toc.C: fix navigate menu for insetwrap inside minipage
9450 * paragraph_funcs.C: added FIXME for suspect code
9452 2002-11-07 John Levon <levon@movementarian.org>
9454 * BufferView_pimpl.C: fix redrawing of insets
9457 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * text2.C (updateCounters): fix bug 668
9461 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9463 * text3.C (dispatch): Do not make the buffer dirty when moving the
9466 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9468 * vc-backend.C: STRCONV
9471 * text2.C (setCounter): STRCONV
9473 * paragraph.C (asString): STRCONV
9475 * lyxlength.C (asString): STRCONV
9476 (asLatexString): ditto
9478 * lyxgluelength.C (asString): STRCONV
9479 (asLatexString): ditto
9481 * lyxfunc.C (dispatch): STRCONV
9484 * lyxfont.C (stateText): STRCONV
9486 * importer.C (Import): STRCONV
9488 * counters.C (labelItem): STRCONV
9489 (numberLabel): ditto
9490 (numberLabel): remove unused ostringstream o
9495 * bufferview_funcs.C (currentState): STRCONV
9497 * buffer.C (readFile): STRCONV
9498 (asciiParagraph): ditto
9499 (makeLaTeXFile): ditto
9501 * Spacing.C (writeEnvirBegin): STRCONV
9503 * LaTeXFeatures.C (getLanguages): STRCONV
9504 (getPackages): ditto
9506 (getBabelOptions): ditto
9507 (getTClassPreamble): ditto
9508 (getLyXSGMLEntities): ditto
9509 (getIncludedFiles): ditto
9513 (scanAuxFile): ditto
9516 * LString.h: add the STRCONV macros
9518 * BufferView_pimpl.C (savePosition): STRCONV
9519 (restorePosition): ditto
9520 (MenuInsertLyXFile): ditto
9522 * vc-backend.C (scanMaster): change from submatch[...] to
9525 * funcrequest.C: include config.h
9527 * factory.C: include config.h
9529 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9531 * box.C: include config.h
9533 * LaTeX.C (scanAuxFile): change from submatch[...] to
9537 2002-10-25 Angus Leeming <leeming@lyx.org>
9539 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9541 * ispell.[Ch] (setError): new method.
9542 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9543 Use setError() insetead of goto END.
9545 * lyx_cb.C (AutoSave): move out child process into new class
9548 2002-10-30 John Levon <levon@movementarian.org>
9550 * text3.C: make start appendix undoable
9552 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9554 * lyxlength.C (inPixels): Fix returned value.
9556 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9559 2002-10-24 Angus Leeming <leeming@lyx.org>
9561 * lyxgluelength.h: no need to forward declare BufferParams
9562 or BufferView, so don't.
9564 2002-10-21 John Levon <levon@movementarian.org>
9566 * BufferView.C: menuUndo ->undo, redo
9568 * BufferView.h: document, remove dead, make some methods private
9570 * paragraph_funcs.h:
9571 * paragraph_funcs.C:
9572 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9577 * sgml.C: move sgml open/close tag into sgml.C
9579 * bufferview_funcs.h: unused prototype
9582 * lyxfunc.C: remove unused
9585 * text.C: remove unused
9587 2002-10-21 John Levon <levon@movementarian.org>
9591 * BufferView_pimpl.h:
9592 * BufferView_pimpl.C: fix mouse wheel handling based on
9593 patch from Darren Freeman
9595 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9597 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9599 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9601 * lyxlength.C (inPixels): Fix hanfling of negative length.
9602 Fix LyXLength::MU case.
9604 2002-10-16 John Levon <levon@movementarian.org>
9606 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9608 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9610 * converter.C (view): add support for $$i (file name) and $$p
9611 (file path) for the viewer command. If $$i is not specified, then
9612 it is appended to the command (for compatibility with old syntax)
9614 2002-10-14 Juergen Vigna <jug@sad.it>
9616 * undo_funcs.C (textHandleUndo): alter the order in which the
9617 new undopar is added to the LyXText, as we have to set first
9618 the right prev/next and then add it as otherwise the rebuild of
9619 LyXText is not correct. Also reset the cursor to the right paragraph,
9620 with this IMO we could remove the hack in "redoParagraphs()".
9622 2002-10-09 Angus Leeming <leeming@lyx.org>
9624 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9625 to turn off an optimisation if a new inset is to be inserted.
9627 2002-10-11 André Pönitz <poenitz@gmx.net>
9629 * lyxtext.h: make some functions public to allow access
9630 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9632 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9634 * text3.C (dispatch): when changing layout, avoid an infinite loop
9637 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9639 * lyxrc.C (read): treat a viewer or converter command of "none" as
9642 * MenuBackend.C (expandFormats): for an update, also allow the
9643 formats that are not viewable
9645 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9646 script if it is newer than the lyxrc.defaults in user directory
9648 2002-10-07 André Pönitz <poenitz@gmx.net>
9650 * text.C: Vitaly Lipatov's small i18n fix
9652 2002-09-25 Angus Leeming <leeming@lyx.org>
9654 * ispell.h: doxygen fix.
9656 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9658 * buffer.h (readFile): Add a new argument to the method, to allow
9659 reading of old-format templates.
9661 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9663 * toc.C (getTocList): Get TOC from InsetWrap.
9665 2002-09-16 John Levon <levon@movementarian.org>
9667 * lyxfunc.C: check tabular for cut/copy too
9669 2002-09-12 John Levon <levon@movementarian.org>
9674 * factory.C: add header
9676 * paragraph_funcs.h:
9677 * paragraph_funcs.C: cleanup
9679 2002-09-11 John Levon <levon@movementarian.org>
9681 * PrinterParams.h: odd/even default to true
9683 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9685 * PrinterParams.h: update printer parameters for new xforms dialog
9687 2002-09-11 Angus Leeming <leeming@lyx.org>
9689 * lyxserver.C (read_ready): re-write to make it more transparent
9690 and to make it work in coherent fashion under Tru64 Unix.
9692 2002-09-11 André Pönitz <poenitz@gmx.net>
9696 * text3.C: implement LFUN_WORDSEL
9698 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9700 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9701 make floatlist_ a boost::shared_ptr<FloatList>
9703 * lyxtextclass.C: include FloatList.h
9704 (LyXTextClass): initialize floatlist_
9705 (TextClassTags): add TC_NOFLOAT
9706 (Read): match "nofloat" to TC_NOFLOAT and use it.
9707 (readFloat): modify call to floatlist_
9711 * FloatList.[Ch] (FloatList): remove commented out float
9713 (erase): new function
9715 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9717 * MenuBackend.C (expandToc): fix crash when there is no document
9720 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9722 * many files: Add insetwrap.
9724 2002-09-09 John Levon <levon@movementarian.org>
9726 * text2.C: remove confusing and awkward depth wraparound
9728 2002-09-09 John Levon <levon@movementarian.org>
9730 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9733 * buffer.C: remove getIncludeonlyList()
9736 * lyxfunc.C: remove headers
9738 2002-09-09 Juergen Vigna <jug@sad.it>
9740 * text.C (getColumnNearX): fix form Michael this is most
9741 probably a cut&paste bug.
9743 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9745 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9747 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9748 references, ws changes.
9750 * text2.C (init): update counters after init
9751 (insertParagraph): no need to set counter on idividual paragraphs.
9752 (setCounter): access the counters object in the textclass object
9753 on in the buffer object.
9754 (updateCounters): ditto
9756 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9757 shared_ptr<Counters> to avoid loading counters.h in all
9759 (LyXTextClass): initialize ctrs_
9760 (TextClassTags): add TC_COUNTER, and ...
9761 (Read): use it here.
9762 (CounterTags): new tags
9763 (readCounter): new function
9764 (counters): new funtion
9765 (defaultLayoutName): return a const reference
9767 * counters.C (Counters): remove contructor
9768 (newCounter): remove a couple of unneeded statements.
9769 (newCounter): simplify a bit.
9770 (numberLabel): some small formatting changes.
9772 * buffer.[Ch]: remove all traces of counters, move the Counters
9773 object to the LyXTextClass.
9775 2002-09-06 Alain Castera <castera@in2p3.fr>
9777 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9778 package to set the horizontal alignment on fixed width columns.
9781 * lyx_sty.h: added tabularnewline macro def.
9783 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9785 2002-09-06 John Levon <levon@movementarian.org>
9787 * LyXAction.C: tooltips for sub/superscript
9789 * MenuBackend.C: a bit more verbose
9791 * lyxfunc.C: tiny clean
9793 * undo_funcs.C: document undo_frozen
9795 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9797 * counters.C (Counters): add missing algorithm counter.
9799 * text2.C (setCounter): lookup the counter with layouts latexname
9800 instead of by section number.
9801 (setCounter): use a hackish way to lookup the correct enum
9803 a float name->type change
9804 reset enum couners with counter name directly instead of depth value.
9806 * counters.C (Counters): remove the push_backs, change to use the
9807 float type not the float name.
9808 (labelItem): remove unused string, float name->type change
9810 * counters.h: don't include vector, loose the enums and sects vectors
9812 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9814 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9815 (Read): add float->TC_FLOAT to textclassTags
9816 (Read): and handle it in the switch
9817 (readFloat): new function
9819 * FloatList.C (FloatList): comment out the hardcoded float
9822 * lyxlayout.h: ws change.
9824 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9826 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9828 2002-09-03 Angus Leeming <leeming@lyx.org>
9830 * BufferView_pimpl.h: qualified name is not allowed in member
9831 declaration: WorkArea & Pimpl::workarea() const;
9833 * factory.C: added using std::endl directive.
9835 * text3.C: added using std::find and std::vector directives.
9837 2002-08-29 André Pönitz <poenitz@gmx.net>
9840 * text2.C: remove unused member number_of_rows
9843 * BufferView2.C: remove file, move contents to...
9844 * BufferView.C: ... here
9846 * BufferView_pimpl.C:
9847 * factory.C: move more inset creation to factory
9849 * vspace.C: avoid direct usage of LyXText, ws changes
9852 don't provide direct access to WorkArea, use two simple
9853 acessors haveSelction() and workHeight() instead
9856 2002-08-29 John Levon <levon@movementarian.org>
9858 * BufferView_pimpl.C (dispatch): do not continue when
9861 2002-08-28 André Pönitz <poenitz@gmx.net>
9863 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9866 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9868 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9870 * buffer.C: increment LYX_FORMAT to 221
9872 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9873 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9875 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9877 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9879 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9881 * factory.C (createInset): use LyXTextClass::floats
9883 * MenuBackend.C (expandFloatListInsert):
9884 (expandFloatInsert):
9887 * text2.C (setCounter):
9889 * LaTeXFeatures.C (useFloat):
9890 (getFloatDefinitions):
9892 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9894 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9895 floatlist_, with accessor floats().
9897 * FloatList.h: remove global FloatList
9899 2002-08-26 André Pönitz <poenitz@gmx.net>
9901 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9905 * BufferView_pimpl.C:
9906 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9908 2002-08-25 John Levon <levon@movementarian.org>
9910 * LyXAction.C: fix margin note description
9912 2002-08-24 John Levon <levon@movementarian.org>
9916 * bufferview_funcs.C:
9918 * undo_funcs.C: cleanups
9920 * lyxfunc.C: disable CUT/COPY when no selection
9922 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9924 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9925 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9927 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9928 Add backward compatibility to "mono", "gray" and "no".
9930 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9932 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9933 (and file_format >= 200).
9935 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9939 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9941 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9943 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9945 * BufferView_pimpl.C:
9952 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9953 inset and code to make it work with the paragraph code. The inset
9954 can be anywhere in the paragraph, but will only do the expected
9955 thing in LaTeX if the layout file contains the parameter line
9957 (or more generally, a nonzero value) for that layout.
9959 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9961 * paragraph.h: remove the declaration of undefined counters class
9964 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9966 * text2.C (setCounter): fixed enumeration mis-count as reported by
9967 Dr. Richard Hawkins.
9969 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9971 * paragraph_funcs.h: remove some unneeded includes
9973 * text.C (backspace): pasteParagraph now in global scipe
9975 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9976 (pasteSelection): ditto
9978 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9979 * paragraph_funcs.C (pasteParagraph): ... here
9981 2002-08-20 André Pönitz <poenitz@gmx.net>
9983 * commandtags.h: new LFUNs for swapping/copying table row/colums
9986 * lyxfunc.C: support for new lfuns
9988 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9991 * buffer.[Ch]: remove NO_COMPABILITY stuff
9993 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9995 * boost.C (throw_exception): new file, with helper function for
9996 boost compiled without exceptions.
10001 * ParameterStruct.h:
10002 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10004 * bufferlist.C (emergencyWriteAll): use boost bind
10006 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10008 * text.C: include paragraph_funcs.h
10009 (breakParagraph): breakParagraph is now in global scope
10011 * paragraph_funcs.[Ch]: new files
10013 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10016 * buffer.C: include paragraph_funcs.h
10017 (insertStringAsLines): breakParagraph is now in global scope
10019 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10022 * CutAndPaste.C: include paragraph_funcs.h
10023 (cutSelection): breakParagraphConservative is now in global scope
10024 (pasteSelection): ditto
10026 * buffer.h: declare oprator== and operator!= for
10027 Buffer::inset_iterator
10029 * bufferlist.C (emergencyWrite): don't use fmt(...)
10031 * text3.C: add using std::endl
10033 * BufferView.C (moveCursorUpdate): remove default arg
10035 2002-08-20 André Pönitz <poenitz@gmx.net>
10037 * buffer.[Ch]: move inline functions to .C
10040 * BufferView_pimpl.C:
10042 * buffer.[Ch]: use improved inset_iterator
10045 * paragraph.[Ch]: write one paragraph at a time
10047 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10049 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10050 style if style is not specified.
10052 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10054 * text2.C (setCounter): when searching for right label for a
10055 caption, make sure to recurse to parent insets (so that a caption
10056 in a minipage in a figure float works) (bug #568)
10058 2002-08-20 André Pönitz <poenitz@gmx.net>
10060 * text3.C: new file for LyXText::dispatch() and helpers
10062 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10064 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10066 2002-08-19 André Pönitz <poenitz@gmx.net>
10069 * text.C: new LyXText::dispatch()
10071 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10073 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10075 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10077 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10080 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10082 * Makefile.am: use $(variables) instead of @substitutions@
10084 2002-08-15 André Pönitz <poenitz@gmx.net>
10087 * BufferView_pimpl.C: streamlining mathed <-> outer world
10091 * LyXAction.C: remove unused LFUN_MATH
10093 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10095 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10097 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10099 * paragraph.C (Paragraph): reformat a bit
10100 (cutIntoMinibuffer): use builtin InsetList function instad of
10104 * buffer.C: include boost/bind.hpp, add using std::for_each
10105 (writeFileAscii): use ParagraphList iterators
10106 (validate): use for_each for validate traversal of paragraphs
10107 (getBibkeyList): use ParagraphList iterators
10108 (resizeInsets): use for_each to resizeInsetsLyXText for all
10110 (getParFromID): use ParagraphList iterators
10112 * BufferView2.C (lockInset): use paragraph list and iterators
10114 2002-08-14 John Levon <levon@movementarian.org>
10116 * lyxserver.C: remove spurious xforms include
10118 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10120 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10122 2002-08-13 André Pönitz <poenitz@gmx.net>
10125 * lyxfunc.C: further cleaning
10127 2002-08-13 André Pönitz <poenitz@gmx.net>
10129 * funcrequest.h: new constructor
10131 * funcrequest.C: move stuff here from .h
10134 * BufferView_pimpl.C:
10137 * lyxfunc.C: subsequent changes
10139 * lyxfunc.h: new view() member function
10141 * lyxfunc.C: subsequent changes
10143 2002-08-13 Angus Leeming <leeming@lyx.org>
10146 * BufferView_pimpl.C:
10154 changes due to the changed LyXView interface that now returns references
10155 to member variables not pointers.
10157 2002-08-13 Angus Leeming <leeming@lyx.org>
10159 * WordLangTuple (word, lang_code): return references to strings,
10164 * lyxtext.h: forward-declare WordLangTuple.
10169 * text.C: #include "WordLangTuple.h".
10172 * text.C: (selectNextWordToSpellcheck): constify return type.
10174 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10180 * paragraph_pimpl.h:
10183 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10184 suggested by Angus.
10185 Made updateCounter always count from start of buffer, and removed
10186 second argument (par).
10187 Reverted floats number display to '#'. Perhaps I'll try again when the
10188 code base is sanitized a bit.
10190 2002-08-12 Angus Leeming <leeming@lyx.org>
10192 * buffer.[Ch] (getLabelList): constify.
10194 2002-08-07 André Pönitz <poenitz@gmx.net>
10196 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10198 * funcrequest.h: extension to keep mouse (x,y) position
10200 2002-08-12 Juergen Vigna <jug@sad.it>
10202 * BufferView2.C (insertErrors): forbid undo when inserting error
10205 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10207 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10209 * ParagraphList.[Ch]: new files
10211 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10213 * BufferView2.C (lockInset): ParagraphList changes
10216 * bufferlist.C: ditto
10220 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10222 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10223 unused class variable counter_,
10225 * paragraph.[Ch] (getFirstCounter): delete unused function
10227 * counters.C: include LAssert.h
10228 (reset): add a new function with no arg, change other version to
10229 not have def. arg and to not allow empty arg.
10231 * text2.C (setCounter): remove empty arg from call to Counters::reset
10233 2002-08-11 John Levon <levon@movementarian.org>
10235 * Makefile.am: add WordLangTuple.h
10237 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10239 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10240 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10242 * insets/insettext.C: InsetList changes
10244 * graphics/GraphicsSupport.C (operator()): InsetList changes
10246 * toc.C (getTocList): InsetList changes
10248 * paragraph_pimpl.[Ch]: InsetList changes
10250 * paragraph.[Ch]: InsetList changes
10252 * buffer.C (inset_iterator): InsetList changes
10253 (setParagraph): ditto
10254 * buffer.h (inset_iterator): ditto
10255 * iterators.C (operator++): ditto
10256 * iterators.h: ditto
10258 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10260 * InsetList.[Ch]: new files, most InsetList handling moved out of
10263 * BufferView2.C (removeAutoInsets): InsetList changes
10265 (ChangeInsets): ditto
10267 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10269 * paragraph_pimpl.h (empty): new function
10271 * paragraph.[Ch] (empty): new function
10273 * other files: use the new Paragraph::empty function
10275 2002-08-09 John Levon <levon@movementarian.org>
10277 * lyxtext.h: remove unused refresh_height
10279 2002-08-09 John Levon <levon@movementarian.org>
10286 * paragraph.C: move sgml char escaping out of paragraph
10289 * paragraph.C: remove id setter
10293 * paragraph_pimpl.C: remove dead tex_code_break_column
10295 * bufferview_funcs.C: small cleanup
10297 * lyxfunc.C: remove dead proto
10299 * lyxtext.h: make some stuff private. Remove some dead stuff.
10301 * lyxgluelength.C: make as[LyX]String() readable
10303 2002-08-08 John Levon <levon@movementarian.org>
10308 * ToolbarDefaults.C:
10311 * toc.C: lyxaction cleanup
10313 2002-08-08 John Levon <levon@movementarian.org>
10315 * BufferView2.C: small cleanup
10318 * lyxfind.C: move unnecessary header into the .C
10320 2002-08-08 John Levon <levon@movementarian.org>
10322 * funcrequest.h: just tedious nonsense
10325 * lyx_main.C: cleanups
10328 * vspace.C: remove dead header lyx_main.h
10330 2002-08-07 Angus Leeming <leeming@lyx.org>
10333 * paragraph_pimpl.h:
10334 Forward declare class Counters in paragraph.h by moving the ctrs member
10335 variable into Paragraph::Pimpl.
10336 (counters): new method, returning a reference to pimpl_->ctrs.
10338 * text2.C: ensuing changes.
10340 2002-08-07 John Levon <levon@movementarian.org>
10342 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10344 * BufferView_pimpl.C: announce X selection on double/triple
10347 * lyx_main.C: use correct bool in batch dispatch
10349 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10351 2002-08-07 André Pönitz <poenitz@gmx.net>
10353 * funcrequest.h: new class to wrap a kb_action and its argument
10356 * BufferView_pimpl[Ch]:
10360 * lyxrc.C: subsequent changes
10363 2002-08-07 John Levon <levon@movementarian.org>
10365 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10366 document options change.
10368 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10373 * makefile.am: move counters functionality over from
10374 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10376 2002-08-06 John Levon <levon@movementarian.org>
10378 * WordLangTuple.h: new file for word + language code tuple
10389 * BufferView2.C: use WordLangTuple
10392 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10394 2002-08-06 John Levon <levon@movementarian.org>
10396 * lyx_main.C: fix cmdline batch handling
10398 2002-08-06 André Pönitz <poenitz@gmx.net>
10400 * lyxrc.C: set default for show_banner to true
10402 2002-08-06 John Levon <levon@movementarian.org>
10404 * pspell.C: fix a crash, and allow new aspell to work
10406 2002-08-06 John Levon <levon@movementarian.org>
10409 * kbmap.C: small cleanup
10412 * vspace.C: add const
10414 2002-08-05 John Levon <levon@movementarian.org>
10416 * LyXAction.C: back to tabular-insert
10418 2002-08-04 John Levon <levon@movementarian.org>
10421 * BufferView.C: cosmetic change
10423 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10433 * BufferView2.C: purge all "Lyx" not "LyX" strings
10436 * lyxcursor.C: attempt to add some documentation
10441 * ToolbarDefaults.C:
10442 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10443 merge with LFUN_TABULAR_INSERT
10450 * pspell.C: split up i/pspell implementations into separate
10451 files, many cleanups
10453 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10455 * text2.C: some cleanup
10457 * lyxfunc.C: don't check for isp_command == "none" any more, it
10458 didn't make any sense
10460 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10465 * makefile.am: move counters functionality over
10466 from text2.C/paragraph.[Ch] to counters.[Ch], and
10468 2002-08-02 John Levon <levon@movementarian.org>
10470 * buffer.C: s/lyxconvert/lyx2lyx/
10472 2002-08-02 Angus Leeming <leeming@lyx.org>
10474 * lyxlex.C: revert John's change as it breaks reading of the user
10477 2002-08-02 Angus Leeming <leeming@lyx.org>
10479 * importer.C (Import):
10480 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10481 changes due to LyXView::view() now returning a boost::shared_ptr.
10483 2002-08-02 John Levon <levon@movementarian.org>
10485 * lyxlex.C: small cleanup
10487 2002-08-02 John Levon <levon@movementarian.org>
10489 * text2.C (status): small cleanup, no logic change
10491 2002-08-01 John Levon <levon@movementarian.org>
10494 * buffer.C (writeFile): don't output alerts, caller
10498 * lyx_cb.C: from above
10500 * lyxfunc.C: allow to open non-existent files
10502 2002-07-31 John Levon <levon@movementarian.org>
10504 * lyxserver.C: don't let incidental errors get
10507 2002-07-30 John Levon <levon@movementarian.org>
10509 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10511 2002-07-30 John Levon <levon@movementarian.org>
10514 * lyxserver.C: remove I/O callback too
10516 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10518 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10521 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10523 * many files: strip,frontStrip -> trim,ltrim,rtrim
10525 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10527 * PrinterParams.h: remove extern containsOnly, and include
10528 support/lstrings.h instead.
10530 * LaTeX.C (scanAuxFile): modify because of strip changes
10532 * buffer.C (makeLaTeXFile): ditto
10533 * bufferparams.C (writeFile): ditt
10534 * lyxfont.C (stateText): ditto
10535 * lyxserver.C (read_ready): ditto
10536 * vc-backend.C (scanMaster): ditto
10538 * BufferView_pimpl.h: ws changes
10540 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10542 2002-07-26 André Pönitz <poenitz@gmx.net>
10544 * kb_sequence.C: remove unnedred usings
10546 2002-07-26 Juergen Vigna <jug@sad.it>
10548 * lyxfind.C (LyXReplace): we have to check better if the returned
10549 text is not of theLockingInset()->getLockingInset().
10551 2002-07-25 Juergen Vigna <jug@sad.it>
10553 * lyxfind.C (LyXReplace): don't replace if we don't get the
10556 * undo_funcs.C (createUndo): remove debugging code.
10558 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10560 * buffer.C (parseSingleLyXformat2Token): Use default placement
10561 when reading old floats.
10563 * FloatList.C (FloatList): Change the default placement of figure
10564 and tables to "tbp".
10566 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10568 * MenuBackend.C: using std::max
10570 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10572 * MenuBackend.C (expandToc):
10573 (expandToc2): code moved from xforms menu frontend. It is now
10574 generic and TOCs are transparent to menu frontends.
10576 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10578 * toc.C (getTocList): protect against buf=0
10580 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10581 Menu as first parameter. Now, this calls itself recursively to
10582 expand a whole tree (this will be useful for TOC handling)
10583 (expandFloatInsert): remove 'wide' version of floats
10585 * MenuBackend.h (submenuname): returns the name of the submenu.
10586 (submenu): returns the submenu itself, provided it has been
10587 created by MenuBackend::expand
10589 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10591 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10592 insets which have noFontChange == true. (bug #172)
10594 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10596 * BufferView_pimpl.C: add connection objects and use them...
10599 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10601 * MenuBackend.C (expandLastfiles):
10604 (expandFloatListInsert):
10605 (expandFloatInsert):
10606 (expand): split expand in parts
10608 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10610 * lyx_gui.C: use lyx_gui::exit()
10612 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10614 * LyXAction.C: show the failing pseudo action
10616 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10618 * buffer.C (readFile): Run the lyxconvert script in order to read
10621 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10625 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10627 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10631 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10633 2002-07-22 Herbert Voss <voss@lyx.org>
10636 * lyxlength.[Ch]: add support for the vertical lengths
10638 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10640 * toc.[Ch]: std:: fixes
10642 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10644 * lyxrc.C: do not include lyx_main.h
10646 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10652 * BufferView2.C: include "lyxlex.h"
10655 * bufferparams.h: do not #include "lyxlex.h"
10657 * lyxtextclasslist.C (Add): remove method
10658 (classlist): renamed to classlist_
10660 * paragraph_pimpl.C:
10664 * bufferview_funcs.C:
10669 * toc.C (getTocList): use BufferParams::getLyXTextClass
10671 * toc.C (getTocList): use InsetFloat::addToToc
10673 * toc.[Ch]: new files, containing helper functions to handle table
10676 * lyxfunc.C (dispatch): no need to remove spaces around command
10678 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10679 first command of the sequence; it is not very clever, but I do not
10680 have a better idea, actually
10682 * LyXAction.C (LookupFunc): make sure to remove space at the
10683 beginning and end of the command
10685 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10687 * MenuBackend.C (getMenubar): new method: return the menubar of
10689 (read): treat differently reading of menu and menubar (in
10690 particular, the menubar has no name now)
10691 (Menu::menubar): remove
10693 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10696 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10698 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10699 a bibitem inset in a RTL paragraph.
10701 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10703 * paragraph_pimpl.C: constify
10705 * BufferView_pimpl.C:
10707 * lyxfunc.C: fix dispatch in a nicer way
10709 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10711 * lyxfunc.C (dispatch):
10712 * BufferView_pimpl.C:
10713 * BufferView_pimpl.h:
10715 * BufferView.h: rename Dispatch() to dispatch()
10717 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10719 * lyxlayout.C (Read): honor DependsOn tag
10721 * lyxlayout.[Ch] (depends_on): new method
10723 * version.C.in: update lyx_docversion
10725 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10727 * paragraph.C (validate): remove from here...
10728 * paragraph_pimpl.C (validate): ... and move here
10729 (isTextAt): make it const
10731 * buffer.C (getLists): ws cleanup
10733 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10735 * language.C (read): Use iso8859-1 encoding in latex_lang
10736 (this prevents LyX from crashing when using iso10646-1 encoding).
10738 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10740 * text2.C (toggleInset): if cursor is inside an inset, close the
10741 inset and leave cursor _after_ it
10743 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10745 * lyxfunc.C: move minibuffer completion handling out of here
10747 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10749 * BufferView_pimpl.C:
10750 * LaTeX.C: fix dispatch calls
10752 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10754 * text.C (drawChars): Fix Arabic text rendering.
10756 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10760 * lyxfunc.C: remove message-push/pop
10764 * lyxfunc.C: rationalise some code by removing verboseDispatch
10765 in favour of a bool argument to dispatch()
10767 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10769 * lyx_main.C (init): make sure to read symlinks as absolute paths
10771 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10774 * lyxfunc.C: no need for commandshortcut to be a member
10776 2002-07-15 André Pönitz <poenitz@gmx.net>
10778 * converter.C: add support for $$s (scripts from lib/scripts dir)
10779 * lyx_main.C: white space
10781 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10785 * lyxrc.C: remove second exit confirmation
10787 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10792 * BufferView_pimpl.h:
10793 * BufferView_pimpl.C:
10794 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10796 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10798 * MenuBackend.C (expand): add numeric shortcuts to document menu
10800 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10802 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10804 * lyxfont.C (setLyXFamily):
10811 * buffer.C (asciiParagraph): use ascii_lowercase
10813 2002-07-15 Mike Fabian <mfabian@suse.de>
10815 * lyxlex_pimpl.C (search_kw):
10816 * lyxlex.C (getLongString):
10817 * converter.h (operator<):
10818 * converter.C (operator<):
10819 * buffer.C (parseSingleLyXformat2Token):
10821 * ToolbarDefaults.C (read):
10822 * MenuBackend.C (checkShortcuts):
10824 * LColor.C (getFromGUIName):
10825 (getFromLyXName): use the compare_ascii_no_case instead of
10826 compare_no_case, because in turkish, 'i' is not the lowercase
10827 version of 'I', and thus turkish locale breaks parsing of tags.
10829 2002-07-16 Angus Leeming <leeming@lyx.org>
10831 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10832 now takes a Buffer const & argument.
10834 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10836 * BufferView.C (resize): check there's a buffer to resize
10838 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10840 * lyxfunc.C: remove dead code
10843 * lyxserver.C: use lyx_guii::set_read_callback
10845 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10847 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10848 an inset in a RTL paragraph.
10850 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10852 * lyxfunc.C: repaint after a font size update
10854 2002-07-15 André Pönitz <poenitz@gmx.net>
10856 * lyxlength.C: inBP should be able to return negative values
10858 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10860 * lyxfunc.C: use lyx_gui::update_fonts()
10862 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10864 * lyxfunc.C: use lyx_gui::update_color()
10866 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10872 * lyxrc.C: remove file->new asks for name option, and let
10873 buffer-new take an argument
10875 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10877 * BufferView_pimpl.C: remove unneeded extra repaint()
10879 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10881 * LyXAction.C: allow command-sequence with NoBuffer
10883 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10885 2002-07-10 Angus Leeming <leeming@lyx.org>
10887 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10889 2002-07-09 Angus Leeming <leeming@lyx.org>
10891 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10893 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10895 * lengthcommon.h: whitespace
10897 * lyxfunc.C: update scrollbar after goto paragraph
10899 * lyxtext.h: factor out page break drawing, and fix it so
10900 page break/added space paints as selected nicely
10902 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10904 * BufferView_pimpl.C: add FIXMEs, clean up a little
10906 2002-07-09 André Pönitz <poenitz@gmx.net>
10908 * lyxfont.[Ch]: support for wasy symbols
10910 2002-07-08 André Pönitz <poenitz@gmx.net>
10912 * BufferView_pimpl.C: apply John's patch for #93.
10914 2002-07-05 Angus Leeming <leeming@lyx.org>
10916 * BufferView_pimpl.C (buffer): generate previews if desired.
10918 * LColor.h: add "preview" to the color enum.
10920 * LColor.C (LColor): add a corresponding entry to the items array.
10922 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10925 2002-07-05 Angus Leeming <leeming@lyx.org>
10927 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10928 The body of the code is now in the method that is passed an ostream &
10929 rather than a file name.
10930 Pass an additional only_preamble parameter, useful for the forthcoming
10933 2002-07-03 André Pönitz <poenitz@gmx.net>
10935 * lyxfunc.C: simplify getStatus() a bit for math stuff
10937 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10939 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10941 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10943 * text.C (changeRegionCase): do not change case of all the
10944 document when region ends at paragraph end (bug #461)
10946 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10948 * paragraph.C (startTeXParParams):
10949 (endTeXParParams): add \protect when necessary
10951 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10953 * BufferView_pimpl.C (workAreaExpose): remove warning
10955 2002-06-27 Angus Leeming <leeming@lyx.org>
10957 * Makefile.am: add lyxlayout_ptr_fwd.h.
10959 2002-06-26 André Pönitz <poenitz@gmx.net>
10961 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10963 2002-06-25 Angus Leeming <leeming@lyx.org>
10965 * lyxfunc.C (dispatch): Comment out the call to
10966 grfx::GCache::changeDisplay. The method no longer exists now that the
10967 pixmap generation part of the graphics loader has been moved into
10970 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10972 * text2.C: layout as layout
10974 * text.C: layout as layout
10976 * tabular.C (OldFormatRead): layout as layout
10978 * paragraph_pimpl.C (TeXDeeper): layout as layout
10979 (realizeFont): layout as layout
10981 * paragraph.C (writeFile): layout as layout
10982 (validate): layout as layout
10983 (getFont): layout as layout
10984 (getLabelFont): layout as layout
10985 (getLayoutFont): layout as layout
10986 (breakParagraph): layout as layout
10987 (stripLeadingSpaces): layout as layout
10988 (getEndLabel): layout as layout
10989 (getMaxDepthAfter): layout as layout
10990 (applyLayout): layout as layout
10991 (TeXOnePar): layout as layout
10992 (simpleTeXOnePar): layout as layout
10993 (TeXEnvironment): layout as layout
10994 (layout): layout as layout
10995 (layout): layout as layout
10997 * lyxtextclass.C (compare_name): new functor to work with
10998 shared_ptr, layout as layout
10999 (Read): layout as layout
11000 (hasLayout): layout as layout
11001 (operator): layout as layout
11002 (delete_layout): layout as layout
11003 (defaultLayout): layout as layout
11005 * lyxlayout_ptr_fwd.h: new file
11007 * lyxlayout.C (Read): layout as layout
11009 * lyx_cb.C (MenuInsertLabel): layout as layout
11011 * bufferlist.C (newFile): layout as layout
11013 * buffer.C (readLyXformat2): layout as layout
11014 (parseSingleLyXformat2Token): layout as layout
11015 (insertStringAsLines): layout as layout
11016 (asciiParagraph): layout as layout
11017 (latexParagraphs): layout as layout
11018 (makeLinuxDocFile): layout as layout
11019 (simpleLinuxDocOnePar): layout as layout
11020 (makeDocBookFile): layout as layout
11021 (simpleDocBookOnePar): layout as layout
11022 (getLists): layout as layout
11024 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11026 * CutAndPaste.C (cutSelection): layout as layout
11027 (pasteSelection): layout as layout
11028 (SwitchLayoutsBetweenClasses): layout as layout
11030 * BufferView_pimpl.C (Dispatch): layout as layout
11031 (smartQuote): layout as layout
11033 * BufferView2.C (unlockInset): layout as layout
11035 2002-06-24 André Pönitz <poenitz@gmx.net>
11037 * lyxfunc.C: fix #487
11039 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11043 * lyxfunc.C: remove display_shortcuts, show_banner
11045 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11047 * Buffer_pimpl.C: oops, update on resize
11049 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11056 * BufferView.C: use repaint()
11058 * BufferView_pimpl.h:
11059 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11060 as it's a clearer description. Remove superfluous
11063 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11065 * text.C: fix bug 488. Not ideal, but getting
11066 getWord() to work properly for the insets that
11067 matter is more difficult ...
11069 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11071 * BufferView_pimpl.C:
11074 * lyxfunc.C: remove the six million index lyxfuncs to just
11075 one, and DTRT (bug 458)
11077 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11081 * BufferView_pimpl.h:
11082 * BufferView_pimpl.C: clean up resize() stuff,
11083 and unnecessary updateScreen()s
11085 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11089 * BufferView_pimpl.h:
11090 * BufferView_pimpl.C:
11093 * minibuffer.C: remove focus management of workarea,
11094 not needed. Use screen's greyOut()
11096 2002-06-17 Herbert Voss <voss@lyx.org>
11098 * converter.C: (convert) do not post a message, when converting
11099 fails, let the calling function decide what to do in this case
11101 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11103 * lyxfunc.C: tidy up a little
11105 2002-06-16 <alstrup@diku.dk>
11107 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11108 Got rid of FORMS_H_LOCATION include. Now we are
11111 2002-06-15 LyX Development team <lyx@rilke>
11113 * buffer.[Ch] (sgmlOpenTag):
11114 (sgmlCloseTag): Added support for avoiding pernicious mixed
11115 content. Return number of lines written.
11117 (makeLinuxDocFile):
11118 (makeDocBookFile): Fixed calls to sgml*Tag.
11119 Simple white space clean.
11121 (simpleDocBookOnePar): Simple white space clean.
11123 * tabular.[Ch] (docBook): Renamed to docbook and got another
11124 argument to related with the pernicious mixed content.
11126 (docbookRow): Fixed calls for docbook inset method.
11128 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11130 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11131 so it's X11 independent.
11135 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11137 2002-06-15 Lyx Development team <lyx@electronia>
11139 * intl.h: Renamed getTrans to getTransManager.
11141 2002-06-14 Angus Leeming <leeming@lyx.org>
11143 * Makefile.am: nuke forgotten stl_string_fwd.h.
11145 2002-06-12 Angus Leeming <leeming@lyx.org>
11147 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11149 2002-06-13 Angus Leeming <leeming@lyx.org>
11152 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11154 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11156 * kbmap.C (getiso): add support for cyrillic and greek
11158 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11162 * BufferView_pimpl.h:
11163 * BufferView_pimpl.C: move bogus scrolling logic
11166 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11169 * BufferView_pimpl.C: view->resize() change
11171 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11173 * BufferView_pimpl.C: topCursorVisible
11176 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11180 * lyx_gui.C: move to frontends/
11184 * lyx_main.C: changes from above
11186 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11193 * lyx_main.C: minor tidy
11195 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11197 * BufferView_pimpl.h:
11198 * BufferView_pimpl.C:
11200 * BufferView.C: make painter() const,
11203 * BufferView2.C: use screen() accessor
11206 * lyx_main.C: some minor cleanup
11208 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11210 * BufferView_pimpl.h:
11211 * BufferView_pimpl.C: remove enter/leaveView,
11214 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11219 * BufferView_pimpl.h:
11220 * BufferView_pimpl.C: only construct screen once,
11223 * lyxrc.C: remove pointless comment
11225 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11228 * BufferView.C: remove active() and belowMouse()
11230 * BufferView_pimpl.h:
11231 * BufferView_pimpl.C: use workarea() not workarea_,
11232 and make it use a scoped_ptr instead
11234 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11236 * lyx_gui.C: add debug message on BadWindow
11238 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11240 * sp_spell.C: fdopen is not part of the C++ standard.
11242 * paragraph.C (InsetIterator): use >= instead of ==
11244 2002-06-07 Angus Leeming <leeming@lyx.org>
11246 Fixes needed to compile with Compaq cxx 6.5.
11247 * BufferView_pimpl.C:
11254 * lyxtextclasslist.C:
11259 all c-library variables have been moved into namespace std. Wrap
11260 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11265 Add a using std::abs declaration.
11267 * kbmap.h (modifier_pair):
11268 * paragraph.h (InsetTable, InsetList):
11269 * lyxfont.h (FontBits):
11270 type definition made public.
11272 * bufferlist.C (emergencyWriteAll): the compiler complains that
11273 there is more than one possible lyx::class_fun template to choose from.
11274 I re-named the void specialisation as lyx::void_class_fun.
11276 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11278 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11279 the compiler is is unable to find tostr in write_attribute.
11281 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * buffer.C (sgmlError): hide #warning
11285 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * xtl/*: get rid of xtl, which is not in use anyway
11289 * LyXAction.C (init):
11290 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11291 were unimplemented xtl experimentation
11293 2002-06-04 André Pönitz <poenitz@gmx.net>
11295 * lyxfunc.C: disable array operation on simple formulae
11297 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11299 * converter.C: constify a bit
11301 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11303 * lyx_gui.C: check xforms version correctly
11305 2002-04-30 Herbert Voss <voss@lyx.org>
11307 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11310 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11312 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11313 attempt to register it with a VCS)
11315 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11317 * lyx_main.C (init): honor variables LYX_DIR_13x and
11320 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11324 * lyx_main.C: fix a crash on bad command line,
11325 and give a useful exit status on error
11327 * lyxfunc.C (doImport): allow -i lyx to work
11329 2002-03-30 André Pönitz <poenitz@gmx.net>
11331 * lyxfunc.C: mathed font changes
11333 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11348 * trans_mgr.h: srcdocs, and some minor cleanups
11350 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11352 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11353 call getFont all the time)
11355 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11357 * switch from SigC signals to boost::signals
11359 2002-05-29 André Pönitz <poenitz@gmx.net>
11361 * paragraph_pimpl.C (getChar): don't call size() too often...
11363 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11365 * paragraph_pimpl.C (insertChar): do not try to update tables when
11366 appending (pos == size())
11368 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11369 in order to reduce drastically the number of comparisons needed to
11370 parse a large document
11372 2002-05-29 André Pönitz <poenitz@gmx.net>
11378 * textclasslist.[Ch]:
11379 * sp_ispell.h: whitespace change
11381 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11383 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11384 lyxaction directly now.
11386 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11390 * lyxvc.C: remove unused headers
11392 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11399 * undo_funcs.C: some cleanups. Use shared_ptr
11400 and a template for the undo stacks.
11402 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11404 * BufferView_pimpl.h:
11405 * BufferView_pimpl.C:
11412 * text2.C: use key_state/mouse_state
11414 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11416 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11419 * chset.C: change include order
11420 (loadFile): use boost regex and get rid of LRegex and LSubstring
11422 * Makefile.am (BOOST_LIBS): new variable
11423 (lyx_LDADD): use it
11425 * LaTeX.C: change include order.
11426 (scanAuxFile): use boost regex and get rid of LRegex and
11430 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11435 * FontInfo.C: moved to frontends/xforms/
11438 * FontLoader.C: moved into frontends for GUIIzation
11443 * lyxfunc.C: changes from above
11445 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11447 * LColor.C: remove spurious X include
11449 * BufferView_pimpl.C:
11454 * text2.C: move font metrics to frontends/
11456 2002-05-24 Juergen Vigna <jug@sad.it>
11458 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11459 setting the undo_cursor.
11461 * ParagraphParameters.h: include local includes first.
11463 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11465 * BufferView_pimpl.C:
11466 * BufferView_pimpl.h:
11470 * screen.C: move WorkArea into frontends/
11476 * BufferView2.C: move LyXScreen into frontends/
11480 * lyx_gui.C: move lyxlookup into frontends/xforms/
11482 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11485 * BufferView_pimpl.C:
11495 * bufferview_funcs.C:
11508 * vc-backend.C: move LyX/XFormsView into frontends/
11510 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11522 * text2.C: move Painter to frontends/
11524 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11526 * buffer.C: comment out some some code that depend upon lyx_format
11529 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11530 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11532 * buffer.h (NO_COMPABILITY): turn off compability
11534 * ColorHandler.C: include scoped_array.hpp
11536 * font.C: Use more specific smart_ptr header.
11539 * ShareContainer.h: ditto
11540 * lyx_main.h: ditto
11542 * FontInfo.h: ditto
11543 * BufferView_pimpl.h: ditto
11544 * ColorHandler.h: ditto
11546 * kbmap.C (defkey): change call to shared_ptr::reset
11548 2002-05-21 Juergen Vigna <jug@sad.it>
11550 * buffer.C (insertErtContents): fix to insert ert asis if it is
11551 non empty. Skip it completely if it contains only whitespaces.
11553 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11555 * BufferView_pimpl.C:
11556 * BufferView2.C: clear selection on paste (bug 393)
11558 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11560 * DepTable.C: include ctime
11562 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11564 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11566 2002-05-14 Juergen Vigna <jug@sad.it>
11568 * text.C (breakParagraph): fixed function to honor the keepempty
11569 layout in the right maner and also to permit the right breaking
11570 algorithm on empty or non empyt keepempty paragraphs.
11572 * paragraph.C (breakParagraph): we have to check also if the par
11573 is really empty (!size()) for isempty otherwise we do the wrong
11576 2002-05-10 Juergen Vigna <jug@sad.it>
11578 * buffer.[Ch] : The following are only changes to the ert
11579 compatibility read reading old LaTeX layout and font stuff and
11580 convert it to ERTInsets.
11582 * buffer.h: added isErtInset().
11584 * buffer.C (struct ErtComp): add a fromlayout bool to check
11585 if we're inside a LaTeX layout.
11586 (isErtInset): new helper function.
11587 (insertErtContents): look for other ert insets before this one
11588 and insert the contents there, so that we don't have subsequent
11589 ERT insets with nothing between them. This way we create only one
11590 inset with multiple paragraphs. Also check if we don't insert only
11591 spaces ' ' as they are ignored anyway afterwards in the .tex file
11592 so if we have only spaces we will ignore this latex part in the
11594 (parseSingleLyXformat2Token \\layout): better compatibility when
11595 reading layout-latex stuff.
11596 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11598 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11599 stuff after reading the inset only get the information back from
11602 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11604 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11606 * LaTeXFeatures.C (getBabelOptions): New method.
11608 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11610 * BufferView_pimpl.C (Dispatch): work around missing argument for
11613 2002-05-08 Juergen Vigna <jug@sad.it>
11615 * text.C (leftMargin): handle paragraph leftindent.
11617 * paragraph.C (writeFile): write the new \\leftindent tag.
11618 (validate): handle leftindent code.
11619 (TeXEnvironment): handle paragraphleftindent code again.
11621 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11623 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11624 for paragrap_extra indent code and new token \\leftindent.
11625 (latexParagraphs): handle the leftindent as environment.
11627 * ParameterStruct.h: added leftindent support.
11629 * ParagraphParameters.C (leftIndent): added support functions for
11630 the paragraph left indent.
11632 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11635 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11637 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11640 * text.C (computeBidiTables): No bidi in insetERT.
11642 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11645 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11647 * version.C.in: pre 5
11649 2002-05-02 José Matos <jamatos@fep.up.pt>
11650 * buffer.C (makeDocBookFile): white space changes, add newline to
11652 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11654 * tabular.C (docBook): fix typo.
11656 2002-05-03 Juergen Vigna <jug@sad.it>
11658 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11659 change in LyXText as we can not be sure it was not freed.
11660 (drawOneRow): remove unused code.
11662 * text.C (drawInset): redo the calculation of the need_break_row as
11663 it could have a row which was already freed.
11664 (draw): look at the return value of drawInset and return false if
11665 it also returned false.
11666 (paintRowText): look at the return value of draw and return false if
11667 it also returned false.
11669 * lyxtext.h: added bool return type to drawInset() and draw() so that
11670 if we have a change in the row so that the rowbreak has to be redone
11671 we abort drawing as it will be called again.
11673 2002-05-02 Juergen Vigna <jug@sad.it>
11675 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11676 a change in the maintext also if we're inside an inset.
11677 (Dispatch): set the cursor again after a break line and after the
11678 screen has been updated as it could be we're in a different row.
11680 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11681 to set the cursor behind the pargraph with > size().
11682 (setCursor): check also for the same paragraph when checking where
11683 to put the cursor if we have a NFR inset.
11685 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11686 parts of layout read further up as it still was in the wrong
11689 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11691 * screen.C (drawFromTo): change sine fullRebreak always return
11694 * buffer.C (parseSingleLyXformat2Token): reindent some
11696 * BufferView_pimpl.C (update): change since fullRebreak always
11698 (Dispatch): git rid of the last hardcoded "Standard"s.
11700 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * text2.[Ch] (fullRebreak): make it return void now that we always
11705 2002-04-30 Juergen Vigna <jug@sad.it>
11707 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11708 ert compatibility check for "latex" layout.
11710 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11712 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11713 minipages: use col% instead of p%, and also use the current font.
11714 (makeLaTeXFile): Fix use babel condition.
11715 (parseSingleLyXformat2Token): Correct font when reading old floats.
11717 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11719 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11720 inserting list of floats.
11722 2002-04-25 Herbert Voss <voss@lyx.org>
11724 * MenuBackend.C (expand): don't add the graphics extensions to the
11727 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11729 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11730 non-existing layout, do not complain if it was the default layout
11731 of the original class (bug #342)
11733 2002-04-24 Juergen Vigna <jug@sad.it>
11735 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11736 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11738 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11740 * buffer.C (getBibkeyList): If using \bibliography, return the
11741 option field with the reference itself. Enables us to provide natbib
11742 support when using \bibliography.
11744 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11746 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11748 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11749 natbib is provided by the LaTeX class.
11751 2002-04-23 Juergen Vigna <jug@sad.it>
11753 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11756 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11758 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11760 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11762 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11763 ensuremath around textordmasculine, textordfeminine and
11766 2002-04-19 Juergen Vigna <jug@sad.it>
11768 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11769 reinitializing the buffer otherwise row-dimensions may be wrong.
11770 (update): reset also the selection cursors if they do exits otherwise
11771 their x/y positions may be wrong.
11773 * text2.C (cursorDown): don't enter the inset if we came from a row
11774 above and are one row over the inset.
11776 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11777 really leaving an inset.
11779 2002-04-18 Juergen Vigna <jug@sad.it>
11781 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11782 of the selected paragraph does not have the selected layout also if
11785 * text2.C (setLayout): fixed bug which did not change last selected
11788 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11789 changed the read and substituted \\end_float with \\end_inset!
11791 * BufferView_pimpl.C (cursorPrevious):
11792 (cursorNext): fixed to make it work with rows heigher than the work
11793 area without moving the cursor only the draw of the row.
11794 (workAreaMotionNotify): fix jumping over high rows.
11796 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11798 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11801 2002-04-16 Juergen Vigna <jug@sad.it>
11803 * text2.C (setCursor): set also the irow().
11804 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11806 (cursorDown): support for locking an inset if the x_fix value goes
11807 inside it. That way I can transverse insets too with cursor up/down.
11809 * lyxrow.h: added irow helper function same as other (i) functions.
11811 * BufferView_pimpl.C (cursorPrevious):
11812 (cursorNext): fixed for insets!
11814 2002-04-15 Juergen Vigna <jug@sad.it>
11816 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11817 position otherwise it is wrong in some cases.
11819 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11820 inside the inset before the call.
11822 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11824 * buffer.[Ch] (getBibkeyList): make it const.
11826 2002-04-12 Juergen Vigna <jug@sad.it>
11828 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11830 * text2.C (getCursorX): new helper function
11831 (setCursor): compute also ix_
11832 (setCursorFromCoordinates): set also ix.
11834 * lyxcursor.h: added ix_ and helper functions.
11836 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11838 * buffer.C (insertStringAsLines): dont break paragraph if the this
11839 paragraph is inside an inset which does not permit it!
11841 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11842 also with no chars on this paragraph.
11843 (paintRowText): only paint stuff if it's inside the workarea!
11845 * paragraph.C (breakParagraph): honor keepempty flag and break the
11846 paragraph always below not above.
11848 * BufferView2.C (unlockInset): update the paragraph layout on inset
11849 unlock as we changed paragraph in such a case.
11851 * lyxfind.C (LyXFind): clear the former selection if not found!
11853 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11854 again called in insertChar().
11856 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11857 an inset which uses the whole row!
11858 (rightMargin): ditto.
11859 (insertChar): force a rebreak if we inserted an inset!
11861 2002-03-28 Herbert Voss <voss@lyx.org>
11863 * lyxlength.[Ch]: add inBP() to get the right PS-point
11864 units (BigPoint). With inPixels we have rounding errors
11866 2002-04-11 Juergen Vigna <jug@sad.it>
11868 * text2.C (setCursorFromCoordinates): set iy to the right value.
11869 (setCursor): add check if row->previous exists!
11871 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11872 an old float_type as this was the case in the old code!
11874 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11876 * BufferView2.C (showLockedInsetCursor): use iy
11877 (fitLockedInsetCursor): ditto
11879 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11880 locked insets as there we have the right value now.
11882 * lyxcursor.C: added iy_ variable and iy functions to set to the
11883 baseline of cursor-y of the locked inset.
11885 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11886 (setCursor): fixed for insets which need a full row.
11888 * text.C (rowLastPrintable): don't ignore the last space when before
11889 an inset which needs a full row.
11890 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11891 as last character of a row when before a inset which needs a full row.
11893 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11895 * version.C.in: update date
11897 * text2.C (fullRebreak): try to always return true and see what
11900 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11902 * MenuBackend.C (expand): use Floating::listName
11904 * FloatList.C (FloatList): add listName argument to the built-in
11907 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11908 text associated with the float.
11910 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11912 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11914 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11916 * ShareContainer.h: add a couple of missing typenames.
11918 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11920 * lyxrc.C (getDescription): use _() correctly rather than N_().
11922 2002-03-28 Herbert Voss <voss@lyx.org>
11924 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11925 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11927 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11929 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11930 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11932 2002-03-29 Juergen Vigna <jug@sad.it>
11934 * lyxfunc.C (dispatch): add a missing fitCursor call.
11936 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11937 it was scrolled by a cursor move, so return the bool status.
11939 * BufferView.C (fitCursor): return the bool flag also to the outside
11940 world as this is needed.
11942 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11944 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11945 call the edit() as it is not needed (and wrong) IMO.
11946 (workAreaButtonPress): set the screen_first variable before evt.
11947 unlock the inset as this may change screen_first and then we have
11948 a wrong y position for the click!
11950 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11952 * MenuBackend.C (expand): another translation that I missed
11954 2002-03-28 Juergen Vigna <jug@sad.it>
11956 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11958 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11960 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11962 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11964 * MenuBackend.C (expand): fix export/view/update when there is no
11967 2002-03-27 Herbert Voss <voss@lyx.org>
11969 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11972 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11974 * bufferview_funcs.C (currentState): only show paragraph number
11975 for is DEVEL_VERSION is set.
11977 * lyxfunc.C (dispatch): put warning in INFO channel
11979 * MenuBackend.C (expand): translate the name of floats
11981 * FloatList.C (FloatList): mark the float names for translation
11983 * converter.C (convert): use LibScriptSearch
11985 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11987 * MenuBackend.C (defaults): fix default menu (we might as well get
11990 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11992 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11995 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11997 * lyxvc.C: reorder includes.
11999 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12001 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12004 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12006 * CutAndPaste.C: change layouts earlier on paste
12007 to avoid crashing when calling getFont()
12009 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12011 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12014 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12016 * WorkArea.C: remove 'Pending' debug message.
12018 * most files: ws cleanup
12020 * buffer.[Ch]: ws changes
12022 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12024 2002-03-21 Juergen Vigna <jug@sad.it>
12026 * tabular.C (SetMultiColumn): collapse also the contents of the
12027 cells and set the last border right. Added a Buffer const * param.
12029 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12031 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12034 2002-03-19 Juergen Vigna <jug@sad.it>
12036 * text2.C (clearSelection): reset also xsel_cache.
12038 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12039 where it needs to be called (John tells us to do so too :)
12040 (selectionLost): reset sel_cache.
12042 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12044 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12046 * text2.C (setCursorIntern): put debuging code in INSETS channel
12048 2002-03-19 André Pönitz <poenitz@gmx.net>
12050 * lyxfunc.C: tiny whitespace change
12052 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12054 * ToolbarDefaults.C (init):
12055 * LyXAction.C (init):
12057 * BufferView_pimpl.C (Dispatch):
12058 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12060 2002-03-19 Allan Rae <rae@lyx.org>
12062 * exporter.C (Export): removeAutoInsets before doing anything else.
12063 While I've just introduced a dependency on BufferView this really is
12064 the best place to clean the buffer otherwise you need to cleanup in
12065 a dozen places before calling export or cleanup in a dozen functions
12068 * converter.C (runLaTeX):
12069 (scanLog): Better handling of removeAutoInsets and screen updates.
12071 * lyxfunc.C (dispatch): small whitespace changes
12073 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12075 * WorkArea.C (C_WorkAreaEvent): return a value.
12076 (event_cb): return 1 if we handled the event, 0 otherwise.
12078 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12080 2002-03-18 Juergen Vigna <jug@sad.it>
12082 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12083 (GetAdditionalWidth): ditto.
12084 (RightLine): ditto.
12087 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12088 inset if we're there actually (probably not used right now but this
12089 is the direction to go for unifying code).
12090 (paste): disable code to clear the selection.
12092 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12093 inside an InsetText and move the check further up as it is in the
12096 * text2.C (pasteSelection): set a selection over the pasted text.
12098 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12100 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12101 and libgraphics to build on Cygwin.
12103 2002-03-15 Juergen Vigna <jug@sad.it>
12105 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12106 inserting an Inset into the paragraph. I know this is not the best
12107 fix but we already use current_view in CutAndPaste so we will remove
12108 all of it's using at the same time.
12110 * buffer.C (sgmlError): deactivated function till it is rewritten in
12111 the right mode, now it can create problems.
12113 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12114 before accessing it.
12116 2002-03-14 Juergen Vigna <jug@sad.it>
12118 * undo_funcs.C (textHandleUndo): do the right thing when updating
12119 the inset after the undo/redo.
12121 * text2.C (setCursor): just some testcode for #44 not ready yet.
12123 * undo_funcs.C (textHandleUndo): set the next() and previous()
12124 pointers of the paragraph to 0 before deleting otherwise we have
12125 problems with the Paragraph::[destructor].
12127 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12128 on a paragraph insertion.
12130 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12132 * buffer.C (asciiParagraph): use += operator for char append to
12135 * paragraph.C (getFontSettings): compare >= not just >
12136 (highestFontInRange): ditto
12139 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * paragraph.C: change several algorithm to be more appripriate for
12142 the problem domain. This is lookip in FontList and in the InsetList.
12144 2002-03-13 André Pönitz <poenitz@gmx.net>
12147 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12149 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12154 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12156 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12158 * Painter.C (display): anon helper function, adjust code for this
12160 (pixmap): remove function.
12162 * Painter.h: remove private display variable.
12164 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12166 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12168 * WorkArea.[Ch]: remove figinset_canvas cruft.
12170 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12172 * lyxtextclass.C (operator): add one item cache optimization.
12174 * bufferlist.h: doxy changes
12176 * bufferlist.C: ws changes
12178 * DepTable.[Ch] (ext_exist): place const in the right spot.
12180 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12182 (workAreaExpose): call resizeInsets when the with BufferView changes.
12183 (Dispatch): adjust for protectedBlank removal
12184 (specialChar): call updateInset if the insert went ok.
12186 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12187 specialChar instead.
12189 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12191 * BufferView.h: doxy change
12193 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12195 * lyxtextclass.C (operator[]): remove non-const version
12196 (defaultLayout): remove non-const version
12198 2002-03-12 Juergen Vigna <jug@sad.it>
12200 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12201 did resize the LyXText too.
12203 * buffer.C (readLyXformat2): set layout information on newly allocated
12206 * tabular.C (OldFormatRead): set layout information on the paragraph.
12208 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12210 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12212 2002-03-11 Juergen Vigna <jug@sad.it>
12214 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12216 (resizeCurrentBuffer): force also the insets to resize themselfes.
12217 (moveCursorUpdate): fixed up for InsetText.
12219 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12222 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12223 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12224 value of Dialogs::tooltipsEnabled().
12225 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12227 2002-03-08 Juergen Vigna <jug@sad.it>
12229 * BufferView_pimpl.C (updateInset): update inset inside inset also
12230 if it isn't inside theLockingInset().
12232 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * buffer.C (asciiParagraph): redo some of the word and line length
12236 (getLists): look for Caption instead of caption.
12238 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12240 * buffer.C (Buffer): initialize niceFile to true
12242 (makeLinuxDocFile):
12243 (makeDocBookFile): make sure niceFile is true on exit
12245 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12247 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12249 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12251 * LyXSendto.C: remove.
12252 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12253 * lyx_gui.C: remove now-redundant comment.
12254 * ColorHandler.h: remove forward declaration of class WorkArea.
12255 * lyxfunc.C: remove #include "WorkArea.h".
12257 2002-03-07 Juergen Vigna <jug@sad.it>
12259 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12260 got moved away with the DEPM and also set the inset_owner always
12261 right which before could have been omitted.
12263 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12265 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12266 wanted layout is not found.
12268 2002-03-07 Juergen Vigna <jug@sad.it>
12270 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12272 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12274 * paragraph.C (breakParagraph): use default layout not layout of
12276 (Paragraph): clear ParagraphParameters.
12278 2002-03-06 Juergen Vigna <jug@sad.it>
12280 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12281 otherwise it would not be a valid lenght. Fixed a special case in
12282 the minipage compatibility read where we end the document with a
12285 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12286 was set as it could be 0 for InsetTexts first entry.
12288 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12290 * paragraph.C (writeFile): if layout is empty write out
12291 defaultLayoutName().
12293 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12294 file without named layout we set layout to defaultLayoutName().
12296 2002-03-06 Juergen Vigna <jug@sad.it>
12298 * CutAndPaste.C (copySelection): set layout for new paragraph.
12300 * text.C (prepareToPrint): leave ERT inset left aligned
12301 (leftMargin): don't indent paragraphs inside ERT insets
12303 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12305 * paragraph.C (breakParagraph): dont call clear do the work manually
12307 * paragraph.[Ch] (clear): remove function
12309 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12311 * paragraph.C (Paragraph): dont call clear, the work has already
12314 * lyxtextclass.C (operator): assert if n is empty
12316 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12317 work manually instead.
12319 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12321 * BufferView_pimpl.C: protect selectionLost against text == 0
12323 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12325 * text.C (breakParagraph): fix a setting layout to '0' problem.
12327 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12329 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12330 final location of file, for the included files, and graphics.
12332 2002-03-05 Juergen Vigna <jug@sad.it>
12334 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12336 2002-03-04 Juergen Vigna <jug@sad.it>
12338 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12340 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12341 last column of multicolumn cells.
12342 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12344 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12346 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12347 file if it doesn't go to a temporary file.
12349 * buffer.C (sgmlOpenTag):
12350 (sgmlCloseTag): remove extra newline insertion.
12352 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12354 * text.C (getRowNearY): comment out debug msg
12356 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12358 * text2.C: first -> first_y
12360 * text.C (getRowNearY): add some attemts at a possible
12361 optimization, not working.
12363 * tabular.[Ch]: add BufferParams to several function so that newly
12364 created paragraph can be initialized to he default layotu for the
12367 * tabular-old.C (ReadOld): add buf->params to call of Init
12369 * screen.C: rename text->first to text->first_y
12371 * paragraph.C (breakParagraph): always set layout in the broken
12374 * lyxtextclass.C (Read): remove lowercase
12377 (delete_layout): ditto
12379 * lyxtext.h: rename first -> first_y
12381 * lyxlayout.C (Read): remove lowercase
12384 (obsoleted_by): ditto
12386 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12388 * buffer.C (insertErtContents): add params are to InsetERT
12389 (parseSingleLyXformat2Token): add code to check if a paragraphs
12390 layout really exist.
12391 (parseSingleLyXformat2Token): add params to several inset
12393 (asciiParagraph): remove lowercase, do the layout comparisons with
12396 * BufferView_pimpl.C (cursorNext): first -> first_y
12397 (resizeCurrentBuffer): first -> first_y
12398 (updateScrollbar): first -> first_y
12399 (scrollCB): first -> first_y
12400 (workAreaMotionNotify): first -> first_y
12401 (workAreaButtonPress): first -> first_y
12402 (checkInsetHit): first -> first_y
12403 (cursorPrevious): first -> first_y
12404 (cursorNext): first -> first_y
12405 (Dispatch): add buffer_->params to severl inset contructors
12407 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12409 * lyxlayout.C (Read): remove some debug info that I forgot.
12411 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12412 clean up the code slightly.
12413 (makeLinuxDocFile): ditto
12414 (makeDocBookFile): ditto
12416 * text2.C: layout as string
12418 * text.C: layout as string
12420 * paragraph_pimpl.C: layout as string
12422 * paragraph.[Ch]: layout as string
12424 * lyxtextclasslist.[Ch]: layout as string
12426 * lyxtextclass.[Ch]: layout as string
12428 * lyxtext.h: layout as string
12430 * lyxlayout.[Ch]: layout as string
12432 * lyx_cb.C: layout as string
12434 * bufferview_funcs.C: layout as string
12436 * bufferparams.C: layout as string
12438 * buffer.C: layout as string
12440 * LyXView.[Ch]: layout as string
12442 * LaTeXFeatures.[Ch]: layout as string
12444 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12446 * BufferView_pimpl.C: change current_layout to string, remove
12451 (workAreaButtonRelease): layout as string
12453 * BufferView2.C (unlockInset): adjust
12455 * vspace.C (asLatexCommand): use an explict temp variable.
12457 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12459 * Makefile.am: use FRONTEND_*
12461 2002-03-01 Juergen Vigna <jug@sad.it>
12463 * tabular.C (SetWidthOfMulticolCell): changed to something better
12464 I hope but still work in progress.
12465 (recalculateMulticolumnsOfColumn): renamed function from
12466 recalculateMulticolCells as it is more appropriate now.
12467 (SetWidthOfCell): calculate multicols better.
12469 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12471 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12473 * lyxfunc.C (processKeySym): print sequence also if it is
12474 `deleted' (complete)
12476 * kbsequence.C (print): print sequence even if it is deleted
12477 (complete would be a better word, actually).
12479 * lyxfunc.C (dispatch): print complete options after a prefix key
12481 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12483 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12485 * text2.C (setCharFont): eliminate setCharFont code duplication.
12487 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12489 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12490 LFUN_TABULAR_FEATURE (bug #177)
12492 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12494 * Makefile.am: remove figure.h
12496 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12498 * Bufferview_pimpl.C:
12510 * text2.C: remove #include "lyx_gui_misc.h".
12512 * LaTeX.C: added #include <cstdio>
12514 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12516 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12517 that the paragraph following this one can have.
12519 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12521 * vspace.C (asLatexCommand): fix bogus gcc warning
12523 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12525 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12527 * text2.C (setLayout): get rid of redundant code
12529 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12531 * text2.C (incDepth): make sure depth cannot be increased beyond
12534 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12536 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12537 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12539 * PainterBase.h (image):
12540 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12541 a LyXImage const *.
12543 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12547 * BufferView_pimpl.C:
12548 * BufferView_pimpl.h:
12568 * sp_spell.C: remove fig inset, and the crap house of
12569 cards that follows it
12571 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12576 * os2_errortable.h:
12577 * nt_defines.h: move .h into support/
12579 * vms_defines.h: remove
12581 * WorkArea.C: add space in debug output
12585 * buffer.C: add WITH_WARNINGS
12589 * bufferlist.C: s/retrive/retrieve/, add docs
12598 * chset.C: add docs
12600 * lyxgui.C: add ID to X error handler
12602 * lyxtestclass.c: fix typo
12604 2002-02-26 Juergen Vigna <jug@sad.it>
12606 * tabular_funcs.C (write_attribute): changed so that some default
12607 attributes are not written at all.
12608 (getTokenValue): set default values before trying to read the
12609 value so we have the return value always set as default if we don't
12610 find the token we search for.
12612 * tabular.C (Write): write bools as bools not as strings!
12614 2002-02-22 Juergen Vigna <jug@sad.it>
12616 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12617 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12619 * text.C (leftMargin): don't add an indent for paragraphs inside
12620 tabular cells (fix #208).
12622 2002-02-21 José Matos <jamatos@fep.up.pt>
12624 * tabular.C (docBook): fixed support for long tables.
12626 2002-02-20 Juergen Vigna <jug@sad.it>
12628 * text2.C (getFont): get the drawing font of the Inset if this
12629 paragraph is inside an inset (only important for InsetERT for now).
12631 * buffer.C (insertErtContents): use new lanugage params in ERT
12634 * CutAndPaste.C: commenting out seemingly uneeded code.
12636 2002-02-19 Allan Rae <rae@lyx.org>
12638 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12639 Iterators might be simple to use but they also get invalidated.
12640 (removeAutoInsets): renamed saved cursor tracking variables and added
12641 some comments to clarify what everything does.
12643 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12650 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12651 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12654 * vc-backend.h: remove #include "support/syscall.h"
12658 * converter.C: rearrange #includes in Lars' approved fashion.
12660 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12661 forward declare class Timeout in the header file.
12663 * XFormsView.C: changes due to the above.
12665 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12666 similar to LyXView.
12668 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12669 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12671 2002-02-18 José Matos <jamatos@fep.up.pt>
12673 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12676 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12678 * a lot of small ws changes
12679 * add a lot of using std::XXX
12680 * use std construcs some places where approp.
12681 * use some exisint stuff from lyxfunctional where approp.
12682 * Make file changes to use partial linking (lets test this now...)
12684 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12688 remove #include "support/syscontr.h" as it's redundant. Always has been.
12696 change Systemcalls::System to Systemcalls::Wait and
12697 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12698 No change of functionality, just reflects the stripped down Systemcalls
12701 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12703 * debug.[Ch]: add a GRAPHICS type to the enum.
12705 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12707 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12709 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12712 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12714 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12715 match the changes below.
12717 * text2.C (toggleInset): if there is not editable inset at cursor
12718 position, try to see if cursor is _inside_ a collapsable inset
12721 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12723 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12724 document menu has a nice checkbox
12726 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12728 * lyxlength.C (asLatexString): change PW to output as percent of
12731 * lengthcommon.C: change '%' to 't%'
12733 * lyxfunc.C (dispatch): a few comments from Martin
12735 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12739 * BufferView_pimpl.h:
12740 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12743 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12745 * vspace.C (inPixels): fix compiler warning
12747 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12749 * lyxfunc.C (getStatus): fix status message for disabled commands.
12751 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12753 * BufferView_pimpl.C: fix crash on close buffer
12754 during selection (#227)
12756 2002-01-27 Herbert Voss <voss@lyx.org>
12758 * buffer.C: link old Figure to new graphic inset
12760 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12762 * FontLoader.C (getFontinfo): Change the latex font names in order
12763 to match the names of type1inst.
12765 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12767 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12769 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12770 (extchanged): ditto
12772 (remove_files_with_extension): ditto
12773 (remove_file): ditto
12776 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12777 document is smaller than the work area height. Do not initialize
12778 static variables to 0.
12780 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12782 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12784 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12785 LFUN_LAYOUT_PARAGRAPHS.
12787 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12788 tabular. It is possible to provide a possible cell, which will
12789 typically be the actcell from the corresponding insettabular
12791 * lyxfunc.C (getStatus): small cleanup; disable
12792 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12795 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12797 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12799 * paragraph.C (startTeXParParams):
12800 (endTeXParParams): new methods. The LaTeX code to
12801 start/end paragraph formatting
12802 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12803 empty (fixes bug #200)
12805 * vspace.C (inPixels): adapt to the change below
12806 (inPixels): [later] more cleanups (remove unused variables)
12808 * lyxlength.C (inPixels): change to use a width and a height as
12811 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12813 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12814 Replaced with \paperwidth
12816 * DepTable.C (insert): add std:: qualifier
12818 2002-01-18 Allan Rae <rae@lyx.org>
12820 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12823 * text.C (drawInset): Turned out I didn't know enough about how
12824 rebreaking worked. This fixes most of the redraw problems. I see
12825 an occasional cursor trail when a line is broken now and the cursor
12826 placement can seem out by a few pixels also after a rebreak.
12828 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12830 * buffer.C (parseSingleLyXformat2Token): update because minipage
12831 width is now a LyXLength
12833 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12835 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12838 2002-01-17 Juergen Vigna <jug@sad.it>
12840 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12842 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12843 is set correctly and the inset is updated correctly.
12845 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12847 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12848 the beginning of the loop.
12850 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12852 * lyxrc.C: improve help for use_scalable_fonts
12854 2002-01-17 Allan Rae <rae@lyx.org>
12856 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12858 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12860 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12861 make sure to set their inset_owner to the right value (bug #171)
12863 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12866 * DepTable.C: Implement mtime checking to reduce time spent doing
12869 2002-01-16 Juergen Vigna <jug@sad.it>
12871 * tabular.C (GetAdditionalHeight): one of error fixed.
12873 * lyxrc.C (output): small fix in writing use_pspell.
12875 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12877 * sp_base.h: #include LString.h
12879 2002-01-16 Allan Rae <rae@lyx.org>
12881 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12882 Can someone check this please?
12884 * text.C (drawInset): It was possible that p.row would be removed by
12885 breakAgainOneRow upsetting a few other settings. There may be another
12886 small tweak possible by setting need_break_row = 0 when p.row has been
12887 removed but I don't know enough about the logic here.
12889 2002-01-15 Allan Rae <rae@lyx.org>
12891 * text.C (insertChar): removed conditional truism.
12893 * BufferView2.C (removeAutoInsets): More tweaks.
12894 cur_par_prev could be a stray pointer. Check for trailing empty line
12895 in case last line was cur_par and only had an error inset on it.
12897 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12899 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12902 * vc-backend.C (most methods):
12903 * exporter.C (Export):
12904 * converter.C (convert):
12906 * LyXSendto.C (SendtoApplyCB):
12907 * lyxfunc.C (dispatch):
12911 * lyx_cb.C (AutoSave):
12913 * BufferView_pimpl.C (MenuInsertLyXFile):
12914 * buffer.C (runChktex): use Buffer::filePath().
12916 * buffer.h: rename filename to filename_; rename filepath to
12917 filepath_ and make it private
12918 (filePath): new method
12920 * buffer.C (writeFile): use fileName()
12923 * lyx_main.C (init): fix starting of LyX when the binary is a
12924 link from so,ewhere else.
12926 * minibuffer.C: include <cctype> for isprint
12928 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12930 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12931 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12932 name clash with InsetCollapsable's width function.
12934 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12936 * lastfiles.C: include <iterator>
12938 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12940 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12943 * buffer.C (makeLaTeXFile): ditto.
12944 Also make loop operation more transparent.
12946 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12948 * ToolbarDefaults.C: remove trailing comma closing namespace.
12950 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12952 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12955 * trans.C (Load): comment out unused variable, allowed.
12957 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12959 * minibuffer.[Ch] (append_char): new method to recieve input from the
12960 drop-down completion browser. If a key was pressed, then recieve this
12961 char and append it to the existing string.
12962 (peek_event): modify the positioning data passed to the completion
12963 browser so that it can be placed above the minibuffer rather than below.
12964 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12966 * LyXAction.C (init): alloe error-next for readonly documents.
12968 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12971 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12973 * bufferlist.C (readFile): create the buffer _after_ checking that
12976 * lyxfunc.C (verboseDispatch): fix handling of arguments
12978 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12980 * lyxrc.C: use string::erase() instead of initializing to "".
12983 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12985 * BufferView_pimpl.h:
12986 * BufferView_pimpl.C:
12989 * text2.C: tell X when we have made a selection for copying
12991 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12993 * BufferView_pimpl.C (MenuInsertLyXFile):
12994 * lyxfunc.C (menuNew):
12996 (doImport): add shortcuts to directory buttons
12998 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13001 * lyxfunc.C (setStatusMessage):
13002 (getStatusMessage): new methods
13003 (getStatus):use setStatusMessage instead of setErrorMessage
13004 (dispatch): when function is disabled, set error message here
13005 [instead of in getStatus previously]
13007 * BufferView_pimpl.C (workAreaButtonRelease): update
13008 toolbar/menubar here too.
13010 2002-01-13 Allan Rae <rae@lyx.org>
13012 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13013 Now seems indestructible. Remaining task is to audit all other
13014 code affected by deleteEmptyParagraphMechanism. One small quirk
13015 left is that an empty document with an error in the preamble can
13016 be made to report an error but no error box appears. I don't know
13018 (removeAutoInsets): Improved comments.
13020 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13023 * Thesaurus.C: update for Aiksaurus 0.14
13025 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13027 * text2.C (firstParagraph): removed member function, all uses
13028 replaces with ownerParagraph
13029 (redoParagraphs): here
13030 (updateInset): here
13031 (toggleAppendix): here
13032 * BufferView2.C (insertErrors): here
13033 (setCursorFromRow): here
13035 2002-01-13 Allan Rae <rae@lyx.org>
13037 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13038 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13039 There is still a way to segfault this although you may have to do this
13040 multiple times: Have an InsetERT with an unknown command in it.
13041 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13042 <down-arrow>, <Enter> again, View->DVI, BANG!
13044 * text2.C (setCursor):
13045 (deleteEmptyParagraphMechanism):
13046 * lyxtext.h (setCursor):
13047 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13048 Making use of the return value may help fix other bugs.
13050 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13052 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13054 * LyXView.C (updateMenubar): call MenuBar::update here
13055 (updateToolbar): but not here
13056 (showState): do not update toolbar/menubar
13058 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13059 should need to care about that.
13061 * lyxfunc.C (verboseDispatch): simplify a bit
13062 (getStatus): have a version which takes a pseudoaction, and
13063 another which requires a (kb_action,string).
13065 * LyXAction.C (retrieveActionArg): make it work also when action
13066 is not a pseudo-action.
13067 (getActionName): simplify a bit
13070 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13072 * lyxfunc.C (verboseDispatch): new families of methods with
13073 several ways to specify a command and a bool to indicate whether
13074 the command name and shortcut should be displayed in minibuffer
13075 (eventually, we could extend that to a finer bitmask like
13076 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13077 (dispatch): the pristine dispatch command which just, well,
13078 dispatchs! Note it still sets its result to minibuffer; I'm not
13081 * lyxfunc.h: remove setHintMessage
13083 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13085 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13087 * BufferView_pimpl.C (specialChar): delete new inset if we have
13088 not been able to insert it.
13090 * kbmap.C: revert to using int instead of kb_action, since all we
13091 are dealing with is pseudo-actions.
13093 * LyXAction.C (searchActionArg): change to return int instead of
13094 kb_action, since the result is a pseudoaction.
13096 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13098 * buffer.C (insertErtContents): Fix (partially) the font bug.
13100 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13102 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13103 as the other one is broken on my machine!
13105 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13108 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13110 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13112 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13113 reflect their actual use. Provide compatibility code for older lyxrc
13116 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13118 change names of popup font variables in line with the changes to lyxrc.C
13120 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13122 * buffer.C (asciiParagraph): avoid outputing a word twice after
13125 * lyxrc.C (getDescription): document that document_path and
13126 template_path can be empty.
13128 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13130 * LaTeXFeatures.C (getMacros):
13131 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13133 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13135 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13137 (getPackages): rename feature "floats" to "float". Use an array to
13138 iterate over 'simple' features (i.e. just a \usepackage). Add
13139 handling of "amsmath" (renamed from "amsstyle").
13141 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13143 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13146 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13148 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13149 FuncStaus::FuncStatus & FuncStaus::some_method().
13151 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13153 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13154 of the func_satus stuff. Edited and massaged in various ways by
13157 * lyxfunc.C (getStatus): use FuncStatus
13159 2002-01-08 Juergen Vigna <jug@sad.it>
13161 * text.C (nextBreakPoint): use function Inset::isChar().
13163 * paragraph.C (TeXOnePar): use function
13164 Inset::forceDefaultParagraphs.
13166 * buffer.C (latexParagraphs): use function
13167 Inset::forceDefaultParagraphs.
13169 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13171 * lyx_gui.C (init): set the style of the menu popups to
13172 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13174 2002-01-07 Juergen Vigna <jug@sad.it>
13176 * text.C (setHeightOfRow): small fix
13177 (prepareToPrint): don't look at alignment if we don't have the place
13180 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13182 * box.C: New file. Move the Box methods and functions out of box.h,
13183 following Lars' suggestion.
13185 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13187 * box.h: #include "support/LOstream.h", needed for inlined function.
13190 * lyxtextclasslist.C: added some using std declarations.
13192 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13194 * box.h: make signed dimensions to allow insets wider than
13195 the screen (bug #162)
13197 * BufferView_pimpl.C: add some insetHit debug
13199 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13201 * vc-backend.C: add FIXME
13203 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13205 * lyxfunc.C (getStatus): enable code for showing math font status
13208 2002-01-07 Juergen Vigna <jug@sad.it>
13210 * text.C (nextBreakPoint): removed debug output not needed anymore.
13212 2002-01-06 Juergen Vigna <jug@sad.it>
13214 * text.C (nextBreakPoint): fixed up this function we had this bug
13215 since ever but now hopefully we break row better.
13216 (insertChar): we have to check if an inset is the next char as it
13217 could now happen that a large inset is causing a break.
13219 2002-01-05 Juergen Vigna <jug@sad.it>
13221 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13222 if it doesn't like to be drawed.
13224 2002-01-04 Juergen Vigna <jug@sad.it>
13226 * BufferView2.C (lockInset): forgot to set a cursor.
13228 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13230 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13232 * FormMathsPanel.C:
13235 * form_maths_panel.C:
13236 * form_maths_panel.h:
13237 * form_maths_panel.fd: implemented sub- and super- buttons in math
13240 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13241 (or ^ space) to be used as in TeX (req'd by André).
13243 * lyxfunc.C: Allow ^ and _ again to be used both as
13244 super/subscript (mathed) and as themselves (in text).
13246 2002-01-03 Allan Rae <rae@lyx.org>
13248 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13249 "LyX" or the filename of the current buffer if it has one. This is a
13250 modified form of John Levon's patch.
13252 * XFormsView.C (setWindowTitle): also set icon title.
13254 * LyXView.h (setWindowTitle): signature changed.
13255 * XFormsView.h (setWindowTitle): ditto.
13257 2002-01-02 Juergen Vigna <jug@sad.it>
13259 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13261 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13263 * screen.C (topCursorVisible): introduce a temp var for
13264 text->cursor.row(), handle the case where this row is null. (kindo
13267 * text2.C (setCursor): add a couple of asserts.
13269 * paragraph.h (inset_iterator): add -> operator
13271 * paragraph.[Ch] (autoDeleteInsets): remove member function
13273 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13274 cursor pos correctly and handle inset deletion by itself.
13275 (insertErrors): move iterator declaration out of for expression
13277 * lyxtextclass.C: add <algorithm>
13279 * Makefile.am: added the new files to sources, removed layout.C
13281 * layout.C: removed file
13283 * layout.h: remove LYX_DUMMY_LAYOUT
13285 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13289 * lyxtextclass.[Ch]:
13290 * lyxtextclasslist.[Ch]: new files
13292 * include order changes to a lot of files, also changes because of
13295 2001-12-27 Juergen Vigna <jug@sad.it>
13297 * buffer.C (asciiParagraph): more fixes.
13299 * tabular.C (ascii): make ascii export support export of only the
13300 data separated by a column-delimiter.
13301 (ascii): better support for ascii export.
13303 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13305 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13307 * tabular_funcs.C: use a "using std::getline" instead of the
13308 previous fix from Angus (necessary for cxx + lyxstring)
13310 2001-12-24 Juergen Vigna <jug@sad.it>
13312 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13314 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13315 problems. First check a minipage also if we have some ert-contents
13316 (not only on par->size(), second set the right depth of the paragraph
13317 on the relink to the root-paragraph-list!
13319 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13320 which then did not anymore update the main paragraphs on undo/redo!
13322 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13324 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13325 code. Support all font-changing funcs (even those which are not in
13326 menu currently). Support for reporting font settings in
13327 mathed (disabled until Andre provides a function on mathed's side).
13329 * func_status.h (toggle): small helper function to set toggle
13332 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13334 * tabular_funcs.C: getline -> std::getline
13336 2001-12-21 Juergen Vigna <jug@sad.it>
13338 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13339 accessed and could be 0 (I couldn't generate this but it seems
13342 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13344 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13345 * tabular_funcs.h: here and include iosfwd
13347 2001-12-20 Juergen Vigna <jug@sad.it>
13349 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13350 inside inset but undo_par was.
13352 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13354 * Thesaurus.C: always include <config.h> in sources.
13358 * box.h: do not include <config.h> in header files
13360 * text.C (paintLastRow): remove unused variable
13362 * text.C (transformChar):
13364 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13366 * Painter.C (text):
13367 * font.C (width): rewrite to use uppercase() instead of
13370 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13372 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13374 * lyxfind.C: clean up of find failure position change
13376 2001-12-20 Juergen Vigna <jug@sad.it>
13378 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13380 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13381 (TeXRow): added to LaTeX a single tabular row.
13382 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13383 (Latex): simplified and finally good LT-h/f support.
13384 (various_functions): just small adaptions for LT-h/f support.
13386 * tabular_funcs.[hC]: added and moved here all not classfunctions
13389 2001-12-19 Juergen Vigna <jug@sad.it>
13391 * tabular.[Ch]: better support for longtabular options (not finished
13394 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13396 * text.C (paintLastRow): use the label font instead of the font of
13397 the last character to compute the size of *_BOX. This makes more
13398 sense and avoids a crash with empty paragraphs.
13399 Use Painter::rectangle to draw EMPTY_BOX.
13401 2001-12-19 Juergen Vigna <jug@sad.it>
13403 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13404 the paragraphs if the replaced paragraph is not the first one!
13405 Tried to delete not used paragraphs but does not work yet so for
13406 now it's inside #ifdef's and by default off!
13408 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13410 * MenuBackend.C: include "lyx_main.h" instead of declaring
13411 lastfiles (actually was declared as LastFiles* instead of a
13414 2001-12-17 Juergen Vigna <jug@sad.it>
13416 * tabular.C (AppendColumn): applied John's fix
13418 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13422 * BufferView_pimpl.h:
13423 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13426 * box.h: new start of class for above
13428 * lyxfunc.C: ignore space-only minibuffer dispatches.
13429 Show the command name when it doesn't exist
13431 * minibuffer.C: don't add empty lines to the history
13433 * minibuffer.C: add a space on dropdown completion
13435 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13437 * text.C: fix line above/below drawing in insets
13439 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13441 * lyxlength.C (LyXLength): Initialize private variables.
13443 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13445 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13446 when inserting error insets.
13448 2001-12-13 Juergen Vigna <jug@sad.it>
13450 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13451 actually sometimes the before-paragraph.
13452 (setUndo): don't clear the redostack if we're not actually undoing!
13454 2001-12-06 Juergen Vigna <jug@sad.it>
13456 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13457 and fixed redoing of main paragraph, so we can use it now ;)
13459 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13461 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13463 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13466 2001-12-13 André Pönitz <poenitz@gmx.net>
13469 * undo_func.C: minor cleanup
13471 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13473 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13474 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13475 font in urw-fonts package which is marked as -urw-fontspecific and
13476 does not work (incidentally, changing the encoding in the
13477 fonts.dir of this package to -adobe-fontspecific fixes the
13480 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13481 is a crash when undoing first paragraph (Juergen, please take a
13482 look). THis does not mean the undo fix is wrong, just that it
13485 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13486 the (Paragraph*) version when needed instead of duplicating the
13489 * text.C (workWidth): use Inset::parOwner to find out where the
13490 inset has been inserted. This is a huge performance gain for large
13491 documents with lots of insets. If Inset::parOwner is not set, fall
13492 back on the brute force method
13494 * paragraph_pimpl.C (insertInset):
13495 * paragraph.C (Paragraph):
13496 (cutIntoMinibuffer): set parOwner of insets when
13497 inserting/removing them
13499 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13501 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13507 * mathed/formulabase.C:
13508 * mathed/math_cursor.[Ch]:
13509 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13512 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13514 * lyxlength.[Ch] (operator!=): new function
13516 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13518 * text.C (workWidth): use Inset::parOwner to find out where the
13519 inset has been inserted. This is a huge performance gain for large
13520 documents with lots of insets. If Inset::parOwner is not set, fall
13521 back on the brute force method
13523 * paragraph_pimpl.C (insertInset):
13524 * paragraph.C (Paragraph):
13525 (cutIntoMinibuffer): set parOwner of insets when
13526 inserting/removing them
13528 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13530 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13532 * tabular-old.C (getTokenValue):
13533 * tabular.C (getTokenValue):
13534 (write_attribute): new versions for LyXLength
13535 (everywhere): adjust the use of widths
13537 * tabular.h: change the type of widths from string to LyXLength
13539 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13541 * paragraph.C: fixed missing line number count when exporting
13542 Environments to LaTeX file
13544 * buffer.C: added informational message for checking line numbers.
13546 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13548 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13549 paragraph, do the 'double space' part, but not the 'empty
13552 * text.C (workWidth): small optimization
13553 (getLengthMarkerHeight): use minimal size for negative lengths.
13555 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13557 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13559 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13561 2001-12-11 André Pönitz <poenitz@gmx.net>
13564 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13566 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13568 * text2.C: keep selection on a setFont()
13570 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13572 * lyx_cb.C: another bv->text misuse, from insert label
13574 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13577 * kbsequence.C: re-instate nmodifier mask
13579 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13581 * lyx_main.h: make lyxGUI private.
13583 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13585 * lyxfind.C: place the cursor correctly on failed search
13587 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13589 * text.C (getLengthMarkerHeight): for small heights, the arrows
13590 are not always on top/bottom of the text
13591 (drawLengthMarker): smaller arrows; take the left margin in
13592 account; draw also vfills.
13594 (paintLastRow): remove special code for vfill and standard spaces,
13595 since everything is handled in drawLengthMarker now.
13597 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13599 * buffer.C (insertErtContents): try to handle font and language
13600 interaction a bit better.g
13602 * ColorHandler.C (updateColor): change the hash to cover the whole
13603 LColor enum, ws cleanup
13604 (getGCLinepars): ditto
13605 (getGCLinepars): only lookup in the linecache once.
13607 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13609 * iterators.C (operator++): Make the iterator more robust
13611 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13613 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13615 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13618 * text.C: better added space drawing
13620 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13623 * BufferView2.C: fix layout combo update on inset unlock
13625 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13627 * Makefile.am: don't compile unused files
13629 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13633 * LyXAction.C: remove old LFUN_LAYOUTNO
13635 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13637 * paragraph_pimpl.h:
13638 * paragraph_pimpl.C: isTextAt() doesn't need font param
13640 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13643 * lyxlex.C: little cleanup
13645 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13647 * BufferView_pimpl.C: fix insertAscii for insets
13649 2001-12-05 Juergen Vigna <jug@sad.it>
13651 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13652 set the right font on the "multi" paragraph paste!
13654 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13660 * lyxlength.C: remove out-commented code.
13662 * BufferView_pimpl:
13676 * vc-backend.C: change "while(" to "while ("
13678 * lyxlength.[Ch]: add zero function to check if length is zero or
13680 * lyxgluelength.C: use it
13682 2001-12-05 Allan Rae <rae@lyx.org>
13684 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13685 Works for 2.95.3, from what I understand of Garst's reports this should
13686 work for other g++ versions. We're screwed if the abs(int) definition
13687 changed between bugfix releases of gcc.
13689 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13691 * text.C: fix chapter label offset !
13693 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13696 * text.C: fix hfill at end of line, clean up
13698 2001-12-04 Juergen Vigna <jug@sad.it>
13700 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13701 that we force an update of the inset and it's owners if neccessary.
13703 2001-12-03 Juergen Vigna <jug@sad.it>
13705 * text.C (rowLast): simplified code
13707 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13709 * lyxfunc.C: fix show options on timeout
13711 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13713 * screen.C (topCursorVisible): scroll half a page when the cursor
13714 reached top of bottom of screen
13716 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13718 * minibuffer.C: deactivate on loss of focus
13720 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13722 * vspace.[Ch] (operator!=): add operator.
13724 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13726 * BufferView_pimpl.C: refuse to open an inset when
13727 there's a selection.
13729 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13731 * BufferView_pimpl.C: allow to click on RHS of full row insets
13733 2001-11-30 Juergen Vigna <jug@sad.it>
13735 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13736 insets for undo reasons.
13738 2001-11-28 André Pönitz <poenitz@gmx.net>
13740 * vspace.[Ch]: cosmetical changes
13742 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13752 * kbsequence.C: part re-write of old kb code
13755 * WorkArea.C: remove Lgb_bug_find_hack
13757 2001-11-30 José Matos <jamatos@fep.up.pt>
13759 * buffer.C (makeDocBookFile): add a comment to point a hack.
13760 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13761 Fixed a double write of labels.
13763 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13766 * LaTeX.h Fixed bug in LaTeX class where it would not
13767 re-run latex if no depfiles were changed, but the .dvi was removed.
13769 2001-11-28 André Pönitz <poenitz@gmx.net>
13771 * all the files from the change on 2001/11/26:
13772 use lyx::layout_type instead of LyXTextClass::size_type
13773 use lyx::textclass_type instead of LyXTextClassList::size_type
13775 2001-11-29 Juergen Vigna <jug@sad.it>
13777 * text.C: added support for paragraph::isFreeSpacing()
13779 * buffer.C: same as above
13781 * paragraph.h: inserted isFreeSpacing() function to enable
13782 FreeSpacing inside InsetERT.
13784 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13785 of the paragraph's in the cut/copy buffer to 0!
13787 * text2.C (removeRow): remove the assert as it can!
13789 * lyxtext.h: added helper function firstRow returning firstrow and
13790 made firstrow private again.
13792 * BufferView2.C (lockInset): don't relock if we're already locked!
13794 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13795 the only paragraph.
13796 (removeRow): added Assert::(firstrow)
13798 * debug.C: forgot to add INSETTEXT here.
13800 2001-11-28 Juergen Vigna <jug@sad.it>
13802 * sp_spell.C (initialize): changed error text to more general
13803 spellchecker command use (not only ispell!)
13805 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13807 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13809 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13811 * vspace.C: initialise lyxgluelength on failure
13813 2001-11-28 Allan Rae <rae@lyx.org>
13815 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13816 declaration & definition that looks like a function declaration.
13818 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13820 * BufferView2.C (copy):
13821 (copyEnvironment): do not clear the selection when doing a copy.
13823 * text.C (paintFirstRow): compilation fix
13825 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13827 * tabular.C (Latex): correct line count when writing latex.
13829 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13831 * paragraph_pimpl.h:
13832 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13835 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13839 * LColor.C: change vfillline->added_space
13841 * text.C: add markers and text for added space
13843 * vspace.C: fix comment
13845 2001-11-28 André Pönitz <poenitz@gmx.net>
13847 * paragraph.C: whitespace changes
13848 * all the other files from the change on 2001/11/26:
13849 change *::pos_type into lyx::pos_type
13851 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13853 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13854 language of the document when inserting error insets.
13856 2001-11-26 André Pönitz <poenitz@gmx.net>
13858 * BufferView_pimpl.[Ch]:
13866 * paragraph_pimpl.[Ch]:
13869 * text2.C: reduce header dependencies, introduce type for positions
13871 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13873 * <various>: change to use Alert.h
13875 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13877 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13878 when encountering an unknown token.
13879 (readLyXformat2): Show an error message if there were unknown tokens.
13881 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13884 * BufferView_pimpl.C:
13888 * text2.C: use par->isInset()
13890 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13892 * paragraph_pimpl.h:
13893 * paragraph_pimpl.C: cleanup
13895 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13897 * text2.C (removeRow):
13898 * text.C (setHeightOfRow): remove useless (and costly) call to
13901 2001-11-20 Allan Rae <rae@lyx.org>
13903 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13904 Now need Inset*::checkInsertChar() to return true for appropriate
13905 cases so that the characters in the minibuffer will actually be
13908 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13910 * text.C: change the order of the includes.
13911 (workWidth): initialize it at once.
13912 (workWidth): make maxw unsigned
13913 (setHeightOfRow): remove unused variable (inset)
13914 (selectSelectedWord): remove unused variable (inset)
13915 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13917 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13919 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13920 server is not running.
13922 (closeConnection): add debug info when server is disabled.
13924 * ColorHandler.C (getGCForeground): send debug message to GUI
13927 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13929 * kbmap.C (bind): modify because return conventions of
13930 kb_sequence::parse have changed.
13932 * kbsequence.C (parse): only ignore spaces and not any stupid
13933 control character. This avoids tests like s[i] <= ' ', which are
13934 guaranteed to fail with 8bit characters and signed chars.
13935 Change return code to string::npos when there have been no error
13936 (0 was a bad idea when error is at first character)
13938 2001-11-14 José Matos <jamatos@fep.up.pt>
13941 * buffer.C (simpleDocBookOnePar): removed unused argument.
13943 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13945 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13946 insets which are part of a word. Paragraph::isLetter takes care of
13947 that now. Use Paragraph::isInset to identify insets.
13948 (selectSelectedWord): do not test for hyphenation break.
13950 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13951 that protected spaces are considered as spaces.
13953 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13956 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13959 * lyxserver.C: fix it. and small cleanup.
13961 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13963 * BufferView_pimpl.C: use inline helpers
13966 * LaTeXFeatures.C: fix typos
13969 * Spacing.C: move spacing_string into class
13971 * ToolbarDefaults.C: move stuff into namespace anon
13973 * layout.h: update enum
13975 * lyxfunc.C: use better debug
13977 * minibuffer.h: fix typo
13981 * WorkArea.C: add and use Debug::WORKAREA
13985 * text2.C: code re-organisation, inline helpers
13987 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13989 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13990 std::vector.empty().
13992 2001-11-09 Allan Rae <rae@lyx.org>
13994 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13995 '\n's after tables. Tabular and ERT inset work now makes this no
13998 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14001 * minibuffer.C: fix crash, improve drop-down completion
14003 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14006 * lyxserver.C: invalidate fd's when doing endPipe()
14008 2001-11-08 José Matos <jamatos@fep.up.pt>
14010 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14011 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14014 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14016 2001-11-07 José Matos <jamatos@fep.up.pt>
14019 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14022 * buffer.C (sgmlOpenTag):
14023 * buffer.C (sgmlCloseTag): removed debug info.
14025 * buffer.h (sgmlOpenTag):
14026 * buffer.h (sgmlCloseTag): made public.
14028 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14030 * buffer.C (saveParamsAsDefaults):
14031 * lyx_cb.C (MenuLayoutSave): remove
14033 * LyXAction.C (init):
14035 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14037 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14039 * buffer.C (setPaperStuff): removed from here...
14041 * bufferparams.C (setPaperStuff): ... and moved there.
14043 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14047 * XFormsView.C: add support for drop-down completion
14049 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14051 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14054 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14056 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14059 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14061 * lyx_main.C: change ref to known bugs
14063 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14065 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14066 to work around older babel problems.
14068 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14070 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14072 2001-10-24 Juergen Vigna <jug@sad.it>
14074 * tabular-old.C (ReadOld): below variable changes reflected.
14076 * tabular.[Ch]: added ltType struct for longtable header/footer
14077 defines and changed all instances where they are used. Added
14078 future support for double top/bottom rows.
14080 2001-10-24 José Matos <jamatos@fep.up.pt>
14082 * buffer.h (docbookHandleCaption):
14083 * buffer.C (docbookHandleCaption): removed unused function.
14084 (makeDocBookFile): moved docbook supported version to v4.1.
14086 2001-10-24 José Matos <jamatos@fep.up.pt>
14089 * tabular.C (docbookRow): new function to export docbook code of a row.
14090 (DocBook): now honors the longtable flags.
14092 2001-10-23 José Matos <jamatos@fep.up.pt>
14095 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14096 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14098 * buffer.C (makeLinuxDocFile):
14099 (makeDocBookFile): reworked the preamble, more clean, and with
14100 support for lyx defined entities. Changed the document declaration
14101 to be more XML friendly.
14103 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14104 if we need to output XML that should be done with a filter.
14106 2001-10-22 Juergen Vigna <jug@sad.it>
14108 * sp_pspell.h (class PSpell): add alive function needed in the
14109 controller to see if the spellchecker could be started.
14111 2001-10-22 Juergen Vigna <jug@sad.it>
14113 * buffer.C (insertStringAsLines): modify the font for inserting
14114 chars in certain conditions by calling checkInsertChar(font).
14116 2001-10-19 Juergen Vigna <jug@sad.it>
14118 * text.C (workWidth): use getRow instead of wrong algorithm.
14119 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14121 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14126 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14128 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14130 * text.C (workWidth): do not search for the exact row when
14131 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14132 optimization for big documents.
14134 2001-10-18 Juergen Vigna <jug@sad.it>
14136 * text.C (workWidth): new function with added Inset * parameter.
14138 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14140 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14142 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14143 change return type of getColumnNearX.
14146 * text.C (changeRegionCase): use uppercase/lowercase instead of
14149 (rightMargin): simplify code by factoring out the uses of
14154 (appendParagraph): use Paragraph::size_type
14156 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14158 * vspace.C (asLatexString): add a missing break
14160 2001-10-15 Herbert Voss <voss@perce.de>
14162 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14164 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14169 2001-10-10 André Pönitz <poenitz@gmx.net>
14171 * lyxfunc.C: removed greek_kb_flag.
14173 2001-10-10 Herbert Voss <voss@perce.de>
14175 * lyx_main.C: delete global string help_lyxdir.
14177 2001-10-09 Herbert Voss <voss@perce.de>
14179 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14181 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14183 * lyx_main.C: added global string help_lyxdir.
14185 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14187 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14189 * lyxrc.C (set_font_norm_type): support iso8859-4
14191 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14193 * LaTeX.C (deplog): add another regex for MikTeX
14195 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14197 * lyxrc.C (set_font_norm_type): support iso8859-3
14199 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14201 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14203 * LaTeXFeatures.C: remove special case of french and index
14205 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14206 before \begin{document}). This solves several incompatibilities.
14208 2001-10-03 Garst Reese <reese@isn.net>
14210 * lyx_cb.C: change CheckTex error msg.
14212 2001-10-03 José Matos <jamatos@fep.up.pt>
14214 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14216 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14218 * .cvsignore: update
14220 * lyx_main.C (commandLineVersionInfo): use new style version info.
14222 * buffer.C (writeFile):
14224 (makeLinuxDocFile):
14225 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14227 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14229 * version.h: update to use stuff in version.C
14231 * version.C.in: new file. Contains version information determined
14232 at compile time. This is a merging of version.h and
14235 2001-10-03 Juergen Vigna <jug@sad.it>
14237 * BufferView_pimpl.C (update): don't change "dirty" status in
14240 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14242 * WorkArea.C (c-tor): re-position version string slightly.
14244 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14246 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14247 revert to previous code.
14249 WorkArea.[Ch]: (show, destroySplash): methods removed.
14251 WorkArea.C: rework code so that it's an amalgam of the codes before and
14252 after the splash screen was moved to WorkArea.
14254 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14257 * vspace.C (inPixels):
14260 * buffer.C (insertStringAsLines):
14261 (asciiParagraph): fix types to be large enough
14263 * lyxlex_pimpl.h: change member status from short to int
14265 * layout.h: fix type of endlabeltype
14268 * kbsequence.C (parse): change return type to string::size_type
14270 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14273 * Bullet.C (bulletSize):
14274 (bulletEntry): do not use short ints as parameters
14276 * BufferView2.C (insertLyXFile): change a char to an int.
14278 * WorkArea.C (WorkArea): remove unneeded floats in computation
14280 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14282 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14284 * paragraph.C (asString): Do not ignore newline/hfill chars when
14285 copying to the clipboard.
14287 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14289 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14290 after a multi-line inset.
14292 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14294 * paragraph.C (validate): Set NeedLyXFootnoteCode
14296 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14298 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14299 and decrease-error to decrease.
14301 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14303 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14304 it more readable (should be equivalent)
14306 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14308 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14310 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14312 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14313 of a cursor (row, etc.) after a character has been deleted
14314 (deleteEmptyParagraphMechanism): call the method above on _all_
14315 cursors held by the LyXText when a double space has been
14318 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14320 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14322 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14324 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14325 background. Use greyOut() and the new show() methods to toggle between
14326 the foreground and background. Add code to remove the splash after
14327 its initial showing.
14329 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14330 (create_forms): no longer call Dialogs::showSplash.
14332 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14334 * .cvsignore: add version_info.h
14336 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14338 * version_info.h.in: new file
14340 * Makefile.am: add version_info.h.in
14342 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14343 version_info.h instead of VERSION_INFO
14345 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14347 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14348 The ERT inset now returns string().
14350 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14352 * lyxtext.h, text.C (selectNextWord): renamed as
14353 selectNextWordToSpellcheck.
14355 * text.C (selectNextWordToSpellcheck): Modified to not select
14356 words inside an ERT inset.
14358 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14360 * lyx_cb.C (MenuLayoutSave): change a bit the question
14362 * sp_base.h: include <sys/types.h>
14364 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14366 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14368 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14370 * several files: fix typos in user-visible strings
14372 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14374 * text2.C (pasteSelection): do not set the selection, since it
14375 will be cleared later. Actually, the intent was to fix the way the
14376 selection was set, but I figured rmoving the code was just as good.
14378 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14380 * FontLoader.C (available): Check if font is available without
14383 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14385 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14387 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14389 * lyxrc.[Ch]: added display_graphics variable and associated code.
14391 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14393 * bufferparams.C (hasClassDefaults): new method. Returns true if
14394 the buffer parameters correspond to known class defaults
14396 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14398 * XFormsView.C (show): set minimum size to the main window.
14400 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14402 * text2.C (copySelection):
14404 * lyxfind.C (LyXReplace):
14405 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14406 LyXText::selectionAsString.
14408 * paragraph.C (asString): add "label" argument to the second form
14410 * text2.C (selectionAsString): add "label" argument and pass it to
14411 Paragraph::asString.
14413 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14415 * lyx_main.C (commandLineHelp): remove version information
14417 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14419 * lyx_main.C: add -version commandline option
14421 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14423 * paragraph.h: make the optional constructor arg required instead.
14424 some modifications to other files because of this.
14426 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14428 * lyxserver.C (C_LyXComm_callback): make it static
14430 * lyx_main.C (error_handler): make it static
14432 * lyx_gui.C (LyX_XErrHandler): make it static
14434 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14436 * WorkArea.C: make the extern "C" methods static.
14438 * Makefile.am (lyx_LDADD): simplify
14440 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14442 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14443 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14445 * LyXAction.C (init):
14446 * lyxfunc.C (dispatch): associated code removal.
14448 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14450 * lyxfont.h (isSymbolFont): shut off warning
14452 * text.C (setHeightOfRow):
14453 (getVisibleRow): fix crash with empty paragraphs which have a
14456 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14458 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14461 2001-09-04 José Matos <jamatos@fep.up.pt>
14464 * tabular.C (docbook): rename docBook method to docbook.
14466 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14468 * Makefile.am: add dependencies to main.o.
14470 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14472 * FontLoader.C (available): Return false if !lyxrc.use_gui
14474 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14476 * FontInfo.C (query):
14477 * converter.C (view):
14478 * importer.C (Import):
14479 * exporter.C (Export): Can not -> cannot.
14481 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14483 * BufferView_pimpl.C: allow to create index inset even if
14486 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14488 * buffer.C (getLists): replace boost::tie code with an explicit pair
14489 as boost::tie can break some compilers.
14491 * iterators.h: Added a std:: declaration to the return type of
14494 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14496 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14499 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14501 * iterators.[Ch]: New files. Provide paragraph iterators.
14503 * buffer.C (changeLanguage): Use paragraph iterators.
14504 (isMultiLingual): ditto
14506 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14508 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14510 * FontLoader.C: Support for cmr font.
14512 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14514 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14515 (available): New method.
14517 * FontInfo.C (getFontname): Use scalable fonts even when
14518 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14521 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14523 * converter.C (Formats::view): reverted! Incorrect fix.
14525 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14527 * converter.C (Formats::view): only output the -paper option
14528 if the dvi viewer is xdvi, thereby fixing bug #233429.
14530 2001-08-23 Herbert Voss <voss@perce>
14532 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14534 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14536 * Spacing.h (Spacing): Set space to Default on in the default
14539 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14541 * vc-backend.h (RCS::versionString): add RCS to version
14542 (CVS::versionString): add CVS to version
14544 * vc-backend.C (scanMaster): do not add CVS to version.
14545 (scanMaster): do not add RCS to version
14547 * lyxvc.C (versionString): new method
14549 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14551 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14553 * Spacing.C (set): initialize fval
14555 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14557 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14560 2001-08-16 Juergen Vigna <jug@sad.it>
14562 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14564 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14566 * BufferView_pimpl.C:
14569 * text2.C: setParagraph takes linespacing now
14571 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14573 * LyxAction.C: add internal LFUN_CITATION_INSERT
14575 * LyXView.C: actually apply fix
14577 * bufferlist.C: fix open non-existent file
14579 * lyxfind.C: fix indentation
14581 * lyxfunc.C: remove unneeded assert, fix typo
14583 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14585 * MenuBackend.C: use "Floatname List"
14587 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14589 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14590 when converting LaTeX layout to insetERT.
14591 Generate a non-collapsed float when reading old float
14593 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14595 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14598 2001-08-13 Juergen Vigna <jug@sad.it>
14600 * text.C (fill): return 0 instead of 20 as this seems to be the more
14603 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14605 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14608 2001-08-13 Juergen Vigna <jug@sad.it>
14610 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14612 (SearchBackward): comment out the unlocking of the inset_owner this
14613 should not be needed!
14615 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14617 * Many files: Remove inherit_language, and add latex_language
14619 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14620 collapsible insets.
14622 2001-08-10 Juergen Vigna <jug@sad.it>
14624 * text.C (prepareToPrint): fixed hfill-width in draw!
14626 * BufferView2.C (selectLastWord): save the selection cursor as this
14627 now is cleared in the function LyXText::clearSelection!
14629 2001-08-08 Juergen Vigna <jug@sad.it>
14631 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14632 BACKSPACE type functions.
14634 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14635 is only cutted from the document but not put in the cut-buffer, where
14636 still the old stuff should be.
14638 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14640 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14642 * tabular.C (SetWidthOfCell): fixed special case where the width
14644 (LeftLine): handle '|' in align_special.
14646 (LeftAlreadyDrawed): ditto
14647 (SetWidthOfCell): ditto
14649 2001-08-07 Juergen Vigna <jug@sad.it>
14651 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14653 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14655 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14656 * lyxlex.[hC]: ditto
14658 2001-08-06 Juergen Vigna <jug@sad.it>
14660 * text.C (getVisibleRow): fix up row clearing a bit.
14662 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14664 * minibuffer.C: make sure the X server sees the changes in the input.
14666 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14668 * paragraph.C (getFont): split into...
14669 (getLabelFont): this
14670 (getLayoutFont): and this
14671 * paragraph_pimpl.C (realizeFont): calling this
14673 * text2.C (getFont): split into...
14674 (getLayoutFont): this
14675 (getLabelFont): and this
14676 (realizeFont): all three calling this
14678 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14681 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14685 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14687 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14688 layouts from the Quote inset insertion.
14690 2001-08-03 Juergen Vigna <jug@sad.it>
14692 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14694 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14695 only if status not is already CHANGED_IN_DRAW (second level).
14697 * text.C (draw): don't set the need_break_row when inside an
14700 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14702 * buffer.C (parseSingleLyXformat2Token): handle more latex
14705 * bufferview_funcs.[hC]: change function names to
14706 begin with small char, adjust other files.
14708 2001-08-02 André Pönitz <poenitz@gmx.net>
14711 BufferView_pimpl.C: remove broken special code for math-greek
14713 2001-08-02 Juergen Vigna <jug@sad.it>
14715 * BufferView_pimpl.C (update): redone this function so that we
14716 update the text again if there was a CHANGE_IN_DRAW.
14718 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14719 (drawFromTo): added a new internal bool which is used by draw() and
14721 (general): some cursor drawing problems fixed.
14723 2001-08-01 Juergen Vigna <jug@sad.it>
14725 * lyxfind.C (LyXFind): fixed
14726 (SearchForward): ditto
14727 (SearchBackward): ditto
14729 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14730 spurius drawing of the cursor in the main area.
14732 * text2.C (status): small fix which could lead to a segfault!
14733 (clearSelection): remove unneeded BufferView param.
14735 2001-08-01 André Pönitz <poenitz@gmx.net>
14737 * lyxfunc.C: small change due to changed mathed interface
14739 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14741 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14743 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14745 * lyxfunc.c: fail gracefully if file doesn't exist
14750 * BufferView_pimpl.C: IsDirWriteable() proto changed
14752 * LyXView.C: fix updateWindowTitle() to store the last title
14754 2001-07-31 Juergen Vigna <jug@sad.it>
14756 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14757 the font (wrong since using of Paragraph::highestFontInRange).
14759 * paragraph.C (highestFontInRange): added a default_size parameter.
14761 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14762 (setHeightOfRow): reformat
14764 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14766 * converter.[hC] + affected files: move to (inital-char)lowercase
14769 * ParagraphParameters.C (ParagraphParameters): remove commented code
14771 * PainterBase.[Ch]: remove commented code
14773 * LaTeXFeatures.h: add "bool floats" for float.sty
14775 * LaTeXFeatures.C (LaTeXFeatures): init floats
14776 (require): handle float
14777 (getPackages): do it with floats
14779 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14781 * BufferView_pimpl.C (Dispatch): improve handling of
14782 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14784 * commandtags.h: #include lyxfont.h here temporarily to avoid
14787 * bufferlist.h: include LString.h here.
14789 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14791 * text2.C (getStringToIndex): new method.
14793 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14795 * *: Reduced header file dependencies all over.
14797 2001-07-30 Baruch Even <baruch@lyx.org>
14799 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14801 2001-07-29 Baruch Even <baruch@lyx.org>
14803 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14805 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14807 * ParameterStruct.h (endif): add a default constructor to make
14808 sure that all variables is initialized.
14810 * ParagraphParameters.C (ParagraphParameters): adjust
14812 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14814 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14815 index; also, check that there is something to index, and that it
14816 does not span over several paragraphs.
14817 (doubleClick): use WHOLE_WORD_STRICT for double click.
14819 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14821 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14824 2001-07-26 Baruch Even <baruch@lyx.org>
14826 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14827 an InsetFig figure, backwards compatible reading of old figure code.
14829 2001-07-27 Juergen Vigna <jug@sad.it>
14831 * text2.C: font.realize function adaption.
14833 * text.C (draw): add a warnings lyxerr text if needed.
14835 * layout.C: font.realize function adaption.
14837 * language.C: add inherit_language and implement it's handlings
14839 * bufferview_funcs.C (StyleReset): remove language parameter from
14840 font creation (should be language_inherit now).
14842 * bufferparams.C (writeFile): handle ignore_language.
14844 * paragraph.C (getFontSettings): the language has to be resolved
14845 otherwise we have problems in LyXFont!
14847 * lyxfont.C (lyxWriteChanges): added document_language parameter
14848 (update): removed unneeded language parameter
14850 * paragraph.C (validate): fixed wrong output of color-package when
14851 using interface colors for certain fonts in certain environments,
14852 which should not seen as that on the final output.
14854 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14856 * BufferView_pimpl.C:
14861 * LyXAction.C: add thesaurus support
14864 * lyxfind.C: add "once" parameter, for thesaurus, to not
14865 move to the next match
14867 2001-07-26 Juergen Vigna <jug@sad.it>
14869 * lyxfont.C (realize): honor ignore_language too!
14872 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14874 * text.C (draw): one place more for ignore_language to not draw
14877 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14879 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14881 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14883 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14884 the minipage conversion problem.
14886 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14888 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14891 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14893 * BufferView.h: don't forward declare WorkArea
14895 * BufferView.C: don't include WorkArea.h
14897 2001-07-25 André Pönitz <poenitz@gmx.net>
14901 * lyxfunc.C: new LFUN 'math-space'
14903 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14905 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14907 * text2.C (toggleInset): call open/close
14909 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14911 * lyxfunc.C (dispatch): add debug for the disabled case
14913 * font.C (buttonText): make similar to rectText
14915 * buffer.C (readInset): comment out parsing of insetlist and
14918 * PainterBase.C (rectText): small correction
14920 * BufferView_pimpl.C: comment out insettheorem and insetlist
14921 * LyXAction.C: ditto
14922 * commandtags.h: ditto
14924 2001-07-24 Juergen Vigna <jug@sad.it>
14926 * text.C (draw): honor the ignore_language.
14928 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14930 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14932 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14935 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14937 * lyxtext.h: remove unused (and unimplemented) methods
14939 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14941 * text.C (getVisibleRow): honor background color
14944 * Painter.h: remove default color argument for fillRectangle
14946 * text.C (backgroundColor): new method
14948 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14950 * text.C (getVisibleRow): adjust
14952 * font.[Ch] (rectText): new method, metrics
14953 (buttonText): new method, metrics
14955 * PainterBase.[hC]: make rectText and buttonText always draw and take
14958 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14960 * ToolbarDefaults.C (read):
14961 * MenuBackend.C (read): allow escaping in all strings
14963 * BufferView_pimpl.C (insertAndEditInset): new method.
14964 (Dispatch): use insertAndEditInset whenever appropriate.
14966 * BufferView_pimpl.C (insertNote): removed
14968 * BufferView_pimpl.C (smartQuote): new method, moved from
14969 BufferView; if an insetquote cannot be inserted, insert a '"'
14972 * BufferView2.C: remove insertCorrectQuote();
14974 * lyxfunc.C (getStatus): Add support for all remaingin
14975 inset-insert lfuns.
14977 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14979 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14980 command (necessary to pass " as parameter of self-insert.
14982 * text.C (selectWordWhenUnderCursor):
14983 (selectWord): add word_location parameter
14984 (selectWordWhenUnderCursor): same + remove special code for word
14986 (selectNextWord): use kind() to guess type of insetspecialchar,
14989 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14990 (insertErtContents): create ert insets as collapsed.
14991 (readInset): better compatibility code for Info inset.
14993 2001-07-20 Juergen Vigna <jug@sad.it>
14995 * lyxfunc.C (dispatch): use always LyXFind now!
14997 * text2.C (init): add a reinit flag so that the LyXText can be
14998 reinited instead of deleted and reallocated (used in InsetText).
15000 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15006 2001-07-18 Juergen Vigna <jug@sad.it>
15008 * text.C (selectNextWord): handle insets inside inset by calling
15009 always the bv->text functions so that we can go up the_locking_inset!
15011 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15012 in strange locations when inside an inset!
15014 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15015 handling to include insets.
15017 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15019 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15021 * LyXAction.C (init):
15023 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15024 LIGATURE_BREAK, since the name is so stupid.
15026 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15028 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15031 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15033 * sp_form.[Ch]: remove.
15035 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15037 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15040 * src/buffer.C (readInset): ditto.
15042 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15044 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15045 menuSeparator(), endOfSentenceDot(), ldots() and
15046 hyphenationPoint(), which are therefore removed.
15047 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15049 * LyXAction.C (init):
15050 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15052 * paragraph.C (getWord): removed.
15054 * BufferView_pimpl.C (Dispatch): use last word or selection for
15055 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15057 * lyx_main.C (queryUserLyXDir): do not ask before creating
15058 user_dir, except if it has been named explicitely.
15060 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15062 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15063 a document of zero size.
15065 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15067 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15068 approriately in the c-tor and in require().
15069 (getPackages): output the appropriate LaTeX for natbib support.
15071 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15072 variables "use_natbib" and "use_numerical_citations" when reading the
15074 (readInset): read the various natbib cite commands.
15075 (validate): white-space change.
15077 * bufferparams.[Ch]: new variables "bool use_natbib" and
15078 "bool use_numerical_citations".
15079 (writeFile): output them in the LyX file.
15081 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15083 * lyxfunc.C (getStatus): add support for all the inset insertion
15086 * text2.C (insertInset):
15087 * paragraph.C (insetAllowed):
15088 * BufferView_pimpl.C (insertInset): update to take in account the
15089 renaming of insertInsetAllowed
15091 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15093 * text2.C (getInset): new method. returns inset at cursor position.
15095 * BufferView_pimpl.C (Dispatch): changes because of this.
15097 * LyXAction.C (init): rename open-stuff to inset-toggle.
15099 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15101 * text2.C (toggleInset): renamed from openStuff; use
15104 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15106 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15108 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15110 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15112 * buffer.C (readLyXformat2): Add filename to the error dialog
15114 2001-07-18 Juergen Vigna <jug@sad.it>
15116 * tabular.C (GetCellNumber): put an assert here instead of the check!
15118 2001-07-17 Juergen Vigna <jug@sad.it>
15120 * BufferView_pimpl.C (toggleSelection): adapted too.
15122 * text.C (selectNextWord): adapted for use with insets.
15123 (selectSelectedWord): ditto
15125 2001-07-17 Juergen Vigna <jug@sad.it>
15127 * sp_spell.C (PSpell): fix initialitation order.
15129 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15131 * paragraph.C: spacing
15133 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15135 * sp_spell.C: repair language selection for pspell
15137 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15139 * lyxfunc.h: change more methods to begin with lower char.
15141 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15143 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15144 for unknown layouts.
15146 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15148 * buffer.C (readLyXformat2): Generate an error dialog if there are
15151 2001-07-16 Juergen Vigna <jug@sad.it>
15153 * sp_spell.C: always compile ISpell part.
15155 * lyxrc.C: added use_pspell entry and it's handling.
15157 2001-07-13 Juergen Vigna <jug@sad.it>
15159 * sp_spell.C: removed double includes.
15161 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15163 Consistent use of Lsstream.h:
15164 * Lsstream.h: added using std::stringstream for consistencies sake.
15166 * buffer.C: removed using std::stringstream
15168 * lyxfont.C (stateText):
15169 * paragraph.C (asString):
15170 * text.C (selectNextWord, selectSelectedWord):
15171 * text2.C (setCounter):
15172 * vspace.C (asString, asLatexString):
15173 std::ostringstream -> ostringstream.
15175 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15177 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15178 * commandtags.h: add LFUN_HELP_ABOUTLYX
15179 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15181 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15183 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15185 * lyx_gui_misc.C: remove spellchecker
15186 * lyxfunc.C: showSpellchecker
15188 * sp_ispell.h: added
15189 * sp_pspell.h: added
15190 * sp_spell.C: added
15191 * sp_form.[Ch]: removed
15192 * spellchecker.[Ch]: removed
15194 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15196 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15198 (simpleTeXSpecialChars): Simply print the input character without
15199 any special translation if pass_thru is set.
15201 * layout.h: Added bool pass_thru to layout class for being able to
15202 implement pass through of a paragraph for Literate Programming.
15204 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15205 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15206 * layout.C (Read): add "passthru" to list of layout tags and add
15207 code to set the pass_thru boolean when it is read.
15209 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15211 * trans_decl.h: remove allowed from KmodInfo
15213 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15214 remove allowed code
15217 * paragraph_pimpl.C (erase): use boost::prior
15219 * Painter.C (text): use data() instead of c_str() when length is
15221 * WorkArea.C (putClipboard): ditto
15222 * font.h (width): ditto
15224 * BufferView2.C: use it-> instead of (*it). for iterators
15226 * paragraph_pimpl.C: ditto
15227 * paragraph.C: ditto
15228 * minibuffer.C: ditto
15229 * language.C: ditto
15231 * encoding.C: ditto
15232 * counters.C: ditto
15233 * converter.C: ditto
15235 * Variables.C: ditto
15236 * TextCache.C: ditto
15237 * MenuBackend.C: ditto
15238 * LyXAction.C: ditto
15240 * FloatList.C: ditto
15241 * DepTable.C: ditto
15242 * ColorHandler.C (LyXColorHandler): ditto
15244 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15246 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15248 * text2.C (openStuff): reintroduce this method (which had been
15249 nuked in NEW_INSETS frenzy).
15251 * lyxfunc.C (Dispatch): when an action has not been handled, use
15252 its name in the error message, not its number.
15254 * paragraph.C (inInset): change method name to begin with lowercase.
15257 * text2.C: updates because of this.
15259 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15261 * ToolbarDefaults.C (add): add spaces in error message
15263 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15265 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15266 (readLyXformat2): rename return_par to first_par, use lyxlex's
15267 pushToken and remove the manual push handling.
15268 (parseSingleLyXformat2Token): add another ert comp. variable:
15269 in_tabular, rename return_par to first_par. handle newlines better
15271 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15273 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15275 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15277 * text2.C (getParFromID): removed
15279 * buffer.C (getParFromID): new method moved form lyxtext.
15280 * BufferView2.C (insertErrors): adjust
15281 (setCursorFromRow): adjust
15282 * BufferView_pimpl.C (restorePosition): adjust
15283 * lyxfunc.C (Dispatch): adjust
15284 * undo_funcs.C (textUndo): adjust
15286 (textHandleUndo): adjust
15287 (textHandleUndo): adjust
15289 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15291 * buffer.C: up' the LYX_FORMAT
15293 * lyxfont.h: turn NO_LATEX on as default
15295 * buffer.C (insertErtContents): new methods of tex style compability.
15296 (parseSingleLyXformat2Token): use it several places.
15297 * tabular.C (OldFormatRead): and here
15299 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15301 * text2.C: remove some commented code.
15304 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15305 * trans.C: changes because of the above.
15307 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15309 * text2.C (setCounter): Fix counters bug with bibliography layout.
15311 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15313 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15314 own member functions
15315 (simpleTeXSpecialChars): ditto
15317 2001-07-06 Juergen Vigna <jug@sad.it>
15319 * a lot of files: changed the access to LyXText::status and the
15320 call of undo-functions.
15322 * undo.[Ch]: added a inset_id to the undo informations.
15324 * undo_funcs.[Ch]: added and moved here all undo functions.
15326 * lyxtext.h: give the status enum a weight, made status_ a private
15327 variable and made accessor functions for it, removed the whole bunch
15328 of undo-functions as they are now in their own file, make some
15329 functions publically available. Added function ownerParagraph with
15332 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15333 made InInset() a const function, added getParFromID() function.
15335 * buffer.[Ch]: added const version for inset_iterator functions,
15336 added getInsetFromID() function.
15338 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15339 changed undo functions for new version.
15341 2001-07-05 Juergen Vigna <jug@sad.it>
15343 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15344 unknow mechanism does not call the proper constructor but only this
15345 one also if I request the other!?
15347 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15349 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15351 * text2.C (LyXText): use initialization lists.
15353 * lyxtext.h (Selection): initialize set_ and mark_
15354 (init): remove method
15356 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15358 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15360 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15362 * screen.[Ch]: change method names to begin with lowercase
15364 * BufferView_pimpl.C (updateScrollbar): simplify further and
15365 hopefully make it a bit faster.
15367 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15369 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15370 calling directly xforms functions.
15372 * Painter.C (Painter):
15373 * lyx_cb.C (MenuWrite):
15374 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15377 * lyx_gui.C: remove bogus guiruntime extern declaration.
15379 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15381 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15383 (redoDrawingOfParagraph): ditto
15384 (redoParagraphs): ditto
15385 (cutSelection): don't create a object for CutAndPaste use the
15386 static method directly
15387 (pasteSelection): ditto
15389 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15392 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15394 * modifications to some other files because of this.
15396 * Makefile.am (lyx_SOURCES): add XFormsView
15398 * XFormsView.[Ch]: new files
15400 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15401 the main window. Move the gui dependent stuff to XFormsView
15403 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15405 * tabular.C (GetCellInset): update cur_cell also in the row/col
15406 version of this function.
15408 * lyxfunc.C: no need to include figure_form.h here.
15414 * lyxvc.C: no need to include forms.h here.
15416 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15418 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15420 * lyxfunc.C (Dispatch):
15422 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15423 constructor argument.
15425 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15427 * paragraph.C (Paragraph): dont't clear, and just set layout.
15428 (makeSameLayout): use params's copy contructor.
15430 * ParagraphParameters.[Ch] (makeSame): delete method
15432 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15434 * Variables.[Ch]: fix indentation, rename set to isSet
15436 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15438 * lyxfunc.C (Dispatch): fix typo
15440 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15442 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15445 * bufferlist.C: include assert.h for emergencyWrite().
15447 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15449 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15450 give up at last (bug #425202) !
15452 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15458 * spellchecker.C: strip spellchecker options and bring up
15459 preferences tab instead
15461 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15463 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15464 the istringstream constructor
15466 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15468 * paragraph.C (getLayout): fix return value
15470 * paragraph.h: do not declare getLayout as inline.
15472 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15474 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15476 * lyxcursor.h (operator<): new func
15477 (operator>): new func
15478 (operator>=): new func
15479 (operator<=): new func
15481 * text.C (changeCase): use selection.start and selection.end
15482 (changeRegionCase): require from to be <= to. Require par to be a
15485 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15487 2001-06-27 Juergen Vigna <jug@sad.it>
15489 * text.C (cursorLeftOneWord): changed to return the cursor and added
15490 overlay with BufferView * parameter which calls this one.
15492 (selectWord): use new getWord function.
15493 (changeCase): renamed from changeWordCase as and extended to work
15494 also on selections.
15496 * lyxtext.h: added enum word_location
15498 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15499 changeCase as this operates now also on selections.
15501 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15503 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15505 * many files: send debug output to Debug::INFO instead of
15508 * converter.C (View):
15510 (Move): send debug output to Debug::FILES instead of console.
15512 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15514 * lyxfunc.C (getStatus): use func_status
15516 * func_status.h: new header, describing the results of
15517 LyXFunc::getStatus;
15519 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15522 2001-06-25 The LyX Project <jug@sad.it>
15524 * buffer.C (sgmlOpenTag):
15526 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15528 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15530 * text2.C: remove some dead code
15532 * tabular.C (GetCellInset): store the last cell checked (gotten)
15534 * tabular.h: add the helper for the speedup
15536 * lyxtext.h: remove some dead code
15538 2001-06-26 The LyX Project <Asger>
15540 * paragraph.C: Change export to LaTeX of alignment to
15541 \begin{center} and family for better roundtrip work with reLyX.
15543 * Tune the math drawing a bit.
15545 2001-06-25 The LyX Project <Asger>
15547 * LColor.C (LColor): New color for math background. New color
15550 2001-06-25 The LyX Project <jug@sad.it>
15552 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15554 * lyxfunc.C (Open):
15555 * bufferlist.C (newFile): do not restrict to files ending with
15558 * BufferView_pimpl.C (MenuInsertLyXFile):
15560 2001-06-24 The LyX Project <jug@sad.it>
15562 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15565 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15567 * lyxtext.h: rename most methods to begin with a small char.
15568 Lots of changes because of this.
15570 * paragraph.C (Paragraph): do not call fitToSize
15571 (erase): call Pimpl::erase
15572 (insertChar): call Pimpl::insertChar
15573 (insertInset): call Pipl::insertInset
15574 (breakParagraph): do not call fitToSize
15575 (breakParagraphConservative): do not call fitToSize
15576 (fitToSize): remove method
15578 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15580 2001-06-24 The LyX Project <Asger>
15582 * Fix Qt compilation^2
15584 2001-06-24 The LyX Project <jug@sad.it>
15586 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15587 depthHook(getDepth()-1).
15590 * ParagraphParameters.h:
15591 * ParameterStruct.h: change type of depth to unsigned int ==
15592 depth_type. Many adaptations to other files before of that.
15594 2001-06-24 The LyX Project <Asger>
15596 * Fix Qt compilation.
15598 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15600 * paragraph.h: renamed several methods to begin with small letter.
15601 several changes to many parts of the code because of this.
15603 2001-06-23 The LyX Project <jug@sad.it>
15605 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15606 rewritten to discard all double spaces when KeepEmpty is off
15607 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15608 to only handle newlines but not fiddle with spaces and friends.
15610 * lyxfunc.C (MenuNew): when doing 'new from template', use
15611 template_path as default directory
15613 2001-06-23 The LyX Project <Asger>
15615 * Clean-up of header file includes all over
15616 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15618 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15620 * paragraph.h: renamed from lyxparagraph.h
15622 2001-06-23 Asger <lyx@violet.home.sad.it>
15624 * Buffer.h: Removed Buffer::resize
15625 * BufferList.h: Removed BufferList::resize
15626 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15627 the document lazily when we change the width, or the font settings.
15629 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15631 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15633 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15635 * buffer.h: remove out of date comment
15637 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15640 * screen.C: fix "theoretical" GC leak
15642 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15644 * LaTeX.C (scanAuxFile):
15645 (deplog): remove trailing \r when reading stream (useful under
15648 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15650 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15651 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15652 and BufferView::theLockingInset(Inset*), so should use them and not
15653 access bv_->text->the_locking_inset directly.
15655 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15657 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15660 * tex-defs.h: remove old unused file
15662 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15664 * BufferView_pimpl.C: fix typo, remove minibuffer message
15665 when buffer has loaded
15667 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15669 * lyxfunc.C (Dispatch): use stringstream
15670 (MenuNew): use stringstream
15671 (Open): use stringstream
15673 * importer.C (Import): use stringstream
15675 * bufferview_funcs.C (CurrentState): use stringstream
15677 * LaTeX.C (run): use stringstream
15679 * BufferView_pimpl.C (savePosition): use stringstream
15680 (restorePosition): use stringstream
15681 (MenuInsertLyXFile): use stringstream
15683 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15696 * vspace.C: removed // -*- C++ -*- as first line.
15699 * version.h: added // -*- C++ -*- as first line.
15701 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15703 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15705 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15708 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15710 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15713 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15715 * gettext.C: include LString.h even when --disable-nls is on.
15717 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15719 * converter.h (Get): changed argument type from int to
15720 FormatList::size_type to avoid unnecessary conversion.
15722 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15725 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15727 * gettext.h: include LString.h even when --disable-nls is on.
15729 2001-06-07 Juergen Vigna <jug@sad.it>
15731 * text.C (BreakAgain): subst spaces with tabs.
15733 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15734 (resizeInsetsLyXText): set force on resizeLyXText.
15736 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15738 * gettext.h (gettext_init):
15739 (locale_init): use a real definition instead of a macro
15741 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15743 * Bufferview_pimpl.C:
15745 * LColor.C: further lcolor tidies
15747 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15749 * BufferView_pimpl.C (updateScrollbar): simplify.
15751 * BufferView2.C: don't include insets/insetinfo.h, change
15752 prototype for insertInset and call the Pimpl version. let
15753 updateInset call Pimpl version.
15755 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15756 gotoInset to BufferView::Pimpl
15758 2001-06-01 Juergen Vigna <jug@sad.it>
15760 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15761 inside a LockingInset (is the update needed at all?).
15763 2001-05-31 Juergen Vigna <jug@sad.it>
15765 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15766 here not the old one otherwise how should we compare it afterwards
15769 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15774 * FontInfo.C: bring C functions into global namespace when
15777 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15779 * LString.h: make sure config.h has been loaded before LString.h.
15781 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15782 (one for each char read by EatLine!).
15784 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15787 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15789 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15790 to the same as the par we break from
15792 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15794 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15796 * MenuBackend.C (expand): also create menu entries for wide
15797 versions of the floats.
15799 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15801 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15803 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15804 frontends/Makefile.am
15810 * tabular.C (getTokenValue): add std::
15812 * tabular-old.C (getTokenValue): add std::
15813 (getTokenValue): ditto
15814 (getTokenValue): ditto
15816 * screen.C (ToggleSelection): adjust
15818 * lyxtext.h: put selection cursors inside a Selection struct.
15820 * lyxfunc.C (moveCursorUpdate): adjust
15822 * lyxfont.C (latexWriteStartChanges): add std::
15824 * lyxfind.C: adjust
15826 * font.h: delete with(char const *, LyXFont const &)
15828 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15830 * FontInfo.C (getFontname): add std::
15832 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15833 (workAreaButtonPress): adjust
15834 (tripleClick): adjust
15836 (moveCursorUpdate): adjust
15839 * BufferView2.C (gotoInset): adjust
15841 2001-05-30 Juergen Vigna <jug@sad.it>
15843 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15844 to check pspell I add this as default as I now have new pspell
15845 libraries and they seem to use this.
15847 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15849 * text2.C (CutSelection): make the cursor valid before the call to
15852 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15854 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15855 relied on 0 terminated strings and other horrors. Bug found due to
15856 the new assert in lyxstring!
15858 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15861 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15863 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15866 * lyxfunc.C (processKeySym): change method of getting to the
15869 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15870 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15871 * BufferView_pimpl.[Ch]: here as private methods.
15873 2001-05-28 Juergen Vigna <jug@sad.it>
15875 * text.C (SetHeightOfRow): added the update() call again as it is
15876 needed to initialize inset dimensions!
15878 2001-05-16 Juergen Vigna <jug@sad.it>
15880 * text2.C (SetCharFont): Add new function with BufferView * and
15881 bool toggleall parameters for setting insets internal fonts.
15882 (SetFont): Freeze the undo as we may change fonts in Insets and
15883 all this change should be inside only one Undo!
15885 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15886 setting font's in insets as for them we have the SetFont function!
15888 2001-05-15 Juergen Vigna <jug@sad.it>
15890 * text2.C (ClearSelection): to be sure we REALLY don't have any
15893 * tabular.C (TeXCellPreamble): fixed the left border problem for
15896 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15898 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15901 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15903 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15904 LFUN_BREAKPARAGRAPH.
15906 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15907 help test to "internal only", similar for LFUN_INSERT_URL
15909 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15910 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15911 auto_region_delete and deadkeys.
15913 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15916 * LColor.C: remove some dead entries, tidy a little
15918 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15920 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15922 (Dispatch): implement LFUN_ESCAPE
15924 * commandtags.h: add LFUN_ESCAPE
15926 * LyXAction.C (init): add entry for LFUN_ESCAPE
15928 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15929 Remove commented code.
15930 (insertNote): moved here
15931 (open_new_inset): moved here
15933 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15936 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15938 * kbmap.C (findbinding): clean it up and make it work correctly.
15940 * lyx_main.C (init): do not pass argc and argv as parameters
15942 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15944 * buffer.C: fix path for OS/2 & Win32
15948 * lyx_main.C: Added os:: class.
15950 * os2_defines.h: update
15952 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15954 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15955 better by trying again with reduced state.
15957 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15959 * lyxrc.C (read): print error about invalid key sequence only when
15960 debugging (because not all latinX keysyms are known to some X
15963 * kbsequence.C (getiso): add a few std:: qualifiers
15964 (getiso): comment out extra return statement.
15966 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15968 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15970 (Dispatch): enhance the accent inset a bit. (not perfect)
15972 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15974 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15976 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15978 * bufferlist.C (emergencyWrite): fix assert() call
15980 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15982 * text.C (InsertChar): Added trivial patch to only send the "you
15983 can not do multiple spaces this way" message once during a
15986 2001-05-08 Baruch Even <baruch@lyx.org>
15988 * Makefile.am: Changed order of libraries to get LyX to link properly
15989 with the gnome frontend.
15991 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15993 * LaTeXFeatures.h: add a std:: qualifier
15995 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15997 * paragraph.C (String): use stringstream
15999 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16001 * paragraph.C (writeFile): remove footflag arg
16003 * buffer.C (makeLaTeXFile): use stringstream
16004 (latexParagraphs): remove footnot gurba
16006 * LaTeXFeatures.C (getPackages): use stringstream
16007 (getMacros): likewise
16008 (getTClassPreamble): likewise
16009 (getFloatDefinitions): new method
16011 * paragraph.C (writeFile): reindent
16014 * WorkArea.h: revert the xpos + etc changes.
16016 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16018 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16020 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16021 (pasteSelection): likewise
16022 * text2.C (CreateUndo): likewise
16024 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16026 * minibuffer.C (peek_event): temporarily reduce the functionality
16027 of the minibuffer (to allow args on lfuns)
16029 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16030 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16032 * buffer.C (readInset): add compability reading of old float
16033 lists, add reading of new style float list.
16034 (readInset): avoid reevaluation of inscmd.getCmdName()
16035 (getLists): reindent
16037 * MenuBackend.C (MenuItem): implement parsing of
16038 md_floatlistinsert and md_floatinsert.
16039 (expand::LastFiles): move initalizaton of iterators out of loop,
16040 avoid reevaluation.
16041 (expand::Documents): introduce typdedef vector<string> Strings,
16043 (expand::ExportFormats): introduce typedef vector<Format const *>
16044 Formats, and use it.
16045 (expand): implement FloatListInsert and FloatInsert.
16047 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16048 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16049 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16051 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16053 (Dispatch::LFUN_FLOAT_LIST): implement
16055 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16057 * LaTeX.C (run): Fix problem with --export code.
16059 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16061 * BufferView.[Ch] (workarea): removed.
16062 (getClipboard) new method; wrapper for workarea()->getClipboard()
16064 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16067 * WorkArea.h (width, height, xpos, ypos): These methods all
16068 returned the dimensions of the work_area sub-area of WorkArea,
16069 resulting in a position error if the WorkArea were resized. Now
16070 return the dimensions of the entire WorkArea.
16072 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16074 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16076 * LaTeX.C (deplog): correct the syntax of regex reg1
16078 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16080 * undo.C: remove !NEW_INSETS cruft
16082 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16084 * text2.C: remove !NEW_INSETS cruft
16086 * text.C: remove !NEW_INSETS cruft
16088 * tabular.C: remove !NEW_INSETS cruft
16090 * spellchecker.C: remove !NEW_INSETS cruft
16092 * lyxtext.h: remove !NEW_INSETS cruft
16094 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16096 * lyxfunc.C: remove !NEW_INSETS cruft
16098 * lyxfind.C: remove !NEW_INSETS cruft
16100 * lyx_cb.C: remove !NEW_INSETS cruft
16102 * figureForm.C: remove !NEW_INSETS cruft
16104 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16106 * buffer.[Ch]: remove !NEW_INSETS cruft
16108 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16110 * CutAndPaste.C: remove !NEW_INSETS cruft
16112 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16114 * BufferView2.C: remove !NEW_INSETS cruft
16116 * BufferView.h: remove !NEW_INSETS cruft
16118 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16120 * Lsstream.h: include LString.h before the sstream headers to
16121 fix problem with gcc 2.95.3 and lyxstring
16123 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16125 * lyx_main.C: add using directives when needed for C functions
16126 declared in std:: namespace.
16128 2001-04-27 Juergen Vigna <jug@sad.it>
16130 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16131 (SetHeightOfRow): comment out the update call should not be needed!
16133 2001-04-13 Juergen Vigna <jug@sad.it>
16135 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16136 (LyXTabular): tried to minimize operator= operations (and realized
16137 hopfully Lars wish).
16139 2001-04-27 Juergen Vigna <jug@sad.it>
16141 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16143 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16145 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16147 * buffer.C (readInset): hack to make listof algorithm work
16149 * BufferView_pimpl.C: hack to make listof algorithm work
16151 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16153 * LyXAction.C: removed all !NEW_INSETS cruft
16154 (init): moved lfun_item in method
16156 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16158 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16160 * BufferView2.C (theLockingInset): white space.
16162 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16164 * minibuffer.C: include <iostream>
16166 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16168 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16170 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16172 * text.[Ch] (TransposeChars): new method
16174 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16176 * call message directly through LyXView instead of through LyXFunc
16177 * BufferView2.C: adjust
16178 * BufferView_pimpl.C: adjust
16179 * FontLoader.C: adjust
16181 * bufferview_funcs.C: adjust
16182 * converter.C: adjust
16183 * figureForm.C: adjust
16184 * importer.C: adjust
16186 * lyx_gui_misc.C: adjust
16187 * lyxfunc.C: adjust
16190 + more files in subdirs
16192 * lyxparagraph.h (size): move up int file
16195 * adjust all uses of Assert to lyx::Assert.
16197 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16198 lyxfunctional in namespace lyx
16199 * layout.C (hasLayout): ditto
16202 (delete_layout): ditto
16203 (NumberOfClass): ditto
16204 * converter.C (GetFormat): ditto
16209 * bufferlist.C (getFileNames): ditto
16210 (emergencyWriteAll): ditto
16213 * MenuBackend.C (hasSubmenu): ditto
16216 * BufferView_pimpl.C (getInsetByCode): ditto
16218 2001-04-18 Juergen Vigna <jug@sad.it>
16220 * vspace.C (asLatexString): fixed the 100% problem.
16222 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16224 * lyxfunc.C (Dispatch):
16226 * minibuffer.h: add a few std:: qualifiers
16228 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16230 * minibuffer.[Ch]: reimplement so that commands is initiated and
16231 run from lyxfunc, simplified som handling, and made the completion
16232 and history code for complete. wip.
16234 * lyxfunc.C (processKeySym): call message
16235 (miniDispatch): new temporary method
16236 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16237 (LFUN_MESSAGE): implement
16238 (LFUN_MESSAGE_PUSH): implement
16239 (LFUN_MESSAGE_POP): implement
16240 (initMiniBuffer): the initial/defualt minibuffer message.
16242 * lyxfont.[Ch]: inline some more getters
16244 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16246 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16248 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16249 (AutoSave): use LFUN_MESSAGE
16250 (Reconfigure): ditto
16252 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16254 * figureForm.C: use LFUN_MESSAGE
16256 * converter.C (runLaTeX): use LFUN_MESSAGE
16258 * bufferview_funcs.C: use LFUN_MESSAGE
16260 (changeDepth): ditto
16262 * bufferparams.h: use boost::
16264 * bufferlist.h: inherit privately from noncopyable
16266 * bufferlist.C (loadLyXFile): remove some commented code.
16268 * buffer.C (runChktex): use LFUN_MESSAGE
16270 * ShareContainer.h: inherit privately from noncopyable
16272 * ParagraphParameters.[hC] (depth): inline it.
16274 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16276 (message): new method
16277 (messagePush): ditto
16278 (messagePop): ditto
16279 (show): init minibuffer
16280 (showState): direct call
16282 * LaTeX.[Ch]: inherit privately from noncopyable
16283 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16284 instead of WriteStatus.
16286 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16288 * BufferView_pimpl.C (buffer): don't init minibuffer
16289 (workAreaButtonPress): use LFUN_MESSAGE
16290 (workAreaButtonRelease): ditto
16291 (savePosition): ditto
16292 (restorePosition): ditto
16293 (MenuInsertLyXFile): ditto
16294 (workAreaExpose): don't init minibuffer
16295 (update): remove commented code, simplify
16297 * BufferView2.C (openStuff): use LFUN_MESSAGE
16298 (toggleFloat): ditto
16301 (copyEnvironment): ditto
16302 (pasteEnvironment): ditto
16307 (updateInset): remove some commented code
16309 * lastfiles.h: inherit privately from noncopyable
16312 * lyx_main.h: ditto
16314 * lyxlex_pimpl.h: ditto
16316 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16317 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16318 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16320 * LyXAction.h: inherit privately from noncopyable, add methods
16321 func_begin, func_end, returning iterators to the func map.
16323 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16324 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16325 (func_begin): new method
16326 (func_end): new method
16328 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16330 (copySelection): ditto
16331 (pasteSelection): ditto
16333 * BufferView.C: whitespace change
16334 * BufferView.h: inherit privately from noncopyable
16336 2001-04-16 Allan Rae <rae@lyx.org>
16338 * tabular-old.C (l_getline):
16339 * spellchecker.C (sc_check_word):
16340 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16341 an unrecognised preprocessor directive. So ensure they're wrapped.
16343 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16345 * src/exporter.C (Export): Give an error message when path to file
16348 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16350 * LaTeX.C (deplog): Always check that foundfile exists.
16352 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16355 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16357 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16359 * tabular.[Ch] (getLabelList): implement new method
16361 * minibuffer.h: comment ouf setTiimer
16363 * minibuffer.C (ExecutingCB): constify res
16364 (peek_event): constify s
16365 (Set): constify ntext
16366 (Init): constify nicename
16368 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16370 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16371 (savePosition): use two params to Minibuffer::Set
16372 (restorePosition): ditto
16374 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16376 * lyx_main.C: include language.h
16378 * Makefile.am (lyx_main.o): add language.h
16380 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16386 * CutAndPaste.C: include gettext.h
16388 * lyxfont.h: remove old hack with ON and OFF.
16391 * lyxfont.h: do not include language.h...
16396 * bufferview_funcs.C:
16402 * paragraph.C: ... but do it here instead
16404 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16406 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16408 * tabular.C: small reformat
16410 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16413 (BreakParagraph): ditto
16414 (SetOnlyLayout): ditto
16417 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16420 * lastfiles.C: removed most using decl, add std:: where needed
16422 * buffer.C: ws changes
16424 * MenuBackend.C (class compare_format): put into anon namespace
16425 (expand): constify label, names, action, action2
16428 * text.C (SingleWidth): constify font
16429 (IsBoundary): constify rtl2
16430 (GetVisibleRow): constify ww
16432 * LaTeX.C (deplog): constify logfile
16434 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16436 (workAreaExpose): constify widthChange, heightChange
16438 * lyxrow.C (par): moved
16441 * lyxrow.h: as inlines here
16443 * lyxfont.h (shape): moved from lyxfont.C
16444 (emph): moved from lyxfont.C
16446 * lyxfont.C (LyXFont): use initialization list for all
16448 (shape): move to lyxfont.h as inline
16449 (emph): move to lyxfont.h as inline
16452 2001-04-04 Juergen Vigna <jug@sad.it>
16454 * vspace.C: had to include stdio.h for use of sscanf
16456 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16459 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16460 independent of xforms.
16462 2001-04-02 Juergen Vigna <jug@sad.it>
16464 * spellchecker.C: fixed namespace placing!
16466 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16468 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16469 the LyXParagraph * is 0.
16471 2001-03-29 Juergen Vigna <jug@sad.it>
16473 * vspace.C: added support for %, c%, p%, l%.
16474 (stringFromUnit): added helper function.
16475 (asLatexString): changed to give right results for the %-values.
16477 * buffer.C: convert the widthp in a width%.
16479 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16481 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16484 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16485 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16487 * lyx_cb.[Ch]: see above.
16489 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16493 * lyx.[Ch]: replaced by figure_form.[Ch].
16497 * lyxfunc.C: changed headers associated with above changes.
16499 2001-03-27 Juergen Vigna <jug@sad.it>
16501 * BufferView_pimpl.C: set the temporary cursor right!
16503 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16505 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16507 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16509 * LString.h: removed "using std::getline"!
16511 * BufferView_pimpl.C (Dispatch): changes due to changes in
16512 InsetInclude::Params.
16514 * buffer.C (tag_name): removed redundant break statements as they were
16515 producing lots of warnings with my compiler.
16517 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16519 * LString.h: add "using std::getline" when using the real <string>.
16521 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16523 * buffer.C: removed bitset usage.
16524 PAR_TAG moved to an anonymous name space.
16525 (tag_name): new funtion, also in the anonymous namespace.
16526 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16527 (makeDocBookFile): clean code. Completed transition from string arrays
16529 (SimpleDocBookOnePar): code clean.
16531 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16533 * tabular.C: add some comments.
16535 2001-03-22 Juergen Vigna <jug@sad.it>
16537 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16538 compatibility read a bit and fixed bug with minipage in different
16541 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16543 * buffer.C (pop_tag): removed.
16544 (push_tag): removed.
16545 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16546 array replaced with vector. Added support for CDATA sections.
16547 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16549 (makeDocBookFile): XML conformant declaration of CDATA section,
16550 fixed bug related to <emphasis> in the first paragraph char.
16551 (sgmlOpenTag): exclude empty tags.
16552 (sgmlCloseTag): ditto.
16554 * buffer.h (pop_tag): removed.
16555 (push_tag): removed.
16557 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16559 * language.h (Languages): added size_type and size().
16561 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16563 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16564 response on compability reading of minipages. One probliem is that
16565 the old usage of minipages was «flertydig»
16567 * several files here and in subdirs: don't use static at file
16568 scope use anon namespaces instead.
16570 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16572 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16573 LaTeX output. This is necessary for Literate document
16576 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16578 * buffer.C: insert hfill when needed.
16580 * tabular.C (l_getline): use string::erase, small whitespace change.
16582 * BufferView_pimpl.C: try the anon namespace.
16583 * WorkArea.C: ditto
16585 2001-03-16 Juergen Vigna <jug@sad.it>
16587 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16588 otherwise it won't open options-dialogs.
16590 * buffer.C: honor pextraWidth(p) on converting minipages.
16592 * tabular.C (l_getline): changed the functions to strip trailing \r.
16594 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16596 * BufferView_pimpl.C:
16597 * minibuffer..C: added "using SigC::slot" declaration.
16599 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16601 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16607 * paragraph.C: ditto
16609 * lyxtext.h: NO_PEXTRA
16611 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16613 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16614 * ParameterStruct.h: ditto
16615 * ParagraphParameters.h: ditto
16616 * lyxparagraph.h: ditto
16618 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16620 * buffer.C: add compability for minipage alignment.
16621 (latexParagraphs): remove unwanted pextra check.
16623 * several files: remove CXX_WORKING_NAMESPACES
16625 * buffer.C (pop_tag): tie is in namespace boost
16627 * BufferView.h: noncopyable is in namespace boost
16629 * lyx_main.h: ditto
16632 * lastfiles.h: ditto
16633 * bufferlist.h: ditto
16634 * ShareContainer.h: ditto
16636 * LyXAction.h: ditto
16639 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16641 * Merging changes from BRANCH_MVC back into HEAD.
16643 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16645 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16647 * BufferView_pimpl.C: change from intl.C
16651 * Makefile.am: move combox.*
16657 * intl.C: remove dialog (covered by prefs)
16659 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16661 * lyxfunc.C (Dispatch): removed redundant break statement.
16663 2001-03-14 Juergen Vigna <jug@sad.it>
16665 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16667 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16669 * buffer.C: add hack to fix compability reading of minipages.
16671 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16673 * buffer.C (getLists): Cleanup.
16675 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16677 * lyxfont.C (update): don't honor toggleall on font size.
16679 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16683 * Makefile.am: moved to frontends/xforms/
16687 * BufferView_pimpl.C: changes for moved mathpanel
16689 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16691 * gettext.h: fix gettext_init() in --disable-nls
16693 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16695 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16697 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16700 * lyx.h: strip external form
16702 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16704 * BufferView_pimpl.C: add comment, destroySplash()
16706 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16708 * BufferView_pimpl.C:
16712 * lyxfunc.C: use re-worked insetinclude
16714 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16716 * buffer.C: add using std::stringstream.
16718 * lyx_cb.C: readd using std::ios.
16720 * buffer.C: add using std::map.
16722 * BufferView_pimpl.C: add using std::vector.
16724 * ShareContainer.h: add std:: to swap.
16726 * buffer.h: add some typedefs
16727 * buffer.C (getLists): use them
16728 (getLists): renamed from getTocList.
16729 add a counter for the different float types and use it in the
16731 (getLists): use the same counter for the NEW_INSETS and the "non"
16734 * lyx_cb.h: remove unused items, includes, using etc.
16736 * ShareContainer.h: remove some commented code, add more comments
16737 and "documentation".
16739 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16741 * buffer.C (getTocList): make the list also when NEW_INSETS is
16744 * buffer.h: remove TocType
16746 * buffer.C (getTocList): change to return a map<string,
16747 vector<TocItem> >, implement for dynamic number of list.
16749 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16750 * text2.C (PasteSelection): adjust
16751 * CutAndPaste.C (pasteSelection): adjust
16753 * FloatList.C (FloatList): update from the new_insets branch.
16754 * Floating.[Ch]: ditto
16755 * LaTeXFeatures.C: ditto
16757 * lyxlex_pimpl.C: ditto
16759 * paragraph.C (Last): remove when NEW_INSETS is defined.
16761 * other file: changes because of the above.
16763 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16765 * lyxparagraph.h: rename next to next_, previous to previous_,
16766 make them private for NEW_INSETS. Rename Next() to next(),
16767 Previous() to previous().
16769 * other files: changes because of the above.
16771 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16774 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16777 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16779 * main.C (main): pass lyx_localedir to gettext_init().
16781 * gettext.h: remove locale_init and gettext_init macros
16783 * gettext.C (locale_init): new function
16784 (gettext_init): new function
16786 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16789 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16791 * Moved credits to frontends:
16792 * credits.[Ch]: removed
16793 * credits_form.[Ch]: removed
16794 * lyx_gui_misc.C: remove credits stuff
16797 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16799 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16801 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16802 unneeded destructor.
16804 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16805 a standalone pointer again.
16807 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16809 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16815 * ToolbarDefaults.C:
16824 * BufferView_pimpl.C: use new file dialog in GUII
16827 * lyx_cb.C: remove LayoutsCB to Toolbar
16829 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * ShareContainer.h (get): add std:: qualifier
16833 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16835 * ShareContainer.h: define a proper ShareContainer::value_type
16836 type (and use typename to please compaq cxx)
16838 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16840 * lyxparagraph.h: move serveral local vars to
16841 ParameterStruct/ParagraphParameters., use ShareContainer in
16842 FontTable., make vars in FontTable private and add getter and
16845 * paragraph.C: changes because of the above.
16847 * lyxfont.h: remove copy constructor and copy assignment. (the
16848 default ones is ok), move number inside FontBits. move inlines to
16851 * lyxfont.C: add number to initializaton of statics, move several
16852 inlines here. constify several local vars. some whitespace
16853 cleanup. Dont hide outerscope variables.
16855 * Spacing.h: add two new constructors to match the set methods.
16857 * ShareContainer.h: new file, will perhaps be moved to support
16859 * ParameterStruct.h: new file
16861 * ParagraphParameters.h: new file
16863 * ParagraphParameters.C: new file
16865 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16866 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16868 * BufferView_pimpl.C: ParagraphParameter changes.
16869 * buffer.C: Likewise.
16870 * bufferview_funcs.C: Likewise.
16871 * text.C: Likewise.
16872 * text2.C: Likewise.
16874 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16876 * lyxfind.C (LyXReplace): do not redefine default argument in
16878 (IsStringInText): ditto
16879 (SearchForward): ditto
16880 (SearchBackward): ditto
16882 2001-03-06 Juergen Vigna <jug@sad.it>
16884 * lyxfind.C (IsStringInText): put parentes around expressions.
16886 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16888 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16890 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16892 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16894 * stl_string_fwd.h: add comment
16896 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16899 * tabular.C: remove unused DocBook methods
16905 killed DO_USE_DEFAULT_LANGUAGE
16907 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16909 * lyx_gui.C: do not include language.h.
16911 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16912 arguments in function implementation.
16914 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16916 * BufferView_pimpl.C: add <ctime>
16918 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16920 * BufferView_pimpl.C: add using std::find_if
16922 2001-02-27 José Matos <jamatos@fep.up.pt>
16924 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16927 2001-02-11 José Matos <jamatos@fep.up.pt>
16929 * buffer.C (makeDocBookFile): command styles now have a parameter as
16930 "title" by default.
16932 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16934 * layout_forms.[Ch]: removed
16935 * lyx_cb.[Ch]: out character
16936 * lyx_gui.C: out character
16937 * lyx_gui_misc.C: out character
16938 * bufferview_funcs.C: : out character,
16939 added toggleall as parameter in ToggleAndShow
16941 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16943 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16945 * text2.C (SetCurrentFont): Disable number property at boundary.
16947 2001-02-26 Juergen Vigna <jug@sad.it>
16949 * lyxfunc.C (getStatus): added a string argument override function so
16950 that this is correctly called from LyXFunc::Dispatch if it contains a
16951 do_not_use_argument which is used!
16952 (Dispatch): added check for "custom" export and call appropriate func.
16954 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16956 * lyxrc.C: Add language_command_local, language_use_babel and
16957 language_global_options.
16959 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16961 * buffer.C (makeLaTeXFile): Use language_use_babel and
16962 language_global_options.
16964 2001-02-23 Juergen Vigna <jug@sad.it>
16966 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16967 which works with LyXText and putted it inside BufferView. Here now we
16968 only call for that part the BufferView::Dispatch() function.
16970 * BufferView.C (Dispatch): added.
16972 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16973 functions which needs to use a LyXText over from LyXFunc.
16974 (MenuInsertLyXFile): added
16975 (getInsetByCode): added
16976 (moveCursorUpdate): added
16977 (static TEXT): added
16979 2001-02-22 Juergen Vigna <jug@sad.it>
16981 * BufferView_pimpl.C (update): call a status update to see if LyXText
16984 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16986 * vc-backend.C (revert): implement for CVS
16987 (getLog): implement for CVS
16989 2001-02-20 Juergen Vigna <jug@sad.it>
16991 * text2.C (ClearSelection): added BufferView param for inset_owner call
16993 * lyxfunc.C (TEXT): added this function and use it instead of
16994 directly owner->view()-text of getLyXText().
16996 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16998 * src/layout_forms.C: out preamble
16999 * src/layout_forms.h: out preamble
17000 * src/lyx_cb.C: out preamble
17001 * src/lyx_cb.h: out preamble
17002 * src/lyx_gui.C: out preamble
17003 * src/lyx_gui_misc.C: out preamble
17004 * src/lyxfunc.C: connect with guii preamble
17006 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17008 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17010 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17012 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17013 whether to run bibtex.
17015 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17017 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17019 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17021 * Makefile.am (lyx_SOURCES): removed bibforms.h
17023 * vspace.h: doxygen
17025 * text.C (GetVisibleRow): make several local vars const
17027 * tabular.C: small cleanup.
17029 * lyxserver.C (callback): use compare instead of strncmp
17031 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17032 inlines to after class or to paragraph.C
17034 * lyxfont.h: remove friend operator!=
17036 * converter.h: move friend bool operator< to non friend and after
17039 * combox.h: small cleanup
17041 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17042 to inlines after class def.
17044 * buffer.C (pop_tag): use string operations instead of strcmp
17046 * bmtable.c: doxygen, small cleanup
17048 * LaTeX.h: remove friend operator==
17050 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17062 * BufferView_pimpl.C:
17063 * BufferView.[Ch]: remove cruft
17065 2001-02-14 Juergen Vigna <jug@sad.it>
17067 * lyxfunc.C: removed #if 0 unused code
17069 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17071 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17073 * text2.C (SetSelection): added a BufferView * parameter
17075 2001-02-13 Juergen Vigna <jug@sad.it>
17077 * lyxfunc.C (Dispatch): fixed protected blank problem.
17078 * BufferView2.C (protectedBlank): added LyxText * parameter.
17080 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17081 (AppendColumn): same as above for column_info.
17083 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17084 (moveCursorUpdate): use a LyXText param for support of InsetText.
17086 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17087 (tripleClick): ditto
17089 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17091 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17093 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17095 * text2.C (SetSelection): set correct update status if inset_owner
17096 (ToggleFree): ditto
17098 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17100 * tabular.C: remove some commented code.
17102 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17104 * BufferView_pimpl.C: call hideSplash()
17106 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17109 * bibforms.h: remove
17112 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17113 add LFUN_CHILD_CREATE
17115 * counters.h: fix tiny typo
17120 * lyx.C: move splash to frontends/xforms/
17122 * lyx_gui_misc.C: move Include and Bibform to frontends
17124 * lyxvc.h: clarify comment
17126 * vspace.C: tiny housekeeping
17128 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17130 * text.C (PrepareToPrint): RTL Fix.
17132 * paragraph.C (GetUChar): New method.
17133 (String): Use GetUChar.
17135 * buffer.C (asciiParagraph): Use GetUChar.
17137 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17139 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17141 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17144 * buffer.C: rename to getLogName(), handle
17145 build log / latex log nicely
17147 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17150 * MenuBackend.h: remove support for reference menuitem type.
17152 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17154 * BufferView_pimpl.C: housekeeping
17155 * BufferView_pimpl.h:
17160 * minibuffer.h: move Timeout GUI-I
17162 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17164 * lyxrc.C (read): Update converters data-structures.
17166 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17168 * LaTeX.h (operator!=): add operator != for Aux_Info
17170 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17172 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17174 * LaTeXLog.C: deleted, useful code moved to Buffer
17177 * buffer.C: new function getLatexLogName()
17183 * lyxfunc.C: use frontends for LaTeX and VC logs
17185 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17187 * LaTeX.h: yet another std:: that Allan forgot.
17189 * Variables.C (set): renamed from isset(), because this clashes
17190 with some HP-UX macros (grr).
17192 2001-02-06 Allan Rae <rae@lyx.org>
17194 * LaTeX.h: Another bug fix. Missing std:: this time.
17196 2001-02-04 Allan Rae <rae@lyx.org>
17198 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17199 floats problem. I've left it commented out because it's not quite
17200 correct. It should also test that the current object is a table or
17201 figure inset. But I haven't gotten around to figuring out how to do
17202 that. I *think* it'll be something like: "table" == inset.type()
17204 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17207 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17209 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17210 all the citation/databases/styles in the auxilary file.
17211 (run): Rerun latex if there was a babel language error.
17213 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17215 * text.C (Backspace): Preserve the font when changing newline char
17217 (BreakParagraph): If the cursor is before a space, delete the space.
17219 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17221 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17223 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17224 new argument (code).
17225 (ChangeCitationsIfUnique): New method.
17227 * paragraph.C (GetPositionOfInset): Handle bibkey.
17229 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17231 * BufferView_pimpl.h: change type of Position::par_pos to
17232 LyXParagraph::size_type.
17234 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17236 * BufferView_pimpl.C (savePosition, restorePosition): Write
17237 messages to minibuffer.
17239 2001-01-28 José Matos <jamatos@fep.up.pt>
17241 * buffer.C (makeDocBookFile): adds support for document language.
17242 A silly restriction on the name of LatexCommand types where removed.
17243 Added support for CDATA sections, allows to chars unescaped, used
17244 among others in code, to avoid escape < and >.
17246 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17248 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17249 saved positions instrad of a stack. Furthermore, a position is
17250 stored using paragraph id/paragraph position.
17252 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17253 Remove LFUN_REF_BACK.
17255 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17257 * converter.C (dvipdfm_options): New method.
17259 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17261 * vspace.C (isValidLength): Fix for empty input string.
17263 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17265 * LyXAction.C (init): change description of LFUN_FIGURE to
17268 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17270 * LaTeX.C: add using directive
17272 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17274 * MenuBackend.C (expand): Fix the sorting of the formats.
17276 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17278 * lyx_main.C: tiny error message fix
17280 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17282 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17283 calling fl_initialize(). This fixes the problem with ',' as
17284 decimal separator in text files.
17286 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17288 * trans.C (process): Fix the keymap bug.
17290 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17292 * LaTeX.C (scanAuxFiles): New method. Provides support for
17293 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17294 (scanLogFile) Scan for "run BibTeX" messages.
17296 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17297 OT1 font encoding. Also, load the aecompl package if the ae
17300 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17302 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17304 * texrow.C (increasePos): turn two error messages into debug
17307 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17309 * LaTeX.C (scanAux): Handle the \@input macro.
17310 (runBibTeX): Use scanAux().
17312 * language.C (latex_options_): New field.
17314 * LaTeXFeatures.C (getMacros): Add language macros.
17316 * buffer.C (makeLaTeXFile): Small fix.
17318 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17320 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17322 * text2.C: add a using directive.
17324 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17329 * lyxfunc.C: kill LyXBell.
17331 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17333 * text.C (IsBoundary): Remove the error message
17335 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17337 * lyxrc.C (setDefaults): Correct initialization value for
17340 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17342 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17345 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17346 and GotoNextNote().
17348 * src/LyXAction.C: Added reference-next.
17350 * text.C (InsertChar): Use contains instead of strchr.
17352 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17354 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17356 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17357 alignment commands (when needed).
17359 * text.C (InsertChar): Add ':' to number separator chars.