1 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
3 * text2.C: fix for cursor up/down stuck in math [bug 1792]
5 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
7 * text2.C (cursorUp): get rid of a crash
8 * text.C (x2pos): add an assert
10 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * lyxfunc.C (getStatus): fix warning when assertions are disabled
16 * dociterator.C: include <boost/current_function.hpp>, which is
17 needed when assertions are disabled.
20 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
22 * text2.C: fix for stuck cursor when traversing two
23 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
25 2005-02-25 Andreas Vox <avox@arcor.de>
27 * output_docbook.C (makeParagraph): suppress trailing newline
28 after a run of paragraphs
30 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
32 * paragraph.C: fix for confused change tracker when pasting
33 text that begins with a lineseparator. [bug 1827]
34 (setChange(0, Change::INSERTED);)
36 * paragraph_funcs.C: fix for lost changes on triple-paste
37 in change tracking mode [bug 1827] (par.setChange()).
39 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * text2.C (updateCounters, setCounter, expandLabel): move to
44 * buffer_funcs.C (updateCounters): turn into a free standing
45 function and add a buffer parameter. Remove dead code for tracking
47 (setCounter): change into a free-standing function which gets a
48 dociterator as argument. Use this iterator to fix captions in a
49 simple way. When no float is found above the caption, use the
50 labelstring of the caption layout as default.
52 * text.C (breakParagraph, backspace):
53 * text2.C (init, setLayout, changeDepth):
55 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
58 * dociterator.C (forwardPar): make it much faster by calling
59 forwardPos() only when really necessary.
61 * output_docbook.C (makeCommand): adapt to expandLabel move.
63 * cursor.C: remove unused variable
65 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
67 * paragraph_funcs.C: fix crash when pasting insets in change
68 tracking mode [bug 1277] (honour change type in moveItem).
70 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
72 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
74 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
76 * BufferView.C (setCursor): change to use a DocIterator.
77 (gotoLabel): use BufferView::setCursor (other part of bug 781).
78 (putSelectionAt): adapt to BufferView::setCursor change.
80 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
81 moved here from LyXText and rewritten to use proper cursor
82 methods. Fixes bug 1787, 616 and 835.
84 * BufferView_pimpl.C (restorePosition): set the cursor correctly
85 when inside an inset (part of bug 781).
86 (dispatch): adapt to change of BufferView::setCursor.
87 (getStatus, dispatch): handle LFUN_GOTOERROR,
88 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
90 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
91 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
92 * text3.C (gotoNextInset, gotoInset): removed.
94 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
98 2005-02-15 Angus Leeming <leeming@lyx.org>
100 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
101 can be used meaningfully in a comparison.
103 2005-02-13 André Pönitz <poenitz@gmx.net>
105 * bufferview_funcs.C (coordOffset): improve cursor drawing
107 2005-02-13 André Pönitz <poenitz@gmx.net>
109 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
110 * Cursor.C (dispatch): use fixIfBroken
111 * lyxfunc.C (getStatus): use fixIfBroken
113 2005-02-15 Angus Leeming <leeming@lyx.org>
115 * lyx_main.C (error_handler):
117 * lyxrc.C (setDefaults):
119 #include "environment.h".
121 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
123 2005-02-15 Angus Leeming <leeming@lyx.org>
125 * lyxserver.C (startPipe): squash MSVC warning "local variable
126 'fd' used without having been initialized".
128 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
130 * BufferView_pimpl.C: revert accidental commit.
132 2005-02-14 André Pönitz <poenitz@gmx.net>
134 * dociterator.[Ch]: new member forwardPosNoDescent(),
135 which doesn't enter nested insets.
136 * text2.C (setFont): use forwardPosNoDescent() instead
137 of ForwardPos() (fixes crash on font change).
139 2005-02-13 Angus Leeming <leeming@lyx.org>
141 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
142 only if lyxrc.path_prefix is not empty.
144 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
146 * bufferparams.C (readGraphicsDriver): prevent crash
148 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
150 * text2.C (setCounter): check for inInset() == 0
152 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
155 but use update() to get correct screen display; use convert
156 instead of istringstream.
157 (getStatus): handle LFUN_GOTO_PARAGRAPH
159 * lyxfunc.C (dispatch, getStatus): do not handle
160 LFUN_GOTO_PARAGRAPH here.
162 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
164 * text3.C (dispatch): size() -> depth()
166 * text2.C: remove some debug output
168 * paragraph.C: ws changes only
170 * lyxfunc.C (getStatus): size() -> depth()
172 * dociterator.h (clear, push_back, pop_back, internalData,
173 operator[], resize, empty): new functions
174 Make StableDocIterator and operator== be friends. Don't inherit
175 from std::vector use a privat class variable slices_ instead.
178 * dociterator.C: update because of not inheriting from std::vector
179 anymore. Call explictly to slices_ instead. Use depth() instead of
180 size() and top() instead of back()
182 * cursor.C: chagne size() -> depth and back() -> top(). Also
183 remove some direct operator[](i) calls in favour of foo[i]
184 (getFont): remove some dead code
186 * bufferview_funcs.C (coordOffset): size() -> depth()
188 * buffer.C: ws changes only
190 * CutAndPaste.C (eraseSelection): back() -> top()
192 * BufferView_pimpl.C (selectionRequested): back() -> top()
194 * BufferView.C (setCursor): size() -> depth()
196 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
198 * text3.C (cursorPrevious): return true if depm changed something
200 (dispatch): rename sl to oldTopSlice, remove moving use the new
201 NoUpdate func attrib instead. Make sure that needsUpdate is set
202 for function that have NoUpdate, but where depm might have changed
205 * text2.C (cursorLeft): make us return true if depm changed
208 (cursorUpParagraph): ditto
209 (curosrDownParagraph): ditto
210 (cursorUp, cursorDown): ditto, make sure to read comments in code
211 (deleteEmptyParagraphMechanism): remove an assert, also return
212 true if just a single char was deleted.
214 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
215 cursor that we modify, to avoid modifying an active cursor before
216 we call setCursor. This allows depm to run. Also return true if
217 depm deleted something.
219 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
220 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
221 cursorDownParagraph, cursorPrevious and cursorNext, return true if
222 something was changed in the buffer because of them (ie. depm run)
224 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
225 debug messages. Make update by default be false. Make sure that
226 the result of update is retained throught several calls down to
229 * LyXAction.h: add a new func_attrib: NoUpdate
231 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
232 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
233 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
235 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
237 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
240 bv_->owner(), bv_->buffer() by direct references to the private
242 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
243 (getStatus): isSavedPosition() is in BufferView::Pimpl.
244 (fitCursor): center() is in BufferView::Pimpl.
245 (getStatus, trackChanges, dispatch): no need for a temporary buf
247 (fitCursor, workAreaDispatch): use workarea().workheight()
249 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
251 * CutAndPaste.C (pasteSelectionHelper): fix a crash
253 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
255 * buffer.C: format up to 241.
256 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
257 break if pasting into ERT
258 * lyxfunc.C (getStatus): suppress mathpanel and
259 LFUN_DIALOG_SHOW_NEW_INSET in ERT
261 2005-02-01 Angus Leeming <leeming@lyx.org>
263 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
265 2005-02-01 Angus Leeming <leeming@lyx.org>
267 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
268 calling fs::is_directory().
270 2005-01-31 Angus Leeming <leeming@lyx.org>
272 * lyx_main.C (priv_exec): specify explicitly the relative location
273 of the top level build directory when run in-place.
275 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
278 LyXText containing the cursor, not the top-level one.
280 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
282 (insertStringAsLines): rename par to pit; use temporary variable
283 par to hold a Paragraph; do not store par.layout() in a variable,
284 since the pointer may die when breaking paragraphs; pass pars to
285 breakParagraph() instead of Buffer::paragraphs().
287 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
289 * lyxlex_pimpl.h: #include <fstream>.
291 * BufferView.[Ch] (getLyXText): add a const version.
293 * BufferView_pimpl.C: add debug aids.
298 * paragraph_funcs.h: add commentary explaining what the class does.
301 * coordcache.[Ch]: add lots of commentary.
302 (startUpdating, doneUpdating): debug aids.
303 (arrays, insets, parPos, getParPos): accessors to private data.
305 * cursor_slice.[Ch] (text): add a const version.
306 * dociterator.[Ch] (text, innerText): add const versions.
308 * lyxtext.h (breakParagraph): change the keep_layout arg to a
311 * paragraph.C (getRow, pos2ros): add asserts.
313 * paragraph.h: add commentary. Lots of.
315 * paragraph.[Ch] (metrucs, draw): removed.
318 * rowpainter.[Ch]: const-correct changes.
320 * text.C: various obvious clean-ups. Removal of ancient cruft.
323 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
325 * vc-backend.C (find_file): rewrite to use boost.filesystem
328 * main.C (main): set default name check for boost.filesystem to
331 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
334 (actOnUpdatedPrefs): ditto
336 * lyx_main.C (init): rewrite to use boost.filesystem
337 (queryUserLyXDir): ditto
339 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
340 (getContentsOfAsciiFile): ditto
342 * lastfiles.C (readFile): rewrite to use boost.filesystem
344 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
346 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
349 * buffer.C (Buffer): adjust for destroydir
350 (getLogName): rewrite to use boost.filesystem
352 (save): use fs::copy_file (from fs_extras)
354 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
356 * LaTeX.C (run): rewrite to use boost.filesystem
357 (scanAuxFiles): ditto
358 (handleFoundFile): ditto
360 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
362 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
364 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
366 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
368 * lyxlayout.[Ch]: change some vars from float to double
370 * buffer.C (readFile): make a local var const
372 * Several files: use convert<> instead of atoi,strToXXX and friends
374 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
376 * LaTeXFeatures.[Ch]: Add a static list packages_ that
377 holds the contents of packages.lst. New functions getAvailable
378 and isAvailable to parse and check that list, resp.
382 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
384 * bufferparams.[Ch]: new param output_changes.
386 * Buffer.C: increase file format to 240.
387 Use output_changes and isVailable.
391 * paragraph_pimpl.C: Use output_changes and isVailable.
393 2005-01-23 Angus Leeming <leeming@lyx.org>
395 * output_latex.C: #include "insetbibitem.h", rather than
396 forward declare function bibitemWidest.
398 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
400 * lyx_main.C (init): make it compile on the Mac.
402 2005-01-20 Angus Leeming <leeming@lyx.org>
404 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
405 (setLyXMisc): (char string literal) != (char string literal) is
406 performing a comparison on the addresses. Convert one operand
407 explicitly to string to guarantee expected behaviour.
410 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
413 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
415 * output_plaintext.C: remove unneeded #include gzstream.h.
417 2005-01-20 Angus Leeming <leeming@lyx.org>
419 * SpellBase.h: rename some of the elements of the Result enum.
426 * pspell.C (check): ditto
428 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
430 * buffer.C: add #include <fstream>.
432 * lyx_main.C (init): Compile fix.
434 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
436 2005-01-20 Angus Leeming <leeming@lyx.org>
438 * mover.h: change commentary to reflect the changed meaning of
441 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
443 * output_linuxdoc.C (linuxdocParagraphs): silence warning
445 * lyxfind.C (MatchString::operator()): remove bogus semicolon
447 2005-01-20 Angus Leeming <leeming@lyx.org>
449 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
450 printing diagnostic data by not dereferecing an iterator past the
453 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
455 * buffer.C (readHeader): use "&&" rather than "and".
457 * lyxserver.h (inPipeName, outPipeName): make these const.
459 2005-01-19 Angus Leeming <leeming@lyx.org>
461 * lyx_main.C (error_handler, init): protect SIGHUP with
462 #ifdef SIGHUP guards.
464 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
466 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
468 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * text.C (setHeightOfRow): add a margin at the top and bottom of
471 the document (bug 1761)
473 2005-01-17 Angus Leeming <leeming@lyx.org>
475 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
476 with "python ". Workaround for a brain-dead Windows.
478 2005-01-16 Angus Leeming <leeming@lyx.org>
480 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
481 for MacOSX and Windows to use prependEnvPath.
482 Strip out the hard-coded block to add elements to the PATH for
483 MacOSX and replace it with a call to prependEnvPath using the
484 contents of LyXRC::path_prefix.
485 (queryUserLyXDir): strip out the code to run reconfigure, instead
486 returning a boolean indicating the necessity to do so.
487 (reconfigureUserLyXDir): contains the code to reconfigure the
488 user support directory. Is now called after the various LyXRC data
489 files have been read.
491 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
493 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
495 * converter.[Ch] (convert): take a new parameter try_default. Use
496 a default converter (imagemagick) if try_default is true.
498 2005-01-13 Angus Leeming <leeming@lyx.org>
500 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
502 (write): output LyXRC::cygwin_path_fix as necessary.
504 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
507 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
509 2005-01-12 Angus Leeming <leeming@lyx.org>
511 * lyx_main.C (init): set the PATH variable to include the
512 directory containing the LyX binary when running on Mac or Windows.
514 2005-01-12 Angus Leeming <leeming@lyx.org>
516 * lyx_main.C (init): remove cruft that purports to set the locale
517 dir. It doesn't and is not needed anyway.
519 2005-01-10 Angus Leeming <leeming@lyx.org>
521 * Makefile.am: remove the lyx_main.C special casing.
523 * BufferView_pimpl.C:
529 * messages.C: use support/package.h to provide the paths to the
530 various directories used by LyX.
532 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
534 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
535 layout if pasting into an empty paragraph)
537 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
539 * tex-accent.C: add <string>
541 2005-01-06 José Matos <jamatos@lyx.org>
543 * ParagraphParameters.C (write): put every parameter in its own line.
544 * paragraph.C (write): reduce number of consecutive empty lines exported.
545 * buffer.C (LYX_FORMAT): increase file format to 239.
547 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
549 * everywhere: change support/tostr.h -> support/convert.h
551 * tabular.C: make all write_attributes templates, tostr -> convert
553 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
554 (emptyTag): and -> &&, and fix type for ret from getChar
555 (getFirstWord): fix type for ret from getChar
556 (onlyText): and -> &&
557 (simpleDocBookOnePar): and not -> && !, fix type for ret from
560 * toc.C (goTo, action):
561 * text3.C (dispatch):
562 * text.C (currentState):
563 * tex-accent.C (DoAccent):
566 * lyxfunc.C (menuNew):
567 * lyxfinc.C (replace):
568 * counters.C (laberItem):
569 * bufferview_funcs.C (font2string):
570 * bufferparams.C (writeFile):
571 * buffer.C (readFile):
573 * MenuBackend.C: tostr -> convert
575 * LaTeX.C (runMessage): fix format
576 (scanAuxFiles): tostr -> convert
578 * BufferView_pimpl.C (savePosition): fix format
579 (restorePosition): ditto
582 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
584 * Spacing.[Ch]: New method getValueAsString().
588 * ParagraphParameters.C:
591 * text3.C: store/read spacing value as string.
593 * rowpainter.C: change float value (spacing_val) to double.
595 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
596 broken custom document spacing).
598 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
600 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
601 namespace, also more use of temp references and const
603 * cursor.[Ch] (getStatus): move to lyxfunc.C
605 * bufferparams.C: reformat slightly
607 * bufferview_funcs.C (font2string): constify arg
613 * buffer_funcs.C: (many funcs): constify arg on function
614 definitions, also make more local vars const, also add ASSERTS on
617 * buffer.C (LYX_FORMAT): put const in correct place
618 (many funcs): constify arg on function definitions, also make
619 more local vars const
621 * aspell_local.h: remove "struct" from typdef setup
623 * aspell.C (check): make word_ok const
624 (nextMiss): simplify slightly
627 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
629 * lyxrc.[Ch]: store all float values as strings.
630 use int (not float) for lyxrc.dpi.
632 2005-01-04 Angus Leeming <leeming@lyx.org>
634 * lyx_cb.C (Reconfigure):
635 * lyx_main.C (queryUserLyXDir):
636 to run the <system_lyxdir>/configure correctly on Windows, prefix
637 the path to the script with "sh " when generating the string that
638 is passed to system().
640 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
642 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
644 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * lyxlength.C (asLatexString): get rid of setprecision
648 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
650 * text2.C (setLayout): remove unused variable endpit.
651 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
653 * paragraph.C (onlyText): remove unused variable style.
655 * cursor.C (bruteFind): remove unused variables beg and end.
657 * Makefile.am (dist_noinset_DATA): not needed anymore
659 * cheaders/*: remove.
661 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
663 * text3.C: fix LFUN_MATH_MODE.
665 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * buffer_funcs.C (countWords): new function. Counts words between
670 * BufferView_pimpl.C (getStatus, dispatch): handle
673 * LyXAction.C (init):
674 * lfuns.h: add LFUN_WORDS_COUNT.
676 2004-12-19 Angus Leeming <leeming@lyx.org>
678 * buffer.C (save): s/slashify_path/internal_path/.
680 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
682 * lyxfind.C (findChange): do not search for end of pars, because
683 the change tracker cannot handle this (fixes bug 1719).
685 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
687 * paragraph.[Ch] (autoBreakRows): remove
689 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
691 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
692 avoid using the paragraph one
694 * text2.C (LyXText, insertStringAsLines): adjust
696 2004-12-16 Angus Leeming <leeming@lyx.org>
700 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
702 2004-12-14 Angus Leeming <leeming@lyx.org>
704 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
706 * bufferlist.C (emergencyWrite):
707 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
710 2004-12-14 Angus Leeming <leeming@lyx.org>
712 * main.C: (main): no longer pass pointers to os::init.
714 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
716 * undo.C (textUndoOrRedo): simplify logic, fix a crash
717 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
719 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
722 * text3.C: remove selection_possible global flag
724 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
726 * text2.C (getSelectionSpan): remove
727 (changeDepth, changeDepthAllowed): adjust
729 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
731 * Makefile.am (BOOST_LIBS): use boost variables
733 2004-12-03 José Matos <jamatos@lyx.org>
735 * buffer.C: format up to 238.
737 2004-12-03 José Matos <jamatos@lyx.org>
739 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
741 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
743 * cursor.C (goUpDown): remove call to idxUpDown2
745 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
747 * tabular.[Ch]: use size_t-like types for cell, row and column
750 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
752 * lyxfunc.C (getStatus): do not lose previous information when
753 calling BufferView::getStatus; do not set a default "Command
754 disabled" message at the beginning, but just before returning.
756 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
758 * cursor.h (getStatus): add better comment from src/cursor.C
760 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
762 * text3.C (getStatus): return false when the lfun is not handled
764 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
766 * broken_headers.h: remove
768 * Makefile.am (lyx_SOURCES): remove broken_headers.h
770 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
772 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
775 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
776 top_y_, merge fitcursor with update
777 (updateScrollbar, scrollDocView, fitCursor, center, update): new
780 (workAreaDispatch): adapt to new coord scheme
781 (redoCurrentBuffer): remove
783 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
785 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
788 * coordcache.[Ch]: add paragraph cache and helpers
790 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
793 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
794 (targetX, setTargetX): introduce
796 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
797 baseline -> ascent, as the rest of lyx
799 * lyxtext.h: remove redoParagraphs, updateParPositions,
800 fullRebreak, redoParagraphInternal. move dist to anon namespace in
801 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
802 have ascent/descent (ascent is ascent of first par)
804 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
807 * paragraph.[Ch]: unify dimension handling with the rest of lyx
809 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
811 * pariterator.C: fix infinite loop introduced in par->pit renaming
813 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
814 in insets and LyXText, draw two off-screen paragraphs using
815 NullPainter, and adapt to new coord scheme
819 * text3.C: adapt lfun handlers to the new coord scheme, which
820 means: there's only guaranteed coord information for onscreen pars
821 plus one above and one below. This implies that one can do search
822 from y coordinates in the range [-1,workHeight]
824 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
826 * rename a lot of InsetOld to InsetBase
828 2004-11-25 Angus Leeming <leeming@lyx.org>
830 * BufferView_pimpl.C:
832 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
834 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
836 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
837 call BufferView::getStatus if LCursor::getStatus did nothing
838 (setStatusMessage, getStatusMessage): removed.
840 * FuncStatus.C (message): new methods. Used to provide an error
841 message indicating why a command is disabled.
842 (clear, |=, FuncStatus): update for message.
844 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
846 * lyxfunc.C (dispatch): always call sendDispatchMessage
848 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
851 * BufferView_pimpl.C:
865 * undo.C: par->pit renaming
867 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
869 * tabular.C (cellstruct): use initialization, store a shared_ptr
870 to insettext instead of the insettext directly, adjust to fit.
871 (operator=): new function
873 (rowstruct): use initialization
874 (columnstruct): use initialization
875 (ltType): use initialization
878 * lyxlength.h (swap): new function
880 * LColor.[Ch] (operator=): use the common semantics
882 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
884 * lyxfind.C (findNextChange): update the bufferview after setting
887 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
890 number of InsetOptArgs has already been inserted.
892 * output_latex.C (latexOptArgInsets): new method. This outputs all
893 the optarg insets, up to the limit defined in the layout file.
894 (optArgInset): removed
895 (TeXOnePar): call latexOptArgInsets; correctly update texrow
897 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
899 * paragraph.C (isLetter): remove special spellchecker-related
900 code; return true also for digits
901 (isWord, isKomma): remove
903 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
904 * lyxfind.C (MatchString()): use isLetter instead of isWord
906 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
908 * pariterator.h (operatir=): comment out un-implemented member
911 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
914 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
916 * lyxfont.h: include LColor.h to satisfy concept checks.
918 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
920 * pariterator.h: add typdefs for value_type, difference_type,
921 pointer and reference to satisfy concept checks. Also add default
922 constructor for same reason.
924 * pariterator.C (operator++): add post-increment operator to
925 satisfy concept checks.
927 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
930 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
932 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
933 checks. Also rename base_type to BaseType to follow naming
936 * FloatList.h: include Floating.h to satisfy concept checks.
938 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * lyxfunc.C (getStatus): when the origin of the request is menu or
941 toolbar, and the LyXView does not have focus, do as if there was
944 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
945 FuncRequest to individual entries of LFUN_SEQUENCE
947 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
949 * output_latex.C (TeXOnePar): override runparams.moving_arg
950 according to the needprotect value of the current paragraph (bug
953 * paragraph.C (simpleTeXOnePar): no need to override
954 runparams.moving_args here
956 2004-11-14 John Spray <spray_john@users.sourceforge.net>
958 * vspace.C: fix off-by-one-error, related to fix #1682
960 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
962 * lengthcommon.C: a more general fix for bug 1682
964 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
966 * text.C (backspace): fix crash
968 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
970 * format.[Ch] (getFormatFromFile): new method
971 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
973 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
975 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
977 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
979 * lyxfunc.C (dispatch): remove the verbose argument
980 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
983 * kbmap.C (defkey): set the origin of func to KEYBOARD
985 * MenuBackend.C (MenuItem):
986 * ToolbarBackend.C (add): set the origin of func to UI
988 * funcrequest.[Ch]: add origin member, which indicates which part
989 of LyX requests an action
991 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
993 * converter.C (move): don't lie in the error message
994 * converter.h (isReachable, move): document
996 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
998 * buffer.C: remove unused using lyx::support::atoi
999 * paragraph_funcs.C: ditto
1001 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1003 * bufferlist.C (exists): use bind and equal_to instead of
1006 * lyxtextclasslist.C (NumberOfClass): ditto
1008 * cursor.C (insert): use for_each instead of explicit for loop
1010 * bufferlist.C (getFileNames): use std::transform and
1011 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1013 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1016 * buffer.C (changeLanguage): use for_each instead of explicit for
1018 (hasParWithID): implement using getParFromID
1020 * LaTeXFeatures.C: ws change only
1022 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1025 * BufferView_pimpl.C (trackChanges): use for_each instead of
1028 2004-11-04 André Pönitz <poenitz@gmx.net>
1031 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1033 * dociterator.C (asDocIterator): use hard assert again.
1035 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1037 * lyxlength.C (asLatexString): rewrite so that it does not use
1040 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1042 * text3.C (specialChar, dispatch): make sure cursor moves to the
1043 right after inserting an inset
1045 2004-11-02 José Matos <jamatos@lyx.org>
1047 * output_docbook.C (docbook):
1048 * paragraph.C (getID):
1049 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1050 garantee that the output is always legal.
1052 * tabular.C (docbook):
1053 * outputprams.[Ch]: remove mixed contents.
1055 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1057 * text2.C (setCounter): prevent endless loop
1059 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1061 * exporter.C (copyFile): use the mover instead of support::copy()
1062 * exporter.C (Export): pass format and latex name to copyFile()
1063 * exporter.h (addExternalFile): document
1064 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1066 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1068 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1070 2004-10-30 José Matos <jamatos@lyx.org>
1072 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1073 text and no inset or font change. This allows to use CDATA
1074 sections just for the whole paragraph.
1076 2004-10-30 José Matos <jamatos@lyx.org>
1078 * paragraph.C (getFirstWord): remove unused variable.
1080 2004-10-30 José Matos <jamatos@lyx.org>
1082 * paragraph.C (getFirstWord): the content should always be escaped
1084 (simpleDocBookOnePar):
1085 * output_docbook.C (makeEnvironment): replace reference to CDATA
1088 2004-10-30 José Matos <jamatos@lyx.org>
1090 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1092 2004-10-30 José Matos <jamatos@lyx.org>
1094 * output_docbook.C (makeParagraphs):
1095 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1096 standard paragraph has only a given type of content drop the wrapper.
1098 2004-10-29 José Matos <jamatos@lyx.org>
1100 * output_docbook.C (makeEnvironment):
1102 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1104 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1106 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1107 (cleanID): sanitize any id.
1109 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1111 * buffer.C, lyxlex_pimpl.C:
1112 * lyxlex_pimpl.C (setFile):
1113 s/getExtFromContents/getFormatFromContents/
1115 2004-10-28 José Matos <jamatos@lyx.org>
1117 * output_docbook.C (makeEnvironment): move id to broadest possible
1120 * sgml.C (openTag): apply substitution of <> for all attributes.
1122 2004-10-28 José Matos <jamatos@lyx.org>
1124 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1125 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1126 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1128 * sgml.[Ch]: new version for open and closeTag for paragraph and
1129 for strings. Now they handle the ids of paragraphs.
1131 2004-10-26 Angus Leeming <leeming@lyx.org>
1133 * Makefile.am: add mover.[Ch].
1135 * converter.C (convert, move): use the new Movers to move external
1136 files to the temp directory.
1138 * lyx_main.C (init): ensure that the global system_movers data
1141 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1144 * mover.[Ch]: new files, defining a Mover as a utility to move an
1145 external file between directories and, if necessary, manipulate this
1146 file using a helper script.
1148 2004-10-25 José Matos <jamatos@lyx.org>
1150 * output_docbook.C (makeCommand): merge two if's that tested the
1153 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1155 * sgml.C (escapeString): fix warning in a better way
1157 2004-10-25 José Matos <jamatos@lyx.org>
1159 * sgml.C (escapeString): import the require boosts header file for
1160 tie, and avoid a signed unsigned comparison.
1162 2004-10-25 José Matos <jamatos@lyx.org>
1164 * sgml.h: add #include <string>
1166 2004-10-25 José Matos <jamatos@lyx.org>
1168 * sgml.[Ch] (escapeString): new function to escape all the string.
1170 2004-10-24 José Matos <jamatos@lyx.org>
1172 * paragraph.[Ch] (getFirstWord): new function to get the first
1173 word. Useful for description.
1174 (simpleDocBookOnePar): remove depth argument, add another that
1175 says where to start the paragraph.
1177 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1178 use the new functions to fix cleanly the support for descriptions.
1180 2004-10-24 José Matos <jamatos@lyx.org>
1182 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1183 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1184 * output_linuxdoc.C (linuxdocParagraphs):
1185 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1186 add buffer as argument.
1188 2004-10-24 José Matos <jamatos@lyx.org>
1190 * output_docbook.C (makeEnvironment, searchEnvironment): place
1191 CDATA inside paragraphs and fix scope for listitems.
1193 2004-10-24 José Matos <jamatos@lyx.org>
1195 * output_docbook.C: remove using statement for stack.
1197 2004-10-23 José Matos <jamatos@lyx.org>
1199 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1200 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1201 docbook. The new scheme is recursive and makes use of iterators, the
1202 same as latex export works.
1203 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1204 directly with the paragraph contents. This code was moved up to
1205 output_docbook.C (docbookParagraphs).
1206 * sgml.C (openTag, closeTag): removed unneeded newlines.
1207 (closeEnvTags) removed.
1209 2004-10-23 André Pönitz <poenitz@gmx.net>
1211 * undo.C (textUndoOrRedo):
1212 * dociterator.C (asDocIterator): work around crash
1214 * cursor.C (getStatus): replace ASSERT by more verbose error message
1215 and manual correction of the problem. Should increase stability
1216 while providing more sensible information.
1218 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1220 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1222 * bufferlist.C (previous, next): new methods
1225 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1227 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1229 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1230 entities to preamble.
1232 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1234 * messages.C (Pimpl): strip off translation context information
1236 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1238 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1239 the cursor is correct (bug 1694)
1241 2004-10-13 José Matos <jamatos@lyx.org>
1243 * output_docbook.C (docbookParagraphs): fix closing tags in the
1244 end of the document.
1246 2004-10-09 José Matos <jamatos@lyx.org>
1248 * buffer.C: format up to 237.
1249 * bufferparams.C (write): use tostr to convert booleans to strings.
1251 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1253 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1255 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1257 * LaTeX.C: implement use of babel language in xindy.
1259 2004-10-05 José Matos <jamatos@lyx.org>
1261 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1262 Add new translators to help reading and writing the lyx file.
1264 2004-10-05 José Matos <jamatos@lyx.org>
1266 * ParagraphParameters.C (read):
1267 * text.C (readParToken): replace nexToken by more appropriate lex
1270 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1272 * LaTeX.C (runMakeIndex):
1273 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1274 (usually 'makeindex') configurable.
1276 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1277 with a variable rather than with a number.
1279 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1281 * output_latex.C (TeXOnePar): make sure font setting is the first
1282 thing that gets output (and the last at the end). Should fix bug
1285 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1287 * pch.h: use proper signal include
1289 * LaTeX.h: Use preferred calling of Boost.Signal
1292 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1294 * pch.h: dont include <boost/function/function0.hpp>
1296 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1298 * paragraph_pimpl.h: remove usage of ShareContainer
1300 * paragraph_pimpl.C: remove initialization of ShareContainer.
1302 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1306 * BufferView.C (putSelectionAt): change the semantics when
1307 backwards == true: now, this just swaps cursor and anchor wrt the
1310 * BufferView.h (putSelectionAt): add some documentation
1312 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1313 make sure backwardChar is done at least once (to avoid getting
1315 (findNextChange): use putSelectionAt in the forward direction
1316 (operator()): use Paragraph::isWord
1318 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1320 * Spacing.C (set): c_str fix
1322 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1324 * lyx_cb.C (Reconfigure): quote the name of configure script in
1325 case it contains spaces
1327 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1331 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1332 (BOOST_LIBS): use top_buildir when looking for the file
1334 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1336 * pch.h: do not use include boost/format.hpp, multiple symbols
1337 will result (gcc bug)
1340 2004-08-23 José Matos <jamatos@lyx.org>
1342 * bufferparams.C (readToken): fix reading of the author field.
1344 2004-08-20 José Matos <jamatos@lyx.org>
1346 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1348 2004-08-20 José Matos <jamatos@lyx.org>
1350 * lyxlex.[Ch] (findToken): remove function.
1352 * ParagraphParameters.C (findToken):
1353 * bufferparams.C (findToken): replace call for previous function
1354 with local copy. This local function has one more argument, the
1355 read string argument.
1357 2004-08-16 José Matos <jamatos@lyx.org>
1359 * ParagraphParameters.C (write):
1360 * Spacing.C (writeFile):
1361 * bufferparams.C (writeLaTeX):
1362 * lyx_cb.C (Reconfigure):
1363 * paragraph.C (write):
1364 * tabular.C (write): remove unnecessary space at end of line.
1367 2004-08-16 José Matos <jamatos@lyx.org>
1369 * text.C (readParagraph): remove debug message.
1371 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1373 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1376 * output_plaintext.C (asciiParagraph): set depth correctly
1378 * outputparams.h: add member depth
1380 * paragraph_funcs.C (ownerPar): remove.
1382 * text2.C (setCounter): remove first_pit; comment out some
1383 non-working code that uses ownerPar
1385 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1388 2004-08-16 José Matos <jamatos@lyx.org>
1390 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1391 For the same level of importance use the same chanel to report problems.
1392 (read): add code to deal with \begin_body and \end_body.
1395 2004-08-15 José Matos <jamatos@lyx.org>
1397 * lyxlex.C (getString): fix comment, buffer::readBody is now
1398 buffer:readDocument.
1400 * tex-strings.C (string_papersize): Default -> default,
1401 Custom -> custom, for consistency with other options.
1403 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1407 * Makefile.am: support pch
1409 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1411 * text.C (readParToken): remove the static LyXFont variable and
1412 pass it as a parameter instead. This fixes a nasty bug where an
1413 inset will be inserted with a bad font in some situations
1414 (readParagraph): adapt
1416 * text2.C (setCounter): reduce number of calls to pars_[pit]
1418 * text.C (singleWidth): add an assert, fix a test
1420 * rowpainter.C (paintText): reduce number of calls to singleWidth
1422 * paragraph.C (isHfill):
1423 (isNewline): ws only
1425 2004-08-14 André Pönitz <poenitz@gmx.net>
1430 * lyxtext.h (several functions): use a Paragraph & argument
1433 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1435 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1437 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1439 * text.C (singleWidth): remove useless test
1441 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1443 * tabular.h: remove bogus comments
1445 * tabular.C (getDescentOfRow):
1446 (isPartOfMultiColumn): add assertions
1448 * lyxlength.C (inPixels): remove #warning
1450 2004-08-14 André Pönitz <poenitz@gmx.net>
1452 * paragraph.h: inline getChar()
1454 * BufferView.h: remove unused declarations
1456 2004-08-14 José Matos <jamatos@lyx.org>
1458 * Buffer.[Ch] (readDocument): new name for old readBody.
1459 * Buffer.C: new file format, new keywords: \begin_document,
1460 \begin_header, \begin_body, \end_body.
1462 * bufferparams.C (readToken): replace all calls to lex.nextToken
1463 by lex.next(). Do the same to eatLine except where really needed.
1465 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1466 line when writing to the lyx file.
1468 * output_plaintext.C (asciiParagraph): fix Bibliography style
1471 * text.C (read): fix end of file handling.
1473 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1475 * MenuBackend.C (Menu::operator[]): new method to access
1476 individual menu items
1477 (Menu::hasFunc): new method. search for an item that corresponds
1479 (MenuBackend::specialMenu): new method
1480 (MenuBackend::expand): if a special menu has been set, skip
1481 entries whose func() appears in this menu
1483 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1485 * text3.C: use Debug::DEBUG a bit more
1487 * text.C (leftMargin): try to simplify a tiny bit change var x to
1488 l_margin. Dont output the wide margins always.
1489 (rightMargin): no margin in inner texts
1491 * rowpainter.h (nestMargin): new func
1492 (changebarMargin): new func
1493 (rightMargin): new func
1495 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1499 * factory.C (createInset): modify setDrawFrame
1501 * cursor.C: use Debug::DEBUG a bit more
1503 2004-08-14 André Pönitz <poenitz@gmx.net>
1506 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1507 cache for all insets in (at least partially) visible (top-level)
1510 * BufferView_pimpl.C: reset external coord cache before every update.
1511 This means the coord cache only contains valid entries.
1513 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1516 * BufferView_pimpl.C (getInsetByCode): move function out of class
1517 and change in to a template in anon namespace. Also fix to do what
1520 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1523 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1525 (breakParagraph): rename par to par_offset and use a local
1526 reference. Add code to keep the language over a rebreak.
1527 (breakParagraphConservative): rename par to par_offset, use a
1529 (mergeParagraph): ditto
1531 (isFirstInSequence): ditto
1532 (outerFont): rename pit to par_offset
1534 * paragraph.C: ws change
1535 * paragraph.h: ditto
1539 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1541 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1544 * paragraph.C (simpleTeXOnePar): when we have a \item with
1545 optional argument, enclose the argument with curly brackets (in
1546 case it contains a closing square bracket)
1550 * text3.C (checkInsetHit): constify
1552 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1554 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1555 documents (bug 1629)
1557 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1559 Fix toggling of collapsable insets with the mouse (bug 1558)
1561 * lyxfunc.C (dispatch): adapt to LCursor changes
1563 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1564 make sure that dispatch is not invoked twice
1566 * cursor.C (needsUpdate): new method
1567 (dispatch): return void
1568 (result): new method, to access the DispatchResult of the cursor.
1570 2004-08-13 José Matos <jamatos@lyx.org>
1572 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1574 2004-08-13 André Pönitz <poenitz@gmx.net>
1576 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1578 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1581 2004-08-12 André Pönitz <poenitz@gmx.net>
1583 * text3.C: take out the 'cursor right' form insertInset and only
1584 do it in those places when it is really needed. Fixes crash on
1587 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1589 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1591 * BufferView_pimpl.C (setBuffer): initialize the current font of
1592 the underlying LyXText
1594 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1596 * kbsequence.C (print): use UI native formatting for menu
1599 * text.C (insertChar): call Paragraph::insertChar with a font
1602 * paragraph.C (insertInset, insertChar): the version that takes a
1603 LyXFont argument is now a wrapper around the other one (the
1604 opposite used to be true).
1606 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1607 argument. Font setting is done in Paragraph now.
1609 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1611 * outputparams.h: add new members intitle and lang.
1613 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1614 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1616 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1618 * text3.C (dispatch): remove special handling of button 4 and 5,
1619 it is now taken care of in the frontend code.
1621 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1623 * Spacing.h: add <string> (STLPort compile fix)
1625 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1627 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1629 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1631 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1634 * converter.C (showMessage): inherit from unary_function, make
1637 * buffer.C (writeFile): initialize retval
1639 * InsetList.h: rename private variable list to list_
1640 * InsetList.[Ch]: adjust accordingly.
1642 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1644 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1645 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1646 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1647 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1648 * ParagraphParameters.C, LaTeXFeatures.C: replace
1649 "support/std_sstream.h" with <sstream>
1651 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1653 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1654 * lyxsocket.C (LyXServerSocket): ditto
1655 (serverCallback): ditto
1657 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1659 * LaTeXFeatures.C: check release date when loading jurabib.
1661 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1663 * lyxserver.C (startPipe): call register_socket_callback
1664 (endPipe): call unregister_socket_callback
1666 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1668 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1669 (LyXServerSocket): register the callback
1670 (LyXServerSocket): unregister the callback
1671 (fd): delete function
1672 (serverCallback): improve error checking and setup the callbacks.
1673 (dataCallback): change arg to fd.
1674 (writeln): new func (copied fro the client socket) used for server
1676 (LyXDataSocket): simplify
1677 (~LyXDataSocket): close ann unregiser callback
1678 (server): delete function
1679 (fd): delete function
1680 (readln): small changes, improve some std::string usage
1681 (writeln): constify a bit
1683 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1685 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1688 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1690 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1691 after it has been populated
1693 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1695 * text2.C (insertInset): move cursor when inserting inset.
1697 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1699 * kbmap.C (findbindings): a couple of new methods. returns a
1700 container of kb_sequence objects. The real work is done by the
1701 private recursive version
1702 (printbindings): uses findbindings to print out a bracketed list
1703 of bindings (renamed from findbinding).
1705 * MenuBackend.C (binding): use kb_keymap::findbindings
1707 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1709 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1711 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1713 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1715 * paragraph.C (isWord): return true on insets that report
1718 * text.C (getWord): use Paragraph::isWord to decide what is in a
1719 word and what is not; fix bug 1609.
1721 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1723 * tex-strings.C: add "none" to string_paperpackages[], fixes
1724 off-by-one-error in the paperpackage selection.
1727 * tex-strings.[Ch]: char const * string[n]
1728 -> char const * const string[]
1730 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1732 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1733 command, return early.
1735 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1737 * debug.h: add DEBUG to enum and fix size of ANY.
1739 * debug.C: add support for Debug::DEBUG
1740 (showTags): cast errorTags.level to unsigned int
1742 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1743 (redoCurrentBuffer): ditto
1744 (updateScrollbar): ditto
1745 * cursor.C (dispatch): ditto
1746 * text2.C (setLayout): ditto
1748 (updateCounters): ditto
1750 (deleteEmptyParagraphMechanism): ditto
1752 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1754 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1755 annotations to cleanup the Makefile slightly.
1757 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1759 * lyxrc.C: do not set user_email to a default value but use empty
1760 instead. The entry used to be translated, which does not work
1761 since at the point where lyxrc is constructed there is no
1762 translation service available
1764 * messages.C (getLocaleDir): remove and use directly
1765 lyx_localedir() instead
1767 2004-06-02 Angus Leeming <leeming@lyx.org>
1769 Fix crash caused by dereferencing null pointer 'exportdata' in
1770 OutputParams by creating a new ExportData variable on the heap,
1771 storing it in a boost::shared_ptr.
1772 The crash was triggered when generating an Instant Preview
1773 of an external inset.
1775 * Makefile.am: add outputparams.C
1777 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1778 (c-tor): allocate memory to it.
1780 * exporter.C (c-tor): associated changes.
1782 2004-06-01 Angus Leeming <leeming@lyx.org>
1784 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1785 contains data before calling isInset(0). (Bug 1513.)
1787 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1789 * exporter.C (checkOverwrite): new method
1790 * exporter.C (copyFile): new method
1791 * exporter.C (Export): copy referenced files to the document dir
1792 * exporter.[Ch]: new class ExportedFile
1793 * exporter.[Ch]: new class ExportData. Contains currently the
1794 names of referenced external files
1795 * outputparams.h: add exportdata member.
1797 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1799 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1802 2004-05-19 Angus Leeming <leeming@lyx.org>
1807 * lyxfunc.C: small changes due to the introduction of namespace
1808 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1810 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1812 * text3.C (dispatch): supress update when only moving the cursor
1813 * cursor.C (selHandle): remove commented code
1815 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1817 * paragraph.C (startTeXParParams): correct column count
1818 * CutAndPaste.C (pasteSelection): remove const_cast
1819 * output_docbook.C (docbookParagraphs): remove const_cast
1820 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1821 const_cast and return ParagraphList::const_iterator
1822 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1823 * output_plaintext.C (writeFileAscii): remove const_cast
1824 * paragraph.[Ch] (simpleTeXOnePar): make const
1825 * paragraph_funcs.C (outerPar): use const iterators
1826 * paragraph_pimpl.C (validate): use const iterators
1827 * text.C (setHeightOfRow): use const iterators
1829 2004-05-17 Angus Leeming <leeming@lyx.org>
1832 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1834 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1835 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1836 if the citation engine has changed.
1838 2004-05-14 José Matos <jamatos@lyx.org>
1840 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1841 if the textclass does not provide it. Have it different for sgml and
1843 support the language of document.
1844 * output_docbook.C (docbookParagraphs):
1845 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1846 first anchor as the id of the paragraph, remove special case code.
1847 * sgml.C (escapeChar): escape only < & >.
1849 2004-05-14 Angus Leeming <leeming@lyx.org>
1851 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1852 dependencies on src/frontends/controllers/biblio.h. Define a
1853 CiteEngine_enum wrapper class to enable the enum to be forward
1856 2004-05-12 Angus Leeming <leeming@lyx.org>
1858 * buffer.C: up LYX_FORMAT to 234.
1859 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1860 use_numerical_citations with a single biblio::CiteEngine cite_engine
1862 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1864 2004-05-13 José Matos <jamatos@lyx.org>
1867 * converter.C (Converter, readFlags): add xml member.
1868 * outputparams.h: add XML flavor.
1869 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1871 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1873 * lyxfunc.C (dispatch):
1874 (getStatus): fix handling of LFUN_SEQUENCE
1876 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1878 * debug.C (showLevel): do not forget the end-of-line marker
1880 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1882 * kbmap.C (read): do not stop parsing a bind file when an error
1885 2004-04-29 Angus Leeming <leeming@lyx.org>
1890 * text2.C: wrap a bunch of #warning statements
1891 inside #ifdef WITH_WARNINGS blocks.
1893 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1895 * buffer.C: increment format to 233.
1897 2004-04-28 Angus Leeming <leeming@lyx.org>
1899 * BufferView_pimpl.C:
1902 s/updateToolbar()/updateToolbars()/
1903 s/Toolbar.h/Toolbars.h/
1905 2004-04-28 Angus Leeming <leeming@lyx.org>
1907 * BufferView.[Ch] (c-tor):
1908 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1909 No longer passes these data to the WorkArea generator.
1911 2004-04-28 Angus Leeming <leeming@lyx.org>
1913 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1915 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1917 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1919 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1921 * output_latex.C (TeXEnvironment): make sure that there is a line
1922 break before \end{foo} for the last paragraph of a document
1923 (TeXOnePar): if the paragraph is at the end of the document (or
1924 inset) and the language has to be reset, then make sure that the
1925 line break is _before_ the language command, not after (fixes bug
1926 1225); also make sure that the language reset command is the first
1927 thing after the paragraph (to ensure proper nesting of
1928 environments and thus fix bug 1404)
1930 2004-04-21 John Levon <levon@movementarian.org>
1933 * ToolbarBackend.C: make "name" be a programmatic name
1934 and a gui_name field.
1936 * lyxfunc.C: display the minibuffer on M-x
1938 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1940 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1943 2004-04-19 Angus Leeming <leeming@lyx.org>
1945 * BufferView_pimpl.C (setBuffer): changed preview interface.
1947 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1950 2004-04-19 John Levon <levon@movementarian.org>
1952 * BufferView_pimpl.C:
1953 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1955 2004-04-05 Angus Leeming <leeming@lyx.org>
1957 * text.C (redoParagraphs): add call to updateCounters(), thereby
1958 fixing the missing "Figure #:" label from the caption of a
1961 2004-04-13 Angus Leeming <leeming@lyx.org>
1963 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1964 cursor is clicked out of an inset.
1966 2004-04-13 Angus Leeming <leeming@lyx.org>
1968 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1969 than an InsetOld one.
1971 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1973 * format.[Ch]: add editor to Format
1974 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1975 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1977 2004-04-08 André Pönitz <poenitz@gmx.net>
1979 * metricsinfo.h: remove PainterInfo::width member
1981 2004-04-08 Angus Leeming <leeming@lyx.org>
1983 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1984 "\providecommand" rather than "\newcommand", thereby preventing
1985 clashes with packages that define "\boldsymbol" themselves.
1988 2004-04-08 Angus Leeming <leeming@lyx.org>
1990 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1991 thereby squashing an unnecessary warning.
1993 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1995 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1998 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2000 * BufferView.C (setCursor): call redoParagraph (some insets could
2002 (putSelectionAt): remove the 'double update' trick
2004 * BufferView_pimpl.C (fitCursor): call refreshPar
2005 (workAreaDispatch): remove an uneeded update call
2006 (dispatch): remove some manual update calls
2008 * cursor.[Ch]: remove cached_y_, updatePos
2009 (selHandle): set noUpdate when appropriate
2011 * lyxfunc.C (dispatch): track if we need an update
2013 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2015 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2016 (paintSelection): cheap optimization, do not call cursorX when not
2018 (paintPars): change signature
2021 (paintTextInset): adjust
2025 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2027 * lengthcommon.C: compilation fix: remove explicit array size from
2028 unit_name[] and friends
2030 2004-04-05 Angus Leeming <leeming@lyx.org>
2032 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2034 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2035 present only for the preferences dialog.
2036 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2038 2004-04-05 Angus Leeming <leeming@lyx.org>
2040 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2041 to enable the frontends to export changes to lyxrc correctly.
2043 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2045 2004-04-07 André Pönitz <poenitz@gmx.net>
2047 * cursor.[Ch] (selClear, adjust): remove math
2049 * cursor_slice.C: more agressive assert
2052 * BufferView_pimpl.C: rework mouse event dispatch
2059 2004-04-05 André Pönitz <poenitz@gmx.net>
2061 * cursor.[Ch] (valign, halign...): remove unneeded functions
2063 2004-04-05 Angus Leeming <leeming@lyx.org>
2065 * lyxlength.[Ch] (unit_name et al.): const-correct.
2067 2004-04-05 Angus Leeming <leeming@lyx.org>
2069 * BufferView_pimpl.C:
2078 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2080 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2082 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2084 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2086 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2087 * BufferView_pimpl.[Ch] (getStatus)
2088 * BufferView.[Ch] (getStatus): add
2089 * lyxfunc.C (getStatus): move lfuns handled in
2090 BufferView::dispatch to te function above
2091 * Cursor.C (setSelection): set selection() = true
2093 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2095 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2097 2004-03-31 Angus Leeming <leeming@lyx.org>
2099 * lyxfunc.C (dispatch): Fall through to the generic
2100 Dialogs::show("preamble").
2102 2004-03-31 Angus Leeming <leeming@lyx.org>
2104 * lyxfunc.C (dispatch): Fall through to the generic
2105 Dialogs::show("spellchecker").
2107 2004-03-31 Angus Leeming <leeming@lyx.org>
2109 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2112 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2117 * insetiterator.[Ch]:
2122 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2124 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2126 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2127 insets where we are putting the cursor.
2129 2004-03-31 Angus Leeming <leeming@lyx.org>
2132 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2134 * lyxrc.[Ch] (read, write): overloaded member functions taking
2135 a std::[io]stream arguments.
2137 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2139 2004-03-31 Angus Leeming <leeming@lyx.org>
2141 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2142 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2144 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2145 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2147 2004-03-31 Angus Leeming <leeming@lyx.org>
2149 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2150 the LFUN_ALL_INSETS_TOGGLE code.
2152 2004-03-30 Angus Leeming <leeming@lyx.org>
2154 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2155 has died. Fall through to the generic Dialogs::show("document").
2157 2004-03-30 Angus Leeming <leeming@lyx.org>
2160 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2161 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2163 * lyxfunc.C (getStatus, dispatch): define the actions for these
2164 lfuns. Little more than a cut and pste job from ControlDocument.C
2166 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2168 2004-03-30 Angus Leeming <leeming@lyx.org>
2171 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2172 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2174 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2175 open/closed state of ollapsable insets. Usage:
2177 all-inset-toggle <state> <name>, where
2178 <state> == "open" || "closed" || "toggle" and
2179 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2181 * lyxtext.h, text2.C (toggleInset): removed.
2183 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2184 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2185 now passes LFUN_INSET_TOGGLE to the found inset.
2187 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2188 is now invoked as "all-insets-toggle toggle branch".
2190 2004-03-30 Angus Leeming <leeming@lyx.org>
2194 * pariterator.[Ch]: added/corrected header blurb.
2196 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2198 * dociterator.[Ch]: add an inset_ member
2199 (backwardPos): implemented
2200 (backwardPos, forwardPos): use inset_ when the stack is empty.
2201 (doc_iterator_begin, doc_iterator_end): implemented
2202 * pariterator.[Ch]: adjust, add begin, end
2203 * insetiterator.[Ch]: adjust, add begin, end
2207 * BufferView_pimpl.C:
2208 * CutAndPaste.C: adjust
2210 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2212 * buffer.C: increment file format to 232.
2213 * LaTeXFeatures.C: add bibtopic package.
2214 * bufferparams.[Ch]: param \use_bibtopic.
2216 * lyxrc.[Ch]: add lyxrc bibtex_command
2217 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2219 * buffer.C: increment file format to 231.
2221 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2223 * dociterator.C: implement forwardPar
2224 * iterators.[Ch]: remove, replaced by
2225 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2227 * BufferView_pimpl.C:
2230 * bufferview_funcs.C:
2236 * Makefile.am: adjust
2238 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2240 * CutAndPaste.C (pasteSelection): fix 2 crashes
2241 (eraseSelection): fix a crash
2242 * paragraph_funcs.C: remove a warning
2244 2004-03-28 Angus Leeming <leeming@lyx.org>
2247 * LyXAction.C (init): new LFUN_PRINT.
2249 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2251 2004-03-27 Angus Leeming <leeming@lyx.org>
2254 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2256 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2258 2004-03-27 Angus Leeming <leeming@lyx.org>
2260 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2261 insetlist always contains non-null pointers to insets.
2263 2004-03-26 Angus Leeming <leeming@lyx.org>
2265 * src/BufferView_pimpl.C:
2266 * src/CutAndPaste.C:
2269 * src/output_plaintext.C:
2270 * src/outputparams.h:
2271 * src/paragraph_funcs.C:
2275 * src/frontends/controllers/ControlErrorList.C:
2276 * src/frontends/gtk/FileDialogPrivate.C:
2277 * src/frontends/gtk/GPainter.C:
2278 * src/frontends/gtk/GToolbar.C:
2279 * src/frontends/qt2/QRef.C:
2280 * src/mathed/math_scriptinset.C: squash compiler warnings.
2282 2004-03-26 Angus Leeming <leeming@lyx.org>
2284 * ispell.C (LaunchIspell::start):
2285 * lyx_cb.C (AutoSaveBuffer::start):
2286 invoke run(DontWait) rather than runNonBlocking().
2288 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2290 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2292 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2294 * kbsequence.C (print): adjust
2296 * kbmap.C (printKeySym): rename and change signature
2297 (printKey): use LyXKeySym::print()
2299 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2301 * undo.C: add using std::advance to compile for stlport
2303 2004-03-24 Angus Leeming <leeming@lyx.org>
2305 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2306 it leads to a crash when no buffer is present.
2308 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2309 Martin Vermeer <martin.vermeer@hut.fi>
2311 * lyxfunc.C (dispatch):
2312 * bufferparams.C (readToken): use the new LColor::setColor
2314 * LColor.[Ch] (setColor): new version that takes two strings as
2315 argument and creates a new color entry if necessary
2317 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2319 * buffer.C (makeLaTeXFile): if the main latex file that is
2320 processed is usually a subdocument of some master, then pretend
2321 for a while that it is actually the master
2323 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2325 * buffer.C (getLabelList):
2326 (getBibkeyList): use getMasterBuffer()
2327 (getMasterBuffer): new method. Returns the main document in the
2328 case where one is using included documents.
2330 2004-03-25 André Pönitz <poenitz@gmx.net>
2334 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2336 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2338 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2339 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2341 * ParameterStruct.h: merge with ParagraphParameters
2343 * lyxtext.h: remove LyXText::parOffset() and getPar()
2345 * text3.C: Remove all 'manual' update calls. We do now one per user
2346 interaction which is completely sufficient.
2350 * BufferView_pimpl.C:
2351 * FontIterator.[Ch]:
2353 * ParagraphParameters.[Ch]:
2358 * cursor_slice.[Ch]:
2365 * output_docbook.[Ch]:
2366 * output_latex.[Ch]:
2367 * output_linuxdoc.[Ch]:
2368 * output_plaintext.[Ch]:
2370 * paragraph_funcs.[Ch]:
2371 * paragraph_pimpl.[Ch]:
2379 * frontends/controllers/ControlDocument.C:
2380 * frontends/controllers/ControlErrorList.C:
2381 * frontends/controllers/ControlSpellchecker.C:
2384 * insets/insetbase.h:
2385 * insets/insetbibitem.C:
2386 * insets/insetbox.C:
2387 * insets/insetbranch.C:
2388 * insets/insetcaption.C:
2389 * insets/insetcharstyle.C:
2390 * insets/insetcharstyle.h:
2391 * insets/insetcollapsable.C:
2392 * insets/insetcollapsable.h:
2393 * insets/insetert.C:
2394 * insets/insetfloat.C:
2395 * insets/insetfoot.C:
2396 * insets/insetmarginal.C:
2397 * insets/insetnote.C:
2398 * insets/insetoptarg.C:
2399 * insets/insettabular.C:
2400 * insets/insettext.C:
2401 * insets/insettext.h:
2402 * insets/insetwrap.C:
2403 * mathed/math_mboxinset.C:
2404 * mathed/math_nestinset.C:
2405 * mathed/math_scriptinset.C:
2406 * mathed/math_scriptinset.h:
2409 2004-03-24 Angus Leeming <leeming@lyx.org>
2411 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2412 deal with any child processes that have finished but are waiting to
2413 communicate this fact to the rest of LyX.
2415 2004-03-24 Angus Leeming <leeming@lyx.org>
2417 64-bit compile fixes.
2419 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2420 (c-tor): pass lyx::pos_types rather than ints.
2422 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2425 * text.C (Delete): compile fix.
2426 (getPar): ensure that function declaration is the same as that in
2429 2004-03-23 Angus Leeming <leeming@lyx.org>
2431 * ispell.C (LaunchIspell):
2432 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2433 a boost::shred_ptr rather than a std::auto_ptr.
2435 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2437 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2438 handle LFUN_FILE_INSERT_*
2440 * lyxrc.C (setDefaults, getDescription, output, read):
2441 * lyxrc.h: remove ps_command
2443 2004-03-22 Angus Leeming <leeming@lyx.org>
2445 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2446 Ensure that error_handler is processed once only and that all data
2447 is saved before attempting to output any warning messages.
2449 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2451 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2453 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2455 2004-03-19 André Pönitz <poenitz@gmx.net>
2457 * cursor.[Ch] (reset): take main text inset as argument
2459 * BufferView: adjust
2460 * BufferView_pimpl.C: adjust
2462 * paragraph.[Ch]: fix completely broken operator=()
2464 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2466 * LColor.C (getFromLyXName): make sure that the color name is used
2469 2004-03-17 Angus Leeming <leeming@lyx.org>
2472 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2474 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2475 dialog and to kill a forked process.
2477 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2479 * text2.C (setCursorFromCoordinates): fix font problem
2481 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2483 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2484 bogus "rebuild cursor" code
2486 2004-03-11 André Pönitz <poenitz@gmx.net>
2488 * buffer.[Ch]: use InsetText instead of LyXText as container for
2491 * dociterator.[Ch]: drop the BufferView * member which is not needed
2492 anymore after the change to buffer.C
2494 * paragraph_funcs.C:
2498 * BufferView_pimpl.[Ch]:
2500 * cursor_slice.[Ch]: adjust
2502 * text3.C: fix bug in mathDispatch
2504 2004-03-08 André Pönitz <poenitz@gmx.net>
2506 * undo.[Ch]: use 'StableDocumentIterator' as base for
2509 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2512 * bufferparams.[Ch]: add jurabib support and param.
2514 * LaTeX.C: add FIXME/comment.
2516 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2518 * buffer.C: increment file format to 230.
2520 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2522 * cursor.C (dispatch): avoid infinite loops
2524 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2526 * rowpainter.C (paintSelection): fix x coordinates
2528 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2530 * text.C (rowBreakPoint): fix breaking before displayed insets
2532 2004-03-01 André Pönitz <poenitz@gmx.net>
2534 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2536 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2540 * BufferView_pimpl.C:
2548 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2554 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2555 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2557 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2559 * Bidi.[Ch] (computeTables): const correctness
2560 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2561 fill_hfill, fill_label_hfill and x from Row
2562 * lyxtext.h: prepareToPrint returns a RowMetrics
2563 * rowPainter.C: adjust
2564 * text.C (prepareToPrint): use width, not textWidth. adjust
2565 (redoParagraphInternal, cursorX): adjust
2566 * text2.C (getColumnNearX): adjust
2567 (init): put a default value to the top LyXText::width
2569 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2571 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2573 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2575 * lyxtext.h: add FontIterator class
2577 * text.C (FontIterator, operator*, operator->, operator++): add
2578 (rowBreakPoint, setRowWidth): adjust (fixing a
2581 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2583 * BufferView_pimpl.C (workAreaDispatch): allow also
2584 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2586 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2588 * text.C (rowBreakPoint): fix a bug showing with very large insets
2590 2004-02-25 André Pönitz <poenitz@gmx.net>
2593 * cursor.[Ch]: move some mathed specific code to mathed
2595 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2597 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2598 use_tempdir in preferences
2599 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2601 * lyx_main.C: ensure that tempdir is valid
2602 * lyxlex.h: correct typo
2603 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2604 * paragraph.[Ch] (isMultiLingual): make const
2605 * cursor.[Ch] (openable): make const
2607 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2609 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2611 2004-02-20 André Pönitz <poenitz@gmx.net>
2613 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2615 * cursor.[Ch]: prepare for localized getStatus()
2621 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2623 2004-02-20 André Pönitz <poenitz@gmx.net>
2625 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2627 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2629 * text2.C (setCursorFromCoordinates): switch to absolute coords
2631 (cursorDown): adjust
2632 * text3.C (dispatch): adjust
2634 2004-02-16 André Pönitz <poenitz@gmx.net>
2636 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2639 * cursor_slice.[Ch]: remove unneeded acessor function
2641 * lyxtext.h: rename rtl() to isRTL()
2649 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2651 * rowpainter.C (paintSelection): coord fix
2653 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2655 * Spacing.C: compile fix
2657 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2659 * cursor.C (dispatch): restore current_ before returning
2661 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2663 * text2.C (cursorUp, cursorDown): fix coords
2666 2004-02-12 André Pönitz <poenitz@gmx.net>
2671 * text3.C: add LCursor & parameter to most cursor movement functions
2672 remove usage of LyXText::cursorRow() and cursorPar()
2674 * cursor.[Ch]: add textRow() needed members
2677 * BufferView_pimpl.C:
2680 * BufferView_pimpl.C: adjust
2682 2004-02-11 André Pönitz <poenitz@gmx.net>
2686 * BufferView_pimpl.C: shift undo/redo handling
2688 * cursor.[Ch]: fix mathed crash
2691 * lyxtext.h: move selectionAsText to LCursor
2699 * rowpainter.C: fix excessive drawing
2701 2004-02-06 André Pönitz <poenitz@gmx.net>
2704 * BufferView_pimpl.[Ch]:
2705 * text3.C: move some text specific LFUN handling
2707 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2709 * text3.C (checkInsetHit): adjust coords
2710 * text2.C (getColumnNearX): adjust coords
2711 (edit): adjust coords
2712 * text.C (getRowNearY): add two asserts
2714 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2717 * format.C: add using std::distance to compile on gcc 2.95/stlport
2719 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2721 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2723 2004-02-04 André Pönitz <poenitz@gmx.net>
2725 * BufferView.[Ch] (insertInset):
2726 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2731 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2733 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2734 on the default clause of the switch
2735 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2736 wasn't catched by LCursor::dispatch
2738 2004-02-03 André Pönitz <poenitz@gmx.net>
2741 * cursor.[Ch]: some additional asserts
2743 * undo.[Ch]: remove LyXText dependency in interface
2747 * lyxtext.h (firstPar, lastPar): remove dead functions
2752 * paragraph.[Ch]: adjust
2754 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2756 * lyxfind.C (find): fix argument order in call to ::find
2758 2004-02-02 André Pönitz <poenitz@gmx.net>
2760 * cursor.[Ch]: remove direct access to anchor
2762 * text.C: remove findText() hack
2764 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2766 * iterators.[Ch] (lockPath): remove in favour of...
2767 * BufferView.[Ch] (setCursor): this addition
2768 * BufferView.C (putSelectionAt): adjust
2769 * undo.C (performUndoOrRedo): adjust
2770 * lyxfunc.C (dispatch): adjust
2772 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2774 * iterators.C (lockPath): add a missing slice
2775 * undo.C (performUndoOrRedo): remove redundant positioning code
2777 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2779 * vc-backend.C (scanMaster): ";" -> ';'
2781 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2783 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2784 std::binary_function
2786 * lyxtextclass.C (compare_name): rename to...
2787 (LayoutNamesEqual): ...this
2789 * lyxlex_pimpl.C (compare_tags): inherit from
2790 std::binary_function, put back into anon namespace
2792 * lyxfind.C (MatchString): inherig from std::binary_function
2793 (findChange): use empty() istead of !size()
2795 * format.C (FormatNamesEqual): new functor
2802 * converter.C (compare_Converter): rename to...
2803 (ConverterEqual): ...this, and fixup a bit.
2804 (getConverter): use it, and make function const
2805 (getNumber): use it, and make function const
2809 * bufferlist.C: add using boost::bind
2811 * MenuBackend.C (MenuNamesEqual): new functor
2812 (hasMenu): use it, and make function const
2813 (hasSubmenu): use nested bind to get rid of compare_memfun.
2815 2004-01-30 André Pönitz <poenitz@gmx.net>
2817 * BufferView_pimpl.C:
2820 * cursor_slice.[Ch]:
2823 * paragraph_funcs.C:
2824 * paragraph_funcs.h:
2828 * text3.C: move some of the edit(x,y) handling to the insets
2829 some coordinate changes.
2831 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2833 * text.C: add using statements for std::advance and std::distance
2835 * paragraph.C: add using statement for std::distance
2837 * lyxfind.C: add using statement for std::advance
2839 * cursor.C (region): remove std:: from swap
2840 (openable): use nucleus in stead of operator->
2842 * BufferView.C: add using statements for std::distance and std::swap
2844 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2846 * iterators.C: Remove the pimple, move the needed structures to
2847 the header file. Create accessor for the positions stack.
2848 (asPosIterator): remove function
2850 * PosIterator.C (PosIterator): move constructors to top of file
2851 (PosIterator): reimplement the constructor taking a ParIterator in
2853 (setFrom): new function
2854 (operator!=): inline it
2856 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2858 * lyxfind.C (replaceAll): use std::advance
2860 * iterators.h: inherit from std::iterator.
2862 * PosIterator.C (advance, distance): remove
2863 * PosIterator.h: interit from std::iterator.
2865 2004-01-26 André Pönitz <poenitz@gmx.net>
2868 * BufferView_pimpl.[Ch]:
2872 * bufferview_funcs.C:
2882 * output_linuxdoc.C:
2883 * output_plaintext.C:
2885 * paragraph_funcs.[Ch]:
2886 * paragraph_pimpl.[Ch]:
2892 * text3.C: more IU: dumps most of the rest of the mathcursor
2893 implementation into cursor.[Ch]; "globalize" a bit of it.
2895 2004-01-25 Angus Leeming <leeming@lyx.org>
2897 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2899 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2901 * LaTeXFeatures.h: add nice_ and nice() const
2902 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2904 2004-01-20 André Pönitz <poenitz@gmx.net>
2907 * BufferView_pimpl.C:
2909 * bufferview_funcs.C:
2911 * cursor_slice.[Ch]:
2922 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2923 LCursor and mathcursor parts to LCursor and InsetBase.
2925 2004-01-15 André Pönitz <poenitz@gmx.net>
2927 * cursor_slice.[Ch]: add a few covienience functions
2929 * funcrequest.[Ch]: remove BufferView * member
2931 * BufferView_pimpl.C:
2938 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2940 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2942 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2943 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2945 2004-01-13 André Pönitz <poenitz@gmx.net>
2948 * lyxtext.h: hide cursor and selection anchor behind accessor function
2951 * BufferView_pimpl.[Ch]:
2953 * bufferview_funcs.C:
2963 * cursor_slice.[Ch]: some integer type changes for inset unification
2965 * lyxcursor.[hC]: remove, it's CursorSlice now.
2968 * BufferView_pimpl.[Ch]:
2969 * bufferview_funcs.C:
2975 * textcursor.[Ch]: adjust
2977 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2979 * text2.C (undoSpan): add and use
2980 * text.C (breakParagraph): use undoSpan (fix bug 578)
2983 2004-01-08 Angus Leeming <leeming@lyx.org>
2985 * BufferView_pimpl.C (MenuInsertLyXFile):
2986 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2987 * lyxfunc.C (menuNew, open, doImport):
2988 FileFilterList change to the FileDialog open and save functions.
2990 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2992 * ShareContainer.h: make isEqual and isUnique adaptable
2994 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2996 2004-01-07 Angus Leeming <leeming@lyx.org>
2999 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3001 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3003 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3004 functions replacing find, replace and replaceAll.
3006 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3007 LFUN_WORDFIND(FORWARD|BACKWARD).
3009 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3011 * text.C (breakParagraph): remove an outdated #warning
3013 2004-01-07 André Pönitz <poenitz@gmx.net>
3015 * lyxfind.C: somewhat clearer logic
3017 * text.C: prevent crash in cursorX on unitialized row cache
3019 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3021 * lyxcursor.[Ch] (operator>): add
3022 * textcursor.C (selStart, selEnd): use std::min and std::max
3024 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3026 * Chktex.C: include boost/format.hpp
3028 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3030 * InsetList.C: replace functor MathcIt with adaptable functor
3032 (insetIterator): modify accordingly
3034 * BranchList.h: move the BranchNamesEqual functor here from...
3035 * BranchList.C: ... to here
3037 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3039 (add): replace a finding loop with std::find_if.
3041 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3043 * output_docbook.C: moving LatexParam functionality into
3046 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3048 * buffer.C: increment format to 229.
3050 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3053 * lyx_sty.[Ch]: remove minipageindent_def
3059 * text3.C: remove LFUN_INSET_MINIPAGE
3061 2003-12-28 Angus Leeming <leeming@lyx.org>
3063 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3065 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3067 * text2.C (setParagraph): fix off-by-one crash
3069 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3071 * output_docbook.C: header stuff for AGU
3073 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3075 * text2.C (redoCursor): remove
3078 * BufferView_pimpl.C: remove calls to redoCursor and
3079 setCursor(cursor.par(), cursor.pos()) all around
3081 2003-12-15 Angus Leeming <leeming@lyx.org>
3083 * buffer.C: up the format to 228.
3085 2003-12-15 André Pönitz <poenitz@gmx.net>
3087 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3092 * BufferView_pimpl.C:
3101 2003-12-15 Angus Leeming <leeming@lyx.org>
3103 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3104 than getFromGUIName to manipulate the color.
3106 2003-12-14 Angus Leeming <leeming@lyx.org>
3108 * BranchList.[Ch]: minimize the API.
3109 (Branch::getBranch, getColor): now return a 'const &'.
3110 (Branch::setSelected) now returns a bool set to true if the
3111 selection status changes.
3112 (BranchList::clear, size, getColor, setColor, setSelected,
3113 allBranches, allSelected, separator): removed.
3114 (BranchList::find): new functions, returning the Branch with
3116 (BranchList::add, remove): return a bool indicating that
3117 the operation was successful.
3119 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3120 new InsetBranch::isBranchSlected member function.
3122 * LColor.[Ch]: mimimize the API.
3123 (fill): renamed as addColor and made private.
3124 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3125 versions of these functions taking a string arg have been removed.
3127 * bufferparams.C (readToken):
3128 * lyxfunc.C (dispatch):
3129 * lyxrc.C (read): changes due to the altered BranchList and
3132 * factory.C (createInset, readInset): changes due to altered
3135 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3138 * lyxfunc.C: remove insetminipage. "minipage-insert"
3139 now produces a frameless minipage box inset.
3141 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3143 * textcursor.[Ch] (selStart,selEnd): add new methods
3144 remove selection::start, end, use LyXCursor::operator<
3145 * lyxcursor.[Ch] (operator<): add
3146 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3147 * BufferView.[Ch] (unsetXSel): add
3148 * text2.C (clearSelection): use unsetXSel,adjust
3151 * rowpainter.C: adjust
3152 * bufferview_funcs.C (put_selection_at): adjust
3154 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3156 * BufferView_pimpl.C: small coord. correction
3158 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3160 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3161 dragging over the splash screen.
3163 2003-12-11 Angus Leeming <leeming@lyx.org>
3165 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3166 as it is now handled in LyXText::dispatch.
3168 * text3.C (doInsertInset): remove a level of nesting.
3170 2003-12-11 Angus Leeming <leeming@lyx.org>
3172 * factory.C (createInset): changes due to the changed interface to
3173 InsetCommandMailer::string2params.
3175 2003-12-10 Angus Leeming <leeming@lyx.org>
3177 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3178 'dialog-show-new-inset <inset name>'
3180 2003-12-10 Angus Leeming <leeming@lyx.org>
3182 * buffer.C: up the format to 227.
3184 * factory.C: the box inset is now identified simply by 'Box'.
3186 2003-12-10 Angus Leeming <leeming@lyx.org>
3188 * buffer.C: up the format to 226.
3190 * factory.C: the note inset is now identified simply by 'Note'.
3192 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3194 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3195 when a pit is enough. Standarize a couple of loops.
3197 2003-12-05 Angus Leeming <leeming@lyx.org>
3199 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3200 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3201 data to the re-worked "log" dialog.
3203 2003-12-03 André Pönitz <poenitz@gmx.net>
3209 * paragraph_funcs.C:
3211 * text2.C: use Inset::getText instead of Inset::getParagraph
3213 2003-12-03 André Pönitz <poenitz@gmx.net>
3217 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3218 InsetText::read() as LyXText::read()
3220 2003-12-02 Angus Leeming <leeming@lyx.org>
3222 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3223 type. Add a comment in the implementation that the function uses
3224 the stream's bad() function rather than fail() as the std::streams
3227 2003-12-02 André Pönitz <poenitz@gmx.net>
3229 * lyxlex.[Ch]: make interface more similar to std::stream
3231 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3233 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3235 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3237 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3239 * vspace.[Ch]: remove VSpace::NONE
3241 2003-12-01 André Pönitz <poenitz@gmx.net>
3244 * lyxtext.h: move ParagraphList member to LyXText
3245 rename LyXText::ownerParagraphs to LyXText::paragraph
3248 * bufferview_funcs.C:
3258 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3260 * undo.C: fix cursor positioning
3262 2003-12-01 John Levon <levon@movementarian.org>
3264 * BufferView_pimpl.C: fix a crash on exit with
3267 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3269 * BranchList.C: fix setSelected() method.
3271 2003-11-28 André Pönitz <poenitz@gmx.net>
3273 * ParagraphParameters.[Ch]:
3274 * ParameterStruct.h: remove space above/below from Paragraph to
3277 * BufferView_pimpl.C:
3283 * paragraph_funcs.C:
3289 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3291 * factory.C: Syntax change for CharStyles
3293 2003-11-28 André Pönitz <poenitz@gmx.net>
3298 * buffer.[Ch]: move LyXText member
3300 2003-11-28 André Pönitz <poenitz@gmx.net>
3302 * BufferView.[Ch]: make LyXText * text a private member
3304 * BufferView_pimpl.C:
3315 * output_plaintext.C: cleanup
3317 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3320 * lyxtextclass.[Ch]: parametrize SGML document header
3322 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3325 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3328 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3330 * text2.C (setFont): rework using PosIterator (no more recursive)
3331 (setCharFont): no more needed
3332 (setLayout): no more selection cursors fiddling (done by redoCursor)
3333 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3334 destroy remaining ones)
3336 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3338 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3340 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3343 * text3.C: adjust + re-allow multi par depth changes
3344 * textcursor.C: simplify a bit
3346 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3352 * src/output_docbook.C:
3353 * src/output_latex.C:
3358 * src/text2.C: Introducing a number of tags parametrizing various
3359 XML formats that we may want to support
3361 2003-11-25 André Pönitz <poenitz@gmx.net>
3363 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3365 * lyxtext.h (leftMargin/rightMargin): simplify interface
3372 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3374 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3375 master file to any child files. Fixes bug 546.
3377 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3379 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3381 2003-11-24 André Pönitz <poenitz@gmx.net>
3383 * rowpainter.C: simplification
3385 * text2.C (updateCounters): remove call to redoParagraph on
3386 changed labels as this is far too expensive.
3388 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3390 * converter.C (convert): fix a crash: this function gets
3391 called with buffer == 0 from importer code.
3393 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3395 * text3.C (cursorPrevious): make sure that we do not compare
3396 iterators form different containers.
3399 * rowpainter.C (paintSelection): make sure that we do not compare
3400 iterators from different containers.
3402 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3403 iterators from different ParagraphList containers.
3406 * text2.C (LyXText): change order of initialization slightly
3407 (operator=): new function. copy all variables except cache_par_
3408 (moveUp): make sure that we do not compare iterators from
3409 different ParagraphList constainers.
3412 * text.C (firstPar): new function
3413 (lastPar): new function
3414 (endPar): new function
3416 * lyxtext.h: move things around and group public functions, public
3417 variables, private functions, private variables
3419 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3421 * factory.C: change call to InsetERT constructor to avoid
3422 additional invocation of method status
3423 * text2.C (toggleInset): remove redundant update() call
3424 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3425 instead of a Bufferview pointer
3427 2003-11-21 André Pönitz <poenitz@gmx.net>
3429 * rowpainter.C: simplification
3431 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3433 * text3.C (dispatch): make possible to extend a word/row selection
3436 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3438 * lyxtext.h: x0_,y0_ -> xo_,yo_
3439 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3440 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3441 * rowpainter.C (paintRows): paint full paragraphs
3443 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3445 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3448 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3450 * lyxtext.h: add x0_, y0_
3451 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3452 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3454 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3456 * text2.C (setCursorIntern): move the x_target update here *
3457 * text3.C: change some bv() to true/false in calls to
3458 cursorUp/Down/Right/Left
3459 * cursor.C: use helper function.
3461 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3463 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3464 * paragraph_funcs.[Ch]: correct comment
3465 * rowpainter.C: do not paint selections away from bv->cursor()
3466 Fix a long standing selection painting bug.
3467 * text3.C: generalize mouse-selection code to LyXTexts other that
3469 * textcursor.C: do not use y coords if we can use par offsets
3471 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3473 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3474 cursor position after e.g. inset insert)
3476 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3478 * lyxfind.C (replace): adjust to locking removal + some
3481 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3483 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3486 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3489 * output_docbook.C: XML sanitation: new layout
3490 parameters InnerTag and CommandDepth
3492 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3494 * BufferView_pimpl.C:
3496 * text3.C: Fix the insertion and modification of button-style
3499 2003-11-13 André Pönitz <poenitz@gmx.net>
3501 * InsetList.[Ch]: remove deleteLyXText
3503 * paragraph.[Ch]: cache beginOfBody position
3508 * text3.C: remove superfluous update() calls
3512 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3514 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3515 * BufferView.C (fitLockedInsetCursor): remove
3516 * cursor.[Ch] (getDim): add
3517 * text.C (getRowNearY): add faster version
3518 * text3.C: remove some update calls
3520 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3532 * text3.C: The Character Style /XML short element patch.
3534 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3537 * factory.C: Small step to solving 'unable to insert some insets'
3540 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3542 * cursor.[Ch] (updatePos): new function for updating the y
3543 position of the tip inset
3544 * bufferview_funcs.C (put_selection_at):
3545 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3547 2003-11-11 André Pönitz <poenitz@gmx.net>
3549 * text.C: remove big comment on invalid Paragraph pointers as it is
3552 2003-11-11 André Pönitz <poenitz@gmx.net>
3554 * text_funcs.[Ch]: merge with ...
3562 * Makefile.am: remove text_funcs.[Ch]
3564 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3566 * cursor.C (getPos): return absolute cached y coord
3568 * BufferView_pimpl.C (fitCursor): new simplistic code
3569 (workAreaDispatch): add a fitCursor call
3571 2003-11-10 André Pönitz <poenitz@gmx.net>
3574 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3576 2003-11-10 André Pönitz <poenitz@gmx.net>
3578 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3579 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3580 indicate that the cursor needs to leave an inset
3582 * lyxtext.h: remove inset locking
3584 * cursor.[Ch]: re-implement functionality provided by inset locking
3587 * BufferView_pimpl.[Ch]:
3589 * bufferview_funcs.[Ch]:
3601 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3603 * PosIterator.[Ch]: replace the stack with a vector, add inset
3605 * iterators.[C]: adjust
3607 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3609 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3611 * paragraph_funcs.C (readParToken): put the correct id in the
3612 error item, not the id of the top paragraph
3614 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3616 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3617 * bufferview_funcs.C (put_selection_at): use the above
3619 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3621 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3623 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3625 * output_linuxdoc.h:
3626 * output_plaintext.h:
3628 * output_docbook.h: add #include statements
3630 2003-11-05 José Matos <jamatos@lyx.org>
3632 * output_docbook.[Ch]:
3633 * output_latex.[Ch]:
3634 * output_linuxdoc.[Ch]:
3635 * output_plaintext.[Ch]: New files for output formats.
3636 * output.[Ch]: New file for helper functions.
3639 * paragraph_funcs.[Ch]: output functions moved to new files.
3641 * outputparams.h: rename of latexrunparams.h
3649 * paragraph_funcs.[Ch]:
3650 * paragraph_pimpl.[Ch]:
3651 * tabular.[Ch]: rename ascii to plaintext
3652 and LatexRunParams to OutputParams.
3654 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3656 * iterators.[Ch] (text): require bv argument
3657 * undo.C (recordUndo):
3658 * lyxfunc.C (dispatch):
3659 * bufferview_funcs.C (put_selection_at): adjust
3661 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3663 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3665 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3667 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3670 2003-11-04 André Pönitz <poenitz@gmx.net>
3672 * cursor.[Ch]: restructure
3675 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3677 * iterators.[Ch] (asCursor): remove
3679 * lfuns.h: remove LFUN_INSET_EDIT
3685 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3687 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3689 * lyxfind.[Ch]: complete overhaul
3690 * BufferView_pimpl.C:
3692 * paragraph.[Ch] (insert): add
3694 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3698 * text.C: remove dead spellcheck code
3700 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3702 * dispatchresult.h: add a val setter
3704 * cursor.C (dispatch): use a tempvar for data_[i]
3706 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3708 * PosIterator.[Ch]: compile fix
3710 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3712 * text.C (cursorPar): deactivate the cursor cache
3714 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3716 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3718 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3720 * text3.C (dispatch): adjust for new DisptchResult semantics.
3722 * lyxfunc.C (dispatch): handle update when return from
3723 Cursor::dispatch, adjust for new DispatchResult semantics.
3725 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3726 DispatchResult(true) mean to not update. Add class functions for
3727 setting dispatched and update, as well as reading.
3729 * cursor.C (dispatch): don't handle update here
3731 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3733 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3734 * trans_mgr.C: adjust
3736 * paragraph_funcs.C (readParToken): exception safety
3738 * lyxvc.h: store the vcs pointer in a scoped_ptr
3741 * lyxsocket.C (serverCallback): exception safety
3743 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3745 * ispell.C (clone): make it return a auto_ptr
3747 * factory.C (createInset): exception safety
3748 (readInset): exception safety
3750 * bufferlist.C (newBuffer): exception safety
3752 * Thesaurus.C (Thesaurus): use initialization for aik_
3754 * MenuBackend.C (expandToc): exception safety.
3756 2003-11-03 André Pönitz <poenitz@gmx.net>
3760 * bufferview_funcs.C: remove getInsetFromId()
3763 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3769 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3771 * PosIterator.C (distance, advance): new
3772 * bufferview_funcs.[Ch] (put_selection_at): new
3773 * iterators.[Ch] (lockPath): new
3775 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3777 * iterators.[Ch] (asPosIterator): added
3778 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3779 * PosIterator.[Ch]: added
3781 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * cursor.C (dispatch):
3786 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3788 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3789 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3790 contructor, add a class function dispatched. Remove operator>=
3792 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * debug.C: only use the default constructor for debugstream
3797 * main.C (main): include debug.h and setup the lyxerr streambuf
3800 2003-10-31 José Matos <jamatos@lyx.org>
3802 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3804 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3805 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3806 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3807 * paragraph_pimpl.C (simpleTeXSpecialC):
3808 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3809 add LatexRunParams argument.
3811 * exporter.C (Export): change call accordingly.
3813 * latexrunparams.h: add new member to take care of the other backends.
3814 2003-10-30 José Matos <jamatos@lyx.org>
3816 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3817 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3818 factorise code for paragraph output.
3820 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3823 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * text3.C (dispatch):
3826 * lyxfunc.C (dispatch):
3827 * cursor.C (dispatch):
3828 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3830 * dispatchresult.h: make the dispatch_result_t ctor explicit
3832 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3835 * buffer.C: small refactoring of docbook stuff
3837 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3839 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3842 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3845 operator dispatch_result_t, and operators for == != and >=
3847 * cursor.C (dispatch): adjust for operator dispatch_result_t
3848 removal. comment out call to update
3850 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3852 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3863 * dispatchresult.h: new file, DispatchResult broken out of
3866 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3868 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3870 * text.C (rowBreakPoint): put a hack inside #if 0
3872 2003-10-28 André Pönitz <poenitz@gmx.net>
3876 * paragraph_funcs.C:
3879 * text2.C: general cleanup (lots of small stuff)
3881 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3883 * text2.C (cursorEnd): simple fix to the "end key goes to one
3884 before the end on last row" bug
3886 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3888 * text.C (backspace): fix the "zombie characters"
3890 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3892 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3894 2003-10-27 André Pönitz <poenitz@gmx.net>
3896 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3898 * factory.C: handle new InsetPagebreak, InsetLine
3900 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3901 and move handling into new InsetPagebreak, InsetLine
3903 * BufferView_pimpl.C:
3905 * ParagraphParameters.C:
3906 * ParameterStruct.h:
3911 * paragraph_funcs.C:
3912 * paragraph_pimpl.C:
3918 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3921 * lyxrow_funcs.[Ch]:
3927 * text3.C: remove lastPos uses in favour of Row::endpos
3929 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3931 * undo.C (performUndoOrRedo): fix two crashes by setting a
3932 cursor by hand and reordering some calls. Use bv->lockInset instead
3933 of inset->edit because the latter loses cursor information
3935 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3937 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3939 (rowBreakPoint): fix width. change point to point + 1.
3940 Add a missing check.
3942 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3945 * lyxfunc.C: fix (at least partly) the problems
3946 with the Nav menu and headers inside branch insets
3949 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3951 * paragraph.C (getChar): add strong asserts
3953 * lyxrow_funcs.C (lastPos): remove hideous hack
3955 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3956 (fill): adjust to that (avoid an infinite loop)
3958 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3960 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3962 2003-10-23 André Pönitz <poenitz@gmx.net>
3964 * RowList_fwd.h: change list<> to vector<> to gain speed
3965 after suggestion from Alfredo
3967 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3969 * lyxtext.h: move the bidi stuff from here...
3972 * Bidi.[Ch]: ... to here
3974 2003-10-23 André Pönitz <poenitz@gmx.net>
3977 * text.C (isLastRow, isFirstRow): new functions
3979 * paragraph.h: new width cache member
3981 * rowpainter.C: replace RowList::iterator with Row & where possible
3983 * lyxfunc.C: replace several view()->text with a single call
3985 * toc.C: fix 'unused' warning
3987 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3990 when woring with stream::pos_type
3991 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3993 2003-10-22 André Pönitz <poenitz@gmx.net>
3996 * text.C: use Row & instead of RowList::iterator
3998 * lyxrow.h: rename end() to endpos()
4004 2003-10-22 Angus Leeming <leeming@lyx.org>
4006 * buffer.[Ch] (fully_loaded): new member function, returning true
4007 only when the file has been loaded fully.
4008 Used to prevent the premature generation of previews and by the
4009 citation inset to prevent computation of the natbib-style label.
4011 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4012 templates are all set up.
4014 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4016 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4018 * text.C: fixed an "oops" in the "is a bit silly"
4021 2003-10-21 André Pönitz <poenitz@gmx.net>
4023 * FuncStatus.[Ch]: small stuff, whitespace
4025 * lyxfont.[Ch]: operator<<() for debug reasons
4029 * lyxtext.h: whitespace, spelling
4031 * paragraph.C: naming of variables
4034 * text2.C: small stuff
4037 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4039 * text.C: (1) finish off the inset display() work;
4040 (2) fix the "is a bit silly" bug (accessing char
4043 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4045 * text.C: re-introduce display() for insets, fixing the
4046 various bugs (stretch of line above, math inset
4049 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4051 * text.C (rightMargin): remove spurious semicolon
4053 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4056 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4058 * text3.C: fix one crash due to wrong cursor def
4060 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4062 * vc-backend.C (scanMaster): make the regex static
4064 * LaTeX.C (scanAuxFile): make the regexs static
4066 * text3.C (doInsertInset, dispatch, dispatch):
4067 * text2.C (cursorUp, cursorDown):
4068 * text.C (selectNextWordToSpellcheck):
4069 * BufferView_pimpl.C (dispatch):
4070 * lyxfunc.C (dispatch): localDispatch -> dispatch
4072 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4074 * lyxsocket.C: include <cerrno>
4076 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4078 * lyxfunc.C (dispatch): remove textcache stuff
4080 * bufferlist.C (release): remove textcache stuff
4083 * TextCache.C: delete file
4084 * TextCache.h: delete file
4086 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4088 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4089 delete of the bv_->text.
4090 (resizeCurrentBuffer): remove texcache stuff
4091 (workAreaResize): ditto
4093 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4095 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4098 2003-10-16 André Pönitz <poenitz@gmx.net>
4105 * text3.C: speed up by storing y positions per paragraph plus per-row
4106 offset instead of having a 'full' y position in the row.
4108 2003-10-15 André Pönitz <poenitz@gmx.net>
4112 * undo.[Ch]: make undo aware of inner insets
4114 2003-10-14 Angus Leeming <leeming@lyx.org>
4116 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4117 static member functions LyX::ref() and LyX::cref.
4118 (lastfiles): new accessor functions for the new lastfiles_ member var.
4119 (addLyXView, views_): add a new LyXView to the list of views_.
4120 (updateInset): loop over all LyXViews to call their own updateInset
4121 member function, returning a pointer to the Buffer owning the inset.
4123 * BufferView_pimpl.C (loadLyXFile):
4124 * MenuBackend.C (expandLastfiles):
4125 * bufferlist.C (MenuWrite, QuitLyX):
4126 lastfiles is no longer a global variable.
4127 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4129 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4130 static function. Access through LyX::cref().emergencyCleanup().
4132 2003-10-14 André Pönitz <poenitz@gmx.net>
4134 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4136 * undo.[Ch]: restoring part of 'undo in insets'
4139 * undo_funcs.[Ch]: merge with undo.[Ch]
4141 * tabular.C: small cleansing stuff
4143 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4145 * paragraph_funcs.C (readParToken): report unknown insets as error
4146 boxes. Use the outer paragraph as location (also for unknown
4149 * factory.C (readInset): do not abort on reading an unknown inset.
4150 Eat it and return 0.
4152 2003-10-13 Angus Leeming <leeming@lyx.org>
4154 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4156 * lyxrc.C: displayTranslator is now a function,
4157 declared in GraphicsTypes.h.
4159 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4161 * format.C: new placeholder $$a to pass the socket address.
4163 * bufferlist.[Ch]: new function getBufferFromTmp.
4165 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4166 files in the temporary dir.
4168 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4170 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4172 * Makefile.am: add lyxsocket.[Ch].
4174 * lyx_main.C (error_handler): handle SIGPIPE.
4176 2003-10-13 André Pönitz <poenitz@gmx.net>
4178 * BufferView_pimpl.C:
4183 * undo_funcs.[Ch]: use paroffset_type instead of
4184 ParagraphList::iterators to prevent multiple conversion
4185 (and get a more robust interface)
4187 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4191 * text3.C (dispatch): ditto
4193 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4196 move the onlyfile, use onlyfile instead of foundfile in a couple
4199 * DepTable.C (update): flush the error stream a bit more
4201 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * lyxserver.C (callback): adjust
4205 * lyxfunc.C (getStatus): add a missing brace in commented code
4206 (ensureBufferClean): reindent
4207 (dispatch): delete version taking a string
4209 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4211 * LaTeX.C (deplog): move found file handlig from here...
4212 (handleFoundFile): .. to new function here.
4213 (deplog): make sure to discover several files mentioned on the
4216 2003-10-10 André Pönitz <poenitz@gmx.net>
4223 * text3.C: fix some of the tabular crashes
4225 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4227 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4229 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4231 2003-10-09 André Pönitz <poenitz@gmx.net>
4233 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4236 * BufferView_pimpl.C:
4237 * bufferview_funcs.C:
4248 * undo_funcs.C: adjust
4250 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * text2.C (incrementItemDepth): new function, use a backtracking
4253 algorithm to discover the correct item depth.
4254 (resetEnumCounterIfNeeded): new function, use a backtracking
4255 algorithm to discover if counter reset is needed.
4256 (setCounter): use them. Simplify a bit. Add different labels for
4257 different item depths for itemize.
4259 * paragraph.C (Paragraph): remove initialization of enumdepth
4262 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4263 enumerate and itemize. Change the type of itemdepth to signed char.
4265 2003-10-08 André Pönitz <poenitz@gmx.net>
4267 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4272 * tabular.[Ch]: fix crash after 'row-insert'
4274 2003-10-08 Angus Leeming <leeming@lyx.org>
4276 Fix doxygen warnings.
4278 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4279 Remove CutAndPaste:: prefix from header file declaration.
4281 * LColor.h (fill): remove LColor:: prefix from declaration.
4283 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4284 use lyx::depth_type rather than Paragraph::depth_type so that
4285 header file and .C file match.
4287 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4289 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4290 * aspell.C: \file aspell_local.C -> \file aspell.C
4291 * gettext.C: \file gettext.C -> \file src/gettext.C
4292 * gettext.h: \file gettext.h -> \file src/gettext.h
4293 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4294 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4295 * text.C: \file text.C -> \file src/text.C
4297 * toc.C: move comment so that doxygen is not confused.
4299 2003-10-07 Angus Leeming <leeming@lyx.org>
4301 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4303 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4306 * aspell_local.h: add forgotten std::string's.
4308 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4315 * text3.C: The Box patch. Fancybox support, minipage, parbox
4317 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4323 * ParagraphParameters.h:
4333 * lyxtextclasslist.h:
4336 * paragraph_pimpl.C:
4337 * textcursor.h: add <string> and other small fixes to make Lars'
4338 std::string patch compile with STLport.
4340 2003-10-06 Angus Leeming <leeming@lyx.org>
4342 * LColor.h: Add missing #include <string>.
4344 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4346 * All most all file in all subdirs: Make <string> be the prefered
4347 way of getting to std::string, add using declarations.
4349 2003-10-06 André Pönitz <poenitz@gmx.net>
4351 * metricsinfo.C: initialize LyXFont before changing attribute.
4352 (fixes the 'math in \emph is upright' bug)
4354 2003-10-06 André Pönitz <poenitz@gmx.net>
4356 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4358 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4361 * paragraph_pimpl.C: Small fixes to build using STLport
4363 2003-10-02 André Pönitz <poenitz@gmx.net>
4366 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4368 2003-10-01 André Pönitz <poenitz@gmx.net>
4370 * factory.C: assert early
4372 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * lyx_main.C: remove the global debug object
4376 * debug.h: adjust for new debugstream
4378 * debug.C: adjust for new debugstream and keep the global debug
4381 2003-09-22 Angus Leeming <leeming@lyx.org>
4383 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4384 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4385 an incomplete class LyXFont.
4387 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4389 * factory.C: bug fix in branches
4391 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4393 * lyxfunc.C (processKeySym): adjust
4395 (dispatch): change arg name from ev to func, adjust
4396 (sendDispatchMessage): ditto
4398 * lyx_main.C (defaultKeyBindings): adjust keybindings
4399 (deadKeyBindings): ditto
4401 * kbsequence.C (addkey): return a FuncRequest
4403 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4405 * kbmap.C (bind): take a FuncRequest as arg, adjust
4408 (defkey): change to take a FuncRequest as arg, adjust
4409 (findbinding): take a FuncRequest as arg, adjust.
4411 * funcrequest.h (operator=): added
4413 * funcrequest.C (FuncRequest): default kb_action changed from
4414 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4416 * buffer.C (dispatch): simplify
4417 (dispatch): adjust to take a FuncRequest as arg, adjust
4419 * boost.C (assertion_failed): change assertion message slightly
4421 * ToolbarBackend.C (read): simplify
4423 * MenuBackend.C (binding): adjust call to findbinding, add a
4424 message if no binding is found.
4426 (expandToc): correct by adding a empty FuncRequest
4428 * LyXAction.C: include <boost/assert.hpp>
4429 (isPseudoAction): delete function
4430 (LookupFunc): change name to...
4431 (lookupFunc): this. change return type to FuncRequest.
4432 (getActionName): take kb_action as arg, simplify
4433 (funcHasFlag): add an assert, simplify.
4435 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * toc.C (action): return a FuncRequest, simplify
4439 * lyxfunc.C (processKeySym): adjust
4440 (getStatus): delete version that takes an int.
4442 (dispatch): delete version that takes action as int
4444 (sendDispatchMessage): simplify and adjust
4446 * funcrequest.C (getArg): take unsigned int as arg
4448 * ToolbarBackend.C (read): adjust
4449 (add): delete version that takes func as a string.
4450 (getIton): take a FuncRequest as arg
4452 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4455 * MenuBackend.C (MenuItem): add a new construct that only takes a
4456 Kind, simplify the constructor use for submenus.
4458 (expandLastfiles): adjust
4459 (expandDocuments): adjust
4460 (expandFormats): adjust
4461 (expandFloatListInsert): adjust
4462 (expandFloatInsert): adjust
4463 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4465 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4466 Remove class variables lyx_pseudo_map and lyx_arg_map
4468 * LyXAction.C (searchActionArg): delete function
4469 (getPseudoAction): delete function
4470 (retrieveActionArg): delete function
4471 (LookupFunc): make it return kb_action, simplify.
4472 (getActionName): simplify
4474 * factory.C (createInset): fix new bug
4476 2003-09-19 Angus Leeming <leeming@lyx.org>
4478 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4479 masterFilename_ parameter in the include inset.
4481 * factory.C (createInset): changes due to the changes to InsetInclude.
4483 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4485 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4487 2003-09-18 Angus Leeming <leeming@lyx.org>
4490 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4491 Inset::fillWithBibKeys.
4492 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4494 2003-09-18 Angus Leeming <leeming@lyx.org>
4496 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4498 (ctor): pass and store a 'Buffer const &'
4499 (buffer): new member function.
4501 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4502 '*this' to the LaTeXFeatures ctor.
4504 2003-09-18 Angus Leeming <leeming@lyx.org>
4510 * text.C: rename EnumLColor as LColor_color.
4512 2003-09-18 Angus Leeming <leeming@lyx.org>
4514 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4515 remove #include "insets/insetbase.h" from cursor.h.
4517 2003-09-18 Angus Leeming <leeming@lyx.org>
4519 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4520 InsetOld_code to remove #include "inset.h".
4522 * iterators.C: add #include "insets/inset.h"
4524 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4526 * BufferView.C: remove more locking stuff that apparently doesn't
4527 do anything sensible.
4529 2003-09-16 André Pönitz <poenitz@gmx.net>
4532 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4535 2003-09-16 Angus Leeming <leeming@lyx.org>
4537 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4539 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4542 * paragraph.h: remove #include "lyxfont.h". Forward declare
4545 2003-09-16 Angus Leeming <leeming@lyx.org>
4547 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4548 of support/textutils.h.
4549 (isWord): move the contents of support/textutils.h's IsWordChar here.
4555 * text2.C: add #include "paragraph.h".
4558 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4560 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * LaTeX.C: use namespace alias for lyx::support::os
4568 2003-09-16 Angus Leeming <leeming@lyx.org>
4571 * bufferview_funcs.C:
4574 * paragraph_pimpl.C:
4576 * text.C: add #include "LColor.h".
4578 2003-09-16 Angus Leeming <leeming@lyx.org>
4580 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4581 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4583 Store the FontBits::color variable as an int rather than as an
4584 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4587 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4588 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4589 string calls together.
4591 * lyxrc.C: add #include "LColor.h".
4593 2003-09-15 Angus Leeming <leeming@lyx.org>
4595 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4598 2003-09-15 Angus Leeming <leeming@lyx.org>
4600 * LColor.h: add an EnumLColor wrapper for LColor::color.
4602 * lyxfont.[Ch] (color, setColor, realColor):
4603 * lyxtext.h, text.C (backgroundColor):
4604 pass EnumLColor args to/from the functions, rather than LColor::color
4608 * lyxtext.h: forward declare EnumLColor.
4610 * lyx_main.C: add #include "LColor.h".
4612 2003-09-15 Angus Leeming <leeming@lyx.org>
4614 * .cvsignore: add lyx-gtk.
4616 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * ParagraphParameters.C
4625 * bufferview_funcs.C
4635 * vc-backend.C: remove usage of STRCONV
4637 2003-09-15 Angus Leeming <leeming@lyx.org>
4639 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4640 explicitly define the color passed to the painter.
4642 2003-09-15 Angus Leeming <leeming@lyx.org>
4644 * bufferparams.C (BufferParams): reorder member initializers to avoid
4647 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4649 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4650 * text.C (updateRowPositions): remove an unusual nop
4652 2003-09-12 André Pönitz <poenitz@gmx.net>
4654 * BufferView_pimpl.C:
4663 * Counters.[Ch]: finish the 'automatic counters' job
4665 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4667 * aspell.C: include <boost/assert.cpp> (compile fix)
4669 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4671 * boost.C (assertion_failed): use lyx::support::abort instead of
4674 2003-09-10 Angus Leeming <leeming@lyx.org>
4676 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4677 with their _fwd progeny.
4679 2003-09-09 Angus Leeming <leeming@lyx.org>
4681 134 files throughtout the source tree: replace 'using namespace abc;'
4682 directives with the appropriate 'using abc::xyz;' declarations.
4684 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4686 * boost.C (emergencyCleanup): moved here from LAssert.c
4687 (assertion_failed): new function, called by BOOST_ASSERT
4689 * several files: change Assert to BOOST_ASSERT
4691 2003-09-09 Angus Leeming <leeming@lyx.org>
4693 * buffer.[Ch]: Add an Impl class and move Buffer's member
4694 variables into it. As a result move several header files out of
4697 Add header files to lots of .C files all over the tree as a result.
4699 2003-09-09 Angus Leeming <leeming@lyx.org>
4701 * buffer.[Ch]: make Buffer's member variables private. Add
4704 Lots of changes all over the tree as a result.
4706 2003-09-08 Angus Leeming <leeming@lyx.org>
4708 * graph.C: #include <config.h>.
4710 2003-09-08 Angus Leeming <leeming@lyx.org>
4714 * BufferView_pimpl.C:
4743 * toc.C: remove redundant using directives.
4745 2003-09-07 Angus Leeming <leeming@lyx.org>
4747 * LaTeXFeatures.h: remove #include "support/types.h".
4748 * ToolbarBackend.h: remove #include <algorithm>.
4749 * changes.h: remove #include <ctime>.
4750 * debug.h: remove #include <iosfwd>.
4751 * graph.h: remove #include "support/std_string.h".
4752 * lyx_main.h: remove #include <csignal>.
4753 * lyxlex_pimpl.h: remove #include <fstream>.
4754 * sgml.h: remove #include <algorithm>, <utility>.
4755 * toc.h: remove #include "support/std_ostream.h".
4756 Add #include <iosfwd>.
4758 2003-09-07 Angus Leeming <leeming@lyx.org>
4760 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4762 * converter.h: forward declare LatexRunParams.
4763 * encoding.h: remove #include "lyxrc.h".
4764 * lyxtext.h: remove #include "LColor.h".
4765 * lyxtextclass.h: remove #include "support/types.h".
4766 * trans.h: remove #include "tex-accent.h".
4767 * trans_mgr.h: remove #include "tex-accent.h".
4768 * insets/inset.h: remove #include "support/types.h", <vector>.
4769 * insets/insetcollapsable.h: remove #include "LColor.h".
4770 * insets/insetinclude.h: remove #include "dimension.h".
4771 * insets/insetlatexaccent.h: remove #include "dimension.h".
4772 * insets/insetoptarg.h:: remove #include "insettext.h".
4773 * insets/insettext.h: remove #include "dimension.h",
4774 <boost/shared_ptr.hpp>
4776 * insets/renderers.h: add #include "dimension.h".
4777 * insets/updatableinset.h: add #include "support/types.h".
4779 * many .C files: Associated changes.
4781 2003-09-06 Angus Leeming <leeming@lyx.org>
4783 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4784 one, inside testInvariant.
4786 * PrinterParams.C: new file.
4787 * PrinterParams.[Ch]: move the function bodies out of line.
4789 2003-09-06 Angus Leeming <leeming@lyx.org>
4791 * ParagraphParameters.h: forward declare ParameterStruct rather than
4792 including its header file.
4793 (depth): moved out-of-line.
4795 2003-09-06 Angus Leeming <leeming@lyx.org>
4797 * BufferView_pimpl.h:
4800 * lyxfunc.h: forward declare LyXKeySym rather than
4801 #include "frontends/LyXKeySym.h".
4803 * BufferView_pimpl.C:
4806 * lyxfunc.C: associated changes.
4808 2003-09-06 Angus Leeming <leeming@lyx.org>
4810 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4811 As a result, can remove the #include "insets/inset.h" from BufferView.h
4813 2003-09-06 Angus Leeming <leeming@lyx.org>
4815 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4816 As a result, can remove the #include "insets/inset.h" from BufferView.h
4818 2003-09-06 Angus Leeming <leeming@lyx.org>
4824 * bufferview_funcs.C:
4825 * BufferView_pimpl.C:
4830 * ParagraphParameters.C:
4835 * frontends/controllers/ControlDocument.C:
4836 * insets/insetcaption.C: rearrange the #includes into some sort of
4839 * buffer.h: remove #includes ErrorList.h, undo.h
4841 2003-09-06 Angus Leeming <leeming@lyx.org>
4843 * support/types.h: add a 'depth_type' typedef, used to store the
4844 nesting depth of a paragraph.
4847 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4848 defining explicitly.
4851 * paragraph_funcs.h:
4852 * ParagraphParameters.h:
4853 * sgml.h: use lyx::depth_type rather than Paragraph or
4854 ParameterStruct's depth_type.
4857 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4860 * BufferView_pimpl.C:
4862 * ParagraphParameters.C:
4865 * bufferview_funcs.C:
4872 * frontends/LyXView.C:
4873 * frontends/controllers/ControlDocument.C:
4874 * frontends/controllers/ControlErrorList.C:
4875 * insets/insetbibitem.C:
4876 * insets/insetbranch.C:
4877 * insets/insetcaption.C:
4878 * insets/insetcollapsable.C:
4879 * insets/insetenv.C:
4880 * insets/insetert.C:
4881 * insets/insetfloat.C:
4882 * insets/insetfoot.C:
4883 * insets/insetfootlike.C:
4884 * insets/insetnewline.C:
4885 * insets/insetquotes.C:
4886 * insets/insettabular.C:
4887 * insets/insettext.C:
4888 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4890 * frontends/controllers/ControlChanges.C: #include "changes.h".
4892 2003-09-06 Angus Leeming <leeming@lyx.org>
4894 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4895 than #including paragraph.h.
4898 * RowList.h: deleted. Superfluous.
4908 * insets/insettext.h: use ParagraphList_fwd.h rather than
4911 * paragraph.h: don't forward declare ParagraphList.
4914 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4915 rather than ParagraphList.h. paragraph.h is still needed for the
4916 Paragraph::depth_type parameters.
4918 * textcursor.h: enable it to compile stand-alone in light of the
4921 * bufferview_funcs.C:
4933 * frontends/controllers/ControlParagraph.C:
4934 * frontends/controllers/ControlTabular.C:
4935 * insets/insetmarginal.C:
4936 * insets/insetminipage.C:
4937 * insets/insetnote.C:
4938 * insets/insetoptarg.C: add header files needed to compile again.
4940 2003-09-06 Angus Leeming <leeming@lyx.org>
4942 * RowList_fwd.h: new file, forward-declaring Row rather than
4943 #including lyxrow.h.
4948 * insets/insettext.h: use it instead of RowList.h
4950 * bufferview_funcs.C:
4957 * text3.C: #include "RowList.h".
4959 2003-09-05 Angus Leeming <leeming@lyx.org>
4961 * factory.C (createInset):
4962 * vspace.C (c-tor): replace sscanf call with an istringstream.
4963 * ispell.C: re-add missing HP/UX headers.
4964 * lyxserver.C: re-add missing os2 headers.
4966 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4975 * text3.C: re-add missing system headers, needed for 2.95.2.
4977 2003-09-05 Angus Leeming <leeming@lyx.org>
4979 Changes most place everywhere due to the removal of using directives
4980 from support/std_sstream.h.
4982 2003-09-05 Angus Leeming <leeming@lyx.org>
4984 Replace LString.h with support/std_string.h,
4985 Lsstream.h with support/std_sstream.h,
4986 support/LIstream.h with support/std_istream.h,
4987 support/LOstream.h with support/std_ostream.h.
4989 Changes resulting throughout the tree.
4991 2003-09-05 Angus Leeming <leeming@lyx.org>
4993 * sgml.h: ensure that the header file can be compiled stand-alone.
4994 * *.C: strip out redundant #includes. (320 in total.)
4996 2003-09-04 Angus Leeming <leeming@lyx.org>
4998 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4999 here (from getPackages).
5001 * debug.[Ch]: add a new EXTERNAL tag.
5003 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5005 * text2.C (cursorEnd): simplify
5007 (getColumnNearX): adjust
5009 * text.C (computeBidiTables): adjust
5012 * rowpainter.C (paintChars): adjust
5013 (paintSelection): adjust
5014 (paintChangeBar): adjust
5017 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5019 (numberOfSeparators): adjust
5021 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5027 * text3.C: Restricts the mouse click functionality
5028 of insets like bibtex, include, toc and floatlist to the visible
5029 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5030 up the dialogs. Cursor has to be in front of the inset (i.e.
5031 start of row) for this to function.
5033 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5035 * bufferview_funcs.C (currentState): output row information
5037 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5039 * bufferview_funcs.C (currentState): output paragraph position
5041 2003-09-04 Angus Leeming <leeming@lyx.org>
5043 * FloatList.h: move out #include "Floating.h".
5044 * LaTeX.h: move out #include "DepTable.h".
5045 * LyXAction.h: move out #include "funcrequest.h".
5046 * buffer.h: move out #include "author.h", "iterators.h".
5047 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5048 * lyx_main.h: move out #include "errorlist.h".
5049 * lyxfunc.h: move out #include "FuncStatus.h".
5050 * lyxtext: move out #include "lyxcursor.h".
5051 * paragraph_pimpl.h: move out #include "counters.h".
5053 2003-09-03 Angus Leeming <leeming@lyx.org>
5055 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5056 preamble_snippets list, enabling us to add snippets to the preamble
5057 only if the snippet was not there already.
5059 2003-09-04 Angus Leeming <leeming@lyx.org>
5061 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5063 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5065 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5068 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5070 * BranchList.C: point fix, earlier forgotten
5072 2003-09-02 Angus Leeming <leeming@lyx.org>
5074 * box.C (contains): renamed from 'contained' after a fantastic
5077 2003-09-02 John Levon <levon@movementarian.org>
5083 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5085 2003-09-02 John Levon <levon@movementarian.org>
5087 * text2.C: simplification of cursorEnd(), including partial
5090 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * buffer.C (readFile): add a space
5094 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5096 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5098 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5100 * buffer.C (readFile): new function, take a filename and a
5101 ParagraphList::iterator
5103 (readFile): adjust, make it private. don't use setStream, make
5104 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5105 always contain the filename.
5107 * BufferView.C (insertLyXFile): simplify and make it work for
5110 2003-08-30 John Levon <levon@movementarian.org>
5112 * Makefile.am: fix dist (from Kayvan)
5114 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * most files: change to use const Buffer refs
5118 2003-08-27 André Pönitz <poenitz@gmx.net>
5120 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5121 on top of ownerPar().
5123 2003-08-27 John Levon <levon@movementarian.org>
5125 * funcrequest.C: properly initialise POD members
5127 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5129 * lyxtext.h (top_y): move top_y from here
5134 * BufferView_pimpl.[Ch]: to here
5135 * frontends/screen.C:
5136 * insets/insettabular.C:
5137 * insets/insettext.C: adjust
5138 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5140 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5143 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5145 2003-08-26 André Pönitz <poenitz@gmx.net>
5147 * paragraph_func.[Ch] (outerPar): new function
5150 * paragraph_funcs.C:
5151 * paragraph_funcs.h:
5152 * paragraph_pimpl.C:
5153 * text2.C: remove Inset::par_owner
5155 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5160 * text2.C: eliminates the needFullRow/display() stuff
5161 altogether, putting the logic in metrics/draw in the insets.
5163 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5165 * text2.C (redoParagraphInternal, redoParagraphs):
5166 * text.C (redoParagraph): add a call to updateRowPositions at the
5167 end of each 'metrics-like' call. Remove all others.
5168 (getRow): remove the 'y-computing' version.
5169 (getRowNearY): do not compute nor return the real y. Solve the
5170 'y < 0' problem and simplify.
5172 2003-08-22 Angus Leeming <leeming@lyx.org>
5174 * *.[Ch]: clean-up of licence and author blurbs.
5175 Also move config.h out of a few .h files and into a few .C files.
5177 2003-08-22 André Pönitz <poenitz@gmx.net>
5179 * lyxrow.[Ch]: add x_ and *fill_ members
5184 * text2.C: adjust/remove prepareToPrint() calls
5186 2003-08-22 André Pönitz <poenitz@gmx.net>
5188 * lyxrow.[Ch]: add end_ member
5190 * lyxrow_funcs.C: use LyXRow::end_
5192 * lyxtext.h (singleWidth): add LyXFont parameter
5195 * text2.C: adjust LyXText::singleWidth() calls
5197 * text.C (redoParagraph): simplify row breaking logic
5200 2003-08-19 André Pönitz <poenitz@gmx.net>
5202 * funcrequest.C: initialize button_ member
5205 * rowpainter.[Ch]: interface consolidation
5207 2003-08-18 André Pönitz <poenitz@gmx.net>
5210 * BufferView_pimpl.C:
5212 * paragraph_funcs.C:
5214 * text3.C: remove LyXScreen::draw() and fitCursor calls
5216 * BranchList.h: remove spurious semicolons
5218 * MenuBackend.C: fix branchlist related crash
5220 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5228 * bufferparams.[Ch]:
5232 * text3.C: implements the 'branch inset'
5233 idea. This allows the output of various versions of a document
5234 from a single source version, selectively outputing or suppressing
5235 output of parts of the text.
5236 This implementation contains a 'branch list editor' in a separate
5237 tab of the document settings dialog. Branches are user definable
5238 and have a "display colour" to distinguish them on-screen.
5240 ColorHandler was somewhat cleaned up.
5241 (1) make possible a dynamically growing LColor list by allowing
5242 the graphic context cache to grow along (vector);
5243 (2) eliminate an IMHO unnecessary step in colour allocation.
5245 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5247 * BufferView_pimpl.C: compile fix
5249 2003-08-15 André Pönitz <poenitz@gmx.net>
5251 * rowpainter.C: remove extra metrics calls
5253 * lyxtext.h: merge the two constructors into a single one,
5254 pass reference to owner's par list
5256 * BufferView_pimpl.C:
5260 2003-08-15 André Pönitz <poenitz@gmx.net>
5262 * lyxrow_funcs.[Ch]:
5265 * paragraph_funcs.C:
5270 * text_funcs.C: split LyXText::rowlist_ into individual
5271 Paragraph::rows_ chunks
5274 * BufferView_pimpl.[Ch]:
5277 * text3.C: remove toggleSelection()
5279 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5281 * bufferlist.C: beautify two alerts (shorter text of buttons)
5282 * buffer.C: Remove redundant ' ' from message
5284 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5285 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5286 rename VALIGN_CENTER to VALIGN_MIDDLE
5288 2003-08-11 André Pönitz <poenitz@gmx.net>
5290 * lyxtext.h (getPar):
5291 * text.C: new function
5293 2003-08-11 André Pönitz <poenitz@gmx.net>
5296 * tracer.[Ch]: remove unneeded files
5298 * InsetList.[Ch]: remove resizeInsetsLyXText()
5303 * text3.C: merge insertParagraphs() and appendParagraph()
5304 remove breakAgain(), update()
5306 * BufferView_pimpl.[Ch]:
5307 * bufferview_funcs.[Ch]:
5311 * tabular.C: adjust after text & InsetList changes.
5313 2003-08-08 André Pönitz <poenitz@gmx.net>
5315 * text.C (insertChar, backspace): replace rowlist fiddling
5316 with rebreak of full par
5319 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5320 checkParagraph, updateInset): removed
5322 2003-08-07 André Pönitz <poenitz@gmx.net>
5325 * text3.C: merge some LFUN handlers, remove dead code
5327 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5329 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5331 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5333 * text2.C (DEPM): fix part of bug 1255 and 1256
5335 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5337 * BufferView_pimpl.C (workAreaDispatch): change to use
5338 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5339 that are no mouse related.
5341 2003-08-05 André Pönitz <poenitz@gmx.net>
5344 * BufferView_pimpl.[Ch]:
5345 * bufferview_funcs.C:
5347 * text3.C: rip out "deep update"
5349 * textcursor.[Ch] (last_sel_cursor): remove unused member
5351 2003-08-04 André Pönitz <poenitz@gmx.net>
5354 * BufferView_pimpl.[Ch]:
5355 * ParagraphParameters.C:
5356 * bufferview_funcs.C:
5362 * text3.C: replace "complicated" BufferView::update(...) calls with
5365 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5367 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5369 * Makefile.am (lyx_SOURCES): add paper.h
5371 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5373 * Makefile.am: move things around so that both lyx-qt and
5374 lyx-xforms can be built (according to --with-frontend). Then lyx
5375 is a symbolic link to lyx-[firstfrontend]
5377 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5379 * Always use std::endl with lyxerr
5381 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5383 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5385 2003-08-01 André Pönitz <poenitz@gmx.net>
5388 * BufferView_pimpl.[Ch]:
5390 * text3.C: merge BufferView::repaint() and BufferView::update()
5392 2003-08-01 José Matos <jamatos@lyx.org>
5394 * buffer.[Ch]: file_format is no longer a buffer data element.
5396 2003-08-01 André Pönitz <poenitz@gmx.net>
5401 * text2.C: make redoParagraph more independent of current cursor
5403 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5405 * text2.C: remove unneeded members
5407 2003-07-30 André Pönitz <poenitz@gmx.net>
5409 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5411 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5412 create a single function...
5414 * paragraph_funcs.C (moveItem): ... here.
5417 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5419 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5421 * LColor.[Ch]: Add comment and greyedout logical colors.
5423 2003-07-30 André Pönitz <poenitz@gmx.net>
5425 * tabular.C: don't use Assert too heavily. This crashes where it
5428 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5430 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5431 is disabled (bug 1232)
5433 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5435 * factory.C: limited 'arg' scope
5437 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5439 * factory.C: fixed Note submenu issues
5441 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5443 * factory.C: submenu for Note/Comment/Greyedout
5445 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5448 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5450 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5453 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5454 greyedout. Patch provided by Jürgen Spitzmüller.
5456 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5458 * kbmap.C (read): fix error message when reading bind files
5460 2003-07-29 Angus Leeming <leeming@lyx.org>
5462 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5463 certainly does not do what it purports to do. I am doing it, and
5464 us, a favour by killing it.
5466 2003-07-28 José Matos <jamatos@lyx.org>
5468 * buffer.C (readBody, do_writeFile):
5469 * paragraph.C(readParagraph): \end_document replaces \the_end.
5471 2003-07-29 André Pönitz <poenitz@gmx.net>
5474 * BufferView_pimpl.[Ch]:
5478 * textcursor.[Ch]: remove toggleToggle & Co
5480 2003-07-28 José Matos <jamatos@fep.up.pt>
5482 * buffer.C (readParagraph):
5483 * params_func (readParToken, readParagraph):
5484 * paragraph.C (write): \layout -> \begin_layout.
5486 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5488 * lyxlex_pimpl.C (setFile): clean up slightly.
5490 * bufferparams.h: add compressed var
5492 * buffer_funcs.C (readFile): adjust for LyXLex change
5493 (newFile): ditto + simplify
5495 * buffer.C (writeFile): handle writing of compressed files
5497 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5498 Check if the file is compressed and set a bufferparm if so.
5500 * Makefile.am (lyx_LDADD): remove explicit -lz
5502 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5504 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5505 makeDocBookFile): put the real LyX version in the first line of
5509 * version.C.in: remove lyx_docversion
5511 * tabular.C (write_attribute): add a template-based version to
5512 write enums properly
5514 2003-07-28 André Pönitz <poenitz@gmx.net>
5519 * text3.C: use doubles again for x-coordinates. They are needed.
5521 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5523 * messages.C (getLocaleDir): use lyx_localedir()
5525 * lyxlex_pimpl.C (setFile): compress stuff
5527 * buffer.C (writeFile): add some compression stuff
5528 (do_writeFile): new func, dont call expliti close... will this
5531 * Makefile.am (lyx_LDADD): add -lz
5533 2003-07-28 José Matos <jamatos@fep.up.pt>
5535 * buffer.C: increment file format.
5536 * paragraph_funcs (readParagraph, readParToken):
5537 * paragraph.C (readParagraph): add \end_layout.
5539 2003-07-27 Angus Leeming <leeming@lyx.org>
5541 * Makefile.am: remove special casing for configure-time setting of
5542 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5544 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5545 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5547 2003-07-26 André Pönitz <poenitz@gmx.net>
5549 * paragraph_func.[Ch]:
5550 * paragraph.C (realizeFont): inline it whereever it is used
5555 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5558 2003-07-26 André Pönitz <poenitz@gmx.net>
5562 * text2.C: get rid of LyXText::need_break_row
5564 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5566 * toc.[Ch]: put namespace toc inside namespace lyx
5568 * MenuBackend.C (expandToc2): adjust for lyx::toc
5571 * lyxfunc.C (dispatch): adjust for lyx::find
5573 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5574 lyx::find instead. Reorganize a bit.
5575 (LyXReplace): rename to replace
5576 (LyXFind): rename to find
5578 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5581 2003-07-26 André Pönitz <poenitz@gmx.net>
5583 * text.C (setHeightOfRow): restrict scope of temporary variable
5585 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5586 code (never has been used?)
5588 2003-07-27 Asger Alstrup <alstrup@local>
5590 * text.C (fill): Optimise algorithm to exploit that we can reuse
5591 the LyXFont for many characters.
5592 (setHeightOfRow): Same thing.
5593 (rowBreakPoint): Same thing.
5595 2003-07-26 Asger Alstrup <alstrup@local>
5597 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5599 * text.C (singleWidth): Spurious font copying in hot-spot
5600 singleWidth avoided. Reorder tests for arabic for efficiency.
5602 * text.C (fill): handle empty paragraphs better.
5604 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5607 * encoding.h: add includes
5609 * lyxrc.C: remove reading of bind files
5611 * lyx_main.C (init): setup bindings and menus only if we have a
5614 * kbmap.C (read): new method. Do the actual reading of bind
5617 * converter.C (dvipdfm_options):
5620 (output): adapt PAPER_* enums.
5622 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5624 * bufferparams.h: remove paper-related enums from there
5626 * paper.h: New file. A trivial header file to hold paper-related
5627 enums. It should later expand to contain many paper-related
5630 * lyxrc.C: declare extern displayTranslator
5632 2003-07-27 José Matos <jamatos@fep.up.pt>
5634 * tabular.[Ch] (linuxdoc): add support for tables and figures
5637 2003-07-27 José Matos <jamatos@fep.up.pt>
5639 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5640 consistency in both functions.
5641 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5643 2003-07-26 Asger Alstrup <alstrup@local>
5645 * rowpainter.C (paintRows): Change algorithm to work directly on
5646 the insets rather than asking every character in the document
5647 whether its an inset.
5649 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5651 * buffer.C (openFileWrite): factorize some code
5653 2003-07-26 Angus Leeming <leeming@lyx.org>
5656 * lyx_main.[Ch]: replace occurances of system_tempdir with
5659 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5661 * rename Inset to InsetOld
5663 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5665 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5666 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5667 which I think is a bit clearer. EDIT is gone, since it was
5668 premature optimisation, and broken for mathed anyway.
5669 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5670 with cursor positioning in insets as well (math insets still do not
5671 work, but that's a different story anyway.) It mysteriously
5672 crashes sometimes with undo in the first paragraph, but I'm fairly
5673 confident that this is a compiler bug.
5675 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * paragraph.C (Paragraph): adjust for new clone return type
5679 (copyIntoMinibuffer): ditto
5681 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5683 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5684 by not having a special case, and always doing a full rebreak of
5685 the document after undo.
5687 2003-07-23 Angus Leeming <leeming@lyx.org>
5689 * factory.C (createInset): InsetExternal::setParams now takes a
5692 2003-07-23 Angus Leeming <leeming@lyx.org>
5694 * factory.C (createInset): changed interface to the external and
5695 graphics mailers' string2params functions.
5697 2003-07-23 Angus Leeming <leeming@lyx.org>
5699 * factory.C (createInset): pass a
5700 Buffer const * parameter to InsetExternalMailer's string2params.
5702 2003-07-22 John Levon <levon@movementarian.org>
5704 * Thesaurus.h: include the right aiksaurus header
5706 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5708 * MenuBackend.C (expand): check menu shortcuts unconditionally
5710 2003-07-21 Angus Leeming <leeming@lyx.org>
5712 * factory.C (createInset): pass a
5713 buffer_path parameter to InsetGraphicsMailer's string2params.
5715 2003-07-21 Angus Leeming <leeming@lyx.org>
5717 * BufferView_pimpl.C (buffer):
5720 * lyxfunc.C (dispatch):
5721 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5722 rather than the grfx shortcut.
5724 2003-07-21 André Pönitz <poenitz@gmx.net>
5726 * rowpainter.C: remove unused variables
5729 * tabular_funcs.h: move to tabular.C
5730 * Makefile.am: adjust
5732 * tabular.[Ch]: basic optical cleaning
5734 * author.h: pass references, not values
5736 2003-07-18 André Pönitz <poenitz@gmx.net>
5744 * text3.C: two-phase drawing for InsetText and InsetTabular
5745 some float -> int changes.
5747 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5749 * lyx_main.C: fix the fix
5751 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5753 * lyx_main.C: fix a crash in batch mode if no files specified
5756 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5758 * format.[Ch] (papersize): moved to BufferParams
5759 * converter.[Ch] (dvips_options): moved to BufferParams
5760 (dvipdfm_options): moved to anon namespace
5761 * bufferparams.[Ch]: added above functions.
5763 2003-07-17 André Pönitz <poenitz@gmx.net>
5767 * text2.C: don't call inset->update() anymore
5769 * metricsinfo.[Ch]: add convenience constructor
5771 2003-07-16 André Pönitz <poenitz@gmx.net>
5776 * text2.C: replace the LyXCursor::irow_ member with
5777 on-demand computation of the value
5779 2003-07-16 John Levon <levon@movementarian.org>
5781 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5783 2003-07-15 André Pönitz <poenitz@gmx.net>
5786 * text2.C: remove no more needed refresh_row
5788 2003-07-15 André Pönitz <poenitz@gmx.net>
5793 * text3.C: refresh_status tristate -> need_update bool
5795 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5797 * lyxtext.h (init): remove reinit argument (act as if always true)
5798 * text2.C: adjust to that
5800 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5802 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5803 * text3.C: use it to delete selections in some cases
5804 (bugs 441, 673, 702, 954).
5806 2003-07-14 André Pönitz <poenitz@gmx.net>
5808 * rowpainter.[Ch]: reduce interface
5810 2003-07-14 André Pönitz <poenitz@gmx.net>
5812 * BufferView_pimpl.C:
5813 * text2.C: adjust after removing unused BufferView * argument
5815 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5817 * text2.C (init): fix a crash fired on resize
5819 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5821 * buffer.[Ch]: added new closing signal
5822 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5823 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5824 BufferView::Pimpl via the closing the signal
5826 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5828 * buffer.[Ch]: take out all bv-related from buffer
5830 * BufferView_pimpl.[Ch]: connect to new signals
5831 * CutAndPaste.C: removed useless asserts
5832 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5835 * lyxfunc.C: moved view-related funciontality from vc here
5836 * paragraph.C: removed outdated comments
5839 2003-07-10 André Pönitz <poenitz@gmx.net>
5841 * BufferView_pimpl.C:
5845 * text2.C: remove InsetText::InnerCache, clean up consequences
5847 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5849 * ispell.C: fix two typos in error messages
5851 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5853 * Extend Note inset to other forms of annotation like Comment
5854 and Greyedout. Right button click gives dialog.
5856 Files modified or added (+):
5860 * ControlNote.[Ch] +
5862 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5863 frontends/controllers
5867 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5869 * aspell.C: add missing namespace lyx::support
5871 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5873 * BufferView.[Ch] (newFile): Add
5874 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5875 * LaTeX.[Ch] (message): added this signal and use it
5876 * buffer.[Ch] (busy, message): added these signals and use them
5877 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5881 * importer.C: use buffer signals instead of direct bv calling
5882 * lyx_cb.[Ch] (ShowMessage): removed
5885 * paragraph_funcs.C:
5886 * text2.C: use buffer signals
5888 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5890 * introduce namespace lyx::graphics
5892 2003-07-02 André Pönitz <poenitz@gmx.net>
5894 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5896 2003-07-01 André Pönitz <poenitz@gmx.net>
5903 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5904 text*.C to text_func.C
5906 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5908 * introduce namespace lyx::support
5910 2003-06-30 André Pönitz <poenitz@gmx.net>
5915 * text.C: re-enable --with-included-string
5917 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * textcursor.C: add <config.h>
5921 * text.C (getWord): remove const from word_location arg
5923 * lyxvc.C (getLogFile): fix const type order
5925 * lyxtext.h: remove const from word_location arg, add arg name
5927 * lyxlayout.h: currect type on labeltype.
5929 * importer.C: correct \file
5931 * converter.C (intToFormat): use std:: on ret val, ws changes
5933 * bufferlist.h: correct \file
5935 * buffer.C (makeLinuxDocFile): fix const type order
5936 (makeDocBookFile): ditto
5937 (fillWithBibKeys): use std:: on stdlib args.
5939 * CutAndPaste.C: fix authors.
5940 (availableSelections): use std:: on return vector
5942 2003-06-27 André Pönitz <poenitz@gmx.net>
5944 * BufferView_pimpl.C:
5945 * bufferview_funcs.C:
5953 * text3.C: remove LyXCursor::row_ member
5956 * text.C: rename fullRebreak() to partialRebreak() and implement
5957 a fullRebreak() that really bereks fully
5959 * textcursor.h: new struct for cursor-related data
5961 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5963 * lyx_main.C (LyX): get full path of document loaded on the
5966 2003-06-26 André Pönitz <poenitz@gmx.net>
5968 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5969 remove unused/broken operator>,<,>=.
5971 * text.C: remove only use of broken operator<= in an Assert().
5973 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5975 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5976 moved errorlist_.clear to showErrorList
5978 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5980 * converter.C (scanLog, runLaTeX):
5981 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5982 move the bv->showErrorList call to the callers
5983 * lyxfunc.C: i.e. here...
5985 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5986 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5987 namespace, the second to...
5988 * buffer_funcs (BufferFormat, parseErrors): added
5989 * errorlist.C (ErrorList(TeXErrors const &)): removed
5991 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5993 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5995 2003-06-24 "Garst R. Reese" <reese@isn.net>
5999 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6001 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6003 * version.C.in: change docversion to 1.4
6005 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6007 * buffer.C: fix a bug just introduced
6009 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6011 * buffer.[Ch]: added the parseError signal and use it, removed
6013 * BufferView.[Ch] (addError): moved to ...
6014 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6015 to the Buffer::parseError signal to catch (guess what) parse errors
6016 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6018 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6020 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6021 ability to create a buffer and to return an existing one from
6022 the list. Moved these functions to...
6023 * buffer_funcs.[Ch]: added
6024 * BufferView.[Ch] (loadLyXFile): added
6025 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6026 job removed from bufferlist::loadLyXFile.
6027 * buffer.C (setReadOnly): make it work without view
6028 (i.e added an if (users))
6030 2003-06-19 Angus Leeming <leeming@lyx.org>
6033 * LyXAction.C (init):
6034 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6035 with LFUN_DIALOG_SHOW <name> <data>.
6037 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6039 * CutAndPaste.C (availableSelections): small compilation fix for
6040 ancient (gcc 2.9x) compilers
6042 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6044 * text3.C (cursorNext): add tmp var
6046 * text2.C (updateCounters): for function calling out of for clause
6047 (replaceSelectionWithString): ditto
6048 (insertStringAsParagraphs): ditto
6049 (getColumnNearX): add tmp var
6050 (setCursorFromCoordinates): add tmp var
6051 (cursorDownParagraph): add tmp var
6052 (deleteEmptyParagraphMechanism): add tmp var
6054 * text.C (insertChar): add tmp var
6056 * rowpainter.C (paintDepthBar): add tmp var
6058 * CutAndPaste.C (availableSelections): potentially check all
6059 paragraphs in a cut to fill the shown strings.
6061 2003-06-18 André Pönitz <poenitz@gmx.net>
6063 * kbmap.[Ch]: use vector<> instead of list<>
6065 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6067 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6068 pasteSelection with index
6070 * text2.C (pasteSelection): modify, call pasteSelection with index
6072 * paragraph.C (asString): reimplement version with no interval to
6073 call the one with interval.
6075 * lyxtext.h: add index arg to pasteSelection
6077 * MenuBackend.C (MenuItem): handle PasteRecent
6078 (Menu::read::Menutags): add md_pasterecent
6080 (expandPasteRecent): new function
6083 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6085 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6087 (availableSelections): new function
6089 2003-06-17 Angus Leeming <leeming@lyx.org>
6091 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6093 2003-06-17 Angus Leeming <leeming@lyx.org>
6096 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6098 * lyxfunc.C (dispatch): invoke it.
6100 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6102 * iterators.C (operator++, ParPosition): reintroduce some
6103 const_cast for the benefit of older compilers.
6105 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6107 * text3.C (dispatch): do not modify clipboard when doing
6108 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6109 LFUN_DELETE_SKIP on a selection selection
6111 2003-06-16 André Pönitz <poenitz@gmx.net>
6117 * tabular.[Ch]: IU of clone() and getLabelList();
6119 2003-06-13 André Pönitz <poenitz@gmx.net>
6121 * tabular.h: compactification
6123 2003-06-12 André Pönitz <poenitz@gmx.net>
6127 * tabular_funcs.h: some renaming plus whitespace
6129 2003-06-12 André Pönitz <poenitz@gmx.net>
6132 * BufferView_pimpl.C:
6138 * toc.C: Return a Paragraph & for ParIterator::operator*()
6140 2003-06-11 John Levon <levon@movementarian.org>
6144 * ToolbarBackend.C: add "Toolbars" section and
6147 2003-06-10 Angus Leeming <leeming@lyx.org>
6150 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6152 * lyxfunc.C (dispatch): invoke it.
6154 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6156 * main.C: protect <ios> with HAVE_IOS
6157 (main): protect sync_with_stdio with HAVE_IOS
6159 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6161 * text2.C (cutSelection): adjust
6162 (pasteSelection): adjust
6164 * messages.C: handle get of empty string
6166 * main.C (main): use sync_with_stdio(false)
6168 * lyxfunc.C (dispatch): adjust
6170 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6171 (WriteAs): remove unneeded BufferView arg.
6173 * bufferparams.h: use correct types on papersize, papersize2 and
6176 * bufferparams.C (readToken): adjust for type
6177 (writeLaTeX): add missing cases to switch.
6179 * bufferlist.C (quitWriteBuffer): adjust
6182 * buffer.C (asciiParagraph): remove some commented code.
6184 * CutAndPaste.C: remove current_view extern variable.
6185 (cutSelection): add BufferParams arg.
6186 (eraseSelection): add BufferParams arg.
6187 (pasteSelection): add Buffer const & arg
6189 2003-06-07 John Levon <levon@movementarian.org>
6192 * paragraph_funcs.C:
6193 * paragraph_pimpl.C:
6197 * paragraph.C: allow InsetERT to freely space lines,
6198 and some consolidation of code
6200 2003-06-06 José Matos <jamatos@fep.up.pt>
6202 * buffer.C (makeDocBookFile): fix bug #821
6204 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6206 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6208 2003-06-04 Angus Leeming <leeming@lyx.org>
6210 * buffer.C: bump format to 224.
6212 2003-06-05 André Pönitz <poenitz@gmx.net>
6214 * text2.C (redoParagraphs): remove two const_cast<>
6216 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6218 * ParagraphList.h: remove last remnants of NO_STD_LIST
6220 2003-06-03 Angus Leeming <leeming@lyx.org>
6222 * factory.C (createInset): small change to the way InsetExternal's params
6225 2003-06-04 André Pönitz <poenitz@gmx.net>
6227 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6229 * paragraph_pimpl.h:
6230 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6232 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6234 * undo_funcs.C: make some simple cases of undo work again
6236 2003-06-03 John Levon <levon@movementarian.org>
6238 * ispell.C: HPUX doesn't have sys/select.h
6241 2003-06-03 John Levon <levon@movementarian.org>
6243 * CutAndPaste.C: update tabular and include inset
6248 * paragraph.C: remove owningBuffer(), don't pass Buffer
6251 * factory.C: insetGraphicsParams changed
6253 2003-06-02 John Levon <levon@movementarian.org>
6259 * text3.C: remove insetparent
6261 2003-06-02 John Levon <levon@movementarian.org>
6264 * buffer.C: fix inset_iterator.end(), move out of line
6267 2003-06-01 John Levon <levon@movementarian.org>
6269 * text3.C: use a proper cut/paste when doing inset
6270 insert (from Jürgen Spitzmüller)
6272 2003-06-01 John Levon <levon@movementarian.org>
6274 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6276 2003-05-30 André Pönitz <poenitz@gmx.net>
6278 * rowpainter.C: unify second drawing phase
6280 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6282 * trans_mgr.C: remove one case of current_view
6284 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6286 * paragraph_funcs.h: remove paragraph.h include
6288 * paragraph.h: delete NO_STD_LIST stuff
6290 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6292 * buffer.h: remove paragraph.h include
6294 * ParagraphList.C: delete file
6296 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6298 * toc.C (getTocList): adjust
6300 * paragraph_pimpl.C (validate): adjust
6302 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6304 * paragraph.C (Paragraph): adjust
6305 (getPositionOfInset): use const_iterator, adjust
6306 (bibitem): use const_iterator, adjust
6307 (setInsetOwner): adjust
6309 * iterators.C (operator++): adjust
6311 * InsetList.[Ch]: Replace selfmade iterator with standard
6312 vector::iterator also introduce const_iterator. Remove getPos,
6313 getInset and setInset from InsetTable. Adjust accordingly.
6315 * BufferView.C (lockInset): adjust
6316 (ChangeInsets): adjust
6318 * tabular.[Ch]: delete commented same_id functions
6320 2003-05-28 John Levon <levon@movementarian.org>
6322 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6324 2003-05-28 André Pönitz <poenitz@gmx.net>
6326 * metricsinfo.[Ch]: remove 'fullredraw' member
6328 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6330 * lyxtextclass.C (operator): remove caching.
6332 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6336 * text2.C (cursorBottom): adjust
6337 (setCounter): use ParagraphList::find, adjust
6339 * text.C (workWidth): use ParagraphList::find, adjust
6341 * lyxcursor.C (LyXCursor): adjust
6343 * buffer.C (inset_iterator): adjust
6345 * ParagraphList.h: make iterator(value_type) private, make
6346 ParagraphList a friend of iterator.
6348 * ParagraphList.C (find): new function
6350 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6352 2003-05-27 André Pönitz <poenitz@gmx.net>
6354 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6356 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6358 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6360 2003-05-26 John Levon <levon@movementarian.org>
6362 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6364 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * remove same_id from function signatures, adjust.
6368 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6370 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6372 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6374 * paragraph.C (Paragraph): get rid of same_ids parameter
6376 * ParagraphList.C (insert): adjust
6379 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6381 * paragraph_funcs.C (breakParagraph): adjust
6382 (breakParagraphConservative): adjust
6384 * buffer.C (readParagraph): adjust
6386 * ParagraphList.C (insert): take a reference instead of a pointer
6389 * paragraph.[Ch] (id): new function
6391 * bufferlist.C (newFile): adjust
6393 * ParagraphList.C (ParagraphList): adjust
6395 (push_back): take a reference instead of a pointer.
6397 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6399 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6402 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6403 set else use old code.
6405 * ParagraphList.C: remove all NO_NEXT code and only compile this
6406 code of NO_STD_LIST is set.
6408 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6410 * BufferView_pimpl.C:
6420 * graphics/GraphicsConverter.C:
6421 * graphics/PreviewLoader.C: header adjustment
6423 2003-05-23 Angus Leeming <leeming@lyx.org>
6425 * LaTeXFeatures.[Ch] (useBabel): new method.
6426 * bufferparams.C (writeLaTeX): use it.
6428 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6430 * ParagraphList.h (set): remove unused function.
6432 2003-05-23 André Pönitz <poenitz@gmx.net>
6435 * BufferView_pimpl.C:
6439 * undo_funcs.C: setUndo reworked
6441 * iterators.[Ch]: add access to topmost ParagraphList
6443 * lyxtext.[Ch] (workWidth): add a const
6445 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6447 * texrow.[Ch] (increasePos): remove function
6448 * exporter.C (export): removed unused var and outdated comment
6450 2003-05-23 Angus Leeming <leeming@lyx.org>
6452 * latexrunparams.h: rename fragile as moving_arg.
6453 * paragraph.C (simpleTeXOnePar): ditto.
6454 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6456 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6458 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6460 (textUndoOrRedo): comment out a currently unused var.
6462 * paragraph.h (NO_NEXT): enable NO_NEXT
6464 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6466 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6468 * exporter.C (Export): adjust for removeAutoInsets removal.
6470 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6472 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6474 * BufferView.[Ch] (removeAutoInsets): delete function
6476 2003-05-22 Angus Leeming <leeming@lyx.org>
6478 * latexrunparams.h: add a free_spacing variable.
6480 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6481 to pass moving_arg, as the data is stored in runparams.fragile.
6483 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6484 to Inset::latexOptional or to simpleTeXOnePar.
6486 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6487 free_spacing arg to Inset::latexOptional.
6489 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6492 2003-05-22 Angus Leeming <leeming@lyx.org>
6494 * latexrunparams.h: add fragile and use_babel variables.
6496 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6497 * buffer.C (makeLaTeXFile): store this returned value in
6498 runparams.use_babel, thus passing it to the inset::latex methods.
6500 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6501 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6503 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6504 longer has a fragile arg, as it is stored in runparams.fragile.
6506 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6507 moving_arg parameter as the data is stored in runparams.fragile.
6509 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6510 a fragile parameter as the data is stored in runparams.fragile.
6512 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6514 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6516 2003-05-22 Angus Leeming <leeming@lyx.org>
6518 * latexrunparams.h: add a 'bool nice' which defaults to false.
6520 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6521 now encapsulated within runparams.
6523 * bufferlist.C (updateIncludedTeXfiles):
6524 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6526 2003-05-22 Angus Leeming <leeming@lyx.org>
6528 * latexrunparams.h: new file containing struct LatexRunParams.
6529 * Makefile.am: add new file.
6531 * LaTeX.[Ch] (c-tor, run):
6532 * buffer.[Ch] (makeLaTeXFile):
6533 * bufferlist.[Ch] (updateIncludedTeXfiles):
6534 * converter.C (convert, scanLog):
6535 * converter.[Ch] (runLaTeX):
6536 * exporter.C (Export):
6537 * paragraph.[Ch] (simpleTeXOnePar):
6538 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6539 * paragraph_funcs.[Ch] (latexParagraphs):
6540 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6541 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6542 pass around a LatexRunParams parameter.
6544 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6546 * paragraph.[Ch]: remove unused constructor
6548 * ParagraphList.C (erase): new function, taking two iterators
6550 2003-05-22 André Pönitz <poenitz@gmx.net>
6552 * undo_funcs.C: remove duplicated code
6554 * iterator.[Ch]: operator=
6556 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6558 * tabular.C (SetMultiColumn): ws changes
6560 * rowpainter.C (paintFirst): get rid of a ->previous
6562 * lyx_cb.C (getPossibleLabel): parlist simplification
6564 * BufferView.C (ChangeInsets): simplify slightly.
6566 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6568 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6569 * lfuns.h: new LFUN_SPACE
6570 * lyxfunc.C: protected space has a new lfun
6571 * paragraph_funcs.C: read new space insets
6573 * factory.C: handle new space insets
6575 2003-05-22 André Pönitz <poenitz@gmx.net>
6578 * BufferView_pimpl.C:
6581 * undo_funcs.C: return a ParIterator from getParFromID.
6583 * iterators.[Ch]: add two const's
6585 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * toc.C (getTocList): adjust
6589 * iterators.[Ch]: rework for parlist
6591 * buffer.C (par_iterator_begin): adjust
6592 (par_iterator_end): adjust
6594 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6596 * BufferView.C (removeAutoInsets): adjust
6597 (ChangeInsets): adjust
6599 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6601 * text.C (top_y): fix bug 1110
6603 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6605 * errorlist.[Ch]: added
6608 * BufferView_pimpl.C:
6609 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6612 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * Makefile.am: ensure that lyx is relinked upon changes to the
6615 various "convenience" libs.
6617 2003-05-20 Angus Leeming <leeming@lyx.org>
6619 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6620 files are compiled in alphabetical order again.
6622 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6624 2003-05-19 Angus Leeming <leeming@lyx.org>
6626 * gettext.[Ch]: remove "char const * _(char const *)".
6628 2003-05-19 André Pönitz <poenitz@gmx.net>
6630 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6639 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6641 2003-05-19 André Pönitz <poenitz@gmx.net>
6645 * lyxtextclass.[Ch]:
6647 * paragraph_funcs.[Ch]:
6649 * text3.C: more insetenv work
6651 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6653 * ParagraphParameters.C (params2string): small bug fixed
6655 2003-05-16 André Pönitz <poenitz@gmx.net>
6658 * bufferview_funcs.C: patch from Kornel Benko to prevent
6659 crash when _(...) is called twice in a statement
6661 2003-05-16 André Pönitz <poenitz@gmx.net>
6668 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6670 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6672 * lyx_main.C (init): remove spurious static_cast
6674 2003-05-14 André Pönitz <poenitz@gmx.net>
6676 * BufferView.C: fix format string
6678 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6680 * BufferView.[Ch] (insertErrors): removed
6681 * BufferView.[Ch] (showErrorList): added
6682 * buffer.C (runChkTeX):
6683 * converter.C (scanLog): call showErrorList instead of inserterrors
6685 2003-05-13 André Pönitz <poenitz@gmx.net>
6687 * BufferView_pimpl.C:
6689 * bufferview_func.C:
6696 * tabular_funcs.h: tostr() from its own header
6698 * ParagraphParameters.C:
6703 * text3.C: STRCONV()
6705 2003-05-12 André Pönitz <poenitz@gmx.net>
6708 * BufferView_pimpl.C:
6712 * ParagraphParameters.C:
6716 * bufferview_funcs.C:
6729 * paragraph_funcs.C:
6733 * text3.C: boost::format -> bformat all over the place
6736 2003-05-09 André Pönitz <poenitz@gmx.net>
6738 * LColor.[Ch]: Pimpl the #include <map> away
6740 2003-05-09 John Levon <levon@movementarian.org>
6742 * bufferlist.C: never remove emergency saves
6744 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * Makefile.am: better lib building
6748 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6750 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6752 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6753 (simpleTeXSpecialChars): adjust
6754 (simpleTeXSpecialChars): adjust
6755 * paragraph.C (simpleTeXOnePar): adjust
6756 * buffer.C (makeLaTeXFile): adjust
6758 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6760 * text2.C (changeDepth): parlist cleanup
6761 (getColumnNearX): ditto
6763 * rowpainter.C (getLabelFont): parlist cleanup
6765 * bufferlist.C (newFile): parlist cleanup
6767 * CutAndPaste.C (eraseSelection): parlist cleanup
6769 * BufferView_pimpl.C (trackChanges): parlist cleanup
6772 * BufferView.C (lockInset): parlist cleanup.
6773 (ChangeInsets): ditto
6775 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6777 * CutAndPaste.h: Update file header.
6779 * CutAndPaste.C: Update file header.
6780 Store the parts cut out of the Document in a limited_stack.
6781 (copySelection): adjust
6782 (pasteSelection): new function, takes the index in the limited stack.
6783 (nrOfParagraphs): adjust
6784 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6785 simplify error inset insertion.
6786 (checkPastePossible): adjust
6788 2003-05-06 John Levon <levon@movementarian.org>
6790 * text2.C: don't cast wrap inset to float
6792 2003-05-05 André Pönitz <poenitz@gmx.net>
6795 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6797 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6798 few naked Paragraph *.
6800 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6802 * bufferparams.C: Output warning if a document with missing
6803 TeX document class is loaded
6804 * exporter.C: Disable TeX exports if the document class is missing
6807 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6808 isTeXClassAvailable()
6810 2003-05-03 John Levon <levon@movementarian.org>
6813 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6814 explicit cursor show/hide
6816 * BufferView_pimpl.h:
6817 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6818 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6820 * lyxfunc.C: hide cursor before dispatching.
6825 * text3.C: remove explicit cursor hides
6827 2003-05-02 André Pönitz <poenitz@gmx.net>
6829 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6832 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6835 * text2.C: tiny whitespace
6837 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6839 * undo_funcs.C: almost only ws changes.
6841 * ParagraphList.C (splice): just return if pl is empty.
6843 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * ParagraphList.C (splice): new function.
6847 * CutAndPaste.C (pasteSelection): use it
6849 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6851 * CutAndPaste.C (pasteSelection): remove the last next and
6852 previous from this file.
6854 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6856 * CutAndPaste.C (pasteSelection): more clean up, user proper
6857 ParagraphList functions for pasteing.
6859 * ParagraphList.C (insert): new function, three arg insert
6861 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6863 * ParagraphList.C (insert): new function, three arg insert
6865 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6868 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6870 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6872 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6876 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6878 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6879 (copySelection): clean up a bit.
6880 (pasteSelection): use make_pair
6882 * ParagraphList.C (ParagraphList): implement copy constructor
6883 (operator=): implement, base on copy constructor.
6886 * paragraph.C (erase): return a bool
6888 * paragraph_pimpl.C (erasePos): remove function, move contents...
6889 (erase): ... here. Return a bool.
6890 (erase): call erase instead of erasePos.
6892 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6894 * ParagraphList.h: define PitPosPair
6895 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6896 ParagraphList, fix a bug on pasting multiple pars
6897 * text2.C: change interface to C&P
6899 2003-04-30 André Pönitz <poenitz@gmx.net>
6901 * undo_func.C: revert part of yesterday's patch 2
6903 2003-04-30 John Levon <levon@movementarian.org>
6905 * LColor.C: s/tabular/table/
6907 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6909 * text3.C (dispatch): do not convert iterator -> pointer
6910 * undo_funcs.C (setCursorParUndo): ditto
6911 * text_funcs.C (transposeChars): ditto
6913 * text2.C (setLayout): ws changes only
6915 * text.C (breakParagraph): do not convert iterator -> pointer
6917 (acceptChange): ditto
6918 (rejectChange): ditto
6923 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6926 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6928 * text3.C (gotoInset): YABG (yet another bad getChar)
6930 2003-04-29 André Pönitz <poenitz@gmx.net>
6932 * paragraph.h: make operator= private unimplemented as long as
6935 * ParagraphList.C: whitespace
6938 * paragraph_pimpl.[Ch]:
6939 * paragraph_funcs.C:
6941 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6944 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6946 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6948 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6949 * paragraph.[Ch] (erase):
6950 * paragraph_pimpl.[Ch] (erase): change return type and value
6951 * text2.C (cutSelection): some rework
6953 2003-04-28 John Levon <levon@movementarian.org>
6955 * bufferlist.C: changes for unsaved changes dialog
6957 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6959 * bufferlist.C (newFile): set language (messages_) for new
6962 * buffer.C (readFile): ws changes only.
6964 2003-04-28 André Pönitz <poenitz@gmx.net>
6969 * BufferView_pimpl.C:
6970 * BufferView.C: getParFromID related ParagraphList::iterator changes
6972 2003-04-28 André Pönitz <poenitz@gmx.net>
6974 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6977 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * messages.C: remove one more localedir class variable.
6981 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * messages.C (getLocaleDir): singleton generation function
6985 (Messages): add a default constructor.
6987 * main.C (main): do not setup localedir here, do not call
6990 * gettext.C (_): use it.
6991 (gettext_init): delete funciton
6993 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6995 * gettext.C (getLyXMessages): new singleton generating function.
6997 * buffer.C (updateDocLang): adjust
6999 * Makefile.am (messages.o): add target
7000 (main.o): remove target
7002 2003-04-27 John Levon <levon@movementarian.org>
7007 * lyxvc.C: specify cancel button in Alert::prompt
7009 2003-04-26 John Levon <levon@movementarian.org>
7014 * LyXAction.C: add LFUN_INSET_SETTINGS
7016 * lyxfunc.C: don't enable tabular-feature when there's
7017 just any locking inset
7019 2003-04-26 John Levon <levon@movementarian.org>
7021 * bufferlist.C: re-add Cancel to buffer close question
7023 * lyxfunc.C: fix import UI a bit
7025 2003-04-25 John Levon <levon@movementarian.org>
7027 * gettext.C: remove the broken asserts for now
7029 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7031 * messages.C: make case where setlocale cannot comply work better.
7033 * buffer.C (updateDocLang): new function
7034 (changeLanguage): use it
7037 * text2.C (setCounter): use B_ a bit.
7039 * lyxlayout.C (Read): be sure to trim the label strings.
7041 * messages.C (Messages): fix typo in comment
7043 * buffer.C (readFile): set message_ after file is loaded.
7044 (makeDocBookFile): remove double return
7045 (changeLanguage): reset message_ upon language change.
7046 (B_): new func, use this to get translated buffer strings.
7048 * main.C: add myself and Jean Marc as authors.
7050 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7052 * messages.[hC]: pimplify Messages, and three different pimpls to be
7053 used in different circumstances.
7055 * gettext.[Ch]: change for use with new message code.
7057 2003-04-24 André Pönitz <poenitz@gmx.net>
7059 * factory.C: support for eqref
7061 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7063 * messages.[Ch]: add missing char
7065 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7067 * messages.[Ch]: New files
7069 2003-04-18 John Levon <levon@movementarian.org>
7073 * BufferView_pimpl.C:
7077 * text2.C: remove layout-copy/paste (bug 778)
7079 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7081 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7083 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7085 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7086 if they succeed. Act accordingly.
7088 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7090 * text2.C (setCharFont): adjust
7091 (setCounter): adjust
7092 (insertStringAsLines): adjust
7094 * text.C (leftMargin): adjust
7095 (setHeightOfRow): adjust
7097 * rowpainter.C (paintFirst): adjust
7100 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7102 (isFirstInSequence): ditto
7103 (getEndLabel): ditto
7106 * paragraph.C (getParLanguage): comment out some hard stuff.
7108 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7110 (simpleDocBookOnePar): ditto
7111 (makeDocBookFile): use ParagraphList::iterator
7113 * CutAndPaste.C (pasteSelection): adjust
7115 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7117 * text2.C (getFont): adjust
7118 (getLayoutFont): adjust
7119 (getLabelFont): adjust
7121 * paragraph_funcs.C (TeXOnePar): adjust
7123 * buffer.C (simpleLinuxDocOnePar): adjust
7124 (simpleDocBookOnePar): adjust
7126 * CutAndPaste.C (pasteSelection): adjust
7128 * BufferView.C (getEncoding): adjust
7130 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7132 2003-04-16 John Levon <levon@movementarian.org>
7134 * lyxfind.C: use parlist stuff for search/changes
7136 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7140 * text2.C (deleteEmptyParagraphMechanism): adjust
7142 * text2.[Ch] (ownerParagraph): delete func (both of them
7144 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7146 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7148 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * ParagraphList.C: prepare for NO_NEXT
7152 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7154 * text2.C (getFont): adjust
7155 (getLayoutFont): adjust
7156 (getLabelFont): adjust
7158 * paragraph.C (getFont): adjust
7159 (getLabelFont): adjust
7160 (getLayoutFont): adjust
7162 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7164 2003-04-15 John Levon <levon@movementarian.org>
7168 * lyx_main.C: handle Include in .ui files
7170 2003-04-15 John Levon <levon@movementarian.org>
7172 * MenuBackend.C: make the doc files length shorter
7175 * ToolbarBackend.C: handle toolbar placement flags,
7178 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7183 * paragraph_funcs.C (TeXOnePar): adjust
7185 * paragraph.C (getLabelFont): add outerfont arg, adjust
7186 (getLayoutFont): ditto
7187 (simpleTeXOnePar): adjust
7189 * paragraph_pimpl.C (realizeFont): delete func
7191 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7193 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7194 row argument, constify cur argument.
7196 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7198 * text2.C (getFont): adjust
7199 (getLayoutFont): adjust
7200 (getLabelFont): adjust
7202 * paragraph_funcs.C (TeXOnePar): adjust
7203 (outerFont): new func...
7204 (realizeFont): ...moved out from here, changed this to facilitate
7207 * paragraph.C (getFont): take outerfont as arg, adjust
7208 (simpleTeXOnePar): add outerfont arg, adjust
7210 * buffer.C (simpleLinuxDocOnePar): adjust
7211 (simpleDocBookOnePar): adjust
7213 * CutAndPaste.C (pasteSelection): adjust
7215 * BufferView.C (getEncoding): adjust
7217 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7219 * text2.C (setCharFont): adjust
7220 (setCounter): adjust
7222 * text.C (leftMargin): adjust
7223 (setHeightOfRow): adjust
7225 * rowpainter.C (paintFirst): adjust
7228 * paragraph_pimpl.C (realizeFont): adjust
7230 * paragraph.C (isFirstInSequence): move from here...
7231 * paragraph_funcs.C (isFirstInSequence): ...to here
7233 * paragraph.C (outerHook): move from here...
7234 * paragraph_funcs.C (outerHook): ...to here
7236 * paragraph.C (depthHook): move from here...
7237 * paragraph_funcs.C (depthHook): ...to here
7239 * paragraph.C (getEndLabel): move from here...
7240 * paragraph_funcs.C (getEndLabel): ...to here
7242 * text2.C (realizeFont): move from here...
7243 * paragraph_funcs.C (realizeFont): ...to here
7245 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7247 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7249 2003-04-14 Angus Leeming <leeming@lyx.org>
7251 * LColor.[Ch]: scrap LColor mathcursor.
7253 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7255 * lyxlex.[Ch] (text): delete function
7256 * trans.C (Load): adjust
7257 * paragraph_funcs.C (readParToken): adjust
7259 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7262 vector<char> instead of a char[].
7264 * lyxlex_pimpl.C (getString): adjust
7266 (lex): use getString
7270 * lyxlex.C (text): use pimpl_->getString()
7274 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7276 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7277 (makeFontEntriesLayoutSpecific): temp var for par.size()
7278 (setLayout): temp var for ownerParagraphs().end()
7279 (fullRebreak): temp var for rows().end()
7280 (selectionAsString): temp var for boost::next(startpit), realize
7281 that the while really is a regular for loop.
7282 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7283 setCursor in one place.
7284 (setParagraph): temp vr for ownerParagraphs().end()
7285 (updateCounters): make the while loop a for loop
7286 (cutSelection): temp var for ownerParagraphs().end()
7287 (updateInset): make the do {} while() a regular for loop
7288 (getCursorX): use temp vars
7289 (setCurrentFont): use temp vars
7290 (getColumnNearX): use temp vars
7292 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7294 * text.C (transformChar): use temp var for getChar
7295 (computeBidiTables): use temp var for row->par()
7296 (fill): move temp vars for row->par() and pit->layout() earlier in
7298 (labelFill): use temp var for row->par()
7299 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7300 asc and desc, realize that pit never changes and that firstpit is
7301 just a duplicate and not needed. Exchange rit->par() with pit in a
7303 (breakAgain): use a temp var for boost::next(rit)
7304 (breakAgainOneRow): ditto
7305 (breakParagraph): use a temp var for rows().begin()
7306 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7307 (cursorRightOneWord): use temp var for cursor.par() and
7308 cursor.pos(), remove usage of tmpcursor.
7309 (cursorLeftOneWord): use temp var for cursor.par() and
7310 cursor.pos() only set cur at end of function.
7312 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7314 * text.C, text2.C: exchange all usage of Paragraph::next with
7315 boost::next(ParagraphList::iterator)
7317 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7319 * text2.C (cursorTop): simplify implementation
7320 (cursorBottom): ditto
7321 (setParagraph): use ParagraphList::iterator
7322 (setCurrentFont): adjust
7323 (getColumnNearX): adjust
7324 (cursorRight): adjust
7325 (cursorLeft): remove usage of Paragraph::previous
7326 (cursorUpParagraph): ditto
7327 (deleteEmptyParagraphMechanism): slight cleanup
7329 * text.C (isBoundary): take a Paragraph const & instead of a
7331 (addressBreakPoint): ditto
7332 (leftMargin): remove usage of Paragraph::previous.
7333 (setHeightOfRow): ditto
7334 (cursorLeftOneWord): ditto
7335 (selectNextWordToSpellcheck): ditto
7338 (breakParagraph): remove one usage of Paragraph::next
7339 (redoParagraph): ditto
7340 (acceptChange): ditto
7341 (insertChar): adjust
7342 (rowBreakPoint): adjust
7344 * bufferview_funcs.C (toggleAndShow): adjust
7346 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7348 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7349 methods to access it.
7351 * text.C: Added updateRowPositions to compute all row positions.
7352 Make top_y and getRowNearY() to use the cached y position
7354 2003-04-11 John Levon <levon@movementarian.org>
7356 * text.C (rowBreakPoint): reintroduce the labelEnd
7357 checks, code copied from the row fill stuff. Deep voodoo.
7359 * text.C (fill): add a comment and debugging for the
7362 2003-04-11 John Levon <levon@movementarian.org>
7364 * text.C: make sure fullrow insets get wrapped to the next line,
7365 even when they're in a manual label
7367 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7369 * text2.C (insertParagraph): make it take ParagraphList::iterator
7371 (setLayout): make it return ParagraphList::iterator
7372 (redoParagraphs): ditto
7374 (checkParagraph): ditto
7376 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7378 * text2.C: adjust several funcs.
7379 (realizeFont): take a ParagraphList::iterator as arg.
7380 (getLayoutFont): ditto
7381 (getLabelFont): ditto
7382 (setCharFont): ditto
7384 * text.C: adjust several funcs.
7386 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7388 * text.C (selectNextWordToSpellcheck): don't accidentally
7391 2003-04-10 John Levon <levon@movementarian.org>
7393 * ToolbarBackend.C (getIcon): special handling for
7396 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7398 * text2.C (cursorRight): a getChar assert fixed
7400 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7402 * text2.C (getFont): change to take a ParagraphList::iterator
7403 instead of Paragraph*
7404 Adjust several functions.
7406 * text.C (transformChar): change to take a ParagraphList::iterator
7407 instead of Paragraph*
7408 (singleWidth): ditto
7409 Adjust several functions.
7411 * rowpainter.C: adjust several functions
7412 * rowpainter.h:store a ParagraphList::iterator and not a
7416 2003-04-09 John Levon <levon@movementarian.org>
7421 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7422 and the "help" bits as well
7424 2003-04-09 John Levon <levon@movementarian.org>
7427 * ToolbarBackend.C: allow multiple toolbars
7429 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7431 * undo_funcs.C (setCursorParUndo): adjust
7433 * text_funcs.C (transposeChars): adjust
7435 * text3.C (gotoNextInset): adjust
7438 * text2.C (setLayout): adjust
7439 (changeDepth): adjust
7441 (redoParagraphs): adjust
7442 (selectionAsString): adjust
7443 (setParagraph): adjust
7444 (insertInset): adjust
7445 (cutSelection): adjust
7446 (copySelection): adjust
7447 (pasteSelection): adjust
7448 (insertStringAsLines): adjust
7449 (updateInset): adjust
7450 (setCursor): change to take a ParagraphList::iterator parameter
7451 (setCursorIntern): change to take a ParagraphList::iterator parameter
7452 (setCurrentFont): adjust
7453 (cursorLeft): adjust
7454 (cursorRight): adjust
7455 (deleteEmptyParagraphMechanism): adjust
7457 * text.C (breakParagraph): adjust
7458 (insertChar): adjust
7459 (acceptChange): adjust
7460 (rejectChange): adjust
7461 (selectNextWordToSpellcheck): adjust
7462 (changeCase): adjust
7466 * lyxfind.C (SearchForward): adjust
7467 (SearchBackward): adjust
7468 (nextChange): adjust
7470 * lyxcursor.C (par): adjust
7472 * lyxcursor.h: store a ParagraphList::iterator instead of a
7475 * lyx_cb.C (getPossibleLabel): adjust
7477 * bufferview_funcs.C (toggleAndShow): adjust
7479 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7482 * BufferView.C (removeAutoInsets): adjust
7483 (lockedInsetStoreUndo): adjust
7485 2003-04-09 John Levon <levon@movementarian.org>
7487 * ToolbarBackend.C: try icon without argument
7488 if with argument fails
7490 2003-04-08 John Levon <levon@movementarian.org>
7493 * ToolbarBackend.C: add getIcon(), handle tooltip,
7494 and change from "Icon" to "Item".
7496 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7498 * BufferView.C (lockInset): another bad getchar crunched
7500 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7502 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7505 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7507 * lyxfind.C (searchForward, searchBackwards): bug 782
7509 2003-04-07 John Levon <levon@movementarian.org>
7511 * paragraph.C: remove dead comment
7513 * text.C: remove troublesome depth-fiddling code
7514 in leftMargin() and rightMargin() (bug 1017)
7516 * text.C: fix breaking of rows in nested lists
7519 * text2.C (updateCounters): fix up depth values
7522 2003-04-07 John Levon <levon@movementarian.org>
7524 * BufferView_pimpl.C: clear message when doc finishes resizing,
7525 and after a mouse event
7527 * lyxfunc.C: clear message after exiting inset
7529 2003-04-07 John Levon <levon@movementarian.org>
7531 * bufferview_funcs.C: show math status not outside
7532 status in the statusbar
7534 2003-04-07 John Levon <levon@movementarian.org>
7536 * lyxfunc.C: note status changed after a depth change
7538 2003-04-04 Angus Leeming <leeming@lyx.org>
7540 * LaTeX.h: move AuxInfo operator==, != out of line.
7541 Remove LaTeX virtual destructor; nothing derives from it.
7542 Move operator()() out of public area and rename it startscript().
7543 Change protected for private.
7545 2003-04-04 Angus Leeming <leeming@lyx.org>
7548 * text2.C: remove unneeded #includes.
7550 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7552 * text2.C (dEPM): fix the heigth of the next row
7554 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7556 * text.C: squashed an invalid getChar requester + some ws changes
7558 2003-04-03 John Levon <levon@movementarian.org>
7560 * bufferview_funcs.h:
7561 * bufferview_funcs.C:
7564 * text2.C: make getStatus work for the env depth lfuns
7566 2003-04-03 John Levon <levon@movementarian.org>
7568 * bufferview_funcs.h:
7569 * bufferview_funcs.C:
7572 * text2.C: parlistize decDepth(), by merging it with incDepth()
7574 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7576 * lyxrow.h: store a ParagraphList::iterator instead of a
7577 Paragraph* and adjust other class functions to suit.
7579 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7582 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7584 * text2.C (setCursor): do not anchor to cursor row for the time being
7586 2003-04-02 John Levon <levon@movementarian.org>
7593 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7595 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * paragraph.h: make ParagraphList and ParagraphList::iterator
7598 friends of Paragraph.
7600 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7602 * ParagraphList.C: Use the private next_ and previous_ from
7605 2003-04-01 John Levon <levon@movementarian.org>
7609 * Makefile.am: rename, remove defaults gunk
7612 * MenuBackend.C: remove defaults gunk
7615 * Languages.C: remove defaults gunk
7618 * lyx_main.C: error out if files couldn't be found.
7620 2003-04-02 John Levon <levon@movementarian.org>
7622 * text2.C: make incDepth() use parlist
7624 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * undo_funcs.C (firstUndoParagraph): adjust
7628 * text3.C (gotoInset): adjust
7629 (dispatch): adjust, and rewrite loop.
7631 * text2.C (init): adjust, and rewrite loop.
7632 (redoParagraphs): adjust
7633 (updateInset): adjust, and rewrite loop.
7634 (deleteEmptyParagraphMechanism): adjust
7636 * tabular.C (LyXTabular): adjust
7637 (SetMultiColumn): adjust
7640 * lyxtext.[Ch] (ownerParagraph): delete function
7641 (ownerParagraphs): new function returns a ParagraphList.
7643 * BufferView.C (removeAutoInsets): adjust
7644 (insertErrors): adjust
7645 (setCursorFromRow): adjust
7647 2003-04-01 Angus Leeming <leeming@lyx.org>
7649 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7652 2003-04-02 John Levon <levon@movementarian.org>
7658 * text_funcs.C: make transposeChars a free function
7660 * lyxrow_funcs.C: remove wrong comment
7662 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7665 * rowpainter.C: adjust
7670 * lyxrow_funcs. [Ch]: new files
7672 * lyxrow.[Ch]: remove next and previous pointers
7673 (next,previous): remove accessor functions
7674 (isParEnd): move to lyxrow_funcs
7675 (lastPos): move to lyxrow_funcs
7676 (nextRowIsAllInset): move to lyxrow_funcs
7677 (lastPrintablePos): move to lyxrow_funcs
7678 (numberOfSeparators): move to lyxrow_funcs
7679 (numberOfHfills): move to lyxrow_funcs
7680 (numberOfLabelHfills): move to lyxrow_funcs
7681 (hfillExpansion): move to lyxrow_funcs
7685 * bufferview_funcs.C (toggleAndShow): adjust
7687 * RowList.h: Remove class RowList from file leave just a
7690 * RowList.C: delete file
7692 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7695 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7697 * text3.C (cursorPrevious): adjust
7698 (cursorNext): adjust
7701 * text2.C (redoHeightOfParagraph): adjust
7702 (redoDrawingOfParagraph): adjust
7705 * text.C (breakParagraph): adjust
7706 (insertChar): adjust
7709 * rowpainter.C (RowPainter): adjust
7710 (leftMargin): simplify and adjust
7711 (most rowpainter functions): adjust.
7713 * rowpainter.h: store the row as RowList::iterator not as Row*
7715 * lyxcursor.C (row): taka RowList::iterator as arg
7718 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7721 2003-04-01 Angus Leeming <leeming@lyx.org>
7723 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7724 stuff like bool Bool.
7726 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7728 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7731 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7736 * lyxtext.h (rows): drop one version and leve a const variant that
7737 returns a RowList::iterator.
7739 2003-03-31 Angus Leeming <leeming@lyx.org>
7741 * text.C (fill): ensure that the signature is the same as that in the
7744 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7746 * text2.C (redoParagraphs): adjust
7747 (updateCounters): adjust
7748 (checkParagraph): adjust
7749 (getColumnNearX): adjust and reformat a bit.
7751 * text.C (top_y): adjust
7753 (leftMargin): adjust
7754 (prepareToPrint): adjust
7756 (getRowNearY): adjust
7758 * lyxtext.h: make rowlist_ mutable.
7760 * RowList.h: add const_iterator
7761 * RowList.C: adjust for RowList::const_iterator.
7763 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7766 2003-03-31 John Levon <levon@movementarian.org>
7769 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7771 * lyx_main.C: set default fonts from using lyx_gui funcs
7773 * exporter.C: pdf_mode moved from lyxrc
7776 * lyxfunc.C: changes from above
7778 2003-03-31 John Levon <levon@movementarian.org>
7780 * lyx_main.C: fix to the last fix
7782 2003-03-31 John Levon <levon@movementarian.org>
7784 * bufferlist.C: "Load original" -> "Load Original"
7790 * format.C: more Alert cleanups
7792 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7794 * text2.C (removeParagraph): make it take a RowList::iterator as
7796 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7797 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7799 * text.C (anchor_row): make it take a RowList::iterator as arg,
7801 (computeBidiTables): make it take a const reference to Row instead
7802 of Row pointer, adjust.
7803 (leftMargin): make it take a RowList::iterator as arg, adjust.
7804 (rowBreakPoint): adjust
7805 (breakAgainOneRow): make it take a RowList::iterator as arg,
7807 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7809 * bufferview_funcs.C (toggleAndShow): adjust
7811 2003-03-30 John Levon <levon@movementarian.org>
7815 * boost-inst.C: moved to support
7817 * several files: changes as a result
7819 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7821 * text2.C (LyXText): adjust.
7823 (removeRow): make it take a RowList::iterator as arg, adjust.
7824 (fullRebreak): adjust
7825 (deleteEmptyParagraphMechanism): adjust
7826 (clearPaint): adjust
7829 * text.C (top_y): adjust
7830 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7831 (breakAgain): make it take a RowList::iterator as arg, adjust.
7832 (breakParagraph): adjust
7833 (insertChar): adjust
7836 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7837 need_break_row, and refresh_row.
7839 * text3.C (dispatch): adjust
7841 * text2.C (checkParagraph): adjust
7843 (setCursorFromCoordinates): adjust
7845 * text.C (top_y): adjust
7847 (getRow): make it return a RowList::iterator, adjust
7848 (getRowNearY): make it return a RowList::iterator, adjust
7850 * text2.C (init): adjust
7851 (insertRow): remove function
7852 (insertParagraph): adjust
7853 (redoParagraphs): adjust
7854 (fullRebreak): adjust
7855 (updateCounters): adjust
7857 * text.C (top_y): rewrite to use RowList iterators.
7859 (setHeightOfRow): rewrite to sue RowList iterators.
7860 (appendParagraph): adjust
7861 (breakAgain): adjust
7862 (breakAgainOneRow): adjust
7863 (breakParagraph): adjust
7865 (getRowNearY): adjust, and remove commented code.
7867 * lyxtext.h (firstRow): delete function
7868 (lastRow): delete function
7869 (rows): new function (const and non-const versions.)
7870 (insertRow): delete function
7872 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7874 2003-03-29 John Levon <levon@movementarian.org>
7876 * BufferView_pimpl.C: always update scrollbar top
7877 because pasting text when we're anchored could mean we
7878 miss an update altogether
7880 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7882 * text2.C (init): use rowlist_.end() and not 0.
7883 (insertRow): change to take a RowList::iterator as arg, adjust
7885 (insertParagraph): change to take a RowList::iterator as arg,
7887 (redoParagraphs): remove some debug msgs.
7889 * text.C (appendParagraph): change to take a RowList::iterator
7890 arg, adjust for this.
7891 (breakAgain): add an assert
7892 (breakAgainOneRow): ditto
7894 2003-03-29 John Levon <levon@movementarian.org>
7896 * text2.C: do not clear selection after inc/decDepth
7899 2003-03-29 John Levon <levon@movementarian.org>
7902 * buffer.C: fix broken strerrors according to Lars
7904 2003-03-29 John Levon <levon@movementarian.org>
7906 * converters.C: more Alert cleanups
7908 2003-03-29 John Levon <levon@movementarian.org>
7910 * bufferview_funcs.C: remove pointless Alert
7912 * buffer.C: fix confusing error message when
7913 a template is chmoded 000
7915 2003-03-29 John Levon <levon@movementarian.org>
7919 * BufferView_pimpl.C: Alert fixes
7923 * tabular-old.C: remove unused table compat reading
7925 2003-03-29 John Levon <levon@movementarian.org>
7930 * lyx_cb.C: more Alert cleanups
7932 * lyxfunc.C: don't allow chktex if not latex document
7934 2003-03-29 John Levon <levon@movementarian.org>
7938 * buffer.C: warnings pushed down from support/,
7941 2003-03-29 John Levon <levon@movementarian.org>
7943 * lyxfunc.C: safety check for C-r (revert)
7945 2003-03-29 John Levon <levon@movementarian.org>
7948 * bufferlist.C: several UI fixes using Alert::prompt.
7949 Fix the pointless looping quit code. Fix stupid revert
7954 * lyx_cb.C: use Alert::prompt
7956 * lyx_main.C: remove a silly question
7958 * lyxfunc.C: remove a couple of silly questions,
7961 2003-03-28 John Levon <levon@movementarian.org>
7963 * text2.C: fix bug 974 (End on empty par)
7965 2003-03-28 John Levon <levon@movementarian.org>
7967 * BufferView_pimpl.C:
7969 * lfuns.h: remove do-nothing math greek lfuns
7971 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7973 * lyxgluelength.h (isValidGlueLength): add default arg on
7974 parameter 2. Remove default arg from friend in class.
7976 * lyxlength.h (isValidLength): add default arg on parameter 2.
7977 Remove default arg from friend in class.
7979 * text2.C (LyXText): adjust, initialize refresh_row.
7983 (insertParagraph): adjst
7984 (redoParagraphs): adjust
7985 (fullRebreak): adjust
7986 (updateCounters): adjust
7987 (deleteEmptyParagraphMechanism): first attempt at fixing a
7990 * text.C (top_y): adjust
7991 (setHeightOfRow): adjust
7993 (getRowNearY): adjust
7995 * lyxtext.h: include RowList.h
7996 (~LyXText): not needed anymore, deleted.
7997 (firstRow): modify for RowList
7998 (lastRow): new function
7999 Delete firstrow and lastrow class variables, add a Rowlist
8000 rowlist_ class variable.
8002 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8005 * RowList.C (insert): fix case where it == begin().
8007 2003-03-26 Angus Leeming <leeming@lyx.org>
8009 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8010 the thesaurus dialog.
8012 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8016 * RowList.[Ch]: new files
8018 * ParagraphList.C (erase): handle the case where it == begin
8021 2003-03-25 John Levon <levon@movementarian.org>
8025 * aspell.C: add new aspell support
8028 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8031 2003-03-25 Angus Leeming <leeming@lyx.org>
8034 * LyXAction.C (init): new LFUN_INSET_INSERT.
8036 * BufferView_pimpl.C (dispatch): split out part of the
8037 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8039 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8042 2003-03-25 Angus Leeming <leeming@lyx.org>
8044 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8046 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8049 * text3.C: remove useless row->height(0)
8051 2003-03-25 John Levon <levon@movementarian.org>
8055 * text3.C: rename the refreshing stuff to better names
8057 2003-03-24 John Levon <levon@movementarian.org>
8059 * BufferView_pimpl.h:
8060 * BufferView_pimpl.C: update layout choice on a mouse
8063 2003-03-23 John Levon <levon@movementarian.org>
8065 * Makefile.am: fix commandtags.h reference
8067 2003-03-22 John Levon <levon@movementarian.org>
8069 * BufferView_pimpl.C:
8074 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8076 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8079 * text.C: take the rtl methods out of line
8081 2003-03-21 André Pönitz <poenitz@gmx.net>
8083 * metricsinfo.[Ch]: new files containing structures to be passed around
8084 during the two-phase-drawing...
8086 2003-03-21 André Pönitz <poenitz@gmx.net>
8088 * lyxtextclass.C: read 'environment' tag.
8090 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8092 * text2.C (removeRow): fix bug 964
8094 2003-03-20 John Levon <levon@movementarian.org>
8098 * text2.C: paint cleanups. Inset::update() dropped font
8101 2003-03-19 John Levon <levon@movementarian.org>
8103 * lyxfunc.C: only fitcursor/markDirty if available()
8105 2003-03-19 John Levon <levon@movementarian.org>
8107 * commandtags.h: rename to ...
8109 * lfuns.h: ... this, and renumber / cleanup
8111 2003-03-19 John Levon <levon@movementarian.org>
8113 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8114 fit the cursor after an lfun
8118 * BufferView_pimpl.h:
8119 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8121 * LyXAction.C: layout-character should have ReadOnly
8123 * ParagraphParameters.C:
8125 * bufferview_funcs.C:
8132 * undo_funcs.C: changes from above
8134 2003-03-18 John Levon <levon@movementarian.org>
8136 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8137 remove it from update()
8139 * lyxfunc.C: update layout choice after an lfun
8141 * text3.C: remove extra updateLayoutChoice()s
8143 2003-03-18 John Levon <levon@movementarian.org>
8145 * text.C: top_y change means full repaint, fix
8146 a drawing bug with cursor movement
8148 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8152 * text2.C: anchor row on setCursor
8154 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8156 * lyxtext.h: remove almost all mutable keywords
8159 * text3.C: remove const keywords accordingly
8161 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8165 (TeXEnvironment): ditto
8168 2003-03-17 John Levon <levon@movementarian.org>
8170 * text.C (rowBreakPoint): remove attempt to fix displayed
8171 math insets inside a manual label
8173 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8175 * lyxtext.h: remove BufferView* as first arg from almost all class
8177 * other files: adjust.
8179 2003-03-17 John Levon <levon@movementarian.org>
8183 * text2.C: more paint cleanups
8185 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8188 * rowpainter.C: remove "smart" background painting code
8190 2003-03-16 John Levon <levon@movementarian.org>
8195 * text3.C: add helper functions for setting refresh_row/y
8197 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8199 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8200 newline inset which *can* get inserted in the pass_thru layouts.
8201 This is primarily for literate documents.
8203 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8205 * buffer.C: increment LYX_FORMAT to 223
8207 2003-03-14 André Pönitz <poenitz@gmx.net>
8209 * textclass.h: prepare for environment handling, ws changes
8210 * lyxlayout.C: read latexheader and latexfooter tags
8212 2003-03-14 John Levon <levon@movementarian.org>
8214 * text2.C: rewrite ::status() a bit
8216 2003-03-13 John Levon <levon@movementarian.org>
8218 * lyxtext.h: add some docs
8220 2003-03-13 John Levon <levon@movementarian.org>
8225 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8227 2003-03-13 John Levon <levon@movementarian.org>
8229 * text3.C: fix appendix redrawing
8231 2003-03-13 John Levon <levon@movementarian.org>
8233 * text.C (setHeightOfRow):
8235 * rowpainter.C: make appendix mark have the text
8236 "Appendix" so the user knows what it is
8239 * LColor.C: s/appendixline/appendix/ from above
8241 2003-03-13 John Levon <levon@movementarian.org>
8243 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8245 * text.C: fix a getChar(pos) bug properly
8247 2003-03-13 Angus Leeming <leeming@lyx.org>
8250 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8251 Probably only temporary. Let's see how things pan out.
8253 * BufferView.C (unlockInset):
8254 * BufferView_pimpl.C (fitCursor):
8255 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8257 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8258 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8260 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8261 new functions that convert ParagraphParameters to and from a string.
8263 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8264 BufferView::Pimpl's dispatch.
8265 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8267 2003-03-13 André Pönitz <poenitz@gmx.net>
8271 * factory.C: make it aware of InsetEnv
8273 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8275 * text2.C (setCursor): never ask for one past last
8276 (setCursor): add some debugging messages.
8278 * text.C (singleWidth): never ask for one past last
8279 (singleWidth): ditto
8281 (rightMargin): ditto
8282 (rowBreakPoint): ditto
8283 (setHeightOfRow): ditto
8284 (prepareToPrint): ditto
8286 * rowpainter.C (paintBackground): never ask for one past last
8287 (paintText): never ask for one past last
8289 * paragraph_pimpl.C (getChar): make the assert stricter, never
8290 allow the one past last pos to be taken
8292 * paragraph.C (getChar): ws changes only
8294 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8295 (numberOfSeparators): ditto
8296 (numberOfHfills): ditto
8298 2003-03-12 John Levon <levon@movementarian.org>
8304 * paragraph_funcs.C: fix per-buffer authorlists
8306 2003-03-12 John Levon <levon@movementarian.org>
8308 * text.C: fix newline in right address
8310 2003-03-12 Angus Leeming <leeming@lyx.org>
8312 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8313 duplicate those in LyXFunc::dispatch.
8317 * ToolbarDefaults.C:
8318 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8319 Add LFUN_FONTFREE_UPDATE.
8321 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8322 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8324 * bufferview_func.[Ch]: several new functions to facilliate
8325 transfer of data to and from the character dialog.
8327 2003-03-12 John Levon <levon@movementarian.org>
8332 * paragraph_funcs.C:
8333 * paragraph_pimpl.C:
8337 * text3.C: remove META_NEWLINE in favour of an inset
8340 * rowpainter.C: remove paintNewline (done by inset)
8342 2003-03-12 John Levon <levon@movementarian.org>
8344 * paragraph_pimpl.C: complain about bad getChar()s
8345 for a while at least
8347 2003-03-12 John Levon <levon@movementarian.org>
8350 * buffer.C: move paragraph read into a separate function,
8351 a little renaming to reflect that.
8354 * bufferparams.C: remove the author_ids map, not necessary now
8357 * factory.C: moved Buffer::readInset to here
8359 * paragraph_funcs.h:
8360 * paragraph_funcs.C: readParagraph free function moved from
8363 * tabular.C: name change
8365 2003-03-12 John Levon <levon@movementarian.org>
8368 * ParagraphParameters.C: move par params input to
8371 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8372 behave like a normal read from the stream wrt reading
8373 a line vs. a \\token
8375 2003-03-12 John Levon <levon@movementarian.org>
8378 * ParagraphParameters.h:
8379 * ParagraphParameters.C: move output code to a
8382 2003-03-12 John Levon <levon@movementarian.org>
8384 * BufferView.C (insertLyXFile):
8387 * tabular.C: use a parlist iterator for creating the
8390 2003-03-12 John Levon <levon@movementarian.org>
8392 * buffer.C: make current_change static local not
8395 2003-03-12 John Levon <levon@movementarian.org>
8397 * buffer.C: fix insertStringAsLines for change tracking
8399 2003-03-12 John Levon <levon@movementarian.org>
8406 * bufferparams.C: move author list into params. Rename some
8407 functions. Move the header reading into a separate token
8408 loop. Move the header token reading into BufferParams.
8410 2003-03-12 John Levon <levon@movementarian.org>
8412 * changes.C: put debug inside lyxerr.debugging() checks
8414 2003-03-11 André Pönitz <poenitz@gmx.net>
8416 * factory.C: make it aware of InsetHFill
8418 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8420 * buffer.C (latexParagraphs): move function from here...
8421 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8424 2003-03-10 Angus Leeming <leeming@lyx.org>
8426 * LyXAction.C (init): fix bug in poplating array with multiple entries
8427 with the same LFUN (spotted by JMarc).
8429 2003-03-10 John Levon <levon@movementarian.org>
8432 * text2.C: move getColumnNearX() near its
8435 2003-03-10 John Levon <levon@movementarian.org>
8437 * text.C: fix break before a minipage
8439 2003-03-10 John Levon <levon@movementarian.org>
8441 * text.C: fix the last commit
8443 2003-03-09 John Levon <levon@movementarian.org>
8447 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8448 bug 365 (don't break before insets unless needed). Don't
8449 return a value > last under any circumstances.
8451 2003-03-09 Angus Leeming <leeming@lyx.org>
8453 * BufferView_pimpl.C (trackChanges, dispatch): call
8454 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8456 2003-03-09 Angus Leeming <leeming@lyx.org>
8458 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8459 than Dialogs::showAboutlyx().
8461 2003-03-09 Angus Leeming <leeming@lyx.org>
8463 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8464 than Dialogs::showTabularCreate().
8466 2003-03-09 John Levon <levon@movementarian.org>
8470 * text2.C: 3rd arg to nextBreakPoint was always the same.
8473 2003-03-08 John Levon <levon@movementarian.org>
8480 * text2.C: Remove the "main" bit from the "main body"
8483 2003-03-08 John Levon <levon@movementarian.org>
8485 * text.C (leftMargin): The left margin of an empty
8486 manual label paragraph should not include the label width
8489 * text.C (prepareToPrint): don't attempt to measure hfills
8490 for empty manual label paragraphs - the answer should be 0
8492 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8494 * CutAndPaste.C: remove commented code and reindent.
8496 2003-03-08 John Levon <levon@movementarian.org>
8499 * lyxfunc.C: move reloadBuffer()
8502 * BufferView.C: to here
8504 * lyxvc.C: add comment
8507 * vc-backend.C: call bv->reload() to avoid
8508 getStatus() check on MENURELOAD
8510 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8512 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8513 to an old format .dep file.
8515 2003-03-07 Angus Leeming <leeming@lyx.org>
8517 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8518 when the LFUN_MOUSE_RELEASE should have been handled by
8519 inset->localDispatch.
8521 2003-03-07 Angus Leeming <leeming@lyx.org>
8523 * BufferView_pimpl.C (dispatch):
8524 * LyXAction.C (init):
8525 * ToolbarDefaults.C (init):
8527 * lyxfunc.C (getStatus):
8528 remove LFUN_INSET_GRAPHICS.
8530 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8532 2003-03-07 Angus Leeming <leeming@lyx.org>
8535 * LyXAction.C (init):
8536 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8538 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8541 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8543 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8544 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8546 2003-03-07 Angus Leeming <leeming@lyx.org>
8548 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8551 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8553 * ParagraphList.C (front): new function
8556 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8558 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8559 and top_row_offset_. removed var first_y.
8561 * text2.C (LyXText, removeRow):
8563 * BufferView_pimpl.C:
8564 use these methods instead of using first_y
8566 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8568 * text2.C (pasteSelection): adjust for checkPastePossible
8570 * CutAndPaste.C: remove Paragraph * buf and replace with
8571 ParagraphList paragraphs.
8572 (DeleteBuffer): delete
8573 (cutSelection): change the tc type to textclass_type
8574 (copySelection): change the tc type to textclass_type
8575 (copySelection): adjust for ParagraphList
8576 (pasteSelection): change the tc type to textclass_type
8577 (pasteSelection): adjust for Paragraphlist
8578 (nrOfParagraphs): simplify for ParagraphList
8579 (checkPastePossible): simplify for ParagraphList
8580 (checkPastePossible): remove unused arg
8582 * ParagraphList.C (insert): handle the case where there are no
8585 * CutAndPaste.h: make CutAndPaste a namespace.
8587 * text3.C (dispatch): adjust
8589 * text.C (breakParagraph): add a ParagraphList as arg
8591 * paragraph_funcs.C (breakParagraph): change to take a
8592 BufferParams and a ParagraphList as args.
8593 (breakParagraphConservative): ditto
8594 (mergeParagraph): ditto
8595 (TeXDeeper): add a ParagraphList arg
8596 (TeXEnvironment): ditto
8599 * buffer.C (readLyXformat2): adjust
8600 (insertStringAsLines): adjust
8601 (latexParagraphs): adjust
8603 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8604 (cutSelection): adjust
8605 (pasteSelection): adjust
8607 * BufferView_pimpl.C (insertInset): adjust
8609 2003-03-05 Angus Leeming <leeming@lyx.org>
8612 * LyXAction.C (init):
8613 * BufferView_pimpl.C (dispatch):
8614 * lyxfunc.C (getStatus):
8615 remove LFUN_CHILD_INSERT.
8617 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8619 2003-03-05 Angus Leeming <leeming@lyx.org>
8622 * LyXAction.C (init):
8623 * src/factory.C (createInset):
8624 * lyxfunc.C (getStatus):
8625 * text3.C (dispatch):
8626 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8628 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8630 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8632 * ParagraphList.C (insert): handle insert right before end()
8633 (erase): fix cases where it can be first or last paragraph.
8635 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8637 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8638 Paragraph::next and Paragraph::previous
8641 * text.C (breakParagraph): adjust
8643 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8644 BufferParams& as arg.
8645 (breakParagraph): use ParagraphList::insert
8646 (breakParagraphConservative): take a Buffer* instead of a
8647 BufferParams& as arg.
8648 (breakParagraphConservative): use ParagraphList::insert.
8650 * buffer.C (insertStringAsLines): un-const it
8651 (insertStringAsLines): adjust
8653 * ParagraphList.C (insert): new function
8655 * CutAndPaste.C (pasteSelection): adjust
8657 * text.C (backspace): adjust
8659 * tabular.C (SetMultiColumn): adjust
8661 * CutAndPaste.C (cutSelection): adjust
8662 (pasteSelection): adjust
8664 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8665 Buffer const * as arg
8667 * ParagraphList.C (erase): new function
8668 * paragraph_funcs.C (mergeParagraph): use it
8669 (mergeParagraph): make it take a Buffer* instead of a
8670 BufferParams* as arg
8672 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8674 (breakParagraphConservative): ditto
8676 * paragraph.h: remove the breakParagraph friend
8678 * paragraph.C (eraseIntern): new function
8679 (setChange): new function
8681 * paragraph_funcs.C (mergeParagraph): make it take a
8682 ParagraphList::iterator instead of a Paragraph *, adjust
8685 * paragraph.h: move an #endif so that the change tracking stuff
8686 also works in the NO_NEXT case.
8688 2003-03-04 Angus Leeming <leeming@lyx.org>
8691 * LyXAction.C: new LFUN_INSET_MODIFY.
8693 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8694 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8696 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8698 * several files: ws changes only
8700 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8701 (TeXEnvironment): ditto
8704 * buffer.C (makeLaTeXFile): adjust
8705 (latexParagraphs): make it take ParagraphList::iterator as args
8707 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8709 * buffer.C (latexParagraphs): adjust
8711 * paragraph.C (TeXOnePar): move function...
8712 (optArgInset): move function...
8713 (TeXEnvironment): move function...
8714 * paragraph_pimpl.C (TeXDeeper): move function...
8715 * paragraph_funcs.C: ...here
8717 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8719 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8721 * buffer.C (readInset): remove compability code for old Figure and
8724 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8726 * buffer.C: ws changes
8729 * BufferView_pimpl.C: ditto
8732 * bufferlist.h: ditto
8736 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8738 * converter.[Ch]: split into itself +
8741 * Makefile.am: += graph.[Ch] + format.[Ch]
8748 * lyxrc.C: added #include "format.h"
8750 2003-02-27 Angus Leeming <leeming@lyx.org>
8752 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8755 * factory.C (createInset): add "label" to the factory.
8757 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8758 string and do no more.
8760 2003-02-27 Angus Leeming <leeming@lyx.org>
8763 * LyXAction.C (init):
8764 * factory.C (createInset):
8765 * BufferView_pimpl.C (dispatch):
8766 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8768 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8770 * lyxfunc.C (dispatch):
8771 * text3.C (dispatch): pass name to params2string.
8773 2003-02-26 Angus Leeming <leeming@lyx.org>
8775 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8777 Rearrange the ~includes. Strip out the unnecessary ones.
8779 * factory.C (createInset): reformat.
8780 create new insets for the various LFUN_XYZ_APPLY lfuns.
8782 2003-02-26 John Levon <levon@movementarian.org>
8785 * lyxrow.C: add isParStart,isParEnd helpers
8787 * paragraph.h: make isInserted/DeletedText take refs
8789 * paragraph_funcs.h:
8790 * paragraph_funcs.C: remove #if 0'd code
8795 * text.C: use lyxrow helpers above.
8796 Move draw and paint routines to RowPainter.
8797 Make several methods use refs not pointers.
8798 Make backgroundColor() const.
8799 Add markChangeInDraw(), isInInset().
8800 Merge changeRegionCase into changeCase.
8801 Make workWidth() shouldn't-happen code into an Assert.
8804 * rowpainter.C: new class for painting a row.
8807 * vspace.C: make inPixels take a ref
8809 2003-02-26 Angus Leeming <leeming@lyx.org>
8811 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8814 2003-02-25 John Levon <levon@movementarian.org>
8816 * ispell.C: give the forked command a more accurate name
8818 2003-02-22 John Levon <levon@movementarian.org>
8821 * toc.C: make TocItem store an id not a Paragraph *
8824 2003-02-21 Angus Leeming <leeming@lyx.org>
8826 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8827 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8828 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8829 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8830 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8831 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8833 * BufferView_pimpl.C (dispatch):
8834 * LyXAction.C (init):
8835 * factory.C (createInset):
8836 * lyxfunc.C (getStatus, dispatch):
8837 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8839 2003-02-21 Angus Leeming <leeming@lyx.org>
8841 * BufferView_pimpl.C (MenuInsertLyXFile):
8842 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8843 * lyxfunc.C (menuNew, open, doImport):
8844 no longer pass a LyXView & to fileDlg.
8846 2003-02-21 Angus Leeming <leeming@lyx.org>
8848 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8849 * LyXAction.C: change, BIBKEY to BIBITEM.
8850 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8851 Change InsetBibKey to InsetBibitem.
8852 Change BIBKEY_CODE to BIBITEM_CODE.
8853 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8854 * factory.C: replace insetbib.h with insetbibitem.h.
8855 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8856 * paragraph.C: replace insetbib.h with insetbibitem.h.
8857 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8858 Change bibkey() to bibitem().
8859 * text.C: remove insetbib.h.
8860 * text2.C: replace insetbib.h with insetbibitem.h.
8861 change bibkey() to bibitem().
8862 * text3.C: remove insetbib.h.
8863 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8865 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8867 * lyxrc.C (output): enclose user email in quotes (in case there are
8870 2003-02-18 John Levon <levon@movementarian.org>
8872 * buffer.h: add std::
8874 2003-02-17 John Levon <levon@movementarian.org>
8880 * pspell.C: reworking. Especially in ispell, a large
8881 number of clean ups and bug fixes.
8883 * lyxfunc.C: fix revert to behave sensibly
8885 2003-02-17 André Pönitz <poenitz@gmx.net>
8888 * commandtags.h: new LFUN_INSERT_BIBKEY
8898 * paragraph_func.C: remove special bibkey handling
8900 2003-02-17 John Levon <levon@movementarian.org>
8902 * text.C (Delete): fix case where delete at the end of
8903 the very first paragraph would not merge the pars
8905 2003-02-17 John Levon <levon@movementarian.org>
8907 * lyxrow.C: fix lastPrintablePos()
8909 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8911 * bufferparams.C (writeLaTeX): add a std:here
8913 * buffer.C: and remove a using directive there
8915 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8917 * buffer.C (makeLaTeXFile): move the code that generates the
8920 * bufferparams.C (writeLaTeX): ... in this new method
8922 * LaTeXFeatures.C (getEncodingSet): make const
8923 (getLanguages): make const
8925 * MenuBackend.C (binding): returns the binding associated to this
8927 (add): sets the status of each item by calling getStatus. Adds
8929 (read): add support for OptSubMenu
8930 (expand): remove extra separator at the end of expanded menu
8932 2003-02-15 John Levon <levon@movementarian.org>
8935 * BufferView_pimpl.C:
8937 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8938 inset code that had no actual effect. Remove unneeded status
8941 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8943 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8946 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8948 * text.C (drawLengthMarker): also draw an arrow marker for
8949 symbolic lengths (medskip...)
8951 2003-02-14 John Levon <levon@movementarian.org>
8954 * tabular.C: better method names
8956 2003-02-14 John Levon <levon@movementarian.org>
8958 * BufferView_pimpl.C:
8963 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8964 it's a more accurate name. Remove some pointless uses.
8966 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8968 * text2.C (LyXText): change order of initilizers to shut off
8971 2003-02-14 John Levon <levon@movementarian.org>
8973 * buffer.C: use ParIterator for getParFromID()
8977 * paragraph_pimpl.h:
8978 * paragraph_pimpl.C: remove unused getParFromID()
8980 2003-02-14 John Levon <levon@movementarian.org>
8982 * buffer.C: remove some very old #if 0'd parse code
8984 2003-02-13 John Levon <levon@movementarian.org>
8988 * text2.C: move hfillExpansion(), numberOfSeparators(),
8989 rowLast(), rowLastPrintable(), numberofHfills(),
8990 numberOfLabelHfills() ...
8993 * lyxrow.C: ... to member functions here.
8998 * text.C: remove LyXText::beginningOfMainBody(), and call
8999 p->beginningOfMainBody() directly. Move the check for
9000 LABEL_MANUAL into the latter.
9007 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9013 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9014 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9016 2003-02-13 John Levon <levon@movementarian.org>
9018 * CutAndPaste.C: remove debug
9020 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9022 * paragraph.C (asString): remove two unused variables
9024 * lyxtextclass.C (readTitleType):
9026 (LyXTextClass): handle new members titletype_ and titlename_
9028 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9030 2003-02-09 John Levon <levon@movementarian.org>
9033 * buffer.C: replace hand-coded list with a map for the dep clean
9035 2003-02-08 John Levon <levon@movementarian.org>
9037 * LaTeX.C: consolidate code into showRunMessage() helper
9039 2003-02-08 John Levon <levon@movementarian.org>
9044 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9045 and pass the size in explicitly
9047 * BufferView_pimpl.h:
9048 * BufferView_pimpl.C:
9050 * BufferView.C: add getCurrentChange()
9052 * BufferView_pimpl.h:
9053 * BufferView_pimpl.C: handle change lfuns
9055 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9056 for changes. Mark pasted paragraphs as new.
9058 * support/lyxtime.h:
9059 * support/lyxtime.C:
9060 * DepTable.C: abstract time_t as lyx::time_type
9063 * LColor.C: add colours for new text, deleted text, changebars
9065 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9066 package use "usenames" option.
9070 * LyXAction.C: add change lfuns
9074 * author.C: author handling
9077 * buffer.C: add a per-buffer author list, with first entry as
9078 current author. Handle new .lyx tokens for change tracking. Output
9079 author list to .lyx file. Output dvipost stuff to .tex preamble.
9080 Bump lyx format to 222.
9083 * bufferlist.C: add setCurrentAuthor() to reset current author details
9087 * bufferparams.C: add param for tracking
9089 * bufferview_funcs.C: output change info in minibuffer
9093 * changes.C: add change-tracking structure
9096 * debug.C: add CHANGES debug flag
9099 * lyxfind.C: add code for finding the next change piece
9102 * lyxrc.C: add user_name and user_email
9105 * lyxrow.C: add a metric for the top of the text line
9108 * text.C: implement accept/rejectChange()
9111 * text.C: paint changebars. Paint new/deleted text in the chosen
9112 colours. Strike through deleted text.
9116 * paragraph_pimpl.h:
9117 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9118 in the current change to the insert functions. Rework erase to
9119 mark text as deleted, adding an eraseIntern() and a range-based
9120 erase(). Implement per-paragraph change lookup and
9123 * paragraph_funcs.C: Fixup paste for change tracking.
9125 * tabular.C: mark added row/columns as new.
9127 * text.C: fix rowLast() to never return -1. Don't allow
9128 spellchecking of deleted text. Track transpose changes. Don't
9129 allow paragraph break or merge where appropriate.
9131 * text2.C: leave cursor at end of selection after a cut.
9133 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9135 * text.C (getLengthMarkerHeight):
9136 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9137 visible on screen too.
9139 2003-02-07 John Levon <levon@movementarian.org>
9141 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9143 2003-02-05 Angus Leeming <leeming@lyx.org>
9145 * lyxserver.C (read_ready): revert my patch of 11 September last year
9146 as it sends PC cpu through the roof. Presumably this means that
9147 the lyxserver will no longer run on an Alpha...
9149 2003-01-30 Angus Leeming <leeming@lyx.org>
9151 * factory.C (createInset): create an InsetCommandParam of type "index"
9152 and use it to 'do the right thing'.
9154 * text2.C (getStringToIndex): ensure that cursor position is always
9155 reset to the reset_cursor position.
9157 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9159 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9162 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9166 * lyxfunc.C: Output messages with identical spelling, punctuation,
9169 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9171 * MenuBackend.C (expandFormats): List only viewable export formats
9174 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9177 * lyxfunc.C (getStatus): Make sure that formats other than
9178 "fax" can also be disabled
9180 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9182 * text3.C (dispatch): put the lfuns that insert insets in 3
9183 groups, and call doInsertInset with appropriate arguments.
9184 (doInsertInset): new function, that creates an inset and inserts
9185 it according to some boolean parameters.
9187 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9189 * buffer.C (readFile): remember to pass on 'par' when calling
9190 readFile recursively.
9192 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9194 * MenuBackend.C (expandFormats): add "..." to import formats.
9196 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9198 * paragraph.C (asString): Remove XForms RTL hacks.
9200 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9201 * buffer.C: fix typo
9203 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9205 * Makefile.am (LIBS): delete var
9206 (lyx_LDADD): add @LIBS@ here instead.
9208 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9210 * Clarify the meaning of "wheel mouse jump"
9212 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9214 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9217 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9219 * importer.C (Loaders): do not preallocate 3 elements in the
9220 vector, since one ends up with 6 elements otherwise
9222 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9224 * DepTable.C (write): write the file name as last element of the
9225 .dep file (because it may contain spaces)
9226 (read): read info in the right order
9228 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9230 * paragraph_pimpl.C (simpleTeXBlanks):
9231 (simpleTeXSpecialChars):
9232 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9234 * tabular.C (latex): add some missing case statements. Reindent.
9236 * MenuBackend.C (expandToc): remove unused variable.
9238 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9247 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9250 2003-01-05 John Levon <levon@movementarian.org>
9253 * BufferView.C: add getEncoding()
9256 * kbsequence.C: do not store last keypress
9259 * lyxfunc.C: store last keypress here instead. Pass encoding
9262 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9264 * lyx_main.C (init): remove annoying error message when following
9265 symbolic links (bug #780)
9267 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9269 * text.C (insertChar):
9270 * lyxrc.C (getDescription): remove extra spaces
9272 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9274 * lyxrc.C (getDescription): remove extra spaces
9276 2002-12-20 John Levon <levon@movementarian.org>
9278 * text3.C: hack fix for page up/down across tall rows
9280 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9282 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9285 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9287 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9288 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9289 thesaurus is not compiled in
9291 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9293 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9295 2002-12-16 Angus Leeming <leeming@lyx.org>
9298 * lyx_main.C (init): remove override_x_deadkeys stuff.
9300 2002-12-12 John Levon <levon@movementarian.org>
9302 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9303 insert. Only remove shift modifier under strict
9306 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9308 * MenuBackend.C (expandToc): fix crash.
9310 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9312 * MenuBackend.C (expandToc): gettext on float names.
9314 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9316 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9317 implement bool empty() [bug 490]
9319 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9321 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9323 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9325 * several files: ws changes
9327 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9329 * text2.C (setCounter): clean up a bit, use boost.format.
9330 (updateCounters): initialize par upon declaration.
9332 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9333 if the layout exists. We do not just store the layout any more.
9334 (SwitchLayoutsBetweenClasses): use boost.format
9336 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9338 * converter.C (convert): if from and to files are the same, use a
9339 temporary files as intermediary
9341 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9344 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9346 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9348 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9350 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9352 * tabular.C (asciiPrintCell): use string(size, char) instead of
9355 * sgml.C (openTag): fix order of arguments to string constructor
9358 * lyxfunc.C (dispatch): use boost.format
9360 * lots of files: change "c" -> 'c'
9362 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9364 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9366 2002-11-25 Angus Leeming <leeming@lyx.org>
9368 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9370 * lyx_main.C (init): compile fix.
9372 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9374 * lyx_cb.C (start): boost.formatify
9375 do not include <iostream>
9377 * lengthcommon.C: ws only
9379 * boost-inst.C,BoostFormat.h: add more explict instantations
9381 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9383 * lots of files: handle USE_BOOST_FORMAT
9385 2002-11-21 John Levon <levon@movementarian.org>
9387 * pspell.C: fix compile
9389 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * lyxfunc.C (dispatch): use boost::format
9395 * lyxfont.C (stateText): use boost::format
9397 * lyx_main.C (LyX): use boost::format
9399 (queryUserLyXDir): ditto
9402 (typedef boost::function): use the recommened syntax.
9404 * importer.C (Import): use boost::format
9406 * debug.C (showLevel): use boost::format
9408 * converter.C (view): use boost::format
9413 * bufferview_funcs.C (currentState): use boost::format
9415 * bufferlist.C (emergencyWrite): use boost::format
9417 * buffer.C (readLyXformat2): use boost::format
9418 (parseSingleLyXformat2Token): ditto
9420 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9422 * LaTeX.C (run): use boost::format
9424 * Chktex.C (scanLogFile): use boost::format
9426 * BufferView_pimpl.C (savePosition): use boost::format
9427 (restorePosition): ditto
9428 (MenuInsertLyXFile): ditto
9430 * BoostFormat.h: help file for explicit instation.
9432 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9434 * tabular.C (latex): Support for block alignment in fixed width
9437 2002-11-17 John Levon <levon@movementarian.org>
9439 * BufferView_pimpl.C:
9441 * lyxfunc.C: split filedialog into open/save
9443 2002-11-08 Juergen Vigna <jug@sad.it>
9445 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9446 by my last patch (hopefully).
9448 2002-11-08 John Levon <levon@movementarian.org>
9457 * toc.C: ParConstIterator, and use it (from Lars)
9459 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9461 * lyxtextclass.[Ch]: revise and add doxygen comments
9463 2002-11-07 John Levon <levon@movementarian.org>
9465 * text.C: fix progress value for spellchecker
9467 * toc.C: fix navigate menu for insetwrap inside minipage
9469 * paragraph_funcs.C: added FIXME for suspect code
9471 2002-11-07 John Levon <levon@movementarian.org>
9473 * BufferView_pimpl.C: fix redrawing of insets
9476 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9478 * text2.C (updateCounters): fix bug 668
9480 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9482 * text3.C (dispatch): Do not make the buffer dirty when moving the
9485 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9487 * vc-backend.C: STRCONV
9490 * text2.C (setCounter): STRCONV
9492 * paragraph.C (asString): STRCONV
9494 * lyxlength.C (asString): STRCONV
9495 (asLatexString): ditto
9497 * lyxgluelength.C (asString): STRCONV
9498 (asLatexString): ditto
9500 * lyxfunc.C (dispatch): STRCONV
9503 * lyxfont.C (stateText): STRCONV
9505 * importer.C (Import): STRCONV
9507 * counters.C (labelItem): STRCONV
9508 (numberLabel): ditto
9509 (numberLabel): remove unused ostringstream o
9514 * bufferview_funcs.C (currentState): STRCONV
9516 * buffer.C (readFile): STRCONV
9517 (asciiParagraph): ditto
9518 (makeLaTeXFile): ditto
9520 * Spacing.C (writeEnvirBegin): STRCONV
9522 * LaTeXFeatures.C (getLanguages): STRCONV
9523 (getPackages): ditto
9525 (getBabelOptions): ditto
9526 (getTClassPreamble): ditto
9527 (getLyXSGMLEntities): ditto
9528 (getIncludedFiles): ditto
9532 (scanAuxFile): ditto
9535 * LString.h: add the STRCONV macros
9537 * BufferView_pimpl.C (savePosition): STRCONV
9538 (restorePosition): ditto
9539 (MenuInsertLyXFile): ditto
9541 * vc-backend.C (scanMaster): change from submatch[...] to
9544 * funcrequest.C: include config.h
9546 * factory.C: include config.h
9548 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9550 * box.C: include config.h
9552 * LaTeX.C (scanAuxFile): change from submatch[...] to
9556 2002-10-25 Angus Leeming <leeming@lyx.org>
9558 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9560 * ispell.[Ch] (setError): new method.
9561 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9562 Use setError() insetead of goto END.
9564 * lyx_cb.C (AutoSave): move out child process into new class
9567 2002-10-30 John Levon <levon@movementarian.org>
9569 * text3.C: make start appendix undoable
9571 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9573 * lyxlength.C (inPixels): Fix returned value.
9575 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9578 2002-10-24 Angus Leeming <leeming@lyx.org>
9580 * lyxgluelength.h: no need to forward declare BufferParams
9581 or BufferView, so don't.
9583 2002-10-21 John Levon <levon@movementarian.org>
9585 * BufferView.C: menuUndo ->undo, redo
9587 * BufferView.h: document, remove dead, make some methods private
9589 * paragraph_funcs.h:
9590 * paragraph_funcs.C:
9591 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9596 * sgml.C: move sgml open/close tag into sgml.C
9598 * bufferview_funcs.h: unused prototype
9601 * lyxfunc.C: remove unused
9604 * text.C: remove unused
9606 2002-10-21 John Levon <levon@movementarian.org>
9610 * BufferView_pimpl.h:
9611 * BufferView_pimpl.C: fix mouse wheel handling based on
9612 patch from Darren Freeman
9614 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9616 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9618 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9620 * lyxlength.C (inPixels): Fix hanfling of negative length.
9621 Fix LyXLength::MU case.
9623 2002-10-16 John Levon <levon@movementarian.org>
9625 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9627 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9629 * converter.C (view): add support for $$i (file name) and $$p
9630 (file path) for the viewer command. If $$i is not specified, then
9631 it is appended to the command (for compatibility with old syntax)
9633 2002-10-14 Juergen Vigna <jug@sad.it>
9635 * undo_funcs.C (textHandleUndo): alter the order in which the
9636 new undopar is added to the LyXText, as we have to set first
9637 the right prev/next and then add it as otherwise the rebuild of
9638 LyXText is not correct. Also reset the cursor to the right paragraph,
9639 with this IMO we could remove the hack in "redoParagraphs()".
9641 2002-10-09 Angus Leeming <leeming@lyx.org>
9643 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9644 to turn off an optimisation if a new inset is to be inserted.
9646 2002-10-11 André Pönitz <poenitz@gmx.net>
9648 * lyxtext.h: make some functions public to allow access
9649 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9651 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9653 * text3.C (dispatch): when changing layout, avoid an infinite loop
9656 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9658 * lyxrc.C (read): treat a viewer or converter command of "none" as
9661 * MenuBackend.C (expandFormats): for an update, also allow the
9662 formats that are not viewable
9664 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9665 script if it is newer than the lyxrc.defaults in user directory
9667 2002-10-07 André Pönitz <poenitz@gmx.net>
9669 * text.C: Vitaly Lipatov's small i18n fix
9671 2002-09-25 Angus Leeming <leeming@lyx.org>
9673 * ispell.h: doxygen fix.
9675 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9677 * buffer.h (readFile): Add a new argument to the method, to allow
9678 reading of old-format templates.
9680 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9682 * toc.C (getTocList): Get TOC from InsetWrap.
9684 2002-09-16 John Levon <levon@movementarian.org>
9686 * lyxfunc.C: check tabular for cut/copy too
9688 2002-09-12 John Levon <levon@movementarian.org>
9693 * factory.C: add header
9695 * paragraph_funcs.h:
9696 * paragraph_funcs.C: cleanup
9698 2002-09-11 John Levon <levon@movementarian.org>
9700 * PrinterParams.h: odd/even default to true
9702 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9704 * PrinterParams.h: update printer parameters for new xforms dialog
9706 2002-09-11 Angus Leeming <leeming@lyx.org>
9708 * lyxserver.C (read_ready): re-write to make it more transparent
9709 and to make it work in coherent fashion under Tru64 Unix.
9711 2002-09-11 André Pönitz <poenitz@gmx.net>
9715 * text3.C: implement LFUN_WORDSEL
9717 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9719 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9720 make floatlist_ a boost::shared_ptr<FloatList>
9722 * lyxtextclass.C: include FloatList.h
9723 (LyXTextClass): initialize floatlist_
9724 (TextClassTags): add TC_NOFLOAT
9725 (Read): match "nofloat" to TC_NOFLOAT and use it.
9726 (readFloat): modify call to floatlist_
9730 * FloatList.[Ch] (FloatList): remove commented out float
9732 (erase): new function
9734 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9736 * MenuBackend.C (expandToc): fix crash when there is no document
9739 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9741 * many files: Add insetwrap.
9743 2002-09-09 John Levon <levon@movementarian.org>
9745 * text2.C: remove confusing and awkward depth wraparound
9747 2002-09-09 John Levon <levon@movementarian.org>
9749 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9752 * buffer.C: remove getIncludeonlyList()
9755 * lyxfunc.C: remove headers
9757 2002-09-09 Juergen Vigna <jug@sad.it>
9759 * text.C (getColumnNearX): fix form Michael this is most
9760 probably a cut&paste bug.
9762 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9764 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9766 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9767 references, ws changes.
9769 * text2.C (init): update counters after init
9770 (insertParagraph): no need to set counter on idividual paragraphs.
9771 (setCounter): access the counters object in the textclass object
9772 on in the buffer object.
9773 (updateCounters): ditto
9775 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9776 shared_ptr<Counters> to avoid loading counters.h in all
9778 (LyXTextClass): initialize ctrs_
9779 (TextClassTags): add TC_COUNTER, and ...
9780 (Read): use it here.
9781 (CounterTags): new tags
9782 (readCounter): new function
9783 (counters): new funtion
9784 (defaultLayoutName): return a const reference
9786 * counters.C (Counters): remove contructor
9787 (newCounter): remove a couple of unneeded statements.
9788 (newCounter): simplify a bit.
9789 (numberLabel): some small formatting changes.
9791 * buffer.[Ch]: remove all traces of counters, move the Counters
9792 object to the LyXTextClass.
9794 2002-09-06 Alain Castera <castera@in2p3.fr>
9796 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9797 package to set the horizontal alignment on fixed width columns.
9800 * lyx_sty.h: added tabularnewline macro def.
9802 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9804 2002-09-06 John Levon <levon@movementarian.org>
9806 * LyXAction.C: tooltips for sub/superscript
9808 * MenuBackend.C: a bit more verbose
9810 * lyxfunc.C: tiny clean
9812 * undo_funcs.C: document undo_frozen
9814 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9816 * counters.C (Counters): add missing algorithm counter.
9818 * text2.C (setCounter): lookup the counter with layouts latexname
9819 instead of by section number.
9820 (setCounter): use a hackish way to lookup the correct enum
9822 a float name->type change
9823 reset enum couners with counter name directly instead of depth value.
9825 * counters.C (Counters): remove the push_backs, change to use the
9826 float type not the float name.
9827 (labelItem): remove unused string, float name->type change
9829 * counters.h: don't include vector, loose the enums and sects vectors
9831 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9833 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9834 (Read): add float->TC_FLOAT to textclassTags
9835 (Read): and handle it in the switch
9836 (readFloat): new function
9838 * FloatList.C (FloatList): comment out the hardcoded float
9841 * lyxlayout.h: ws change.
9843 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9845 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9847 2002-09-03 Angus Leeming <leeming@lyx.org>
9849 * BufferView_pimpl.h: qualified name is not allowed in member
9850 declaration: WorkArea & Pimpl::workarea() const;
9852 * factory.C: added using std::endl directive.
9854 * text3.C: added using std::find and std::vector directives.
9856 2002-08-29 André Pönitz <poenitz@gmx.net>
9859 * text2.C: remove unused member number_of_rows
9862 * BufferView2.C: remove file, move contents to...
9863 * BufferView.C: ... here
9865 * BufferView_pimpl.C:
9866 * factory.C: move more inset creation to factory
9868 * vspace.C: avoid direct usage of LyXText, ws changes
9871 don't provide direct access to WorkArea, use two simple
9872 acessors haveSelction() and workHeight() instead
9875 2002-08-29 John Levon <levon@movementarian.org>
9877 * BufferView_pimpl.C (dispatch): do not continue when
9880 2002-08-28 André Pönitz <poenitz@gmx.net>
9882 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9885 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9887 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9889 * buffer.C: increment LYX_FORMAT to 221
9891 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9892 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9894 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9896 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9898 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9900 * factory.C (createInset): use LyXTextClass::floats
9902 * MenuBackend.C (expandFloatListInsert):
9903 (expandFloatInsert):
9906 * text2.C (setCounter):
9908 * LaTeXFeatures.C (useFloat):
9909 (getFloatDefinitions):
9911 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9913 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9914 floatlist_, with accessor floats().
9916 * FloatList.h: remove global FloatList
9918 2002-08-26 André Pönitz <poenitz@gmx.net>
9920 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9924 * BufferView_pimpl.C:
9925 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9927 2002-08-25 John Levon <levon@movementarian.org>
9929 * LyXAction.C: fix margin note description
9931 2002-08-24 John Levon <levon@movementarian.org>
9935 * bufferview_funcs.C:
9937 * undo_funcs.C: cleanups
9939 * lyxfunc.C: disable CUT/COPY when no selection
9941 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9943 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9944 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9946 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9947 Add backward compatibility to "mono", "gray" and "no".
9949 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9951 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9952 (and file_format >= 200).
9954 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9956 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9958 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9960 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9962 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9964 * BufferView_pimpl.C:
9971 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9972 inset and code to make it work with the paragraph code. The inset
9973 can be anywhere in the paragraph, but will only do the expected
9974 thing in LaTeX if the layout file contains the parameter line
9976 (or more generally, a nonzero value) for that layout.
9978 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9980 * paragraph.h: remove the declaration of undefined counters class
9983 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9985 * text2.C (setCounter): fixed enumeration mis-count as reported by
9986 Dr. Richard Hawkins.
9988 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9990 * paragraph_funcs.h: remove some unneeded includes
9992 * text.C (backspace): pasteParagraph now in global scipe
9994 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9995 (pasteSelection): ditto
9997 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9998 * paragraph_funcs.C (pasteParagraph): ... here
10000 2002-08-20 André Pönitz <poenitz@gmx.net>
10002 * commandtags.h: new LFUNs for swapping/copying table row/colums
10005 * lyxfunc.C: support for new lfuns
10007 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10010 * buffer.[Ch]: remove NO_COMPABILITY stuff
10012 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10014 * boost.C (throw_exception): new file, with helper function for
10015 boost compiled without exceptions.
10020 * ParameterStruct.h:
10021 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10023 * bufferlist.C (emergencyWriteAll): use boost bind
10025 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10027 * text.C: include paragraph_funcs.h
10028 (breakParagraph): breakParagraph is now in global scope
10030 * paragraph_funcs.[Ch]: new files
10032 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10035 * buffer.C: include paragraph_funcs.h
10036 (insertStringAsLines): breakParagraph is now in global scope
10038 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10041 * CutAndPaste.C: include paragraph_funcs.h
10042 (cutSelection): breakParagraphConservative is now in global scope
10043 (pasteSelection): ditto
10045 * buffer.h: declare oprator== and operator!= for
10046 Buffer::inset_iterator
10048 * bufferlist.C (emergencyWrite): don't use fmt(...)
10050 * text3.C: add using std::endl
10052 * BufferView.C (moveCursorUpdate): remove default arg
10054 2002-08-20 André Pönitz <poenitz@gmx.net>
10056 * buffer.[Ch]: move inline functions to .C
10059 * BufferView_pimpl.C:
10061 * buffer.[Ch]: use improved inset_iterator
10064 * paragraph.[Ch]: write one paragraph at a time
10066 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10068 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10069 style if style is not specified.
10071 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10073 * text2.C (setCounter): when searching for right label for a
10074 caption, make sure to recurse to parent insets (so that a caption
10075 in a minipage in a figure float works) (bug #568)
10077 2002-08-20 André Pönitz <poenitz@gmx.net>
10079 * text3.C: new file for LyXText::dispatch() and helpers
10081 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10083 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10085 2002-08-19 André Pönitz <poenitz@gmx.net>
10088 * text.C: new LyXText::dispatch()
10090 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10092 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10094 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10096 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10099 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10101 * Makefile.am: use $(variables) instead of @substitutions@
10103 2002-08-15 André Pönitz <poenitz@gmx.net>
10106 * BufferView_pimpl.C: streamlining mathed <-> outer world
10110 * LyXAction.C: remove unused LFUN_MATH
10112 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10114 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10116 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10118 * paragraph.C (Paragraph): reformat a bit
10119 (cutIntoMinibuffer): use builtin InsetList function instad of
10123 * buffer.C: include boost/bind.hpp, add using std::for_each
10124 (writeFileAscii): use ParagraphList iterators
10125 (validate): use for_each for validate traversal of paragraphs
10126 (getBibkeyList): use ParagraphList iterators
10127 (resizeInsets): use for_each to resizeInsetsLyXText for all
10129 (getParFromID): use ParagraphList iterators
10131 * BufferView2.C (lockInset): use paragraph list and iterators
10133 2002-08-14 John Levon <levon@movementarian.org>
10135 * lyxserver.C: remove spurious xforms include
10137 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10139 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10141 2002-08-13 André Pönitz <poenitz@gmx.net>
10144 * lyxfunc.C: further cleaning
10146 2002-08-13 André Pönitz <poenitz@gmx.net>
10148 * funcrequest.h: new constructor
10150 * funcrequest.C: move stuff here from .h
10153 * BufferView_pimpl.C:
10156 * lyxfunc.C: subsequent changes
10158 * lyxfunc.h: new view() member function
10160 * lyxfunc.C: subsequent changes
10162 2002-08-13 Angus Leeming <leeming@lyx.org>
10165 * BufferView_pimpl.C:
10173 changes due to the changed LyXView interface that now returns references
10174 to member variables not pointers.
10176 2002-08-13 Angus Leeming <leeming@lyx.org>
10178 * WordLangTuple (word, lang_code): return references to strings,
10183 * lyxtext.h: forward-declare WordLangTuple.
10188 * text.C: #include "WordLangTuple.h".
10191 * text.C: (selectNextWordToSpellcheck): constify return type.
10193 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10199 * paragraph_pimpl.h:
10202 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10203 suggested by Angus.
10204 Made updateCounter always count from start of buffer, and removed
10205 second argument (par).
10206 Reverted floats number display to '#'. Perhaps I'll try again when the
10207 code base is sanitized a bit.
10209 2002-08-12 Angus Leeming <leeming@lyx.org>
10211 * buffer.[Ch] (getLabelList): constify.
10213 2002-08-07 André Pönitz <poenitz@gmx.net>
10215 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10217 * funcrequest.h: extension to keep mouse (x,y) position
10219 2002-08-12 Juergen Vigna <jug@sad.it>
10221 * BufferView2.C (insertErrors): forbid undo when inserting error
10224 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10226 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10228 * ParagraphList.[Ch]: new files
10230 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10232 * BufferView2.C (lockInset): ParagraphList changes
10235 * bufferlist.C: ditto
10239 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10241 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10242 unused class variable counter_,
10244 * paragraph.[Ch] (getFirstCounter): delete unused function
10246 * counters.C: include LAssert.h
10247 (reset): add a new function with no arg, change other version to
10248 not have def. arg and to not allow empty arg.
10250 * text2.C (setCounter): remove empty arg from call to Counters::reset
10252 2002-08-11 John Levon <levon@movementarian.org>
10254 * Makefile.am: add WordLangTuple.h
10256 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10258 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10259 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10261 * insets/insettext.C: InsetList changes
10263 * graphics/GraphicsSupport.C (operator()): InsetList changes
10265 * toc.C (getTocList): InsetList changes
10267 * paragraph_pimpl.[Ch]: InsetList changes
10269 * paragraph.[Ch]: InsetList changes
10271 * buffer.C (inset_iterator): InsetList changes
10272 (setParagraph): ditto
10273 * buffer.h (inset_iterator): ditto
10274 * iterators.C (operator++): ditto
10275 * iterators.h: ditto
10277 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10279 * InsetList.[Ch]: new files, most InsetList handling moved out of
10282 * BufferView2.C (removeAutoInsets): InsetList changes
10284 (ChangeInsets): ditto
10286 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10288 * paragraph_pimpl.h (empty): new function
10290 * paragraph.[Ch] (empty): new function
10292 * other files: use the new Paragraph::empty function
10294 2002-08-09 John Levon <levon@movementarian.org>
10296 * lyxtext.h: remove unused refresh_height
10298 2002-08-09 John Levon <levon@movementarian.org>
10305 * paragraph.C: move sgml char escaping out of paragraph
10308 * paragraph.C: remove id setter
10312 * paragraph_pimpl.C: remove dead tex_code_break_column
10314 * bufferview_funcs.C: small cleanup
10316 * lyxfunc.C: remove dead proto
10318 * lyxtext.h: make some stuff private. Remove some dead stuff.
10320 * lyxgluelength.C: make as[LyX]String() readable
10322 2002-08-08 John Levon <levon@movementarian.org>
10327 * ToolbarDefaults.C:
10330 * toc.C: lyxaction cleanup
10332 2002-08-08 John Levon <levon@movementarian.org>
10334 * BufferView2.C: small cleanup
10337 * lyxfind.C: move unnecessary header into the .C
10339 2002-08-08 John Levon <levon@movementarian.org>
10341 * funcrequest.h: just tedious nonsense
10344 * lyx_main.C: cleanups
10347 * vspace.C: remove dead header lyx_main.h
10349 2002-08-07 Angus Leeming <leeming@lyx.org>
10352 * paragraph_pimpl.h:
10353 Forward declare class Counters in paragraph.h by moving the ctrs member
10354 variable into Paragraph::Pimpl.
10355 (counters): new method, returning a reference to pimpl_->ctrs.
10357 * text2.C: ensuing changes.
10359 2002-08-07 John Levon <levon@movementarian.org>
10361 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10363 * BufferView_pimpl.C: announce X selection on double/triple
10366 * lyx_main.C: use correct bool in batch dispatch
10368 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10370 2002-08-07 André Pönitz <poenitz@gmx.net>
10372 * funcrequest.h: new class to wrap a kb_action and its argument
10375 * BufferView_pimpl[Ch]:
10379 * lyxrc.C: subsequent changes
10382 2002-08-07 John Levon <levon@movementarian.org>
10384 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10385 document options change.
10387 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10392 * makefile.am: move counters functionality over from
10393 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10395 2002-08-06 John Levon <levon@movementarian.org>
10397 * WordLangTuple.h: new file for word + language code tuple
10408 * BufferView2.C: use WordLangTuple
10411 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10413 2002-08-06 John Levon <levon@movementarian.org>
10415 * lyx_main.C: fix cmdline batch handling
10417 2002-08-06 André Pönitz <poenitz@gmx.net>
10419 * lyxrc.C: set default for show_banner to true
10421 2002-08-06 John Levon <levon@movementarian.org>
10423 * pspell.C: fix a crash, and allow new aspell to work
10425 2002-08-06 John Levon <levon@movementarian.org>
10428 * kbmap.C: small cleanup
10431 * vspace.C: add const
10433 2002-08-05 John Levon <levon@movementarian.org>
10435 * LyXAction.C: back to tabular-insert
10437 2002-08-04 John Levon <levon@movementarian.org>
10440 * BufferView.C: cosmetic change
10442 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10452 * BufferView2.C: purge all "Lyx" not "LyX" strings
10455 * lyxcursor.C: attempt to add some documentation
10460 * ToolbarDefaults.C:
10461 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10462 merge with LFUN_TABULAR_INSERT
10469 * pspell.C: split up i/pspell implementations into separate
10470 files, many cleanups
10472 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10474 * text2.C: some cleanup
10476 * lyxfunc.C: don't check for isp_command == "none" any more, it
10477 didn't make any sense
10479 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10484 * makefile.am: move counters functionality over
10485 from text2.C/paragraph.[Ch] to counters.[Ch], and
10487 2002-08-02 John Levon <levon@movementarian.org>
10489 * buffer.C: s/lyxconvert/lyx2lyx/
10491 2002-08-02 Angus Leeming <leeming@lyx.org>
10493 * lyxlex.C: revert John's change as it breaks reading of the user
10496 2002-08-02 Angus Leeming <leeming@lyx.org>
10498 * importer.C (Import):
10499 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10500 changes due to LyXView::view() now returning a boost::shared_ptr.
10502 2002-08-02 John Levon <levon@movementarian.org>
10504 * lyxlex.C: small cleanup
10506 2002-08-02 John Levon <levon@movementarian.org>
10508 * text2.C (status): small cleanup, no logic change
10510 2002-08-01 John Levon <levon@movementarian.org>
10513 * buffer.C (writeFile): don't output alerts, caller
10517 * lyx_cb.C: from above
10519 * lyxfunc.C: allow to open non-existent files
10521 2002-07-31 John Levon <levon@movementarian.org>
10523 * lyxserver.C: don't let incidental errors get
10526 2002-07-30 John Levon <levon@movementarian.org>
10528 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10530 2002-07-30 John Levon <levon@movementarian.org>
10533 * lyxserver.C: remove I/O callback too
10535 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10537 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10540 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10542 * many files: strip,frontStrip -> trim,ltrim,rtrim
10544 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10546 * PrinterParams.h: remove extern containsOnly, and include
10547 support/lstrings.h instead.
10549 * LaTeX.C (scanAuxFile): modify because of strip changes
10551 * buffer.C (makeLaTeXFile): ditto
10552 * bufferparams.C (writeFile): ditt
10553 * lyxfont.C (stateText): ditto
10554 * lyxserver.C (read_ready): ditto
10555 * vc-backend.C (scanMaster): ditto
10557 * BufferView_pimpl.h: ws changes
10559 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10561 2002-07-26 André Pönitz <poenitz@gmx.net>
10563 * kb_sequence.C: remove unnedred usings
10565 2002-07-26 Juergen Vigna <jug@sad.it>
10567 * lyxfind.C (LyXReplace): we have to check better if the returned
10568 text is not of theLockingInset()->getLockingInset().
10570 2002-07-25 Juergen Vigna <jug@sad.it>
10572 * lyxfind.C (LyXReplace): don't replace if we don't get the
10575 * undo_funcs.C (createUndo): remove debugging code.
10577 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10579 * buffer.C (parseSingleLyXformat2Token): Use default placement
10580 when reading old floats.
10582 * FloatList.C (FloatList): Change the default placement of figure
10583 and tables to "tbp".
10585 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10587 * MenuBackend.C: using std::max
10589 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10591 * MenuBackend.C (expandToc):
10592 (expandToc2): code moved from xforms menu frontend. It is now
10593 generic and TOCs are transparent to menu frontends.
10595 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10597 * toc.C (getTocList): protect against buf=0
10599 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10600 Menu as first parameter. Now, this calls itself recursively to
10601 expand a whole tree (this will be useful for TOC handling)
10602 (expandFloatInsert): remove 'wide' version of floats
10604 * MenuBackend.h (submenuname): returns the name of the submenu.
10605 (submenu): returns the submenu itself, provided it has been
10606 created by MenuBackend::expand
10608 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10610 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10611 insets which have noFontChange == true. (bug #172)
10613 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10615 * BufferView_pimpl.C: add connection objects and use them...
10618 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10620 * MenuBackend.C (expandLastfiles):
10623 (expandFloatListInsert):
10624 (expandFloatInsert):
10625 (expand): split expand in parts
10627 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10629 * lyx_gui.C: use lyx_gui::exit()
10631 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10633 * LyXAction.C: show the failing pseudo action
10635 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10637 * buffer.C (readFile): Run the lyxconvert script in order to read
10640 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10644 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10646 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10650 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10652 2002-07-22 Herbert Voss <voss@lyx.org>
10655 * lyxlength.[Ch]: add support for the vertical lengths
10657 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10659 * toc.[Ch]: std:: fixes
10661 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10663 * lyxrc.C: do not include lyx_main.h
10665 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10671 * BufferView2.C: include "lyxlex.h"
10674 * bufferparams.h: do not #include "lyxlex.h"
10676 * lyxtextclasslist.C (Add): remove method
10677 (classlist): renamed to classlist_
10679 * paragraph_pimpl.C:
10683 * bufferview_funcs.C:
10688 * toc.C (getTocList): use BufferParams::getLyXTextClass
10690 * toc.C (getTocList): use InsetFloat::addToToc
10692 * toc.[Ch]: new files, containing helper functions to handle table
10695 * lyxfunc.C (dispatch): no need to remove spaces around command
10697 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10698 first command of the sequence; it is not very clever, but I do not
10699 have a better idea, actually
10701 * LyXAction.C (LookupFunc): make sure to remove space at the
10702 beginning and end of the command
10704 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10706 * MenuBackend.C (getMenubar): new method: return the menubar of
10708 (read): treat differently reading of menu and menubar (in
10709 particular, the menubar has no name now)
10710 (Menu::menubar): remove
10712 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10715 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10717 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10718 a bibitem inset in a RTL paragraph.
10720 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10722 * paragraph_pimpl.C: constify
10724 * BufferView_pimpl.C:
10726 * lyxfunc.C: fix dispatch in a nicer way
10728 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10730 * lyxfunc.C (dispatch):
10731 * BufferView_pimpl.C:
10732 * BufferView_pimpl.h:
10734 * BufferView.h: rename Dispatch() to dispatch()
10736 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10738 * lyxlayout.C (Read): honor DependsOn tag
10740 * lyxlayout.[Ch] (depends_on): new method
10742 * version.C.in: update lyx_docversion
10744 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10746 * paragraph.C (validate): remove from here...
10747 * paragraph_pimpl.C (validate): ... and move here
10748 (isTextAt): make it const
10750 * buffer.C (getLists): ws cleanup
10752 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10754 * language.C (read): Use iso8859-1 encoding in latex_lang
10755 (this prevents LyX from crashing when using iso10646-1 encoding).
10757 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10759 * text2.C (toggleInset): if cursor is inside an inset, close the
10760 inset and leave cursor _after_ it
10762 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10764 * lyxfunc.C: move minibuffer completion handling out of here
10766 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10768 * BufferView_pimpl.C:
10769 * LaTeX.C: fix dispatch calls
10771 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10773 * text.C (drawChars): Fix Arabic text rendering.
10775 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10779 * lyxfunc.C: remove message-push/pop
10783 * lyxfunc.C: rationalise some code by removing verboseDispatch
10784 in favour of a bool argument to dispatch()
10786 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10788 * lyx_main.C (init): make sure to read symlinks as absolute paths
10790 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10793 * lyxfunc.C: no need for commandshortcut to be a member
10795 2002-07-15 André Pönitz <poenitz@gmx.net>
10797 * converter.C: add support for $$s (scripts from lib/scripts dir)
10798 * lyx_main.C: white space
10800 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10804 * lyxrc.C: remove second exit confirmation
10806 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10811 * BufferView_pimpl.h:
10812 * BufferView_pimpl.C:
10813 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10815 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10817 * MenuBackend.C (expand): add numeric shortcuts to document menu
10819 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10821 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10823 * lyxfont.C (setLyXFamily):
10830 * buffer.C (asciiParagraph): use ascii_lowercase
10832 2002-07-15 Mike Fabian <mfabian@suse.de>
10834 * lyxlex_pimpl.C (search_kw):
10835 * lyxlex.C (getLongString):
10836 * converter.h (operator<):
10837 * converter.C (operator<):
10838 * buffer.C (parseSingleLyXformat2Token):
10840 * ToolbarDefaults.C (read):
10841 * MenuBackend.C (checkShortcuts):
10843 * LColor.C (getFromGUIName):
10844 (getFromLyXName): use the compare_ascii_no_case instead of
10845 compare_no_case, because in turkish, 'i' is not the lowercase
10846 version of 'I', and thus turkish locale breaks parsing of tags.
10848 2002-07-16 Angus Leeming <leeming@lyx.org>
10850 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10851 now takes a Buffer const & argument.
10853 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10855 * BufferView.C (resize): check there's a buffer to resize
10857 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10859 * lyxfunc.C: remove dead code
10862 * lyxserver.C: use lyx_guii::set_read_callback
10864 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10866 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10867 an inset in a RTL paragraph.
10869 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10871 * lyxfunc.C: repaint after a font size update
10873 2002-07-15 André Pönitz <poenitz@gmx.net>
10875 * lyxlength.C: inBP should be able to return negative values
10877 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10879 * lyxfunc.C: use lyx_gui::update_fonts()
10881 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10883 * lyxfunc.C: use lyx_gui::update_color()
10885 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10891 * lyxrc.C: remove file->new asks for name option, and let
10892 buffer-new take an argument
10894 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10896 * BufferView_pimpl.C: remove unneeded extra repaint()
10898 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10900 * LyXAction.C: allow command-sequence with NoBuffer
10902 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10904 2002-07-10 Angus Leeming <leeming@lyx.org>
10906 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10908 2002-07-09 Angus Leeming <leeming@lyx.org>
10910 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10912 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10914 * lengthcommon.h: whitespace
10916 * lyxfunc.C: update scrollbar after goto paragraph
10918 * lyxtext.h: factor out page break drawing, and fix it so
10919 page break/added space paints as selected nicely
10921 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10923 * BufferView_pimpl.C: add FIXMEs, clean up a little
10925 2002-07-09 André Pönitz <poenitz@gmx.net>
10927 * lyxfont.[Ch]: support for wasy symbols
10929 2002-07-08 André Pönitz <poenitz@gmx.net>
10931 * BufferView_pimpl.C: apply John's patch for #93.
10933 2002-07-05 Angus Leeming <leeming@lyx.org>
10935 * BufferView_pimpl.C (buffer): generate previews if desired.
10937 * LColor.h: add "preview" to the color enum.
10939 * LColor.C (LColor): add a corresponding entry to the items array.
10941 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10944 2002-07-05 Angus Leeming <leeming@lyx.org>
10946 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10947 The body of the code is now in the method that is passed an ostream &
10948 rather than a file name.
10949 Pass an additional only_preamble parameter, useful for the forthcoming
10952 2002-07-03 André Pönitz <poenitz@gmx.net>
10954 * lyxfunc.C: simplify getStatus() a bit for math stuff
10956 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10960 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * text.C (changeRegionCase): do not change case of all the
10963 document when region ends at paragraph end (bug #461)
10965 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10967 * paragraph.C (startTeXParParams):
10968 (endTeXParParams): add \protect when necessary
10970 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10972 * BufferView_pimpl.C (workAreaExpose): remove warning
10974 2002-06-27 Angus Leeming <leeming@lyx.org>
10976 * Makefile.am: add lyxlayout_ptr_fwd.h.
10978 2002-06-26 André Pönitz <poenitz@gmx.net>
10980 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10982 2002-06-25 Angus Leeming <leeming@lyx.org>
10984 * lyxfunc.C (dispatch): Comment out the call to
10985 grfx::GCache::changeDisplay. The method no longer exists now that the
10986 pixmap generation part of the graphics loader has been moved into
10989 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10991 * text2.C: layout as layout
10993 * text.C: layout as layout
10995 * tabular.C (OldFormatRead): layout as layout
10997 * paragraph_pimpl.C (TeXDeeper): layout as layout
10998 (realizeFont): layout as layout
11000 * paragraph.C (writeFile): layout as layout
11001 (validate): layout as layout
11002 (getFont): layout as layout
11003 (getLabelFont): layout as layout
11004 (getLayoutFont): layout as layout
11005 (breakParagraph): layout as layout
11006 (stripLeadingSpaces): layout as layout
11007 (getEndLabel): layout as layout
11008 (getMaxDepthAfter): layout as layout
11009 (applyLayout): layout as layout
11010 (TeXOnePar): layout as layout
11011 (simpleTeXOnePar): layout as layout
11012 (TeXEnvironment): layout as layout
11013 (layout): layout as layout
11014 (layout): layout as layout
11016 * lyxtextclass.C (compare_name): new functor to work with
11017 shared_ptr, layout as layout
11018 (Read): layout as layout
11019 (hasLayout): layout as layout
11020 (operator): layout as layout
11021 (delete_layout): layout as layout
11022 (defaultLayout): layout as layout
11024 * lyxlayout_ptr_fwd.h: new file
11026 * lyxlayout.C (Read): layout as layout
11028 * lyx_cb.C (MenuInsertLabel): layout as layout
11030 * bufferlist.C (newFile): layout as layout
11032 * buffer.C (readLyXformat2): layout as layout
11033 (parseSingleLyXformat2Token): layout as layout
11034 (insertStringAsLines): layout as layout
11035 (asciiParagraph): layout as layout
11036 (latexParagraphs): layout as layout
11037 (makeLinuxDocFile): layout as layout
11038 (simpleLinuxDocOnePar): layout as layout
11039 (makeDocBookFile): layout as layout
11040 (simpleDocBookOnePar): layout as layout
11041 (getLists): layout as layout
11043 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11045 * CutAndPaste.C (cutSelection): layout as layout
11046 (pasteSelection): layout as layout
11047 (SwitchLayoutsBetweenClasses): layout as layout
11049 * BufferView_pimpl.C (Dispatch): layout as layout
11050 (smartQuote): layout as layout
11052 * BufferView2.C (unlockInset): layout as layout
11054 2002-06-24 André Pönitz <poenitz@gmx.net>
11056 * lyxfunc.C: fix #487
11058 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11062 * lyxfunc.C: remove display_shortcuts, show_banner
11064 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11066 * Buffer_pimpl.C: oops, update on resize
11068 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11075 * BufferView.C: use repaint()
11077 * BufferView_pimpl.h:
11078 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11079 as it's a clearer description. Remove superfluous
11082 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11084 * text.C: fix bug 488. Not ideal, but getting
11085 getWord() to work properly for the insets that
11086 matter is more difficult ...
11088 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11090 * BufferView_pimpl.C:
11093 * lyxfunc.C: remove the six million index lyxfuncs to just
11094 one, and DTRT (bug 458)
11096 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11100 * BufferView_pimpl.h:
11101 * BufferView_pimpl.C: clean up resize() stuff,
11102 and unnecessary updateScreen()s
11104 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11108 * BufferView_pimpl.h:
11109 * BufferView_pimpl.C:
11112 * minibuffer.C: remove focus management of workarea,
11113 not needed. Use screen's greyOut()
11115 2002-06-17 Herbert Voss <voss@lyx.org>
11117 * converter.C: (convert) do not post a message, when converting
11118 fails, let the calling function decide what to do in this case
11120 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11122 * lyxfunc.C: tidy up a little
11124 2002-06-16 <alstrup@diku.dk>
11126 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11127 Got rid of FORMS_H_LOCATION include. Now we are
11130 2002-06-15 LyX Development team <lyx@rilke>
11132 * buffer.[Ch] (sgmlOpenTag):
11133 (sgmlCloseTag): Added support for avoiding pernicious mixed
11134 content. Return number of lines written.
11136 (makeLinuxDocFile):
11137 (makeDocBookFile): Fixed calls to sgml*Tag.
11138 Simple white space clean.
11140 (simpleDocBookOnePar): Simple white space clean.
11142 * tabular.[Ch] (docBook): Renamed to docbook and got another
11143 argument to related with the pernicious mixed content.
11145 (docbookRow): Fixed calls for docbook inset method.
11147 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11149 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11150 so it's X11 independent.
11154 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11156 2002-06-15 Lyx Development team <lyx@electronia>
11158 * intl.h: Renamed getTrans to getTransManager.
11160 2002-06-14 Angus Leeming <leeming@lyx.org>
11162 * Makefile.am: nuke forgotten stl_string_fwd.h.
11164 2002-06-12 Angus Leeming <leeming@lyx.org>
11166 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11168 2002-06-13 Angus Leeming <leeming@lyx.org>
11171 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11173 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11175 * kbmap.C (getiso): add support for cyrillic and greek
11177 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11181 * BufferView_pimpl.h:
11182 * BufferView_pimpl.C: move bogus scrolling logic
11185 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11188 * BufferView_pimpl.C: view->resize() change
11190 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11192 * BufferView_pimpl.C: topCursorVisible
11195 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11199 * lyx_gui.C: move to frontends/
11203 * lyx_main.C: changes from above
11205 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11212 * lyx_main.C: minor tidy
11214 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11216 * BufferView_pimpl.h:
11217 * BufferView_pimpl.C:
11219 * BufferView.C: make painter() const,
11222 * BufferView2.C: use screen() accessor
11225 * lyx_main.C: some minor cleanup
11227 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11229 * BufferView_pimpl.h:
11230 * BufferView_pimpl.C: remove enter/leaveView,
11233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11238 * BufferView_pimpl.h:
11239 * BufferView_pimpl.C: only construct screen once,
11242 * lyxrc.C: remove pointless comment
11244 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11247 * BufferView.C: remove active() and belowMouse()
11249 * BufferView_pimpl.h:
11250 * BufferView_pimpl.C: use workarea() not workarea_,
11251 and make it use a scoped_ptr instead
11253 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11255 * lyx_gui.C: add debug message on BadWindow
11257 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11259 * sp_spell.C: fdopen is not part of the C++ standard.
11261 * paragraph.C (InsetIterator): use >= instead of ==
11263 2002-06-07 Angus Leeming <leeming@lyx.org>
11265 Fixes needed to compile with Compaq cxx 6.5.
11266 * BufferView_pimpl.C:
11273 * lyxtextclasslist.C:
11278 all c-library variables have been moved into namespace std. Wrap
11279 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11284 Add a using std::abs declaration.
11286 * kbmap.h (modifier_pair):
11287 * paragraph.h (InsetTable, InsetList):
11288 * lyxfont.h (FontBits):
11289 type definition made public.
11291 * bufferlist.C (emergencyWriteAll): the compiler complains that
11292 there is more than one possible lyx::class_fun template to choose from.
11293 I re-named the void specialisation as lyx::void_class_fun.
11295 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11297 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11298 the compiler is is unable to find tostr in write_attribute.
11300 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11302 * buffer.C (sgmlError): hide #warning
11304 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11306 * xtl/*: get rid of xtl, which is not in use anyway
11308 * LyXAction.C (init):
11309 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11310 were unimplemented xtl experimentation
11312 2002-06-04 André Pönitz <poenitz@gmx.net>
11314 * lyxfunc.C: disable array operation on simple formulae
11316 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11318 * converter.C: constify a bit
11320 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11322 * lyx_gui.C: check xforms version correctly
11324 2002-04-30 Herbert Voss <voss@lyx.org>
11326 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11329 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11331 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11332 attempt to register it with a VCS)
11334 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11336 * lyx_main.C (init): honor variables LYX_DIR_13x and
11339 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11343 * lyx_main.C: fix a crash on bad command line,
11344 and give a useful exit status on error
11346 * lyxfunc.C (doImport): allow -i lyx to work
11348 2002-03-30 André Pönitz <poenitz@gmx.net>
11350 * lyxfunc.C: mathed font changes
11352 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11367 * trans_mgr.h: srcdocs, and some minor cleanups
11369 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11371 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11372 call getFont all the time)
11374 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11376 * switch from SigC signals to boost::signals
11378 2002-05-29 André Pönitz <poenitz@gmx.net>
11380 * paragraph_pimpl.C (getChar): don't call size() too often...
11382 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11384 * paragraph_pimpl.C (insertChar): do not try to update tables when
11385 appending (pos == size())
11387 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11388 in order to reduce drastically the number of comparisons needed to
11389 parse a large document
11391 2002-05-29 André Pönitz <poenitz@gmx.net>
11397 * textclasslist.[Ch]:
11398 * sp_ispell.h: whitespace change
11400 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11402 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11403 lyxaction directly now.
11405 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11409 * lyxvc.C: remove unused headers
11411 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11418 * undo_funcs.C: some cleanups. Use shared_ptr
11419 and a template for the undo stacks.
11421 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11423 * BufferView_pimpl.h:
11424 * BufferView_pimpl.C:
11431 * text2.C: use key_state/mouse_state
11433 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11435 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11438 * chset.C: change include order
11439 (loadFile): use boost regex and get rid of LRegex and LSubstring
11441 * Makefile.am (BOOST_LIBS): new variable
11442 (lyx_LDADD): use it
11444 * LaTeX.C: change include order.
11445 (scanAuxFile): use boost regex and get rid of LRegex and
11449 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11454 * FontInfo.C: moved to frontends/xforms/
11457 * FontLoader.C: moved into frontends for GUIIzation
11462 * lyxfunc.C: changes from above
11464 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11466 * LColor.C: remove spurious X include
11468 * BufferView_pimpl.C:
11473 * text2.C: move font metrics to frontends/
11475 2002-05-24 Juergen Vigna <jug@sad.it>
11477 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11478 setting the undo_cursor.
11480 * ParagraphParameters.h: include local includes first.
11482 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11484 * BufferView_pimpl.C:
11485 * BufferView_pimpl.h:
11489 * screen.C: move WorkArea into frontends/
11495 * BufferView2.C: move LyXScreen into frontends/
11499 * lyx_gui.C: move lyxlookup into frontends/xforms/
11501 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11504 * BufferView_pimpl.C:
11514 * bufferview_funcs.C:
11527 * vc-backend.C: move LyX/XFormsView into frontends/
11529 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11541 * text2.C: move Painter to frontends/
11543 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11545 * buffer.C: comment out some some code that depend upon lyx_format
11548 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11549 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11551 * buffer.h (NO_COMPABILITY): turn off compability
11553 * ColorHandler.C: include scoped_array.hpp
11555 * font.C: Use more specific smart_ptr header.
11558 * ShareContainer.h: ditto
11559 * lyx_main.h: ditto
11561 * FontInfo.h: ditto
11562 * BufferView_pimpl.h: ditto
11563 * ColorHandler.h: ditto
11565 * kbmap.C (defkey): change call to shared_ptr::reset
11567 2002-05-21 Juergen Vigna <jug@sad.it>
11569 * buffer.C (insertErtContents): fix to insert ert asis if it is
11570 non empty. Skip it completely if it contains only whitespaces.
11572 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11574 * BufferView_pimpl.C:
11575 * BufferView2.C: clear selection on paste (bug 393)
11577 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11579 * DepTable.C: include ctime
11581 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11583 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11585 2002-05-14 Juergen Vigna <jug@sad.it>
11587 * text.C (breakParagraph): fixed function to honor the keepempty
11588 layout in the right maner and also to permit the right breaking
11589 algorithm on empty or non empyt keepempty paragraphs.
11591 * paragraph.C (breakParagraph): we have to check also if the par
11592 is really empty (!size()) for isempty otherwise we do the wrong
11595 2002-05-10 Juergen Vigna <jug@sad.it>
11597 * buffer.[Ch] : The following are only changes to the ert
11598 compatibility read reading old LaTeX layout and font stuff and
11599 convert it to ERTInsets.
11601 * buffer.h: added isErtInset().
11603 * buffer.C (struct ErtComp): add a fromlayout bool to check
11604 if we're inside a LaTeX layout.
11605 (isErtInset): new helper function.
11606 (insertErtContents): look for other ert insets before this one
11607 and insert the contents there, so that we don't have subsequent
11608 ERT insets with nothing between them. This way we create only one
11609 inset with multiple paragraphs. Also check if we don't insert only
11610 spaces ' ' as they are ignored anyway afterwards in the .tex file
11611 so if we have only spaces we will ignore this latex part in the
11613 (parseSingleLyXformat2Token \\layout): better compatibility when
11614 reading layout-latex stuff.
11615 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11617 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11618 stuff after reading the inset only get the information back from
11621 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11623 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11625 * LaTeXFeatures.C (getBabelOptions): New method.
11627 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * BufferView_pimpl.C (Dispatch): work around missing argument for
11632 2002-05-08 Juergen Vigna <jug@sad.it>
11634 * text.C (leftMargin): handle paragraph leftindent.
11636 * paragraph.C (writeFile): write the new \\leftindent tag.
11637 (validate): handle leftindent code.
11638 (TeXEnvironment): handle paragraphleftindent code again.
11640 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11642 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11643 for paragrap_extra indent code and new token \\leftindent.
11644 (latexParagraphs): handle the leftindent as environment.
11646 * ParameterStruct.h: added leftindent support.
11648 * ParagraphParameters.C (leftIndent): added support functions for
11649 the paragraph left indent.
11651 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11654 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11656 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11659 * text.C (computeBidiTables): No bidi in insetERT.
11661 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11664 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * version.C.in: pre 5
11668 2002-05-02 José Matos <jamatos@fep.up.pt>
11669 * buffer.C (makeDocBookFile): white space changes, add newline to
11671 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11673 * tabular.C (docBook): fix typo.
11675 2002-05-03 Juergen Vigna <jug@sad.it>
11677 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11678 change in LyXText as we can not be sure it was not freed.
11679 (drawOneRow): remove unused code.
11681 * text.C (drawInset): redo the calculation of the need_break_row as
11682 it could have a row which was already freed.
11683 (draw): look at the return value of drawInset and return false if
11684 it also returned false.
11685 (paintRowText): look at the return value of draw and return false if
11686 it also returned false.
11688 * lyxtext.h: added bool return type to drawInset() and draw() so that
11689 if we have a change in the row so that the rowbreak has to be redone
11690 we abort drawing as it will be called again.
11692 2002-05-02 Juergen Vigna <jug@sad.it>
11694 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11695 a change in the maintext also if we're inside an inset.
11696 (Dispatch): set the cursor again after a break line and after the
11697 screen has been updated as it could be we're in a different row.
11699 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11700 to set the cursor behind the pargraph with > size().
11701 (setCursor): check also for the same paragraph when checking where
11702 to put the cursor if we have a NFR inset.
11704 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11705 parts of layout read further up as it still was in the wrong
11708 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11710 * screen.C (drawFromTo): change sine fullRebreak always return
11713 * buffer.C (parseSingleLyXformat2Token): reindent some
11715 * BufferView_pimpl.C (update): change since fullRebreak always
11717 (Dispatch): git rid of the last hardcoded "Standard"s.
11719 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11721 * text2.[Ch] (fullRebreak): make it return void now that we always
11724 2002-04-30 Juergen Vigna <jug@sad.it>
11726 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11727 ert compatibility check for "latex" layout.
11729 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11731 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11732 minipages: use col% instead of p%, and also use the current font.
11733 (makeLaTeXFile): Fix use babel condition.
11734 (parseSingleLyXformat2Token): Correct font when reading old floats.
11736 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11738 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11739 inserting list of floats.
11741 2002-04-25 Herbert Voss <voss@lyx.org>
11743 * MenuBackend.C (expand): don't add the graphics extensions to the
11746 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11748 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11749 non-existing layout, do not complain if it was the default layout
11750 of the original class (bug #342)
11752 2002-04-24 Juergen Vigna <jug@sad.it>
11754 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11755 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11757 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11759 * buffer.C (getBibkeyList): If using \bibliography, return the
11760 option field with the reference itself. Enables us to provide natbib
11761 support when using \bibliography.
11763 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11765 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11767 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11768 natbib is provided by the LaTeX class.
11770 2002-04-23 Juergen Vigna <jug@sad.it>
11772 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11775 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11777 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11779 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11781 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11782 ensuremath around textordmasculine, textordfeminine and
11785 2002-04-19 Juergen Vigna <jug@sad.it>
11787 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11788 reinitializing the buffer otherwise row-dimensions may be wrong.
11789 (update): reset also the selection cursors if they do exits otherwise
11790 their x/y positions may be wrong.
11792 * text2.C (cursorDown): don't enter the inset if we came from a row
11793 above and are one row over the inset.
11795 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11796 really leaving an inset.
11798 2002-04-18 Juergen Vigna <jug@sad.it>
11800 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11801 of the selected paragraph does not have the selected layout also if
11804 * text2.C (setLayout): fixed bug which did not change last selected
11807 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11808 changed the read and substituted \\end_float with \\end_inset!
11810 * BufferView_pimpl.C (cursorPrevious):
11811 (cursorNext): fixed to make it work with rows heigher than the work
11812 area without moving the cursor only the draw of the row.
11813 (workAreaMotionNotify): fix jumping over high rows.
11815 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11817 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11820 2002-04-16 Juergen Vigna <jug@sad.it>
11822 * text2.C (setCursor): set also the irow().
11823 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11825 (cursorDown): support for locking an inset if the x_fix value goes
11826 inside it. That way I can transverse insets too with cursor up/down.
11828 * lyxrow.h: added irow helper function same as other (i) functions.
11830 * BufferView_pimpl.C (cursorPrevious):
11831 (cursorNext): fixed for insets!
11833 2002-04-15 Juergen Vigna <jug@sad.it>
11835 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11836 position otherwise it is wrong in some cases.
11838 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11839 inside the inset before the call.
11841 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11843 * buffer.[Ch] (getBibkeyList): make it const.
11845 2002-04-12 Juergen Vigna <jug@sad.it>
11847 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11849 * text2.C (getCursorX): new helper function
11850 (setCursor): compute also ix_
11851 (setCursorFromCoordinates): set also ix.
11853 * lyxcursor.h: added ix_ and helper functions.
11855 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11857 * buffer.C (insertStringAsLines): dont break paragraph if the this
11858 paragraph is inside an inset which does not permit it!
11860 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11861 also with no chars on this paragraph.
11862 (paintRowText): only paint stuff if it's inside the workarea!
11864 * paragraph.C (breakParagraph): honor keepempty flag and break the
11865 paragraph always below not above.
11867 * BufferView2.C (unlockInset): update the paragraph layout on inset
11868 unlock as we changed paragraph in such a case.
11870 * lyxfind.C (LyXFind): clear the former selection if not found!
11872 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11873 again called in insertChar().
11875 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11876 an inset which uses the whole row!
11877 (rightMargin): ditto.
11878 (insertChar): force a rebreak if we inserted an inset!
11880 2002-03-28 Herbert Voss <voss@lyx.org>
11882 * lyxlength.[Ch]: add inBP() to get the right PS-point
11883 units (BigPoint). With inPixels we have rounding errors
11885 2002-04-11 Juergen Vigna <jug@sad.it>
11887 * text2.C (setCursorFromCoordinates): set iy to the right value.
11888 (setCursor): add check if row->previous exists!
11890 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11891 an old float_type as this was the case in the old code!
11893 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11895 * BufferView2.C (showLockedInsetCursor): use iy
11896 (fitLockedInsetCursor): ditto
11898 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11899 locked insets as there we have the right value now.
11901 * lyxcursor.C: added iy_ variable and iy functions to set to the
11902 baseline of cursor-y of the locked inset.
11904 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11905 (setCursor): fixed for insets which need a full row.
11907 * text.C (rowLastPrintable): don't ignore the last space when before
11908 an inset which needs a full row.
11909 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11910 as last character of a row when before a inset which needs a full row.
11912 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11914 * version.C.in: update date
11916 * text2.C (fullRebreak): try to always return true and see what
11919 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11921 * MenuBackend.C (expand): use Floating::listName
11923 * FloatList.C (FloatList): add listName argument to the built-in
11926 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11927 text associated with the float.
11929 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11931 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11933 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11935 * ShareContainer.h: add a couple of missing typenames.
11937 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11939 * lyxrc.C (getDescription): use _() correctly rather than N_().
11941 2002-03-28 Herbert Voss <voss@lyx.org>
11943 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11944 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11946 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11948 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11949 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11951 2002-03-29 Juergen Vigna <jug@sad.it>
11953 * lyxfunc.C (dispatch): add a missing fitCursor call.
11955 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11956 it was scrolled by a cursor move, so return the bool status.
11958 * BufferView.C (fitCursor): return the bool flag also to the outside
11959 world as this is needed.
11961 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11963 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11964 call the edit() as it is not needed (and wrong) IMO.
11965 (workAreaButtonPress): set the screen_first variable before evt.
11966 unlock the inset as this may change screen_first and then we have
11967 a wrong y position for the click!
11969 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11971 * MenuBackend.C (expand): another translation that I missed
11973 2002-03-28 Juergen Vigna <jug@sad.it>
11975 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11977 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11979 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11981 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11983 * MenuBackend.C (expand): fix export/view/update when there is no
11986 2002-03-27 Herbert Voss <voss@lyx.org>
11988 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11991 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * bufferview_funcs.C (currentState): only show paragraph number
11994 for is DEVEL_VERSION is set.
11996 * lyxfunc.C (dispatch): put warning in INFO channel
11998 * MenuBackend.C (expand): translate the name of floats
12000 * FloatList.C (FloatList): mark the float names for translation
12002 * converter.C (convert): use LibScriptSearch
12004 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12006 * MenuBackend.C (defaults): fix default menu (we might as well get
12009 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12011 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12014 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12016 * lyxvc.C: reorder includes.
12018 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12020 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12023 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12025 * CutAndPaste.C: change layouts earlier on paste
12026 to avoid crashing when calling getFont()
12028 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12030 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12033 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12035 * WorkArea.C: remove 'Pending' debug message.
12037 * most files: ws cleanup
12039 * buffer.[Ch]: ws changes
12041 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12043 2002-03-21 Juergen Vigna <jug@sad.it>
12045 * tabular.C (SetMultiColumn): collapse also the contents of the
12046 cells and set the last border right. Added a Buffer const * param.
12048 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12050 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12053 2002-03-19 Juergen Vigna <jug@sad.it>
12055 * text2.C (clearSelection): reset also xsel_cache.
12057 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12058 where it needs to be called (John tells us to do so too :)
12059 (selectionLost): reset sel_cache.
12061 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12063 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12065 * text2.C (setCursorIntern): put debuging code in INSETS channel
12067 2002-03-19 André Pönitz <poenitz@gmx.net>
12069 * lyxfunc.C: tiny whitespace change
12071 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12073 * ToolbarDefaults.C (init):
12074 * LyXAction.C (init):
12076 * BufferView_pimpl.C (Dispatch):
12077 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12079 2002-03-19 Allan Rae <rae@lyx.org>
12081 * exporter.C (Export): removeAutoInsets before doing anything else.
12082 While I've just introduced a dependency on BufferView this really is
12083 the best place to clean the buffer otherwise you need to cleanup in
12084 a dozen places before calling export or cleanup in a dozen functions
12087 * converter.C (runLaTeX):
12088 (scanLog): Better handling of removeAutoInsets and screen updates.
12090 * lyxfunc.C (dispatch): small whitespace changes
12092 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12094 * WorkArea.C (C_WorkAreaEvent): return a value.
12095 (event_cb): return 1 if we handled the event, 0 otherwise.
12097 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12099 2002-03-18 Juergen Vigna <jug@sad.it>
12101 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12102 (GetAdditionalWidth): ditto.
12103 (RightLine): ditto.
12106 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12107 inset if we're there actually (probably not used right now but this
12108 is the direction to go for unifying code).
12109 (paste): disable code to clear the selection.
12111 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12112 inside an InsetText and move the check further up as it is in the
12115 * text2.C (pasteSelection): set a selection over the pasted text.
12117 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12119 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12120 and libgraphics to build on Cygwin.
12122 2002-03-15 Juergen Vigna <jug@sad.it>
12124 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12125 inserting an Inset into the paragraph. I know this is not the best
12126 fix but we already use current_view in CutAndPaste so we will remove
12127 all of it's using at the same time.
12129 * buffer.C (sgmlError): deactivated function till it is rewritten in
12130 the right mode, now it can create problems.
12132 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12133 before accessing it.
12135 2002-03-14 Juergen Vigna <jug@sad.it>
12137 * undo_funcs.C (textHandleUndo): do the right thing when updating
12138 the inset after the undo/redo.
12140 * text2.C (setCursor): just some testcode for #44 not ready yet.
12142 * undo_funcs.C (textHandleUndo): set the next() and previous()
12143 pointers of the paragraph to 0 before deleting otherwise we have
12144 problems with the Paragraph::[destructor].
12146 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12147 on a paragraph insertion.
12149 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12151 * buffer.C (asciiParagraph): use += operator for char append to
12154 * paragraph.C (getFontSettings): compare >= not just >
12155 (highestFontInRange): ditto
12158 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12160 * paragraph.C: change several algorithm to be more appripriate for
12161 the problem domain. This is lookip in FontList and in the InsetList.
12163 2002-03-13 André Pönitz <poenitz@gmx.net>
12166 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12168 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12173 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12175 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * Painter.C (display): anon helper function, adjust code for this
12179 (pixmap): remove function.
12181 * Painter.h: remove private display variable.
12183 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12185 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12187 * WorkArea.[Ch]: remove figinset_canvas cruft.
12189 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12191 * lyxtextclass.C (operator): add one item cache optimization.
12193 * bufferlist.h: doxy changes
12195 * bufferlist.C: ws changes
12197 * DepTable.[Ch] (ext_exist): place const in the right spot.
12199 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12201 (workAreaExpose): call resizeInsets when the with BufferView changes.
12202 (Dispatch): adjust for protectedBlank removal
12203 (specialChar): call updateInset if the insert went ok.
12205 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12206 specialChar instead.
12208 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12210 * BufferView.h: doxy change
12212 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12214 * lyxtextclass.C (operator[]): remove non-const version
12215 (defaultLayout): remove non-const version
12217 2002-03-12 Juergen Vigna <jug@sad.it>
12219 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12220 did resize the LyXText too.
12222 * buffer.C (readLyXformat2): set layout information on newly allocated
12225 * tabular.C (OldFormatRead): set layout information on the paragraph.
12227 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12229 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12231 2002-03-11 Juergen Vigna <jug@sad.it>
12233 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12235 (resizeCurrentBuffer): force also the insets to resize themselfes.
12236 (moveCursorUpdate): fixed up for InsetText.
12238 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12241 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12242 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12243 value of Dialogs::tooltipsEnabled().
12244 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12246 2002-03-08 Juergen Vigna <jug@sad.it>
12248 * BufferView_pimpl.C (updateInset): update inset inside inset also
12249 if it isn't inside theLockingInset().
12251 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * buffer.C (asciiParagraph): redo some of the word and line length
12255 (getLists): look for Caption instead of caption.
12257 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12259 * buffer.C (Buffer): initialize niceFile to true
12261 (makeLinuxDocFile):
12262 (makeDocBookFile): make sure niceFile is true on exit
12264 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12266 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12268 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12270 * LyXSendto.C: remove.
12271 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12272 * lyx_gui.C: remove now-redundant comment.
12273 * ColorHandler.h: remove forward declaration of class WorkArea.
12274 * lyxfunc.C: remove #include "WorkArea.h".
12276 2002-03-07 Juergen Vigna <jug@sad.it>
12278 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12279 got moved away with the DEPM and also set the inset_owner always
12280 right which before could have been omitted.
12282 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12284 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12285 wanted layout is not found.
12287 2002-03-07 Juergen Vigna <jug@sad.it>
12289 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12291 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12293 * paragraph.C (breakParagraph): use default layout not layout of
12295 (Paragraph): clear ParagraphParameters.
12297 2002-03-06 Juergen Vigna <jug@sad.it>
12299 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12300 otherwise it would not be a valid lenght. Fixed a special case in
12301 the minipage compatibility read where we end the document with a
12304 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12305 was set as it could be 0 for InsetTexts first entry.
12307 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12309 * paragraph.C (writeFile): if layout is empty write out
12310 defaultLayoutName().
12312 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12313 file without named layout we set layout to defaultLayoutName().
12315 2002-03-06 Juergen Vigna <jug@sad.it>
12317 * CutAndPaste.C (copySelection): set layout for new paragraph.
12319 * text.C (prepareToPrint): leave ERT inset left aligned
12320 (leftMargin): don't indent paragraphs inside ERT insets
12322 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12324 * paragraph.C (breakParagraph): dont call clear do the work manually
12326 * paragraph.[Ch] (clear): remove function
12328 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12330 * paragraph.C (Paragraph): dont call clear, the work has already
12333 * lyxtextclass.C (operator): assert if n is empty
12335 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12336 work manually instead.
12338 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12340 * BufferView_pimpl.C: protect selectionLost against text == 0
12342 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12344 * text.C (breakParagraph): fix a setting layout to '0' problem.
12346 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12348 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12349 final location of file, for the included files, and graphics.
12351 2002-03-05 Juergen Vigna <jug@sad.it>
12353 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12355 2002-03-04 Juergen Vigna <jug@sad.it>
12357 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12359 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12360 last column of multicolumn cells.
12361 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12363 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12365 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12366 file if it doesn't go to a temporary file.
12368 * buffer.C (sgmlOpenTag):
12369 (sgmlCloseTag): remove extra newline insertion.
12371 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * text.C (getRowNearY): comment out debug msg
12375 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12377 * text2.C: first -> first_y
12379 * text.C (getRowNearY): add some attemts at a possible
12380 optimization, not working.
12382 * tabular.[Ch]: add BufferParams to several function so that newly
12383 created paragraph can be initialized to he default layotu for the
12386 * tabular-old.C (ReadOld): add buf->params to call of Init
12388 * screen.C: rename text->first to text->first_y
12390 * paragraph.C (breakParagraph): always set layout in the broken
12393 * lyxtextclass.C (Read): remove lowercase
12396 (delete_layout): ditto
12398 * lyxtext.h: rename first -> first_y
12400 * lyxlayout.C (Read): remove lowercase
12403 (obsoleted_by): ditto
12405 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12407 * buffer.C (insertErtContents): add params are to InsetERT
12408 (parseSingleLyXformat2Token): add code to check if a paragraphs
12409 layout really exist.
12410 (parseSingleLyXformat2Token): add params to several inset
12412 (asciiParagraph): remove lowercase, do the layout comparisons with
12415 * BufferView_pimpl.C (cursorNext): first -> first_y
12416 (resizeCurrentBuffer): first -> first_y
12417 (updateScrollbar): first -> first_y
12418 (scrollCB): first -> first_y
12419 (workAreaMotionNotify): first -> first_y
12420 (workAreaButtonPress): first -> first_y
12421 (checkInsetHit): first -> first_y
12422 (cursorPrevious): first -> first_y
12423 (cursorNext): first -> first_y
12424 (Dispatch): add buffer_->params to severl inset contructors
12426 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12428 * lyxlayout.C (Read): remove some debug info that I forgot.
12430 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12431 clean up the code slightly.
12432 (makeLinuxDocFile): ditto
12433 (makeDocBookFile): ditto
12435 * text2.C: layout as string
12437 * text.C: layout as string
12439 * paragraph_pimpl.C: layout as string
12441 * paragraph.[Ch]: layout as string
12443 * lyxtextclasslist.[Ch]: layout as string
12445 * lyxtextclass.[Ch]: layout as string
12447 * lyxtext.h: layout as string
12449 * lyxlayout.[Ch]: layout as string
12451 * lyx_cb.C: layout as string
12453 * bufferview_funcs.C: layout as string
12455 * bufferparams.C: layout as string
12457 * buffer.C: layout as string
12459 * LyXView.[Ch]: layout as string
12461 * LaTeXFeatures.[Ch]: layout as string
12463 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12465 * BufferView_pimpl.C: change current_layout to string, remove
12470 (workAreaButtonRelease): layout as string
12472 * BufferView2.C (unlockInset): adjust
12474 * vspace.C (asLatexCommand): use an explict temp variable.
12476 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12478 * Makefile.am: use FRONTEND_*
12480 2002-03-01 Juergen Vigna <jug@sad.it>
12482 * tabular.C (SetWidthOfMulticolCell): changed to something better
12483 I hope but still work in progress.
12484 (recalculateMulticolumnsOfColumn): renamed function from
12485 recalculateMulticolCells as it is more appropriate now.
12486 (SetWidthOfCell): calculate multicols better.
12488 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12490 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12492 * lyxfunc.C (processKeySym): print sequence also if it is
12493 `deleted' (complete)
12495 * kbsequence.C (print): print sequence even if it is deleted
12496 (complete would be a better word, actually).
12498 * lyxfunc.C (dispatch): print complete options after a prefix key
12500 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12502 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12504 * text2.C (setCharFont): eliminate setCharFont code duplication.
12506 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12508 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12509 LFUN_TABULAR_FEATURE (bug #177)
12511 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12513 * Makefile.am: remove figure.h
12515 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12517 * Bufferview_pimpl.C:
12529 * text2.C: remove #include "lyx_gui_misc.h".
12531 * LaTeX.C: added #include <cstdio>
12533 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12535 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12536 that the paragraph following this one can have.
12538 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12540 * vspace.C (asLatexCommand): fix bogus gcc warning
12542 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12544 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12546 * text2.C (setLayout): get rid of redundant code
12548 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12550 * text2.C (incDepth): make sure depth cannot be increased beyond
12553 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12555 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12556 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12558 * PainterBase.h (image):
12559 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12560 a LyXImage const *.
12562 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12566 * BufferView_pimpl.C:
12567 * BufferView_pimpl.h:
12587 * sp_spell.C: remove fig inset, and the crap house of
12588 cards that follows it
12590 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12595 * os2_errortable.h:
12596 * nt_defines.h: move .h into support/
12598 * vms_defines.h: remove
12600 * WorkArea.C: add space in debug output
12604 * buffer.C: add WITH_WARNINGS
12608 * bufferlist.C: s/retrive/retrieve/, add docs
12617 * chset.C: add docs
12619 * lyxgui.C: add ID to X error handler
12621 * lyxtestclass.c: fix typo
12623 2002-02-26 Juergen Vigna <jug@sad.it>
12625 * tabular_funcs.C (write_attribute): changed so that some default
12626 attributes are not written at all.
12627 (getTokenValue): set default values before trying to read the
12628 value so we have the return value always set as default if we don't
12629 find the token we search for.
12631 * tabular.C (Write): write bools as bools not as strings!
12633 2002-02-22 Juergen Vigna <jug@sad.it>
12635 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12636 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12638 * text.C (leftMargin): don't add an indent for paragraphs inside
12639 tabular cells (fix #208).
12641 2002-02-21 José Matos <jamatos@fep.up.pt>
12643 * tabular.C (docBook): fixed support for long tables.
12645 2002-02-20 Juergen Vigna <jug@sad.it>
12647 * text2.C (getFont): get the drawing font of the Inset if this
12648 paragraph is inside an inset (only important for InsetERT for now).
12650 * buffer.C (insertErtContents): use new lanugage params in ERT
12653 * CutAndPaste.C: commenting out seemingly uneeded code.
12655 2002-02-19 Allan Rae <rae@lyx.org>
12657 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12658 Iterators might be simple to use but they also get invalidated.
12659 (removeAutoInsets): renamed saved cursor tracking variables and added
12660 some comments to clarify what everything does.
12662 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12669 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12670 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12673 * vc-backend.h: remove #include "support/syscall.h"
12677 * converter.C: rearrange #includes in Lars' approved fashion.
12679 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12680 forward declare class Timeout in the header file.
12682 * XFormsView.C: changes due to the above.
12684 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12685 similar to LyXView.
12687 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12688 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12690 2002-02-18 José Matos <jamatos@fep.up.pt>
12692 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12695 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12697 * a lot of small ws changes
12698 * add a lot of using std::XXX
12699 * use std construcs some places where approp.
12700 * use some exisint stuff from lyxfunctional where approp.
12701 * Make file changes to use partial linking (lets test this now...)
12703 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12707 remove #include "support/syscontr.h" as it's redundant. Always has been.
12715 change Systemcalls::System to Systemcalls::Wait and
12716 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12717 No change of functionality, just reflects the stripped down Systemcalls
12720 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12722 * debug.[Ch]: add a GRAPHICS type to the enum.
12724 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12726 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12728 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12731 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12733 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12734 match the changes below.
12736 * text2.C (toggleInset): if there is not editable inset at cursor
12737 position, try to see if cursor is _inside_ a collapsable inset
12740 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12742 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12743 document menu has a nice checkbox
12745 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12747 * lyxlength.C (asLatexString): change PW to output as percent of
12750 * lengthcommon.C: change '%' to 't%'
12752 * lyxfunc.C (dispatch): a few comments from Martin
12754 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12758 * BufferView_pimpl.h:
12759 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12762 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12764 * vspace.C (inPixels): fix compiler warning
12766 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12768 * lyxfunc.C (getStatus): fix status message for disabled commands.
12770 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12772 * BufferView_pimpl.C: fix crash on close buffer
12773 during selection (#227)
12775 2002-01-27 Herbert Voss <voss@lyx.org>
12777 * buffer.C: link old Figure to new graphic inset
12779 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12781 * FontLoader.C (getFontinfo): Change the latex font names in order
12782 to match the names of type1inst.
12784 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12788 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12789 (extchanged): ditto
12791 (remove_files_with_extension): ditto
12792 (remove_file): ditto
12795 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12796 document is smaller than the work area height. Do not initialize
12797 static variables to 0.
12799 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12801 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12803 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12804 LFUN_LAYOUT_PARAGRAPHS.
12806 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12807 tabular. It is possible to provide a possible cell, which will
12808 typically be the actcell from the corresponding insettabular
12810 * lyxfunc.C (getStatus): small cleanup; disable
12811 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12814 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12816 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12818 * paragraph.C (startTeXParParams):
12819 (endTeXParParams): new methods. The LaTeX code to
12820 start/end paragraph formatting
12821 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12822 empty (fixes bug #200)
12824 * vspace.C (inPixels): adapt to the change below
12825 (inPixels): [later] more cleanups (remove unused variables)
12827 * lyxlength.C (inPixels): change to use a width and a height as
12830 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12832 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12833 Replaced with \paperwidth
12835 * DepTable.C (insert): add std:: qualifier
12837 2002-01-18 Allan Rae <rae@lyx.org>
12839 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12842 * text.C (drawInset): Turned out I didn't know enough about how
12843 rebreaking worked. This fixes most of the redraw problems. I see
12844 an occasional cursor trail when a line is broken now and the cursor
12845 placement can seem out by a few pixels also after a rebreak.
12847 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12849 * buffer.C (parseSingleLyXformat2Token): update because minipage
12850 width is now a LyXLength
12852 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12854 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12857 2002-01-17 Juergen Vigna <jug@sad.it>
12859 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12861 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12862 is set correctly and the inset is updated correctly.
12864 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12866 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12867 the beginning of the loop.
12869 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12871 * lyxrc.C: improve help for use_scalable_fonts
12873 2002-01-17 Allan Rae <rae@lyx.org>
12875 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12877 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12879 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12880 make sure to set their inset_owner to the right value (bug #171)
12882 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12885 * DepTable.C: Implement mtime checking to reduce time spent doing
12888 2002-01-16 Juergen Vigna <jug@sad.it>
12890 * tabular.C (GetAdditionalHeight): one of error fixed.
12892 * lyxrc.C (output): small fix in writing use_pspell.
12894 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12896 * sp_base.h: #include LString.h
12898 2002-01-16 Allan Rae <rae@lyx.org>
12900 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12901 Can someone check this please?
12903 * text.C (drawInset): It was possible that p.row would be removed by
12904 breakAgainOneRow upsetting a few other settings. There may be another
12905 small tweak possible by setting need_break_row = 0 when p.row has been
12906 removed but I don't know enough about the logic here.
12908 2002-01-15 Allan Rae <rae@lyx.org>
12910 * text.C (insertChar): removed conditional truism.
12912 * BufferView2.C (removeAutoInsets): More tweaks.
12913 cur_par_prev could be a stray pointer. Check for trailing empty line
12914 in case last line was cur_par and only had an error inset on it.
12916 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12918 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12921 * vc-backend.C (most methods):
12922 * exporter.C (Export):
12923 * converter.C (convert):
12925 * LyXSendto.C (SendtoApplyCB):
12926 * lyxfunc.C (dispatch):
12930 * lyx_cb.C (AutoSave):
12932 * BufferView_pimpl.C (MenuInsertLyXFile):
12933 * buffer.C (runChktex): use Buffer::filePath().
12935 * buffer.h: rename filename to filename_; rename filepath to
12936 filepath_ and make it private
12937 (filePath): new method
12939 * buffer.C (writeFile): use fileName()
12942 * lyx_main.C (init): fix starting of LyX when the binary is a
12943 link from so,ewhere else.
12945 * minibuffer.C: include <cctype> for isprint
12947 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12949 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12950 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12951 name clash with InsetCollapsable's width function.
12953 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12955 * lastfiles.C: include <iterator>
12957 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12959 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12962 * buffer.C (makeLaTeXFile): ditto.
12963 Also make loop operation more transparent.
12965 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12967 * ToolbarDefaults.C: remove trailing comma closing namespace.
12969 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12971 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12974 * trans.C (Load): comment out unused variable, allowed.
12976 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12978 * minibuffer.[Ch] (append_char): new method to recieve input from the
12979 drop-down completion browser. If a key was pressed, then recieve this
12980 char and append it to the existing string.
12981 (peek_event): modify the positioning data passed to the completion
12982 browser so that it can be placed above the minibuffer rather than below.
12983 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * LyXAction.C (init): alloe error-next for readonly documents.
12987 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12990 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12992 * bufferlist.C (readFile): create the buffer _after_ checking that
12995 * lyxfunc.C (verboseDispatch): fix handling of arguments
12997 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12999 * lyxrc.C: use string::erase() instead of initializing to "".
13002 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13004 * BufferView_pimpl.h:
13005 * BufferView_pimpl.C:
13008 * text2.C: tell X when we have made a selection for copying
13010 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13012 * BufferView_pimpl.C (MenuInsertLyXFile):
13013 * lyxfunc.C (menuNew):
13015 (doImport): add shortcuts to directory buttons
13017 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13020 * lyxfunc.C (setStatusMessage):
13021 (getStatusMessage): new methods
13022 (getStatus):use setStatusMessage instead of setErrorMessage
13023 (dispatch): when function is disabled, set error message here
13024 [instead of in getStatus previously]
13026 * BufferView_pimpl.C (workAreaButtonRelease): update
13027 toolbar/menubar here too.
13029 2002-01-13 Allan Rae <rae@lyx.org>
13031 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13032 Now seems indestructible. Remaining task is to audit all other
13033 code affected by deleteEmptyParagraphMechanism. One small quirk
13034 left is that an empty document with an error in the preamble can
13035 be made to report an error but no error box appears. I don't know
13037 (removeAutoInsets): Improved comments.
13039 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13042 * Thesaurus.C: update for Aiksaurus 0.14
13044 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * text2.C (firstParagraph): removed member function, all uses
13047 replaces with ownerParagraph
13048 (redoParagraphs): here
13049 (updateInset): here
13050 (toggleAppendix): here
13051 * BufferView2.C (insertErrors): here
13052 (setCursorFromRow): here
13054 2002-01-13 Allan Rae <rae@lyx.org>
13056 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13057 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13058 There is still a way to segfault this although you may have to do this
13059 multiple times: Have an InsetERT with an unknown command in it.
13060 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13061 <down-arrow>, <Enter> again, View->DVI, BANG!
13063 * text2.C (setCursor):
13064 (deleteEmptyParagraphMechanism):
13065 * lyxtext.h (setCursor):
13066 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13067 Making use of the return value may help fix other bugs.
13069 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13071 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13073 * LyXView.C (updateMenubar): call MenuBar::update here
13074 (updateToolbar): but not here
13075 (showState): do not update toolbar/menubar
13077 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13078 should need to care about that.
13080 * lyxfunc.C (verboseDispatch): simplify a bit
13081 (getStatus): have a version which takes a pseudoaction, and
13082 another which requires a (kb_action,string).
13084 * LyXAction.C (retrieveActionArg): make it work also when action
13085 is not a pseudo-action.
13086 (getActionName): simplify a bit
13089 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13091 * lyxfunc.C (verboseDispatch): new families of methods with
13092 several ways to specify a command and a bool to indicate whether
13093 the command name and shortcut should be displayed in minibuffer
13094 (eventually, we could extend that to a finer bitmask like
13095 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13096 (dispatch): the pristine dispatch command which just, well,
13097 dispatchs! Note it still sets its result to minibuffer; I'm not
13100 * lyxfunc.h: remove setHintMessage
13102 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13104 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13106 * BufferView_pimpl.C (specialChar): delete new inset if we have
13107 not been able to insert it.
13109 * kbmap.C: revert to using int instead of kb_action, since all we
13110 are dealing with is pseudo-actions.
13112 * LyXAction.C (searchActionArg): change to return int instead of
13113 kb_action, since the result is a pseudoaction.
13115 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13117 * buffer.C (insertErtContents): Fix (partially) the font bug.
13119 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13121 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13122 as the other one is broken on my machine!
13124 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13127 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13129 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13131 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13132 reflect their actual use. Provide compatibility code for older lyxrc
13135 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13137 change names of popup font variables in line with the changes to lyxrc.C
13139 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13141 * buffer.C (asciiParagraph): avoid outputing a word twice after
13144 * lyxrc.C (getDescription): document that document_path and
13145 template_path can be empty.
13147 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13149 * LaTeXFeatures.C (getMacros):
13150 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13152 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13154 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13156 (getPackages): rename feature "floats" to "float". Use an array to
13157 iterate over 'simple' features (i.e. just a \usepackage). Add
13158 handling of "amsmath" (renamed from "amsstyle").
13160 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13162 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13165 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13167 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13168 FuncStaus::FuncStatus & FuncStaus::some_method().
13170 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13172 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13173 of the func_satus stuff. Edited and massaged in various ways by
13176 * lyxfunc.C (getStatus): use FuncStatus
13178 2002-01-08 Juergen Vigna <jug@sad.it>
13180 * text.C (nextBreakPoint): use function Inset::isChar().
13182 * paragraph.C (TeXOnePar): use function
13183 Inset::forceDefaultParagraphs.
13185 * buffer.C (latexParagraphs): use function
13186 Inset::forceDefaultParagraphs.
13188 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13190 * lyx_gui.C (init): set the style of the menu popups to
13191 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13193 2002-01-07 Juergen Vigna <jug@sad.it>
13195 * text.C (setHeightOfRow): small fix
13196 (prepareToPrint): don't look at alignment if we don't have the place
13199 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13201 * box.C: New file. Move the Box methods and functions out of box.h,
13202 following Lars' suggestion.
13204 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13206 * box.h: #include "support/LOstream.h", needed for inlined function.
13209 * lyxtextclasslist.C: added some using std declarations.
13211 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13213 * box.h: make signed dimensions to allow insets wider than
13214 the screen (bug #162)
13216 * BufferView_pimpl.C: add some insetHit debug
13218 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13220 * vc-backend.C: add FIXME
13222 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13224 * lyxfunc.C (getStatus): enable code for showing math font status
13227 2002-01-07 Juergen Vigna <jug@sad.it>
13229 * text.C (nextBreakPoint): removed debug output not needed anymore.
13231 2002-01-06 Juergen Vigna <jug@sad.it>
13233 * text.C (nextBreakPoint): fixed up this function we had this bug
13234 since ever but now hopefully we break row better.
13235 (insertChar): we have to check if an inset is the next char as it
13236 could now happen that a large inset is causing a break.
13238 2002-01-05 Juergen Vigna <jug@sad.it>
13240 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13241 if it doesn't like to be drawed.
13243 2002-01-04 Juergen Vigna <jug@sad.it>
13245 * BufferView2.C (lockInset): forgot to set a cursor.
13247 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13249 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13251 * FormMathsPanel.C:
13254 * form_maths_panel.C:
13255 * form_maths_panel.h:
13256 * form_maths_panel.fd: implemented sub- and super- buttons in math
13259 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13260 (or ^ space) to be used as in TeX (req'd by André).
13262 * lyxfunc.C: Allow ^ and _ again to be used both as
13263 super/subscript (mathed) and as themselves (in text).
13265 2002-01-03 Allan Rae <rae@lyx.org>
13267 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13268 "LyX" or the filename of the current buffer if it has one. This is a
13269 modified form of John Levon's patch.
13271 * XFormsView.C (setWindowTitle): also set icon title.
13273 * LyXView.h (setWindowTitle): signature changed.
13274 * XFormsView.h (setWindowTitle): ditto.
13276 2002-01-02 Juergen Vigna <jug@sad.it>
13278 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13280 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13282 * screen.C (topCursorVisible): introduce a temp var for
13283 text->cursor.row(), handle the case where this row is null. (kindo
13286 * text2.C (setCursor): add a couple of asserts.
13288 * paragraph.h (inset_iterator): add -> operator
13290 * paragraph.[Ch] (autoDeleteInsets): remove member function
13292 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13293 cursor pos correctly and handle inset deletion by itself.
13294 (insertErrors): move iterator declaration out of for expression
13296 * lyxtextclass.C: add <algorithm>
13298 * Makefile.am: added the new files to sources, removed layout.C
13300 * layout.C: removed file
13302 * layout.h: remove LYX_DUMMY_LAYOUT
13304 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13308 * lyxtextclass.[Ch]:
13309 * lyxtextclasslist.[Ch]: new files
13311 * include order changes to a lot of files, also changes because of
13314 2001-12-27 Juergen Vigna <jug@sad.it>
13316 * buffer.C (asciiParagraph): more fixes.
13318 * tabular.C (ascii): make ascii export support export of only the
13319 data separated by a column-delimiter.
13320 (ascii): better support for ascii export.
13322 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13324 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13326 * tabular_funcs.C: use a "using std::getline" instead of the
13327 previous fix from Angus (necessary for cxx + lyxstring)
13329 2001-12-24 Juergen Vigna <jug@sad.it>
13331 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13333 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13334 problems. First check a minipage also if we have some ert-contents
13335 (not only on par->size(), second set the right depth of the paragraph
13336 on the relink to the root-paragraph-list!
13338 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13339 which then did not anymore update the main paragraphs on undo/redo!
13341 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13343 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13344 code. Support all font-changing funcs (even those which are not in
13345 menu currently). Support for reporting font settings in
13346 mathed (disabled until Andre provides a function on mathed's side).
13348 * func_status.h (toggle): small helper function to set toggle
13351 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13353 * tabular_funcs.C: getline -> std::getline
13355 2001-12-21 Juergen Vigna <jug@sad.it>
13357 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13358 accessed and could be 0 (I couldn't generate this but it seems
13361 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13363 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13364 * tabular_funcs.h: here and include iosfwd
13366 2001-12-20 Juergen Vigna <jug@sad.it>
13368 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13369 inside inset but undo_par was.
13371 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13373 * Thesaurus.C: always include <config.h> in sources.
13377 * box.h: do not include <config.h> in header files
13379 * text.C (paintLastRow): remove unused variable
13381 * text.C (transformChar):
13383 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13385 * Painter.C (text):
13386 * font.C (width): rewrite to use uppercase() instead of
13389 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13391 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13393 * lyxfind.C: clean up of find failure position change
13395 2001-12-20 Juergen Vigna <jug@sad.it>
13397 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13399 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13400 (TeXRow): added to LaTeX a single tabular row.
13401 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13402 (Latex): simplified and finally good LT-h/f support.
13403 (various_functions): just small adaptions for LT-h/f support.
13405 * tabular_funcs.[hC]: added and moved here all not classfunctions
13408 2001-12-19 Juergen Vigna <jug@sad.it>
13410 * tabular.[Ch]: better support for longtabular options (not finished
13413 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13415 * text.C (paintLastRow): use the label font instead of the font of
13416 the last character to compute the size of *_BOX. This makes more
13417 sense and avoids a crash with empty paragraphs.
13418 Use Painter::rectangle to draw EMPTY_BOX.
13420 2001-12-19 Juergen Vigna <jug@sad.it>
13422 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13423 the paragraphs if the replaced paragraph is not the first one!
13424 Tried to delete not used paragraphs but does not work yet so for
13425 now it's inside #ifdef's and by default off!
13427 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13429 * MenuBackend.C: include "lyx_main.h" instead of declaring
13430 lastfiles (actually was declared as LastFiles* instead of a
13433 2001-12-17 Juergen Vigna <jug@sad.it>
13435 * tabular.C (AppendColumn): applied John's fix
13437 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13441 * BufferView_pimpl.h:
13442 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13445 * box.h: new start of class for above
13447 * lyxfunc.C: ignore space-only minibuffer dispatches.
13448 Show the command name when it doesn't exist
13450 * minibuffer.C: don't add empty lines to the history
13452 * minibuffer.C: add a space on dropdown completion
13454 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13456 * text.C: fix line above/below drawing in insets
13458 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13460 * lyxlength.C (LyXLength): Initialize private variables.
13462 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13464 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13465 when inserting error insets.
13467 2001-12-13 Juergen Vigna <jug@sad.it>
13469 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13470 actually sometimes the before-paragraph.
13471 (setUndo): don't clear the redostack if we're not actually undoing!
13473 2001-12-06 Juergen Vigna <jug@sad.it>
13475 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13476 and fixed redoing of main paragraph, so we can use it now ;)
13478 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13480 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13482 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13485 2001-12-13 André Pönitz <poenitz@gmx.net>
13488 * undo_func.C: minor cleanup
13490 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13492 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13493 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13494 font in urw-fonts package which is marked as -urw-fontspecific and
13495 does not work (incidentally, changing the encoding in the
13496 fonts.dir of this package to -adobe-fontspecific fixes the
13499 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13500 is a crash when undoing first paragraph (Juergen, please take a
13501 look). THis does not mean the undo fix is wrong, just that it
13504 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13505 the (Paragraph*) version when needed instead of duplicating the
13508 * text.C (workWidth): use Inset::parOwner to find out where the
13509 inset has been inserted. This is a huge performance gain for large
13510 documents with lots of insets. If Inset::parOwner is not set, fall
13511 back on the brute force method
13513 * paragraph_pimpl.C (insertInset):
13514 * paragraph.C (Paragraph):
13515 (cutIntoMinibuffer): set parOwner of insets when
13516 inserting/removing them
13518 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13520 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13526 * mathed/formulabase.C:
13527 * mathed/math_cursor.[Ch]:
13528 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13531 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13533 * lyxlength.[Ch] (operator!=): new function
13535 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13537 * text.C (workWidth): use Inset::parOwner to find out where the
13538 inset has been inserted. This is a huge performance gain for large
13539 documents with lots of insets. If Inset::parOwner is not set, fall
13540 back on the brute force method
13542 * paragraph_pimpl.C (insertInset):
13543 * paragraph.C (Paragraph):
13544 (cutIntoMinibuffer): set parOwner of insets when
13545 inserting/removing them
13547 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13549 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13551 * tabular-old.C (getTokenValue):
13552 * tabular.C (getTokenValue):
13553 (write_attribute): new versions for LyXLength
13554 (everywhere): adjust the use of widths
13556 * tabular.h: change the type of widths from string to LyXLength
13558 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13560 * paragraph.C: fixed missing line number count when exporting
13561 Environments to LaTeX file
13563 * buffer.C: added informational message for checking line numbers.
13565 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13567 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13568 paragraph, do the 'double space' part, but not the 'empty
13571 * text.C (workWidth): small optimization
13572 (getLengthMarkerHeight): use minimal size for negative lengths.
13574 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13576 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13578 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13580 2001-12-11 André Pönitz <poenitz@gmx.net>
13583 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13585 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13587 * text2.C: keep selection on a setFont()
13589 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13591 * lyx_cb.C: another bv->text misuse, from insert label
13593 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13596 * kbsequence.C: re-instate nmodifier mask
13598 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13600 * lyx_main.h: make lyxGUI private.
13602 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13604 * lyxfind.C: place the cursor correctly on failed search
13606 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13608 * text.C (getLengthMarkerHeight): for small heights, the arrows
13609 are not always on top/bottom of the text
13610 (drawLengthMarker): smaller arrows; take the left margin in
13611 account; draw also vfills.
13613 (paintLastRow): remove special code for vfill and standard spaces,
13614 since everything is handled in drawLengthMarker now.
13616 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13618 * buffer.C (insertErtContents): try to handle font and language
13619 interaction a bit better.g
13621 * ColorHandler.C (updateColor): change the hash to cover the whole
13622 LColor enum, ws cleanup
13623 (getGCLinepars): ditto
13624 (getGCLinepars): only lookup in the linecache once.
13626 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13628 * iterators.C (operator++): Make the iterator more robust
13630 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13632 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13634 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13637 * text.C: better added space drawing
13639 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13642 * BufferView2.C: fix layout combo update on inset unlock
13644 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13646 * Makefile.am: don't compile unused files
13648 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13652 * LyXAction.C: remove old LFUN_LAYOUTNO
13654 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13656 * paragraph_pimpl.h:
13657 * paragraph_pimpl.C: isTextAt() doesn't need font param
13659 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13662 * lyxlex.C: little cleanup
13664 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13666 * BufferView_pimpl.C: fix insertAscii for insets
13668 2001-12-05 Juergen Vigna <jug@sad.it>
13670 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13671 set the right font on the "multi" paragraph paste!
13673 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13679 * lyxlength.C: remove out-commented code.
13681 * BufferView_pimpl:
13695 * vc-backend.C: change "while(" to "while ("
13697 * lyxlength.[Ch]: add zero function to check if length is zero or
13699 * lyxgluelength.C: use it
13701 2001-12-05 Allan Rae <rae@lyx.org>
13703 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13704 Works for 2.95.3, from what I understand of Garst's reports this should
13705 work for other g++ versions. We're screwed if the abs(int) definition
13706 changed between bugfix releases of gcc.
13708 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13710 * text.C: fix chapter label offset !
13712 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13715 * text.C: fix hfill at end of line, clean up
13717 2001-12-04 Juergen Vigna <jug@sad.it>
13719 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13720 that we force an update of the inset and it's owners if neccessary.
13722 2001-12-03 Juergen Vigna <jug@sad.it>
13724 * text.C (rowLast): simplified code
13726 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13728 * lyxfunc.C: fix show options on timeout
13730 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13732 * screen.C (topCursorVisible): scroll half a page when the cursor
13733 reached top of bottom of screen
13735 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13737 * minibuffer.C: deactivate on loss of focus
13739 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13741 * vspace.[Ch] (operator!=): add operator.
13743 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13745 * BufferView_pimpl.C: refuse to open an inset when
13746 there's a selection.
13748 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13750 * BufferView_pimpl.C: allow to click on RHS of full row insets
13752 2001-11-30 Juergen Vigna <jug@sad.it>
13754 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13755 insets for undo reasons.
13757 2001-11-28 André Pönitz <poenitz@gmx.net>
13759 * vspace.[Ch]: cosmetical changes
13761 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13771 * kbsequence.C: part re-write of old kb code
13774 * WorkArea.C: remove Lgb_bug_find_hack
13776 2001-11-30 José Matos <jamatos@fep.up.pt>
13778 * buffer.C (makeDocBookFile): add a comment to point a hack.
13779 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13780 Fixed a double write of labels.
13782 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13785 * LaTeX.h Fixed bug in LaTeX class where it would not
13786 re-run latex if no depfiles were changed, but the .dvi was removed.
13788 2001-11-28 André Pönitz <poenitz@gmx.net>
13790 * all the files from the change on 2001/11/26:
13791 use lyx::layout_type instead of LyXTextClass::size_type
13792 use lyx::textclass_type instead of LyXTextClassList::size_type
13794 2001-11-29 Juergen Vigna <jug@sad.it>
13796 * text.C: added support for paragraph::isFreeSpacing()
13798 * buffer.C: same as above
13800 * paragraph.h: inserted isFreeSpacing() function to enable
13801 FreeSpacing inside InsetERT.
13803 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13804 of the paragraph's in the cut/copy buffer to 0!
13806 * text2.C (removeRow): remove the assert as it can!
13808 * lyxtext.h: added helper function firstRow returning firstrow and
13809 made firstrow private again.
13811 * BufferView2.C (lockInset): don't relock if we're already locked!
13813 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13814 the only paragraph.
13815 (removeRow): added Assert::(firstrow)
13817 * debug.C: forgot to add INSETTEXT here.
13819 2001-11-28 Juergen Vigna <jug@sad.it>
13821 * sp_spell.C (initialize): changed error text to more general
13822 spellchecker command use (not only ispell!)
13824 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13826 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13828 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13830 * vspace.C: initialise lyxgluelength on failure
13832 2001-11-28 Allan Rae <rae@lyx.org>
13834 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13835 declaration & definition that looks like a function declaration.
13837 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13839 * BufferView2.C (copy):
13840 (copyEnvironment): do not clear the selection when doing a copy.
13842 * text.C (paintFirstRow): compilation fix
13844 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13846 * tabular.C (Latex): correct line count when writing latex.
13848 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13850 * paragraph_pimpl.h:
13851 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13854 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13858 * LColor.C: change vfillline->added_space
13860 * text.C: add markers and text for added space
13862 * vspace.C: fix comment
13864 2001-11-28 André Pönitz <poenitz@gmx.net>
13866 * paragraph.C: whitespace changes
13867 * all the other files from the change on 2001/11/26:
13868 change *::pos_type into lyx::pos_type
13870 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13872 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13873 language of the document when inserting error insets.
13875 2001-11-26 André Pönitz <poenitz@gmx.net>
13877 * BufferView_pimpl.[Ch]:
13885 * paragraph_pimpl.[Ch]:
13888 * text2.C: reduce header dependencies, introduce type for positions
13890 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13892 * <various>: change to use Alert.h
13894 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13896 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13897 when encountering an unknown token.
13898 (readLyXformat2): Show an error message if there were unknown tokens.
13900 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13903 * BufferView_pimpl.C:
13907 * text2.C: use par->isInset()
13909 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13911 * paragraph_pimpl.h:
13912 * paragraph_pimpl.C: cleanup
13914 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13916 * text2.C (removeRow):
13917 * text.C (setHeightOfRow): remove useless (and costly) call to
13920 2001-11-20 Allan Rae <rae@lyx.org>
13922 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13923 Now need Inset*::checkInsertChar() to return true for appropriate
13924 cases so that the characters in the minibuffer will actually be
13927 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13929 * text.C: change the order of the includes.
13930 (workWidth): initialize it at once.
13931 (workWidth): make maxw unsigned
13932 (setHeightOfRow): remove unused variable (inset)
13933 (selectSelectedWord): remove unused variable (inset)
13934 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13936 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13938 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13939 server is not running.
13941 (closeConnection): add debug info when server is disabled.
13943 * ColorHandler.C (getGCForeground): send debug message to GUI
13946 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13948 * kbmap.C (bind): modify because return conventions of
13949 kb_sequence::parse have changed.
13951 * kbsequence.C (parse): only ignore spaces and not any stupid
13952 control character. This avoids tests like s[i] <= ' ', which are
13953 guaranteed to fail with 8bit characters and signed chars.
13954 Change return code to string::npos when there have been no error
13955 (0 was a bad idea when error is at first character)
13957 2001-11-14 José Matos <jamatos@fep.up.pt>
13960 * buffer.C (simpleDocBookOnePar): removed unused argument.
13962 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13964 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13965 insets which are part of a word. Paragraph::isLetter takes care of
13966 that now. Use Paragraph::isInset to identify insets.
13967 (selectSelectedWord): do not test for hyphenation break.
13969 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13970 that protected spaces are considered as spaces.
13972 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13975 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13978 * lyxserver.C: fix it. and small cleanup.
13980 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13982 * BufferView_pimpl.C: use inline helpers
13985 * LaTeXFeatures.C: fix typos
13988 * Spacing.C: move spacing_string into class
13990 * ToolbarDefaults.C: move stuff into namespace anon
13992 * layout.h: update enum
13994 * lyxfunc.C: use better debug
13996 * minibuffer.h: fix typo
14000 * WorkArea.C: add and use Debug::WORKAREA
14004 * text2.C: code re-organisation, inline helpers
14006 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14008 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14009 std::vector.empty().
14011 2001-11-09 Allan Rae <rae@lyx.org>
14013 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14014 '\n's after tables. Tabular and ERT inset work now makes this no
14017 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14020 * minibuffer.C: fix crash, improve drop-down completion
14022 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14025 * lyxserver.C: invalidate fd's when doing endPipe()
14027 2001-11-08 José Matos <jamatos@fep.up.pt>
14029 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14030 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14033 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14035 2001-11-07 José Matos <jamatos@fep.up.pt>
14038 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14041 * buffer.C (sgmlOpenTag):
14042 * buffer.C (sgmlCloseTag): removed debug info.
14044 * buffer.h (sgmlOpenTag):
14045 * buffer.h (sgmlCloseTag): made public.
14047 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14049 * buffer.C (saveParamsAsDefaults):
14050 * lyx_cb.C (MenuLayoutSave): remove
14052 * LyXAction.C (init):
14054 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14056 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14058 * buffer.C (setPaperStuff): removed from here...
14060 * bufferparams.C (setPaperStuff): ... and moved there.
14062 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14066 * XFormsView.C: add support for drop-down completion
14068 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14070 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14073 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14075 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14078 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14080 * lyx_main.C: change ref to known bugs
14082 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14084 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14085 to work around older babel problems.
14087 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14089 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14091 2001-10-24 Juergen Vigna <jug@sad.it>
14093 * tabular-old.C (ReadOld): below variable changes reflected.
14095 * tabular.[Ch]: added ltType struct for longtable header/footer
14096 defines and changed all instances where they are used. Added
14097 future support for double top/bottom rows.
14099 2001-10-24 José Matos <jamatos@fep.up.pt>
14101 * buffer.h (docbookHandleCaption):
14102 * buffer.C (docbookHandleCaption): removed unused function.
14103 (makeDocBookFile): moved docbook supported version to v4.1.
14105 2001-10-24 José Matos <jamatos@fep.up.pt>
14108 * tabular.C (docbookRow): new function to export docbook code of a row.
14109 (DocBook): now honors the longtable flags.
14111 2001-10-23 José Matos <jamatos@fep.up.pt>
14114 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14115 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14117 * buffer.C (makeLinuxDocFile):
14118 (makeDocBookFile): reworked the preamble, more clean, and with
14119 support for lyx defined entities. Changed the document declaration
14120 to be more XML friendly.
14122 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14123 if we need to output XML that should be done with a filter.
14125 2001-10-22 Juergen Vigna <jug@sad.it>
14127 * sp_pspell.h (class PSpell): add alive function needed in the
14128 controller to see if the spellchecker could be started.
14130 2001-10-22 Juergen Vigna <jug@sad.it>
14132 * buffer.C (insertStringAsLines): modify the font for inserting
14133 chars in certain conditions by calling checkInsertChar(font).
14135 2001-10-19 Juergen Vigna <jug@sad.it>
14137 * text.C (workWidth): use getRow instead of wrong algorithm.
14138 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14140 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14145 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14147 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14149 * text.C (workWidth): do not search for the exact row when
14150 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14151 optimization for big documents.
14153 2001-10-18 Juergen Vigna <jug@sad.it>
14155 * text.C (workWidth): new function with added Inset * parameter.
14157 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14159 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14161 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14162 change return type of getColumnNearX.
14165 * text.C (changeRegionCase): use uppercase/lowercase instead of
14168 (rightMargin): simplify code by factoring out the uses of
14173 (appendParagraph): use Paragraph::size_type
14175 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14177 * vspace.C (asLatexString): add a missing break
14179 2001-10-15 Herbert Voss <voss@perce.de>
14181 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14183 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14185 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14188 2001-10-10 André Pönitz <poenitz@gmx.net>
14190 * lyxfunc.C: removed greek_kb_flag.
14192 2001-10-10 Herbert Voss <voss@perce.de>
14194 * lyx_main.C: delete global string help_lyxdir.
14196 2001-10-09 Herbert Voss <voss@perce.de>
14198 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14200 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14202 * lyx_main.C: added global string help_lyxdir.
14204 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14206 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14208 * lyxrc.C (set_font_norm_type): support iso8859-4
14210 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14212 * LaTeX.C (deplog): add another regex for MikTeX
14214 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14216 * lyxrc.C (set_font_norm_type): support iso8859-3
14218 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14220 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14222 * LaTeXFeatures.C: remove special case of french and index
14224 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14225 before \begin{document}). This solves several incompatibilities.
14227 2001-10-03 Garst Reese <reese@isn.net>
14229 * lyx_cb.C: change CheckTex error msg.
14231 2001-10-03 José Matos <jamatos@fep.up.pt>
14233 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14235 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14237 * .cvsignore: update
14239 * lyx_main.C (commandLineVersionInfo): use new style version info.
14241 * buffer.C (writeFile):
14243 (makeLinuxDocFile):
14244 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14246 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14248 * version.h: update to use stuff in version.C
14250 * version.C.in: new file. Contains version information determined
14251 at compile time. This is a merging of version.h and
14254 2001-10-03 Juergen Vigna <jug@sad.it>
14256 * BufferView_pimpl.C (update): don't change "dirty" status in
14259 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14261 * WorkArea.C (c-tor): re-position version string slightly.
14263 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14265 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14266 revert to previous code.
14268 WorkArea.[Ch]: (show, destroySplash): methods removed.
14270 WorkArea.C: rework code so that it's an amalgam of the codes before and
14271 after the splash screen was moved to WorkArea.
14273 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14276 * vspace.C (inPixels):
14279 * buffer.C (insertStringAsLines):
14280 (asciiParagraph): fix types to be large enough
14282 * lyxlex_pimpl.h: change member status from short to int
14284 * layout.h: fix type of endlabeltype
14287 * kbsequence.C (parse): change return type to string::size_type
14289 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14292 * Bullet.C (bulletSize):
14293 (bulletEntry): do not use short ints as parameters
14295 * BufferView2.C (insertLyXFile): change a char to an int.
14297 * WorkArea.C (WorkArea): remove unneeded floats in computation
14299 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14301 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14303 * paragraph.C (asString): Do not ignore newline/hfill chars when
14304 copying to the clipboard.
14306 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14308 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14309 after a multi-line inset.
14311 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14313 * paragraph.C (validate): Set NeedLyXFootnoteCode
14315 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14317 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14318 and decrease-error to decrease.
14320 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14322 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14323 it more readable (should be equivalent)
14325 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14327 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14329 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14332 of a cursor (row, etc.) after a character has been deleted
14333 (deleteEmptyParagraphMechanism): call the method above on _all_
14334 cursors held by the LyXText when a double space has been
14337 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14339 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14341 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14343 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14344 background. Use greyOut() and the new show() methods to toggle between
14345 the foreground and background. Add code to remove the splash after
14346 its initial showing.
14348 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14349 (create_forms): no longer call Dialogs::showSplash.
14351 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14353 * .cvsignore: add version_info.h
14355 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14357 * version_info.h.in: new file
14359 * Makefile.am: add version_info.h.in
14361 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14362 version_info.h instead of VERSION_INFO
14364 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14366 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14367 The ERT inset now returns string().
14369 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14371 * lyxtext.h, text.C (selectNextWord): renamed as
14372 selectNextWordToSpellcheck.
14374 * text.C (selectNextWordToSpellcheck): Modified to not select
14375 words inside an ERT inset.
14377 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14379 * lyx_cb.C (MenuLayoutSave): change a bit the question
14381 * sp_base.h: include <sys/types.h>
14383 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14385 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14387 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14389 * several files: fix typos in user-visible strings
14391 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14393 * text2.C (pasteSelection): do not set the selection, since it
14394 will be cleared later. Actually, the intent was to fix the way the
14395 selection was set, but I figured rmoving the code was just as good.
14397 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14399 * FontLoader.C (available): Check if font is available without
14402 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14404 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14406 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14408 * lyxrc.[Ch]: added display_graphics variable and associated code.
14410 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14412 * bufferparams.C (hasClassDefaults): new method. Returns true if
14413 the buffer parameters correspond to known class defaults
14415 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14417 * XFormsView.C (show): set minimum size to the main window.
14419 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14421 * text2.C (copySelection):
14423 * lyxfind.C (LyXReplace):
14424 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14425 LyXText::selectionAsString.
14427 * paragraph.C (asString): add "label" argument to the second form
14429 * text2.C (selectionAsString): add "label" argument and pass it to
14430 Paragraph::asString.
14432 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14434 * lyx_main.C (commandLineHelp): remove version information
14436 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14438 * lyx_main.C: add -version commandline option
14440 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14442 * paragraph.h: make the optional constructor arg required instead.
14443 some modifications to other files because of this.
14445 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14447 * lyxserver.C (C_LyXComm_callback): make it static
14449 * lyx_main.C (error_handler): make it static
14451 * lyx_gui.C (LyX_XErrHandler): make it static
14453 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14455 * WorkArea.C: make the extern "C" methods static.
14457 * Makefile.am (lyx_LDADD): simplify
14459 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14461 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14462 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14464 * LyXAction.C (init):
14465 * lyxfunc.C (dispatch): associated code removal.
14467 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14469 * lyxfont.h (isSymbolFont): shut off warning
14471 * text.C (setHeightOfRow):
14472 (getVisibleRow): fix crash with empty paragraphs which have a
14475 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14477 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14480 2001-09-04 José Matos <jamatos@fep.up.pt>
14483 * tabular.C (docbook): rename docBook method to docbook.
14485 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14487 * Makefile.am: add dependencies to main.o.
14489 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14491 * FontLoader.C (available): Return false if !lyxrc.use_gui
14493 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14495 * FontInfo.C (query):
14496 * converter.C (view):
14497 * importer.C (Import):
14498 * exporter.C (Export): Can not -> cannot.
14500 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14502 * BufferView_pimpl.C: allow to create index inset even if
14505 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14507 * buffer.C (getLists): replace boost::tie code with an explicit pair
14508 as boost::tie can break some compilers.
14510 * iterators.h: Added a std:: declaration to the return type of
14513 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14515 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14518 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14520 * iterators.[Ch]: New files. Provide paragraph iterators.
14522 * buffer.C (changeLanguage): Use paragraph iterators.
14523 (isMultiLingual): ditto
14525 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14527 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14529 * FontLoader.C: Support for cmr font.
14531 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14533 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14534 (available): New method.
14536 * FontInfo.C (getFontname): Use scalable fonts even when
14537 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14540 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14542 * converter.C (Formats::view): reverted! Incorrect fix.
14544 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14546 * converter.C (Formats::view): only output the -paper option
14547 if the dvi viewer is xdvi, thereby fixing bug #233429.
14549 2001-08-23 Herbert Voss <voss@perce>
14551 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14553 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14555 * Spacing.h (Spacing): Set space to Default on in the default
14558 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14560 * vc-backend.h (RCS::versionString): add RCS to version
14561 (CVS::versionString): add CVS to version
14563 * vc-backend.C (scanMaster): do not add CVS to version.
14564 (scanMaster): do not add RCS to version
14566 * lyxvc.C (versionString): new method
14568 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14570 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14572 * Spacing.C (set): initialize fval
14574 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14576 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14579 2001-08-16 Juergen Vigna <jug@sad.it>
14581 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14583 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14585 * BufferView_pimpl.C:
14588 * text2.C: setParagraph takes linespacing now
14590 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14592 * LyxAction.C: add internal LFUN_CITATION_INSERT
14594 * LyXView.C: actually apply fix
14596 * bufferlist.C: fix open non-existent file
14598 * lyxfind.C: fix indentation
14600 * lyxfunc.C: remove unneeded assert, fix typo
14602 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14604 * MenuBackend.C: use "Floatname List"
14606 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14608 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14609 when converting LaTeX layout to insetERT.
14610 Generate a non-collapsed float when reading old float
14612 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14614 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14617 2001-08-13 Juergen Vigna <jug@sad.it>
14619 * text.C (fill): return 0 instead of 20 as this seems to be the more
14622 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14624 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14627 2001-08-13 Juergen Vigna <jug@sad.it>
14629 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14631 (SearchBackward): comment out the unlocking of the inset_owner this
14632 should not be needed!
14634 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14636 * Many files: Remove inherit_language, and add latex_language
14638 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14639 collapsible insets.
14641 2001-08-10 Juergen Vigna <jug@sad.it>
14643 * text.C (prepareToPrint): fixed hfill-width in draw!
14645 * BufferView2.C (selectLastWord): save the selection cursor as this
14646 now is cleared in the function LyXText::clearSelection!
14648 2001-08-08 Juergen Vigna <jug@sad.it>
14650 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14651 BACKSPACE type functions.
14653 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14654 is only cutted from the document but not put in the cut-buffer, where
14655 still the old stuff should be.
14657 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14659 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14661 * tabular.C (SetWidthOfCell): fixed special case where the width
14663 (LeftLine): handle '|' in align_special.
14665 (LeftAlreadyDrawed): ditto
14666 (SetWidthOfCell): ditto
14668 2001-08-07 Juergen Vigna <jug@sad.it>
14670 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14672 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14674 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14675 * lyxlex.[hC]: ditto
14677 2001-08-06 Juergen Vigna <jug@sad.it>
14679 * text.C (getVisibleRow): fix up row clearing a bit.
14681 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14683 * minibuffer.C: make sure the X server sees the changes in the input.
14685 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14687 * paragraph.C (getFont): split into...
14688 (getLabelFont): this
14689 (getLayoutFont): and this
14690 * paragraph_pimpl.C (realizeFont): calling this
14692 * text2.C (getFont): split into...
14693 (getLayoutFont): this
14694 (getLabelFont): and this
14695 (realizeFont): all three calling this
14697 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14700 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14702 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14704 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14706 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14707 layouts from the Quote inset insertion.
14709 2001-08-03 Juergen Vigna <jug@sad.it>
14711 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14713 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14714 only if status not is already CHANGED_IN_DRAW (second level).
14716 * text.C (draw): don't set the need_break_row when inside an
14719 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14721 * buffer.C (parseSingleLyXformat2Token): handle more latex
14724 * bufferview_funcs.[hC]: change function names to
14725 begin with small char, adjust other files.
14727 2001-08-02 André Pönitz <poenitz@gmx.net>
14730 BufferView_pimpl.C: remove broken special code for math-greek
14732 2001-08-02 Juergen Vigna <jug@sad.it>
14734 * BufferView_pimpl.C (update): redone this function so that we
14735 update the text again if there was a CHANGE_IN_DRAW.
14737 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14738 (drawFromTo): added a new internal bool which is used by draw() and
14740 (general): some cursor drawing problems fixed.
14742 2001-08-01 Juergen Vigna <jug@sad.it>
14744 * lyxfind.C (LyXFind): fixed
14745 (SearchForward): ditto
14746 (SearchBackward): ditto
14748 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14749 spurius drawing of the cursor in the main area.
14751 * text2.C (status): small fix which could lead to a segfault!
14752 (clearSelection): remove unneeded BufferView param.
14754 2001-08-01 André Pönitz <poenitz@gmx.net>
14756 * lyxfunc.C: small change due to changed mathed interface
14758 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14760 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14762 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14764 * lyxfunc.c: fail gracefully if file doesn't exist
14769 * BufferView_pimpl.C: IsDirWriteable() proto changed
14771 * LyXView.C: fix updateWindowTitle() to store the last title
14773 2001-07-31 Juergen Vigna <jug@sad.it>
14775 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14776 the font (wrong since using of Paragraph::highestFontInRange).
14778 * paragraph.C (highestFontInRange): added a default_size parameter.
14780 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14781 (setHeightOfRow): reformat
14783 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14785 * converter.[hC] + affected files: move to (inital-char)lowercase
14788 * ParagraphParameters.C (ParagraphParameters): remove commented code
14790 * PainterBase.[Ch]: remove commented code
14792 * LaTeXFeatures.h: add "bool floats" for float.sty
14794 * LaTeXFeatures.C (LaTeXFeatures): init floats
14795 (require): handle float
14796 (getPackages): do it with floats
14798 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14800 * BufferView_pimpl.C (Dispatch): improve handling of
14801 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14803 * commandtags.h: #include lyxfont.h here temporarily to avoid
14806 * bufferlist.h: include LString.h here.
14808 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14810 * text2.C (getStringToIndex): new method.
14812 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14814 * *: Reduced header file dependencies all over.
14816 2001-07-30 Baruch Even <baruch@lyx.org>
14818 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14820 2001-07-29 Baruch Even <baruch@lyx.org>
14822 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14824 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14826 * ParameterStruct.h (endif): add a default constructor to make
14827 sure that all variables is initialized.
14829 * ParagraphParameters.C (ParagraphParameters): adjust
14831 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14833 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14834 index; also, check that there is something to index, and that it
14835 does not span over several paragraphs.
14836 (doubleClick): use WHOLE_WORD_STRICT for double click.
14838 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14840 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14843 2001-07-26 Baruch Even <baruch@lyx.org>
14845 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14846 an InsetFig figure, backwards compatible reading of old figure code.
14848 2001-07-27 Juergen Vigna <jug@sad.it>
14850 * text2.C: font.realize function adaption.
14852 * text.C (draw): add a warnings lyxerr text if needed.
14854 * layout.C: font.realize function adaption.
14856 * language.C: add inherit_language and implement it's handlings
14858 * bufferview_funcs.C (StyleReset): remove language parameter from
14859 font creation (should be language_inherit now).
14861 * bufferparams.C (writeFile): handle ignore_language.
14863 * paragraph.C (getFontSettings): the language has to be resolved
14864 otherwise we have problems in LyXFont!
14866 * lyxfont.C (lyxWriteChanges): added document_language parameter
14867 (update): removed unneeded language parameter
14869 * paragraph.C (validate): fixed wrong output of color-package when
14870 using interface colors for certain fonts in certain environments,
14871 which should not seen as that on the final output.
14873 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14875 * BufferView_pimpl.C:
14880 * LyXAction.C: add thesaurus support
14883 * lyxfind.C: add "once" parameter, for thesaurus, to not
14884 move to the next match
14886 2001-07-26 Juergen Vigna <jug@sad.it>
14888 * lyxfont.C (realize): honor ignore_language too!
14891 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14893 * text.C (draw): one place more for ignore_language to not draw
14896 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14898 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14900 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14902 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14903 the minipage conversion problem.
14905 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14907 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14910 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14912 * BufferView.h: don't forward declare WorkArea
14914 * BufferView.C: don't include WorkArea.h
14916 2001-07-25 André Pönitz <poenitz@gmx.net>
14920 * lyxfunc.C: new LFUN 'math-space'
14922 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14924 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14926 * text2.C (toggleInset): call open/close
14928 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14930 * lyxfunc.C (dispatch): add debug for the disabled case
14932 * font.C (buttonText): make similar to rectText
14934 * buffer.C (readInset): comment out parsing of insetlist and
14937 * PainterBase.C (rectText): small correction
14939 * BufferView_pimpl.C: comment out insettheorem and insetlist
14940 * LyXAction.C: ditto
14941 * commandtags.h: ditto
14943 2001-07-24 Juergen Vigna <jug@sad.it>
14945 * text.C (draw): honor the ignore_language.
14947 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14949 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14951 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14954 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14956 * lyxtext.h: remove unused (and unimplemented) methods
14958 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14960 * text.C (getVisibleRow): honor background color
14963 * Painter.h: remove default color argument for fillRectangle
14965 * text.C (backgroundColor): new method
14967 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14969 * text.C (getVisibleRow): adjust
14971 * font.[Ch] (rectText): new method, metrics
14972 (buttonText): new method, metrics
14974 * PainterBase.[hC]: make rectText and buttonText always draw and take
14977 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14979 * ToolbarDefaults.C (read):
14980 * MenuBackend.C (read): allow escaping in all strings
14982 * BufferView_pimpl.C (insertAndEditInset): new method.
14983 (Dispatch): use insertAndEditInset whenever appropriate.
14985 * BufferView_pimpl.C (insertNote): removed
14987 * BufferView_pimpl.C (smartQuote): new method, moved from
14988 BufferView; if an insetquote cannot be inserted, insert a '"'
14991 * BufferView2.C: remove insertCorrectQuote();
14993 * lyxfunc.C (getStatus): Add support for all remaingin
14994 inset-insert lfuns.
14996 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14998 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14999 command (necessary to pass " as parameter of self-insert.
15001 * text.C (selectWordWhenUnderCursor):
15002 (selectWord): add word_location parameter
15003 (selectWordWhenUnderCursor): same + remove special code for word
15005 (selectNextWord): use kind() to guess type of insetspecialchar,
15008 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15009 (insertErtContents): create ert insets as collapsed.
15010 (readInset): better compatibility code for Info inset.
15012 2001-07-20 Juergen Vigna <jug@sad.it>
15014 * lyxfunc.C (dispatch): use always LyXFind now!
15016 * text2.C (init): add a reinit flag so that the LyXText can be
15017 reinited instead of deleted and reallocated (used in InsetText).
15019 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15025 2001-07-18 Juergen Vigna <jug@sad.it>
15027 * text.C (selectNextWord): handle insets inside inset by calling
15028 always the bv->text functions so that we can go up the_locking_inset!
15030 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15031 in strange locations when inside an inset!
15033 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15034 handling to include insets.
15036 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15038 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15040 * LyXAction.C (init):
15042 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15043 LIGATURE_BREAK, since the name is so stupid.
15045 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15047 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15050 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15052 * sp_form.[Ch]: remove.
15054 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15056 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15059 * src/buffer.C (readInset): ditto.
15061 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15063 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15064 menuSeparator(), endOfSentenceDot(), ldots() and
15065 hyphenationPoint(), which are therefore removed.
15066 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15068 * LyXAction.C (init):
15069 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15071 * paragraph.C (getWord): removed.
15073 * BufferView_pimpl.C (Dispatch): use last word or selection for
15074 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15076 * lyx_main.C (queryUserLyXDir): do not ask before creating
15077 user_dir, except if it has been named explicitely.
15079 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15081 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15082 a document of zero size.
15084 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15086 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15087 approriately in the c-tor and in require().
15088 (getPackages): output the appropriate LaTeX for natbib support.
15090 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15091 variables "use_natbib" and "use_numerical_citations" when reading the
15093 (readInset): read the various natbib cite commands.
15094 (validate): white-space change.
15096 * bufferparams.[Ch]: new variables "bool use_natbib" and
15097 "bool use_numerical_citations".
15098 (writeFile): output them in the LyX file.
15100 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15102 * lyxfunc.C (getStatus): add support for all the inset insertion
15105 * text2.C (insertInset):
15106 * paragraph.C (insetAllowed):
15107 * BufferView_pimpl.C (insertInset): update to take in account the
15108 renaming of insertInsetAllowed
15110 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15112 * text2.C (getInset): new method. returns inset at cursor position.
15114 * BufferView_pimpl.C (Dispatch): changes because of this.
15116 * LyXAction.C (init): rename open-stuff to inset-toggle.
15118 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15120 * text2.C (toggleInset): renamed from openStuff; use
15123 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15125 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15127 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15129 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15131 * buffer.C (readLyXformat2): Add filename to the error dialog
15133 2001-07-18 Juergen Vigna <jug@sad.it>
15135 * tabular.C (GetCellNumber): put an assert here instead of the check!
15137 2001-07-17 Juergen Vigna <jug@sad.it>
15139 * BufferView_pimpl.C (toggleSelection): adapted too.
15141 * text.C (selectNextWord): adapted for use with insets.
15142 (selectSelectedWord): ditto
15144 2001-07-17 Juergen Vigna <jug@sad.it>
15146 * sp_spell.C (PSpell): fix initialitation order.
15148 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15150 * paragraph.C: spacing
15152 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15154 * sp_spell.C: repair language selection for pspell
15156 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15158 * lyxfunc.h: change more methods to begin with lower char.
15160 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15162 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15163 for unknown layouts.
15165 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15167 * buffer.C (readLyXformat2): Generate an error dialog if there are
15170 2001-07-16 Juergen Vigna <jug@sad.it>
15172 * sp_spell.C: always compile ISpell part.
15174 * lyxrc.C: added use_pspell entry and it's handling.
15176 2001-07-13 Juergen Vigna <jug@sad.it>
15178 * sp_spell.C: removed double includes.
15180 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15182 Consistent use of Lsstream.h:
15183 * Lsstream.h: added using std::stringstream for consistencies sake.
15185 * buffer.C: removed using std::stringstream
15187 * lyxfont.C (stateText):
15188 * paragraph.C (asString):
15189 * text.C (selectNextWord, selectSelectedWord):
15190 * text2.C (setCounter):
15191 * vspace.C (asString, asLatexString):
15192 std::ostringstream -> ostringstream.
15194 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15196 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15197 * commandtags.h: add LFUN_HELP_ABOUTLYX
15198 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15200 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15202 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15204 * lyx_gui_misc.C: remove spellchecker
15205 * lyxfunc.C: showSpellchecker
15207 * sp_ispell.h: added
15208 * sp_pspell.h: added
15209 * sp_spell.C: added
15210 * sp_form.[Ch]: removed
15211 * spellchecker.[Ch]: removed
15213 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15215 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15217 (simpleTeXSpecialChars): Simply print the input character without
15218 any special translation if pass_thru is set.
15220 * layout.h: Added bool pass_thru to layout class for being able to
15221 implement pass through of a paragraph for Literate Programming.
15223 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15224 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15225 * layout.C (Read): add "passthru" to list of layout tags and add
15226 code to set the pass_thru boolean when it is read.
15228 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15230 * trans_decl.h: remove allowed from KmodInfo
15232 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15233 remove allowed code
15236 * paragraph_pimpl.C (erase): use boost::prior
15238 * Painter.C (text): use data() instead of c_str() when length is
15240 * WorkArea.C (putClipboard): ditto
15241 * font.h (width): ditto
15243 * BufferView2.C: use it-> instead of (*it). for iterators
15245 * paragraph_pimpl.C: ditto
15246 * paragraph.C: ditto
15247 * minibuffer.C: ditto
15248 * language.C: ditto
15250 * encoding.C: ditto
15251 * counters.C: ditto
15252 * converter.C: ditto
15254 * Variables.C: ditto
15255 * TextCache.C: ditto
15256 * MenuBackend.C: ditto
15257 * LyXAction.C: ditto
15259 * FloatList.C: ditto
15260 * DepTable.C: ditto
15261 * ColorHandler.C (LyXColorHandler): ditto
15263 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15265 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15267 * text2.C (openStuff): reintroduce this method (which had been
15268 nuked in NEW_INSETS frenzy).
15270 * lyxfunc.C (Dispatch): when an action has not been handled, use
15271 its name in the error message, not its number.
15273 * paragraph.C (inInset): change method name to begin with lowercase.
15276 * text2.C: updates because of this.
15278 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15280 * ToolbarDefaults.C (add): add spaces in error message
15282 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15284 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15285 (readLyXformat2): rename return_par to first_par, use lyxlex's
15286 pushToken and remove the manual push handling.
15287 (parseSingleLyXformat2Token): add another ert comp. variable:
15288 in_tabular, rename return_par to first_par. handle newlines better
15290 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15292 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15294 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15296 * text2.C (getParFromID): removed
15298 * buffer.C (getParFromID): new method moved form lyxtext.
15299 * BufferView2.C (insertErrors): adjust
15300 (setCursorFromRow): adjust
15301 * BufferView_pimpl.C (restorePosition): adjust
15302 * lyxfunc.C (Dispatch): adjust
15303 * undo_funcs.C (textUndo): adjust
15305 (textHandleUndo): adjust
15306 (textHandleUndo): adjust
15308 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15310 * buffer.C: up' the LYX_FORMAT
15312 * lyxfont.h: turn NO_LATEX on as default
15314 * buffer.C (insertErtContents): new methods of tex style compability.
15315 (parseSingleLyXformat2Token): use it several places.
15316 * tabular.C (OldFormatRead): and here
15318 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15320 * text2.C: remove some commented code.
15323 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15324 * trans.C: changes because of the above.
15326 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15328 * text2.C (setCounter): Fix counters bug with bibliography layout.
15330 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15332 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15333 own member functions
15334 (simpleTeXSpecialChars): ditto
15336 2001-07-06 Juergen Vigna <jug@sad.it>
15338 * a lot of files: changed the access to LyXText::status and the
15339 call of undo-functions.
15341 * undo.[Ch]: added a inset_id to the undo informations.
15343 * undo_funcs.[Ch]: added and moved here all undo functions.
15345 * lyxtext.h: give the status enum a weight, made status_ a private
15346 variable and made accessor functions for it, removed the whole bunch
15347 of undo-functions as they are now in their own file, make some
15348 functions publically available. Added function ownerParagraph with
15351 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15352 made InInset() a const function, added getParFromID() function.
15354 * buffer.[Ch]: added const version for inset_iterator functions,
15355 added getInsetFromID() function.
15357 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15358 changed undo functions for new version.
15360 2001-07-05 Juergen Vigna <jug@sad.it>
15362 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15363 unknow mechanism does not call the proper constructor but only this
15364 one also if I request the other!?
15366 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15368 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15370 * text2.C (LyXText): use initialization lists.
15372 * lyxtext.h (Selection): initialize set_ and mark_
15373 (init): remove method
15375 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15377 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15379 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15381 * screen.[Ch]: change method names to begin with lowercase
15383 * BufferView_pimpl.C (updateScrollbar): simplify further and
15384 hopefully make it a bit faster.
15386 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15388 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15389 calling directly xforms functions.
15391 * Painter.C (Painter):
15392 * lyx_cb.C (MenuWrite):
15393 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15396 * lyx_gui.C: remove bogus guiruntime extern declaration.
15398 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15400 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15402 (redoDrawingOfParagraph): ditto
15403 (redoParagraphs): ditto
15404 (cutSelection): don't create a object for CutAndPaste use the
15405 static method directly
15406 (pasteSelection): ditto
15408 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15411 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15413 * modifications to some other files because of this.
15415 * Makefile.am (lyx_SOURCES): add XFormsView
15417 * XFormsView.[Ch]: new files
15419 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15420 the main window. Move the gui dependent stuff to XFormsView
15422 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15424 * tabular.C (GetCellInset): update cur_cell also in the row/col
15425 version of this function.
15427 * lyxfunc.C: no need to include figure_form.h here.
15433 * lyxvc.C: no need to include forms.h here.
15435 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15437 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15439 * lyxfunc.C (Dispatch):
15441 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15442 constructor argument.
15444 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15446 * paragraph.C (Paragraph): dont't clear, and just set layout.
15447 (makeSameLayout): use params's copy contructor.
15449 * ParagraphParameters.[Ch] (makeSame): delete method
15451 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15453 * Variables.[Ch]: fix indentation, rename set to isSet
15455 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15457 * lyxfunc.C (Dispatch): fix typo
15459 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15461 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15464 * bufferlist.C: include assert.h for emergencyWrite().
15466 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15468 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15469 give up at last (bug #425202) !
15471 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15477 * spellchecker.C: strip spellchecker options and bring up
15478 preferences tab instead
15480 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15482 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15483 the istringstream constructor
15485 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15487 * paragraph.C (getLayout): fix return value
15489 * paragraph.h: do not declare getLayout as inline.
15491 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15493 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15495 * lyxcursor.h (operator<): new func
15496 (operator>): new func
15497 (operator>=): new func
15498 (operator<=): new func
15500 * text.C (changeCase): use selection.start and selection.end
15501 (changeRegionCase): require from to be <= to. Require par to be a
15504 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15506 2001-06-27 Juergen Vigna <jug@sad.it>
15508 * text.C (cursorLeftOneWord): changed to return the cursor and added
15509 overlay with BufferView * parameter which calls this one.
15511 (selectWord): use new getWord function.
15512 (changeCase): renamed from changeWordCase as and extended to work
15513 also on selections.
15515 * lyxtext.h: added enum word_location
15517 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15518 changeCase as this operates now also on selections.
15520 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15522 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15524 * many files: send debug output to Debug::INFO instead of
15527 * converter.C (View):
15529 (Move): send debug output to Debug::FILES instead of console.
15531 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15533 * lyxfunc.C (getStatus): use func_status
15535 * func_status.h: new header, describing the results of
15536 LyXFunc::getStatus;
15538 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15541 2001-06-25 The LyX Project <jug@sad.it>
15543 * buffer.C (sgmlOpenTag):
15545 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15547 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15549 * text2.C: remove some dead code
15551 * tabular.C (GetCellInset): store the last cell checked (gotten)
15553 * tabular.h: add the helper for the speedup
15555 * lyxtext.h: remove some dead code
15557 2001-06-26 The LyX Project <Asger>
15559 * paragraph.C: Change export to LaTeX of alignment to
15560 \begin{center} and family for better roundtrip work with reLyX.
15562 * Tune the math drawing a bit.
15564 2001-06-25 The LyX Project <Asger>
15566 * LColor.C (LColor): New color for math background. New color
15569 2001-06-25 The LyX Project <jug@sad.it>
15571 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15573 * lyxfunc.C (Open):
15574 * bufferlist.C (newFile): do not restrict to files ending with
15577 * BufferView_pimpl.C (MenuInsertLyXFile):
15579 2001-06-24 The LyX Project <jug@sad.it>
15581 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15584 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15586 * lyxtext.h: rename most methods to begin with a small char.
15587 Lots of changes because of this.
15589 * paragraph.C (Paragraph): do not call fitToSize
15590 (erase): call Pimpl::erase
15591 (insertChar): call Pimpl::insertChar
15592 (insertInset): call Pipl::insertInset
15593 (breakParagraph): do not call fitToSize
15594 (breakParagraphConservative): do not call fitToSize
15595 (fitToSize): remove method
15597 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15599 2001-06-24 The LyX Project <Asger>
15601 * Fix Qt compilation^2
15603 2001-06-24 The LyX Project <jug@sad.it>
15605 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15606 depthHook(getDepth()-1).
15609 * ParagraphParameters.h:
15610 * ParameterStruct.h: change type of depth to unsigned int ==
15611 depth_type. Many adaptations to other files before of that.
15613 2001-06-24 The LyX Project <Asger>
15615 * Fix Qt compilation.
15617 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15619 * paragraph.h: renamed several methods to begin with small letter.
15620 several changes to many parts of the code because of this.
15622 2001-06-23 The LyX Project <jug@sad.it>
15624 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15625 rewritten to discard all double spaces when KeepEmpty is off
15626 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15627 to only handle newlines but not fiddle with spaces and friends.
15629 * lyxfunc.C (MenuNew): when doing 'new from template', use
15630 template_path as default directory
15632 2001-06-23 The LyX Project <Asger>
15634 * Clean-up of header file includes all over
15635 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15637 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15639 * paragraph.h: renamed from lyxparagraph.h
15641 2001-06-23 Asger <lyx@violet.home.sad.it>
15643 * Buffer.h: Removed Buffer::resize
15644 * BufferList.h: Removed BufferList::resize
15645 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15646 the document lazily when we change the width, or the font settings.
15648 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15650 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15652 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15654 * buffer.h: remove out of date comment
15656 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15659 * screen.C: fix "theoretical" GC leak
15661 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15663 * LaTeX.C (scanAuxFile):
15664 (deplog): remove trailing \r when reading stream (useful under
15667 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15669 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15670 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15671 and BufferView::theLockingInset(Inset*), so should use them and not
15672 access bv_->text->the_locking_inset directly.
15674 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15676 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15679 * tex-defs.h: remove old unused file
15681 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15683 * BufferView_pimpl.C: fix typo, remove minibuffer message
15684 when buffer has loaded
15686 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15688 * lyxfunc.C (Dispatch): use stringstream
15689 (MenuNew): use stringstream
15690 (Open): use stringstream
15692 * importer.C (Import): use stringstream
15694 * bufferview_funcs.C (CurrentState): use stringstream
15696 * LaTeX.C (run): use stringstream
15698 * BufferView_pimpl.C (savePosition): use stringstream
15699 (restorePosition): use stringstream
15700 (MenuInsertLyXFile): use stringstream
15702 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15715 * vspace.C: removed // -*- C++ -*- as first line.
15718 * version.h: added // -*- C++ -*- as first line.
15720 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15722 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15724 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15727 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15729 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15732 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15734 * gettext.C: include LString.h even when --disable-nls is on.
15736 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15738 * converter.h (Get): changed argument type from int to
15739 FormatList::size_type to avoid unnecessary conversion.
15741 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15744 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15746 * gettext.h: include LString.h even when --disable-nls is on.
15748 2001-06-07 Juergen Vigna <jug@sad.it>
15750 * text.C (BreakAgain): subst spaces with tabs.
15752 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15753 (resizeInsetsLyXText): set force on resizeLyXText.
15755 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15757 * gettext.h (gettext_init):
15758 (locale_init): use a real definition instead of a macro
15760 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15762 * Bufferview_pimpl.C:
15764 * LColor.C: further lcolor tidies
15766 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15768 * BufferView_pimpl.C (updateScrollbar): simplify.
15770 * BufferView2.C: don't include insets/insetinfo.h, change
15771 prototype for insertInset and call the Pimpl version. let
15772 updateInset call Pimpl version.
15774 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15775 gotoInset to BufferView::Pimpl
15777 2001-06-01 Juergen Vigna <jug@sad.it>
15779 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15780 inside a LockingInset (is the update needed at all?).
15782 2001-05-31 Juergen Vigna <jug@sad.it>
15784 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15785 here not the old one otherwise how should we compare it afterwards
15788 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15793 * FontInfo.C: bring C functions into global namespace when
15796 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15798 * LString.h: make sure config.h has been loaded before LString.h.
15800 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15801 (one for each char read by EatLine!).
15803 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15806 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15808 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15809 to the same as the par we break from
15811 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15813 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15815 * MenuBackend.C (expand): also create menu entries for wide
15816 versions of the floats.
15818 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15820 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15822 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15823 frontends/Makefile.am
15829 * tabular.C (getTokenValue): add std::
15831 * tabular-old.C (getTokenValue): add std::
15832 (getTokenValue): ditto
15833 (getTokenValue): ditto
15835 * screen.C (ToggleSelection): adjust
15837 * lyxtext.h: put selection cursors inside a Selection struct.
15839 * lyxfunc.C (moveCursorUpdate): adjust
15841 * lyxfont.C (latexWriteStartChanges): add std::
15843 * lyxfind.C: adjust
15845 * font.h: delete with(char const *, LyXFont const &)
15847 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15849 * FontInfo.C (getFontname): add std::
15851 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15852 (workAreaButtonPress): adjust
15853 (tripleClick): adjust
15855 (moveCursorUpdate): adjust
15858 * BufferView2.C (gotoInset): adjust
15860 2001-05-30 Juergen Vigna <jug@sad.it>
15862 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15863 to check pspell I add this as default as I now have new pspell
15864 libraries and they seem to use this.
15866 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15868 * text2.C (CutSelection): make the cursor valid before the call to
15871 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15873 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15874 relied on 0 terminated strings and other horrors. Bug found due to
15875 the new assert in lyxstring!
15877 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15880 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15882 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15885 * lyxfunc.C (processKeySym): change method of getting to the
15888 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15889 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15890 * BufferView_pimpl.[Ch]: here as private methods.
15892 2001-05-28 Juergen Vigna <jug@sad.it>
15894 * text.C (SetHeightOfRow): added the update() call again as it is
15895 needed to initialize inset dimensions!
15897 2001-05-16 Juergen Vigna <jug@sad.it>
15899 * text2.C (SetCharFont): Add new function with BufferView * and
15900 bool toggleall parameters for setting insets internal fonts.
15901 (SetFont): Freeze the undo as we may change fonts in Insets and
15902 all this change should be inside only one Undo!
15904 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15905 setting font's in insets as for them we have the SetFont function!
15907 2001-05-15 Juergen Vigna <jug@sad.it>
15909 * text2.C (ClearSelection): to be sure we REALLY don't have any
15912 * tabular.C (TeXCellPreamble): fixed the left border problem for
15915 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15917 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15920 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15922 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15923 LFUN_BREAKPARAGRAPH.
15925 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15926 help test to "internal only", similar for LFUN_INSERT_URL
15928 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15929 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15930 auto_region_delete and deadkeys.
15932 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15935 * LColor.C: remove some dead entries, tidy a little
15937 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15939 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15941 (Dispatch): implement LFUN_ESCAPE
15943 * commandtags.h: add LFUN_ESCAPE
15945 * LyXAction.C (init): add entry for LFUN_ESCAPE
15947 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15948 Remove commented code.
15949 (insertNote): moved here
15950 (open_new_inset): moved here
15952 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15955 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15957 * kbmap.C (findbinding): clean it up and make it work correctly.
15959 * lyx_main.C (init): do not pass argc and argv as parameters
15961 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15963 * buffer.C: fix path for OS/2 & Win32
15967 * lyx_main.C: Added os:: class.
15969 * os2_defines.h: update
15971 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15974 better by trying again with reduced state.
15976 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15978 * lyxrc.C (read): print error about invalid key sequence only when
15979 debugging (because not all latinX keysyms are known to some X
15982 * kbsequence.C (getiso): add a few std:: qualifiers
15983 (getiso): comment out extra return statement.
15985 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15987 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15989 (Dispatch): enhance the accent inset a bit. (not perfect)
15991 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15993 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15995 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15997 * bufferlist.C (emergencyWrite): fix assert() call
15999 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16001 * text.C (InsertChar): Added trivial patch to only send the "you
16002 can not do multiple spaces this way" message once during a
16005 2001-05-08 Baruch Even <baruch@lyx.org>
16007 * Makefile.am: Changed order of libraries to get LyX to link properly
16008 with the gnome frontend.
16010 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16012 * LaTeXFeatures.h: add a std:: qualifier
16014 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16016 * paragraph.C (String): use stringstream
16018 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16020 * paragraph.C (writeFile): remove footflag arg
16022 * buffer.C (makeLaTeXFile): use stringstream
16023 (latexParagraphs): remove footnot gurba
16025 * LaTeXFeatures.C (getPackages): use stringstream
16026 (getMacros): likewise
16027 (getTClassPreamble): likewise
16028 (getFloatDefinitions): new method
16030 * paragraph.C (writeFile): reindent
16033 * WorkArea.h: revert the xpos + etc changes.
16035 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16037 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16039 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16040 (pasteSelection): likewise
16041 * text2.C (CreateUndo): likewise
16043 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16045 * minibuffer.C (peek_event): temporarily reduce the functionality
16046 of the minibuffer (to allow args on lfuns)
16048 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16049 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16051 * buffer.C (readInset): add compability reading of old float
16052 lists, add reading of new style float list.
16053 (readInset): avoid reevaluation of inscmd.getCmdName()
16054 (getLists): reindent
16056 * MenuBackend.C (MenuItem): implement parsing of
16057 md_floatlistinsert and md_floatinsert.
16058 (expand::LastFiles): move initalizaton of iterators out of loop,
16059 avoid reevaluation.
16060 (expand::Documents): introduce typdedef vector<string> Strings,
16062 (expand::ExportFormats): introduce typedef vector<Format const *>
16063 Formats, and use it.
16064 (expand): implement FloatListInsert and FloatInsert.
16066 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16067 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16068 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16070 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16072 (Dispatch::LFUN_FLOAT_LIST): implement
16074 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16076 * LaTeX.C (run): Fix problem with --export code.
16078 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16080 * BufferView.[Ch] (workarea): removed.
16081 (getClipboard) new method; wrapper for workarea()->getClipboard()
16083 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16086 * WorkArea.h (width, height, xpos, ypos): These methods all
16087 returned the dimensions of the work_area sub-area of WorkArea,
16088 resulting in a position error if the WorkArea were resized. Now
16089 return the dimensions of the entire WorkArea.
16091 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16093 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16095 * LaTeX.C (deplog): correct the syntax of regex reg1
16097 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16099 * undo.C: remove !NEW_INSETS cruft
16101 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16103 * text2.C: remove !NEW_INSETS cruft
16105 * text.C: remove !NEW_INSETS cruft
16107 * tabular.C: remove !NEW_INSETS cruft
16109 * spellchecker.C: remove !NEW_INSETS cruft
16111 * lyxtext.h: remove !NEW_INSETS cruft
16113 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16115 * lyxfunc.C: remove !NEW_INSETS cruft
16117 * lyxfind.C: remove !NEW_INSETS cruft
16119 * lyx_cb.C: remove !NEW_INSETS cruft
16121 * figureForm.C: remove !NEW_INSETS cruft
16123 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16125 * buffer.[Ch]: remove !NEW_INSETS cruft
16127 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16129 * CutAndPaste.C: remove !NEW_INSETS cruft
16131 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16133 * BufferView2.C: remove !NEW_INSETS cruft
16135 * BufferView.h: remove !NEW_INSETS cruft
16137 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16139 * Lsstream.h: include LString.h before the sstream headers to
16140 fix problem with gcc 2.95.3 and lyxstring
16142 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16144 * lyx_main.C: add using directives when needed for C functions
16145 declared in std:: namespace.
16147 2001-04-27 Juergen Vigna <jug@sad.it>
16149 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16150 (SetHeightOfRow): comment out the update call should not be needed!
16152 2001-04-13 Juergen Vigna <jug@sad.it>
16154 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16155 (LyXTabular): tried to minimize operator= operations (and realized
16156 hopfully Lars wish).
16158 2001-04-27 Juergen Vigna <jug@sad.it>
16160 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16162 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16164 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16166 * buffer.C (readInset): hack to make listof algorithm work
16168 * BufferView_pimpl.C: hack to make listof algorithm work
16170 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16172 * LyXAction.C: removed all !NEW_INSETS cruft
16173 (init): moved lfun_item in method
16175 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16177 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16179 * BufferView2.C (theLockingInset): white space.
16181 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16183 * minibuffer.C: include <iostream>
16185 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16187 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16189 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16191 * text.[Ch] (TransposeChars): new method
16193 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16195 * call message directly through LyXView instead of through LyXFunc
16196 * BufferView2.C: adjust
16197 * BufferView_pimpl.C: adjust
16198 * FontLoader.C: adjust
16200 * bufferview_funcs.C: adjust
16201 * converter.C: adjust
16202 * figureForm.C: adjust
16203 * importer.C: adjust
16205 * lyx_gui_misc.C: adjust
16206 * lyxfunc.C: adjust
16209 + more files in subdirs
16211 * lyxparagraph.h (size): move up int file
16214 * adjust all uses of Assert to lyx::Assert.
16216 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16217 lyxfunctional in namespace lyx
16218 * layout.C (hasLayout): ditto
16221 (delete_layout): ditto
16222 (NumberOfClass): ditto
16223 * converter.C (GetFormat): ditto
16228 * bufferlist.C (getFileNames): ditto
16229 (emergencyWriteAll): ditto
16232 * MenuBackend.C (hasSubmenu): ditto
16235 * BufferView_pimpl.C (getInsetByCode): ditto
16237 2001-04-18 Juergen Vigna <jug@sad.it>
16239 * vspace.C (asLatexString): fixed the 100% problem.
16241 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16243 * lyxfunc.C (Dispatch):
16245 * minibuffer.h: add a few std:: qualifiers
16247 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16249 * minibuffer.[Ch]: reimplement so that commands is initiated and
16250 run from lyxfunc, simplified som handling, and made the completion
16251 and history code for complete. wip.
16253 * lyxfunc.C (processKeySym): call message
16254 (miniDispatch): new temporary method
16255 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16256 (LFUN_MESSAGE): implement
16257 (LFUN_MESSAGE_PUSH): implement
16258 (LFUN_MESSAGE_POP): implement
16259 (initMiniBuffer): the initial/defualt minibuffer message.
16261 * lyxfont.[Ch]: inline some more getters
16263 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16265 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16267 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16268 (AutoSave): use LFUN_MESSAGE
16269 (Reconfigure): ditto
16271 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16273 * figureForm.C: use LFUN_MESSAGE
16275 * converter.C (runLaTeX): use LFUN_MESSAGE
16277 * bufferview_funcs.C: use LFUN_MESSAGE
16279 (changeDepth): ditto
16281 * bufferparams.h: use boost::
16283 * bufferlist.h: inherit privately from noncopyable
16285 * bufferlist.C (loadLyXFile): remove some commented code.
16287 * buffer.C (runChktex): use LFUN_MESSAGE
16289 * ShareContainer.h: inherit privately from noncopyable
16291 * ParagraphParameters.[hC] (depth): inline it.
16293 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16295 (message): new method
16296 (messagePush): ditto
16297 (messagePop): ditto
16298 (show): init minibuffer
16299 (showState): direct call
16301 * LaTeX.[Ch]: inherit privately from noncopyable
16302 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16303 instead of WriteStatus.
16305 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16307 * BufferView_pimpl.C (buffer): don't init minibuffer
16308 (workAreaButtonPress): use LFUN_MESSAGE
16309 (workAreaButtonRelease): ditto
16310 (savePosition): ditto
16311 (restorePosition): ditto
16312 (MenuInsertLyXFile): ditto
16313 (workAreaExpose): don't init minibuffer
16314 (update): remove commented code, simplify
16316 * BufferView2.C (openStuff): use LFUN_MESSAGE
16317 (toggleFloat): ditto
16320 (copyEnvironment): ditto
16321 (pasteEnvironment): ditto
16326 (updateInset): remove some commented code
16328 * lastfiles.h: inherit privately from noncopyable
16331 * lyx_main.h: ditto
16333 * lyxlex_pimpl.h: ditto
16335 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16336 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16337 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16339 * LyXAction.h: inherit privately from noncopyable, add methods
16340 func_begin, func_end, returning iterators to the func map.
16342 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16343 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16344 (func_begin): new method
16345 (func_end): new method
16347 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16349 (copySelection): ditto
16350 (pasteSelection): ditto
16352 * BufferView.C: whitespace change
16353 * BufferView.h: inherit privately from noncopyable
16355 2001-04-16 Allan Rae <rae@lyx.org>
16357 * tabular-old.C (l_getline):
16358 * spellchecker.C (sc_check_word):
16359 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16360 an unrecognised preprocessor directive. So ensure they're wrapped.
16362 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16364 * src/exporter.C (Export): Give an error message when path to file
16367 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16369 * LaTeX.C (deplog): Always check that foundfile exists.
16371 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16374 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16376 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16378 * tabular.[Ch] (getLabelList): implement new method
16380 * minibuffer.h: comment ouf setTiimer
16382 * minibuffer.C (ExecutingCB): constify res
16383 (peek_event): constify s
16384 (Set): constify ntext
16385 (Init): constify nicename
16387 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16389 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16390 (savePosition): use two params to Minibuffer::Set
16391 (restorePosition): ditto
16393 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16395 * lyx_main.C: include language.h
16397 * Makefile.am (lyx_main.o): add language.h
16399 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16405 * CutAndPaste.C: include gettext.h
16407 * lyxfont.h: remove old hack with ON and OFF.
16410 * lyxfont.h: do not include language.h...
16415 * bufferview_funcs.C:
16421 * paragraph.C: ... but do it here instead
16423 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16425 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16427 * tabular.C: small reformat
16429 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16432 (BreakParagraph): ditto
16433 (SetOnlyLayout): ditto
16436 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16439 * lastfiles.C: removed most using decl, add std:: where needed
16441 * buffer.C: ws changes
16443 * MenuBackend.C (class compare_format): put into anon namespace
16444 (expand): constify label, names, action, action2
16447 * text.C (SingleWidth): constify font
16448 (IsBoundary): constify rtl2
16449 (GetVisibleRow): constify ww
16451 * LaTeX.C (deplog): constify logfile
16453 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16455 (workAreaExpose): constify widthChange, heightChange
16457 * lyxrow.C (par): moved
16460 * lyxrow.h: as inlines here
16462 * lyxfont.h (shape): moved from lyxfont.C
16463 (emph): moved from lyxfont.C
16465 * lyxfont.C (LyXFont): use initialization list for all
16467 (shape): move to lyxfont.h as inline
16468 (emph): move to lyxfont.h as inline
16471 2001-04-04 Juergen Vigna <jug@sad.it>
16473 * vspace.C: had to include stdio.h for use of sscanf
16475 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16478 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16479 independent of xforms.
16481 2001-04-02 Juergen Vigna <jug@sad.it>
16483 * spellchecker.C: fixed namespace placing!
16485 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16487 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16488 the LyXParagraph * is 0.
16490 2001-03-29 Juergen Vigna <jug@sad.it>
16492 * vspace.C: added support for %, c%, p%, l%.
16493 (stringFromUnit): added helper function.
16494 (asLatexString): changed to give right results for the %-values.
16496 * buffer.C: convert the widthp in a width%.
16498 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16500 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16503 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16504 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16506 * lyx_cb.[Ch]: see above.
16508 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16512 * lyx.[Ch]: replaced by figure_form.[Ch].
16516 * lyxfunc.C: changed headers associated with above changes.
16518 2001-03-27 Juergen Vigna <jug@sad.it>
16520 * BufferView_pimpl.C: set the temporary cursor right!
16522 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16524 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16526 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16528 * LString.h: removed "using std::getline"!
16530 * BufferView_pimpl.C (Dispatch): changes due to changes in
16531 InsetInclude::Params.
16533 * buffer.C (tag_name): removed redundant break statements as they were
16534 producing lots of warnings with my compiler.
16536 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16538 * LString.h: add "using std::getline" when using the real <string>.
16540 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16542 * buffer.C: removed bitset usage.
16543 PAR_TAG moved to an anonymous name space.
16544 (tag_name): new funtion, also in the anonymous namespace.
16545 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16546 (makeDocBookFile): clean code. Completed transition from string arrays
16548 (SimpleDocBookOnePar): code clean.
16550 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16552 * tabular.C: add some comments.
16554 2001-03-22 Juergen Vigna <jug@sad.it>
16556 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16557 compatibility read a bit and fixed bug with minipage in different
16560 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16562 * buffer.C (pop_tag): removed.
16563 (push_tag): removed.
16564 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16565 array replaced with vector. Added support for CDATA sections.
16566 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16568 (makeDocBookFile): XML conformant declaration of CDATA section,
16569 fixed bug related to <emphasis> in the first paragraph char.
16570 (sgmlOpenTag): exclude empty tags.
16571 (sgmlCloseTag): ditto.
16573 * buffer.h (pop_tag): removed.
16574 (push_tag): removed.
16576 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16578 * language.h (Languages): added size_type and size().
16580 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16582 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16583 response on compability reading of minipages. One probliem is that
16584 the old usage of minipages was «flertydig»
16586 * several files here and in subdirs: don't use static at file
16587 scope use anon namespaces instead.
16589 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16591 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16592 LaTeX output. This is necessary for Literate document
16595 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16597 * buffer.C: insert hfill when needed.
16599 * tabular.C (l_getline): use string::erase, small whitespace change.
16601 * BufferView_pimpl.C: try the anon namespace.
16602 * WorkArea.C: ditto
16604 2001-03-16 Juergen Vigna <jug@sad.it>
16606 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16607 otherwise it won't open options-dialogs.
16609 * buffer.C: honor pextraWidth(p) on converting minipages.
16611 * tabular.C (l_getline): changed the functions to strip trailing \r.
16613 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16615 * BufferView_pimpl.C:
16616 * minibuffer..C: added "using SigC::slot" declaration.
16618 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16620 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16626 * paragraph.C: ditto
16628 * lyxtext.h: NO_PEXTRA
16630 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16632 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16633 * ParameterStruct.h: ditto
16634 * ParagraphParameters.h: ditto
16635 * lyxparagraph.h: ditto
16637 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16639 * buffer.C: add compability for minipage alignment.
16640 (latexParagraphs): remove unwanted pextra check.
16642 * several files: remove CXX_WORKING_NAMESPACES
16644 * buffer.C (pop_tag): tie is in namespace boost
16646 * BufferView.h: noncopyable is in namespace boost
16648 * lyx_main.h: ditto
16651 * lastfiles.h: ditto
16652 * bufferlist.h: ditto
16653 * ShareContainer.h: ditto
16655 * LyXAction.h: ditto
16658 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16660 * Merging changes from BRANCH_MVC back into HEAD.
16662 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16664 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16666 * BufferView_pimpl.C: change from intl.C
16670 * Makefile.am: move combox.*
16676 * intl.C: remove dialog (covered by prefs)
16678 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16680 * lyxfunc.C (Dispatch): removed redundant break statement.
16682 2001-03-14 Juergen Vigna <jug@sad.it>
16684 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16686 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16688 * buffer.C: add hack to fix compability reading of minipages.
16690 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16692 * buffer.C (getLists): Cleanup.
16694 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16696 * lyxfont.C (update): don't honor toggleall on font size.
16698 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16702 * Makefile.am: moved to frontends/xforms/
16706 * BufferView_pimpl.C: changes for moved mathpanel
16708 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16710 * gettext.h: fix gettext_init() in --disable-nls
16712 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16714 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16716 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16719 * lyx.h: strip external form
16721 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16723 * BufferView_pimpl.C: add comment, destroySplash()
16725 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16727 * BufferView_pimpl.C:
16731 * lyxfunc.C: use re-worked insetinclude
16733 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16735 * buffer.C: add using std::stringstream.
16737 * lyx_cb.C: readd using std::ios.
16739 * buffer.C: add using std::map.
16741 * BufferView_pimpl.C: add using std::vector.
16743 * ShareContainer.h: add std:: to swap.
16745 * buffer.h: add some typedefs
16746 * buffer.C (getLists): use them
16747 (getLists): renamed from getTocList.
16748 add a counter for the different float types and use it in the
16750 (getLists): use the same counter for the NEW_INSETS and the "non"
16753 * lyx_cb.h: remove unused items, includes, using etc.
16755 * ShareContainer.h: remove some commented code, add more comments
16756 and "documentation".
16758 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16760 * buffer.C (getTocList): make the list also when NEW_INSETS is
16763 * buffer.h: remove TocType
16765 * buffer.C (getTocList): change to return a map<string,
16766 vector<TocItem> >, implement for dynamic number of list.
16768 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16769 * text2.C (PasteSelection): adjust
16770 * CutAndPaste.C (pasteSelection): adjust
16772 * FloatList.C (FloatList): update from the new_insets branch.
16773 * Floating.[Ch]: ditto
16774 * LaTeXFeatures.C: ditto
16776 * lyxlex_pimpl.C: ditto
16778 * paragraph.C (Last): remove when NEW_INSETS is defined.
16780 * other file: changes because of the above.
16782 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16784 * lyxparagraph.h: rename next to next_, previous to previous_,
16785 make them private for NEW_INSETS. Rename Next() to next(),
16786 Previous() to previous().
16788 * other files: changes because of the above.
16790 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16793 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16796 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16798 * main.C (main): pass lyx_localedir to gettext_init().
16800 * gettext.h: remove locale_init and gettext_init macros
16802 * gettext.C (locale_init): new function
16803 (gettext_init): new function
16805 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16808 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16810 * Moved credits to frontends:
16811 * credits.[Ch]: removed
16812 * credits_form.[Ch]: removed
16813 * lyx_gui_misc.C: remove credits stuff
16816 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16818 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16820 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16821 unneeded destructor.
16823 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16824 a standalone pointer again.
16826 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16828 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16834 * ToolbarDefaults.C:
16843 * BufferView_pimpl.C: use new file dialog in GUII
16846 * lyx_cb.C: remove LayoutsCB to Toolbar
16848 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16850 * ShareContainer.h (get): add std:: qualifier
16852 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16854 * ShareContainer.h: define a proper ShareContainer::value_type
16855 type (and use typename to please compaq cxx)
16857 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16859 * lyxparagraph.h: move serveral local vars to
16860 ParameterStruct/ParagraphParameters., use ShareContainer in
16861 FontTable., make vars in FontTable private and add getter and
16864 * paragraph.C: changes because of the above.
16866 * lyxfont.h: remove copy constructor and copy assignment. (the
16867 default ones is ok), move number inside FontBits. move inlines to
16870 * lyxfont.C: add number to initializaton of statics, move several
16871 inlines here. constify several local vars. some whitespace
16872 cleanup. Dont hide outerscope variables.
16874 * Spacing.h: add two new constructors to match the set methods.
16876 * ShareContainer.h: new file, will perhaps be moved to support
16878 * ParameterStruct.h: new file
16880 * ParagraphParameters.h: new file
16882 * ParagraphParameters.C: new file
16884 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16885 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16887 * BufferView_pimpl.C: ParagraphParameter changes.
16888 * buffer.C: Likewise.
16889 * bufferview_funcs.C: Likewise.
16890 * text.C: Likewise.
16891 * text2.C: Likewise.
16893 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16895 * lyxfind.C (LyXReplace): do not redefine default argument in
16897 (IsStringInText): ditto
16898 (SearchForward): ditto
16899 (SearchBackward): ditto
16901 2001-03-06 Juergen Vigna <jug@sad.it>
16903 * lyxfind.C (IsStringInText): put parentes around expressions.
16905 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16907 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16909 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16911 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16913 * stl_string_fwd.h: add comment
16915 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16918 * tabular.C: remove unused DocBook methods
16924 killed DO_USE_DEFAULT_LANGUAGE
16926 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16928 * lyx_gui.C: do not include language.h.
16930 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16931 arguments in function implementation.
16933 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16935 * BufferView_pimpl.C: add <ctime>
16937 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16939 * BufferView_pimpl.C: add using std::find_if
16941 2001-02-27 José Matos <jamatos@fep.up.pt>
16943 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16946 2001-02-11 José Matos <jamatos@fep.up.pt>
16948 * buffer.C (makeDocBookFile): command styles now have a parameter as
16949 "title" by default.
16951 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16953 * layout_forms.[Ch]: removed
16954 * lyx_cb.[Ch]: out character
16955 * lyx_gui.C: out character
16956 * lyx_gui_misc.C: out character
16957 * bufferview_funcs.C: : out character,
16958 added toggleall as parameter in ToggleAndShow
16960 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16962 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16964 * text2.C (SetCurrentFont): Disable number property at boundary.
16966 2001-02-26 Juergen Vigna <jug@sad.it>
16968 * lyxfunc.C (getStatus): added a string argument override function so
16969 that this is correctly called from LyXFunc::Dispatch if it contains a
16970 do_not_use_argument which is used!
16971 (Dispatch): added check for "custom" export and call appropriate func.
16973 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16975 * lyxrc.C: Add language_command_local, language_use_babel and
16976 language_global_options.
16978 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16980 * buffer.C (makeLaTeXFile): Use language_use_babel and
16981 language_global_options.
16983 2001-02-23 Juergen Vigna <jug@sad.it>
16985 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16986 which works with LyXText and putted it inside BufferView. Here now we
16987 only call for that part the BufferView::Dispatch() function.
16989 * BufferView.C (Dispatch): added.
16991 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16992 functions which needs to use a LyXText over from LyXFunc.
16993 (MenuInsertLyXFile): added
16994 (getInsetByCode): added
16995 (moveCursorUpdate): added
16996 (static TEXT): added
16998 2001-02-22 Juergen Vigna <jug@sad.it>
17000 * BufferView_pimpl.C (update): call a status update to see if LyXText
17003 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17005 * vc-backend.C (revert): implement for CVS
17006 (getLog): implement for CVS
17008 2001-02-20 Juergen Vigna <jug@sad.it>
17010 * text2.C (ClearSelection): added BufferView param for inset_owner call
17012 * lyxfunc.C (TEXT): added this function and use it instead of
17013 directly owner->view()-text of getLyXText().
17015 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17017 * src/layout_forms.C: out preamble
17018 * src/layout_forms.h: out preamble
17019 * src/lyx_cb.C: out preamble
17020 * src/lyx_cb.h: out preamble
17021 * src/lyx_gui.C: out preamble
17022 * src/lyx_gui_misc.C: out preamble
17023 * src/lyxfunc.C: connect with guii preamble
17025 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17027 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17029 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17031 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17032 whether to run bibtex.
17034 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17036 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17038 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17040 * Makefile.am (lyx_SOURCES): removed bibforms.h
17042 * vspace.h: doxygen
17044 * text.C (GetVisibleRow): make several local vars const
17046 * tabular.C: small cleanup.
17048 * lyxserver.C (callback): use compare instead of strncmp
17050 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17051 inlines to after class or to paragraph.C
17053 * lyxfont.h: remove friend operator!=
17055 * converter.h: move friend bool operator< to non friend and after
17058 * combox.h: small cleanup
17060 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17061 to inlines after class def.
17063 * buffer.C (pop_tag): use string operations instead of strcmp
17065 * bmtable.c: doxygen, small cleanup
17067 * LaTeX.h: remove friend operator==
17069 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17081 * BufferView_pimpl.C:
17082 * BufferView.[Ch]: remove cruft
17084 2001-02-14 Juergen Vigna <jug@sad.it>
17086 * lyxfunc.C: removed #if 0 unused code
17088 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17090 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17092 * text2.C (SetSelection): added a BufferView * parameter
17094 2001-02-13 Juergen Vigna <jug@sad.it>
17096 * lyxfunc.C (Dispatch): fixed protected blank problem.
17097 * BufferView2.C (protectedBlank): added LyxText * parameter.
17099 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17100 (AppendColumn): same as above for column_info.
17102 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17103 (moveCursorUpdate): use a LyXText param for support of InsetText.
17105 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17106 (tripleClick): ditto
17108 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17110 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17112 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17114 * text2.C (SetSelection): set correct update status if inset_owner
17115 (ToggleFree): ditto
17117 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17119 * tabular.C: remove some commented code.
17121 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17123 * BufferView_pimpl.C: call hideSplash()
17125 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17128 * bibforms.h: remove
17131 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17132 add LFUN_CHILD_CREATE
17134 * counters.h: fix tiny typo
17139 * lyx.C: move splash to frontends/xforms/
17141 * lyx_gui_misc.C: move Include and Bibform to frontends
17143 * lyxvc.h: clarify comment
17145 * vspace.C: tiny housekeeping
17147 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17149 * text.C (PrepareToPrint): RTL Fix.
17151 * paragraph.C (GetUChar): New method.
17152 (String): Use GetUChar.
17154 * buffer.C (asciiParagraph): Use GetUChar.
17156 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17158 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17160 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17163 * buffer.C: rename to getLogName(), handle
17164 build log / latex log nicely
17166 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17169 * MenuBackend.h: remove support for reference menuitem type.
17171 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17173 * BufferView_pimpl.C: housekeeping
17174 * BufferView_pimpl.h:
17179 * minibuffer.h: move Timeout GUI-I
17181 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17183 * lyxrc.C (read): Update converters data-structures.
17185 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17187 * LaTeX.h (operator!=): add operator != for Aux_Info
17189 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17191 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17193 * LaTeXLog.C: deleted, useful code moved to Buffer
17196 * buffer.C: new function getLatexLogName()
17202 * lyxfunc.C: use frontends for LaTeX and VC logs
17204 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17206 * LaTeX.h: yet another std:: that Allan forgot.
17208 * Variables.C (set): renamed from isset(), because this clashes
17209 with some HP-UX macros (grr).
17211 2001-02-06 Allan Rae <rae@lyx.org>
17213 * LaTeX.h: Another bug fix. Missing std:: this time.
17215 2001-02-04 Allan Rae <rae@lyx.org>
17217 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17218 floats problem. I've left it commented out because it's not quite
17219 correct. It should also test that the current object is a table or
17220 figure inset. But I haven't gotten around to figuring out how to do
17221 that. I *think* it'll be something like: "table" == inset.type()
17223 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17226 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17228 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17229 all the citation/databases/styles in the auxilary file.
17230 (run): Rerun latex if there was a babel language error.
17232 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17234 * text.C (Backspace): Preserve the font when changing newline char
17236 (BreakParagraph): If the cursor is before a space, delete the space.
17238 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17240 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17242 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17243 new argument (code).
17244 (ChangeCitationsIfUnique): New method.
17246 * paragraph.C (GetPositionOfInset): Handle bibkey.
17248 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17250 * BufferView_pimpl.h: change type of Position::par_pos to
17251 LyXParagraph::size_type.
17253 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17255 * BufferView_pimpl.C (savePosition, restorePosition): Write
17256 messages to minibuffer.
17258 2001-01-28 José Matos <jamatos@fep.up.pt>
17260 * buffer.C (makeDocBookFile): adds support for document language.
17261 A silly restriction on the name of LatexCommand types where removed.
17262 Added support for CDATA sections, allows to chars unescaped, used
17263 among others in code, to avoid escape < and >.
17265 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17267 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17268 saved positions instrad of a stack. Furthermore, a position is
17269 stored using paragraph id/paragraph position.
17271 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17272 Remove LFUN_REF_BACK.
17274 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17276 * converter.C (dvipdfm_options): New method.
17278 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17280 * vspace.C (isValidLength): Fix for empty input string.
17282 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17284 * LyXAction.C (init): change description of LFUN_FIGURE to
17287 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17289 * LaTeX.C: add using directive
17291 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17293 * MenuBackend.C (expand): Fix the sorting of the formats.
17295 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17297 * lyx_main.C: tiny error message fix
17299 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17301 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17302 calling fl_initialize(). This fixes the problem with ',' as
17303 decimal separator in text files.
17305 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17307 * trans.C (process): Fix the keymap bug.
17309 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17311 * LaTeX.C (scanAuxFiles): New method. Provides support for
17312 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17313 (scanLogFile) Scan for "run BibTeX" messages.
17315 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17316 OT1 font encoding. Also, load the aecompl package if the ae
17319 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17321 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17323 * texrow.C (increasePos): turn two error messages into debug
17326 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17328 * LaTeX.C (scanAux): Handle the \@input macro.
17329 (runBibTeX): Use scanAux().
17331 * language.C (latex_options_): New field.
17333 * LaTeXFeatures.C (getMacros): Add language macros.
17335 * buffer.C (makeLaTeXFile): Small fix.
17337 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17339 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17341 * text2.C: add a using directive.
17343 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17348 * lyxfunc.C: kill LyXBell.
17350 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17352 * text.C (IsBoundary): Remove the error message
17354 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17356 * lyxrc.C (setDefaults): Correct initialization value for
17359 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17361 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17364 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17365 and GotoNextNote().
17367 * src/LyXAction.C: Added reference-next.
17369 * text.C (InsertChar): Use contains instead of strchr.
17371 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17373 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17375 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17376 alignment commands (when needed).
17378 * text.C (InsertChar): Add ':' to number separator chars.