2 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
4 * text2.C (cursorUp): get rid of a crash
5 * text.C (x2pos): add an assert
7 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9 * lyxfunc.C (getStatus): fix warning when assertions are disabled
13 * dociterator.C: include <boost/current_function.hpp>, which is
14 needed when assertions are disabled.
16 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
18 * text2.C: fix for stuck cursor when traversing two
19 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
21 2005-02-25 Andreas Vox <avox@arcor.de>
23 * output_docbook.C (makeParagraph): suppress trailing newline
24 after a run of paragraphs
26 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
28 * paragraph.C: fix for confused change tracker when pasting
29 text that begins with a lineseparator. [bug 1827]
30 (setChange(0, Change::INSERTED);)
32 * paragraph_funcs.C: fix for lost changes on triple-paste
33 in change tracking mode [bug 1827] (par.setChange()).
35 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * text2.C (updateCounters, setCounter, expandLabel): move to
40 * buffer_funcs.C (updateCounters): turn into a free standing
41 function and add a buffer parameter. Remove dead code for tracking
43 (setCounter): change into a free-standing function which gets a
44 dociterator as argument. Use this iterator to fix captions in a
45 simple way. When no float is found above the caption, use the
46 labelstring of the caption layout as default.
48 * text.C (breakParagraph, backspace):
49 * text2.C (init, setLayout, changeDepth):
51 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
54 * dociterator.C (forwardPar): make it much faster by calling
55 forwardPos() only when really necessary.
57 * output_docbook.C (makeCommand): adapt to expandLabel move.
59 * cursor.C: remove unused variable
61 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
63 * paragraph_funcs.C: fix crash when pasting insets in change
64 tracking mode [bug 1277] (honour change type in moveItem).
66 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
68 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
70 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * BufferView.C (setCursor): change to use a DocIterator.
73 (gotoLabel): use BufferView::setCursor (other part of bug 781).
74 (putSelectionAt): adapt to BufferView::setCursor change.
76 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
77 moved here from LyXText and rewritten to use proper cursor
78 methods. Fixes bug 1787, 616 and 835.
80 * BufferView_pimpl.C (restorePosition): set the cursor correctly
81 when inside an inset (part of bug 781).
82 (dispatch): adapt to change of BufferView::setCursor.
83 (getStatus, dispatch): handle LFUN_GOTOERROR,
84 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
86 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
87 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
88 * text3.C (gotoNextInset, gotoInset): removed.
90 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
94 2005-02-15 Angus Leeming <leeming@lyx.org>
96 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
97 can be used meaningfully in a comparison.
99 2005-02-13 André Pönitz <poenitz@gmx.net>
101 * bufferview_funcs.C (coordOffset): improve cursor drawing
103 2005-02-13 André Pönitz <poenitz@gmx.net>
105 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
106 * Cursor.C (dispatch): use fixIfBroken
107 * lyxfunc.C (getStatus): use fixIfBroken
109 2005-02-15 Angus Leeming <leeming@lyx.org>
111 * lyx_main.C (error_handler):
113 * lyxrc.C (setDefaults):
115 #include "environment.h".
117 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
119 2005-02-15 Angus Leeming <leeming@lyx.org>
121 * lyxserver.C (startPipe): squash MSVC warning "local variable
122 'fd' used without having been initialized".
124 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
126 * BufferView_pimpl.C: revert accidental commit.
128 2005-02-14 André Pönitz <poenitz@gmx.net>
130 * dociterator.[Ch]: new member forwardPosNoDescent(),
131 which doesn't enter nested insets.
132 * text2.C (setFont): use forwardPosNoDescent() instead
133 of ForwardPos() (fixes crash on font change).
135 2005-02-13 Angus Leeming <leeming@lyx.org>
137 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
138 only if lyxrc.path_prefix is not empty.
140 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
142 * bufferparams.C (readGraphicsDriver): prevent crash
144 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
146 * text2.C (setCounter): check for inInset() == 0
148 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
151 but use update() to get correct screen display; use convert
152 instead of istringstream.
153 (getStatus): handle LFUN_GOTO_PARAGRAPH
155 * lyxfunc.C (dispatch, getStatus): do not handle
156 LFUN_GOTO_PARAGRAPH here.
158 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
160 * text3.C (dispatch): size() -> depth()
162 * text2.C: remove some debug output
164 * paragraph.C: ws changes only
166 * lyxfunc.C (getStatus): size() -> depth()
168 * dociterator.h (clear, push_back, pop_back, internalData,
169 operator[], resize, empty): new functions
170 Make StableDocIterator and operator== be friends. Don't inherit
171 from std::vector use a privat class variable slices_ instead.
174 * dociterator.C: update because of not inheriting from std::vector
175 anymore. Call explictly to slices_ instead. Use depth() instead of
176 size() and top() instead of back()
178 * cursor.C: chagne size() -> depth and back() -> top(). Also
179 remove some direct operator[](i) calls in favour of foo[i]
180 (getFont): remove some dead code
182 * bufferview_funcs.C (coordOffset): size() -> depth()
184 * buffer.C: ws changes only
186 * CutAndPaste.C (eraseSelection): back() -> top()
188 * BufferView_pimpl.C (selectionRequested): back() -> top()
190 * BufferView.C (setCursor): size() -> depth()
192 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
194 * text3.C (cursorPrevious): return true if depm changed something
196 (dispatch): rename sl to oldTopSlice, remove moving use the new
197 NoUpdate func attrib instead. Make sure that needsUpdate is set
198 for function that have NoUpdate, but where depm might have changed
201 * text2.C (cursorLeft): make us return true if depm changed
204 (cursorUpParagraph): ditto
205 (curosrDownParagraph): ditto
206 (cursorUp, cursorDown): ditto, make sure to read comments in code
207 (deleteEmptyParagraphMechanism): remove an assert, also return
208 true if just a single char was deleted.
210 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
211 cursor that we modify, to avoid modifying an active cursor before
212 we call setCursor. This allows depm to run. Also return true if
213 depm deleted something.
215 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
216 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
217 cursorDownParagraph, cursorPrevious and cursorNext, return true if
218 something was changed in the buffer because of them (ie. depm run)
220 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
221 debug messages. Make update by default be false. Make sure that
222 the result of update is retained throught several calls down to
225 * LyXAction.h: add a new func_attrib: NoUpdate
227 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
228 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
229 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
231 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
233 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
236 bv_->owner(), bv_->buffer() by direct references to the private
238 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
239 (getStatus): isSavedPosition() is in BufferView::Pimpl.
240 (fitCursor): center() is in BufferView::Pimpl.
241 (getStatus, trackChanges, dispatch): no need for a temporary buf
243 (fitCursor, workAreaDispatch): use workarea().workheight()
245 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
247 * CutAndPaste.C (pasteSelectionHelper): fix a crash
249 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
251 * buffer.C: format up to 241.
252 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
253 break if pasting into ERT
254 * lyxfunc.C (getStatus): suppress mathpanel and
255 LFUN_DIALOG_SHOW_NEW_INSET in ERT
257 2005-02-01 Angus Leeming <leeming@lyx.org>
259 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
261 2005-02-01 Angus Leeming <leeming@lyx.org>
263 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
264 calling fs::is_directory().
266 2005-01-31 Angus Leeming <leeming@lyx.org>
268 * lyx_main.C (priv_exec): specify explicitly the relative location
269 of the top level build directory when run in-place.
271 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
274 LyXText containing the cursor, not the top-level one.
276 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
278 (insertStringAsLines): rename par to pit; use temporary variable
279 par to hold a Paragraph; do not store par.layout() in a variable,
280 since the pointer may die when breaking paragraphs; pass pars to
281 breakParagraph() instead of Buffer::paragraphs().
283 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
285 * lyxlex_pimpl.h: #include <fstream>.
287 * BufferView.[Ch] (getLyXText): add a const version.
289 * BufferView_pimpl.C: add debug aids.
294 * paragraph_funcs.h: add commentary explaining what the class does.
297 * coordcache.[Ch]: add lots of commentary.
298 (startUpdating, doneUpdating): debug aids.
299 (arrays, insets, parPos, getParPos): accessors to private data.
301 * cursor_slice.[Ch] (text): add a const version.
302 * dociterator.[Ch] (text, innerText): add const versions.
304 * lyxtext.h (breakParagraph): change the keep_layout arg to a
307 * paragraph.C (getRow, pos2ros): add asserts.
309 * paragraph.h: add commentary. Lots of.
311 * paragraph.[Ch] (metrucs, draw): removed.
314 * rowpainter.[Ch]: const-correct changes.
316 * text.C: various obvious clean-ups. Removal of ancient cruft.
319 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
321 * vc-backend.C (find_file): rewrite to use boost.filesystem
324 * main.C (main): set default name check for boost.filesystem to
327 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
330 (actOnUpdatedPrefs): ditto
332 * lyx_main.C (init): rewrite to use boost.filesystem
333 (queryUserLyXDir): ditto
335 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
336 (getContentsOfAsciiFile): ditto
338 * lastfiles.C (readFile): rewrite to use boost.filesystem
340 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
342 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
345 * buffer.C (Buffer): adjust for destroydir
346 (getLogName): rewrite to use boost.filesystem
348 (save): use fs::copy_file (from fs_extras)
350 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
352 * LaTeX.C (run): rewrite to use boost.filesystem
353 (scanAuxFiles): ditto
354 (handleFoundFile): ditto
356 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
358 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
360 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
362 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
364 * lyxlayout.[Ch]: change some vars from float to double
366 * buffer.C (readFile): make a local var const
368 * Several files: use convert<> instead of atoi,strToXXX and friends
370 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
372 * LaTeXFeatures.[Ch]: Add a static list packages_ that
373 holds the contents of packages.lst. New functions getAvailable
374 and isAvailable to parse and check that list, resp.
378 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
380 * bufferparams.[Ch]: new param output_changes.
382 * Buffer.C: increase file format to 240.
383 Use output_changes and isVailable.
387 * paragraph_pimpl.C: Use output_changes and isVailable.
389 2005-01-23 Angus Leeming <leeming@lyx.org>
391 * output_latex.C: #include "insetbibitem.h", rather than
392 forward declare function bibitemWidest.
394 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
396 * lyx_main.C (init): make it compile on the Mac.
398 2005-01-20 Angus Leeming <leeming@lyx.org>
400 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
401 (setLyXMisc): (char string literal) != (char string literal) is
402 performing a comparison on the addresses. Convert one operand
403 explicitly to string to guarantee expected behaviour.
406 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
409 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
411 * output_plaintext.C: remove unneeded #include gzstream.h.
413 2005-01-20 Angus Leeming <leeming@lyx.org>
415 * SpellBase.h: rename some of the elements of the Result enum.
422 * pspell.C (check): ditto
424 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
426 * buffer.C: add #include <fstream>.
428 * lyx_main.C (init): Compile fix.
430 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
432 2005-01-20 Angus Leeming <leeming@lyx.org>
434 * mover.h: change commentary to reflect the changed meaning of
437 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
439 * output_linuxdoc.C (linuxdocParagraphs): silence warning
441 * lyxfind.C (MatchString::operator()): remove bogus semicolon
443 2005-01-20 Angus Leeming <leeming@lyx.org>
445 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
446 printing diagnostic data by not dereferecing an iterator past the
449 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
451 * buffer.C (readHeader): use "&&" rather than "and".
453 * lyxserver.h (inPipeName, outPipeName): make these const.
455 2005-01-19 Angus Leeming <leeming@lyx.org>
457 * lyx_main.C (error_handler, init): protect SIGHUP with
458 #ifdef SIGHUP guards.
460 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
462 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
464 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
466 * text.C (setHeightOfRow): add a margin at the top and bottom of
467 the document (bug 1761)
469 2005-01-17 Angus Leeming <leeming@lyx.org>
471 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
472 with "python ". Workaround for a brain-dead Windows.
474 2005-01-16 Angus Leeming <leeming@lyx.org>
476 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
477 for MacOSX and Windows to use prependEnvPath.
478 Strip out the hard-coded block to add elements to the PATH for
479 MacOSX and replace it with a call to prependEnvPath using the
480 contents of LyXRC::path_prefix.
481 (queryUserLyXDir): strip out the code to run reconfigure, instead
482 returning a boolean indicating the necessity to do so.
483 (reconfigureUserLyXDir): contains the code to reconfigure the
484 user support directory. Is now called after the various LyXRC data
485 files have been read.
487 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
489 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
491 * converter.[Ch] (convert): take a new parameter try_default. Use
492 a default converter (imagemagick) if try_default is true.
494 2005-01-13 Angus Leeming <leeming@lyx.org>
496 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
498 (write): output LyXRC::cygwin_path_fix as necessary.
500 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
503 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
505 2005-01-12 Angus Leeming <leeming@lyx.org>
507 * lyx_main.C (init): set the PATH variable to include the
508 directory containing the LyX binary when running on Mac or Windows.
510 2005-01-12 Angus Leeming <leeming@lyx.org>
512 * lyx_main.C (init): remove cruft that purports to set the locale
513 dir. It doesn't and is not needed anyway.
515 2005-01-10 Angus Leeming <leeming@lyx.org>
517 * Makefile.am: remove the lyx_main.C special casing.
519 * BufferView_pimpl.C:
525 * messages.C: use support/package.h to provide the paths to the
526 various directories used by LyX.
528 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
530 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
531 layout if pasting into an empty paragraph)
533 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
535 * tex-accent.C: add <string>
537 2005-01-06 José Matos <jamatos@lyx.org>
539 * ParagraphParameters.C (write): put every parameter in its own line.
540 * paragraph.C (write): reduce number of consecutive empty lines exported.
541 * buffer.C (LYX_FORMAT): increase file format to 239.
543 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
545 * everywhere: change support/tostr.h -> support/convert.h
547 * tabular.C: make all write_attributes templates, tostr -> convert
549 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
550 (emptyTag): and -> &&, and fix type for ret from getChar
551 (getFirstWord): fix type for ret from getChar
552 (onlyText): and -> &&
553 (simpleDocBookOnePar): and not -> && !, fix type for ret from
556 * toc.C (goTo, action):
557 * text3.C (dispatch):
558 * text.C (currentState):
559 * tex-accent.C (DoAccent):
562 * lyxfunc.C (menuNew):
563 * lyxfinc.C (replace):
564 * counters.C (laberItem):
565 * bufferview_funcs.C (font2string):
566 * bufferparams.C (writeFile):
567 * buffer.C (readFile):
569 * MenuBackend.C: tostr -> convert
571 * LaTeX.C (runMessage): fix format
572 (scanAuxFiles): tostr -> convert
574 * BufferView_pimpl.C (savePosition): fix format
575 (restorePosition): ditto
578 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
580 * Spacing.[Ch]: New method getValueAsString().
584 * ParagraphParameters.C:
587 * text3.C: store/read spacing value as string.
589 * rowpainter.C: change float value (spacing_val) to double.
591 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
592 broken custom document spacing).
594 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
596 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
597 namespace, also more use of temp references and const
599 * cursor.[Ch] (getStatus): move to lyxfunc.C
601 * bufferparams.C: reformat slightly
603 * bufferview_funcs.C (font2string): constify arg
609 * buffer_funcs.C: (many funcs): constify arg on function
610 definitions, also make more local vars const, also add ASSERTS on
613 * buffer.C (LYX_FORMAT): put const in correct place
614 (many funcs): constify arg on function definitions, also make
615 more local vars const
617 * aspell_local.h: remove "struct" from typdef setup
619 * aspell.C (check): make word_ok const
620 (nextMiss): simplify slightly
623 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
625 * lyxrc.[Ch]: store all float values as strings.
626 use int (not float) for lyxrc.dpi.
628 2005-01-04 Angus Leeming <leeming@lyx.org>
630 * lyx_cb.C (Reconfigure):
631 * lyx_main.C (queryUserLyXDir):
632 to run the <system_lyxdir>/configure correctly on Windows, prefix
633 the path to the script with "sh " when generating the string that
634 is passed to system().
636 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
638 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
640 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 * lyxlength.C (asLatexString): get rid of setprecision
644 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * text2.C (setLayout): remove unused variable endpit.
647 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
649 * paragraph.C (onlyText): remove unused variable style.
651 * cursor.C (bruteFind): remove unused variables beg and end.
653 * Makefile.am (dist_noinset_DATA): not needed anymore
655 * cheaders/*: remove.
657 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
659 * text3.C: fix LFUN_MATH_MODE.
661 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * buffer_funcs.C (countWords): new function. Counts words between
666 * BufferView_pimpl.C (getStatus, dispatch): handle
669 * LyXAction.C (init):
670 * lfuns.h: add LFUN_WORDS_COUNT.
672 2004-12-19 Angus Leeming <leeming@lyx.org>
674 * buffer.C (save): s/slashify_path/internal_path/.
676 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
678 * lyxfind.C (findChange): do not search for end of pars, because
679 the change tracker cannot handle this (fixes bug 1719).
681 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
683 * paragraph.[Ch] (autoBreakRows): remove
685 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
687 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
688 avoid using the paragraph one
690 * text2.C (LyXText, insertStringAsLines): adjust
692 2004-12-16 Angus Leeming <leeming@lyx.org>
696 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
698 2004-12-14 Angus Leeming <leeming@lyx.org>
700 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
702 * bufferlist.C (emergencyWrite):
703 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
706 2004-12-14 Angus Leeming <leeming@lyx.org>
708 * main.C: (main): no longer pass pointers to os::init.
710 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
712 * undo.C (textUndoOrRedo): simplify logic, fix a crash
713 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
715 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
718 * text3.C: remove selection_possible global flag
720 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
722 * text2.C (getSelectionSpan): remove
723 (changeDepth, changeDepthAllowed): adjust
725 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
727 * Makefile.am (BOOST_LIBS): use boost variables
729 2004-12-03 José Matos <jamatos@lyx.org>
731 * buffer.C: format up to 238.
733 2004-12-03 José Matos <jamatos@lyx.org>
735 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
737 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
739 * cursor.C (goUpDown): remove call to idxUpDown2
741 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
743 * tabular.[Ch]: use size_t-like types for cell, row and column
746 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * lyxfunc.C (getStatus): do not lose previous information when
749 calling BufferView::getStatus; do not set a default "Command
750 disabled" message at the beginning, but just before returning.
752 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
754 * cursor.h (getStatus): add better comment from src/cursor.C
756 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
758 * text3.C (getStatus): return false when the lfun is not handled
760 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
762 * broken_headers.h: remove
764 * Makefile.am (lyx_SOURCES): remove broken_headers.h
766 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
768 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
771 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
772 top_y_, merge fitcursor with update
773 (updateScrollbar, scrollDocView, fitCursor, center, update): new
776 (workAreaDispatch): adapt to new coord scheme
777 (redoCurrentBuffer): remove
779 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
781 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
784 * coordcache.[Ch]: add paragraph cache and helpers
786 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
789 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
790 (targetX, setTargetX): introduce
792 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
793 baseline -> ascent, as the rest of lyx
795 * lyxtext.h: remove redoParagraphs, updateParPositions,
796 fullRebreak, redoParagraphInternal. move dist to anon namespace in
797 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
798 have ascent/descent (ascent is ascent of first par)
800 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
803 * paragraph.[Ch]: unify dimension handling with the rest of lyx
805 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
807 * pariterator.C: fix infinite loop introduced in par->pit renaming
809 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
810 in insets and LyXText, draw two off-screen paragraphs using
811 NullPainter, and adapt to new coord scheme
815 * text3.C: adapt lfun handlers to the new coord scheme, which
816 means: there's only guaranteed coord information for onscreen pars
817 plus one above and one below. This implies that one can do search
818 from y coordinates in the range [-1,workHeight]
820 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
822 * rename a lot of InsetOld to InsetBase
824 2004-11-25 Angus Leeming <leeming@lyx.org>
826 * BufferView_pimpl.C:
828 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
830 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
832 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
833 call BufferView::getStatus if LCursor::getStatus did nothing
834 (setStatusMessage, getStatusMessage): removed.
836 * FuncStatus.C (message): new methods. Used to provide an error
837 message indicating why a command is disabled.
838 (clear, |=, FuncStatus): update for message.
840 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
842 * lyxfunc.C (dispatch): always call sendDispatchMessage
844 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
847 * BufferView_pimpl.C:
861 * undo.C: par->pit renaming
863 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
865 * tabular.C (cellstruct): use initialization, store a shared_ptr
866 to insettext instead of the insettext directly, adjust to fit.
867 (operator=): new function
869 (rowstruct): use initialization
870 (columnstruct): use initialization
871 (ltType): use initialization
874 * lyxlength.h (swap): new function
876 * LColor.[Ch] (operator=): use the common semantics
878 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
880 * lyxfind.C (findNextChange): update the bufferview after setting
883 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
885 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
886 number of InsetOptArgs has already been inserted.
888 * output_latex.C (latexOptArgInsets): new method. This outputs all
889 the optarg insets, up to the limit defined in the layout file.
890 (optArgInset): removed
891 (TeXOnePar): call latexOptArgInsets; correctly update texrow
893 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
895 * paragraph.C (isLetter): remove special spellchecker-related
896 code; return true also for digits
897 (isWord, isKomma): remove
899 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
900 * lyxfind.C (MatchString()): use isLetter instead of isWord
902 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
904 * pariterator.h (operatir=): comment out un-implemented member
907 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
910 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
912 * lyxfont.h: include LColor.h to satisfy concept checks.
914 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
916 * pariterator.h: add typdefs for value_type, difference_type,
917 pointer and reference to satisfy concept checks. Also add default
918 constructor for same reason.
920 * pariterator.C (operator++): add post-increment operator to
921 satisfy concept checks.
923 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
926 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
928 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
929 checks. Also rename base_type to BaseType to follow naming
932 * FloatList.h: include Floating.h to satisfy concept checks.
934 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
936 * lyxfunc.C (getStatus): when the origin of the request is menu or
937 toolbar, and the LyXView does not have focus, do as if there was
940 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
941 FuncRequest to individual entries of LFUN_SEQUENCE
943 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
945 * output_latex.C (TeXOnePar): override runparams.moving_arg
946 according to the needprotect value of the current paragraph (bug
949 * paragraph.C (simpleTeXOnePar): no need to override
950 runparams.moving_args here
952 2004-11-14 John Spray <spray_john@users.sourceforge.net>
954 * vspace.C: fix off-by-one-error, related to fix #1682
956 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
958 * lengthcommon.C: a more general fix for bug 1682
960 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
962 * text.C (backspace): fix crash
964 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
966 * format.[Ch] (getFormatFromFile): new method
967 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
969 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
971 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
973 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
975 * lyxfunc.C (dispatch): remove the verbose argument
976 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
979 * kbmap.C (defkey): set the origin of func to KEYBOARD
981 * MenuBackend.C (MenuItem):
982 * ToolbarBackend.C (add): set the origin of func to UI
984 * funcrequest.[Ch]: add origin member, which indicates which part
985 of LyX requests an action
987 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
989 * converter.C (move): don't lie in the error message
990 * converter.h (isReachable, move): document
992 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
994 * buffer.C: remove unused using lyx::support::atoi
995 * paragraph_funcs.C: ditto
997 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
999 * bufferlist.C (exists): use bind and equal_to instead of
1002 * lyxtextclasslist.C (NumberOfClass): ditto
1004 * cursor.C (insert): use for_each instead of explicit for loop
1006 * bufferlist.C (getFileNames): use std::transform and
1007 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1009 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1012 * buffer.C (changeLanguage): use for_each instead of explicit for
1014 (hasParWithID): implement using getParFromID
1016 * LaTeXFeatures.C: ws change only
1018 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1021 * BufferView_pimpl.C (trackChanges): use for_each instead of
1024 2004-11-04 André Pönitz <poenitz@gmx.net>
1027 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1029 * dociterator.C (asDocIterator): use hard assert again.
1031 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1033 * lyxlength.C (asLatexString): rewrite so that it does not use
1036 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1038 * text3.C (specialChar, dispatch): make sure cursor moves to the
1039 right after inserting an inset
1041 2004-11-02 José Matos <jamatos@lyx.org>
1043 * output_docbook.C (docbook):
1044 * paragraph.C (getID):
1045 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1046 garantee that the output is always legal.
1048 * tabular.C (docbook):
1049 * outputprams.[Ch]: remove mixed contents.
1051 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1053 * text2.C (setCounter): prevent endless loop
1055 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1057 * exporter.C (copyFile): use the mover instead of support::copy()
1058 * exporter.C (Export): pass format and latex name to copyFile()
1059 * exporter.h (addExternalFile): document
1060 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1062 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1064 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1066 2004-10-30 José Matos <jamatos@lyx.org>
1068 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1069 text and no inset or font change. This allows to use CDATA
1070 sections just for the whole paragraph.
1072 2004-10-30 José Matos <jamatos@lyx.org>
1074 * paragraph.C (getFirstWord): remove unused variable.
1076 2004-10-30 José Matos <jamatos@lyx.org>
1078 * paragraph.C (getFirstWord): the content should always be escaped
1080 (simpleDocBookOnePar):
1081 * output_docbook.C (makeEnvironment): replace reference to CDATA
1084 2004-10-30 José Matos <jamatos@lyx.org>
1086 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1088 2004-10-30 José Matos <jamatos@lyx.org>
1090 * output_docbook.C (makeParagraphs):
1091 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1092 standard paragraph has only a given type of content drop the wrapper.
1094 2004-10-29 José Matos <jamatos@lyx.org>
1096 * output_docbook.C (makeEnvironment):
1098 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1100 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1102 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1103 (cleanID): sanitize any id.
1105 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1107 * buffer.C, lyxlex_pimpl.C:
1108 * lyxlex_pimpl.C (setFile):
1109 s/getExtFromContents/getFormatFromContents/
1111 2004-10-28 José Matos <jamatos@lyx.org>
1113 * output_docbook.C (makeEnvironment): move id to broadest possible
1116 * sgml.C (openTag): apply substitution of <> for all attributes.
1118 2004-10-28 José Matos <jamatos@lyx.org>
1120 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1121 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1122 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1124 * sgml.[Ch]: new version for open and closeTag for paragraph and
1125 for strings. Now they handle the ids of paragraphs.
1127 2004-10-26 Angus Leeming <leeming@lyx.org>
1129 * Makefile.am: add mover.[Ch].
1131 * converter.C (convert, move): use the new Movers to move external
1132 files to the temp directory.
1134 * lyx_main.C (init): ensure that the global system_movers data
1137 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1140 * mover.[Ch]: new files, defining a Mover as a utility to move an
1141 external file between directories and, if necessary, manipulate this
1142 file using a helper script.
1144 2004-10-25 José Matos <jamatos@lyx.org>
1146 * output_docbook.C (makeCommand): merge two if's that tested the
1149 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1151 * sgml.C (escapeString): fix warning in a better way
1153 2004-10-25 José Matos <jamatos@lyx.org>
1155 * sgml.C (escapeString): import the require boosts header file for
1156 tie, and avoid a signed unsigned comparison.
1158 2004-10-25 José Matos <jamatos@lyx.org>
1160 * sgml.h: add #include <string>
1162 2004-10-25 José Matos <jamatos@lyx.org>
1164 * sgml.[Ch] (escapeString): new function to escape all the string.
1166 2004-10-24 José Matos <jamatos@lyx.org>
1168 * paragraph.[Ch] (getFirstWord): new function to get the first
1169 word. Useful for description.
1170 (simpleDocBookOnePar): remove depth argument, add another that
1171 says where to start the paragraph.
1173 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1174 use the new functions to fix cleanly the support for descriptions.
1176 2004-10-24 José Matos <jamatos@lyx.org>
1178 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1179 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1180 * output_linuxdoc.C (linuxdocParagraphs):
1181 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1182 add buffer as argument.
1184 2004-10-24 José Matos <jamatos@lyx.org>
1186 * output_docbook.C (makeEnvironment, searchEnvironment): place
1187 CDATA inside paragraphs and fix scope for listitems.
1189 2004-10-24 José Matos <jamatos@lyx.org>
1191 * output_docbook.C: remove using statement for stack.
1193 2004-10-23 José Matos <jamatos@lyx.org>
1195 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1196 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1197 docbook. The new scheme is recursive and makes use of iterators, the
1198 same as latex export works.
1199 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1200 directly with the paragraph contents. This code was moved up to
1201 output_docbook.C (docbookParagraphs).
1202 * sgml.C (openTag, closeTag): removed unneeded newlines.
1203 (closeEnvTags) removed.
1205 2004-10-23 André Pönitz <poenitz@gmx.net>
1207 * undo.C (textUndoOrRedo):
1208 * dociterator.C (asDocIterator): work around crash
1210 * cursor.C (getStatus): replace ASSERT by more verbose error message
1211 and manual correction of the problem. Should increase stability
1212 while providing more sensible information.
1214 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1216 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1218 * bufferlist.C (previous, next): new methods
1221 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1223 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1225 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1226 entities to preamble.
1228 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1230 * messages.C (Pimpl): strip off translation context information
1232 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1234 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1235 the cursor is correct (bug 1694)
1237 2004-10-13 José Matos <jamatos@lyx.org>
1239 * output_docbook.C (docbookParagraphs): fix closing tags in the
1240 end of the document.
1242 2004-10-09 José Matos <jamatos@lyx.org>
1244 * buffer.C: format up to 237.
1245 * bufferparams.C (write): use tostr to convert booleans to strings.
1247 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1249 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1251 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1253 * LaTeX.C: implement use of babel language in xindy.
1255 2004-10-05 José Matos <jamatos@lyx.org>
1257 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1258 Add new translators to help reading and writing the lyx file.
1260 2004-10-05 José Matos <jamatos@lyx.org>
1262 * ParagraphParameters.C (read):
1263 * text.C (readParToken): replace nexToken by more appropriate lex
1266 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1268 * LaTeX.C (runMakeIndex):
1269 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1270 (usually 'makeindex') configurable.
1272 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1273 with a variable rather than with a number.
1275 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1277 * output_latex.C (TeXOnePar): make sure font setting is the first
1278 thing that gets output (and the last at the end). Should fix bug
1281 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1283 * pch.h: use proper signal include
1285 * LaTeX.h: Use preferred calling of Boost.Signal
1288 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1290 * pch.h: dont include <boost/function/function0.hpp>
1292 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1294 * paragraph_pimpl.h: remove usage of ShareContainer
1296 * paragraph_pimpl.C: remove initialization of ShareContainer.
1298 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1302 * BufferView.C (putSelectionAt): change the semantics when
1303 backwards == true: now, this just swaps cursor and anchor wrt the
1306 * BufferView.h (putSelectionAt): add some documentation
1308 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1309 make sure backwardChar is done at least once (to avoid getting
1311 (findNextChange): use putSelectionAt in the forward direction
1312 (operator()): use Paragraph::isWord
1314 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1316 * Spacing.C (set): c_str fix
1318 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1320 * lyx_cb.C (Reconfigure): quote the name of configure script in
1321 case it contains spaces
1323 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1327 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1328 (BOOST_LIBS): use top_buildir when looking for the file
1330 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1332 * pch.h: do not use include boost/format.hpp, multiple symbols
1333 will result (gcc bug)
1336 2004-08-23 José Matos <jamatos@lyx.org>
1338 * bufferparams.C (readToken): fix reading of the author field.
1340 2004-08-20 José Matos <jamatos@lyx.org>
1342 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1344 2004-08-20 José Matos <jamatos@lyx.org>
1346 * lyxlex.[Ch] (findToken): remove function.
1348 * ParagraphParameters.C (findToken):
1349 * bufferparams.C (findToken): replace call for previous function
1350 with local copy. This local function has one more argument, the
1351 read string argument.
1353 2004-08-16 José Matos <jamatos@lyx.org>
1355 * ParagraphParameters.C (write):
1356 * Spacing.C (writeFile):
1357 * bufferparams.C (writeLaTeX):
1358 * lyx_cb.C (Reconfigure):
1359 * paragraph.C (write):
1360 * tabular.C (write): remove unnecessary space at end of line.
1363 2004-08-16 José Matos <jamatos@lyx.org>
1365 * text.C (readParagraph): remove debug message.
1367 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1369 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1372 * output_plaintext.C (asciiParagraph): set depth correctly
1374 * outputparams.h: add member depth
1376 * paragraph_funcs.C (ownerPar): remove.
1378 * text2.C (setCounter): remove first_pit; comment out some
1379 non-working code that uses ownerPar
1381 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1384 2004-08-16 José Matos <jamatos@lyx.org>
1386 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1387 For the same level of importance use the same chanel to report problems.
1388 (read): add code to deal with \begin_body and \end_body.
1391 2004-08-15 José Matos <jamatos@lyx.org>
1393 * lyxlex.C (getString): fix comment, buffer::readBody is now
1394 buffer:readDocument.
1396 * tex-strings.C (string_papersize): Default -> default,
1397 Custom -> custom, for consistency with other options.
1399 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1403 * Makefile.am: support pch
1405 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1407 * text.C (readParToken): remove the static LyXFont variable and
1408 pass it as a parameter instead. This fixes a nasty bug where an
1409 inset will be inserted with a bad font in some situations
1410 (readParagraph): adapt
1412 * text2.C (setCounter): reduce number of calls to pars_[pit]
1414 * text.C (singleWidth): add an assert, fix a test
1416 * rowpainter.C (paintText): reduce number of calls to singleWidth
1418 * paragraph.C (isHfill):
1419 (isNewline): ws only
1421 2004-08-14 André Pönitz <poenitz@gmx.net>
1426 * lyxtext.h (several functions): use a Paragraph & argument
1429 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1431 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1433 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1435 * text.C (singleWidth): remove useless test
1437 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1439 * tabular.h: remove bogus comments
1441 * tabular.C (getDescentOfRow):
1442 (isPartOfMultiColumn): add assertions
1444 * lyxlength.C (inPixels): remove #warning
1446 2004-08-14 André Pönitz <poenitz@gmx.net>
1448 * paragraph.h: inline getChar()
1450 * BufferView.h: remove unused declarations
1452 2004-08-14 José Matos <jamatos@lyx.org>
1454 * Buffer.[Ch] (readDocument): new name for old readBody.
1455 * Buffer.C: new file format, new keywords: \begin_document,
1456 \begin_header, \begin_body, \end_body.
1458 * bufferparams.C (readToken): replace all calls to lex.nextToken
1459 by lex.next(). Do the same to eatLine except where really needed.
1461 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1462 line when writing to the lyx file.
1464 * output_plaintext.C (asciiParagraph): fix Bibliography style
1467 * text.C (read): fix end of file handling.
1469 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1471 * MenuBackend.C (Menu::operator[]): new method to access
1472 individual menu items
1473 (Menu::hasFunc): new method. search for an item that corresponds
1475 (MenuBackend::specialMenu): new method
1476 (MenuBackend::expand): if a special menu has been set, skip
1477 entries whose func() appears in this menu
1479 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1481 * text3.C: use Debug::DEBUG a bit more
1483 * text.C (leftMargin): try to simplify a tiny bit change var x to
1484 l_margin. Dont output the wide margins always.
1485 (rightMargin): no margin in inner texts
1487 * rowpainter.h (nestMargin): new func
1488 (changebarMargin): new func
1489 (rightMargin): new func
1491 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1495 * factory.C (createInset): modify setDrawFrame
1497 * cursor.C: use Debug::DEBUG a bit more
1499 2004-08-14 André Pönitz <poenitz@gmx.net>
1502 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1503 cache for all insets in (at least partially) visible (top-level)
1506 * BufferView_pimpl.C: reset external coord cache before every update.
1507 This means the coord cache only contains valid entries.
1509 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1512 * BufferView_pimpl.C (getInsetByCode): move function out of class
1513 and change in to a template in anon namespace. Also fix to do what
1516 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1519 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1521 (breakParagraph): rename par to par_offset and use a local
1522 reference. Add code to keep the language over a rebreak.
1523 (breakParagraphConservative): rename par to par_offset, use a
1525 (mergeParagraph): ditto
1527 (isFirstInSequence): ditto
1528 (outerFont): rename pit to par_offset
1530 * paragraph.C: ws change
1531 * paragraph.h: ditto
1535 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1537 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1540 * paragraph.C (simpleTeXOnePar): when we have a \item with
1541 optional argument, enclose the argument with curly brackets (in
1542 case it contains a closing square bracket)
1546 * text3.C (checkInsetHit): constify
1548 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1550 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1551 documents (bug 1629)
1553 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1555 Fix toggling of collapsable insets with the mouse (bug 1558)
1557 * lyxfunc.C (dispatch): adapt to LCursor changes
1559 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1560 make sure that dispatch is not invoked twice
1562 * cursor.C (needsUpdate): new method
1563 (dispatch): return void
1564 (result): new method, to access the DispatchResult of the cursor.
1566 2004-08-13 José Matos <jamatos@lyx.org>
1568 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1570 2004-08-13 André Pönitz <poenitz@gmx.net>
1572 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1574 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1577 2004-08-12 André Pönitz <poenitz@gmx.net>
1579 * text3.C: take out the 'cursor right' form insertInset and only
1580 do it in those places when it is really needed. Fixes crash on
1583 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1585 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1587 * BufferView_pimpl.C (setBuffer): initialize the current font of
1588 the underlying LyXText
1590 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1592 * kbsequence.C (print): use UI native formatting for menu
1595 * text.C (insertChar): call Paragraph::insertChar with a font
1598 * paragraph.C (insertInset, insertChar): the version that takes a
1599 LyXFont argument is now a wrapper around the other one (the
1600 opposite used to be true).
1602 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1603 argument. Font setting is done in Paragraph now.
1605 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1607 * outputparams.h: add new members intitle and lang.
1609 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1610 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1612 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1614 * text3.C (dispatch): remove special handling of button 4 and 5,
1615 it is now taken care of in the frontend code.
1617 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1619 * Spacing.h: add <string> (STLPort compile fix)
1621 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1623 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1625 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1627 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1630 * converter.C (showMessage): inherit from unary_function, make
1633 * buffer.C (writeFile): initialize retval
1635 * InsetList.h: rename private variable list to list_
1636 * InsetList.[Ch]: adjust accordingly.
1638 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1640 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1641 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1642 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1643 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1644 * ParagraphParameters.C, LaTeXFeatures.C: replace
1645 "support/std_sstream.h" with <sstream>
1647 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1649 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1650 * lyxsocket.C (LyXServerSocket): ditto
1651 (serverCallback): ditto
1653 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1655 * LaTeXFeatures.C: check release date when loading jurabib.
1657 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1659 * lyxserver.C (startPipe): call register_socket_callback
1660 (endPipe): call unregister_socket_callback
1662 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1664 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1665 (LyXServerSocket): register the callback
1666 (LyXServerSocket): unregister the callback
1667 (fd): delete function
1668 (serverCallback): improve error checking and setup the callbacks.
1669 (dataCallback): change arg to fd.
1670 (writeln): new func (copied fro the client socket) used for server
1672 (LyXDataSocket): simplify
1673 (~LyXDataSocket): close ann unregiser callback
1674 (server): delete function
1675 (fd): delete function
1676 (readln): small changes, improve some std::string usage
1677 (writeln): constify a bit
1679 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1681 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1684 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1686 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1687 after it has been populated
1689 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1691 * text2.C (insertInset): move cursor when inserting inset.
1693 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1695 * kbmap.C (findbindings): a couple of new methods. returns a
1696 container of kb_sequence objects. The real work is done by the
1697 private recursive version
1698 (printbindings): uses findbindings to print out a bracketed list
1699 of bindings (renamed from findbinding).
1701 * MenuBackend.C (binding): use kb_keymap::findbindings
1703 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1705 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1707 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1709 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1711 * paragraph.C (isWord): return true on insets that report
1714 * text.C (getWord): use Paragraph::isWord to decide what is in a
1715 word and what is not; fix bug 1609.
1717 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1719 * tex-strings.C: add "none" to string_paperpackages[], fixes
1720 off-by-one-error in the paperpackage selection.
1723 * tex-strings.[Ch]: char const * string[n]
1724 -> char const * const string[]
1726 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1728 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1729 command, return early.
1731 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1733 * debug.h: add DEBUG to enum and fix size of ANY.
1735 * debug.C: add support for Debug::DEBUG
1736 (showTags): cast errorTags.level to unsigned int
1738 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1739 (redoCurrentBuffer): ditto
1740 (updateScrollbar): ditto
1741 * cursor.C (dispatch): ditto
1742 * text2.C (setLayout): ditto
1744 (updateCounters): ditto
1746 (deleteEmptyParagraphMechanism): ditto
1748 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1750 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1751 annotations to cleanup the Makefile slightly.
1753 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1755 * lyxrc.C: do not set user_email to a default value but use empty
1756 instead. The entry used to be translated, which does not work
1757 since at the point where lyxrc is constructed there is no
1758 translation service available
1760 * messages.C (getLocaleDir): remove and use directly
1761 lyx_localedir() instead
1763 2004-06-02 Angus Leeming <leeming@lyx.org>
1765 Fix crash caused by dereferencing null pointer 'exportdata' in
1766 OutputParams by creating a new ExportData variable on the heap,
1767 storing it in a boost::shared_ptr.
1768 The crash was triggered when generating an Instant Preview
1769 of an external inset.
1771 * Makefile.am: add outputparams.C
1773 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1774 (c-tor): allocate memory to it.
1776 * exporter.C (c-tor): associated changes.
1778 2004-06-01 Angus Leeming <leeming@lyx.org>
1780 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1781 contains data before calling isInset(0). (Bug 1513.)
1783 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1785 * exporter.C (checkOverwrite): new method
1786 * exporter.C (copyFile): new method
1787 * exporter.C (Export): copy referenced files to the document dir
1788 * exporter.[Ch]: new class ExportedFile
1789 * exporter.[Ch]: new class ExportData. Contains currently the
1790 names of referenced external files
1791 * outputparams.h: add exportdata member.
1793 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1795 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1798 2004-05-19 Angus Leeming <leeming@lyx.org>
1803 * lyxfunc.C: small changes due to the introduction of namespace
1804 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1806 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1808 * text3.C (dispatch): supress update when only moving the cursor
1809 * cursor.C (selHandle): remove commented code
1811 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1813 * paragraph.C (startTeXParParams): correct column count
1814 * CutAndPaste.C (pasteSelection): remove const_cast
1815 * output_docbook.C (docbookParagraphs): remove const_cast
1816 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1817 const_cast and return ParagraphList::const_iterator
1818 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1819 * output_plaintext.C (writeFileAscii): remove const_cast
1820 * paragraph.[Ch] (simpleTeXOnePar): make const
1821 * paragraph_funcs.C (outerPar): use const iterators
1822 * paragraph_pimpl.C (validate): use const iterators
1823 * text.C (setHeightOfRow): use const iterators
1825 2004-05-17 Angus Leeming <leeming@lyx.org>
1828 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1830 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1831 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1832 if the citation engine has changed.
1834 2004-05-14 José Matos <jamatos@lyx.org>
1836 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1837 if the textclass does not provide it. Have it different for sgml and
1839 support the language of document.
1840 * output_docbook.C (docbookParagraphs):
1841 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1842 first anchor as the id of the paragraph, remove special case code.
1843 * sgml.C (escapeChar): escape only < & >.
1845 2004-05-14 Angus Leeming <leeming@lyx.org>
1847 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1848 dependencies on src/frontends/controllers/biblio.h. Define a
1849 CiteEngine_enum wrapper class to enable the enum to be forward
1852 2004-05-12 Angus Leeming <leeming@lyx.org>
1854 * buffer.C: up LYX_FORMAT to 234.
1855 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1856 use_numerical_citations with a single biblio::CiteEngine cite_engine
1858 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1860 2004-05-13 José Matos <jamatos@lyx.org>
1863 * converter.C (Converter, readFlags): add xml member.
1864 * outputparams.h: add XML flavor.
1865 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1867 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1869 * lyxfunc.C (dispatch):
1870 (getStatus): fix handling of LFUN_SEQUENCE
1872 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1874 * debug.C (showLevel): do not forget the end-of-line marker
1876 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1878 * kbmap.C (read): do not stop parsing a bind file when an error
1881 2004-04-29 Angus Leeming <leeming@lyx.org>
1886 * text2.C: wrap a bunch of #warning statements
1887 inside #ifdef WITH_WARNINGS blocks.
1889 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1891 * buffer.C: increment format to 233.
1893 2004-04-28 Angus Leeming <leeming@lyx.org>
1895 * BufferView_pimpl.C:
1898 s/updateToolbar()/updateToolbars()/
1899 s/Toolbar.h/Toolbars.h/
1901 2004-04-28 Angus Leeming <leeming@lyx.org>
1903 * BufferView.[Ch] (c-tor):
1904 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1905 No longer passes these data to the WorkArea generator.
1907 2004-04-28 Angus Leeming <leeming@lyx.org>
1909 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1911 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1913 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1915 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1917 * output_latex.C (TeXEnvironment): make sure that there is a line
1918 break before \end{foo} for the last paragraph of a document
1919 (TeXOnePar): if the paragraph is at the end of the document (or
1920 inset) and the language has to be reset, then make sure that the
1921 line break is _before_ the language command, not after (fixes bug
1922 1225); also make sure that the language reset command is the first
1923 thing after the paragraph (to ensure proper nesting of
1924 environments and thus fix bug 1404)
1926 2004-04-21 John Levon <levon@movementarian.org>
1929 * ToolbarBackend.C: make "name" be a programmatic name
1930 and a gui_name field.
1932 * lyxfunc.C: display the minibuffer on M-x
1934 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1936 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1939 2004-04-19 Angus Leeming <leeming@lyx.org>
1941 * BufferView_pimpl.C (setBuffer): changed preview interface.
1943 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1946 2004-04-19 John Levon <levon@movementarian.org>
1948 * BufferView_pimpl.C:
1949 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1951 2004-04-05 Angus Leeming <leeming@lyx.org>
1953 * text.C (redoParagraphs): add call to updateCounters(), thereby
1954 fixing the missing "Figure #:" label from the caption of a
1957 2004-04-13 Angus Leeming <leeming@lyx.org>
1959 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1960 cursor is clicked out of an inset.
1962 2004-04-13 Angus Leeming <leeming@lyx.org>
1964 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1965 than an InsetOld one.
1967 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1969 * format.[Ch]: add editor to Format
1970 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1971 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1973 2004-04-08 André Pönitz <poenitz@gmx.net>
1975 * metricsinfo.h: remove PainterInfo::width member
1977 2004-04-08 Angus Leeming <leeming@lyx.org>
1979 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1980 "\providecommand" rather than "\newcommand", thereby preventing
1981 clashes with packages that define "\boldsymbol" themselves.
1984 2004-04-08 Angus Leeming <leeming@lyx.org>
1986 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1987 thereby squashing an unnecessary warning.
1989 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1991 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1994 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1996 * BufferView.C (setCursor): call redoParagraph (some insets could
1998 (putSelectionAt): remove the 'double update' trick
2000 * BufferView_pimpl.C (fitCursor): call refreshPar
2001 (workAreaDispatch): remove an uneeded update call
2002 (dispatch): remove some manual update calls
2004 * cursor.[Ch]: remove cached_y_, updatePos
2005 (selHandle): set noUpdate when appropriate
2007 * lyxfunc.C (dispatch): track if we need an update
2009 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2011 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2012 (paintSelection): cheap optimization, do not call cursorX when not
2014 (paintPars): change signature
2017 (paintTextInset): adjust
2021 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2023 * lengthcommon.C: compilation fix: remove explicit array size from
2024 unit_name[] and friends
2026 2004-04-05 Angus Leeming <leeming@lyx.org>
2028 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2030 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2031 present only for the preferences dialog.
2032 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2034 2004-04-05 Angus Leeming <leeming@lyx.org>
2036 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2037 to enable the frontends to export changes to lyxrc correctly.
2039 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2041 2004-04-07 André Pönitz <poenitz@gmx.net>
2043 * cursor.[Ch] (selClear, adjust): remove math
2045 * cursor_slice.C: more agressive assert
2048 * BufferView_pimpl.C: rework mouse event dispatch
2055 2004-04-05 André Pönitz <poenitz@gmx.net>
2057 * cursor.[Ch] (valign, halign...): remove unneeded functions
2059 2004-04-05 Angus Leeming <leeming@lyx.org>
2061 * lyxlength.[Ch] (unit_name et al.): const-correct.
2063 2004-04-05 Angus Leeming <leeming@lyx.org>
2065 * BufferView_pimpl.C:
2074 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2076 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2078 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2080 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2082 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2083 * BufferView_pimpl.[Ch] (getStatus)
2084 * BufferView.[Ch] (getStatus): add
2085 * lyxfunc.C (getStatus): move lfuns handled in
2086 BufferView::dispatch to te function above
2087 * Cursor.C (setSelection): set selection() = true
2089 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2091 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2093 2004-03-31 Angus Leeming <leeming@lyx.org>
2095 * lyxfunc.C (dispatch): Fall through to the generic
2096 Dialogs::show("preamble").
2098 2004-03-31 Angus Leeming <leeming@lyx.org>
2100 * lyxfunc.C (dispatch): Fall through to the generic
2101 Dialogs::show("spellchecker").
2103 2004-03-31 Angus Leeming <leeming@lyx.org>
2105 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2108 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2113 * insetiterator.[Ch]:
2118 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2120 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2122 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2123 insets where we are putting the cursor.
2125 2004-03-31 Angus Leeming <leeming@lyx.org>
2128 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2130 * lyxrc.[Ch] (read, write): overloaded member functions taking
2131 a std::[io]stream arguments.
2133 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2135 2004-03-31 Angus Leeming <leeming@lyx.org>
2137 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2138 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2140 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2141 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2143 2004-03-31 Angus Leeming <leeming@lyx.org>
2145 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2146 the LFUN_ALL_INSETS_TOGGLE code.
2148 2004-03-30 Angus Leeming <leeming@lyx.org>
2150 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2151 has died. Fall through to the generic Dialogs::show("document").
2153 2004-03-30 Angus Leeming <leeming@lyx.org>
2156 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2157 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2159 * lyxfunc.C (getStatus, dispatch): define the actions for these
2160 lfuns. Little more than a cut and pste job from ControlDocument.C
2162 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2164 2004-03-30 Angus Leeming <leeming@lyx.org>
2167 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2168 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2170 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2171 open/closed state of ollapsable insets. Usage:
2173 all-inset-toggle <state> <name>, where
2174 <state> == "open" || "closed" || "toggle" and
2175 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2177 * lyxtext.h, text2.C (toggleInset): removed.
2179 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2180 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2181 now passes LFUN_INSET_TOGGLE to the found inset.
2183 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2184 is now invoked as "all-insets-toggle toggle branch".
2186 2004-03-30 Angus Leeming <leeming@lyx.org>
2190 * pariterator.[Ch]: added/corrected header blurb.
2192 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2194 * dociterator.[Ch]: add an inset_ member
2195 (backwardPos): implemented
2196 (backwardPos, forwardPos): use inset_ when the stack is empty.
2197 (doc_iterator_begin, doc_iterator_end): implemented
2198 * pariterator.[Ch]: adjust, add begin, end
2199 * insetiterator.[Ch]: adjust, add begin, end
2203 * BufferView_pimpl.C:
2204 * CutAndPaste.C: adjust
2206 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2208 * buffer.C: increment file format to 232.
2209 * LaTeXFeatures.C: add bibtopic package.
2210 * bufferparams.[Ch]: param \use_bibtopic.
2212 * lyxrc.[Ch]: add lyxrc bibtex_command
2213 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2215 * buffer.C: increment file format to 231.
2217 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2219 * dociterator.C: implement forwardPar
2220 * iterators.[Ch]: remove, replaced by
2221 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2223 * BufferView_pimpl.C:
2226 * bufferview_funcs.C:
2232 * Makefile.am: adjust
2234 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2236 * CutAndPaste.C (pasteSelection): fix 2 crashes
2237 (eraseSelection): fix a crash
2238 * paragraph_funcs.C: remove a warning
2240 2004-03-28 Angus Leeming <leeming@lyx.org>
2243 * LyXAction.C (init): new LFUN_PRINT.
2245 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2247 2004-03-27 Angus Leeming <leeming@lyx.org>
2250 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2252 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2254 2004-03-27 Angus Leeming <leeming@lyx.org>
2256 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2257 insetlist always contains non-null pointers to insets.
2259 2004-03-26 Angus Leeming <leeming@lyx.org>
2261 * src/BufferView_pimpl.C:
2262 * src/CutAndPaste.C:
2265 * src/output_plaintext.C:
2266 * src/outputparams.h:
2267 * src/paragraph_funcs.C:
2271 * src/frontends/controllers/ControlErrorList.C:
2272 * src/frontends/gtk/FileDialogPrivate.C:
2273 * src/frontends/gtk/GPainter.C:
2274 * src/frontends/gtk/GToolbar.C:
2275 * src/frontends/qt2/QRef.C:
2276 * src/mathed/math_scriptinset.C: squash compiler warnings.
2278 2004-03-26 Angus Leeming <leeming@lyx.org>
2280 * ispell.C (LaunchIspell::start):
2281 * lyx_cb.C (AutoSaveBuffer::start):
2282 invoke run(DontWait) rather than runNonBlocking().
2284 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2286 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2288 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2290 * kbsequence.C (print): adjust
2292 * kbmap.C (printKeySym): rename and change signature
2293 (printKey): use LyXKeySym::print()
2295 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2297 * undo.C: add using std::advance to compile for stlport
2299 2004-03-24 Angus Leeming <leeming@lyx.org>
2301 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2302 it leads to a crash when no buffer is present.
2304 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2305 Martin Vermeer <martin.vermeer@hut.fi>
2307 * lyxfunc.C (dispatch):
2308 * bufferparams.C (readToken): use the new LColor::setColor
2310 * LColor.[Ch] (setColor): new version that takes two strings as
2311 argument and creates a new color entry if necessary
2313 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2315 * buffer.C (makeLaTeXFile): if the main latex file that is
2316 processed is usually a subdocument of some master, then pretend
2317 for a while that it is actually the master
2319 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2321 * buffer.C (getLabelList):
2322 (getBibkeyList): use getMasterBuffer()
2323 (getMasterBuffer): new method. Returns the main document in the
2324 case where one is using included documents.
2326 2004-03-25 André Pönitz <poenitz@gmx.net>
2330 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2332 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2334 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2335 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2337 * ParameterStruct.h: merge with ParagraphParameters
2339 * lyxtext.h: remove LyXText::parOffset() and getPar()
2341 * text3.C: Remove all 'manual' update calls. We do now one per user
2342 interaction which is completely sufficient.
2346 * BufferView_pimpl.C:
2347 * FontIterator.[Ch]:
2349 * ParagraphParameters.[Ch]:
2354 * cursor_slice.[Ch]:
2361 * output_docbook.[Ch]:
2362 * output_latex.[Ch]:
2363 * output_linuxdoc.[Ch]:
2364 * output_plaintext.[Ch]:
2366 * paragraph_funcs.[Ch]:
2367 * paragraph_pimpl.[Ch]:
2375 * frontends/controllers/ControlDocument.C:
2376 * frontends/controllers/ControlErrorList.C:
2377 * frontends/controllers/ControlSpellchecker.C:
2380 * insets/insetbase.h:
2381 * insets/insetbibitem.C:
2382 * insets/insetbox.C:
2383 * insets/insetbranch.C:
2384 * insets/insetcaption.C:
2385 * insets/insetcharstyle.C:
2386 * insets/insetcharstyle.h:
2387 * insets/insetcollapsable.C:
2388 * insets/insetcollapsable.h:
2389 * insets/insetert.C:
2390 * insets/insetfloat.C:
2391 * insets/insetfoot.C:
2392 * insets/insetmarginal.C:
2393 * insets/insetnote.C:
2394 * insets/insetoptarg.C:
2395 * insets/insettabular.C:
2396 * insets/insettext.C:
2397 * insets/insettext.h:
2398 * insets/insetwrap.C:
2399 * mathed/math_mboxinset.C:
2400 * mathed/math_nestinset.C:
2401 * mathed/math_scriptinset.C:
2402 * mathed/math_scriptinset.h:
2405 2004-03-24 Angus Leeming <leeming@lyx.org>
2407 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2408 deal with any child processes that have finished but are waiting to
2409 communicate this fact to the rest of LyX.
2411 2004-03-24 Angus Leeming <leeming@lyx.org>
2413 64-bit compile fixes.
2415 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2416 (c-tor): pass lyx::pos_types rather than ints.
2418 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2421 * text.C (Delete): compile fix.
2422 (getPar): ensure that function declaration is the same as that in
2425 2004-03-23 Angus Leeming <leeming@lyx.org>
2427 * ispell.C (LaunchIspell):
2428 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2429 a boost::shred_ptr rather than a std::auto_ptr.
2431 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2434 handle LFUN_FILE_INSERT_*
2436 * lyxrc.C (setDefaults, getDescription, output, read):
2437 * lyxrc.h: remove ps_command
2439 2004-03-22 Angus Leeming <leeming@lyx.org>
2441 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2442 Ensure that error_handler is processed once only and that all data
2443 is saved before attempting to output any warning messages.
2445 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2447 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2449 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2451 2004-03-19 André Pönitz <poenitz@gmx.net>
2453 * cursor.[Ch] (reset): take main text inset as argument
2455 * BufferView: adjust
2456 * BufferView_pimpl.C: adjust
2458 * paragraph.[Ch]: fix completely broken operator=()
2460 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2462 * LColor.C (getFromLyXName): make sure that the color name is used
2465 2004-03-17 Angus Leeming <leeming@lyx.org>
2468 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2470 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2471 dialog and to kill a forked process.
2473 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2475 * text2.C (setCursorFromCoordinates): fix font problem
2477 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2479 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2480 bogus "rebuild cursor" code
2482 2004-03-11 André Pönitz <poenitz@gmx.net>
2484 * buffer.[Ch]: use InsetText instead of LyXText as container for
2487 * dociterator.[Ch]: drop the BufferView * member which is not needed
2488 anymore after the change to buffer.C
2490 * paragraph_funcs.C:
2494 * BufferView_pimpl.[Ch]:
2496 * cursor_slice.[Ch]: adjust
2498 * text3.C: fix bug in mathDispatch
2500 2004-03-08 André Pönitz <poenitz@gmx.net>
2502 * undo.[Ch]: use 'StableDocumentIterator' as base for
2505 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2508 * bufferparams.[Ch]: add jurabib support and param.
2510 * LaTeX.C: add FIXME/comment.
2512 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2514 * buffer.C: increment file format to 230.
2516 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2518 * cursor.C (dispatch): avoid infinite loops
2520 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2522 * rowpainter.C (paintSelection): fix x coordinates
2524 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2526 * text.C (rowBreakPoint): fix breaking before displayed insets
2528 2004-03-01 André Pönitz <poenitz@gmx.net>
2530 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2532 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2536 * BufferView_pimpl.C:
2544 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2550 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2551 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2553 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2555 * Bidi.[Ch] (computeTables): const correctness
2556 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2557 fill_hfill, fill_label_hfill and x from Row
2558 * lyxtext.h: prepareToPrint returns a RowMetrics
2559 * rowPainter.C: adjust
2560 * text.C (prepareToPrint): use width, not textWidth. adjust
2561 (redoParagraphInternal, cursorX): adjust
2562 * text2.C (getColumnNearX): adjust
2563 (init): put a default value to the top LyXText::width
2565 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2567 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2569 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2571 * lyxtext.h: add FontIterator class
2573 * text.C (FontIterator, operator*, operator->, operator++): add
2574 (rowBreakPoint, setRowWidth): adjust (fixing a
2577 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2579 * BufferView_pimpl.C (workAreaDispatch): allow also
2580 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2582 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2584 * text.C (rowBreakPoint): fix a bug showing with very large insets
2586 2004-02-25 André Pönitz <poenitz@gmx.net>
2589 * cursor.[Ch]: move some mathed specific code to mathed
2591 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2593 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2594 use_tempdir in preferences
2595 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2597 * lyx_main.C: ensure that tempdir is valid
2598 * lyxlex.h: correct typo
2599 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2600 * paragraph.[Ch] (isMultiLingual): make const
2601 * cursor.[Ch] (openable): make const
2603 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2605 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2607 2004-02-20 André Pönitz <poenitz@gmx.net>
2609 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2611 * cursor.[Ch]: prepare for localized getStatus()
2617 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2619 2004-02-20 André Pönitz <poenitz@gmx.net>
2621 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2623 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2625 * text2.C (setCursorFromCoordinates): switch to absolute coords
2627 (cursorDown): adjust
2628 * text3.C (dispatch): adjust
2630 2004-02-16 André Pönitz <poenitz@gmx.net>
2632 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2635 * cursor_slice.[Ch]: remove unneeded acessor function
2637 * lyxtext.h: rename rtl() to isRTL()
2645 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2647 * rowpainter.C (paintSelection): coord fix
2649 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2651 * Spacing.C: compile fix
2653 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2655 * cursor.C (dispatch): restore current_ before returning
2657 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2659 * text2.C (cursorUp, cursorDown): fix coords
2662 2004-02-12 André Pönitz <poenitz@gmx.net>
2667 * text3.C: add LCursor & parameter to most cursor movement functions
2668 remove usage of LyXText::cursorRow() and cursorPar()
2670 * cursor.[Ch]: add textRow() needed members
2673 * BufferView_pimpl.C:
2676 * BufferView_pimpl.C: adjust
2678 2004-02-11 André Pönitz <poenitz@gmx.net>
2682 * BufferView_pimpl.C: shift undo/redo handling
2684 * cursor.[Ch]: fix mathed crash
2687 * lyxtext.h: move selectionAsText to LCursor
2695 * rowpainter.C: fix excessive drawing
2697 2004-02-06 André Pönitz <poenitz@gmx.net>
2700 * BufferView_pimpl.[Ch]:
2701 * text3.C: move some text specific LFUN handling
2703 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2705 * text3.C (checkInsetHit): adjust coords
2706 * text2.C (getColumnNearX): adjust coords
2707 (edit): adjust coords
2708 * text.C (getRowNearY): add two asserts
2710 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2713 * format.C: add using std::distance to compile on gcc 2.95/stlport
2715 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2717 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2719 2004-02-04 André Pönitz <poenitz@gmx.net>
2721 * BufferView.[Ch] (insertInset):
2722 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2727 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2729 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2730 on the default clause of the switch
2731 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2732 wasn't catched by LCursor::dispatch
2734 2004-02-03 André Pönitz <poenitz@gmx.net>
2737 * cursor.[Ch]: some additional asserts
2739 * undo.[Ch]: remove LyXText dependency in interface
2743 * lyxtext.h (firstPar, lastPar): remove dead functions
2748 * paragraph.[Ch]: adjust
2750 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2752 * lyxfind.C (find): fix argument order in call to ::find
2754 2004-02-02 André Pönitz <poenitz@gmx.net>
2756 * cursor.[Ch]: remove direct access to anchor
2758 * text.C: remove findText() hack
2760 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2762 * iterators.[Ch] (lockPath): remove in favour of...
2763 * BufferView.[Ch] (setCursor): this addition
2764 * BufferView.C (putSelectionAt): adjust
2765 * undo.C (performUndoOrRedo): adjust
2766 * lyxfunc.C (dispatch): adjust
2768 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2770 * iterators.C (lockPath): add a missing slice
2771 * undo.C (performUndoOrRedo): remove redundant positioning code
2773 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2775 * vc-backend.C (scanMaster): ";" -> ';'
2777 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2779 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2780 std::binary_function
2782 * lyxtextclass.C (compare_name): rename to...
2783 (LayoutNamesEqual): ...this
2785 * lyxlex_pimpl.C (compare_tags): inherit from
2786 std::binary_function, put back into anon namespace
2788 * lyxfind.C (MatchString): inherig from std::binary_function
2789 (findChange): use empty() istead of !size()
2791 * format.C (FormatNamesEqual): new functor
2798 * converter.C (compare_Converter): rename to...
2799 (ConverterEqual): ...this, and fixup a bit.
2800 (getConverter): use it, and make function const
2801 (getNumber): use it, and make function const
2805 * bufferlist.C: add using boost::bind
2807 * MenuBackend.C (MenuNamesEqual): new functor
2808 (hasMenu): use it, and make function const
2809 (hasSubmenu): use nested bind to get rid of compare_memfun.
2811 2004-01-30 André Pönitz <poenitz@gmx.net>
2813 * BufferView_pimpl.C:
2816 * cursor_slice.[Ch]:
2819 * paragraph_funcs.C:
2820 * paragraph_funcs.h:
2824 * text3.C: move some of the edit(x,y) handling to the insets
2825 some coordinate changes.
2827 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2829 * text.C: add using statements for std::advance and std::distance
2831 * paragraph.C: add using statement for std::distance
2833 * lyxfind.C: add using statement for std::advance
2835 * cursor.C (region): remove std:: from swap
2836 (openable): use nucleus in stead of operator->
2838 * BufferView.C: add using statements for std::distance and std::swap
2840 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2842 * iterators.C: Remove the pimple, move the needed structures to
2843 the header file. Create accessor for the positions stack.
2844 (asPosIterator): remove function
2846 * PosIterator.C (PosIterator): move constructors to top of file
2847 (PosIterator): reimplement the constructor taking a ParIterator in
2849 (setFrom): new function
2850 (operator!=): inline it
2852 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2854 * lyxfind.C (replaceAll): use std::advance
2856 * iterators.h: inherit from std::iterator.
2858 * PosIterator.C (advance, distance): remove
2859 * PosIterator.h: interit from std::iterator.
2861 2004-01-26 André Pönitz <poenitz@gmx.net>
2864 * BufferView_pimpl.[Ch]:
2868 * bufferview_funcs.C:
2878 * output_linuxdoc.C:
2879 * output_plaintext.C:
2881 * paragraph_funcs.[Ch]:
2882 * paragraph_pimpl.[Ch]:
2888 * text3.C: more IU: dumps most of the rest of the mathcursor
2889 implementation into cursor.[Ch]; "globalize" a bit of it.
2891 2004-01-25 Angus Leeming <leeming@lyx.org>
2893 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2895 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2897 * LaTeXFeatures.h: add nice_ and nice() const
2898 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2900 2004-01-20 André Pönitz <poenitz@gmx.net>
2903 * BufferView_pimpl.C:
2905 * bufferview_funcs.C:
2907 * cursor_slice.[Ch]:
2918 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2919 LCursor and mathcursor parts to LCursor and InsetBase.
2921 2004-01-15 André Pönitz <poenitz@gmx.net>
2923 * cursor_slice.[Ch]: add a few covienience functions
2925 * funcrequest.[Ch]: remove BufferView * member
2927 * BufferView_pimpl.C:
2934 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2936 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2938 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2939 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2941 2004-01-13 André Pönitz <poenitz@gmx.net>
2944 * lyxtext.h: hide cursor and selection anchor behind accessor function
2947 * BufferView_pimpl.[Ch]:
2949 * bufferview_funcs.C:
2959 * cursor_slice.[Ch]: some integer type changes for inset unification
2961 * lyxcursor.[hC]: remove, it's CursorSlice now.
2964 * BufferView_pimpl.[Ch]:
2965 * bufferview_funcs.C:
2971 * textcursor.[Ch]: adjust
2973 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2975 * text2.C (undoSpan): add and use
2976 * text.C (breakParagraph): use undoSpan (fix bug 578)
2979 2004-01-08 Angus Leeming <leeming@lyx.org>
2981 * BufferView_pimpl.C (MenuInsertLyXFile):
2982 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2983 * lyxfunc.C (menuNew, open, doImport):
2984 FileFilterList change to the FileDialog open and save functions.
2986 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2988 * ShareContainer.h: make isEqual and isUnique adaptable
2990 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2992 2004-01-07 Angus Leeming <leeming@lyx.org>
2995 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2997 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2999 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3000 functions replacing find, replace and replaceAll.
3002 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3003 LFUN_WORDFIND(FORWARD|BACKWARD).
3005 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3007 * text.C (breakParagraph): remove an outdated #warning
3009 2004-01-07 André Pönitz <poenitz@gmx.net>
3011 * lyxfind.C: somewhat clearer logic
3013 * text.C: prevent crash in cursorX on unitialized row cache
3015 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3017 * lyxcursor.[Ch] (operator>): add
3018 * textcursor.C (selStart, selEnd): use std::min and std::max
3020 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3022 * Chktex.C: include boost/format.hpp
3024 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3026 * InsetList.C: replace functor MathcIt with adaptable functor
3028 (insetIterator): modify accordingly
3030 * BranchList.h: move the BranchNamesEqual functor here from...
3031 * BranchList.C: ... to here
3033 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3035 (add): replace a finding loop with std::find_if.
3037 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3039 * output_docbook.C: moving LatexParam functionality into
3042 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3044 * buffer.C: increment format to 229.
3046 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3049 * lyx_sty.[Ch]: remove minipageindent_def
3055 * text3.C: remove LFUN_INSET_MINIPAGE
3057 2003-12-28 Angus Leeming <leeming@lyx.org>
3059 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3061 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3063 * text2.C (setParagraph): fix off-by-one crash
3065 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3067 * output_docbook.C: header stuff for AGU
3069 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3071 * text2.C (redoCursor): remove
3074 * BufferView_pimpl.C: remove calls to redoCursor and
3075 setCursor(cursor.par(), cursor.pos()) all around
3077 2003-12-15 Angus Leeming <leeming@lyx.org>
3079 * buffer.C: up the format to 228.
3081 2003-12-15 André Pönitz <poenitz@gmx.net>
3083 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3088 * BufferView_pimpl.C:
3097 2003-12-15 Angus Leeming <leeming@lyx.org>
3099 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3100 than getFromGUIName to manipulate the color.
3102 2003-12-14 Angus Leeming <leeming@lyx.org>
3104 * BranchList.[Ch]: minimize the API.
3105 (Branch::getBranch, getColor): now return a 'const &'.
3106 (Branch::setSelected) now returns a bool set to true if the
3107 selection status changes.
3108 (BranchList::clear, size, getColor, setColor, setSelected,
3109 allBranches, allSelected, separator): removed.
3110 (BranchList::find): new functions, returning the Branch with
3112 (BranchList::add, remove): return a bool indicating that
3113 the operation was successful.
3115 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3116 new InsetBranch::isBranchSlected member function.
3118 * LColor.[Ch]: mimimize the API.
3119 (fill): renamed as addColor and made private.
3120 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3121 versions of these functions taking a string arg have been removed.
3123 * bufferparams.C (readToken):
3124 * lyxfunc.C (dispatch):
3125 * lyxrc.C (read): changes due to the altered BranchList and
3128 * factory.C (createInset, readInset): changes due to altered
3131 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3134 * lyxfunc.C: remove insetminipage. "minipage-insert"
3135 now produces a frameless minipage box inset.
3137 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3139 * textcursor.[Ch] (selStart,selEnd): add new methods
3140 remove selection::start, end, use LyXCursor::operator<
3141 * lyxcursor.[Ch] (operator<): add
3142 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3143 * BufferView.[Ch] (unsetXSel): add
3144 * text2.C (clearSelection): use unsetXSel,adjust
3147 * rowpainter.C: adjust
3148 * bufferview_funcs.C (put_selection_at): adjust
3150 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3152 * BufferView_pimpl.C: small coord. correction
3154 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3156 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3157 dragging over the splash screen.
3159 2003-12-11 Angus Leeming <leeming@lyx.org>
3161 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3162 as it is now handled in LyXText::dispatch.
3164 * text3.C (doInsertInset): remove a level of nesting.
3166 2003-12-11 Angus Leeming <leeming@lyx.org>
3168 * factory.C (createInset): changes due to the changed interface to
3169 InsetCommandMailer::string2params.
3171 2003-12-10 Angus Leeming <leeming@lyx.org>
3173 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3174 'dialog-show-new-inset <inset name>'
3176 2003-12-10 Angus Leeming <leeming@lyx.org>
3178 * buffer.C: up the format to 227.
3180 * factory.C: the box inset is now identified simply by 'Box'.
3182 2003-12-10 Angus Leeming <leeming@lyx.org>
3184 * buffer.C: up the format to 226.
3186 * factory.C: the note inset is now identified simply by 'Note'.
3188 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3190 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3191 when a pit is enough. Standarize a couple of loops.
3193 2003-12-05 Angus Leeming <leeming@lyx.org>
3195 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3196 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3197 data to the re-worked "log" dialog.
3199 2003-12-03 André Pönitz <poenitz@gmx.net>
3205 * paragraph_funcs.C:
3207 * text2.C: use Inset::getText instead of Inset::getParagraph
3209 2003-12-03 André Pönitz <poenitz@gmx.net>
3213 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3214 InsetText::read() as LyXText::read()
3216 2003-12-02 Angus Leeming <leeming@lyx.org>
3218 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3219 type. Add a comment in the implementation that the function uses
3220 the stream's bad() function rather than fail() as the std::streams
3223 2003-12-02 André Pönitz <poenitz@gmx.net>
3225 * lyxlex.[Ch]: make interface more similar to std::stream
3227 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3229 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3231 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3233 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3235 * vspace.[Ch]: remove VSpace::NONE
3237 2003-12-01 André Pönitz <poenitz@gmx.net>
3240 * lyxtext.h: move ParagraphList member to LyXText
3241 rename LyXText::ownerParagraphs to LyXText::paragraph
3244 * bufferview_funcs.C:
3254 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3256 * undo.C: fix cursor positioning
3258 2003-12-01 John Levon <levon@movementarian.org>
3260 * BufferView_pimpl.C: fix a crash on exit with
3263 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3265 * BranchList.C: fix setSelected() method.
3267 2003-11-28 André Pönitz <poenitz@gmx.net>
3269 * ParagraphParameters.[Ch]:
3270 * ParameterStruct.h: remove space above/below from Paragraph to
3273 * BufferView_pimpl.C:
3279 * paragraph_funcs.C:
3285 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3287 * factory.C: Syntax change for CharStyles
3289 2003-11-28 André Pönitz <poenitz@gmx.net>
3294 * buffer.[Ch]: move LyXText member
3296 2003-11-28 André Pönitz <poenitz@gmx.net>
3298 * BufferView.[Ch]: make LyXText * text a private member
3300 * BufferView_pimpl.C:
3311 * output_plaintext.C: cleanup
3313 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3316 * lyxtextclass.[Ch]: parametrize SGML document header
3318 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3321 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3324 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3326 * text2.C (setFont): rework using PosIterator (no more recursive)
3327 (setCharFont): no more needed
3328 (setLayout): no more selection cursors fiddling (done by redoCursor)
3329 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3330 destroy remaining ones)
3332 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3334 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3336 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3339 * text3.C: adjust + re-allow multi par depth changes
3340 * textcursor.C: simplify a bit
3342 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3348 * src/output_docbook.C:
3349 * src/output_latex.C:
3354 * src/text2.C: Introducing a number of tags parametrizing various
3355 XML formats that we may want to support
3357 2003-11-25 André Pönitz <poenitz@gmx.net>
3359 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3361 * lyxtext.h (leftMargin/rightMargin): simplify interface
3368 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3370 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3371 master file to any child files. Fixes bug 546.
3373 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3375 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3377 2003-11-24 André Pönitz <poenitz@gmx.net>
3379 * rowpainter.C: simplification
3381 * text2.C (updateCounters): remove call to redoParagraph on
3382 changed labels as this is far too expensive.
3384 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3386 * converter.C (convert): fix a crash: this function gets
3387 called with buffer == 0 from importer code.
3389 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3391 * text3.C (cursorPrevious): make sure that we do not compare
3392 iterators form different containers.
3395 * rowpainter.C (paintSelection): make sure that we do not compare
3396 iterators from different containers.
3398 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3399 iterators from different ParagraphList containers.
3402 * text2.C (LyXText): change order of initialization slightly
3403 (operator=): new function. copy all variables except cache_par_
3404 (moveUp): make sure that we do not compare iterators from
3405 different ParagraphList constainers.
3408 * text.C (firstPar): new function
3409 (lastPar): new function
3410 (endPar): new function
3412 * lyxtext.h: move things around and group public functions, public
3413 variables, private functions, private variables
3415 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3417 * factory.C: change call to InsetERT constructor to avoid
3418 additional invocation of method status
3419 * text2.C (toggleInset): remove redundant update() call
3420 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3421 instead of a Bufferview pointer
3423 2003-11-21 André Pönitz <poenitz@gmx.net>
3425 * rowpainter.C: simplification
3427 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3429 * text3.C (dispatch): make possible to extend a word/row selection
3432 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3434 * lyxtext.h: x0_,y0_ -> xo_,yo_
3435 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3436 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3437 * rowpainter.C (paintRows): paint full paragraphs
3439 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3441 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3444 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3446 * lyxtext.h: add x0_, y0_
3447 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3448 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3450 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3452 * text2.C (setCursorIntern): move the x_target update here *
3453 * text3.C: change some bv() to true/false in calls to
3454 cursorUp/Down/Right/Left
3455 * cursor.C: use helper function.
3457 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3459 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3460 * paragraph_funcs.[Ch]: correct comment
3461 * rowpainter.C: do not paint selections away from bv->cursor()
3462 Fix a long standing selection painting bug.
3463 * text3.C: generalize mouse-selection code to LyXTexts other that
3465 * textcursor.C: do not use y coords if we can use par offsets
3467 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3469 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3470 cursor position after e.g. inset insert)
3472 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3474 * lyxfind.C (replace): adjust to locking removal + some
3477 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3479 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3482 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3485 * output_docbook.C: XML sanitation: new layout
3486 parameters InnerTag and CommandDepth
3488 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3490 * BufferView_pimpl.C:
3492 * text3.C: Fix the insertion and modification of button-style
3495 2003-11-13 André Pönitz <poenitz@gmx.net>
3497 * InsetList.[Ch]: remove deleteLyXText
3499 * paragraph.[Ch]: cache beginOfBody position
3504 * text3.C: remove superfluous update() calls
3508 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3510 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3511 * BufferView.C (fitLockedInsetCursor): remove
3512 * cursor.[Ch] (getDim): add
3513 * text.C (getRowNearY): add faster version
3514 * text3.C: remove some update calls
3516 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3528 * text3.C: The Character Style /XML short element patch.
3530 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3533 * factory.C: Small step to solving 'unable to insert some insets'
3536 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3538 * cursor.[Ch] (updatePos): new function for updating the y
3539 position of the tip inset
3540 * bufferview_funcs.C (put_selection_at):
3541 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3543 2003-11-11 André Pönitz <poenitz@gmx.net>
3545 * text.C: remove big comment on invalid Paragraph pointers as it is
3548 2003-11-11 André Pönitz <poenitz@gmx.net>
3550 * text_funcs.[Ch]: merge with ...
3558 * Makefile.am: remove text_funcs.[Ch]
3560 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3562 * cursor.C (getPos): return absolute cached y coord
3564 * BufferView_pimpl.C (fitCursor): new simplistic code
3565 (workAreaDispatch): add a fitCursor call
3567 2003-11-10 André Pönitz <poenitz@gmx.net>
3570 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3572 2003-11-10 André Pönitz <poenitz@gmx.net>
3574 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3575 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3576 indicate that the cursor needs to leave an inset
3578 * lyxtext.h: remove inset locking
3580 * cursor.[Ch]: re-implement functionality provided by inset locking
3583 * BufferView_pimpl.[Ch]:
3585 * bufferview_funcs.[Ch]:
3597 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3599 * PosIterator.[Ch]: replace the stack with a vector, add inset
3601 * iterators.[C]: adjust
3603 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3605 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3607 * paragraph_funcs.C (readParToken): put the correct id in the
3608 error item, not the id of the top paragraph
3610 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3612 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3613 * bufferview_funcs.C (put_selection_at): use the above
3615 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3617 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3619 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3621 * output_linuxdoc.h:
3622 * output_plaintext.h:
3624 * output_docbook.h: add #include statements
3626 2003-11-05 José Matos <jamatos@lyx.org>
3628 * output_docbook.[Ch]:
3629 * output_latex.[Ch]:
3630 * output_linuxdoc.[Ch]:
3631 * output_plaintext.[Ch]: New files for output formats.
3632 * output.[Ch]: New file for helper functions.
3635 * paragraph_funcs.[Ch]: output functions moved to new files.
3637 * outputparams.h: rename of latexrunparams.h
3645 * paragraph_funcs.[Ch]:
3646 * paragraph_pimpl.[Ch]:
3647 * tabular.[Ch]: rename ascii to plaintext
3648 and LatexRunParams to OutputParams.
3650 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3652 * iterators.[Ch] (text): require bv argument
3653 * undo.C (recordUndo):
3654 * lyxfunc.C (dispatch):
3655 * bufferview_funcs.C (put_selection_at): adjust
3657 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3659 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3661 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3663 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3666 2003-11-04 André Pönitz <poenitz@gmx.net>
3668 * cursor.[Ch]: restructure
3671 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3673 * iterators.[Ch] (asCursor): remove
3675 * lfuns.h: remove LFUN_INSET_EDIT
3681 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3683 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3685 * lyxfind.[Ch]: complete overhaul
3686 * BufferView_pimpl.C:
3688 * paragraph.[Ch] (insert): add
3690 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3694 * text.C: remove dead spellcheck code
3696 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * dispatchresult.h: add a val setter
3700 * cursor.C (dispatch): use a tempvar for data_[i]
3702 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3704 * PosIterator.[Ch]: compile fix
3706 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3708 * text.C (cursorPar): deactivate the cursor cache
3710 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3712 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3714 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3716 * text3.C (dispatch): adjust for new DisptchResult semantics.
3718 * lyxfunc.C (dispatch): handle update when return from
3719 Cursor::dispatch, adjust for new DispatchResult semantics.
3721 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3722 DispatchResult(true) mean to not update. Add class functions for
3723 setting dispatched and update, as well as reading.
3725 * cursor.C (dispatch): don't handle update here
3727 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3729 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3730 * trans_mgr.C: adjust
3732 * paragraph_funcs.C (readParToken): exception safety
3734 * lyxvc.h: store the vcs pointer in a scoped_ptr
3737 * lyxsocket.C (serverCallback): exception safety
3739 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3741 * ispell.C (clone): make it return a auto_ptr
3743 * factory.C (createInset): exception safety
3744 (readInset): exception safety
3746 * bufferlist.C (newBuffer): exception safety
3748 * Thesaurus.C (Thesaurus): use initialization for aik_
3750 * MenuBackend.C (expandToc): exception safety.
3752 2003-11-03 André Pönitz <poenitz@gmx.net>
3756 * bufferview_funcs.C: remove getInsetFromId()
3759 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3765 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3767 * PosIterator.C (distance, advance): new
3768 * bufferview_funcs.[Ch] (put_selection_at): new
3769 * iterators.[Ch] (lockPath): new
3771 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3773 * iterators.[Ch] (asPosIterator): added
3774 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3775 * PosIterator.[Ch]: added
3777 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3781 * cursor.C (dispatch):
3782 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3784 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3785 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3786 contructor, add a class function dispatched. Remove operator>=
3788 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * debug.C: only use the default constructor for debugstream
3793 * main.C (main): include debug.h and setup the lyxerr streambuf
3796 2003-10-31 José Matos <jamatos@lyx.org>
3798 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3800 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3801 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3802 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3803 * paragraph_pimpl.C (simpleTeXSpecialC):
3804 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3805 add LatexRunParams argument.
3807 * exporter.C (Export): change call accordingly.
3809 * latexrunparams.h: add new member to take care of the other backends.
3810 2003-10-30 José Matos <jamatos@lyx.org>
3812 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3813 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3814 factorise code for paragraph output.
3816 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3819 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3821 * text3.C (dispatch):
3822 * lyxfunc.C (dispatch):
3823 * cursor.C (dispatch):
3824 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3826 * dispatchresult.h: make the dispatch_result_t ctor explicit
3828 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3831 * buffer.C: small refactoring of docbook stuff
3833 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3835 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3838 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3841 operator dispatch_result_t, and operators for == != and >=
3843 * cursor.C (dispatch): adjust for operator dispatch_result_t
3844 removal. comment out call to update
3846 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3848 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3859 * dispatchresult.h: new file, DispatchResult broken out of
3862 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3864 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3866 * text.C (rowBreakPoint): put a hack inside #if 0
3868 2003-10-28 André Pönitz <poenitz@gmx.net>
3872 * paragraph_funcs.C:
3875 * text2.C: general cleanup (lots of small stuff)
3877 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3879 * text2.C (cursorEnd): simple fix to the "end key goes to one
3880 before the end on last row" bug
3882 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3884 * text.C (backspace): fix the "zombie characters"
3886 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3888 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3890 2003-10-27 André Pönitz <poenitz@gmx.net>
3892 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3894 * factory.C: handle new InsetPagebreak, InsetLine
3896 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3897 and move handling into new InsetPagebreak, InsetLine
3899 * BufferView_pimpl.C:
3901 * ParagraphParameters.C:
3902 * ParameterStruct.h:
3907 * paragraph_funcs.C:
3908 * paragraph_pimpl.C:
3914 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3917 * lyxrow_funcs.[Ch]:
3923 * text3.C: remove lastPos uses in favour of Row::endpos
3925 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3927 * undo.C (performUndoOrRedo): fix two crashes by setting a
3928 cursor by hand and reordering some calls. Use bv->lockInset instead
3929 of inset->edit because the latter loses cursor information
3931 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3933 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3935 (rowBreakPoint): fix width. change point to point + 1.
3936 Add a missing check.
3938 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3941 * lyxfunc.C: fix (at least partly) the problems
3942 with the Nav menu and headers inside branch insets
3945 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3947 * paragraph.C (getChar): add strong asserts
3949 * lyxrow_funcs.C (lastPos): remove hideous hack
3951 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3952 (fill): adjust to that (avoid an infinite loop)
3954 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3956 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3958 2003-10-23 André Pönitz <poenitz@gmx.net>
3960 * RowList_fwd.h: change list<> to vector<> to gain speed
3961 after suggestion from Alfredo
3963 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3965 * lyxtext.h: move the bidi stuff from here...
3968 * Bidi.[Ch]: ... to here
3970 2003-10-23 André Pönitz <poenitz@gmx.net>
3973 * text.C (isLastRow, isFirstRow): new functions
3975 * paragraph.h: new width cache member
3977 * rowpainter.C: replace RowList::iterator with Row & where possible
3979 * lyxfunc.C: replace several view()->text with a single call
3981 * toc.C: fix 'unused' warning
3983 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3986 when woring with stream::pos_type
3987 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3989 2003-10-22 André Pönitz <poenitz@gmx.net>
3992 * text.C: use Row & instead of RowList::iterator
3994 * lyxrow.h: rename end() to endpos()
4000 2003-10-22 Angus Leeming <leeming@lyx.org>
4002 * buffer.[Ch] (fully_loaded): new member function, returning true
4003 only when the file has been loaded fully.
4004 Used to prevent the premature generation of previews and by the
4005 citation inset to prevent computation of the natbib-style label.
4007 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4008 templates are all set up.
4010 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4012 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4014 * text.C: fixed an "oops" in the "is a bit silly"
4017 2003-10-21 André Pönitz <poenitz@gmx.net>
4019 * FuncStatus.[Ch]: small stuff, whitespace
4021 * lyxfont.[Ch]: operator<<() for debug reasons
4025 * lyxtext.h: whitespace, spelling
4027 * paragraph.C: naming of variables
4030 * text2.C: small stuff
4033 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4035 * text.C: (1) finish off the inset display() work;
4036 (2) fix the "is a bit silly" bug (accessing char
4039 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4041 * text.C: re-introduce display() for insets, fixing the
4042 various bugs (stretch of line above, math inset
4045 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4047 * text.C (rightMargin): remove spurious semicolon
4049 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4052 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4054 * text3.C: fix one crash due to wrong cursor def
4056 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * vc-backend.C (scanMaster): make the regex static
4060 * LaTeX.C (scanAuxFile): make the regexs static
4062 * text3.C (doInsertInset, dispatch, dispatch):
4063 * text2.C (cursorUp, cursorDown):
4064 * text.C (selectNextWordToSpellcheck):
4065 * BufferView_pimpl.C (dispatch):
4066 * lyxfunc.C (dispatch): localDispatch -> dispatch
4068 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4070 * lyxsocket.C: include <cerrno>
4072 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * lyxfunc.C (dispatch): remove textcache stuff
4076 * bufferlist.C (release): remove textcache stuff
4079 * TextCache.C: delete file
4080 * TextCache.h: delete file
4082 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4084 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4085 delete of the bv_->text.
4086 (resizeCurrentBuffer): remove texcache stuff
4087 (workAreaResize): ditto
4089 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4091 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4094 2003-10-16 André Pönitz <poenitz@gmx.net>
4101 * text3.C: speed up by storing y positions per paragraph plus per-row
4102 offset instead of having a 'full' y position in the row.
4104 2003-10-15 André Pönitz <poenitz@gmx.net>
4108 * undo.[Ch]: make undo aware of inner insets
4110 2003-10-14 Angus Leeming <leeming@lyx.org>
4112 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4113 static member functions LyX::ref() and LyX::cref.
4114 (lastfiles): new accessor functions for the new lastfiles_ member var.
4115 (addLyXView, views_): add a new LyXView to the list of views_.
4116 (updateInset): loop over all LyXViews to call their own updateInset
4117 member function, returning a pointer to the Buffer owning the inset.
4119 * BufferView_pimpl.C (loadLyXFile):
4120 * MenuBackend.C (expandLastfiles):
4121 * bufferlist.C (MenuWrite, QuitLyX):
4122 lastfiles is no longer a global variable.
4123 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4125 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4126 static function. Access through LyX::cref().emergencyCleanup().
4128 2003-10-14 André Pönitz <poenitz@gmx.net>
4130 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4132 * undo.[Ch]: restoring part of 'undo in insets'
4135 * undo_funcs.[Ch]: merge with undo.[Ch]
4137 * tabular.C: small cleansing stuff
4139 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4141 * paragraph_funcs.C (readParToken): report unknown insets as error
4142 boxes. Use the outer paragraph as location (also for unknown
4145 * factory.C (readInset): do not abort on reading an unknown inset.
4146 Eat it and return 0.
4148 2003-10-13 Angus Leeming <leeming@lyx.org>
4150 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4152 * lyxrc.C: displayTranslator is now a function,
4153 declared in GraphicsTypes.h.
4155 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4157 * format.C: new placeholder $$a to pass the socket address.
4159 * bufferlist.[Ch]: new function getBufferFromTmp.
4161 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4162 files in the temporary dir.
4164 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4166 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4168 * Makefile.am: add lyxsocket.[Ch].
4170 * lyx_main.C (error_handler): handle SIGPIPE.
4172 2003-10-13 André Pönitz <poenitz@gmx.net>
4174 * BufferView_pimpl.C:
4179 * undo_funcs.[Ch]: use paroffset_type instead of
4180 ParagraphList::iterators to prevent multiple conversion
4181 (and get a more robust interface)
4183 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4187 * text3.C (dispatch): ditto
4189 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4192 move the onlyfile, use onlyfile instead of foundfile in a couple
4195 * DepTable.C (update): flush the error stream a bit more
4197 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * lyxserver.C (callback): adjust
4201 * lyxfunc.C (getStatus): add a missing brace in commented code
4202 (ensureBufferClean): reindent
4203 (dispatch): delete version taking a string
4205 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * LaTeX.C (deplog): move found file handlig from here...
4208 (handleFoundFile): .. to new function here.
4209 (deplog): make sure to discover several files mentioned on the
4212 2003-10-10 André Pönitz <poenitz@gmx.net>
4219 * text3.C: fix some of the tabular crashes
4221 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4223 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4225 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4227 2003-10-09 André Pönitz <poenitz@gmx.net>
4229 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4232 * BufferView_pimpl.C:
4233 * bufferview_funcs.C:
4244 * undo_funcs.C: adjust
4246 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * text2.C (incrementItemDepth): new function, use a backtracking
4249 algorithm to discover the correct item depth.
4250 (resetEnumCounterIfNeeded): new function, use a backtracking
4251 algorithm to discover if counter reset is needed.
4252 (setCounter): use them. Simplify a bit. Add different labels for
4253 different item depths for itemize.
4255 * paragraph.C (Paragraph): remove initialization of enumdepth
4258 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4259 enumerate and itemize. Change the type of itemdepth to signed char.
4261 2003-10-08 André Pönitz <poenitz@gmx.net>
4263 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4268 * tabular.[Ch]: fix crash after 'row-insert'
4270 2003-10-08 Angus Leeming <leeming@lyx.org>
4272 Fix doxygen warnings.
4274 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4275 Remove CutAndPaste:: prefix from header file declaration.
4277 * LColor.h (fill): remove LColor:: prefix from declaration.
4279 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4280 use lyx::depth_type rather than Paragraph::depth_type so that
4281 header file and .C file match.
4283 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4285 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4286 * aspell.C: \file aspell_local.C -> \file aspell.C
4287 * gettext.C: \file gettext.C -> \file src/gettext.C
4288 * gettext.h: \file gettext.h -> \file src/gettext.h
4289 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4290 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4291 * text.C: \file text.C -> \file src/text.C
4293 * toc.C: move comment so that doxygen is not confused.
4295 2003-10-07 Angus Leeming <leeming@lyx.org>
4297 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4299 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4302 * aspell_local.h: add forgotten std::string's.
4304 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4311 * text3.C: The Box patch. Fancybox support, minipage, parbox
4313 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4319 * ParagraphParameters.h:
4329 * lyxtextclasslist.h:
4332 * paragraph_pimpl.C:
4333 * textcursor.h: add <string> and other small fixes to make Lars'
4334 std::string patch compile with STLport.
4336 2003-10-06 Angus Leeming <leeming@lyx.org>
4338 * LColor.h: Add missing #include <string>.
4340 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4342 * All most all file in all subdirs: Make <string> be the prefered
4343 way of getting to std::string, add using declarations.
4345 2003-10-06 André Pönitz <poenitz@gmx.net>
4347 * metricsinfo.C: initialize LyXFont before changing attribute.
4348 (fixes the 'math in \emph is upright' bug)
4350 2003-10-06 André Pönitz <poenitz@gmx.net>
4352 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4354 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4357 * paragraph_pimpl.C: Small fixes to build using STLport
4359 2003-10-02 André Pönitz <poenitz@gmx.net>
4362 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4364 2003-10-01 André Pönitz <poenitz@gmx.net>
4366 * factory.C: assert early
4368 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * lyx_main.C: remove the global debug object
4372 * debug.h: adjust for new debugstream
4374 * debug.C: adjust for new debugstream and keep the global debug
4377 2003-09-22 Angus Leeming <leeming@lyx.org>
4379 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4380 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4381 an incomplete class LyXFont.
4383 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4385 * factory.C: bug fix in branches
4387 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4389 * lyxfunc.C (processKeySym): adjust
4391 (dispatch): change arg name from ev to func, adjust
4392 (sendDispatchMessage): ditto
4394 * lyx_main.C (defaultKeyBindings): adjust keybindings
4395 (deadKeyBindings): ditto
4397 * kbsequence.C (addkey): return a FuncRequest
4399 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4401 * kbmap.C (bind): take a FuncRequest as arg, adjust
4404 (defkey): change to take a FuncRequest as arg, adjust
4405 (findbinding): take a FuncRequest as arg, adjust.
4407 * funcrequest.h (operator=): added
4409 * funcrequest.C (FuncRequest): default kb_action changed from
4410 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4412 * buffer.C (dispatch): simplify
4413 (dispatch): adjust to take a FuncRequest as arg, adjust
4415 * boost.C (assertion_failed): change assertion message slightly
4417 * ToolbarBackend.C (read): simplify
4419 * MenuBackend.C (binding): adjust call to findbinding, add a
4420 message if no binding is found.
4422 (expandToc): correct by adding a empty FuncRequest
4424 * LyXAction.C: include <boost/assert.hpp>
4425 (isPseudoAction): delete function
4426 (LookupFunc): change name to...
4427 (lookupFunc): this. change return type to FuncRequest.
4428 (getActionName): take kb_action as arg, simplify
4429 (funcHasFlag): add an assert, simplify.
4431 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4433 * toc.C (action): return a FuncRequest, simplify
4435 * lyxfunc.C (processKeySym): adjust
4436 (getStatus): delete version that takes an int.
4438 (dispatch): delete version that takes action as int
4440 (sendDispatchMessage): simplify and adjust
4442 * funcrequest.C (getArg): take unsigned int as arg
4444 * ToolbarBackend.C (read): adjust
4445 (add): delete version that takes func as a string.
4446 (getIton): take a FuncRequest as arg
4448 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4451 * MenuBackend.C (MenuItem): add a new construct that only takes a
4452 Kind, simplify the constructor use for submenus.
4454 (expandLastfiles): adjust
4455 (expandDocuments): adjust
4456 (expandFormats): adjust
4457 (expandFloatListInsert): adjust
4458 (expandFloatInsert): adjust
4459 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4461 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4462 Remove class variables lyx_pseudo_map and lyx_arg_map
4464 * LyXAction.C (searchActionArg): delete function
4465 (getPseudoAction): delete function
4466 (retrieveActionArg): delete function
4467 (LookupFunc): make it return kb_action, simplify.
4468 (getActionName): simplify
4470 * factory.C (createInset): fix new bug
4472 2003-09-19 Angus Leeming <leeming@lyx.org>
4474 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4475 masterFilename_ parameter in the include inset.
4477 * factory.C (createInset): changes due to the changes to InsetInclude.
4479 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4481 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4483 2003-09-18 Angus Leeming <leeming@lyx.org>
4486 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4487 Inset::fillWithBibKeys.
4488 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4490 2003-09-18 Angus Leeming <leeming@lyx.org>
4492 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4494 (ctor): pass and store a 'Buffer const &'
4495 (buffer): new member function.
4497 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4498 '*this' to the LaTeXFeatures ctor.
4500 2003-09-18 Angus Leeming <leeming@lyx.org>
4506 * text.C: rename EnumLColor as LColor_color.
4508 2003-09-18 Angus Leeming <leeming@lyx.org>
4510 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4511 remove #include "insets/insetbase.h" from cursor.h.
4513 2003-09-18 Angus Leeming <leeming@lyx.org>
4515 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4516 InsetOld_code to remove #include "inset.h".
4518 * iterators.C: add #include "insets/inset.h"
4520 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4522 * BufferView.C: remove more locking stuff that apparently doesn't
4523 do anything sensible.
4525 2003-09-16 André Pönitz <poenitz@gmx.net>
4528 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4531 2003-09-16 Angus Leeming <leeming@lyx.org>
4533 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4535 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4538 * paragraph.h: remove #include "lyxfont.h". Forward declare
4541 2003-09-16 Angus Leeming <leeming@lyx.org>
4543 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4544 of support/textutils.h.
4545 (isWord): move the contents of support/textutils.h's IsWordChar here.
4551 * text2.C: add #include "paragraph.h".
4554 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4556 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * LaTeX.C: use namespace alias for lyx::support::os
4564 2003-09-16 Angus Leeming <leeming@lyx.org>
4567 * bufferview_funcs.C:
4570 * paragraph_pimpl.C:
4572 * text.C: add #include "LColor.h".
4574 2003-09-16 Angus Leeming <leeming@lyx.org>
4576 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4577 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4579 Store the FontBits::color variable as an int rather than as an
4580 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4583 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4584 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4585 string calls together.
4587 * lyxrc.C: add #include "LColor.h".
4589 2003-09-15 Angus Leeming <leeming@lyx.org>
4591 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4594 2003-09-15 Angus Leeming <leeming@lyx.org>
4596 * LColor.h: add an EnumLColor wrapper for LColor::color.
4598 * lyxfont.[Ch] (color, setColor, realColor):
4599 * lyxtext.h, text.C (backgroundColor):
4600 pass EnumLColor args to/from the functions, rather than LColor::color
4604 * lyxtext.h: forward declare EnumLColor.
4606 * lyx_main.C: add #include "LColor.h".
4608 2003-09-15 Angus Leeming <leeming@lyx.org>
4610 * .cvsignore: add lyx-gtk.
4612 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4617 * ParagraphParameters.C
4621 * bufferview_funcs.C
4631 * vc-backend.C: remove usage of STRCONV
4633 2003-09-15 Angus Leeming <leeming@lyx.org>
4635 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4636 explicitly define the color passed to the painter.
4638 2003-09-15 Angus Leeming <leeming@lyx.org>
4640 * bufferparams.C (BufferParams): reorder member initializers to avoid
4643 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4645 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4646 * text.C (updateRowPositions): remove an unusual nop
4648 2003-09-12 André Pönitz <poenitz@gmx.net>
4650 * BufferView_pimpl.C:
4659 * Counters.[Ch]: finish the 'automatic counters' job
4661 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4663 * aspell.C: include <boost/assert.cpp> (compile fix)
4665 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4667 * boost.C (assertion_failed): use lyx::support::abort instead of
4670 2003-09-10 Angus Leeming <leeming@lyx.org>
4672 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4673 with their _fwd progeny.
4675 2003-09-09 Angus Leeming <leeming@lyx.org>
4677 134 files throughtout the source tree: replace 'using namespace abc;'
4678 directives with the appropriate 'using abc::xyz;' declarations.
4680 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4682 * boost.C (emergencyCleanup): moved here from LAssert.c
4683 (assertion_failed): new function, called by BOOST_ASSERT
4685 * several files: change Assert to BOOST_ASSERT
4687 2003-09-09 Angus Leeming <leeming@lyx.org>
4689 * buffer.[Ch]: Add an Impl class and move Buffer's member
4690 variables into it. As a result move several header files out of
4693 Add header files to lots of .C files all over the tree as a result.
4695 2003-09-09 Angus Leeming <leeming@lyx.org>
4697 * buffer.[Ch]: make Buffer's member variables private. Add
4700 Lots of changes all over the tree as a result.
4702 2003-09-08 Angus Leeming <leeming@lyx.org>
4704 * graph.C: #include <config.h>.
4706 2003-09-08 Angus Leeming <leeming@lyx.org>
4710 * BufferView_pimpl.C:
4739 * toc.C: remove redundant using directives.
4741 2003-09-07 Angus Leeming <leeming@lyx.org>
4743 * LaTeXFeatures.h: remove #include "support/types.h".
4744 * ToolbarBackend.h: remove #include <algorithm>.
4745 * changes.h: remove #include <ctime>.
4746 * debug.h: remove #include <iosfwd>.
4747 * graph.h: remove #include "support/std_string.h".
4748 * lyx_main.h: remove #include <csignal>.
4749 * lyxlex_pimpl.h: remove #include <fstream>.
4750 * sgml.h: remove #include <algorithm>, <utility>.
4751 * toc.h: remove #include "support/std_ostream.h".
4752 Add #include <iosfwd>.
4754 2003-09-07 Angus Leeming <leeming@lyx.org>
4756 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4758 * converter.h: forward declare LatexRunParams.
4759 * encoding.h: remove #include "lyxrc.h".
4760 * lyxtext.h: remove #include "LColor.h".
4761 * lyxtextclass.h: remove #include "support/types.h".
4762 * trans.h: remove #include "tex-accent.h".
4763 * trans_mgr.h: remove #include "tex-accent.h".
4764 * insets/inset.h: remove #include "support/types.h", <vector>.
4765 * insets/insetcollapsable.h: remove #include "LColor.h".
4766 * insets/insetinclude.h: remove #include "dimension.h".
4767 * insets/insetlatexaccent.h: remove #include "dimension.h".
4768 * insets/insetoptarg.h:: remove #include "insettext.h".
4769 * insets/insettext.h: remove #include "dimension.h",
4770 <boost/shared_ptr.hpp>
4772 * insets/renderers.h: add #include "dimension.h".
4773 * insets/updatableinset.h: add #include "support/types.h".
4775 * many .C files: Associated changes.
4777 2003-09-06 Angus Leeming <leeming@lyx.org>
4779 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4780 one, inside testInvariant.
4782 * PrinterParams.C: new file.
4783 * PrinterParams.[Ch]: move the function bodies out of line.
4785 2003-09-06 Angus Leeming <leeming@lyx.org>
4787 * ParagraphParameters.h: forward declare ParameterStruct rather than
4788 including its header file.
4789 (depth): moved out-of-line.
4791 2003-09-06 Angus Leeming <leeming@lyx.org>
4793 * BufferView_pimpl.h:
4796 * lyxfunc.h: forward declare LyXKeySym rather than
4797 #include "frontends/LyXKeySym.h".
4799 * BufferView_pimpl.C:
4802 * lyxfunc.C: associated changes.
4804 2003-09-06 Angus Leeming <leeming@lyx.org>
4806 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4807 As a result, can remove the #include "insets/inset.h" from BufferView.h
4809 2003-09-06 Angus Leeming <leeming@lyx.org>
4811 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4812 As a result, can remove the #include "insets/inset.h" from BufferView.h
4814 2003-09-06 Angus Leeming <leeming@lyx.org>
4820 * bufferview_funcs.C:
4821 * BufferView_pimpl.C:
4826 * ParagraphParameters.C:
4831 * frontends/controllers/ControlDocument.C:
4832 * insets/insetcaption.C: rearrange the #includes into some sort of
4835 * buffer.h: remove #includes ErrorList.h, undo.h
4837 2003-09-06 Angus Leeming <leeming@lyx.org>
4839 * support/types.h: add a 'depth_type' typedef, used to store the
4840 nesting depth of a paragraph.
4843 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4844 defining explicitly.
4847 * paragraph_funcs.h:
4848 * ParagraphParameters.h:
4849 * sgml.h: use lyx::depth_type rather than Paragraph or
4850 ParameterStruct's depth_type.
4853 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4856 * BufferView_pimpl.C:
4858 * ParagraphParameters.C:
4861 * bufferview_funcs.C:
4868 * frontends/LyXView.C:
4869 * frontends/controllers/ControlDocument.C:
4870 * frontends/controllers/ControlErrorList.C:
4871 * insets/insetbibitem.C:
4872 * insets/insetbranch.C:
4873 * insets/insetcaption.C:
4874 * insets/insetcollapsable.C:
4875 * insets/insetenv.C:
4876 * insets/insetert.C:
4877 * insets/insetfloat.C:
4878 * insets/insetfoot.C:
4879 * insets/insetfootlike.C:
4880 * insets/insetnewline.C:
4881 * insets/insetquotes.C:
4882 * insets/insettabular.C:
4883 * insets/insettext.C:
4884 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4886 * frontends/controllers/ControlChanges.C: #include "changes.h".
4888 2003-09-06 Angus Leeming <leeming@lyx.org>
4890 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4891 than #including paragraph.h.
4894 * RowList.h: deleted. Superfluous.
4904 * insets/insettext.h: use ParagraphList_fwd.h rather than
4907 * paragraph.h: don't forward declare ParagraphList.
4910 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4911 rather than ParagraphList.h. paragraph.h is still needed for the
4912 Paragraph::depth_type parameters.
4914 * textcursor.h: enable it to compile stand-alone in light of the
4917 * bufferview_funcs.C:
4929 * frontends/controllers/ControlParagraph.C:
4930 * frontends/controllers/ControlTabular.C:
4931 * insets/insetmarginal.C:
4932 * insets/insetminipage.C:
4933 * insets/insetnote.C:
4934 * insets/insetoptarg.C: add header files needed to compile again.
4936 2003-09-06 Angus Leeming <leeming@lyx.org>
4938 * RowList_fwd.h: new file, forward-declaring Row rather than
4939 #including lyxrow.h.
4944 * insets/insettext.h: use it instead of RowList.h
4946 * bufferview_funcs.C:
4953 * text3.C: #include "RowList.h".
4955 2003-09-05 Angus Leeming <leeming@lyx.org>
4957 * factory.C (createInset):
4958 * vspace.C (c-tor): replace sscanf call with an istringstream.
4959 * ispell.C: re-add missing HP/UX headers.
4960 * lyxserver.C: re-add missing os2 headers.
4962 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4971 * text3.C: re-add missing system headers, needed for 2.95.2.
4973 2003-09-05 Angus Leeming <leeming@lyx.org>
4975 Changes most place everywhere due to the removal of using directives
4976 from support/std_sstream.h.
4978 2003-09-05 Angus Leeming <leeming@lyx.org>
4980 Replace LString.h with support/std_string.h,
4981 Lsstream.h with support/std_sstream.h,
4982 support/LIstream.h with support/std_istream.h,
4983 support/LOstream.h with support/std_ostream.h.
4985 Changes resulting throughout the tree.
4987 2003-09-05 Angus Leeming <leeming@lyx.org>
4989 * sgml.h: ensure that the header file can be compiled stand-alone.
4990 * *.C: strip out redundant #includes. (320 in total.)
4992 2003-09-04 Angus Leeming <leeming@lyx.org>
4994 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4995 here (from getPackages).
4997 * debug.[Ch]: add a new EXTERNAL tag.
4999 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5001 * text2.C (cursorEnd): simplify
5003 (getColumnNearX): adjust
5005 * text.C (computeBidiTables): adjust
5008 * rowpainter.C (paintChars): adjust
5009 (paintSelection): adjust
5010 (paintChangeBar): adjust
5013 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5015 (numberOfSeparators): adjust
5017 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5023 * text3.C: Restricts the mouse click functionality
5024 of insets like bibtex, include, toc and floatlist to the visible
5025 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5026 up the dialogs. Cursor has to be in front of the inset (i.e.
5027 start of row) for this to function.
5029 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5031 * bufferview_funcs.C (currentState): output row information
5033 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5035 * bufferview_funcs.C (currentState): output paragraph position
5037 2003-09-04 Angus Leeming <leeming@lyx.org>
5039 * FloatList.h: move out #include "Floating.h".
5040 * LaTeX.h: move out #include "DepTable.h".
5041 * LyXAction.h: move out #include "funcrequest.h".
5042 * buffer.h: move out #include "author.h", "iterators.h".
5043 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5044 * lyx_main.h: move out #include "errorlist.h".
5045 * lyxfunc.h: move out #include "FuncStatus.h".
5046 * lyxtext: move out #include "lyxcursor.h".
5047 * paragraph_pimpl.h: move out #include "counters.h".
5049 2003-09-03 Angus Leeming <leeming@lyx.org>
5051 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5052 preamble_snippets list, enabling us to add snippets to the preamble
5053 only if the snippet was not there already.
5055 2003-09-04 Angus Leeming <leeming@lyx.org>
5057 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5059 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5061 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5064 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5066 * BranchList.C: point fix, earlier forgotten
5068 2003-09-02 Angus Leeming <leeming@lyx.org>
5070 * box.C (contains): renamed from 'contained' after a fantastic
5073 2003-09-02 John Levon <levon@movementarian.org>
5079 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5081 2003-09-02 John Levon <levon@movementarian.org>
5083 * text2.C: simplification of cursorEnd(), including partial
5086 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5088 * buffer.C (readFile): add a space
5090 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5092 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5094 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5096 * buffer.C (readFile): new function, take a filename and a
5097 ParagraphList::iterator
5099 (readFile): adjust, make it private. don't use setStream, make
5100 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5101 always contain the filename.
5103 * BufferView.C (insertLyXFile): simplify and make it work for
5106 2003-08-30 John Levon <levon@movementarian.org>
5108 * Makefile.am: fix dist (from Kayvan)
5110 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5112 * most files: change to use const Buffer refs
5114 2003-08-27 André Pönitz <poenitz@gmx.net>
5116 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5117 on top of ownerPar().
5119 2003-08-27 John Levon <levon@movementarian.org>
5121 * funcrequest.C: properly initialise POD members
5123 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5125 * lyxtext.h (top_y): move top_y from here
5130 * BufferView_pimpl.[Ch]: to here
5131 * frontends/screen.C:
5132 * insets/insettabular.C:
5133 * insets/insettext.C: adjust
5134 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5136 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5139 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5141 2003-08-26 André Pönitz <poenitz@gmx.net>
5143 * paragraph_func.[Ch] (outerPar): new function
5146 * paragraph_funcs.C:
5147 * paragraph_funcs.h:
5148 * paragraph_pimpl.C:
5149 * text2.C: remove Inset::par_owner
5151 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5156 * text2.C: eliminates the needFullRow/display() stuff
5157 altogether, putting the logic in metrics/draw in the insets.
5159 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5161 * text2.C (redoParagraphInternal, redoParagraphs):
5162 * text.C (redoParagraph): add a call to updateRowPositions at the
5163 end of each 'metrics-like' call. Remove all others.
5164 (getRow): remove the 'y-computing' version.
5165 (getRowNearY): do not compute nor return the real y. Solve the
5166 'y < 0' problem and simplify.
5168 2003-08-22 Angus Leeming <leeming@lyx.org>
5170 * *.[Ch]: clean-up of licence and author blurbs.
5171 Also move config.h out of a few .h files and into a few .C files.
5173 2003-08-22 André Pönitz <poenitz@gmx.net>
5175 * lyxrow.[Ch]: add x_ and *fill_ members
5180 * text2.C: adjust/remove prepareToPrint() calls
5182 2003-08-22 André Pönitz <poenitz@gmx.net>
5184 * lyxrow.[Ch]: add end_ member
5186 * lyxrow_funcs.C: use LyXRow::end_
5188 * lyxtext.h (singleWidth): add LyXFont parameter
5191 * text2.C: adjust LyXText::singleWidth() calls
5193 * text.C (redoParagraph): simplify row breaking logic
5196 2003-08-19 André Pönitz <poenitz@gmx.net>
5198 * funcrequest.C: initialize button_ member
5201 * rowpainter.[Ch]: interface consolidation
5203 2003-08-18 André Pönitz <poenitz@gmx.net>
5206 * BufferView_pimpl.C:
5208 * paragraph_funcs.C:
5210 * text3.C: remove LyXScreen::draw() and fitCursor calls
5212 * BranchList.h: remove spurious semicolons
5214 * MenuBackend.C: fix branchlist related crash
5216 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5224 * bufferparams.[Ch]:
5228 * text3.C: implements the 'branch inset'
5229 idea. This allows the output of various versions of a document
5230 from a single source version, selectively outputing or suppressing
5231 output of parts of the text.
5232 This implementation contains a 'branch list editor' in a separate
5233 tab of the document settings dialog. Branches are user definable
5234 and have a "display colour" to distinguish them on-screen.
5236 ColorHandler was somewhat cleaned up.
5237 (1) make possible a dynamically growing LColor list by allowing
5238 the graphic context cache to grow along (vector);
5239 (2) eliminate an IMHO unnecessary step in colour allocation.
5241 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5243 * BufferView_pimpl.C: compile fix
5245 2003-08-15 André Pönitz <poenitz@gmx.net>
5247 * rowpainter.C: remove extra metrics calls
5249 * lyxtext.h: merge the two constructors into a single one,
5250 pass reference to owner's par list
5252 * BufferView_pimpl.C:
5256 2003-08-15 André Pönitz <poenitz@gmx.net>
5258 * lyxrow_funcs.[Ch]:
5261 * paragraph_funcs.C:
5266 * text_funcs.C: split LyXText::rowlist_ into individual
5267 Paragraph::rows_ chunks
5270 * BufferView_pimpl.[Ch]:
5273 * text3.C: remove toggleSelection()
5275 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5277 * bufferlist.C: beautify two alerts (shorter text of buttons)
5278 * buffer.C: Remove redundant ' ' from message
5280 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5281 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5282 rename VALIGN_CENTER to VALIGN_MIDDLE
5284 2003-08-11 André Pönitz <poenitz@gmx.net>
5286 * lyxtext.h (getPar):
5287 * text.C: new function
5289 2003-08-11 André Pönitz <poenitz@gmx.net>
5292 * tracer.[Ch]: remove unneeded files
5294 * InsetList.[Ch]: remove resizeInsetsLyXText()
5299 * text3.C: merge insertParagraphs() and appendParagraph()
5300 remove breakAgain(), update()
5302 * BufferView_pimpl.[Ch]:
5303 * bufferview_funcs.[Ch]:
5307 * tabular.C: adjust after text & InsetList changes.
5309 2003-08-08 André Pönitz <poenitz@gmx.net>
5311 * text.C (insertChar, backspace): replace rowlist fiddling
5312 with rebreak of full par
5315 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5316 checkParagraph, updateInset): removed
5318 2003-08-07 André Pönitz <poenitz@gmx.net>
5321 * text3.C: merge some LFUN handlers, remove dead code
5323 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5325 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5327 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5329 * text2.C (DEPM): fix part of bug 1255 and 1256
5331 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5333 * BufferView_pimpl.C (workAreaDispatch): change to use
5334 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5335 that are no mouse related.
5337 2003-08-05 André Pönitz <poenitz@gmx.net>
5340 * BufferView_pimpl.[Ch]:
5341 * bufferview_funcs.C:
5343 * text3.C: rip out "deep update"
5345 * textcursor.[Ch] (last_sel_cursor): remove unused member
5347 2003-08-04 André Pönitz <poenitz@gmx.net>
5350 * BufferView_pimpl.[Ch]:
5351 * ParagraphParameters.C:
5352 * bufferview_funcs.C:
5358 * text3.C: replace "complicated" BufferView::update(...) calls with
5361 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5363 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5365 * Makefile.am (lyx_SOURCES): add paper.h
5367 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5369 * Makefile.am: move things around so that both lyx-qt and
5370 lyx-xforms can be built (according to --with-frontend). Then lyx
5371 is a symbolic link to lyx-[firstfrontend]
5373 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5375 * Always use std::endl with lyxerr
5377 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5379 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5381 2003-08-01 André Pönitz <poenitz@gmx.net>
5384 * BufferView_pimpl.[Ch]:
5386 * text3.C: merge BufferView::repaint() and BufferView::update()
5388 2003-08-01 José Matos <jamatos@lyx.org>
5390 * buffer.[Ch]: file_format is no longer a buffer data element.
5392 2003-08-01 André Pönitz <poenitz@gmx.net>
5397 * text2.C: make redoParagraph more independent of current cursor
5399 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5401 * text2.C: remove unneeded members
5403 2003-07-30 André Pönitz <poenitz@gmx.net>
5405 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5407 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5408 create a single function...
5410 * paragraph_funcs.C (moveItem): ... here.
5413 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5415 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5417 * LColor.[Ch]: Add comment and greyedout logical colors.
5419 2003-07-30 André Pönitz <poenitz@gmx.net>
5421 * tabular.C: don't use Assert too heavily. This crashes where it
5424 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5426 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5427 is disabled (bug 1232)
5429 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5431 * factory.C: limited 'arg' scope
5433 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5435 * factory.C: fixed Note submenu issues
5437 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5439 * factory.C: submenu for Note/Comment/Greyedout
5441 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5444 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5446 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5449 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5450 greyedout. Patch provided by Jürgen Spitzmüller.
5452 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5454 * kbmap.C (read): fix error message when reading bind files
5456 2003-07-29 Angus Leeming <leeming@lyx.org>
5458 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5459 certainly does not do what it purports to do. I am doing it, and
5460 us, a favour by killing it.
5462 2003-07-28 José Matos <jamatos@lyx.org>
5464 * buffer.C (readBody, do_writeFile):
5465 * paragraph.C(readParagraph): \end_document replaces \the_end.
5467 2003-07-29 André Pönitz <poenitz@gmx.net>
5470 * BufferView_pimpl.[Ch]:
5474 * textcursor.[Ch]: remove toggleToggle & Co
5476 2003-07-28 José Matos <jamatos@fep.up.pt>
5478 * buffer.C (readParagraph):
5479 * params_func (readParToken, readParagraph):
5480 * paragraph.C (write): \layout -> \begin_layout.
5482 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * lyxlex_pimpl.C (setFile): clean up slightly.
5486 * bufferparams.h: add compressed var
5488 * buffer_funcs.C (readFile): adjust for LyXLex change
5489 (newFile): ditto + simplify
5491 * buffer.C (writeFile): handle writing of compressed files
5493 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5494 Check if the file is compressed and set a bufferparm if so.
5496 * Makefile.am (lyx_LDADD): remove explicit -lz
5498 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5500 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5501 makeDocBookFile): put the real LyX version in the first line of
5505 * version.C.in: remove lyx_docversion
5507 * tabular.C (write_attribute): add a template-based version to
5508 write enums properly
5510 2003-07-28 André Pönitz <poenitz@gmx.net>
5515 * text3.C: use doubles again for x-coordinates. They are needed.
5517 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * messages.C (getLocaleDir): use lyx_localedir()
5521 * lyxlex_pimpl.C (setFile): compress stuff
5523 * buffer.C (writeFile): add some compression stuff
5524 (do_writeFile): new func, dont call expliti close... will this
5527 * Makefile.am (lyx_LDADD): add -lz
5529 2003-07-28 José Matos <jamatos@fep.up.pt>
5531 * buffer.C: increment file format.
5532 * paragraph_funcs (readParagraph, readParToken):
5533 * paragraph.C (readParagraph): add \end_layout.
5535 2003-07-27 Angus Leeming <leeming@lyx.org>
5537 * Makefile.am: remove special casing for configure-time setting of
5538 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5540 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5541 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5543 2003-07-26 André Pönitz <poenitz@gmx.net>
5545 * paragraph_func.[Ch]:
5546 * paragraph.C (realizeFont): inline it whereever it is used
5551 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5554 2003-07-26 André Pönitz <poenitz@gmx.net>
5558 * text2.C: get rid of LyXText::need_break_row
5560 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5562 * toc.[Ch]: put namespace toc inside namespace lyx
5564 * MenuBackend.C (expandToc2): adjust for lyx::toc
5567 * lyxfunc.C (dispatch): adjust for lyx::find
5569 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5570 lyx::find instead. Reorganize a bit.
5571 (LyXReplace): rename to replace
5572 (LyXFind): rename to find
5574 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5577 2003-07-26 André Pönitz <poenitz@gmx.net>
5579 * text.C (setHeightOfRow): restrict scope of temporary variable
5581 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5582 code (never has been used?)
5584 2003-07-27 Asger Alstrup <alstrup@local>
5586 * text.C (fill): Optimise algorithm to exploit that we can reuse
5587 the LyXFont for many characters.
5588 (setHeightOfRow): Same thing.
5589 (rowBreakPoint): Same thing.
5591 2003-07-26 Asger Alstrup <alstrup@local>
5593 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5595 * text.C (singleWidth): Spurious font copying in hot-spot
5596 singleWidth avoided. Reorder tests for arabic for efficiency.
5598 * text.C (fill): handle empty paragraphs better.
5600 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5603 * encoding.h: add includes
5605 * lyxrc.C: remove reading of bind files
5607 * lyx_main.C (init): setup bindings and menus only if we have a
5610 * kbmap.C (read): new method. Do the actual reading of bind
5613 * converter.C (dvipdfm_options):
5616 (output): adapt PAPER_* enums.
5618 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5620 * bufferparams.h: remove paper-related enums from there
5622 * paper.h: New file. A trivial header file to hold paper-related
5623 enums. It should later expand to contain many paper-related
5626 * lyxrc.C: declare extern displayTranslator
5628 2003-07-27 José Matos <jamatos@fep.up.pt>
5630 * tabular.[Ch] (linuxdoc): add support for tables and figures
5633 2003-07-27 José Matos <jamatos@fep.up.pt>
5635 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5636 consistency in both functions.
5637 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5639 2003-07-26 Asger Alstrup <alstrup@local>
5641 * rowpainter.C (paintRows): Change algorithm to work directly on
5642 the insets rather than asking every character in the document
5643 whether its an inset.
5645 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5647 * buffer.C (openFileWrite): factorize some code
5649 2003-07-26 Angus Leeming <leeming@lyx.org>
5652 * lyx_main.[Ch]: replace occurances of system_tempdir with
5655 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5657 * rename Inset to InsetOld
5659 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5661 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5662 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5663 which I think is a bit clearer. EDIT is gone, since it was
5664 premature optimisation, and broken for mathed anyway.
5665 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5666 with cursor positioning in insets as well (math insets still do not
5667 work, but that's a different story anyway.) It mysteriously
5668 crashes sometimes with undo in the first paragraph, but I'm fairly
5669 confident that this is a compiler bug.
5671 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5673 * paragraph.C (Paragraph): adjust for new clone return type
5675 (copyIntoMinibuffer): ditto
5677 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5679 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5680 by not having a special case, and always doing a full rebreak of
5681 the document after undo.
5683 2003-07-23 Angus Leeming <leeming@lyx.org>
5685 * factory.C (createInset): InsetExternal::setParams now takes a
5688 2003-07-23 Angus Leeming <leeming@lyx.org>
5690 * factory.C (createInset): changed interface to the external and
5691 graphics mailers' string2params functions.
5693 2003-07-23 Angus Leeming <leeming@lyx.org>
5695 * factory.C (createInset): pass a
5696 Buffer const * parameter to InsetExternalMailer's string2params.
5698 2003-07-22 John Levon <levon@movementarian.org>
5700 * Thesaurus.h: include the right aiksaurus header
5702 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5704 * MenuBackend.C (expand): check menu shortcuts unconditionally
5706 2003-07-21 Angus Leeming <leeming@lyx.org>
5708 * factory.C (createInset): pass a
5709 buffer_path parameter to InsetGraphicsMailer's string2params.
5711 2003-07-21 Angus Leeming <leeming@lyx.org>
5713 * BufferView_pimpl.C (buffer):
5716 * lyxfunc.C (dispatch):
5717 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5718 rather than the grfx shortcut.
5720 2003-07-21 André Pönitz <poenitz@gmx.net>
5722 * rowpainter.C: remove unused variables
5725 * tabular_funcs.h: move to tabular.C
5726 * Makefile.am: adjust
5728 * tabular.[Ch]: basic optical cleaning
5730 * author.h: pass references, not values
5732 2003-07-18 André Pönitz <poenitz@gmx.net>
5740 * text3.C: two-phase drawing for InsetText and InsetTabular
5741 some float -> int changes.
5743 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5745 * lyx_main.C: fix the fix
5747 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5749 * lyx_main.C: fix a crash in batch mode if no files specified
5752 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5754 * format.[Ch] (papersize): moved to BufferParams
5755 * converter.[Ch] (dvips_options): moved to BufferParams
5756 (dvipdfm_options): moved to anon namespace
5757 * bufferparams.[Ch]: added above functions.
5759 2003-07-17 André Pönitz <poenitz@gmx.net>
5763 * text2.C: don't call inset->update() anymore
5765 * metricsinfo.[Ch]: add convenience constructor
5767 2003-07-16 André Pönitz <poenitz@gmx.net>
5772 * text2.C: replace the LyXCursor::irow_ member with
5773 on-demand computation of the value
5775 2003-07-16 John Levon <levon@movementarian.org>
5777 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5779 2003-07-15 André Pönitz <poenitz@gmx.net>
5782 * text2.C: remove no more needed refresh_row
5784 2003-07-15 André Pönitz <poenitz@gmx.net>
5789 * text3.C: refresh_status tristate -> need_update bool
5791 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5793 * lyxtext.h (init): remove reinit argument (act as if always true)
5794 * text2.C: adjust to that
5796 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5798 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5799 * text3.C: use it to delete selections in some cases
5800 (bugs 441, 673, 702, 954).
5802 2003-07-14 André Pönitz <poenitz@gmx.net>
5804 * rowpainter.[Ch]: reduce interface
5806 2003-07-14 André Pönitz <poenitz@gmx.net>
5808 * BufferView_pimpl.C:
5809 * text2.C: adjust after removing unused BufferView * argument
5811 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5813 * text2.C (init): fix a crash fired on resize
5815 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5817 * buffer.[Ch]: added new closing signal
5818 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5819 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5820 BufferView::Pimpl via the closing the signal
5822 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5824 * buffer.[Ch]: take out all bv-related from buffer
5826 * BufferView_pimpl.[Ch]: connect to new signals
5827 * CutAndPaste.C: removed useless asserts
5828 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5831 * lyxfunc.C: moved view-related funciontality from vc here
5832 * paragraph.C: removed outdated comments
5835 2003-07-10 André Pönitz <poenitz@gmx.net>
5837 * BufferView_pimpl.C:
5841 * text2.C: remove InsetText::InnerCache, clean up consequences
5843 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5845 * ispell.C: fix two typos in error messages
5847 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5849 * Extend Note inset to other forms of annotation like Comment
5850 and Greyedout. Right button click gives dialog.
5852 Files modified or added (+):
5856 * ControlNote.[Ch] +
5858 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5859 frontends/controllers
5863 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5865 * aspell.C: add missing namespace lyx::support
5867 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5869 * BufferView.[Ch] (newFile): Add
5870 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5871 * LaTeX.[Ch] (message): added this signal and use it
5872 * buffer.[Ch] (busy, message): added these signals and use them
5873 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5877 * importer.C: use buffer signals instead of direct bv calling
5878 * lyx_cb.[Ch] (ShowMessage): removed
5881 * paragraph_funcs.C:
5882 * text2.C: use buffer signals
5884 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5886 * introduce namespace lyx::graphics
5888 2003-07-02 André Pönitz <poenitz@gmx.net>
5890 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5892 2003-07-01 André Pönitz <poenitz@gmx.net>
5899 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5900 text*.C to text_func.C
5902 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5904 * introduce namespace lyx::support
5906 2003-06-30 André Pönitz <poenitz@gmx.net>
5911 * text.C: re-enable --with-included-string
5913 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * textcursor.C: add <config.h>
5917 * text.C (getWord): remove const from word_location arg
5919 * lyxvc.C (getLogFile): fix const type order
5921 * lyxtext.h: remove const from word_location arg, add arg name
5923 * lyxlayout.h: currect type on labeltype.
5925 * importer.C: correct \file
5927 * converter.C (intToFormat): use std:: on ret val, ws changes
5929 * bufferlist.h: correct \file
5931 * buffer.C (makeLinuxDocFile): fix const type order
5932 (makeDocBookFile): ditto
5933 (fillWithBibKeys): use std:: on stdlib args.
5935 * CutAndPaste.C: fix authors.
5936 (availableSelections): use std:: on return vector
5938 2003-06-27 André Pönitz <poenitz@gmx.net>
5940 * BufferView_pimpl.C:
5941 * bufferview_funcs.C:
5949 * text3.C: remove LyXCursor::row_ member
5952 * text.C: rename fullRebreak() to partialRebreak() and implement
5953 a fullRebreak() that really bereks fully
5955 * textcursor.h: new struct for cursor-related data
5957 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5959 * lyx_main.C (LyX): get full path of document loaded on the
5962 2003-06-26 André Pönitz <poenitz@gmx.net>
5964 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5965 remove unused/broken operator>,<,>=.
5967 * text.C: remove only use of broken operator<= in an Assert().
5969 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5971 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5972 moved errorlist_.clear to showErrorList
5974 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5976 * converter.C (scanLog, runLaTeX):
5977 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5978 move the bv->showErrorList call to the callers
5979 * lyxfunc.C: i.e. here...
5981 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5982 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5983 namespace, the second to...
5984 * buffer_funcs (BufferFormat, parseErrors): added
5985 * errorlist.C (ErrorList(TeXErrors const &)): removed
5987 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5989 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5991 2003-06-24 "Garst R. Reese" <reese@isn.net>
5995 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5997 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5999 * version.C.in: change docversion to 1.4
6001 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6003 * buffer.C: fix a bug just introduced
6005 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6007 * buffer.[Ch]: added the parseError signal and use it, removed
6009 * BufferView.[Ch] (addError): moved to ...
6010 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6011 to the Buffer::parseError signal to catch (guess what) parse errors
6012 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6014 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6016 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6017 ability to create a buffer and to return an existing one from
6018 the list. Moved these functions to...
6019 * buffer_funcs.[Ch]: added
6020 * BufferView.[Ch] (loadLyXFile): added
6021 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6022 job removed from bufferlist::loadLyXFile.
6023 * buffer.C (setReadOnly): make it work without view
6024 (i.e added an if (users))
6026 2003-06-19 Angus Leeming <leeming@lyx.org>
6029 * LyXAction.C (init):
6030 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6031 with LFUN_DIALOG_SHOW <name> <data>.
6033 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6035 * CutAndPaste.C (availableSelections): small compilation fix for
6036 ancient (gcc 2.9x) compilers
6038 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6040 * text3.C (cursorNext): add tmp var
6042 * text2.C (updateCounters): for function calling out of for clause
6043 (replaceSelectionWithString): ditto
6044 (insertStringAsParagraphs): ditto
6045 (getColumnNearX): add tmp var
6046 (setCursorFromCoordinates): add tmp var
6047 (cursorDownParagraph): add tmp var
6048 (deleteEmptyParagraphMechanism): add tmp var
6050 * text.C (insertChar): add tmp var
6052 * rowpainter.C (paintDepthBar): add tmp var
6054 * CutAndPaste.C (availableSelections): potentially check all
6055 paragraphs in a cut to fill the shown strings.
6057 2003-06-18 André Pönitz <poenitz@gmx.net>
6059 * kbmap.[Ch]: use vector<> instead of list<>
6061 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6063 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6064 pasteSelection with index
6066 * text2.C (pasteSelection): modify, call pasteSelection with index
6068 * paragraph.C (asString): reimplement version with no interval to
6069 call the one with interval.
6071 * lyxtext.h: add index arg to pasteSelection
6073 * MenuBackend.C (MenuItem): handle PasteRecent
6074 (Menu::read::Menutags): add md_pasterecent
6076 (expandPasteRecent): new function
6079 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6081 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6083 (availableSelections): new function
6085 2003-06-17 Angus Leeming <leeming@lyx.org>
6087 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6089 2003-06-17 Angus Leeming <leeming@lyx.org>
6092 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6094 * lyxfunc.C (dispatch): invoke it.
6096 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6098 * iterators.C (operator++, ParPosition): reintroduce some
6099 const_cast for the benefit of older compilers.
6101 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6103 * text3.C (dispatch): do not modify clipboard when doing
6104 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6105 LFUN_DELETE_SKIP on a selection selection
6107 2003-06-16 André Pönitz <poenitz@gmx.net>
6113 * tabular.[Ch]: IU of clone() and getLabelList();
6115 2003-06-13 André Pönitz <poenitz@gmx.net>
6117 * tabular.h: compactification
6119 2003-06-12 André Pönitz <poenitz@gmx.net>
6123 * tabular_funcs.h: some renaming plus whitespace
6125 2003-06-12 André Pönitz <poenitz@gmx.net>
6128 * BufferView_pimpl.C:
6134 * toc.C: Return a Paragraph & for ParIterator::operator*()
6136 2003-06-11 John Levon <levon@movementarian.org>
6140 * ToolbarBackend.C: add "Toolbars" section and
6143 2003-06-10 Angus Leeming <leeming@lyx.org>
6146 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6148 * lyxfunc.C (dispatch): invoke it.
6150 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6152 * main.C: protect <ios> with HAVE_IOS
6153 (main): protect sync_with_stdio with HAVE_IOS
6155 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6157 * text2.C (cutSelection): adjust
6158 (pasteSelection): adjust
6160 * messages.C: handle get of empty string
6162 * main.C (main): use sync_with_stdio(false)
6164 * lyxfunc.C (dispatch): adjust
6166 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6167 (WriteAs): remove unneeded BufferView arg.
6169 * bufferparams.h: use correct types on papersize, papersize2 and
6172 * bufferparams.C (readToken): adjust for type
6173 (writeLaTeX): add missing cases to switch.
6175 * bufferlist.C (quitWriteBuffer): adjust
6178 * buffer.C (asciiParagraph): remove some commented code.
6180 * CutAndPaste.C: remove current_view extern variable.
6181 (cutSelection): add BufferParams arg.
6182 (eraseSelection): add BufferParams arg.
6183 (pasteSelection): add Buffer const & arg
6185 2003-06-07 John Levon <levon@movementarian.org>
6188 * paragraph_funcs.C:
6189 * paragraph_pimpl.C:
6193 * paragraph.C: allow InsetERT to freely space lines,
6194 and some consolidation of code
6196 2003-06-06 José Matos <jamatos@fep.up.pt>
6198 * buffer.C (makeDocBookFile): fix bug #821
6200 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6202 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6204 2003-06-04 Angus Leeming <leeming@lyx.org>
6206 * buffer.C: bump format to 224.
6208 2003-06-05 André Pönitz <poenitz@gmx.net>
6210 * text2.C (redoParagraphs): remove two const_cast<>
6212 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6214 * ParagraphList.h: remove last remnants of NO_STD_LIST
6216 2003-06-03 Angus Leeming <leeming@lyx.org>
6218 * factory.C (createInset): small change to the way InsetExternal's params
6221 2003-06-04 André Pönitz <poenitz@gmx.net>
6223 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6225 * paragraph_pimpl.h:
6226 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6228 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6230 * undo_funcs.C: make some simple cases of undo work again
6232 2003-06-03 John Levon <levon@movementarian.org>
6234 * ispell.C: HPUX doesn't have sys/select.h
6237 2003-06-03 John Levon <levon@movementarian.org>
6239 * CutAndPaste.C: update tabular and include inset
6244 * paragraph.C: remove owningBuffer(), don't pass Buffer
6247 * factory.C: insetGraphicsParams changed
6249 2003-06-02 John Levon <levon@movementarian.org>
6255 * text3.C: remove insetparent
6257 2003-06-02 John Levon <levon@movementarian.org>
6260 * buffer.C: fix inset_iterator.end(), move out of line
6263 2003-06-01 John Levon <levon@movementarian.org>
6265 * text3.C: use a proper cut/paste when doing inset
6266 insert (from Jürgen Spitzmüller)
6268 2003-06-01 John Levon <levon@movementarian.org>
6270 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6272 2003-05-30 André Pönitz <poenitz@gmx.net>
6274 * rowpainter.C: unify second drawing phase
6276 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6278 * trans_mgr.C: remove one case of current_view
6280 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6282 * paragraph_funcs.h: remove paragraph.h include
6284 * paragraph.h: delete NO_STD_LIST stuff
6286 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6288 * buffer.h: remove paragraph.h include
6290 * ParagraphList.C: delete file
6292 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6294 * toc.C (getTocList): adjust
6296 * paragraph_pimpl.C (validate): adjust
6298 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6300 * paragraph.C (Paragraph): adjust
6301 (getPositionOfInset): use const_iterator, adjust
6302 (bibitem): use const_iterator, adjust
6303 (setInsetOwner): adjust
6305 * iterators.C (operator++): adjust
6307 * InsetList.[Ch]: Replace selfmade iterator with standard
6308 vector::iterator also introduce const_iterator. Remove getPos,
6309 getInset and setInset from InsetTable. Adjust accordingly.
6311 * BufferView.C (lockInset): adjust
6312 (ChangeInsets): adjust
6314 * tabular.[Ch]: delete commented same_id functions
6316 2003-05-28 John Levon <levon@movementarian.org>
6318 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6320 2003-05-28 André Pönitz <poenitz@gmx.net>
6322 * metricsinfo.[Ch]: remove 'fullredraw' member
6324 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6326 * lyxtextclass.C (operator): remove caching.
6328 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * text2.C (cursorBottom): adjust
6333 (setCounter): use ParagraphList::find, adjust
6335 * text.C (workWidth): use ParagraphList::find, adjust
6337 * lyxcursor.C (LyXCursor): adjust
6339 * buffer.C (inset_iterator): adjust
6341 * ParagraphList.h: make iterator(value_type) private, make
6342 ParagraphList a friend of iterator.
6344 * ParagraphList.C (find): new function
6346 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6348 2003-05-27 André Pönitz <poenitz@gmx.net>
6350 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6352 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6354 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6356 2003-05-26 John Levon <levon@movementarian.org>
6358 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6360 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * remove same_id from function signatures, adjust.
6364 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6368 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6370 * paragraph.C (Paragraph): get rid of same_ids parameter
6372 * ParagraphList.C (insert): adjust
6375 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * paragraph_funcs.C (breakParagraph): adjust
6378 (breakParagraphConservative): adjust
6380 * buffer.C (readParagraph): adjust
6382 * ParagraphList.C (insert): take a reference instead of a pointer
6385 * paragraph.[Ch] (id): new function
6387 * bufferlist.C (newFile): adjust
6389 * ParagraphList.C (ParagraphList): adjust
6391 (push_back): take a reference instead of a pointer.
6393 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6395 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6398 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6399 set else use old code.
6401 * ParagraphList.C: remove all NO_NEXT code and only compile this
6402 code of NO_STD_LIST is set.
6404 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6406 * BufferView_pimpl.C:
6416 * graphics/GraphicsConverter.C:
6417 * graphics/PreviewLoader.C: header adjustment
6419 2003-05-23 Angus Leeming <leeming@lyx.org>
6421 * LaTeXFeatures.[Ch] (useBabel): new method.
6422 * bufferparams.C (writeLaTeX): use it.
6424 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6426 * ParagraphList.h (set): remove unused function.
6428 2003-05-23 André Pönitz <poenitz@gmx.net>
6431 * BufferView_pimpl.C:
6435 * undo_funcs.C: setUndo reworked
6437 * iterators.[Ch]: add access to topmost ParagraphList
6439 * lyxtext.[Ch] (workWidth): add a const
6441 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6443 * texrow.[Ch] (increasePos): remove function
6444 * exporter.C (export): removed unused var and outdated comment
6446 2003-05-23 Angus Leeming <leeming@lyx.org>
6448 * latexrunparams.h: rename fragile as moving_arg.
6449 * paragraph.C (simpleTeXOnePar): ditto.
6450 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6452 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6454 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6456 (textUndoOrRedo): comment out a currently unused var.
6458 * paragraph.h (NO_NEXT): enable NO_NEXT
6460 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6462 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6464 * exporter.C (Export): adjust for removeAutoInsets removal.
6466 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6468 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6470 * BufferView.[Ch] (removeAutoInsets): delete function
6472 2003-05-22 Angus Leeming <leeming@lyx.org>
6474 * latexrunparams.h: add a free_spacing variable.
6476 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6477 to pass moving_arg, as the data is stored in runparams.fragile.
6479 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6480 to Inset::latexOptional or to simpleTeXOnePar.
6482 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6483 free_spacing arg to Inset::latexOptional.
6485 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6488 2003-05-22 Angus Leeming <leeming@lyx.org>
6490 * latexrunparams.h: add fragile and use_babel variables.
6492 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6493 * buffer.C (makeLaTeXFile): store this returned value in
6494 runparams.use_babel, thus passing it to the inset::latex methods.
6496 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6497 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6499 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6500 longer has a fragile arg, as it is stored in runparams.fragile.
6502 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6503 moving_arg parameter as the data is stored in runparams.fragile.
6505 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6506 a fragile parameter as the data is stored in runparams.fragile.
6508 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6510 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6512 2003-05-22 Angus Leeming <leeming@lyx.org>
6514 * latexrunparams.h: add a 'bool nice' which defaults to false.
6516 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6517 now encapsulated within runparams.
6519 * bufferlist.C (updateIncludedTeXfiles):
6520 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6522 2003-05-22 Angus Leeming <leeming@lyx.org>
6524 * latexrunparams.h: new file containing struct LatexRunParams.
6525 * Makefile.am: add new file.
6527 * LaTeX.[Ch] (c-tor, run):
6528 * buffer.[Ch] (makeLaTeXFile):
6529 * bufferlist.[Ch] (updateIncludedTeXfiles):
6530 * converter.C (convert, scanLog):
6531 * converter.[Ch] (runLaTeX):
6532 * exporter.C (Export):
6533 * paragraph.[Ch] (simpleTeXOnePar):
6534 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6535 * paragraph_funcs.[Ch] (latexParagraphs):
6536 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6537 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6538 pass around a LatexRunParams parameter.
6540 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6542 * paragraph.[Ch]: remove unused constructor
6544 * ParagraphList.C (erase): new function, taking two iterators
6546 2003-05-22 André Pönitz <poenitz@gmx.net>
6548 * undo_funcs.C: remove duplicated code
6550 * iterator.[Ch]: operator=
6552 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6554 * tabular.C (SetMultiColumn): ws changes
6556 * rowpainter.C (paintFirst): get rid of a ->previous
6558 * lyx_cb.C (getPossibleLabel): parlist simplification
6560 * BufferView.C (ChangeInsets): simplify slightly.
6562 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6564 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6565 * lfuns.h: new LFUN_SPACE
6566 * lyxfunc.C: protected space has a new lfun
6567 * paragraph_funcs.C: read new space insets
6569 * factory.C: handle new space insets
6571 2003-05-22 André Pönitz <poenitz@gmx.net>
6574 * BufferView_pimpl.C:
6577 * undo_funcs.C: return a ParIterator from getParFromID.
6579 * iterators.[Ch]: add two const's
6581 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6583 * toc.C (getTocList): adjust
6585 * iterators.[Ch]: rework for parlist
6587 * buffer.C (par_iterator_begin): adjust
6588 (par_iterator_end): adjust
6590 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6592 * BufferView.C (removeAutoInsets): adjust
6593 (ChangeInsets): adjust
6595 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6597 * text.C (top_y): fix bug 1110
6599 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6601 * errorlist.[Ch]: added
6604 * BufferView_pimpl.C:
6605 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6608 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6610 * Makefile.am: ensure that lyx is relinked upon changes to the
6611 various "convenience" libs.
6613 2003-05-20 Angus Leeming <leeming@lyx.org>
6615 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6616 files are compiled in alphabetical order again.
6618 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6620 2003-05-19 Angus Leeming <leeming@lyx.org>
6622 * gettext.[Ch]: remove "char const * _(char const *)".
6624 2003-05-19 André Pönitz <poenitz@gmx.net>
6626 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6635 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6637 2003-05-19 André Pönitz <poenitz@gmx.net>
6641 * lyxtextclass.[Ch]:
6643 * paragraph_funcs.[Ch]:
6645 * text3.C: more insetenv work
6647 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6649 * ParagraphParameters.C (params2string): small bug fixed
6651 2003-05-16 André Pönitz <poenitz@gmx.net>
6654 * bufferview_funcs.C: patch from Kornel Benko to prevent
6655 crash when _(...) is called twice in a statement
6657 2003-05-16 André Pönitz <poenitz@gmx.net>
6664 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6666 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6668 * lyx_main.C (init): remove spurious static_cast
6670 2003-05-14 André Pönitz <poenitz@gmx.net>
6672 * BufferView.C: fix format string
6674 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6676 * BufferView.[Ch] (insertErrors): removed
6677 * BufferView.[Ch] (showErrorList): added
6678 * buffer.C (runChkTeX):
6679 * converter.C (scanLog): call showErrorList instead of inserterrors
6681 2003-05-13 André Pönitz <poenitz@gmx.net>
6683 * BufferView_pimpl.C:
6685 * bufferview_func.C:
6692 * tabular_funcs.h: tostr() from its own header
6694 * ParagraphParameters.C:
6699 * text3.C: STRCONV()
6701 2003-05-12 André Pönitz <poenitz@gmx.net>
6704 * BufferView_pimpl.C:
6708 * ParagraphParameters.C:
6712 * bufferview_funcs.C:
6725 * paragraph_funcs.C:
6729 * text3.C: boost::format -> bformat all over the place
6732 2003-05-09 André Pönitz <poenitz@gmx.net>
6734 * LColor.[Ch]: Pimpl the #include <map> away
6736 2003-05-09 John Levon <levon@movementarian.org>
6738 * bufferlist.C: never remove emergency saves
6740 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6742 * Makefile.am: better lib building
6744 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6748 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6749 (simpleTeXSpecialChars): adjust
6750 (simpleTeXSpecialChars): adjust
6751 * paragraph.C (simpleTeXOnePar): adjust
6752 * buffer.C (makeLaTeXFile): adjust
6754 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6756 * text2.C (changeDepth): parlist cleanup
6757 (getColumnNearX): ditto
6759 * rowpainter.C (getLabelFont): parlist cleanup
6761 * bufferlist.C (newFile): parlist cleanup
6763 * CutAndPaste.C (eraseSelection): parlist cleanup
6765 * BufferView_pimpl.C (trackChanges): parlist cleanup
6768 * BufferView.C (lockInset): parlist cleanup.
6769 (ChangeInsets): ditto
6771 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * CutAndPaste.h: Update file header.
6775 * CutAndPaste.C: Update file header.
6776 Store the parts cut out of the Document in a limited_stack.
6777 (copySelection): adjust
6778 (pasteSelection): new function, takes the index in the limited stack.
6779 (nrOfParagraphs): adjust
6780 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6781 simplify error inset insertion.
6782 (checkPastePossible): adjust
6784 2003-05-06 John Levon <levon@movementarian.org>
6786 * text2.C: don't cast wrap inset to float
6788 2003-05-05 André Pönitz <poenitz@gmx.net>
6791 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6793 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6794 few naked Paragraph *.
6796 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6798 * bufferparams.C: Output warning if a document with missing
6799 TeX document class is loaded
6800 * exporter.C: Disable TeX exports if the document class is missing
6803 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6804 isTeXClassAvailable()
6806 2003-05-03 John Levon <levon@movementarian.org>
6809 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6810 explicit cursor show/hide
6812 * BufferView_pimpl.h:
6813 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6814 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6816 * lyxfunc.C: hide cursor before dispatching.
6821 * text3.C: remove explicit cursor hides
6823 2003-05-02 André Pönitz <poenitz@gmx.net>
6825 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6828 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6831 * text2.C: tiny whitespace
6833 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * undo_funcs.C: almost only ws changes.
6837 * ParagraphList.C (splice): just return if pl is empty.
6839 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6841 * ParagraphList.C (splice): new function.
6843 * CutAndPaste.C (pasteSelection): use it
6845 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6847 * CutAndPaste.C (pasteSelection): remove the last next and
6848 previous from this file.
6850 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * CutAndPaste.C (pasteSelection): more clean up, user proper
6853 ParagraphList functions for pasteing.
6855 * ParagraphList.C (insert): new function, three arg insert
6857 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6859 * ParagraphList.C (insert): new function, three arg insert
6861 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6864 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6868 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6870 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6872 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6875 (copySelection): clean up a bit.
6876 (pasteSelection): use make_pair
6878 * ParagraphList.C (ParagraphList): implement copy constructor
6879 (operator=): implement, base on copy constructor.
6882 * paragraph.C (erase): return a bool
6884 * paragraph_pimpl.C (erasePos): remove function, move contents...
6885 (erase): ... here. Return a bool.
6886 (erase): call erase instead of erasePos.
6888 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6890 * ParagraphList.h: define PitPosPair
6891 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6892 ParagraphList, fix a bug on pasting multiple pars
6893 * text2.C: change interface to C&P
6895 2003-04-30 André Pönitz <poenitz@gmx.net>
6897 * undo_func.C: revert part of yesterday's patch 2
6899 2003-04-30 John Levon <levon@movementarian.org>
6901 * LColor.C: s/tabular/table/
6903 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6905 * text3.C (dispatch): do not convert iterator -> pointer
6906 * undo_funcs.C (setCursorParUndo): ditto
6907 * text_funcs.C (transposeChars): ditto
6909 * text2.C (setLayout): ws changes only
6911 * text.C (breakParagraph): do not convert iterator -> pointer
6913 (acceptChange): ditto
6914 (rejectChange): ditto
6919 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6922 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6924 * text3.C (gotoInset): YABG (yet another bad getChar)
6926 2003-04-29 André Pönitz <poenitz@gmx.net>
6928 * paragraph.h: make operator= private unimplemented as long as
6931 * ParagraphList.C: whitespace
6934 * paragraph_pimpl.[Ch]:
6935 * paragraph_funcs.C:
6937 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6940 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6942 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6944 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6945 * paragraph.[Ch] (erase):
6946 * paragraph_pimpl.[Ch] (erase): change return type and value
6947 * text2.C (cutSelection): some rework
6949 2003-04-28 John Levon <levon@movementarian.org>
6951 * bufferlist.C: changes for unsaved changes dialog
6953 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6955 * bufferlist.C (newFile): set language (messages_) for new
6958 * buffer.C (readFile): ws changes only.
6960 2003-04-28 André Pönitz <poenitz@gmx.net>
6965 * BufferView_pimpl.C:
6966 * BufferView.C: getParFromID related ParagraphList::iterator changes
6968 2003-04-28 André Pönitz <poenitz@gmx.net>
6970 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6973 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6975 * messages.C: remove one more localedir class variable.
6977 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * messages.C (getLocaleDir): singleton generation function
6981 (Messages): add a default constructor.
6983 * main.C (main): do not setup localedir here, do not call
6986 * gettext.C (_): use it.
6987 (gettext_init): delete funciton
6989 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6991 * gettext.C (getLyXMessages): new singleton generating function.
6993 * buffer.C (updateDocLang): adjust
6995 * Makefile.am (messages.o): add target
6996 (main.o): remove target
6998 2003-04-27 John Levon <levon@movementarian.org>
7003 * lyxvc.C: specify cancel button in Alert::prompt
7005 2003-04-26 John Levon <levon@movementarian.org>
7010 * LyXAction.C: add LFUN_INSET_SETTINGS
7012 * lyxfunc.C: don't enable tabular-feature when there's
7013 just any locking inset
7015 2003-04-26 John Levon <levon@movementarian.org>
7017 * bufferlist.C: re-add Cancel to buffer close question
7019 * lyxfunc.C: fix import UI a bit
7021 2003-04-25 John Levon <levon@movementarian.org>
7023 * gettext.C: remove the broken asserts for now
7025 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7027 * messages.C: make case where setlocale cannot comply work better.
7029 * buffer.C (updateDocLang): new function
7030 (changeLanguage): use it
7033 * text2.C (setCounter): use B_ a bit.
7035 * lyxlayout.C (Read): be sure to trim the label strings.
7037 * messages.C (Messages): fix typo in comment
7039 * buffer.C (readFile): set message_ after file is loaded.
7040 (makeDocBookFile): remove double return
7041 (changeLanguage): reset message_ upon language change.
7042 (B_): new func, use this to get translated buffer strings.
7044 * main.C: add myself and Jean Marc as authors.
7046 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7048 * messages.[hC]: pimplify Messages, and three different pimpls to be
7049 used in different circumstances.
7051 * gettext.[Ch]: change for use with new message code.
7053 2003-04-24 André Pönitz <poenitz@gmx.net>
7055 * factory.C: support for eqref
7057 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * messages.[Ch]: add missing char
7061 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7063 * messages.[Ch]: New files
7065 2003-04-18 John Levon <levon@movementarian.org>
7069 * BufferView_pimpl.C:
7073 * text2.C: remove layout-copy/paste (bug 778)
7075 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7077 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7079 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7081 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7082 if they succeed. Act accordingly.
7084 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * text2.C (setCharFont): adjust
7087 (setCounter): adjust
7088 (insertStringAsLines): adjust
7090 * text.C (leftMargin): adjust
7091 (setHeightOfRow): adjust
7093 * rowpainter.C (paintFirst): adjust
7096 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7098 (isFirstInSequence): ditto
7099 (getEndLabel): ditto
7102 * paragraph.C (getParLanguage): comment out some hard stuff.
7104 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7106 (simpleDocBookOnePar): ditto
7107 (makeDocBookFile): use ParagraphList::iterator
7109 * CutAndPaste.C (pasteSelection): adjust
7111 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7113 * text2.C (getFont): adjust
7114 (getLayoutFont): adjust
7115 (getLabelFont): adjust
7117 * paragraph_funcs.C (TeXOnePar): adjust
7119 * buffer.C (simpleLinuxDocOnePar): adjust
7120 (simpleDocBookOnePar): adjust
7122 * CutAndPaste.C (pasteSelection): adjust
7124 * BufferView.C (getEncoding): adjust
7126 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7128 2003-04-16 John Levon <levon@movementarian.org>
7130 * lyxfind.C: use parlist stuff for search/changes
7132 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7134 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7136 * text2.C (deleteEmptyParagraphMechanism): adjust
7138 * text2.[Ch] (ownerParagraph): delete func (both of them
7140 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7142 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7144 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7146 * ParagraphList.C: prepare for NO_NEXT
7148 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * text2.C (getFont): adjust
7151 (getLayoutFont): adjust
7152 (getLabelFont): adjust
7154 * paragraph.C (getFont): adjust
7155 (getLabelFont): adjust
7156 (getLayoutFont): adjust
7158 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7160 2003-04-15 John Levon <levon@movementarian.org>
7164 * lyx_main.C: handle Include in .ui files
7166 2003-04-15 John Levon <levon@movementarian.org>
7168 * MenuBackend.C: make the doc files length shorter
7171 * ToolbarBackend.C: handle toolbar placement flags,
7174 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7176 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7179 * paragraph_funcs.C (TeXOnePar): adjust
7181 * paragraph.C (getLabelFont): add outerfont arg, adjust
7182 (getLayoutFont): ditto
7183 (simpleTeXOnePar): adjust
7185 * paragraph_pimpl.C (realizeFont): delete func
7187 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7189 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7190 row argument, constify cur argument.
7192 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7194 * text2.C (getFont): adjust
7195 (getLayoutFont): adjust
7196 (getLabelFont): adjust
7198 * paragraph_funcs.C (TeXOnePar): adjust
7199 (outerFont): new func...
7200 (realizeFont): ...moved out from here, changed this to facilitate
7203 * paragraph.C (getFont): take outerfont as arg, adjust
7204 (simpleTeXOnePar): add outerfont arg, adjust
7206 * buffer.C (simpleLinuxDocOnePar): adjust
7207 (simpleDocBookOnePar): adjust
7209 * CutAndPaste.C (pasteSelection): adjust
7211 * BufferView.C (getEncoding): adjust
7213 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7215 * text2.C (setCharFont): adjust
7216 (setCounter): adjust
7218 * text.C (leftMargin): adjust
7219 (setHeightOfRow): adjust
7221 * rowpainter.C (paintFirst): adjust
7224 * paragraph_pimpl.C (realizeFont): adjust
7226 * paragraph.C (isFirstInSequence): move from here...
7227 * paragraph_funcs.C (isFirstInSequence): ...to here
7229 * paragraph.C (outerHook): move from here...
7230 * paragraph_funcs.C (outerHook): ...to here
7232 * paragraph.C (depthHook): move from here...
7233 * paragraph_funcs.C (depthHook): ...to here
7235 * paragraph.C (getEndLabel): move from here...
7236 * paragraph_funcs.C (getEndLabel): ...to here
7238 * text2.C (realizeFont): move from here...
7239 * paragraph_funcs.C (realizeFont): ...to here
7241 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7243 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7245 2003-04-14 Angus Leeming <leeming@lyx.org>
7247 * LColor.[Ch]: scrap LColor mathcursor.
7249 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7251 * lyxlex.[Ch] (text): delete function
7252 * trans.C (Load): adjust
7253 * paragraph_funcs.C (readParToken): adjust
7255 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7257 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7258 vector<char> instead of a char[].
7260 * lyxlex_pimpl.C (getString): adjust
7262 (lex): use getString
7266 * lyxlex.C (text): use pimpl_->getString()
7270 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7272 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7273 (makeFontEntriesLayoutSpecific): temp var for par.size()
7274 (setLayout): temp var for ownerParagraphs().end()
7275 (fullRebreak): temp var for rows().end()
7276 (selectionAsString): temp var for boost::next(startpit), realize
7277 that the while really is a regular for loop.
7278 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7279 setCursor in one place.
7280 (setParagraph): temp vr for ownerParagraphs().end()
7281 (updateCounters): make the while loop a for loop
7282 (cutSelection): temp var for ownerParagraphs().end()
7283 (updateInset): make the do {} while() a regular for loop
7284 (getCursorX): use temp vars
7285 (setCurrentFont): use temp vars
7286 (getColumnNearX): use temp vars
7288 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7290 * text.C (transformChar): use temp var for getChar
7291 (computeBidiTables): use temp var for row->par()
7292 (fill): move temp vars for row->par() and pit->layout() earlier in
7294 (labelFill): use temp var for row->par()
7295 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7296 asc and desc, realize that pit never changes and that firstpit is
7297 just a duplicate and not needed. Exchange rit->par() with pit in a
7299 (breakAgain): use a temp var for boost::next(rit)
7300 (breakAgainOneRow): ditto
7301 (breakParagraph): use a temp var for rows().begin()
7302 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7303 (cursorRightOneWord): use temp var for cursor.par() and
7304 cursor.pos(), remove usage of tmpcursor.
7305 (cursorLeftOneWord): use temp var for cursor.par() and
7306 cursor.pos() only set cur at end of function.
7308 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * text.C, text2.C: exchange all usage of Paragraph::next with
7311 boost::next(ParagraphList::iterator)
7313 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7315 * text2.C (cursorTop): simplify implementation
7316 (cursorBottom): ditto
7317 (setParagraph): use ParagraphList::iterator
7318 (setCurrentFont): adjust
7319 (getColumnNearX): adjust
7320 (cursorRight): adjust
7321 (cursorLeft): remove usage of Paragraph::previous
7322 (cursorUpParagraph): ditto
7323 (deleteEmptyParagraphMechanism): slight cleanup
7325 * text.C (isBoundary): take a Paragraph const & instead of a
7327 (addressBreakPoint): ditto
7328 (leftMargin): remove usage of Paragraph::previous.
7329 (setHeightOfRow): ditto
7330 (cursorLeftOneWord): ditto
7331 (selectNextWordToSpellcheck): ditto
7334 (breakParagraph): remove one usage of Paragraph::next
7335 (redoParagraph): ditto
7336 (acceptChange): ditto
7337 (insertChar): adjust
7338 (rowBreakPoint): adjust
7340 * bufferview_funcs.C (toggleAndShow): adjust
7342 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7344 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7345 methods to access it.
7347 * text.C: Added updateRowPositions to compute all row positions.
7348 Make top_y and getRowNearY() to use the cached y position
7350 2003-04-11 John Levon <levon@movementarian.org>
7352 * text.C (rowBreakPoint): reintroduce the labelEnd
7353 checks, code copied from the row fill stuff. Deep voodoo.
7355 * text.C (fill): add a comment and debugging for the
7358 2003-04-11 John Levon <levon@movementarian.org>
7360 * text.C: make sure fullrow insets get wrapped to the next line,
7361 even when they're in a manual label
7363 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7365 * text2.C (insertParagraph): make it take ParagraphList::iterator
7367 (setLayout): make it return ParagraphList::iterator
7368 (redoParagraphs): ditto
7370 (checkParagraph): ditto
7372 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7374 * text2.C: adjust several funcs.
7375 (realizeFont): take a ParagraphList::iterator as arg.
7376 (getLayoutFont): ditto
7377 (getLabelFont): ditto
7378 (setCharFont): ditto
7380 * text.C: adjust several funcs.
7382 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7384 * text.C (selectNextWordToSpellcheck): don't accidentally
7387 2003-04-10 John Levon <levon@movementarian.org>
7389 * ToolbarBackend.C (getIcon): special handling for
7392 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7394 * text2.C (cursorRight): a getChar assert fixed
7396 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7398 * text2.C (getFont): change to take a ParagraphList::iterator
7399 instead of Paragraph*
7400 Adjust several functions.
7402 * text.C (transformChar): change to take a ParagraphList::iterator
7403 instead of Paragraph*
7404 (singleWidth): ditto
7405 Adjust several functions.
7407 * rowpainter.C: adjust several functions
7408 * rowpainter.h:store a ParagraphList::iterator and not a
7412 2003-04-09 John Levon <levon@movementarian.org>
7417 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7418 and the "help" bits as well
7420 2003-04-09 John Levon <levon@movementarian.org>
7423 * ToolbarBackend.C: allow multiple toolbars
7425 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7427 * undo_funcs.C (setCursorParUndo): adjust
7429 * text_funcs.C (transposeChars): adjust
7431 * text3.C (gotoNextInset): adjust
7434 * text2.C (setLayout): adjust
7435 (changeDepth): adjust
7437 (redoParagraphs): adjust
7438 (selectionAsString): adjust
7439 (setParagraph): adjust
7440 (insertInset): adjust
7441 (cutSelection): adjust
7442 (copySelection): adjust
7443 (pasteSelection): adjust
7444 (insertStringAsLines): adjust
7445 (updateInset): adjust
7446 (setCursor): change to take a ParagraphList::iterator parameter
7447 (setCursorIntern): change to take a ParagraphList::iterator parameter
7448 (setCurrentFont): adjust
7449 (cursorLeft): adjust
7450 (cursorRight): adjust
7451 (deleteEmptyParagraphMechanism): adjust
7453 * text.C (breakParagraph): adjust
7454 (insertChar): adjust
7455 (acceptChange): adjust
7456 (rejectChange): adjust
7457 (selectNextWordToSpellcheck): adjust
7458 (changeCase): adjust
7462 * lyxfind.C (SearchForward): adjust
7463 (SearchBackward): adjust
7464 (nextChange): adjust
7466 * lyxcursor.C (par): adjust
7468 * lyxcursor.h: store a ParagraphList::iterator instead of a
7471 * lyx_cb.C (getPossibleLabel): adjust
7473 * bufferview_funcs.C (toggleAndShow): adjust
7475 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7478 * BufferView.C (removeAutoInsets): adjust
7479 (lockedInsetStoreUndo): adjust
7481 2003-04-09 John Levon <levon@movementarian.org>
7483 * ToolbarBackend.C: try icon without argument
7484 if with argument fails
7486 2003-04-08 John Levon <levon@movementarian.org>
7489 * ToolbarBackend.C: add getIcon(), handle tooltip,
7490 and change from "Icon" to "Item".
7492 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7494 * BufferView.C (lockInset): another bad getchar crunched
7496 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7498 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7501 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7503 * lyxfind.C (searchForward, searchBackwards): bug 782
7505 2003-04-07 John Levon <levon@movementarian.org>
7507 * paragraph.C: remove dead comment
7509 * text.C: remove troublesome depth-fiddling code
7510 in leftMargin() and rightMargin() (bug 1017)
7512 * text.C: fix breaking of rows in nested lists
7515 * text2.C (updateCounters): fix up depth values
7518 2003-04-07 John Levon <levon@movementarian.org>
7520 * BufferView_pimpl.C: clear message when doc finishes resizing,
7521 and after a mouse event
7523 * lyxfunc.C: clear message after exiting inset
7525 2003-04-07 John Levon <levon@movementarian.org>
7527 * bufferview_funcs.C: show math status not outside
7528 status in the statusbar
7530 2003-04-07 John Levon <levon@movementarian.org>
7532 * lyxfunc.C: note status changed after a depth change
7534 2003-04-04 Angus Leeming <leeming@lyx.org>
7536 * LaTeX.h: move AuxInfo operator==, != out of line.
7537 Remove LaTeX virtual destructor; nothing derives from it.
7538 Move operator()() out of public area and rename it startscript().
7539 Change protected for private.
7541 2003-04-04 Angus Leeming <leeming@lyx.org>
7544 * text2.C: remove unneeded #includes.
7546 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7548 * text2.C (dEPM): fix the heigth of the next row
7550 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7552 * text.C: squashed an invalid getChar requester + some ws changes
7554 2003-04-03 John Levon <levon@movementarian.org>
7556 * bufferview_funcs.h:
7557 * bufferview_funcs.C:
7560 * text2.C: make getStatus work for the env depth lfuns
7562 2003-04-03 John Levon <levon@movementarian.org>
7564 * bufferview_funcs.h:
7565 * bufferview_funcs.C:
7568 * text2.C: parlistize decDepth(), by merging it with incDepth()
7570 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7572 * lyxrow.h: store a ParagraphList::iterator instead of a
7573 Paragraph* and adjust other class functions to suit.
7575 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7578 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7580 * text2.C (setCursor): do not anchor to cursor row for the time being
7582 2003-04-02 John Levon <levon@movementarian.org>
7589 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7591 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7593 * paragraph.h: make ParagraphList and ParagraphList::iterator
7594 friends of Paragraph.
7596 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7598 * ParagraphList.C: Use the private next_ and previous_ from
7601 2003-04-01 John Levon <levon@movementarian.org>
7605 * Makefile.am: rename, remove defaults gunk
7608 * MenuBackend.C: remove defaults gunk
7611 * Languages.C: remove defaults gunk
7614 * lyx_main.C: error out if files couldn't be found.
7616 2003-04-02 John Levon <levon@movementarian.org>
7618 * text2.C: make incDepth() use parlist
7620 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7622 * undo_funcs.C (firstUndoParagraph): adjust
7624 * text3.C (gotoInset): adjust
7625 (dispatch): adjust, and rewrite loop.
7627 * text2.C (init): adjust, and rewrite loop.
7628 (redoParagraphs): adjust
7629 (updateInset): adjust, and rewrite loop.
7630 (deleteEmptyParagraphMechanism): adjust
7632 * tabular.C (LyXTabular): adjust
7633 (SetMultiColumn): adjust
7636 * lyxtext.[Ch] (ownerParagraph): delete function
7637 (ownerParagraphs): new function returns a ParagraphList.
7639 * BufferView.C (removeAutoInsets): adjust
7640 (insertErrors): adjust
7641 (setCursorFromRow): adjust
7643 2003-04-01 Angus Leeming <leeming@lyx.org>
7645 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7648 2003-04-02 John Levon <levon@movementarian.org>
7654 * text_funcs.C: make transposeChars a free function
7656 * lyxrow_funcs.C: remove wrong comment
7658 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7661 * rowpainter.C: adjust
7666 * lyxrow_funcs. [Ch]: new files
7668 * lyxrow.[Ch]: remove next and previous pointers
7669 (next,previous): remove accessor functions
7670 (isParEnd): move to lyxrow_funcs
7671 (lastPos): move to lyxrow_funcs
7672 (nextRowIsAllInset): move to lyxrow_funcs
7673 (lastPrintablePos): move to lyxrow_funcs
7674 (numberOfSeparators): move to lyxrow_funcs
7675 (numberOfHfills): move to lyxrow_funcs
7676 (numberOfLabelHfills): move to lyxrow_funcs
7677 (hfillExpansion): move to lyxrow_funcs
7681 * bufferview_funcs.C (toggleAndShow): adjust
7683 * RowList.h: Remove class RowList from file leave just a
7686 * RowList.C: delete file
7688 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7691 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7693 * text3.C (cursorPrevious): adjust
7694 (cursorNext): adjust
7697 * text2.C (redoHeightOfParagraph): adjust
7698 (redoDrawingOfParagraph): adjust
7701 * text.C (breakParagraph): adjust
7702 (insertChar): adjust
7705 * rowpainter.C (RowPainter): adjust
7706 (leftMargin): simplify and adjust
7707 (most rowpainter functions): adjust.
7709 * rowpainter.h: store the row as RowList::iterator not as Row*
7711 * lyxcursor.C (row): taka RowList::iterator as arg
7714 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7717 2003-04-01 Angus Leeming <leeming@lyx.org>
7719 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7720 stuff like bool Bool.
7722 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7724 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7727 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7729 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7732 * lyxtext.h (rows): drop one version and leve a const variant that
7733 returns a RowList::iterator.
7735 2003-03-31 Angus Leeming <leeming@lyx.org>
7737 * text.C (fill): ensure that the signature is the same as that in the
7740 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7742 * text2.C (redoParagraphs): adjust
7743 (updateCounters): adjust
7744 (checkParagraph): adjust
7745 (getColumnNearX): adjust and reformat a bit.
7747 * text.C (top_y): adjust
7749 (leftMargin): adjust
7750 (prepareToPrint): adjust
7752 (getRowNearY): adjust
7754 * lyxtext.h: make rowlist_ mutable.
7756 * RowList.h: add const_iterator
7757 * RowList.C: adjust for RowList::const_iterator.
7759 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7762 2003-03-31 John Levon <levon@movementarian.org>
7765 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7767 * lyx_main.C: set default fonts from using lyx_gui funcs
7769 * exporter.C: pdf_mode moved from lyxrc
7772 * lyxfunc.C: changes from above
7774 2003-03-31 John Levon <levon@movementarian.org>
7776 * lyx_main.C: fix to the last fix
7778 2003-03-31 John Levon <levon@movementarian.org>
7780 * bufferlist.C: "Load original" -> "Load Original"
7786 * format.C: more Alert cleanups
7788 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * text2.C (removeParagraph): make it take a RowList::iterator as
7792 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7793 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7795 * text.C (anchor_row): make it take a RowList::iterator as arg,
7797 (computeBidiTables): make it take a const reference to Row instead
7798 of Row pointer, adjust.
7799 (leftMargin): make it take a RowList::iterator as arg, adjust.
7800 (rowBreakPoint): adjust
7801 (breakAgainOneRow): make it take a RowList::iterator as arg,
7803 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7805 * bufferview_funcs.C (toggleAndShow): adjust
7807 2003-03-30 John Levon <levon@movementarian.org>
7811 * boost-inst.C: moved to support
7813 * several files: changes as a result
7815 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7817 * text2.C (LyXText): adjust.
7819 (removeRow): make it take a RowList::iterator as arg, adjust.
7820 (fullRebreak): adjust
7821 (deleteEmptyParagraphMechanism): adjust
7822 (clearPaint): adjust
7825 * text.C (top_y): adjust
7826 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7827 (breakAgain): make it take a RowList::iterator as arg, adjust.
7828 (breakParagraph): adjust
7829 (insertChar): adjust
7832 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7833 need_break_row, and refresh_row.
7835 * text3.C (dispatch): adjust
7837 * text2.C (checkParagraph): adjust
7839 (setCursorFromCoordinates): adjust
7841 * text.C (top_y): adjust
7843 (getRow): make it return a RowList::iterator, adjust
7844 (getRowNearY): make it return a RowList::iterator, adjust
7846 * text2.C (init): adjust
7847 (insertRow): remove function
7848 (insertParagraph): adjust
7849 (redoParagraphs): adjust
7850 (fullRebreak): adjust
7851 (updateCounters): adjust
7853 * text.C (top_y): rewrite to use RowList iterators.
7855 (setHeightOfRow): rewrite to sue RowList iterators.
7856 (appendParagraph): adjust
7857 (breakAgain): adjust
7858 (breakAgainOneRow): adjust
7859 (breakParagraph): adjust
7861 (getRowNearY): adjust, and remove commented code.
7863 * lyxtext.h (firstRow): delete function
7864 (lastRow): delete function
7865 (rows): new function (const and non-const versions.)
7866 (insertRow): delete function
7868 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7870 2003-03-29 John Levon <levon@movementarian.org>
7872 * BufferView_pimpl.C: always update scrollbar top
7873 because pasting text when we're anchored could mean we
7874 miss an update altogether
7876 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7878 * text2.C (init): use rowlist_.end() and not 0.
7879 (insertRow): change to take a RowList::iterator as arg, adjust
7881 (insertParagraph): change to take a RowList::iterator as arg,
7883 (redoParagraphs): remove some debug msgs.
7885 * text.C (appendParagraph): change to take a RowList::iterator
7886 arg, adjust for this.
7887 (breakAgain): add an assert
7888 (breakAgainOneRow): ditto
7890 2003-03-29 John Levon <levon@movementarian.org>
7892 * text2.C: do not clear selection after inc/decDepth
7895 2003-03-29 John Levon <levon@movementarian.org>
7898 * buffer.C: fix broken strerrors according to Lars
7900 2003-03-29 John Levon <levon@movementarian.org>
7902 * converters.C: more Alert cleanups
7904 2003-03-29 John Levon <levon@movementarian.org>
7906 * bufferview_funcs.C: remove pointless Alert
7908 * buffer.C: fix confusing error message when
7909 a template is chmoded 000
7911 2003-03-29 John Levon <levon@movementarian.org>
7915 * BufferView_pimpl.C: Alert fixes
7919 * tabular-old.C: remove unused table compat reading
7921 2003-03-29 John Levon <levon@movementarian.org>
7926 * lyx_cb.C: more Alert cleanups
7928 * lyxfunc.C: don't allow chktex if not latex document
7930 2003-03-29 John Levon <levon@movementarian.org>
7934 * buffer.C: warnings pushed down from support/,
7937 2003-03-29 John Levon <levon@movementarian.org>
7939 * lyxfunc.C: safety check for C-r (revert)
7941 2003-03-29 John Levon <levon@movementarian.org>
7944 * bufferlist.C: several UI fixes using Alert::prompt.
7945 Fix the pointless looping quit code. Fix stupid revert
7950 * lyx_cb.C: use Alert::prompt
7952 * lyx_main.C: remove a silly question
7954 * lyxfunc.C: remove a couple of silly questions,
7957 2003-03-28 John Levon <levon@movementarian.org>
7959 * text2.C: fix bug 974 (End on empty par)
7961 2003-03-28 John Levon <levon@movementarian.org>
7963 * BufferView_pimpl.C:
7965 * lfuns.h: remove do-nothing math greek lfuns
7967 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7969 * lyxgluelength.h (isValidGlueLength): add default arg on
7970 parameter 2. Remove default arg from friend in class.
7972 * lyxlength.h (isValidLength): add default arg on parameter 2.
7973 Remove default arg from friend in class.
7975 * text2.C (LyXText): adjust, initialize refresh_row.
7979 (insertParagraph): adjst
7980 (redoParagraphs): adjust
7981 (fullRebreak): adjust
7982 (updateCounters): adjust
7983 (deleteEmptyParagraphMechanism): first attempt at fixing a
7986 * text.C (top_y): adjust
7987 (setHeightOfRow): adjust
7989 (getRowNearY): adjust
7991 * lyxtext.h: include RowList.h
7992 (~LyXText): not needed anymore, deleted.
7993 (firstRow): modify for RowList
7994 (lastRow): new function
7995 Delete firstrow and lastrow class variables, add a Rowlist
7996 rowlist_ class variable.
7998 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8001 * RowList.C (insert): fix case where it == begin().
8003 2003-03-26 Angus Leeming <leeming@lyx.org>
8005 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8006 the thesaurus dialog.
8008 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8010 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8012 * RowList.[Ch]: new files
8014 * ParagraphList.C (erase): handle the case where it == begin
8017 2003-03-25 John Levon <levon@movementarian.org>
8021 * aspell.C: add new aspell support
8024 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8027 2003-03-25 Angus Leeming <leeming@lyx.org>
8030 * LyXAction.C (init): new LFUN_INSET_INSERT.
8032 * BufferView_pimpl.C (dispatch): split out part of the
8033 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8035 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8038 2003-03-25 Angus Leeming <leeming@lyx.org>
8040 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8042 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8045 * text3.C: remove useless row->height(0)
8047 2003-03-25 John Levon <levon@movementarian.org>
8051 * text3.C: rename the refreshing stuff to better names
8053 2003-03-24 John Levon <levon@movementarian.org>
8055 * BufferView_pimpl.h:
8056 * BufferView_pimpl.C: update layout choice on a mouse
8059 2003-03-23 John Levon <levon@movementarian.org>
8061 * Makefile.am: fix commandtags.h reference
8063 2003-03-22 John Levon <levon@movementarian.org>
8065 * BufferView_pimpl.C:
8070 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8072 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8075 * text.C: take the rtl methods out of line
8077 2003-03-21 André Pönitz <poenitz@gmx.net>
8079 * metricsinfo.[Ch]: new files containing structures to be passed around
8080 during the two-phase-drawing...
8082 2003-03-21 André Pönitz <poenitz@gmx.net>
8084 * lyxtextclass.C: read 'environment' tag.
8086 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8088 * text2.C (removeRow): fix bug 964
8090 2003-03-20 John Levon <levon@movementarian.org>
8094 * text2.C: paint cleanups. Inset::update() dropped font
8097 2003-03-19 John Levon <levon@movementarian.org>
8099 * lyxfunc.C: only fitcursor/markDirty if available()
8101 2003-03-19 John Levon <levon@movementarian.org>
8103 * commandtags.h: rename to ...
8105 * lfuns.h: ... this, and renumber / cleanup
8107 2003-03-19 John Levon <levon@movementarian.org>
8109 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8110 fit the cursor after an lfun
8114 * BufferView_pimpl.h:
8115 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8117 * LyXAction.C: layout-character should have ReadOnly
8119 * ParagraphParameters.C:
8121 * bufferview_funcs.C:
8128 * undo_funcs.C: changes from above
8130 2003-03-18 John Levon <levon@movementarian.org>
8132 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8133 remove it from update()
8135 * lyxfunc.C: update layout choice after an lfun
8137 * text3.C: remove extra updateLayoutChoice()s
8139 2003-03-18 John Levon <levon@movementarian.org>
8141 * text.C: top_y change means full repaint, fix
8142 a drawing bug with cursor movement
8144 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8148 * text2.C: anchor row on setCursor
8150 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8152 * lyxtext.h: remove almost all mutable keywords
8155 * text3.C: remove const keywords accordingly
8157 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8159 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8161 (TeXEnvironment): ditto
8164 2003-03-17 John Levon <levon@movementarian.org>
8166 * text.C (rowBreakPoint): remove attempt to fix displayed
8167 math insets inside a manual label
8169 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8171 * lyxtext.h: remove BufferView* as first arg from almost all class
8173 * other files: adjust.
8175 2003-03-17 John Levon <levon@movementarian.org>
8179 * text2.C: more paint cleanups
8181 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8184 * rowpainter.C: remove "smart" background painting code
8186 2003-03-16 John Levon <levon@movementarian.org>
8191 * text3.C: add helper functions for setting refresh_row/y
8193 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8195 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8196 newline inset which *can* get inserted in the pass_thru layouts.
8197 This is primarily for literate documents.
8199 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8201 * buffer.C: increment LYX_FORMAT to 223
8203 2003-03-14 André Pönitz <poenitz@gmx.net>
8205 * textclass.h: prepare for environment handling, ws changes
8206 * lyxlayout.C: read latexheader and latexfooter tags
8208 2003-03-14 John Levon <levon@movementarian.org>
8210 * text2.C: rewrite ::status() a bit
8212 2003-03-13 John Levon <levon@movementarian.org>
8214 * lyxtext.h: add some docs
8216 2003-03-13 John Levon <levon@movementarian.org>
8221 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8223 2003-03-13 John Levon <levon@movementarian.org>
8225 * text3.C: fix appendix redrawing
8227 2003-03-13 John Levon <levon@movementarian.org>
8229 * text.C (setHeightOfRow):
8231 * rowpainter.C: make appendix mark have the text
8232 "Appendix" so the user knows what it is
8235 * LColor.C: s/appendixline/appendix/ from above
8237 2003-03-13 John Levon <levon@movementarian.org>
8239 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8241 * text.C: fix a getChar(pos) bug properly
8243 2003-03-13 Angus Leeming <leeming@lyx.org>
8246 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8247 Probably only temporary. Let's see how things pan out.
8249 * BufferView.C (unlockInset):
8250 * BufferView_pimpl.C (fitCursor):
8251 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8253 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8254 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8256 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8257 new functions that convert ParagraphParameters to and from a string.
8259 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8260 BufferView::Pimpl's dispatch.
8261 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8263 2003-03-13 André Pönitz <poenitz@gmx.net>
8267 * factory.C: make it aware of InsetEnv
8269 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8271 * text2.C (setCursor): never ask for one past last
8272 (setCursor): add some debugging messages.
8274 * text.C (singleWidth): never ask for one past last
8275 (singleWidth): ditto
8277 (rightMargin): ditto
8278 (rowBreakPoint): ditto
8279 (setHeightOfRow): ditto
8280 (prepareToPrint): ditto
8282 * rowpainter.C (paintBackground): never ask for one past last
8283 (paintText): never ask for one past last
8285 * paragraph_pimpl.C (getChar): make the assert stricter, never
8286 allow the one past last pos to be taken
8288 * paragraph.C (getChar): ws changes only
8290 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8291 (numberOfSeparators): ditto
8292 (numberOfHfills): ditto
8294 2003-03-12 John Levon <levon@movementarian.org>
8300 * paragraph_funcs.C: fix per-buffer authorlists
8302 2003-03-12 John Levon <levon@movementarian.org>
8304 * text.C: fix newline in right address
8306 2003-03-12 Angus Leeming <leeming@lyx.org>
8308 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8309 duplicate those in LyXFunc::dispatch.
8313 * ToolbarDefaults.C:
8314 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8315 Add LFUN_FONTFREE_UPDATE.
8317 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8318 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8320 * bufferview_func.[Ch]: several new functions to facilliate
8321 transfer of data to and from the character dialog.
8323 2003-03-12 John Levon <levon@movementarian.org>
8328 * paragraph_funcs.C:
8329 * paragraph_pimpl.C:
8333 * text3.C: remove META_NEWLINE in favour of an inset
8336 * rowpainter.C: remove paintNewline (done by inset)
8338 2003-03-12 John Levon <levon@movementarian.org>
8340 * paragraph_pimpl.C: complain about bad getChar()s
8341 for a while at least
8343 2003-03-12 John Levon <levon@movementarian.org>
8346 * buffer.C: move paragraph read into a separate function,
8347 a little renaming to reflect that.
8350 * bufferparams.C: remove the author_ids map, not necessary now
8353 * factory.C: moved Buffer::readInset to here
8355 * paragraph_funcs.h:
8356 * paragraph_funcs.C: readParagraph free function moved from
8359 * tabular.C: name change
8361 2003-03-12 John Levon <levon@movementarian.org>
8364 * ParagraphParameters.C: move par params input to
8367 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8368 behave like a normal read from the stream wrt reading
8369 a line vs. a \\token
8371 2003-03-12 John Levon <levon@movementarian.org>
8374 * ParagraphParameters.h:
8375 * ParagraphParameters.C: move output code to a
8378 2003-03-12 John Levon <levon@movementarian.org>
8380 * BufferView.C (insertLyXFile):
8383 * tabular.C: use a parlist iterator for creating the
8386 2003-03-12 John Levon <levon@movementarian.org>
8388 * buffer.C: make current_change static local not
8391 2003-03-12 John Levon <levon@movementarian.org>
8393 * buffer.C: fix insertStringAsLines for change tracking
8395 2003-03-12 John Levon <levon@movementarian.org>
8402 * bufferparams.C: move author list into params. Rename some
8403 functions. Move the header reading into a separate token
8404 loop. Move the header token reading into BufferParams.
8406 2003-03-12 John Levon <levon@movementarian.org>
8408 * changes.C: put debug inside lyxerr.debugging() checks
8410 2003-03-11 André Pönitz <poenitz@gmx.net>
8412 * factory.C: make it aware of InsetHFill
8414 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8416 * buffer.C (latexParagraphs): move function from here...
8417 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8420 2003-03-10 Angus Leeming <leeming@lyx.org>
8422 * LyXAction.C (init): fix bug in poplating array with multiple entries
8423 with the same LFUN (spotted by JMarc).
8425 2003-03-10 John Levon <levon@movementarian.org>
8428 * text2.C: move getColumnNearX() near its
8431 2003-03-10 John Levon <levon@movementarian.org>
8433 * text.C: fix break before a minipage
8435 2003-03-10 John Levon <levon@movementarian.org>
8437 * text.C: fix the last commit
8439 2003-03-09 John Levon <levon@movementarian.org>
8443 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8444 bug 365 (don't break before insets unless needed). Don't
8445 return a value > last under any circumstances.
8447 2003-03-09 Angus Leeming <leeming@lyx.org>
8449 * BufferView_pimpl.C (trackChanges, dispatch): call
8450 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8452 2003-03-09 Angus Leeming <leeming@lyx.org>
8454 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8455 than Dialogs::showAboutlyx().
8457 2003-03-09 Angus Leeming <leeming@lyx.org>
8459 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8460 than Dialogs::showTabularCreate().
8462 2003-03-09 John Levon <levon@movementarian.org>
8466 * text2.C: 3rd arg to nextBreakPoint was always the same.
8469 2003-03-08 John Levon <levon@movementarian.org>
8476 * text2.C: Remove the "main" bit from the "main body"
8479 2003-03-08 John Levon <levon@movementarian.org>
8481 * text.C (leftMargin): The left margin of an empty
8482 manual label paragraph should not include the label width
8485 * text.C (prepareToPrint): don't attempt to measure hfills
8486 for empty manual label paragraphs - the answer should be 0
8488 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * CutAndPaste.C: remove commented code and reindent.
8492 2003-03-08 John Levon <levon@movementarian.org>
8495 * lyxfunc.C: move reloadBuffer()
8498 * BufferView.C: to here
8500 * lyxvc.C: add comment
8503 * vc-backend.C: call bv->reload() to avoid
8504 getStatus() check on MENURELOAD
8506 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8508 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8509 to an old format .dep file.
8511 2003-03-07 Angus Leeming <leeming@lyx.org>
8513 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8514 when the LFUN_MOUSE_RELEASE should have been handled by
8515 inset->localDispatch.
8517 2003-03-07 Angus Leeming <leeming@lyx.org>
8519 * BufferView_pimpl.C (dispatch):
8520 * LyXAction.C (init):
8521 * ToolbarDefaults.C (init):
8523 * lyxfunc.C (getStatus):
8524 remove LFUN_INSET_GRAPHICS.
8526 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8528 2003-03-07 Angus Leeming <leeming@lyx.org>
8531 * LyXAction.C (init):
8532 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8534 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8537 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8539 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8540 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8542 2003-03-07 Angus Leeming <leeming@lyx.org>
8544 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8547 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8549 * ParagraphList.C (front): new function
8552 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8554 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8555 and top_row_offset_. removed var first_y.
8557 * text2.C (LyXText, removeRow):
8559 * BufferView_pimpl.C:
8560 use these methods instead of using first_y
8562 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8564 * text2.C (pasteSelection): adjust for checkPastePossible
8566 * CutAndPaste.C: remove Paragraph * buf and replace with
8567 ParagraphList paragraphs.
8568 (DeleteBuffer): delete
8569 (cutSelection): change the tc type to textclass_type
8570 (copySelection): change the tc type to textclass_type
8571 (copySelection): adjust for ParagraphList
8572 (pasteSelection): change the tc type to textclass_type
8573 (pasteSelection): adjust for Paragraphlist
8574 (nrOfParagraphs): simplify for ParagraphList
8575 (checkPastePossible): simplify for ParagraphList
8576 (checkPastePossible): remove unused arg
8578 * ParagraphList.C (insert): handle the case where there are no
8581 * CutAndPaste.h: make CutAndPaste a namespace.
8583 * text3.C (dispatch): adjust
8585 * text.C (breakParagraph): add a ParagraphList as arg
8587 * paragraph_funcs.C (breakParagraph): change to take a
8588 BufferParams and a ParagraphList as args.
8589 (breakParagraphConservative): ditto
8590 (mergeParagraph): ditto
8591 (TeXDeeper): add a ParagraphList arg
8592 (TeXEnvironment): ditto
8595 * buffer.C (readLyXformat2): adjust
8596 (insertStringAsLines): adjust
8597 (latexParagraphs): adjust
8599 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8600 (cutSelection): adjust
8601 (pasteSelection): adjust
8603 * BufferView_pimpl.C (insertInset): adjust
8605 2003-03-05 Angus Leeming <leeming@lyx.org>
8608 * LyXAction.C (init):
8609 * BufferView_pimpl.C (dispatch):
8610 * lyxfunc.C (getStatus):
8611 remove LFUN_CHILD_INSERT.
8613 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8615 2003-03-05 Angus Leeming <leeming@lyx.org>
8618 * LyXAction.C (init):
8619 * src/factory.C (createInset):
8620 * lyxfunc.C (getStatus):
8621 * text3.C (dispatch):
8622 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8624 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8626 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8628 * ParagraphList.C (insert): handle insert right before end()
8629 (erase): fix cases where it can be first or last paragraph.
8631 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8633 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8634 Paragraph::next and Paragraph::previous
8637 * text.C (breakParagraph): adjust
8639 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8640 BufferParams& as arg.
8641 (breakParagraph): use ParagraphList::insert
8642 (breakParagraphConservative): take a Buffer* instead of a
8643 BufferParams& as arg.
8644 (breakParagraphConservative): use ParagraphList::insert.
8646 * buffer.C (insertStringAsLines): un-const it
8647 (insertStringAsLines): adjust
8649 * ParagraphList.C (insert): new function
8651 * CutAndPaste.C (pasteSelection): adjust
8653 * text.C (backspace): adjust
8655 * tabular.C (SetMultiColumn): adjust
8657 * CutAndPaste.C (cutSelection): adjust
8658 (pasteSelection): adjust
8660 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8661 Buffer const * as arg
8663 * ParagraphList.C (erase): new function
8664 * paragraph_funcs.C (mergeParagraph): use it
8665 (mergeParagraph): make it take a Buffer* instead of a
8666 BufferParams* as arg
8668 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8670 (breakParagraphConservative): ditto
8672 * paragraph.h: remove the breakParagraph friend
8674 * paragraph.C (eraseIntern): new function
8675 (setChange): new function
8677 * paragraph_funcs.C (mergeParagraph): make it take a
8678 ParagraphList::iterator instead of a Paragraph *, adjust
8681 * paragraph.h: move an #endif so that the change tracking stuff
8682 also works in the NO_NEXT case.
8684 2003-03-04 Angus Leeming <leeming@lyx.org>
8687 * LyXAction.C: new LFUN_INSET_MODIFY.
8689 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8690 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8692 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8694 * several files: ws changes only
8696 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8697 (TeXEnvironment): ditto
8700 * buffer.C (makeLaTeXFile): adjust
8701 (latexParagraphs): make it take ParagraphList::iterator as args
8703 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8705 * buffer.C (latexParagraphs): adjust
8707 * paragraph.C (TeXOnePar): move function...
8708 (optArgInset): move function...
8709 (TeXEnvironment): move function...
8710 * paragraph_pimpl.C (TeXDeeper): move function...
8711 * paragraph_funcs.C: ...here
8713 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8715 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8717 * buffer.C (readInset): remove compability code for old Figure and
8720 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8722 * buffer.C: ws changes
8725 * BufferView_pimpl.C: ditto
8728 * bufferlist.h: ditto
8732 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8734 * converter.[Ch]: split into itself +
8737 * Makefile.am: += graph.[Ch] + format.[Ch]
8744 * lyxrc.C: added #include "format.h"
8746 2003-02-27 Angus Leeming <leeming@lyx.org>
8748 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8751 * factory.C (createInset): add "label" to the factory.
8753 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8754 string and do no more.
8756 2003-02-27 Angus Leeming <leeming@lyx.org>
8759 * LyXAction.C (init):
8760 * factory.C (createInset):
8761 * BufferView_pimpl.C (dispatch):
8762 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8764 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8766 * lyxfunc.C (dispatch):
8767 * text3.C (dispatch): pass name to params2string.
8769 2003-02-26 Angus Leeming <leeming@lyx.org>
8771 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8773 Rearrange the ~includes. Strip out the unnecessary ones.
8775 * factory.C (createInset): reformat.
8776 create new insets for the various LFUN_XYZ_APPLY lfuns.
8778 2003-02-26 John Levon <levon@movementarian.org>
8781 * lyxrow.C: add isParStart,isParEnd helpers
8783 * paragraph.h: make isInserted/DeletedText take refs
8785 * paragraph_funcs.h:
8786 * paragraph_funcs.C: remove #if 0'd code
8791 * text.C: use lyxrow helpers above.
8792 Move draw and paint routines to RowPainter.
8793 Make several methods use refs not pointers.
8794 Make backgroundColor() const.
8795 Add markChangeInDraw(), isInInset().
8796 Merge changeRegionCase into changeCase.
8797 Make workWidth() shouldn't-happen code into an Assert.
8800 * rowpainter.C: new class for painting a row.
8803 * vspace.C: make inPixels take a ref
8805 2003-02-26 Angus Leeming <leeming@lyx.org>
8807 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8810 2003-02-25 John Levon <levon@movementarian.org>
8812 * ispell.C: give the forked command a more accurate name
8814 2003-02-22 John Levon <levon@movementarian.org>
8817 * toc.C: make TocItem store an id not a Paragraph *
8820 2003-02-21 Angus Leeming <leeming@lyx.org>
8822 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8823 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8824 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8825 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8826 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8827 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8829 * BufferView_pimpl.C (dispatch):
8830 * LyXAction.C (init):
8831 * factory.C (createInset):
8832 * lyxfunc.C (getStatus, dispatch):
8833 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8835 2003-02-21 Angus Leeming <leeming@lyx.org>
8837 * BufferView_pimpl.C (MenuInsertLyXFile):
8838 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8839 * lyxfunc.C (menuNew, open, doImport):
8840 no longer pass a LyXView & to fileDlg.
8842 2003-02-21 Angus Leeming <leeming@lyx.org>
8844 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8845 * LyXAction.C: change, BIBKEY to BIBITEM.
8846 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8847 Change InsetBibKey to InsetBibitem.
8848 Change BIBKEY_CODE to BIBITEM_CODE.
8849 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8850 * factory.C: replace insetbib.h with insetbibitem.h.
8851 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8852 * paragraph.C: replace insetbib.h with insetbibitem.h.
8853 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8854 Change bibkey() to bibitem().
8855 * text.C: remove insetbib.h.
8856 * text2.C: replace insetbib.h with insetbibitem.h.
8857 change bibkey() to bibitem().
8858 * text3.C: remove insetbib.h.
8859 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8861 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8863 * lyxrc.C (output): enclose user email in quotes (in case there are
8866 2003-02-18 John Levon <levon@movementarian.org>
8868 * buffer.h: add std::
8870 2003-02-17 John Levon <levon@movementarian.org>
8876 * pspell.C: reworking. Especially in ispell, a large
8877 number of clean ups and bug fixes.
8879 * lyxfunc.C: fix revert to behave sensibly
8881 2003-02-17 André Pönitz <poenitz@gmx.net>
8884 * commandtags.h: new LFUN_INSERT_BIBKEY
8894 * paragraph_func.C: remove special bibkey handling
8896 2003-02-17 John Levon <levon@movementarian.org>
8898 * text.C (Delete): fix case where delete at the end of
8899 the very first paragraph would not merge the pars
8901 2003-02-17 John Levon <levon@movementarian.org>
8903 * lyxrow.C: fix lastPrintablePos()
8905 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8907 * bufferparams.C (writeLaTeX): add a std:here
8909 * buffer.C: and remove a using directive there
8911 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8913 * buffer.C (makeLaTeXFile): move the code that generates the
8916 * bufferparams.C (writeLaTeX): ... in this new method
8918 * LaTeXFeatures.C (getEncodingSet): make const
8919 (getLanguages): make const
8921 * MenuBackend.C (binding): returns the binding associated to this
8923 (add): sets the status of each item by calling getStatus. Adds
8925 (read): add support for OptSubMenu
8926 (expand): remove extra separator at the end of expanded menu
8928 2003-02-15 John Levon <levon@movementarian.org>
8931 * BufferView_pimpl.C:
8933 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8934 inset code that had no actual effect. Remove unneeded status
8937 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8939 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8942 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8944 * text.C (drawLengthMarker): also draw an arrow marker for
8945 symbolic lengths (medskip...)
8947 2003-02-14 John Levon <levon@movementarian.org>
8950 * tabular.C: better method names
8952 2003-02-14 John Levon <levon@movementarian.org>
8954 * BufferView_pimpl.C:
8959 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8960 it's a more accurate name. Remove some pointless uses.
8962 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8964 * text2.C (LyXText): change order of initilizers to shut off
8967 2003-02-14 John Levon <levon@movementarian.org>
8969 * buffer.C: use ParIterator for getParFromID()
8973 * paragraph_pimpl.h:
8974 * paragraph_pimpl.C: remove unused getParFromID()
8976 2003-02-14 John Levon <levon@movementarian.org>
8978 * buffer.C: remove some very old #if 0'd parse code
8980 2003-02-13 John Levon <levon@movementarian.org>
8984 * text2.C: move hfillExpansion(), numberOfSeparators(),
8985 rowLast(), rowLastPrintable(), numberofHfills(),
8986 numberOfLabelHfills() ...
8989 * lyxrow.C: ... to member functions here.
8994 * text.C: remove LyXText::beginningOfMainBody(), and call
8995 p->beginningOfMainBody() directly. Move the check for
8996 LABEL_MANUAL into the latter.
9003 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9009 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9010 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9012 2003-02-13 John Levon <levon@movementarian.org>
9014 * CutAndPaste.C: remove debug
9016 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9018 * paragraph.C (asString): remove two unused variables
9020 * lyxtextclass.C (readTitleType):
9022 (LyXTextClass): handle new members titletype_ and titlename_
9024 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9026 2003-02-09 John Levon <levon@movementarian.org>
9029 * buffer.C: replace hand-coded list with a map for the dep clean
9031 2003-02-08 John Levon <levon@movementarian.org>
9033 * LaTeX.C: consolidate code into showRunMessage() helper
9035 2003-02-08 John Levon <levon@movementarian.org>
9040 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9041 and pass the size in explicitly
9043 * BufferView_pimpl.h:
9044 * BufferView_pimpl.C:
9046 * BufferView.C: add getCurrentChange()
9048 * BufferView_pimpl.h:
9049 * BufferView_pimpl.C: handle change lfuns
9051 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9052 for changes. Mark pasted paragraphs as new.
9054 * support/lyxtime.h:
9055 * support/lyxtime.C:
9056 * DepTable.C: abstract time_t as lyx::time_type
9059 * LColor.C: add colours for new text, deleted text, changebars
9061 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9062 package use "usenames" option.
9066 * LyXAction.C: add change lfuns
9070 * author.C: author handling
9073 * buffer.C: add a per-buffer author list, with first entry as
9074 current author. Handle new .lyx tokens for change tracking. Output
9075 author list to .lyx file. Output dvipost stuff to .tex preamble.
9076 Bump lyx format to 222.
9079 * bufferlist.C: add setCurrentAuthor() to reset current author details
9083 * bufferparams.C: add param for tracking
9085 * bufferview_funcs.C: output change info in minibuffer
9089 * changes.C: add change-tracking structure
9092 * debug.C: add CHANGES debug flag
9095 * lyxfind.C: add code for finding the next change piece
9098 * lyxrc.C: add user_name and user_email
9101 * lyxrow.C: add a metric for the top of the text line
9104 * text.C: implement accept/rejectChange()
9107 * text.C: paint changebars. Paint new/deleted text in the chosen
9108 colours. Strike through deleted text.
9112 * paragraph_pimpl.h:
9113 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9114 in the current change to the insert functions. Rework erase to
9115 mark text as deleted, adding an eraseIntern() and a range-based
9116 erase(). Implement per-paragraph change lookup and
9119 * paragraph_funcs.C: Fixup paste for change tracking.
9121 * tabular.C: mark added row/columns as new.
9123 * text.C: fix rowLast() to never return -1. Don't allow
9124 spellchecking of deleted text. Track transpose changes. Don't
9125 allow paragraph break or merge where appropriate.
9127 * text2.C: leave cursor at end of selection after a cut.
9129 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9131 * text.C (getLengthMarkerHeight):
9132 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9133 visible on screen too.
9135 2003-02-07 John Levon <levon@movementarian.org>
9137 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9139 2003-02-05 Angus Leeming <leeming@lyx.org>
9141 * lyxserver.C (read_ready): revert my patch of 11 September last year
9142 as it sends PC cpu through the roof. Presumably this means that
9143 the lyxserver will no longer run on an Alpha...
9145 2003-01-30 Angus Leeming <leeming@lyx.org>
9147 * factory.C (createInset): create an InsetCommandParam of type "index"
9148 and use it to 'do the right thing'.
9150 * text2.C (getStringToIndex): ensure that cursor position is always
9151 reset to the reset_cursor position.
9153 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9155 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9158 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9162 * lyxfunc.C: Output messages with identical spelling, punctuation,
9165 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9167 * MenuBackend.C (expandFormats): List only viewable export formats
9170 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9173 * lyxfunc.C (getStatus): Make sure that formats other than
9174 "fax" can also be disabled
9176 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9178 * text3.C (dispatch): put the lfuns that insert insets in 3
9179 groups, and call doInsertInset with appropriate arguments.
9180 (doInsertInset): new function, that creates an inset and inserts
9181 it according to some boolean parameters.
9183 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9185 * buffer.C (readFile): remember to pass on 'par' when calling
9186 readFile recursively.
9188 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9190 * MenuBackend.C (expandFormats): add "..." to import formats.
9192 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9194 * paragraph.C (asString): Remove XForms RTL hacks.
9196 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9197 * buffer.C: fix typo
9199 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9201 * Makefile.am (LIBS): delete var
9202 (lyx_LDADD): add @LIBS@ here instead.
9204 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9206 * Clarify the meaning of "wheel mouse jump"
9208 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9210 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9213 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9215 * importer.C (Loaders): do not preallocate 3 elements in the
9216 vector, since one ends up with 6 elements otherwise
9218 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9220 * DepTable.C (write): write the file name as last element of the
9221 .dep file (because it may contain spaces)
9222 (read): read info in the right order
9224 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9226 * paragraph_pimpl.C (simpleTeXBlanks):
9227 (simpleTeXSpecialChars):
9228 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9230 * tabular.C (latex): add some missing case statements. Reindent.
9232 * MenuBackend.C (expandToc): remove unused variable.
9234 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9243 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9246 2003-01-05 John Levon <levon@movementarian.org>
9249 * BufferView.C: add getEncoding()
9252 * kbsequence.C: do not store last keypress
9255 * lyxfunc.C: store last keypress here instead. Pass encoding
9258 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9260 * lyx_main.C (init): remove annoying error message when following
9261 symbolic links (bug #780)
9263 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9265 * text.C (insertChar):
9266 * lyxrc.C (getDescription): remove extra spaces
9268 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9270 * lyxrc.C (getDescription): remove extra spaces
9272 2002-12-20 John Levon <levon@movementarian.org>
9274 * text3.C: hack fix for page up/down across tall rows
9276 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9278 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9281 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9283 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9284 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9285 thesaurus is not compiled in
9287 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9289 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9291 2002-12-16 Angus Leeming <leeming@lyx.org>
9294 * lyx_main.C (init): remove override_x_deadkeys stuff.
9296 2002-12-12 John Levon <levon@movementarian.org>
9298 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9299 insert. Only remove shift modifier under strict
9302 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9304 * MenuBackend.C (expandToc): fix crash.
9306 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9308 * MenuBackend.C (expandToc): gettext on float names.
9310 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9312 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9313 implement bool empty() [bug 490]
9315 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9317 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9319 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9321 * several files: ws changes
9323 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9325 * text2.C (setCounter): clean up a bit, use boost.format.
9326 (updateCounters): initialize par upon declaration.
9328 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9329 if the layout exists. We do not just store the layout any more.
9330 (SwitchLayoutsBetweenClasses): use boost.format
9332 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9334 * converter.C (convert): if from and to files are the same, use a
9335 temporary files as intermediary
9337 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9340 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9342 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9344 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9346 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9348 * tabular.C (asciiPrintCell): use string(size, char) instead of
9351 * sgml.C (openTag): fix order of arguments to string constructor
9354 * lyxfunc.C (dispatch): use boost.format
9356 * lots of files: change "c" -> 'c'
9358 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9360 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9362 2002-11-25 Angus Leeming <leeming@lyx.org>
9364 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9366 * lyx_main.C (init): compile fix.
9368 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9370 * lyx_cb.C (start): boost.formatify
9371 do not include <iostream>
9373 * lengthcommon.C: ws only
9375 * boost-inst.C,BoostFormat.h: add more explict instantations
9377 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9379 * lots of files: handle USE_BOOST_FORMAT
9381 2002-11-21 John Levon <levon@movementarian.org>
9383 * pspell.C: fix compile
9385 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9387 * lyxfunc.C (dispatch): use boost::format
9391 * lyxfont.C (stateText): use boost::format
9393 * lyx_main.C (LyX): use boost::format
9395 (queryUserLyXDir): ditto
9398 (typedef boost::function): use the recommened syntax.
9400 * importer.C (Import): use boost::format
9402 * debug.C (showLevel): use boost::format
9404 * converter.C (view): use boost::format
9409 * bufferview_funcs.C (currentState): use boost::format
9411 * bufferlist.C (emergencyWrite): use boost::format
9413 * buffer.C (readLyXformat2): use boost::format
9414 (parseSingleLyXformat2Token): ditto
9416 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9418 * LaTeX.C (run): use boost::format
9420 * Chktex.C (scanLogFile): use boost::format
9422 * BufferView_pimpl.C (savePosition): use boost::format
9423 (restorePosition): ditto
9424 (MenuInsertLyXFile): ditto
9426 * BoostFormat.h: help file for explicit instation.
9428 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9430 * tabular.C (latex): Support for block alignment in fixed width
9433 2002-11-17 John Levon <levon@movementarian.org>
9435 * BufferView_pimpl.C:
9437 * lyxfunc.C: split filedialog into open/save
9439 2002-11-08 Juergen Vigna <jug@sad.it>
9441 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9442 by my last patch (hopefully).
9444 2002-11-08 John Levon <levon@movementarian.org>
9453 * toc.C: ParConstIterator, and use it (from Lars)
9455 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9457 * lyxtextclass.[Ch]: revise and add doxygen comments
9459 2002-11-07 John Levon <levon@movementarian.org>
9461 * text.C: fix progress value for spellchecker
9463 * toc.C: fix navigate menu for insetwrap inside minipage
9465 * paragraph_funcs.C: added FIXME for suspect code
9467 2002-11-07 John Levon <levon@movementarian.org>
9469 * BufferView_pimpl.C: fix redrawing of insets
9472 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9474 * text2.C (updateCounters): fix bug 668
9476 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9478 * text3.C (dispatch): Do not make the buffer dirty when moving the
9481 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9483 * vc-backend.C: STRCONV
9486 * text2.C (setCounter): STRCONV
9488 * paragraph.C (asString): STRCONV
9490 * lyxlength.C (asString): STRCONV
9491 (asLatexString): ditto
9493 * lyxgluelength.C (asString): STRCONV
9494 (asLatexString): ditto
9496 * lyxfunc.C (dispatch): STRCONV
9499 * lyxfont.C (stateText): STRCONV
9501 * importer.C (Import): STRCONV
9503 * counters.C (labelItem): STRCONV
9504 (numberLabel): ditto
9505 (numberLabel): remove unused ostringstream o
9510 * bufferview_funcs.C (currentState): STRCONV
9512 * buffer.C (readFile): STRCONV
9513 (asciiParagraph): ditto
9514 (makeLaTeXFile): ditto
9516 * Spacing.C (writeEnvirBegin): STRCONV
9518 * LaTeXFeatures.C (getLanguages): STRCONV
9519 (getPackages): ditto
9521 (getBabelOptions): ditto
9522 (getTClassPreamble): ditto
9523 (getLyXSGMLEntities): ditto
9524 (getIncludedFiles): ditto
9528 (scanAuxFile): ditto
9531 * LString.h: add the STRCONV macros
9533 * BufferView_pimpl.C (savePosition): STRCONV
9534 (restorePosition): ditto
9535 (MenuInsertLyXFile): ditto
9537 * vc-backend.C (scanMaster): change from submatch[...] to
9540 * funcrequest.C: include config.h
9542 * factory.C: include config.h
9544 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9546 * box.C: include config.h
9548 * LaTeX.C (scanAuxFile): change from submatch[...] to
9552 2002-10-25 Angus Leeming <leeming@lyx.org>
9554 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9556 * ispell.[Ch] (setError): new method.
9557 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9558 Use setError() insetead of goto END.
9560 * lyx_cb.C (AutoSave): move out child process into new class
9563 2002-10-30 John Levon <levon@movementarian.org>
9565 * text3.C: make start appendix undoable
9567 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9569 * lyxlength.C (inPixels): Fix returned value.
9571 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9574 2002-10-24 Angus Leeming <leeming@lyx.org>
9576 * lyxgluelength.h: no need to forward declare BufferParams
9577 or BufferView, so don't.
9579 2002-10-21 John Levon <levon@movementarian.org>
9581 * BufferView.C: menuUndo ->undo, redo
9583 * BufferView.h: document, remove dead, make some methods private
9585 * paragraph_funcs.h:
9586 * paragraph_funcs.C:
9587 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9592 * sgml.C: move sgml open/close tag into sgml.C
9594 * bufferview_funcs.h: unused prototype
9597 * lyxfunc.C: remove unused
9600 * text.C: remove unused
9602 2002-10-21 John Levon <levon@movementarian.org>
9606 * BufferView_pimpl.h:
9607 * BufferView_pimpl.C: fix mouse wheel handling based on
9608 patch from Darren Freeman
9610 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9612 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9614 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9616 * lyxlength.C (inPixels): Fix hanfling of negative length.
9617 Fix LyXLength::MU case.
9619 2002-10-16 John Levon <levon@movementarian.org>
9621 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9623 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9625 * converter.C (view): add support for $$i (file name) and $$p
9626 (file path) for the viewer command. If $$i is not specified, then
9627 it is appended to the command (for compatibility with old syntax)
9629 2002-10-14 Juergen Vigna <jug@sad.it>
9631 * undo_funcs.C (textHandleUndo): alter the order in which the
9632 new undopar is added to the LyXText, as we have to set first
9633 the right prev/next and then add it as otherwise the rebuild of
9634 LyXText is not correct. Also reset the cursor to the right paragraph,
9635 with this IMO we could remove the hack in "redoParagraphs()".
9637 2002-10-09 Angus Leeming <leeming@lyx.org>
9639 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9640 to turn off an optimisation if a new inset is to be inserted.
9642 2002-10-11 André Pönitz <poenitz@gmx.net>
9644 * lyxtext.h: make some functions public to allow access
9645 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9647 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9649 * text3.C (dispatch): when changing layout, avoid an infinite loop
9652 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9654 * lyxrc.C (read): treat a viewer or converter command of "none" as
9657 * MenuBackend.C (expandFormats): for an update, also allow the
9658 formats that are not viewable
9660 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9661 script if it is newer than the lyxrc.defaults in user directory
9663 2002-10-07 André Pönitz <poenitz@gmx.net>
9665 * text.C: Vitaly Lipatov's small i18n fix
9667 2002-09-25 Angus Leeming <leeming@lyx.org>
9669 * ispell.h: doxygen fix.
9671 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9673 * buffer.h (readFile): Add a new argument to the method, to allow
9674 reading of old-format templates.
9676 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9678 * toc.C (getTocList): Get TOC from InsetWrap.
9680 2002-09-16 John Levon <levon@movementarian.org>
9682 * lyxfunc.C: check tabular for cut/copy too
9684 2002-09-12 John Levon <levon@movementarian.org>
9689 * factory.C: add header
9691 * paragraph_funcs.h:
9692 * paragraph_funcs.C: cleanup
9694 2002-09-11 John Levon <levon@movementarian.org>
9696 * PrinterParams.h: odd/even default to true
9698 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9700 * PrinterParams.h: update printer parameters for new xforms dialog
9702 2002-09-11 Angus Leeming <leeming@lyx.org>
9704 * lyxserver.C (read_ready): re-write to make it more transparent
9705 and to make it work in coherent fashion under Tru64 Unix.
9707 2002-09-11 André Pönitz <poenitz@gmx.net>
9711 * text3.C: implement LFUN_WORDSEL
9713 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9715 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9716 make floatlist_ a boost::shared_ptr<FloatList>
9718 * lyxtextclass.C: include FloatList.h
9719 (LyXTextClass): initialize floatlist_
9720 (TextClassTags): add TC_NOFLOAT
9721 (Read): match "nofloat" to TC_NOFLOAT and use it.
9722 (readFloat): modify call to floatlist_
9726 * FloatList.[Ch] (FloatList): remove commented out float
9728 (erase): new function
9730 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9732 * MenuBackend.C (expandToc): fix crash when there is no document
9735 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9737 * many files: Add insetwrap.
9739 2002-09-09 John Levon <levon@movementarian.org>
9741 * text2.C: remove confusing and awkward depth wraparound
9743 2002-09-09 John Levon <levon@movementarian.org>
9745 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9748 * buffer.C: remove getIncludeonlyList()
9751 * lyxfunc.C: remove headers
9753 2002-09-09 Juergen Vigna <jug@sad.it>
9755 * text.C (getColumnNearX): fix form Michael this is most
9756 probably a cut&paste bug.
9758 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9760 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9762 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9763 references, ws changes.
9765 * text2.C (init): update counters after init
9766 (insertParagraph): no need to set counter on idividual paragraphs.
9767 (setCounter): access the counters object in the textclass object
9768 on in the buffer object.
9769 (updateCounters): ditto
9771 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9772 shared_ptr<Counters> to avoid loading counters.h in all
9774 (LyXTextClass): initialize ctrs_
9775 (TextClassTags): add TC_COUNTER, and ...
9776 (Read): use it here.
9777 (CounterTags): new tags
9778 (readCounter): new function
9779 (counters): new funtion
9780 (defaultLayoutName): return a const reference
9782 * counters.C (Counters): remove contructor
9783 (newCounter): remove a couple of unneeded statements.
9784 (newCounter): simplify a bit.
9785 (numberLabel): some small formatting changes.
9787 * buffer.[Ch]: remove all traces of counters, move the Counters
9788 object to the LyXTextClass.
9790 2002-09-06 Alain Castera <castera@in2p3.fr>
9792 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9793 package to set the horizontal alignment on fixed width columns.
9796 * lyx_sty.h: added tabularnewline macro def.
9798 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9800 2002-09-06 John Levon <levon@movementarian.org>
9802 * LyXAction.C: tooltips for sub/superscript
9804 * MenuBackend.C: a bit more verbose
9806 * lyxfunc.C: tiny clean
9808 * undo_funcs.C: document undo_frozen
9810 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9812 * counters.C (Counters): add missing algorithm counter.
9814 * text2.C (setCounter): lookup the counter with layouts latexname
9815 instead of by section number.
9816 (setCounter): use a hackish way to lookup the correct enum
9818 a float name->type change
9819 reset enum couners with counter name directly instead of depth value.
9821 * counters.C (Counters): remove the push_backs, change to use the
9822 float type not the float name.
9823 (labelItem): remove unused string, float name->type change
9825 * counters.h: don't include vector, loose the enums and sects vectors
9827 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9829 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9830 (Read): add float->TC_FLOAT to textclassTags
9831 (Read): and handle it in the switch
9832 (readFloat): new function
9834 * FloatList.C (FloatList): comment out the hardcoded float
9837 * lyxlayout.h: ws change.
9839 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9841 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9843 2002-09-03 Angus Leeming <leeming@lyx.org>
9845 * BufferView_pimpl.h: qualified name is not allowed in member
9846 declaration: WorkArea & Pimpl::workarea() const;
9848 * factory.C: added using std::endl directive.
9850 * text3.C: added using std::find and std::vector directives.
9852 2002-08-29 André Pönitz <poenitz@gmx.net>
9855 * text2.C: remove unused member number_of_rows
9858 * BufferView2.C: remove file, move contents to...
9859 * BufferView.C: ... here
9861 * BufferView_pimpl.C:
9862 * factory.C: move more inset creation to factory
9864 * vspace.C: avoid direct usage of LyXText, ws changes
9867 don't provide direct access to WorkArea, use two simple
9868 acessors haveSelction() and workHeight() instead
9871 2002-08-29 John Levon <levon@movementarian.org>
9873 * BufferView_pimpl.C (dispatch): do not continue when
9876 2002-08-28 André Pönitz <poenitz@gmx.net>
9878 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9881 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9883 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9885 * buffer.C: increment LYX_FORMAT to 221
9887 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9888 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9890 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9892 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9894 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9896 * factory.C (createInset): use LyXTextClass::floats
9898 * MenuBackend.C (expandFloatListInsert):
9899 (expandFloatInsert):
9902 * text2.C (setCounter):
9904 * LaTeXFeatures.C (useFloat):
9905 (getFloatDefinitions):
9907 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9909 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9910 floatlist_, with accessor floats().
9912 * FloatList.h: remove global FloatList
9914 2002-08-26 André Pönitz <poenitz@gmx.net>
9916 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9920 * BufferView_pimpl.C:
9921 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9923 2002-08-25 John Levon <levon@movementarian.org>
9925 * LyXAction.C: fix margin note description
9927 2002-08-24 John Levon <levon@movementarian.org>
9931 * bufferview_funcs.C:
9933 * undo_funcs.C: cleanups
9935 * lyxfunc.C: disable CUT/COPY when no selection
9937 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9939 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9940 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9942 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9943 Add backward compatibility to "mono", "gray" and "no".
9945 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9947 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9948 (and file_format >= 200).
9950 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9952 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9954 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9956 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9958 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9960 * BufferView_pimpl.C:
9967 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9968 inset and code to make it work with the paragraph code. The inset
9969 can be anywhere in the paragraph, but will only do the expected
9970 thing in LaTeX if the layout file contains the parameter line
9972 (or more generally, a nonzero value) for that layout.
9974 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9976 * paragraph.h: remove the declaration of undefined counters class
9979 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9981 * text2.C (setCounter): fixed enumeration mis-count as reported by
9982 Dr. Richard Hawkins.
9984 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * paragraph_funcs.h: remove some unneeded includes
9988 * text.C (backspace): pasteParagraph now in global scipe
9990 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9991 (pasteSelection): ditto
9993 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9994 * paragraph_funcs.C (pasteParagraph): ... here
9996 2002-08-20 André Pönitz <poenitz@gmx.net>
9998 * commandtags.h: new LFUNs for swapping/copying table row/colums
10001 * lyxfunc.C: support for new lfuns
10003 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10006 * buffer.[Ch]: remove NO_COMPABILITY stuff
10008 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10010 * boost.C (throw_exception): new file, with helper function for
10011 boost compiled without exceptions.
10016 * ParameterStruct.h:
10017 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10019 * bufferlist.C (emergencyWriteAll): use boost bind
10021 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10023 * text.C: include paragraph_funcs.h
10024 (breakParagraph): breakParagraph is now in global scope
10026 * paragraph_funcs.[Ch]: new files
10028 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10031 * buffer.C: include paragraph_funcs.h
10032 (insertStringAsLines): breakParagraph is now in global scope
10034 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10037 * CutAndPaste.C: include paragraph_funcs.h
10038 (cutSelection): breakParagraphConservative is now in global scope
10039 (pasteSelection): ditto
10041 * buffer.h: declare oprator== and operator!= for
10042 Buffer::inset_iterator
10044 * bufferlist.C (emergencyWrite): don't use fmt(...)
10046 * text3.C: add using std::endl
10048 * BufferView.C (moveCursorUpdate): remove default arg
10050 2002-08-20 André Pönitz <poenitz@gmx.net>
10052 * buffer.[Ch]: move inline functions to .C
10055 * BufferView_pimpl.C:
10057 * buffer.[Ch]: use improved inset_iterator
10060 * paragraph.[Ch]: write one paragraph at a time
10062 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10064 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10065 style if style is not specified.
10067 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10069 * text2.C (setCounter): when searching for right label for a
10070 caption, make sure to recurse to parent insets (so that a caption
10071 in a minipage in a figure float works) (bug #568)
10073 2002-08-20 André Pönitz <poenitz@gmx.net>
10075 * text3.C: new file for LyXText::dispatch() and helpers
10077 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10079 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10081 2002-08-19 André Pönitz <poenitz@gmx.net>
10084 * text.C: new LyXText::dispatch()
10086 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10088 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10090 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10092 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10095 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10097 * Makefile.am: use $(variables) instead of @substitutions@
10099 2002-08-15 André Pönitz <poenitz@gmx.net>
10102 * BufferView_pimpl.C: streamlining mathed <-> outer world
10106 * LyXAction.C: remove unused LFUN_MATH
10108 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10110 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10112 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10114 * paragraph.C (Paragraph): reformat a bit
10115 (cutIntoMinibuffer): use builtin InsetList function instad of
10119 * buffer.C: include boost/bind.hpp, add using std::for_each
10120 (writeFileAscii): use ParagraphList iterators
10121 (validate): use for_each for validate traversal of paragraphs
10122 (getBibkeyList): use ParagraphList iterators
10123 (resizeInsets): use for_each to resizeInsetsLyXText for all
10125 (getParFromID): use ParagraphList iterators
10127 * BufferView2.C (lockInset): use paragraph list and iterators
10129 2002-08-14 John Levon <levon@movementarian.org>
10131 * lyxserver.C: remove spurious xforms include
10133 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10135 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10137 2002-08-13 André Pönitz <poenitz@gmx.net>
10140 * lyxfunc.C: further cleaning
10142 2002-08-13 André Pönitz <poenitz@gmx.net>
10144 * funcrequest.h: new constructor
10146 * funcrequest.C: move stuff here from .h
10149 * BufferView_pimpl.C:
10152 * lyxfunc.C: subsequent changes
10154 * lyxfunc.h: new view() member function
10156 * lyxfunc.C: subsequent changes
10158 2002-08-13 Angus Leeming <leeming@lyx.org>
10161 * BufferView_pimpl.C:
10169 changes due to the changed LyXView interface that now returns references
10170 to member variables not pointers.
10172 2002-08-13 Angus Leeming <leeming@lyx.org>
10174 * WordLangTuple (word, lang_code): return references to strings,
10179 * lyxtext.h: forward-declare WordLangTuple.
10184 * text.C: #include "WordLangTuple.h".
10187 * text.C: (selectNextWordToSpellcheck): constify return type.
10189 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10195 * paragraph_pimpl.h:
10198 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10199 suggested by Angus.
10200 Made updateCounter always count from start of buffer, and removed
10201 second argument (par).
10202 Reverted floats number display to '#'. Perhaps I'll try again when the
10203 code base is sanitized a bit.
10205 2002-08-12 Angus Leeming <leeming@lyx.org>
10207 * buffer.[Ch] (getLabelList): constify.
10209 2002-08-07 André Pönitz <poenitz@gmx.net>
10211 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10213 * funcrequest.h: extension to keep mouse (x,y) position
10215 2002-08-12 Juergen Vigna <jug@sad.it>
10217 * BufferView2.C (insertErrors): forbid undo when inserting error
10220 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10222 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10224 * ParagraphList.[Ch]: new files
10226 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10228 * BufferView2.C (lockInset): ParagraphList changes
10231 * bufferlist.C: ditto
10235 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10237 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10238 unused class variable counter_,
10240 * paragraph.[Ch] (getFirstCounter): delete unused function
10242 * counters.C: include LAssert.h
10243 (reset): add a new function with no arg, change other version to
10244 not have def. arg and to not allow empty arg.
10246 * text2.C (setCounter): remove empty arg from call to Counters::reset
10248 2002-08-11 John Levon <levon@movementarian.org>
10250 * Makefile.am: add WordLangTuple.h
10252 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10254 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10255 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10257 * insets/insettext.C: InsetList changes
10259 * graphics/GraphicsSupport.C (operator()): InsetList changes
10261 * toc.C (getTocList): InsetList changes
10263 * paragraph_pimpl.[Ch]: InsetList changes
10265 * paragraph.[Ch]: InsetList changes
10267 * buffer.C (inset_iterator): InsetList changes
10268 (setParagraph): ditto
10269 * buffer.h (inset_iterator): ditto
10270 * iterators.C (operator++): ditto
10271 * iterators.h: ditto
10273 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10275 * InsetList.[Ch]: new files, most InsetList handling moved out of
10278 * BufferView2.C (removeAutoInsets): InsetList changes
10280 (ChangeInsets): ditto
10282 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10284 * paragraph_pimpl.h (empty): new function
10286 * paragraph.[Ch] (empty): new function
10288 * other files: use the new Paragraph::empty function
10290 2002-08-09 John Levon <levon@movementarian.org>
10292 * lyxtext.h: remove unused refresh_height
10294 2002-08-09 John Levon <levon@movementarian.org>
10301 * paragraph.C: move sgml char escaping out of paragraph
10304 * paragraph.C: remove id setter
10308 * paragraph_pimpl.C: remove dead tex_code_break_column
10310 * bufferview_funcs.C: small cleanup
10312 * lyxfunc.C: remove dead proto
10314 * lyxtext.h: make some stuff private. Remove some dead stuff.
10316 * lyxgluelength.C: make as[LyX]String() readable
10318 2002-08-08 John Levon <levon@movementarian.org>
10323 * ToolbarDefaults.C:
10326 * toc.C: lyxaction cleanup
10328 2002-08-08 John Levon <levon@movementarian.org>
10330 * BufferView2.C: small cleanup
10333 * lyxfind.C: move unnecessary header into the .C
10335 2002-08-08 John Levon <levon@movementarian.org>
10337 * funcrequest.h: just tedious nonsense
10340 * lyx_main.C: cleanups
10343 * vspace.C: remove dead header lyx_main.h
10345 2002-08-07 Angus Leeming <leeming@lyx.org>
10348 * paragraph_pimpl.h:
10349 Forward declare class Counters in paragraph.h by moving the ctrs member
10350 variable into Paragraph::Pimpl.
10351 (counters): new method, returning a reference to pimpl_->ctrs.
10353 * text2.C: ensuing changes.
10355 2002-08-07 John Levon <levon@movementarian.org>
10357 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10359 * BufferView_pimpl.C: announce X selection on double/triple
10362 * lyx_main.C: use correct bool in batch dispatch
10364 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10366 2002-08-07 André Pönitz <poenitz@gmx.net>
10368 * funcrequest.h: new class to wrap a kb_action and its argument
10371 * BufferView_pimpl[Ch]:
10375 * lyxrc.C: subsequent changes
10378 2002-08-07 John Levon <levon@movementarian.org>
10380 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10381 document options change.
10383 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10388 * makefile.am: move counters functionality over from
10389 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10391 2002-08-06 John Levon <levon@movementarian.org>
10393 * WordLangTuple.h: new file for word + language code tuple
10404 * BufferView2.C: use WordLangTuple
10407 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10409 2002-08-06 John Levon <levon@movementarian.org>
10411 * lyx_main.C: fix cmdline batch handling
10413 2002-08-06 André Pönitz <poenitz@gmx.net>
10415 * lyxrc.C: set default for show_banner to true
10417 2002-08-06 John Levon <levon@movementarian.org>
10419 * pspell.C: fix a crash, and allow new aspell to work
10421 2002-08-06 John Levon <levon@movementarian.org>
10424 * kbmap.C: small cleanup
10427 * vspace.C: add const
10429 2002-08-05 John Levon <levon@movementarian.org>
10431 * LyXAction.C: back to tabular-insert
10433 2002-08-04 John Levon <levon@movementarian.org>
10436 * BufferView.C: cosmetic change
10438 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10448 * BufferView2.C: purge all "Lyx" not "LyX" strings
10451 * lyxcursor.C: attempt to add some documentation
10456 * ToolbarDefaults.C:
10457 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10458 merge with LFUN_TABULAR_INSERT
10465 * pspell.C: split up i/pspell implementations into separate
10466 files, many cleanups
10468 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10470 * text2.C: some cleanup
10472 * lyxfunc.C: don't check for isp_command == "none" any more, it
10473 didn't make any sense
10475 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10480 * makefile.am: move counters functionality over
10481 from text2.C/paragraph.[Ch] to counters.[Ch], and
10483 2002-08-02 John Levon <levon@movementarian.org>
10485 * buffer.C: s/lyxconvert/lyx2lyx/
10487 2002-08-02 Angus Leeming <leeming@lyx.org>
10489 * lyxlex.C: revert John's change as it breaks reading of the user
10492 2002-08-02 Angus Leeming <leeming@lyx.org>
10494 * importer.C (Import):
10495 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10496 changes due to LyXView::view() now returning a boost::shared_ptr.
10498 2002-08-02 John Levon <levon@movementarian.org>
10500 * lyxlex.C: small cleanup
10502 2002-08-02 John Levon <levon@movementarian.org>
10504 * text2.C (status): small cleanup, no logic change
10506 2002-08-01 John Levon <levon@movementarian.org>
10509 * buffer.C (writeFile): don't output alerts, caller
10513 * lyx_cb.C: from above
10515 * lyxfunc.C: allow to open non-existent files
10517 2002-07-31 John Levon <levon@movementarian.org>
10519 * lyxserver.C: don't let incidental errors get
10522 2002-07-30 John Levon <levon@movementarian.org>
10524 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10526 2002-07-30 John Levon <levon@movementarian.org>
10529 * lyxserver.C: remove I/O callback too
10531 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10533 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10536 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10538 * many files: strip,frontStrip -> trim,ltrim,rtrim
10540 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10542 * PrinterParams.h: remove extern containsOnly, and include
10543 support/lstrings.h instead.
10545 * LaTeX.C (scanAuxFile): modify because of strip changes
10547 * buffer.C (makeLaTeXFile): ditto
10548 * bufferparams.C (writeFile): ditt
10549 * lyxfont.C (stateText): ditto
10550 * lyxserver.C (read_ready): ditto
10551 * vc-backend.C (scanMaster): ditto
10553 * BufferView_pimpl.h: ws changes
10555 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10557 2002-07-26 André Pönitz <poenitz@gmx.net>
10559 * kb_sequence.C: remove unnedred usings
10561 2002-07-26 Juergen Vigna <jug@sad.it>
10563 * lyxfind.C (LyXReplace): we have to check better if the returned
10564 text is not of theLockingInset()->getLockingInset().
10566 2002-07-25 Juergen Vigna <jug@sad.it>
10568 * lyxfind.C (LyXReplace): don't replace if we don't get the
10571 * undo_funcs.C (createUndo): remove debugging code.
10573 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10575 * buffer.C (parseSingleLyXformat2Token): Use default placement
10576 when reading old floats.
10578 * FloatList.C (FloatList): Change the default placement of figure
10579 and tables to "tbp".
10581 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10583 * MenuBackend.C: using std::max
10585 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * MenuBackend.C (expandToc):
10588 (expandToc2): code moved from xforms menu frontend. It is now
10589 generic and TOCs are transparent to menu frontends.
10591 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10593 * toc.C (getTocList): protect against buf=0
10595 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10596 Menu as first parameter. Now, this calls itself recursively to
10597 expand a whole tree (this will be useful for TOC handling)
10598 (expandFloatInsert): remove 'wide' version of floats
10600 * MenuBackend.h (submenuname): returns the name of the submenu.
10601 (submenu): returns the submenu itself, provided it has been
10602 created by MenuBackend::expand
10604 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10606 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10607 insets which have noFontChange == true. (bug #172)
10609 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10611 * BufferView_pimpl.C: add connection objects and use them...
10614 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10616 * MenuBackend.C (expandLastfiles):
10619 (expandFloatListInsert):
10620 (expandFloatInsert):
10621 (expand): split expand in parts
10623 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10625 * lyx_gui.C: use lyx_gui::exit()
10627 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10629 * LyXAction.C: show the failing pseudo action
10631 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10633 * buffer.C (readFile): Run the lyxconvert script in order to read
10636 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10640 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10642 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10646 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10648 2002-07-22 Herbert Voss <voss@lyx.org>
10651 * lyxlength.[Ch]: add support for the vertical lengths
10653 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10655 * toc.[Ch]: std:: fixes
10657 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10659 * lyxrc.C: do not include lyx_main.h
10661 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10667 * BufferView2.C: include "lyxlex.h"
10670 * bufferparams.h: do not #include "lyxlex.h"
10672 * lyxtextclasslist.C (Add): remove method
10673 (classlist): renamed to classlist_
10675 * paragraph_pimpl.C:
10679 * bufferview_funcs.C:
10684 * toc.C (getTocList): use BufferParams::getLyXTextClass
10686 * toc.C (getTocList): use InsetFloat::addToToc
10688 * toc.[Ch]: new files, containing helper functions to handle table
10691 * lyxfunc.C (dispatch): no need to remove spaces around command
10693 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10694 first command of the sequence; it is not very clever, but I do not
10695 have a better idea, actually
10697 * LyXAction.C (LookupFunc): make sure to remove space at the
10698 beginning and end of the command
10700 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10702 * MenuBackend.C (getMenubar): new method: return the menubar of
10704 (read): treat differently reading of menu and menubar (in
10705 particular, the menubar has no name now)
10706 (Menu::menubar): remove
10708 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10711 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10713 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10714 a bibitem inset in a RTL paragraph.
10716 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10718 * paragraph_pimpl.C: constify
10720 * BufferView_pimpl.C:
10722 * lyxfunc.C: fix dispatch in a nicer way
10724 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10726 * lyxfunc.C (dispatch):
10727 * BufferView_pimpl.C:
10728 * BufferView_pimpl.h:
10730 * BufferView.h: rename Dispatch() to dispatch()
10732 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10734 * lyxlayout.C (Read): honor DependsOn tag
10736 * lyxlayout.[Ch] (depends_on): new method
10738 * version.C.in: update lyx_docversion
10740 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10742 * paragraph.C (validate): remove from here...
10743 * paragraph_pimpl.C (validate): ... and move here
10744 (isTextAt): make it const
10746 * buffer.C (getLists): ws cleanup
10748 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10750 * language.C (read): Use iso8859-1 encoding in latex_lang
10751 (this prevents LyX from crashing when using iso10646-1 encoding).
10753 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10755 * text2.C (toggleInset): if cursor is inside an inset, close the
10756 inset and leave cursor _after_ it
10758 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10760 * lyxfunc.C: move minibuffer completion handling out of here
10762 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10764 * BufferView_pimpl.C:
10765 * LaTeX.C: fix dispatch calls
10767 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10769 * text.C (drawChars): Fix Arabic text rendering.
10771 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10775 * lyxfunc.C: remove message-push/pop
10779 * lyxfunc.C: rationalise some code by removing verboseDispatch
10780 in favour of a bool argument to dispatch()
10782 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10784 * lyx_main.C (init): make sure to read symlinks as absolute paths
10786 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10789 * lyxfunc.C: no need for commandshortcut to be a member
10791 2002-07-15 André Pönitz <poenitz@gmx.net>
10793 * converter.C: add support for $$s (scripts from lib/scripts dir)
10794 * lyx_main.C: white space
10796 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10800 * lyxrc.C: remove second exit confirmation
10802 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10807 * BufferView_pimpl.h:
10808 * BufferView_pimpl.C:
10809 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10811 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10813 * MenuBackend.C (expand): add numeric shortcuts to document menu
10815 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10817 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10819 * lyxfont.C (setLyXFamily):
10826 * buffer.C (asciiParagraph): use ascii_lowercase
10828 2002-07-15 Mike Fabian <mfabian@suse.de>
10830 * lyxlex_pimpl.C (search_kw):
10831 * lyxlex.C (getLongString):
10832 * converter.h (operator<):
10833 * converter.C (operator<):
10834 * buffer.C (parseSingleLyXformat2Token):
10836 * ToolbarDefaults.C (read):
10837 * MenuBackend.C (checkShortcuts):
10839 * LColor.C (getFromGUIName):
10840 (getFromLyXName): use the compare_ascii_no_case instead of
10841 compare_no_case, because in turkish, 'i' is not the lowercase
10842 version of 'I', and thus turkish locale breaks parsing of tags.
10844 2002-07-16 Angus Leeming <leeming@lyx.org>
10846 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10847 now takes a Buffer const & argument.
10849 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10851 * BufferView.C (resize): check there's a buffer to resize
10853 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10855 * lyxfunc.C: remove dead code
10858 * lyxserver.C: use lyx_guii::set_read_callback
10860 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10862 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10863 an inset in a RTL paragraph.
10865 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10867 * lyxfunc.C: repaint after a font size update
10869 2002-07-15 André Pönitz <poenitz@gmx.net>
10871 * lyxlength.C: inBP should be able to return negative values
10873 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10875 * lyxfunc.C: use lyx_gui::update_fonts()
10877 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10879 * lyxfunc.C: use lyx_gui::update_color()
10881 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10887 * lyxrc.C: remove file->new asks for name option, and let
10888 buffer-new take an argument
10890 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10892 * BufferView_pimpl.C: remove unneeded extra repaint()
10894 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10896 * LyXAction.C: allow command-sequence with NoBuffer
10898 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10900 2002-07-10 Angus Leeming <leeming@lyx.org>
10902 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10904 2002-07-09 Angus Leeming <leeming@lyx.org>
10906 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10908 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10910 * lengthcommon.h: whitespace
10912 * lyxfunc.C: update scrollbar after goto paragraph
10914 * lyxtext.h: factor out page break drawing, and fix it so
10915 page break/added space paints as selected nicely
10917 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10919 * BufferView_pimpl.C: add FIXMEs, clean up a little
10921 2002-07-09 André Pönitz <poenitz@gmx.net>
10923 * lyxfont.[Ch]: support for wasy symbols
10925 2002-07-08 André Pönitz <poenitz@gmx.net>
10927 * BufferView_pimpl.C: apply John's patch for #93.
10929 2002-07-05 Angus Leeming <leeming@lyx.org>
10931 * BufferView_pimpl.C (buffer): generate previews if desired.
10933 * LColor.h: add "preview" to the color enum.
10935 * LColor.C (LColor): add a corresponding entry to the items array.
10937 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10940 2002-07-05 Angus Leeming <leeming@lyx.org>
10942 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10943 The body of the code is now in the method that is passed an ostream &
10944 rather than a file name.
10945 Pass an additional only_preamble parameter, useful for the forthcoming
10948 2002-07-03 André Pönitz <poenitz@gmx.net>
10950 * lyxfunc.C: simplify getStatus() a bit for math stuff
10952 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10954 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10956 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10958 * text.C (changeRegionCase): do not change case of all the
10959 document when region ends at paragraph end (bug #461)
10961 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10963 * paragraph.C (startTeXParParams):
10964 (endTeXParParams): add \protect when necessary
10966 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10968 * BufferView_pimpl.C (workAreaExpose): remove warning
10970 2002-06-27 Angus Leeming <leeming@lyx.org>
10972 * Makefile.am: add lyxlayout_ptr_fwd.h.
10974 2002-06-26 André Pönitz <poenitz@gmx.net>
10976 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10978 2002-06-25 Angus Leeming <leeming@lyx.org>
10980 * lyxfunc.C (dispatch): Comment out the call to
10981 grfx::GCache::changeDisplay. The method no longer exists now that the
10982 pixmap generation part of the graphics loader has been moved into
10985 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10987 * text2.C: layout as layout
10989 * text.C: layout as layout
10991 * tabular.C (OldFormatRead): layout as layout
10993 * paragraph_pimpl.C (TeXDeeper): layout as layout
10994 (realizeFont): layout as layout
10996 * paragraph.C (writeFile): layout as layout
10997 (validate): layout as layout
10998 (getFont): layout as layout
10999 (getLabelFont): layout as layout
11000 (getLayoutFont): layout as layout
11001 (breakParagraph): layout as layout
11002 (stripLeadingSpaces): layout as layout
11003 (getEndLabel): layout as layout
11004 (getMaxDepthAfter): layout as layout
11005 (applyLayout): layout as layout
11006 (TeXOnePar): layout as layout
11007 (simpleTeXOnePar): layout as layout
11008 (TeXEnvironment): layout as layout
11009 (layout): layout as layout
11010 (layout): layout as layout
11012 * lyxtextclass.C (compare_name): new functor to work with
11013 shared_ptr, layout as layout
11014 (Read): layout as layout
11015 (hasLayout): layout as layout
11016 (operator): layout as layout
11017 (delete_layout): layout as layout
11018 (defaultLayout): layout as layout
11020 * lyxlayout_ptr_fwd.h: new file
11022 * lyxlayout.C (Read): layout as layout
11024 * lyx_cb.C (MenuInsertLabel): layout as layout
11026 * bufferlist.C (newFile): layout as layout
11028 * buffer.C (readLyXformat2): layout as layout
11029 (parseSingleLyXformat2Token): layout as layout
11030 (insertStringAsLines): layout as layout
11031 (asciiParagraph): layout as layout
11032 (latexParagraphs): layout as layout
11033 (makeLinuxDocFile): layout as layout
11034 (simpleLinuxDocOnePar): layout as layout
11035 (makeDocBookFile): layout as layout
11036 (simpleDocBookOnePar): layout as layout
11037 (getLists): layout as layout
11039 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11041 * CutAndPaste.C (cutSelection): layout as layout
11042 (pasteSelection): layout as layout
11043 (SwitchLayoutsBetweenClasses): layout as layout
11045 * BufferView_pimpl.C (Dispatch): layout as layout
11046 (smartQuote): layout as layout
11048 * BufferView2.C (unlockInset): layout as layout
11050 2002-06-24 André Pönitz <poenitz@gmx.net>
11052 * lyxfunc.C: fix #487
11054 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11058 * lyxfunc.C: remove display_shortcuts, show_banner
11060 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11062 * Buffer_pimpl.C: oops, update on resize
11064 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11071 * BufferView.C: use repaint()
11073 * BufferView_pimpl.h:
11074 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11075 as it's a clearer description. Remove superfluous
11078 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11080 * text.C: fix bug 488. Not ideal, but getting
11081 getWord() to work properly for the insets that
11082 matter is more difficult ...
11084 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11086 * BufferView_pimpl.C:
11089 * lyxfunc.C: remove the six million index lyxfuncs to just
11090 one, and DTRT (bug 458)
11092 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11096 * BufferView_pimpl.h:
11097 * BufferView_pimpl.C: clean up resize() stuff,
11098 and unnecessary updateScreen()s
11100 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11104 * BufferView_pimpl.h:
11105 * BufferView_pimpl.C:
11108 * minibuffer.C: remove focus management of workarea,
11109 not needed. Use screen's greyOut()
11111 2002-06-17 Herbert Voss <voss@lyx.org>
11113 * converter.C: (convert) do not post a message, when converting
11114 fails, let the calling function decide what to do in this case
11116 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11118 * lyxfunc.C: tidy up a little
11120 2002-06-16 <alstrup@diku.dk>
11122 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11123 Got rid of FORMS_H_LOCATION include. Now we are
11126 2002-06-15 LyX Development team <lyx@rilke>
11128 * buffer.[Ch] (sgmlOpenTag):
11129 (sgmlCloseTag): Added support for avoiding pernicious mixed
11130 content. Return number of lines written.
11132 (makeLinuxDocFile):
11133 (makeDocBookFile): Fixed calls to sgml*Tag.
11134 Simple white space clean.
11136 (simpleDocBookOnePar): Simple white space clean.
11138 * tabular.[Ch] (docBook): Renamed to docbook and got another
11139 argument to related with the pernicious mixed content.
11141 (docbookRow): Fixed calls for docbook inset method.
11143 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11145 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11146 so it's X11 independent.
11150 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11152 2002-06-15 Lyx Development team <lyx@electronia>
11154 * intl.h: Renamed getTrans to getTransManager.
11156 2002-06-14 Angus Leeming <leeming@lyx.org>
11158 * Makefile.am: nuke forgotten stl_string_fwd.h.
11160 2002-06-12 Angus Leeming <leeming@lyx.org>
11162 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11164 2002-06-13 Angus Leeming <leeming@lyx.org>
11167 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11169 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11171 * kbmap.C (getiso): add support for cyrillic and greek
11173 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11177 * BufferView_pimpl.h:
11178 * BufferView_pimpl.C: move bogus scrolling logic
11181 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11184 * BufferView_pimpl.C: view->resize() change
11186 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11188 * BufferView_pimpl.C: topCursorVisible
11191 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11195 * lyx_gui.C: move to frontends/
11199 * lyx_main.C: changes from above
11201 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11208 * lyx_main.C: minor tidy
11210 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11212 * BufferView_pimpl.h:
11213 * BufferView_pimpl.C:
11215 * BufferView.C: make painter() const,
11218 * BufferView2.C: use screen() accessor
11221 * lyx_main.C: some minor cleanup
11223 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11225 * BufferView_pimpl.h:
11226 * BufferView_pimpl.C: remove enter/leaveView,
11229 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11234 * BufferView_pimpl.h:
11235 * BufferView_pimpl.C: only construct screen once,
11238 * lyxrc.C: remove pointless comment
11240 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11243 * BufferView.C: remove active() and belowMouse()
11245 * BufferView_pimpl.h:
11246 * BufferView_pimpl.C: use workarea() not workarea_,
11247 and make it use a scoped_ptr instead
11249 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11251 * lyx_gui.C: add debug message on BadWindow
11253 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11255 * sp_spell.C: fdopen is not part of the C++ standard.
11257 * paragraph.C (InsetIterator): use >= instead of ==
11259 2002-06-07 Angus Leeming <leeming@lyx.org>
11261 Fixes needed to compile with Compaq cxx 6.5.
11262 * BufferView_pimpl.C:
11269 * lyxtextclasslist.C:
11274 all c-library variables have been moved into namespace std. Wrap
11275 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11280 Add a using std::abs declaration.
11282 * kbmap.h (modifier_pair):
11283 * paragraph.h (InsetTable, InsetList):
11284 * lyxfont.h (FontBits):
11285 type definition made public.
11287 * bufferlist.C (emergencyWriteAll): the compiler complains that
11288 there is more than one possible lyx::class_fun template to choose from.
11289 I re-named the void specialisation as lyx::void_class_fun.
11291 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11293 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11294 the compiler is is unable to find tostr in write_attribute.
11296 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11298 * buffer.C (sgmlError): hide #warning
11300 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11302 * xtl/*: get rid of xtl, which is not in use anyway
11304 * LyXAction.C (init):
11305 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11306 were unimplemented xtl experimentation
11308 2002-06-04 André Pönitz <poenitz@gmx.net>
11310 * lyxfunc.C: disable array operation on simple formulae
11312 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11314 * converter.C: constify a bit
11316 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11318 * lyx_gui.C: check xforms version correctly
11320 2002-04-30 Herbert Voss <voss@lyx.org>
11322 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11325 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11327 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11328 attempt to register it with a VCS)
11330 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11332 * lyx_main.C (init): honor variables LYX_DIR_13x and
11335 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11339 * lyx_main.C: fix a crash on bad command line,
11340 and give a useful exit status on error
11342 * lyxfunc.C (doImport): allow -i lyx to work
11344 2002-03-30 André Pönitz <poenitz@gmx.net>
11346 * lyxfunc.C: mathed font changes
11348 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11363 * trans_mgr.h: srcdocs, and some minor cleanups
11365 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11367 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11368 call getFont all the time)
11370 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11372 * switch from SigC signals to boost::signals
11374 2002-05-29 André Pönitz <poenitz@gmx.net>
11376 * paragraph_pimpl.C (getChar): don't call size() too often...
11378 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11380 * paragraph_pimpl.C (insertChar): do not try to update tables when
11381 appending (pos == size())
11383 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11384 in order to reduce drastically the number of comparisons needed to
11385 parse a large document
11387 2002-05-29 André Pönitz <poenitz@gmx.net>
11393 * textclasslist.[Ch]:
11394 * sp_ispell.h: whitespace change
11396 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11398 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11399 lyxaction directly now.
11401 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11405 * lyxvc.C: remove unused headers
11407 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11414 * undo_funcs.C: some cleanups. Use shared_ptr
11415 and a template for the undo stacks.
11417 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11419 * BufferView_pimpl.h:
11420 * BufferView_pimpl.C:
11427 * text2.C: use key_state/mouse_state
11429 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11431 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11434 * chset.C: change include order
11435 (loadFile): use boost regex and get rid of LRegex and LSubstring
11437 * Makefile.am (BOOST_LIBS): new variable
11438 (lyx_LDADD): use it
11440 * LaTeX.C: change include order.
11441 (scanAuxFile): use boost regex and get rid of LRegex and
11445 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11450 * FontInfo.C: moved to frontends/xforms/
11453 * FontLoader.C: moved into frontends for GUIIzation
11458 * lyxfunc.C: changes from above
11460 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11462 * LColor.C: remove spurious X include
11464 * BufferView_pimpl.C:
11469 * text2.C: move font metrics to frontends/
11471 2002-05-24 Juergen Vigna <jug@sad.it>
11473 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11474 setting the undo_cursor.
11476 * ParagraphParameters.h: include local includes first.
11478 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11480 * BufferView_pimpl.C:
11481 * BufferView_pimpl.h:
11485 * screen.C: move WorkArea into frontends/
11491 * BufferView2.C: move LyXScreen into frontends/
11495 * lyx_gui.C: move lyxlookup into frontends/xforms/
11497 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11500 * BufferView_pimpl.C:
11510 * bufferview_funcs.C:
11523 * vc-backend.C: move LyX/XFormsView into frontends/
11525 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11537 * text2.C: move Painter to frontends/
11539 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11541 * buffer.C: comment out some some code that depend upon lyx_format
11544 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11545 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11547 * buffer.h (NO_COMPABILITY): turn off compability
11549 * ColorHandler.C: include scoped_array.hpp
11551 * font.C: Use more specific smart_ptr header.
11554 * ShareContainer.h: ditto
11555 * lyx_main.h: ditto
11557 * FontInfo.h: ditto
11558 * BufferView_pimpl.h: ditto
11559 * ColorHandler.h: ditto
11561 * kbmap.C (defkey): change call to shared_ptr::reset
11563 2002-05-21 Juergen Vigna <jug@sad.it>
11565 * buffer.C (insertErtContents): fix to insert ert asis if it is
11566 non empty. Skip it completely if it contains only whitespaces.
11568 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11570 * BufferView_pimpl.C:
11571 * BufferView2.C: clear selection on paste (bug 393)
11573 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11575 * DepTable.C: include ctime
11577 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11579 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11581 2002-05-14 Juergen Vigna <jug@sad.it>
11583 * text.C (breakParagraph): fixed function to honor the keepempty
11584 layout in the right maner and also to permit the right breaking
11585 algorithm on empty or non empyt keepempty paragraphs.
11587 * paragraph.C (breakParagraph): we have to check also if the par
11588 is really empty (!size()) for isempty otherwise we do the wrong
11591 2002-05-10 Juergen Vigna <jug@sad.it>
11593 * buffer.[Ch] : The following are only changes to the ert
11594 compatibility read reading old LaTeX layout and font stuff and
11595 convert it to ERTInsets.
11597 * buffer.h: added isErtInset().
11599 * buffer.C (struct ErtComp): add a fromlayout bool to check
11600 if we're inside a LaTeX layout.
11601 (isErtInset): new helper function.
11602 (insertErtContents): look for other ert insets before this one
11603 and insert the contents there, so that we don't have subsequent
11604 ERT insets with nothing between them. This way we create only one
11605 inset with multiple paragraphs. Also check if we don't insert only
11606 spaces ' ' as they are ignored anyway afterwards in the .tex file
11607 so if we have only spaces we will ignore this latex part in the
11609 (parseSingleLyXformat2Token \\layout): better compatibility when
11610 reading layout-latex stuff.
11611 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11613 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11614 stuff after reading the inset only get the information back from
11617 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11619 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11621 * LaTeXFeatures.C (getBabelOptions): New method.
11623 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11625 * BufferView_pimpl.C (Dispatch): work around missing argument for
11628 2002-05-08 Juergen Vigna <jug@sad.it>
11630 * text.C (leftMargin): handle paragraph leftindent.
11632 * paragraph.C (writeFile): write the new \\leftindent tag.
11633 (validate): handle leftindent code.
11634 (TeXEnvironment): handle paragraphleftindent code again.
11636 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11638 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11639 for paragrap_extra indent code and new token \\leftindent.
11640 (latexParagraphs): handle the leftindent as environment.
11642 * ParameterStruct.h: added leftindent support.
11644 * ParagraphParameters.C (leftIndent): added support functions for
11645 the paragraph left indent.
11647 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11650 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11652 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11655 * text.C (computeBidiTables): No bidi in insetERT.
11657 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11660 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11662 * version.C.in: pre 5
11664 2002-05-02 José Matos <jamatos@fep.up.pt>
11665 * buffer.C (makeDocBookFile): white space changes, add newline to
11667 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11669 * tabular.C (docBook): fix typo.
11671 2002-05-03 Juergen Vigna <jug@sad.it>
11673 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11674 change in LyXText as we can not be sure it was not freed.
11675 (drawOneRow): remove unused code.
11677 * text.C (drawInset): redo the calculation of the need_break_row as
11678 it could have a row which was already freed.
11679 (draw): look at the return value of drawInset and return false if
11680 it also returned false.
11681 (paintRowText): look at the return value of draw and return false if
11682 it also returned false.
11684 * lyxtext.h: added bool return type to drawInset() and draw() so that
11685 if we have a change in the row so that the rowbreak has to be redone
11686 we abort drawing as it will be called again.
11688 2002-05-02 Juergen Vigna <jug@sad.it>
11690 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11691 a change in the maintext also if we're inside an inset.
11692 (Dispatch): set the cursor again after a break line and after the
11693 screen has been updated as it could be we're in a different row.
11695 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11696 to set the cursor behind the pargraph with > size().
11697 (setCursor): check also for the same paragraph when checking where
11698 to put the cursor if we have a NFR inset.
11700 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11701 parts of layout read further up as it still was in the wrong
11704 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11706 * screen.C (drawFromTo): change sine fullRebreak always return
11709 * buffer.C (parseSingleLyXformat2Token): reindent some
11711 * BufferView_pimpl.C (update): change since fullRebreak always
11713 (Dispatch): git rid of the last hardcoded "Standard"s.
11715 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11717 * text2.[Ch] (fullRebreak): make it return void now that we always
11720 2002-04-30 Juergen Vigna <jug@sad.it>
11722 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11723 ert compatibility check for "latex" layout.
11725 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11727 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11728 minipages: use col% instead of p%, and also use the current font.
11729 (makeLaTeXFile): Fix use babel condition.
11730 (parseSingleLyXformat2Token): Correct font when reading old floats.
11732 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11734 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11735 inserting list of floats.
11737 2002-04-25 Herbert Voss <voss@lyx.org>
11739 * MenuBackend.C (expand): don't add the graphics extensions to the
11742 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11744 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11745 non-existing layout, do not complain if it was the default layout
11746 of the original class (bug #342)
11748 2002-04-24 Juergen Vigna <jug@sad.it>
11750 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11751 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11753 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11755 * buffer.C (getBibkeyList): If using \bibliography, return the
11756 option field with the reference itself. Enables us to provide natbib
11757 support when using \bibliography.
11759 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11761 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11763 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11764 natbib is provided by the LaTeX class.
11766 2002-04-23 Juergen Vigna <jug@sad.it>
11768 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11771 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11773 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11775 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11777 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11778 ensuremath around textordmasculine, textordfeminine and
11781 2002-04-19 Juergen Vigna <jug@sad.it>
11783 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11784 reinitializing the buffer otherwise row-dimensions may be wrong.
11785 (update): reset also the selection cursors if they do exits otherwise
11786 their x/y positions may be wrong.
11788 * text2.C (cursorDown): don't enter the inset if we came from a row
11789 above and are one row over the inset.
11791 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11792 really leaving an inset.
11794 2002-04-18 Juergen Vigna <jug@sad.it>
11796 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11797 of the selected paragraph does not have the selected layout also if
11800 * text2.C (setLayout): fixed bug which did not change last selected
11803 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11804 changed the read and substituted \\end_float with \\end_inset!
11806 * BufferView_pimpl.C (cursorPrevious):
11807 (cursorNext): fixed to make it work with rows heigher than the work
11808 area without moving the cursor only the draw of the row.
11809 (workAreaMotionNotify): fix jumping over high rows.
11811 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11813 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11816 2002-04-16 Juergen Vigna <jug@sad.it>
11818 * text2.C (setCursor): set also the irow().
11819 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11821 (cursorDown): support for locking an inset if the x_fix value goes
11822 inside it. That way I can transverse insets too with cursor up/down.
11824 * lyxrow.h: added irow helper function same as other (i) functions.
11826 * BufferView_pimpl.C (cursorPrevious):
11827 (cursorNext): fixed for insets!
11829 2002-04-15 Juergen Vigna <jug@sad.it>
11831 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11832 position otherwise it is wrong in some cases.
11834 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11835 inside the inset before the call.
11837 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11839 * buffer.[Ch] (getBibkeyList): make it const.
11841 2002-04-12 Juergen Vigna <jug@sad.it>
11843 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11845 * text2.C (getCursorX): new helper function
11846 (setCursor): compute also ix_
11847 (setCursorFromCoordinates): set also ix.
11849 * lyxcursor.h: added ix_ and helper functions.
11851 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11853 * buffer.C (insertStringAsLines): dont break paragraph if the this
11854 paragraph is inside an inset which does not permit it!
11856 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11857 also with no chars on this paragraph.
11858 (paintRowText): only paint stuff if it's inside the workarea!
11860 * paragraph.C (breakParagraph): honor keepempty flag and break the
11861 paragraph always below not above.
11863 * BufferView2.C (unlockInset): update the paragraph layout on inset
11864 unlock as we changed paragraph in such a case.
11866 * lyxfind.C (LyXFind): clear the former selection if not found!
11868 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11869 again called in insertChar().
11871 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11872 an inset which uses the whole row!
11873 (rightMargin): ditto.
11874 (insertChar): force a rebreak if we inserted an inset!
11876 2002-03-28 Herbert Voss <voss@lyx.org>
11878 * lyxlength.[Ch]: add inBP() to get the right PS-point
11879 units (BigPoint). With inPixels we have rounding errors
11881 2002-04-11 Juergen Vigna <jug@sad.it>
11883 * text2.C (setCursorFromCoordinates): set iy to the right value.
11884 (setCursor): add check if row->previous exists!
11886 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11887 an old float_type as this was the case in the old code!
11889 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11891 * BufferView2.C (showLockedInsetCursor): use iy
11892 (fitLockedInsetCursor): ditto
11894 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11895 locked insets as there we have the right value now.
11897 * lyxcursor.C: added iy_ variable and iy functions to set to the
11898 baseline of cursor-y of the locked inset.
11900 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11901 (setCursor): fixed for insets which need a full row.
11903 * text.C (rowLastPrintable): don't ignore the last space when before
11904 an inset which needs a full row.
11905 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11906 as last character of a row when before a inset which needs a full row.
11908 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11910 * version.C.in: update date
11912 * text2.C (fullRebreak): try to always return true and see what
11915 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11917 * MenuBackend.C (expand): use Floating::listName
11919 * FloatList.C (FloatList): add listName argument to the built-in
11922 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11923 text associated with the float.
11925 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11927 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11929 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * ShareContainer.h: add a couple of missing typenames.
11933 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11935 * lyxrc.C (getDescription): use _() correctly rather than N_().
11937 2002-03-28 Herbert Voss <voss@lyx.org>
11939 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11940 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11942 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11944 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11945 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11947 2002-03-29 Juergen Vigna <jug@sad.it>
11949 * lyxfunc.C (dispatch): add a missing fitCursor call.
11951 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11952 it was scrolled by a cursor move, so return the bool status.
11954 * BufferView.C (fitCursor): return the bool flag also to the outside
11955 world as this is needed.
11957 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11959 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11960 call the edit() as it is not needed (and wrong) IMO.
11961 (workAreaButtonPress): set the screen_first variable before evt.
11962 unlock the inset as this may change screen_first and then we have
11963 a wrong y position for the click!
11965 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11967 * MenuBackend.C (expand): another translation that I missed
11969 2002-03-28 Juergen Vigna <jug@sad.it>
11971 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11973 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11975 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11977 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11979 * MenuBackend.C (expand): fix export/view/update when there is no
11982 2002-03-27 Herbert Voss <voss@lyx.org>
11984 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11987 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11989 * bufferview_funcs.C (currentState): only show paragraph number
11990 for is DEVEL_VERSION is set.
11992 * lyxfunc.C (dispatch): put warning in INFO channel
11994 * MenuBackend.C (expand): translate the name of floats
11996 * FloatList.C (FloatList): mark the float names for translation
11998 * converter.C (convert): use LibScriptSearch
12000 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12002 * MenuBackend.C (defaults): fix default menu (we might as well get
12005 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12007 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12010 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12012 * lyxvc.C: reorder includes.
12014 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12016 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12019 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12021 * CutAndPaste.C: change layouts earlier on paste
12022 to avoid crashing when calling getFont()
12024 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12026 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12029 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12031 * WorkArea.C: remove 'Pending' debug message.
12033 * most files: ws cleanup
12035 * buffer.[Ch]: ws changes
12037 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12039 2002-03-21 Juergen Vigna <jug@sad.it>
12041 * tabular.C (SetMultiColumn): collapse also the contents of the
12042 cells and set the last border right. Added a Buffer const * param.
12044 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12046 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12049 2002-03-19 Juergen Vigna <jug@sad.it>
12051 * text2.C (clearSelection): reset also xsel_cache.
12053 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12054 where it needs to be called (John tells us to do so too :)
12055 (selectionLost): reset sel_cache.
12057 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12059 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12061 * text2.C (setCursorIntern): put debuging code in INSETS channel
12063 2002-03-19 André Pönitz <poenitz@gmx.net>
12065 * lyxfunc.C: tiny whitespace change
12067 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12069 * ToolbarDefaults.C (init):
12070 * LyXAction.C (init):
12072 * BufferView_pimpl.C (Dispatch):
12073 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12075 2002-03-19 Allan Rae <rae@lyx.org>
12077 * exporter.C (Export): removeAutoInsets before doing anything else.
12078 While I've just introduced a dependency on BufferView this really is
12079 the best place to clean the buffer otherwise you need to cleanup in
12080 a dozen places before calling export or cleanup in a dozen functions
12083 * converter.C (runLaTeX):
12084 (scanLog): Better handling of removeAutoInsets and screen updates.
12086 * lyxfunc.C (dispatch): small whitespace changes
12088 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12090 * WorkArea.C (C_WorkAreaEvent): return a value.
12091 (event_cb): return 1 if we handled the event, 0 otherwise.
12093 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12095 2002-03-18 Juergen Vigna <jug@sad.it>
12097 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12098 (GetAdditionalWidth): ditto.
12099 (RightLine): ditto.
12102 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12103 inset if we're there actually (probably not used right now but this
12104 is the direction to go for unifying code).
12105 (paste): disable code to clear the selection.
12107 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12108 inside an InsetText and move the check further up as it is in the
12111 * text2.C (pasteSelection): set a selection over the pasted text.
12113 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12115 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12116 and libgraphics to build on Cygwin.
12118 2002-03-15 Juergen Vigna <jug@sad.it>
12120 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12121 inserting an Inset into the paragraph. I know this is not the best
12122 fix but we already use current_view in CutAndPaste so we will remove
12123 all of it's using at the same time.
12125 * buffer.C (sgmlError): deactivated function till it is rewritten in
12126 the right mode, now it can create problems.
12128 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12129 before accessing it.
12131 2002-03-14 Juergen Vigna <jug@sad.it>
12133 * undo_funcs.C (textHandleUndo): do the right thing when updating
12134 the inset after the undo/redo.
12136 * text2.C (setCursor): just some testcode for #44 not ready yet.
12138 * undo_funcs.C (textHandleUndo): set the next() and previous()
12139 pointers of the paragraph to 0 before deleting otherwise we have
12140 problems with the Paragraph::[destructor].
12142 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12143 on a paragraph insertion.
12145 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12147 * buffer.C (asciiParagraph): use += operator for char append to
12150 * paragraph.C (getFontSettings): compare >= not just >
12151 (highestFontInRange): ditto
12154 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12156 * paragraph.C: change several algorithm to be more appripriate for
12157 the problem domain. This is lookip in FontList and in the InsetList.
12159 2002-03-13 André Pönitz <poenitz@gmx.net>
12162 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12164 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12169 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12171 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12173 * Painter.C (display): anon helper function, adjust code for this
12175 (pixmap): remove function.
12177 * Painter.h: remove private display variable.
12179 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12181 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12183 * WorkArea.[Ch]: remove figinset_canvas cruft.
12185 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12187 * lyxtextclass.C (operator): add one item cache optimization.
12189 * bufferlist.h: doxy changes
12191 * bufferlist.C: ws changes
12193 * DepTable.[Ch] (ext_exist): place const in the right spot.
12195 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12197 (workAreaExpose): call resizeInsets when the with BufferView changes.
12198 (Dispatch): adjust for protectedBlank removal
12199 (specialChar): call updateInset if the insert went ok.
12201 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12202 specialChar instead.
12204 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12206 * BufferView.h: doxy change
12208 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12210 * lyxtextclass.C (operator[]): remove non-const version
12211 (defaultLayout): remove non-const version
12213 2002-03-12 Juergen Vigna <jug@sad.it>
12215 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12216 did resize the LyXText too.
12218 * buffer.C (readLyXformat2): set layout information on newly allocated
12221 * tabular.C (OldFormatRead): set layout information on the paragraph.
12223 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12225 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12227 2002-03-11 Juergen Vigna <jug@sad.it>
12229 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12231 (resizeCurrentBuffer): force also the insets to resize themselfes.
12232 (moveCursorUpdate): fixed up for InsetText.
12234 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12237 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12238 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12239 value of Dialogs::tooltipsEnabled().
12240 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12242 2002-03-08 Juergen Vigna <jug@sad.it>
12244 * BufferView_pimpl.C (updateInset): update inset inside inset also
12245 if it isn't inside theLockingInset().
12247 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12249 * buffer.C (asciiParagraph): redo some of the word and line length
12251 (getLists): look for Caption instead of caption.
12253 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12255 * buffer.C (Buffer): initialize niceFile to true
12257 (makeLinuxDocFile):
12258 (makeDocBookFile): make sure niceFile is true on exit
12260 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12262 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12264 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12266 * LyXSendto.C: remove.
12267 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12268 * lyx_gui.C: remove now-redundant comment.
12269 * ColorHandler.h: remove forward declaration of class WorkArea.
12270 * lyxfunc.C: remove #include "WorkArea.h".
12272 2002-03-07 Juergen Vigna <jug@sad.it>
12274 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12275 got moved away with the DEPM and also set the inset_owner always
12276 right which before could have been omitted.
12278 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12281 wanted layout is not found.
12283 2002-03-07 Juergen Vigna <jug@sad.it>
12285 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12287 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12289 * paragraph.C (breakParagraph): use default layout not layout of
12291 (Paragraph): clear ParagraphParameters.
12293 2002-03-06 Juergen Vigna <jug@sad.it>
12295 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12296 otherwise it would not be a valid lenght. Fixed a special case in
12297 the minipage compatibility read where we end the document with a
12300 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12301 was set as it could be 0 for InsetTexts first entry.
12303 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12305 * paragraph.C (writeFile): if layout is empty write out
12306 defaultLayoutName().
12308 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12309 file without named layout we set layout to defaultLayoutName().
12311 2002-03-06 Juergen Vigna <jug@sad.it>
12313 * CutAndPaste.C (copySelection): set layout for new paragraph.
12315 * text.C (prepareToPrint): leave ERT inset left aligned
12316 (leftMargin): don't indent paragraphs inside ERT insets
12318 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12320 * paragraph.C (breakParagraph): dont call clear do the work manually
12322 * paragraph.[Ch] (clear): remove function
12324 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12326 * paragraph.C (Paragraph): dont call clear, the work has already
12329 * lyxtextclass.C (operator): assert if n is empty
12331 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12332 work manually instead.
12334 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12336 * BufferView_pimpl.C: protect selectionLost against text == 0
12338 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12340 * text.C (breakParagraph): fix a setting layout to '0' problem.
12342 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12344 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12345 final location of file, for the included files, and graphics.
12347 2002-03-05 Juergen Vigna <jug@sad.it>
12349 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12351 2002-03-04 Juergen Vigna <jug@sad.it>
12353 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12355 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12356 last column of multicolumn cells.
12357 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12359 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12361 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12362 file if it doesn't go to a temporary file.
12364 * buffer.C (sgmlOpenTag):
12365 (sgmlCloseTag): remove extra newline insertion.
12367 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12369 * text.C (getRowNearY): comment out debug msg
12371 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * text2.C: first -> first_y
12375 * text.C (getRowNearY): add some attemts at a possible
12376 optimization, not working.
12378 * tabular.[Ch]: add BufferParams to several function so that newly
12379 created paragraph can be initialized to he default layotu for the
12382 * tabular-old.C (ReadOld): add buf->params to call of Init
12384 * screen.C: rename text->first to text->first_y
12386 * paragraph.C (breakParagraph): always set layout in the broken
12389 * lyxtextclass.C (Read): remove lowercase
12392 (delete_layout): ditto
12394 * lyxtext.h: rename first -> first_y
12396 * lyxlayout.C (Read): remove lowercase
12399 (obsoleted_by): ditto
12401 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12403 * buffer.C (insertErtContents): add params are to InsetERT
12404 (parseSingleLyXformat2Token): add code to check if a paragraphs
12405 layout really exist.
12406 (parseSingleLyXformat2Token): add params to several inset
12408 (asciiParagraph): remove lowercase, do the layout comparisons with
12411 * BufferView_pimpl.C (cursorNext): first -> first_y
12412 (resizeCurrentBuffer): first -> first_y
12413 (updateScrollbar): first -> first_y
12414 (scrollCB): first -> first_y
12415 (workAreaMotionNotify): first -> first_y
12416 (workAreaButtonPress): first -> first_y
12417 (checkInsetHit): first -> first_y
12418 (cursorPrevious): first -> first_y
12419 (cursorNext): first -> first_y
12420 (Dispatch): add buffer_->params to severl inset contructors
12422 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12424 * lyxlayout.C (Read): remove some debug info that I forgot.
12426 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12427 clean up the code slightly.
12428 (makeLinuxDocFile): ditto
12429 (makeDocBookFile): ditto
12431 * text2.C: layout as string
12433 * text.C: layout as string
12435 * paragraph_pimpl.C: layout as string
12437 * paragraph.[Ch]: layout as string
12439 * lyxtextclasslist.[Ch]: layout as string
12441 * lyxtextclass.[Ch]: layout as string
12443 * lyxtext.h: layout as string
12445 * lyxlayout.[Ch]: layout as string
12447 * lyx_cb.C: layout as string
12449 * bufferview_funcs.C: layout as string
12451 * bufferparams.C: layout as string
12453 * buffer.C: layout as string
12455 * LyXView.[Ch]: layout as string
12457 * LaTeXFeatures.[Ch]: layout as string
12459 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12461 * BufferView_pimpl.C: change current_layout to string, remove
12466 (workAreaButtonRelease): layout as string
12468 * BufferView2.C (unlockInset): adjust
12470 * vspace.C (asLatexCommand): use an explict temp variable.
12472 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12474 * Makefile.am: use FRONTEND_*
12476 2002-03-01 Juergen Vigna <jug@sad.it>
12478 * tabular.C (SetWidthOfMulticolCell): changed to something better
12479 I hope but still work in progress.
12480 (recalculateMulticolumnsOfColumn): renamed function from
12481 recalculateMulticolCells as it is more appropriate now.
12482 (SetWidthOfCell): calculate multicols better.
12484 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12486 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12488 * lyxfunc.C (processKeySym): print sequence also if it is
12489 `deleted' (complete)
12491 * kbsequence.C (print): print sequence even if it is deleted
12492 (complete would be a better word, actually).
12494 * lyxfunc.C (dispatch): print complete options after a prefix key
12496 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12498 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12500 * text2.C (setCharFont): eliminate setCharFont code duplication.
12502 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12504 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12505 LFUN_TABULAR_FEATURE (bug #177)
12507 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12509 * Makefile.am: remove figure.h
12511 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12513 * Bufferview_pimpl.C:
12525 * text2.C: remove #include "lyx_gui_misc.h".
12527 * LaTeX.C: added #include <cstdio>
12529 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12531 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12532 that the paragraph following this one can have.
12534 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12536 * vspace.C (asLatexCommand): fix bogus gcc warning
12538 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12540 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12542 * text2.C (setLayout): get rid of redundant code
12544 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12546 * text2.C (incDepth): make sure depth cannot be increased beyond
12549 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12551 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12552 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12554 * PainterBase.h (image):
12555 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12556 a LyXImage const *.
12558 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12562 * BufferView_pimpl.C:
12563 * BufferView_pimpl.h:
12583 * sp_spell.C: remove fig inset, and the crap house of
12584 cards that follows it
12586 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12591 * os2_errortable.h:
12592 * nt_defines.h: move .h into support/
12594 * vms_defines.h: remove
12596 * WorkArea.C: add space in debug output
12600 * buffer.C: add WITH_WARNINGS
12604 * bufferlist.C: s/retrive/retrieve/, add docs
12613 * chset.C: add docs
12615 * lyxgui.C: add ID to X error handler
12617 * lyxtestclass.c: fix typo
12619 2002-02-26 Juergen Vigna <jug@sad.it>
12621 * tabular_funcs.C (write_attribute): changed so that some default
12622 attributes are not written at all.
12623 (getTokenValue): set default values before trying to read the
12624 value so we have the return value always set as default if we don't
12625 find the token we search for.
12627 * tabular.C (Write): write bools as bools not as strings!
12629 2002-02-22 Juergen Vigna <jug@sad.it>
12631 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12632 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12634 * text.C (leftMargin): don't add an indent for paragraphs inside
12635 tabular cells (fix #208).
12637 2002-02-21 José Matos <jamatos@fep.up.pt>
12639 * tabular.C (docBook): fixed support for long tables.
12641 2002-02-20 Juergen Vigna <jug@sad.it>
12643 * text2.C (getFont): get the drawing font of the Inset if this
12644 paragraph is inside an inset (only important for InsetERT for now).
12646 * buffer.C (insertErtContents): use new lanugage params in ERT
12649 * CutAndPaste.C: commenting out seemingly uneeded code.
12651 2002-02-19 Allan Rae <rae@lyx.org>
12653 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12654 Iterators might be simple to use but they also get invalidated.
12655 (removeAutoInsets): renamed saved cursor tracking variables and added
12656 some comments to clarify what everything does.
12658 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12665 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12666 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12669 * vc-backend.h: remove #include "support/syscall.h"
12673 * converter.C: rearrange #includes in Lars' approved fashion.
12675 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12676 forward declare class Timeout in the header file.
12678 * XFormsView.C: changes due to the above.
12680 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12681 similar to LyXView.
12683 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12684 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12686 2002-02-18 José Matos <jamatos@fep.up.pt>
12688 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12691 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12693 * a lot of small ws changes
12694 * add a lot of using std::XXX
12695 * use std construcs some places where approp.
12696 * use some exisint stuff from lyxfunctional where approp.
12697 * Make file changes to use partial linking (lets test this now...)
12699 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12703 remove #include "support/syscontr.h" as it's redundant. Always has been.
12711 change Systemcalls::System to Systemcalls::Wait and
12712 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12713 No change of functionality, just reflects the stripped down Systemcalls
12716 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12718 * debug.[Ch]: add a GRAPHICS type to the enum.
12720 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12722 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12724 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12727 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12729 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12730 match the changes below.
12732 * text2.C (toggleInset): if there is not editable inset at cursor
12733 position, try to see if cursor is _inside_ a collapsable inset
12736 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12738 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12739 document menu has a nice checkbox
12741 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12743 * lyxlength.C (asLatexString): change PW to output as percent of
12746 * lengthcommon.C: change '%' to 't%'
12748 * lyxfunc.C (dispatch): a few comments from Martin
12750 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12754 * BufferView_pimpl.h:
12755 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12758 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12760 * vspace.C (inPixels): fix compiler warning
12762 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12764 * lyxfunc.C (getStatus): fix status message for disabled commands.
12766 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12768 * BufferView_pimpl.C: fix crash on close buffer
12769 during selection (#227)
12771 2002-01-27 Herbert Voss <voss@lyx.org>
12773 * buffer.C: link old Figure to new graphic inset
12775 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12777 * FontLoader.C (getFontinfo): Change the latex font names in order
12778 to match the names of type1inst.
12780 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12784 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12785 (extchanged): ditto
12787 (remove_files_with_extension): ditto
12788 (remove_file): ditto
12791 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12792 document is smaller than the work area height. Do not initialize
12793 static variables to 0.
12795 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12797 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12799 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12800 LFUN_LAYOUT_PARAGRAPHS.
12802 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12803 tabular. It is possible to provide a possible cell, which will
12804 typically be the actcell from the corresponding insettabular
12806 * lyxfunc.C (getStatus): small cleanup; disable
12807 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12810 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12812 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12814 * paragraph.C (startTeXParParams):
12815 (endTeXParParams): new methods. The LaTeX code to
12816 start/end paragraph formatting
12817 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12818 empty (fixes bug #200)
12820 * vspace.C (inPixels): adapt to the change below
12821 (inPixels): [later] more cleanups (remove unused variables)
12823 * lyxlength.C (inPixels): change to use a width and a height as
12826 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12828 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12829 Replaced with \paperwidth
12831 * DepTable.C (insert): add std:: qualifier
12833 2002-01-18 Allan Rae <rae@lyx.org>
12835 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12838 * text.C (drawInset): Turned out I didn't know enough about how
12839 rebreaking worked. This fixes most of the redraw problems. I see
12840 an occasional cursor trail when a line is broken now and the cursor
12841 placement can seem out by a few pixels also after a rebreak.
12843 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12845 * buffer.C (parseSingleLyXformat2Token): update because minipage
12846 width is now a LyXLength
12848 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12850 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12853 2002-01-17 Juergen Vigna <jug@sad.it>
12855 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12857 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12858 is set correctly and the inset is updated correctly.
12860 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12862 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12863 the beginning of the loop.
12865 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12867 * lyxrc.C: improve help for use_scalable_fonts
12869 2002-01-17 Allan Rae <rae@lyx.org>
12871 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12873 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12875 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12876 make sure to set their inset_owner to the right value (bug #171)
12878 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12881 * DepTable.C: Implement mtime checking to reduce time spent doing
12884 2002-01-16 Juergen Vigna <jug@sad.it>
12886 * tabular.C (GetAdditionalHeight): one of error fixed.
12888 * lyxrc.C (output): small fix in writing use_pspell.
12890 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12892 * sp_base.h: #include LString.h
12894 2002-01-16 Allan Rae <rae@lyx.org>
12896 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12897 Can someone check this please?
12899 * text.C (drawInset): It was possible that p.row would be removed by
12900 breakAgainOneRow upsetting a few other settings. There may be another
12901 small tweak possible by setting need_break_row = 0 when p.row has been
12902 removed but I don't know enough about the logic here.
12904 2002-01-15 Allan Rae <rae@lyx.org>
12906 * text.C (insertChar): removed conditional truism.
12908 * BufferView2.C (removeAutoInsets): More tweaks.
12909 cur_par_prev could be a stray pointer. Check for trailing empty line
12910 in case last line was cur_par and only had an error inset on it.
12912 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12914 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12917 * vc-backend.C (most methods):
12918 * exporter.C (Export):
12919 * converter.C (convert):
12921 * LyXSendto.C (SendtoApplyCB):
12922 * lyxfunc.C (dispatch):
12926 * lyx_cb.C (AutoSave):
12928 * BufferView_pimpl.C (MenuInsertLyXFile):
12929 * buffer.C (runChktex): use Buffer::filePath().
12931 * buffer.h: rename filename to filename_; rename filepath to
12932 filepath_ and make it private
12933 (filePath): new method
12935 * buffer.C (writeFile): use fileName()
12938 * lyx_main.C (init): fix starting of LyX when the binary is a
12939 link from so,ewhere else.
12941 * minibuffer.C: include <cctype> for isprint
12943 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12945 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12946 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12947 name clash with InsetCollapsable's width function.
12949 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12951 * lastfiles.C: include <iterator>
12953 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12955 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12958 * buffer.C (makeLaTeXFile): ditto.
12959 Also make loop operation more transparent.
12961 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12963 * ToolbarDefaults.C: remove trailing comma closing namespace.
12965 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12967 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12970 * trans.C (Load): comment out unused variable, allowed.
12972 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12974 * minibuffer.[Ch] (append_char): new method to recieve input from the
12975 drop-down completion browser. If a key was pressed, then recieve this
12976 char and append it to the existing string.
12977 (peek_event): modify the positioning data passed to the completion
12978 browser so that it can be placed above the minibuffer rather than below.
12979 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12981 * LyXAction.C (init): alloe error-next for readonly documents.
12983 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12986 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12988 * bufferlist.C (readFile): create the buffer _after_ checking that
12991 * lyxfunc.C (verboseDispatch): fix handling of arguments
12993 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12995 * lyxrc.C: use string::erase() instead of initializing to "".
12998 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13000 * BufferView_pimpl.h:
13001 * BufferView_pimpl.C:
13004 * text2.C: tell X when we have made a selection for copying
13006 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13008 * BufferView_pimpl.C (MenuInsertLyXFile):
13009 * lyxfunc.C (menuNew):
13011 (doImport): add shortcuts to directory buttons
13013 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13016 * lyxfunc.C (setStatusMessage):
13017 (getStatusMessage): new methods
13018 (getStatus):use setStatusMessage instead of setErrorMessage
13019 (dispatch): when function is disabled, set error message here
13020 [instead of in getStatus previously]
13022 * BufferView_pimpl.C (workAreaButtonRelease): update
13023 toolbar/menubar here too.
13025 2002-01-13 Allan Rae <rae@lyx.org>
13027 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13028 Now seems indestructible. Remaining task is to audit all other
13029 code affected by deleteEmptyParagraphMechanism. One small quirk
13030 left is that an empty document with an error in the preamble can
13031 be made to report an error but no error box appears. I don't know
13033 (removeAutoInsets): Improved comments.
13035 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13038 * Thesaurus.C: update for Aiksaurus 0.14
13040 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13042 * text2.C (firstParagraph): removed member function, all uses
13043 replaces with ownerParagraph
13044 (redoParagraphs): here
13045 (updateInset): here
13046 (toggleAppendix): here
13047 * BufferView2.C (insertErrors): here
13048 (setCursorFromRow): here
13050 2002-01-13 Allan Rae <rae@lyx.org>
13052 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13053 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13054 There is still a way to segfault this although you may have to do this
13055 multiple times: Have an InsetERT with an unknown command in it.
13056 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13057 <down-arrow>, <Enter> again, View->DVI, BANG!
13059 * text2.C (setCursor):
13060 (deleteEmptyParagraphMechanism):
13061 * lyxtext.h (setCursor):
13062 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13063 Making use of the return value may help fix other bugs.
13065 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13067 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13069 * LyXView.C (updateMenubar): call MenuBar::update here
13070 (updateToolbar): but not here
13071 (showState): do not update toolbar/menubar
13073 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13074 should need to care about that.
13076 * lyxfunc.C (verboseDispatch): simplify a bit
13077 (getStatus): have a version which takes a pseudoaction, and
13078 another which requires a (kb_action,string).
13080 * LyXAction.C (retrieveActionArg): make it work also when action
13081 is not a pseudo-action.
13082 (getActionName): simplify a bit
13085 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13087 * lyxfunc.C (verboseDispatch): new families of methods with
13088 several ways to specify a command and a bool to indicate whether
13089 the command name and shortcut should be displayed in minibuffer
13090 (eventually, we could extend that to a finer bitmask like
13091 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13092 (dispatch): the pristine dispatch command which just, well,
13093 dispatchs! Note it still sets its result to minibuffer; I'm not
13096 * lyxfunc.h: remove setHintMessage
13098 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13100 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13102 * BufferView_pimpl.C (specialChar): delete new inset if we have
13103 not been able to insert it.
13105 * kbmap.C: revert to using int instead of kb_action, since all we
13106 are dealing with is pseudo-actions.
13108 * LyXAction.C (searchActionArg): change to return int instead of
13109 kb_action, since the result is a pseudoaction.
13111 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13113 * buffer.C (insertErtContents): Fix (partially) the font bug.
13115 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13117 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13118 as the other one is broken on my machine!
13120 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13123 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13125 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13127 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13128 reflect their actual use. Provide compatibility code for older lyxrc
13131 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13133 change names of popup font variables in line with the changes to lyxrc.C
13135 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13137 * buffer.C (asciiParagraph): avoid outputing a word twice after
13140 * lyxrc.C (getDescription): document that document_path and
13141 template_path can be empty.
13143 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13145 * LaTeXFeatures.C (getMacros):
13146 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13148 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13150 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13152 (getPackages): rename feature "floats" to "float". Use an array to
13153 iterate over 'simple' features (i.e. just a \usepackage). Add
13154 handling of "amsmath" (renamed from "amsstyle").
13156 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13158 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13161 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13163 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13164 FuncStaus::FuncStatus & FuncStaus::some_method().
13166 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13168 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13169 of the func_satus stuff. Edited and massaged in various ways by
13172 * lyxfunc.C (getStatus): use FuncStatus
13174 2002-01-08 Juergen Vigna <jug@sad.it>
13176 * text.C (nextBreakPoint): use function Inset::isChar().
13178 * paragraph.C (TeXOnePar): use function
13179 Inset::forceDefaultParagraphs.
13181 * buffer.C (latexParagraphs): use function
13182 Inset::forceDefaultParagraphs.
13184 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13186 * lyx_gui.C (init): set the style of the menu popups to
13187 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13189 2002-01-07 Juergen Vigna <jug@sad.it>
13191 * text.C (setHeightOfRow): small fix
13192 (prepareToPrint): don't look at alignment if we don't have the place
13195 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13197 * box.C: New file. Move the Box methods and functions out of box.h,
13198 following Lars' suggestion.
13200 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13202 * box.h: #include "support/LOstream.h", needed for inlined function.
13205 * lyxtextclasslist.C: added some using std declarations.
13207 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13209 * box.h: make signed dimensions to allow insets wider than
13210 the screen (bug #162)
13212 * BufferView_pimpl.C: add some insetHit debug
13214 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13216 * vc-backend.C: add FIXME
13218 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13220 * lyxfunc.C (getStatus): enable code for showing math font status
13223 2002-01-07 Juergen Vigna <jug@sad.it>
13225 * text.C (nextBreakPoint): removed debug output not needed anymore.
13227 2002-01-06 Juergen Vigna <jug@sad.it>
13229 * text.C (nextBreakPoint): fixed up this function we had this bug
13230 since ever but now hopefully we break row better.
13231 (insertChar): we have to check if an inset is the next char as it
13232 could now happen that a large inset is causing a break.
13234 2002-01-05 Juergen Vigna <jug@sad.it>
13236 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13237 if it doesn't like to be drawed.
13239 2002-01-04 Juergen Vigna <jug@sad.it>
13241 * BufferView2.C (lockInset): forgot to set a cursor.
13243 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13245 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13247 * FormMathsPanel.C:
13250 * form_maths_panel.C:
13251 * form_maths_panel.h:
13252 * form_maths_panel.fd: implemented sub- and super- buttons in math
13255 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13256 (or ^ space) to be used as in TeX (req'd by André).
13258 * lyxfunc.C: Allow ^ and _ again to be used both as
13259 super/subscript (mathed) and as themselves (in text).
13261 2002-01-03 Allan Rae <rae@lyx.org>
13263 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13264 "LyX" or the filename of the current buffer if it has one. This is a
13265 modified form of John Levon's patch.
13267 * XFormsView.C (setWindowTitle): also set icon title.
13269 * LyXView.h (setWindowTitle): signature changed.
13270 * XFormsView.h (setWindowTitle): ditto.
13272 2002-01-02 Juergen Vigna <jug@sad.it>
13274 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13276 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13278 * screen.C (topCursorVisible): introduce a temp var for
13279 text->cursor.row(), handle the case where this row is null. (kindo
13282 * text2.C (setCursor): add a couple of asserts.
13284 * paragraph.h (inset_iterator): add -> operator
13286 * paragraph.[Ch] (autoDeleteInsets): remove member function
13288 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13289 cursor pos correctly and handle inset deletion by itself.
13290 (insertErrors): move iterator declaration out of for expression
13292 * lyxtextclass.C: add <algorithm>
13294 * Makefile.am: added the new files to sources, removed layout.C
13296 * layout.C: removed file
13298 * layout.h: remove LYX_DUMMY_LAYOUT
13300 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13304 * lyxtextclass.[Ch]:
13305 * lyxtextclasslist.[Ch]: new files
13307 * include order changes to a lot of files, also changes because of
13310 2001-12-27 Juergen Vigna <jug@sad.it>
13312 * buffer.C (asciiParagraph): more fixes.
13314 * tabular.C (ascii): make ascii export support export of only the
13315 data separated by a column-delimiter.
13316 (ascii): better support for ascii export.
13318 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13320 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13322 * tabular_funcs.C: use a "using std::getline" instead of the
13323 previous fix from Angus (necessary for cxx + lyxstring)
13325 2001-12-24 Juergen Vigna <jug@sad.it>
13327 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13329 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13330 problems. First check a minipage also if we have some ert-contents
13331 (not only on par->size(), second set the right depth of the paragraph
13332 on the relink to the root-paragraph-list!
13334 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13335 which then did not anymore update the main paragraphs on undo/redo!
13337 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13339 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13340 code. Support all font-changing funcs (even those which are not in
13341 menu currently). Support for reporting font settings in
13342 mathed (disabled until Andre provides a function on mathed's side).
13344 * func_status.h (toggle): small helper function to set toggle
13347 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13349 * tabular_funcs.C: getline -> std::getline
13351 2001-12-21 Juergen Vigna <jug@sad.it>
13353 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13354 accessed and could be 0 (I couldn't generate this but it seems
13357 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13359 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13360 * tabular_funcs.h: here and include iosfwd
13362 2001-12-20 Juergen Vigna <jug@sad.it>
13364 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13365 inside inset but undo_par was.
13367 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13369 * Thesaurus.C: always include <config.h> in sources.
13373 * box.h: do not include <config.h> in header files
13375 * text.C (paintLastRow): remove unused variable
13377 * text.C (transformChar):
13379 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13381 * Painter.C (text):
13382 * font.C (width): rewrite to use uppercase() instead of
13385 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13387 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13389 * lyxfind.C: clean up of find failure position change
13391 2001-12-20 Juergen Vigna <jug@sad.it>
13393 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13395 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13396 (TeXRow): added to LaTeX a single tabular row.
13397 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13398 (Latex): simplified and finally good LT-h/f support.
13399 (various_functions): just small adaptions for LT-h/f support.
13401 * tabular_funcs.[hC]: added and moved here all not classfunctions
13404 2001-12-19 Juergen Vigna <jug@sad.it>
13406 * tabular.[Ch]: better support for longtabular options (not finished
13409 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13411 * text.C (paintLastRow): use the label font instead of the font of
13412 the last character to compute the size of *_BOX. This makes more
13413 sense and avoids a crash with empty paragraphs.
13414 Use Painter::rectangle to draw EMPTY_BOX.
13416 2001-12-19 Juergen Vigna <jug@sad.it>
13418 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13419 the paragraphs if the replaced paragraph is not the first one!
13420 Tried to delete not used paragraphs but does not work yet so for
13421 now it's inside #ifdef's and by default off!
13423 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13425 * MenuBackend.C: include "lyx_main.h" instead of declaring
13426 lastfiles (actually was declared as LastFiles* instead of a
13429 2001-12-17 Juergen Vigna <jug@sad.it>
13431 * tabular.C (AppendColumn): applied John's fix
13433 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13437 * BufferView_pimpl.h:
13438 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13441 * box.h: new start of class for above
13443 * lyxfunc.C: ignore space-only minibuffer dispatches.
13444 Show the command name when it doesn't exist
13446 * minibuffer.C: don't add empty lines to the history
13448 * minibuffer.C: add a space on dropdown completion
13450 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13452 * text.C: fix line above/below drawing in insets
13454 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13456 * lyxlength.C (LyXLength): Initialize private variables.
13458 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13460 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13461 when inserting error insets.
13463 2001-12-13 Juergen Vigna <jug@sad.it>
13465 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13466 actually sometimes the before-paragraph.
13467 (setUndo): don't clear the redostack if we're not actually undoing!
13469 2001-12-06 Juergen Vigna <jug@sad.it>
13471 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13472 and fixed redoing of main paragraph, so we can use it now ;)
13474 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13476 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13478 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13481 2001-12-13 André Pönitz <poenitz@gmx.net>
13484 * undo_func.C: minor cleanup
13486 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13488 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13489 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13490 font in urw-fonts package which is marked as -urw-fontspecific and
13491 does not work (incidentally, changing the encoding in the
13492 fonts.dir of this package to -adobe-fontspecific fixes the
13495 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13496 is a crash when undoing first paragraph (Juergen, please take a
13497 look). THis does not mean the undo fix is wrong, just that it
13500 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13501 the (Paragraph*) version when needed instead of duplicating the
13504 * text.C (workWidth): use Inset::parOwner to find out where the
13505 inset has been inserted. This is a huge performance gain for large
13506 documents with lots of insets. If Inset::parOwner is not set, fall
13507 back on the brute force method
13509 * paragraph_pimpl.C (insertInset):
13510 * paragraph.C (Paragraph):
13511 (cutIntoMinibuffer): set parOwner of insets when
13512 inserting/removing them
13514 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13516 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13522 * mathed/formulabase.C:
13523 * mathed/math_cursor.[Ch]:
13524 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13527 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * lyxlength.[Ch] (operator!=): new function
13531 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13533 * text.C (workWidth): use Inset::parOwner to find out where the
13534 inset has been inserted. This is a huge performance gain for large
13535 documents with lots of insets. If Inset::parOwner is not set, fall
13536 back on the brute force method
13538 * paragraph_pimpl.C (insertInset):
13539 * paragraph.C (Paragraph):
13540 (cutIntoMinibuffer): set parOwner of insets when
13541 inserting/removing them
13543 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13545 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13547 * tabular-old.C (getTokenValue):
13548 * tabular.C (getTokenValue):
13549 (write_attribute): new versions for LyXLength
13550 (everywhere): adjust the use of widths
13552 * tabular.h: change the type of widths from string to LyXLength
13554 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13556 * paragraph.C: fixed missing line number count when exporting
13557 Environments to LaTeX file
13559 * buffer.C: added informational message for checking line numbers.
13561 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13563 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13564 paragraph, do the 'double space' part, but not the 'empty
13567 * text.C (workWidth): small optimization
13568 (getLengthMarkerHeight): use minimal size for negative lengths.
13570 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13572 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13574 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13576 2001-12-11 André Pönitz <poenitz@gmx.net>
13579 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13581 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13583 * text2.C: keep selection on a setFont()
13585 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13587 * lyx_cb.C: another bv->text misuse, from insert label
13589 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13592 * kbsequence.C: re-instate nmodifier mask
13594 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13596 * lyx_main.h: make lyxGUI private.
13598 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13600 * lyxfind.C: place the cursor correctly on failed search
13602 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13604 * text.C (getLengthMarkerHeight): for small heights, the arrows
13605 are not always on top/bottom of the text
13606 (drawLengthMarker): smaller arrows; take the left margin in
13607 account; draw also vfills.
13609 (paintLastRow): remove special code for vfill and standard spaces,
13610 since everything is handled in drawLengthMarker now.
13612 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13614 * buffer.C (insertErtContents): try to handle font and language
13615 interaction a bit better.g
13617 * ColorHandler.C (updateColor): change the hash to cover the whole
13618 LColor enum, ws cleanup
13619 (getGCLinepars): ditto
13620 (getGCLinepars): only lookup in the linecache once.
13622 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13624 * iterators.C (operator++): Make the iterator more robust
13626 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13628 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13630 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13633 * text.C: better added space drawing
13635 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13638 * BufferView2.C: fix layout combo update on inset unlock
13640 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13642 * Makefile.am: don't compile unused files
13644 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13648 * LyXAction.C: remove old LFUN_LAYOUTNO
13650 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13652 * paragraph_pimpl.h:
13653 * paragraph_pimpl.C: isTextAt() doesn't need font param
13655 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13658 * lyxlex.C: little cleanup
13660 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13662 * BufferView_pimpl.C: fix insertAscii for insets
13664 2001-12-05 Juergen Vigna <jug@sad.it>
13666 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13667 set the right font on the "multi" paragraph paste!
13669 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13675 * lyxlength.C: remove out-commented code.
13677 * BufferView_pimpl:
13691 * vc-backend.C: change "while(" to "while ("
13693 * lyxlength.[Ch]: add zero function to check if length is zero or
13695 * lyxgluelength.C: use it
13697 2001-12-05 Allan Rae <rae@lyx.org>
13699 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13700 Works for 2.95.3, from what I understand of Garst's reports this should
13701 work for other g++ versions. We're screwed if the abs(int) definition
13702 changed between bugfix releases of gcc.
13704 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13706 * text.C: fix chapter label offset !
13708 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13711 * text.C: fix hfill at end of line, clean up
13713 2001-12-04 Juergen Vigna <jug@sad.it>
13715 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13716 that we force an update of the inset and it's owners if neccessary.
13718 2001-12-03 Juergen Vigna <jug@sad.it>
13720 * text.C (rowLast): simplified code
13722 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13724 * lyxfunc.C: fix show options on timeout
13726 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13728 * screen.C (topCursorVisible): scroll half a page when the cursor
13729 reached top of bottom of screen
13731 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13733 * minibuffer.C: deactivate on loss of focus
13735 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13737 * vspace.[Ch] (operator!=): add operator.
13739 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13741 * BufferView_pimpl.C: refuse to open an inset when
13742 there's a selection.
13744 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13746 * BufferView_pimpl.C: allow to click on RHS of full row insets
13748 2001-11-30 Juergen Vigna <jug@sad.it>
13750 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13751 insets for undo reasons.
13753 2001-11-28 André Pönitz <poenitz@gmx.net>
13755 * vspace.[Ch]: cosmetical changes
13757 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13767 * kbsequence.C: part re-write of old kb code
13770 * WorkArea.C: remove Lgb_bug_find_hack
13772 2001-11-30 José Matos <jamatos@fep.up.pt>
13774 * buffer.C (makeDocBookFile): add a comment to point a hack.
13775 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13776 Fixed a double write of labels.
13778 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13781 * LaTeX.h Fixed bug in LaTeX class where it would not
13782 re-run latex if no depfiles were changed, but the .dvi was removed.
13784 2001-11-28 André Pönitz <poenitz@gmx.net>
13786 * all the files from the change on 2001/11/26:
13787 use lyx::layout_type instead of LyXTextClass::size_type
13788 use lyx::textclass_type instead of LyXTextClassList::size_type
13790 2001-11-29 Juergen Vigna <jug@sad.it>
13792 * text.C: added support for paragraph::isFreeSpacing()
13794 * buffer.C: same as above
13796 * paragraph.h: inserted isFreeSpacing() function to enable
13797 FreeSpacing inside InsetERT.
13799 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13800 of the paragraph's in the cut/copy buffer to 0!
13802 * text2.C (removeRow): remove the assert as it can!
13804 * lyxtext.h: added helper function firstRow returning firstrow and
13805 made firstrow private again.
13807 * BufferView2.C (lockInset): don't relock if we're already locked!
13809 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13810 the only paragraph.
13811 (removeRow): added Assert::(firstrow)
13813 * debug.C: forgot to add INSETTEXT here.
13815 2001-11-28 Juergen Vigna <jug@sad.it>
13817 * sp_spell.C (initialize): changed error text to more general
13818 spellchecker command use (not only ispell!)
13820 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13822 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13824 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13826 * vspace.C: initialise lyxgluelength on failure
13828 2001-11-28 Allan Rae <rae@lyx.org>
13830 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13831 declaration & definition that looks like a function declaration.
13833 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13835 * BufferView2.C (copy):
13836 (copyEnvironment): do not clear the selection when doing a copy.
13838 * text.C (paintFirstRow): compilation fix
13840 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13842 * tabular.C (Latex): correct line count when writing latex.
13844 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13846 * paragraph_pimpl.h:
13847 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13850 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13854 * LColor.C: change vfillline->added_space
13856 * text.C: add markers and text for added space
13858 * vspace.C: fix comment
13860 2001-11-28 André Pönitz <poenitz@gmx.net>
13862 * paragraph.C: whitespace changes
13863 * all the other files from the change on 2001/11/26:
13864 change *::pos_type into lyx::pos_type
13866 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13868 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13869 language of the document when inserting error insets.
13871 2001-11-26 André Pönitz <poenitz@gmx.net>
13873 * BufferView_pimpl.[Ch]:
13881 * paragraph_pimpl.[Ch]:
13884 * text2.C: reduce header dependencies, introduce type for positions
13886 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13888 * <various>: change to use Alert.h
13890 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13892 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13893 when encountering an unknown token.
13894 (readLyXformat2): Show an error message if there were unknown tokens.
13896 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13899 * BufferView_pimpl.C:
13903 * text2.C: use par->isInset()
13905 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13907 * paragraph_pimpl.h:
13908 * paragraph_pimpl.C: cleanup
13910 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13912 * text2.C (removeRow):
13913 * text.C (setHeightOfRow): remove useless (and costly) call to
13916 2001-11-20 Allan Rae <rae@lyx.org>
13918 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13919 Now need Inset*::checkInsertChar() to return true for appropriate
13920 cases so that the characters in the minibuffer will actually be
13923 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13925 * text.C: change the order of the includes.
13926 (workWidth): initialize it at once.
13927 (workWidth): make maxw unsigned
13928 (setHeightOfRow): remove unused variable (inset)
13929 (selectSelectedWord): remove unused variable (inset)
13930 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13932 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13934 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13935 server is not running.
13937 (closeConnection): add debug info when server is disabled.
13939 * ColorHandler.C (getGCForeground): send debug message to GUI
13942 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13944 * kbmap.C (bind): modify because return conventions of
13945 kb_sequence::parse have changed.
13947 * kbsequence.C (parse): only ignore spaces and not any stupid
13948 control character. This avoids tests like s[i] <= ' ', which are
13949 guaranteed to fail with 8bit characters and signed chars.
13950 Change return code to string::npos when there have been no error
13951 (0 was a bad idea when error is at first character)
13953 2001-11-14 José Matos <jamatos@fep.up.pt>
13956 * buffer.C (simpleDocBookOnePar): removed unused argument.
13958 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13960 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13961 insets which are part of a word. Paragraph::isLetter takes care of
13962 that now. Use Paragraph::isInset to identify insets.
13963 (selectSelectedWord): do not test for hyphenation break.
13965 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13966 that protected spaces are considered as spaces.
13968 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13971 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13974 * lyxserver.C: fix it. and small cleanup.
13976 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13978 * BufferView_pimpl.C: use inline helpers
13981 * LaTeXFeatures.C: fix typos
13984 * Spacing.C: move spacing_string into class
13986 * ToolbarDefaults.C: move stuff into namespace anon
13988 * layout.h: update enum
13990 * lyxfunc.C: use better debug
13992 * minibuffer.h: fix typo
13996 * WorkArea.C: add and use Debug::WORKAREA
14000 * text2.C: code re-organisation, inline helpers
14002 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14004 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14005 std::vector.empty().
14007 2001-11-09 Allan Rae <rae@lyx.org>
14009 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14010 '\n's after tables. Tabular and ERT inset work now makes this no
14013 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14016 * minibuffer.C: fix crash, improve drop-down completion
14018 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14021 * lyxserver.C: invalidate fd's when doing endPipe()
14023 2001-11-08 José Matos <jamatos@fep.up.pt>
14025 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14026 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14029 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14031 2001-11-07 José Matos <jamatos@fep.up.pt>
14034 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14037 * buffer.C (sgmlOpenTag):
14038 * buffer.C (sgmlCloseTag): removed debug info.
14040 * buffer.h (sgmlOpenTag):
14041 * buffer.h (sgmlCloseTag): made public.
14043 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14045 * buffer.C (saveParamsAsDefaults):
14046 * lyx_cb.C (MenuLayoutSave): remove
14048 * LyXAction.C (init):
14050 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14052 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14054 * buffer.C (setPaperStuff): removed from here...
14056 * bufferparams.C (setPaperStuff): ... and moved there.
14058 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14062 * XFormsView.C: add support for drop-down completion
14064 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14066 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14069 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14071 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14074 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14076 * lyx_main.C: change ref to known bugs
14078 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14080 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14081 to work around older babel problems.
14083 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14085 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14087 2001-10-24 Juergen Vigna <jug@sad.it>
14089 * tabular-old.C (ReadOld): below variable changes reflected.
14091 * tabular.[Ch]: added ltType struct for longtable header/footer
14092 defines and changed all instances where they are used. Added
14093 future support for double top/bottom rows.
14095 2001-10-24 José Matos <jamatos@fep.up.pt>
14097 * buffer.h (docbookHandleCaption):
14098 * buffer.C (docbookHandleCaption): removed unused function.
14099 (makeDocBookFile): moved docbook supported version to v4.1.
14101 2001-10-24 José Matos <jamatos@fep.up.pt>
14104 * tabular.C (docbookRow): new function to export docbook code of a row.
14105 (DocBook): now honors the longtable flags.
14107 2001-10-23 José Matos <jamatos@fep.up.pt>
14110 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14111 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14113 * buffer.C (makeLinuxDocFile):
14114 (makeDocBookFile): reworked the preamble, more clean, and with
14115 support for lyx defined entities. Changed the document declaration
14116 to be more XML friendly.
14118 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14119 if we need to output XML that should be done with a filter.
14121 2001-10-22 Juergen Vigna <jug@sad.it>
14123 * sp_pspell.h (class PSpell): add alive function needed in the
14124 controller to see if the spellchecker could be started.
14126 2001-10-22 Juergen Vigna <jug@sad.it>
14128 * buffer.C (insertStringAsLines): modify the font for inserting
14129 chars in certain conditions by calling checkInsertChar(font).
14131 2001-10-19 Juergen Vigna <jug@sad.it>
14133 * text.C (workWidth): use getRow instead of wrong algorithm.
14134 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14136 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14141 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14143 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14145 * text.C (workWidth): do not search for the exact row when
14146 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14147 optimization for big documents.
14149 2001-10-18 Juergen Vigna <jug@sad.it>
14151 * text.C (workWidth): new function with added Inset * parameter.
14153 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14155 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14157 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14158 change return type of getColumnNearX.
14161 * text.C (changeRegionCase): use uppercase/lowercase instead of
14164 (rightMargin): simplify code by factoring out the uses of
14169 (appendParagraph): use Paragraph::size_type
14171 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14173 * vspace.C (asLatexString): add a missing break
14175 2001-10-15 Herbert Voss <voss@perce.de>
14177 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14179 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14181 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14184 2001-10-10 André Pönitz <poenitz@gmx.net>
14186 * lyxfunc.C: removed greek_kb_flag.
14188 2001-10-10 Herbert Voss <voss@perce.de>
14190 * lyx_main.C: delete global string help_lyxdir.
14192 2001-10-09 Herbert Voss <voss@perce.de>
14194 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14196 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14198 * lyx_main.C: added global string help_lyxdir.
14200 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14202 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14204 * lyxrc.C (set_font_norm_type): support iso8859-4
14206 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14208 * LaTeX.C (deplog): add another regex for MikTeX
14210 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14212 * lyxrc.C (set_font_norm_type): support iso8859-3
14214 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14216 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14218 * LaTeXFeatures.C: remove special case of french and index
14220 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14221 before \begin{document}). This solves several incompatibilities.
14223 2001-10-03 Garst Reese <reese@isn.net>
14225 * lyx_cb.C: change CheckTex error msg.
14227 2001-10-03 José Matos <jamatos@fep.up.pt>
14229 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14231 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14233 * .cvsignore: update
14235 * lyx_main.C (commandLineVersionInfo): use new style version info.
14237 * buffer.C (writeFile):
14239 (makeLinuxDocFile):
14240 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14242 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14244 * version.h: update to use stuff in version.C
14246 * version.C.in: new file. Contains version information determined
14247 at compile time. This is a merging of version.h and
14250 2001-10-03 Juergen Vigna <jug@sad.it>
14252 * BufferView_pimpl.C (update): don't change "dirty" status in
14255 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14257 * WorkArea.C (c-tor): re-position version string slightly.
14259 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14261 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14262 revert to previous code.
14264 WorkArea.[Ch]: (show, destroySplash): methods removed.
14266 WorkArea.C: rework code so that it's an amalgam of the codes before and
14267 after the splash screen was moved to WorkArea.
14269 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14272 * vspace.C (inPixels):
14275 * buffer.C (insertStringAsLines):
14276 (asciiParagraph): fix types to be large enough
14278 * lyxlex_pimpl.h: change member status from short to int
14280 * layout.h: fix type of endlabeltype
14283 * kbsequence.C (parse): change return type to string::size_type
14285 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14288 * Bullet.C (bulletSize):
14289 (bulletEntry): do not use short ints as parameters
14291 * BufferView2.C (insertLyXFile): change a char to an int.
14293 * WorkArea.C (WorkArea): remove unneeded floats in computation
14295 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14297 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14299 * paragraph.C (asString): Do not ignore newline/hfill chars when
14300 copying to the clipboard.
14302 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14304 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14305 after a multi-line inset.
14307 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14309 * paragraph.C (validate): Set NeedLyXFootnoteCode
14311 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14313 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14314 and decrease-error to decrease.
14316 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14318 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14319 it more readable (should be equivalent)
14321 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14323 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14325 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14327 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14328 of a cursor (row, etc.) after a character has been deleted
14329 (deleteEmptyParagraphMechanism): call the method above on _all_
14330 cursors held by the LyXText when a double space has been
14333 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14335 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14337 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14339 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14340 background. Use greyOut() and the new show() methods to toggle between
14341 the foreground and background. Add code to remove the splash after
14342 its initial showing.
14344 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14345 (create_forms): no longer call Dialogs::showSplash.
14347 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14349 * .cvsignore: add version_info.h
14351 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14353 * version_info.h.in: new file
14355 * Makefile.am: add version_info.h.in
14357 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14358 version_info.h instead of VERSION_INFO
14360 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14362 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14363 The ERT inset now returns string().
14365 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14367 * lyxtext.h, text.C (selectNextWord): renamed as
14368 selectNextWordToSpellcheck.
14370 * text.C (selectNextWordToSpellcheck): Modified to not select
14371 words inside an ERT inset.
14373 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14375 * lyx_cb.C (MenuLayoutSave): change a bit the question
14377 * sp_base.h: include <sys/types.h>
14379 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14381 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14383 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14385 * several files: fix typos in user-visible strings
14387 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14389 * text2.C (pasteSelection): do not set the selection, since it
14390 will be cleared later. Actually, the intent was to fix the way the
14391 selection was set, but I figured rmoving the code was just as good.
14393 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14395 * FontLoader.C (available): Check if font is available without
14398 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14400 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14402 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14404 * lyxrc.[Ch]: added display_graphics variable and associated code.
14406 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14408 * bufferparams.C (hasClassDefaults): new method. Returns true if
14409 the buffer parameters correspond to known class defaults
14411 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14413 * XFormsView.C (show): set minimum size to the main window.
14415 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14417 * text2.C (copySelection):
14419 * lyxfind.C (LyXReplace):
14420 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14421 LyXText::selectionAsString.
14423 * paragraph.C (asString): add "label" argument to the second form
14425 * text2.C (selectionAsString): add "label" argument and pass it to
14426 Paragraph::asString.
14428 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14430 * lyx_main.C (commandLineHelp): remove version information
14432 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14434 * lyx_main.C: add -version commandline option
14436 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14438 * paragraph.h: make the optional constructor arg required instead.
14439 some modifications to other files because of this.
14441 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14443 * lyxserver.C (C_LyXComm_callback): make it static
14445 * lyx_main.C (error_handler): make it static
14447 * lyx_gui.C (LyX_XErrHandler): make it static
14449 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14451 * WorkArea.C: make the extern "C" methods static.
14453 * Makefile.am (lyx_LDADD): simplify
14455 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14457 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14458 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14460 * LyXAction.C (init):
14461 * lyxfunc.C (dispatch): associated code removal.
14463 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14465 * lyxfont.h (isSymbolFont): shut off warning
14467 * text.C (setHeightOfRow):
14468 (getVisibleRow): fix crash with empty paragraphs which have a
14471 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14473 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14476 2001-09-04 José Matos <jamatos@fep.up.pt>
14479 * tabular.C (docbook): rename docBook method to docbook.
14481 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14483 * Makefile.am: add dependencies to main.o.
14485 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14487 * FontLoader.C (available): Return false if !lyxrc.use_gui
14489 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14491 * FontInfo.C (query):
14492 * converter.C (view):
14493 * importer.C (Import):
14494 * exporter.C (Export): Can not -> cannot.
14496 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14498 * BufferView_pimpl.C: allow to create index inset even if
14501 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14503 * buffer.C (getLists): replace boost::tie code with an explicit pair
14504 as boost::tie can break some compilers.
14506 * iterators.h: Added a std:: declaration to the return type of
14509 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14511 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14514 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14516 * iterators.[Ch]: New files. Provide paragraph iterators.
14518 * buffer.C (changeLanguage): Use paragraph iterators.
14519 (isMultiLingual): ditto
14521 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14523 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14525 * FontLoader.C: Support for cmr font.
14527 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14529 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14530 (available): New method.
14532 * FontInfo.C (getFontname): Use scalable fonts even when
14533 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14536 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14538 * converter.C (Formats::view): reverted! Incorrect fix.
14540 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14542 * converter.C (Formats::view): only output the -paper option
14543 if the dvi viewer is xdvi, thereby fixing bug #233429.
14545 2001-08-23 Herbert Voss <voss@perce>
14547 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14549 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14551 * Spacing.h (Spacing): Set space to Default on in the default
14554 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14556 * vc-backend.h (RCS::versionString): add RCS to version
14557 (CVS::versionString): add CVS to version
14559 * vc-backend.C (scanMaster): do not add CVS to version.
14560 (scanMaster): do not add RCS to version
14562 * lyxvc.C (versionString): new method
14564 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14566 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14568 * Spacing.C (set): initialize fval
14570 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14572 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14575 2001-08-16 Juergen Vigna <jug@sad.it>
14577 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14579 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14581 * BufferView_pimpl.C:
14584 * text2.C: setParagraph takes linespacing now
14586 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14588 * LyxAction.C: add internal LFUN_CITATION_INSERT
14590 * LyXView.C: actually apply fix
14592 * bufferlist.C: fix open non-existent file
14594 * lyxfind.C: fix indentation
14596 * lyxfunc.C: remove unneeded assert, fix typo
14598 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14600 * MenuBackend.C: use "Floatname List"
14602 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14604 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14605 when converting LaTeX layout to insetERT.
14606 Generate a non-collapsed float when reading old float
14608 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14610 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14613 2001-08-13 Juergen Vigna <jug@sad.it>
14615 * text.C (fill): return 0 instead of 20 as this seems to be the more
14618 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14620 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14623 2001-08-13 Juergen Vigna <jug@sad.it>
14625 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14627 (SearchBackward): comment out the unlocking of the inset_owner this
14628 should not be needed!
14630 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14632 * Many files: Remove inherit_language, and add latex_language
14634 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14635 collapsible insets.
14637 2001-08-10 Juergen Vigna <jug@sad.it>
14639 * text.C (prepareToPrint): fixed hfill-width in draw!
14641 * BufferView2.C (selectLastWord): save the selection cursor as this
14642 now is cleared in the function LyXText::clearSelection!
14644 2001-08-08 Juergen Vigna <jug@sad.it>
14646 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14647 BACKSPACE type functions.
14649 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14650 is only cutted from the document but not put in the cut-buffer, where
14651 still the old stuff should be.
14653 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14655 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14657 * tabular.C (SetWidthOfCell): fixed special case where the width
14659 (LeftLine): handle '|' in align_special.
14661 (LeftAlreadyDrawed): ditto
14662 (SetWidthOfCell): ditto
14664 2001-08-07 Juergen Vigna <jug@sad.it>
14666 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14668 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14670 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14671 * lyxlex.[hC]: ditto
14673 2001-08-06 Juergen Vigna <jug@sad.it>
14675 * text.C (getVisibleRow): fix up row clearing a bit.
14677 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14679 * minibuffer.C: make sure the X server sees the changes in the input.
14681 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14683 * paragraph.C (getFont): split into...
14684 (getLabelFont): this
14685 (getLayoutFont): and this
14686 * paragraph_pimpl.C (realizeFont): calling this
14688 * text2.C (getFont): split into...
14689 (getLayoutFont): this
14690 (getLabelFont): and this
14691 (realizeFont): all three calling this
14693 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14696 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14698 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14700 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14702 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14703 layouts from the Quote inset insertion.
14705 2001-08-03 Juergen Vigna <jug@sad.it>
14707 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14709 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14710 only if status not is already CHANGED_IN_DRAW (second level).
14712 * text.C (draw): don't set the need_break_row when inside an
14715 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14717 * buffer.C (parseSingleLyXformat2Token): handle more latex
14720 * bufferview_funcs.[hC]: change function names to
14721 begin with small char, adjust other files.
14723 2001-08-02 André Pönitz <poenitz@gmx.net>
14726 BufferView_pimpl.C: remove broken special code for math-greek
14728 2001-08-02 Juergen Vigna <jug@sad.it>
14730 * BufferView_pimpl.C (update): redone this function so that we
14731 update the text again if there was a CHANGE_IN_DRAW.
14733 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14734 (drawFromTo): added a new internal bool which is used by draw() and
14736 (general): some cursor drawing problems fixed.
14738 2001-08-01 Juergen Vigna <jug@sad.it>
14740 * lyxfind.C (LyXFind): fixed
14741 (SearchForward): ditto
14742 (SearchBackward): ditto
14744 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14745 spurius drawing of the cursor in the main area.
14747 * text2.C (status): small fix which could lead to a segfault!
14748 (clearSelection): remove unneeded BufferView param.
14750 2001-08-01 André Pönitz <poenitz@gmx.net>
14752 * lyxfunc.C: small change due to changed mathed interface
14754 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14756 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14758 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14760 * lyxfunc.c: fail gracefully if file doesn't exist
14765 * BufferView_pimpl.C: IsDirWriteable() proto changed
14767 * LyXView.C: fix updateWindowTitle() to store the last title
14769 2001-07-31 Juergen Vigna <jug@sad.it>
14771 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14772 the font (wrong since using of Paragraph::highestFontInRange).
14774 * paragraph.C (highestFontInRange): added a default_size parameter.
14776 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14777 (setHeightOfRow): reformat
14779 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14781 * converter.[hC] + affected files: move to (inital-char)lowercase
14784 * ParagraphParameters.C (ParagraphParameters): remove commented code
14786 * PainterBase.[Ch]: remove commented code
14788 * LaTeXFeatures.h: add "bool floats" for float.sty
14790 * LaTeXFeatures.C (LaTeXFeatures): init floats
14791 (require): handle float
14792 (getPackages): do it with floats
14794 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14796 * BufferView_pimpl.C (Dispatch): improve handling of
14797 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14799 * commandtags.h: #include lyxfont.h here temporarily to avoid
14802 * bufferlist.h: include LString.h here.
14804 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14806 * text2.C (getStringToIndex): new method.
14808 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14810 * *: Reduced header file dependencies all over.
14812 2001-07-30 Baruch Even <baruch@lyx.org>
14814 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14816 2001-07-29 Baruch Even <baruch@lyx.org>
14818 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14820 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14822 * ParameterStruct.h (endif): add a default constructor to make
14823 sure that all variables is initialized.
14825 * ParagraphParameters.C (ParagraphParameters): adjust
14827 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14829 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14830 index; also, check that there is something to index, and that it
14831 does not span over several paragraphs.
14832 (doubleClick): use WHOLE_WORD_STRICT for double click.
14834 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14836 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14839 2001-07-26 Baruch Even <baruch@lyx.org>
14841 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14842 an InsetFig figure, backwards compatible reading of old figure code.
14844 2001-07-27 Juergen Vigna <jug@sad.it>
14846 * text2.C: font.realize function adaption.
14848 * text.C (draw): add a warnings lyxerr text if needed.
14850 * layout.C: font.realize function adaption.
14852 * language.C: add inherit_language and implement it's handlings
14854 * bufferview_funcs.C (StyleReset): remove language parameter from
14855 font creation (should be language_inherit now).
14857 * bufferparams.C (writeFile): handle ignore_language.
14859 * paragraph.C (getFontSettings): the language has to be resolved
14860 otherwise we have problems in LyXFont!
14862 * lyxfont.C (lyxWriteChanges): added document_language parameter
14863 (update): removed unneeded language parameter
14865 * paragraph.C (validate): fixed wrong output of color-package when
14866 using interface colors for certain fonts in certain environments,
14867 which should not seen as that on the final output.
14869 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14871 * BufferView_pimpl.C:
14876 * LyXAction.C: add thesaurus support
14879 * lyxfind.C: add "once" parameter, for thesaurus, to not
14880 move to the next match
14882 2001-07-26 Juergen Vigna <jug@sad.it>
14884 * lyxfont.C (realize): honor ignore_language too!
14887 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14889 * text.C (draw): one place more for ignore_language to not draw
14892 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14894 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14896 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14898 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14899 the minipage conversion problem.
14901 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14903 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14906 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14908 * BufferView.h: don't forward declare WorkArea
14910 * BufferView.C: don't include WorkArea.h
14912 2001-07-25 André Pönitz <poenitz@gmx.net>
14916 * lyxfunc.C: new LFUN 'math-space'
14918 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14920 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14922 * text2.C (toggleInset): call open/close
14924 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14926 * lyxfunc.C (dispatch): add debug for the disabled case
14928 * font.C (buttonText): make similar to rectText
14930 * buffer.C (readInset): comment out parsing of insetlist and
14933 * PainterBase.C (rectText): small correction
14935 * BufferView_pimpl.C: comment out insettheorem and insetlist
14936 * LyXAction.C: ditto
14937 * commandtags.h: ditto
14939 2001-07-24 Juergen Vigna <jug@sad.it>
14941 * text.C (draw): honor the ignore_language.
14943 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14945 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14950 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14952 * lyxtext.h: remove unused (and unimplemented) methods
14954 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14956 * text.C (getVisibleRow): honor background color
14959 * Painter.h: remove default color argument for fillRectangle
14961 * text.C (backgroundColor): new method
14963 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14965 * text.C (getVisibleRow): adjust
14967 * font.[Ch] (rectText): new method, metrics
14968 (buttonText): new method, metrics
14970 * PainterBase.[hC]: make rectText and buttonText always draw and take
14973 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14975 * ToolbarDefaults.C (read):
14976 * MenuBackend.C (read): allow escaping in all strings
14978 * BufferView_pimpl.C (insertAndEditInset): new method.
14979 (Dispatch): use insertAndEditInset whenever appropriate.
14981 * BufferView_pimpl.C (insertNote): removed
14983 * BufferView_pimpl.C (smartQuote): new method, moved from
14984 BufferView; if an insetquote cannot be inserted, insert a '"'
14987 * BufferView2.C: remove insertCorrectQuote();
14989 * lyxfunc.C (getStatus): Add support for all remaingin
14990 inset-insert lfuns.
14992 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14994 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14995 command (necessary to pass " as parameter of self-insert.
14997 * text.C (selectWordWhenUnderCursor):
14998 (selectWord): add word_location parameter
14999 (selectWordWhenUnderCursor): same + remove special code for word
15001 (selectNextWord): use kind() to guess type of insetspecialchar,
15004 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15005 (insertErtContents): create ert insets as collapsed.
15006 (readInset): better compatibility code for Info inset.
15008 2001-07-20 Juergen Vigna <jug@sad.it>
15010 * lyxfunc.C (dispatch): use always LyXFind now!
15012 * text2.C (init): add a reinit flag so that the LyXText can be
15013 reinited instead of deleted and reallocated (used in InsetText).
15015 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15021 2001-07-18 Juergen Vigna <jug@sad.it>
15023 * text.C (selectNextWord): handle insets inside inset by calling
15024 always the bv->text functions so that we can go up the_locking_inset!
15026 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15027 in strange locations when inside an inset!
15029 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15030 handling to include insets.
15032 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15034 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15036 * LyXAction.C (init):
15038 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15039 LIGATURE_BREAK, since the name is so stupid.
15041 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15043 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15046 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15048 * sp_form.[Ch]: remove.
15050 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15052 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15055 * src/buffer.C (readInset): ditto.
15057 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15059 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15060 menuSeparator(), endOfSentenceDot(), ldots() and
15061 hyphenationPoint(), which are therefore removed.
15062 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15064 * LyXAction.C (init):
15065 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15067 * paragraph.C (getWord): removed.
15069 * BufferView_pimpl.C (Dispatch): use last word or selection for
15070 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15072 * lyx_main.C (queryUserLyXDir): do not ask before creating
15073 user_dir, except if it has been named explicitely.
15075 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15077 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15078 a document of zero size.
15080 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15082 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15083 approriately in the c-tor and in require().
15084 (getPackages): output the appropriate LaTeX for natbib support.
15086 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15087 variables "use_natbib" and "use_numerical_citations" when reading the
15089 (readInset): read the various natbib cite commands.
15090 (validate): white-space change.
15092 * bufferparams.[Ch]: new variables "bool use_natbib" and
15093 "bool use_numerical_citations".
15094 (writeFile): output them in the LyX file.
15096 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15098 * lyxfunc.C (getStatus): add support for all the inset insertion
15101 * text2.C (insertInset):
15102 * paragraph.C (insetAllowed):
15103 * BufferView_pimpl.C (insertInset): update to take in account the
15104 renaming of insertInsetAllowed
15106 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15108 * text2.C (getInset): new method. returns inset at cursor position.
15110 * BufferView_pimpl.C (Dispatch): changes because of this.
15112 * LyXAction.C (init): rename open-stuff to inset-toggle.
15114 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15116 * text2.C (toggleInset): renamed from openStuff; use
15119 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15121 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15123 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15125 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15127 * buffer.C (readLyXformat2): Add filename to the error dialog
15129 2001-07-18 Juergen Vigna <jug@sad.it>
15131 * tabular.C (GetCellNumber): put an assert here instead of the check!
15133 2001-07-17 Juergen Vigna <jug@sad.it>
15135 * BufferView_pimpl.C (toggleSelection): adapted too.
15137 * text.C (selectNextWord): adapted for use with insets.
15138 (selectSelectedWord): ditto
15140 2001-07-17 Juergen Vigna <jug@sad.it>
15142 * sp_spell.C (PSpell): fix initialitation order.
15144 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15146 * paragraph.C: spacing
15148 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15150 * sp_spell.C: repair language selection for pspell
15152 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15154 * lyxfunc.h: change more methods to begin with lower char.
15156 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15158 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15159 for unknown layouts.
15161 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15163 * buffer.C (readLyXformat2): Generate an error dialog if there are
15166 2001-07-16 Juergen Vigna <jug@sad.it>
15168 * sp_spell.C: always compile ISpell part.
15170 * lyxrc.C: added use_pspell entry and it's handling.
15172 2001-07-13 Juergen Vigna <jug@sad.it>
15174 * sp_spell.C: removed double includes.
15176 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15178 Consistent use of Lsstream.h:
15179 * Lsstream.h: added using std::stringstream for consistencies sake.
15181 * buffer.C: removed using std::stringstream
15183 * lyxfont.C (stateText):
15184 * paragraph.C (asString):
15185 * text.C (selectNextWord, selectSelectedWord):
15186 * text2.C (setCounter):
15187 * vspace.C (asString, asLatexString):
15188 std::ostringstream -> ostringstream.
15190 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15192 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15193 * commandtags.h: add LFUN_HELP_ABOUTLYX
15194 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15196 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15198 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15200 * lyx_gui_misc.C: remove spellchecker
15201 * lyxfunc.C: showSpellchecker
15203 * sp_ispell.h: added
15204 * sp_pspell.h: added
15205 * sp_spell.C: added
15206 * sp_form.[Ch]: removed
15207 * spellchecker.[Ch]: removed
15209 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15211 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15213 (simpleTeXSpecialChars): Simply print the input character without
15214 any special translation if pass_thru is set.
15216 * layout.h: Added bool pass_thru to layout class for being able to
15217 implement pass through of a paragraph for Literate Programming.
15219 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15220 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15221 * layout.C (Read): add "passthru" to list of layout tags and add
15222 code to set the pass_thru boolean when it is read.
15224 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15226 * trans_decl.h: remove allowed from KmodInfo
15228 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15229 remove allowed code
15232 * paragraph_pimpl.C (erase): use boost::prior
15234 * Painter.C (text): use data() instead of c_str() when length is
15236 * WorkArea.C (putClipboard): ditto
15237 * font.h (width): ditto
15239 * BufferView2.C: use it-> instead of (*it). for iterators
15241 * paragraph_pimpl.C: ditto
15242 * paragraph.C: ditto
15243 * minibuffer.C: ditto
15244 * language.C: ditto
15246 * encoding.C: ditto
15247 * counters.C: ditto
15248 * converter.C: ditto
15250 * Variables.C: ditto
15251 * TextCache.C: ditto
15252 * MenuBackend.C: ditto
15253 * LyXAction.C: ditto
15255 * FloatList.C: ditto
15256 * DepTable.C: ditto
15257 * ColorHandler.C (LyXColorHandler): ditto
15259 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15261 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15263 * text2.C (openStuff): reintroduce this method (which had been
15264 nuked in NEW_INSETS frenzy).
15266 * lyxfunc.C (Dispatch): when an action has not been handled, use
15267 its name in the error message, not its number.
15269 * paragraph.C (inInset): change method name to begin with lowercase.
15272 * text2.C: updates because of this.
15274 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15276 * ToolbarDefaults.C (add): add spaces in error message
15278 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15280 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15281 (readLyXformat2): rename return_par to first_par, use lyxlex's
15282 pushToken and remove the manual push handling.
15283 (parseSingleLyXformat2Token): add another ert comp. variable:
15284 in_tabular, rename return_par to first_par. handle newlines better
15286 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15288 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15290 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15292 * text2.C (getParFromID): removed
15294 * buffer.C (getParFromID): new method moved form lyxtext.
15295 * BufferView2.C (insertErrors): adjust
15296 (setCursorFromRow): adjust
15297 * BufferView_pimpl.C (restorePosition): adjust
15298 * lyxfunc.C (Dispatch): adjust
15299 * undo_funcs.C (textUndo): adjust
15301 (textHandleUndo): adjust
15302 (textHandleUndo): adjust
15304 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15306 * buffer.C: up' the LYX_FORMAT
15308 * lyxfont.h: turn NO_LATEX on as default
15310 * buffer.C (insertErtContents): new methods of tex style compability.
15311 (parseSingleLyXformat2Token): use it several places.
15312 * tabular.C (OldFormatRead): and here
15314 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15316 * text2.C: remove some commented code.
15319 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15320 * trans.C: changes because of the above.
15322 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15324 * text2.C (setCounter): Fix counters bug with bibliography layout.
15326 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15328 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15329 own member functions
15330 (simpleTeXSpecialChars): ditto
15332 2001-07-06 Juergen Vigna <jug@sad.it>
15334 * a lot of files: changed the access to LyXText::status and the
15335 call of undo-functions.
15337 * undo.[Ch]: added a inset_id to the undo informations.
15339 * undo_funcs.[Ch]: added and moved here all undo functions.
15341 * lyxtext.h: give the status enum a weight, made status_ a private
15342 variable and made accessor functions for it, removed the whole bunch
15343 of undo-functions as they are now in their own file, make some
15344 functions publically available. Added function ownerParagraph with
15347 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15348 made InInset() a const function, added getParFromID() function.
15350 * buffer.[Ch]: added const version for inset_iterator functions,
15351 added getInsetFromID() function.
15353 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15354 changed undo functions for new version.
15356 2001-07-05 Juergen Vigna <jug@sad.it>
15358 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15359 unknow mechanism does not call the proper constructor but only this
15360 one also if I request the other!?
15362 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15364 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15366 * text2.C (LyXText): use initialization lists.
15368 * lyxtext.h (Selection): initialize set_ and mark_
15369 (init): remove method
15371 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15373 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15375 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15377 * screen.[Ch]: change method names to begin with lowercase
15379 * BufferView_pimpl.C (updateScrollbar): simplify further and
15380 hopefully make it a bit faster.
15382 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15384 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15385 calling directly xforms functions.
15387 * Painter.C (Painter):
15388 * lyx_cb.C (MenuWrite):
15389 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15392 * lyx_gui.C: remove bogus guiruntime extern declaration.
15394 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15396 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15398 (redoDrawingOfParagraph): ditto
15399 (redoParagraphs): ditto
15400 (cutSelection): don't create a object for CutAndPaste use the
15401 static method directly
15402 (pasteSelection): ditto
15404 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15407 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15409 * modifications to some other files because of this.
15411 * Makefile.am (lyx_SOURCES): add XFormsView
15413 * XFormsView.[Ch]: new files
15415 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15416 the main window. Move the gui dependent stuff to XFormsView
15418 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15420 * tabular.C (GetCellInset): update cur_cell also in the row/col
15421 version of this function.
15423 * lyxfunc.C: no need to include figure_form.h here.
15429 * lyxvc.C: no need to include forms.h here.
15431 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15433 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15435 * lyxfunc.C (Dispatch):
15437 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15438 constructor argument.
15440 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15442 * paragraph.C (Paragraph): dont't clear, and just set layout.
15443 (makeSameLayout): use params's copy contructor.
15445 * ParagraphParameters.[Ch] (makeSame): delete method
15447 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15449 * Variables.[Ch]: fix indentation, rename set to isSet
15451 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15453 * lyxfunc.C (Dispatch): fix typo
15455 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15457 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15460 * bufferlist.C: include assert.h for emergencyWrite().
15462 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15464 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15465 give up at last (bug #425202) !
15467 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15473 * spellchecker.C: strip spellchecker options and bring up
15474 preferences tab instead
15476 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15478 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15479 the istringstream constructor
15481 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15483 * paragraph.C (getLayout): fix return value
15485 * paragraph.h: do not declare getLayout as inline.
15487 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15489 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15491 * lyxcursor.h (operator<): new func
15492 (operator>): new func
15493 (operator>=): new func
15494 (operator<=): new func
15496 * text.C (changeCase): use selection.start and selection.end
15497 (changeRegionCase): require from to be <= to. Require par to be a
15500 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15502 2001-06-27 Juergen Vigna <jug@sad.it>
15504 * text.C (cursorLeftOneWord): changed to return the cursor and added
15505 overlay with BufferView * parameter which calls this one.
15507 (selectWord): use new getWord function.
15508 (changeCase): renamed from changeWordCase as and extended to work
15509 also on selections.
15511 * lyxtext.h: added enum word_location
15513 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15514 changeCase as this operates now also on selections.
15516 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15518 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15520 * many files: send debug output to Debug::INFO instead of
15523 * converter.C (View):
15525 (Move): send debug output to Debug::FILES instead of console.
15527 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15529 * lyxfunc.C (getStatus): use func_status
15531 * func_status.h: new header, describing the results of
15532 LyXFunc::getStatus;
15534 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15537 2001-06-25 The LyX Project <jug@sad.it>
15539 * buffer.C (sgmlOpenTag):
15541 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15543 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15545 * text2.C: remove some dead code
15547 * tabular.C (GetCellInset): store the last cell checked (gotten)
15549 * tabular.h: add the helper for the speedup
15551 * lyxtext.h: remove some dead code
15553 2001-06-26 The LyX Project <Asger>
15555 * paragraph.C: Change export to LaTeX of alignment to
15556 \begin{center} and family for better roundtrip work with reLyX.
15558 * Tune the math drawing a bit.
15560 2001-06-25 The LyX Project <Asger>
15562 * LColor.C (LColor): New color for math background. New color
15565 2001-06-25 The LyX Project <jug@sad.it>
15567 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15569 * lyxfunc.C (Open):
15570 * bufferlist.C (newFile): do not restrict to files ending with
15573 * BufferView_pimpl.C (MenuInsertLyXFile):
15575 2001-06-24 The LyX Project <jug@sad.it>
15577 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15580 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15582 * lyxtext.h: rename most methods to begin with a small char.
15583 Lots of changes because of this.
15585 * paragraph.C (Paragraph): do not call fitToSize
15586 (erase): call Pimpl::erase
15587 (insertChar): call Pimpl::insertChar
15588 (insertInset): call Pipl::insertInset
15589 (breakParagraph): do not call fitToSize
15590 (breakParagraphConservative): do not call fitToSize
15591 (fitToSize): remove method
15593 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15595 2001-06-24 The LyX Project <Asger>
15597 * Fix Qt compilation^2
15599 2001-06-24 The LyX Project <jug@sad.it>
15601 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15602 depthHook(getDepth()-1).
15605 * ParagraphParameters.h:
15606 * ParameterStruct.h: change type of depth to unsigned int ==
15607 depth_type. Many adaptations to other files before of that.
15609 2001-06-24 The LyX Project <Asger>
15611 * Fix Qt compilation.
15613 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15615 * paragraph.h: renamed several methods to begin with small letter.
15616 several changes to many parts of the code because of this.
15618 2001-06-23 The LyX Project <jug@sad.it>
15620 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15621 rewritten to discard all double spaces when KeepEmpty is off
15622 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15623 to only handle newlines but not fiddle with spaces and friends.
15625 * lyxfunc.C (MenuNew): when doing 'new from template', use
15626 template_path as default directory
15628 2001-06-23 The LyX Project <Asger>
15630 * Clean-up of header file includes all over
15631 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15633 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15635 * paragraph.h: renamed from lyxparagraph.h
15637 2001-06-23 Asger <lyx@violet.home.sad.it>
15639 * Buffer.h: Removed Buffer::resize
15640 * BufferList.h: Removed BufferList::resize
15641 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15642 the document lazily when we change the width, or the font settings.
15644 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15646 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15648 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15650 * buffer.h: remove out of date comment
15652 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15655 * screen.C: fix "theoretical" GC leak
15657 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15659 * LaTeX.C (scanAuxFile):
15660 (deplog): remove trailing \r when reading stream (useful under
15663 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15665 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15666 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15667 and BufferView::theLockingInset(Inset*), so should use them and not
15668 access bv_->text->the_locking_inset directly.
15670 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15672 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15675 * tex-defs.h: remove old unused file
15677 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15679 * BufferView_pimpl.C: fix typo, remove minibuffer message
15680 when buffer has loaded
15682 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15684 * lyxfunc.C (Dispatch): use stringstream
15685 (MenuNew): use stringstream
15686 (Open): use stringstream
15688 * importer.C (Import): use stringstream
15690 * bufferview_funcs.C (CurrentState): use stringstream
15692 * LaTeX.C (run): use stringstream
15694 * BufferView_pimpl.C (savePosition): use stringstream
15695 (restorePosition): use stringstream
15696 (MenuInsertLyXFile): use stringstream
15698 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15711 * vspace.C: removed // -*- C++ -*- as first line.
15714 * version.h: added // -*- C++ -*- as first line.
15716 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15718 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15720 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15723 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15725 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15728 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15730 * gettext.C: include LString.h even when --disable-nls is on.
15732 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15734 * converter.h (Get): changed argument type from int to
15735 FormatList::size_type to avoid unnecessary conversion.
15737 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15740 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15742 * gettext.h: include LString.h even when --disable-nls is on.
15744 2001-06-07 Juergen Vigna <jug@sad.it>
15746 * text.C (BreakAgain): subst spaces with tabs.
15748 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15749 (resizeInsetsLyXText): set force on resizeLyXText.
15751 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15753 * gettext.h (gettext_init):
15754 (locale_init): use a real definition instead of a macro
15756 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15758 * Bufferview_pimpl.C:
15760 * LColor.C: further lcolor tidies
15762 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15764 * BufferView_pimpl.C (updateScrollbar): simplify.
15766 * BufferView2.C: don't include insets/insetinfo.h, change
15767 prototype for insertInset and call the Pimpl version. let
15768 updateInset call Pimpl version.
15770 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15771 gotoInset to BufferView::Pimpl
15773 2001-06-01 Juergen Vigna <jug@sad.it>
15775 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15776 inside a LockingInset (is the update needed at all?).
15778 2001-05-31 Juergen Vigna <jug@sad.it>
15780 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15781 here not the old one otherwise how should we compare it afterwards
15784 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15789 * FontInfo.C: bring C functions into global namespace when
15792 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15794 * LString.h: make sure config.h has been loaded before LString.h.
15796 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15797 (one for each char read by EatLine!).
15799 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15802 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15804 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15805 to the same as the par we break from
15807 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15809 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15811 * MenuBackend.C (expand): also create menu entries for wide
15812 versions of the floats.
15814 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15816 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15818 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15819 frontends/Makefile.am
15825 * tabular.C (getTokenValue): add std::
15827 * tabular-old.C (getTokenValue): add std::
15828 (getTokenValue): ditto
15829 (getTokenValue): ditto
15831 * screen.C (ToggleSelection): adjust
15833 * lyxtext.h: put selection cursors inside a Selection struct.
15835 * lyxfunc.C (moveCursorUpdate): adjust
15837 * lyxfont.C (latexWriteStartChanges): add std::
15839 * lyxfind.C: adjust
15841 * font.h: delete with(char const *, LyXFont const &)
15843 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15845 * FontInfo.C (getFontname): add std::
15847 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15848 (workAreaButtonPress): adjust
15849 (tripleClick): adjust
15851 (moveCursorUpdate): adjust
15854 * BufferView2.C (gotoInset): adjust
15856 2001-05-30 Juergen Vigna <jug@sad.it>
15858 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15859 to check pspell I add this as default as I now have new pspell
15860 libraries and they seem to use this.
15862 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15864 * text2.C (CutSelection): make the cursor valid before the call to
15867 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15869 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15870 relied on 0 terminated strings and other horrors. Bug found due to
15871 the new assert in lyxstring!
15873 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15876 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15878 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15881 * lyxfunc.C (processKeySym): change method of getting to the
15884 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15885 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15886 * BufferView_pimpl.[Ch]: here as private methods.
15888 2001-05-28 Juergen Vigna <jug@sad.it>
15890 * text.C (SetHeightOfRow): added the update() call again as it is
15891 needed to initialize inset dimensions!
15893 2001-05-16 Juergen Vigna <jug@sad.it>
15895 * text2.C (SetCharFont): Add new function with BufferView * and
15896 bool toggleall parameters for setting insets internal fonts.
15897 (SetFont): Freeze the undo as we may change fonts in Insets and
15898 all this change should be inside only one Undo!
15900 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15901 setting font's in insets as for them we have the SetFont function!
15903 2001-05-15 Juergen Vigna <jug@sad.it>
15905 * text2.C (ClearSelection): to be sure we REALLY don't have any
15908 * tabular.C (TeXCellPreamble): fixed the left border problem for
15911 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15913 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15916 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15918 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15919 LFUN_BREAKPARAGRAPH.
15921 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15922 help test to "internal only", similar for LFUN_INSERT_URL
15924 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15925 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15926 auto_region_delete and deadkeys.
15928 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15931 * LColor.C: remove some dead entries, tidy a little
15933 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15935 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15937 (Dispatch): implement LFUN_ESCAPE
15939 * commandtags.h: add LFUN_ESCAPE
15941 * LyXAction.C (init): add entry for LFUN_ESCAPE
15943 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15944 Remove commented code.
15945 (insertNote): moved here
15946 (open_new_inset): moved here
15948 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15951 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15953 * kbmap.C (findbinding): clean it up and make it work correctly.
15955 * lyx_main.C (init): do not pass argc and argv as parameters
15957 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15959 * buffer.C: fix path for OS/2 & Win32
15963 * lyx_main.C: Added os:: class.
15965 * os2_defines.h: update
15967 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15969 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15970 better by trying again with reduced state.
15972 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15974 * lyxrc.C (read): print error about invalid key sequence only when
15975 debugging (because not all latinX keysyms are known to some X
15978 * kbsequence.C (getiso): add a few std:: qualifiers
15979 (getiso): comment out extra return statement.
15981 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15983 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15985 (Dispatch): enhance the accent inset a bit. (not perfect)
15987 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15989 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15991 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15993 * bufferlist.C (emergencyWrite): fix assert() call
15995 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15997 * text.C (InsertChar): Added trivial patch to only send the "you
15998 can not do multiple spaces this way" message once during a
16001 2001-05-08 Baruch Even <baruch@lyx.org>
16003 * Makefile.am: Changed order of libraries to get LyX to link properly
16004 with the gnome frontend.
16006 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16008 * LaTeXFeatures.h: add a std:: qualifier
16010 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16012 * paragraph.C (String): use stringstream
16014 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16016 * paragraph.C (writeFile): remove footflag arg
16018 * buffer.C (makeLaTeXFile): use stringstream
16019 (latexParagraphs): remove footnot gurba
16021 * LaTeXFeatures.C (getPackages): use stringstream
16022 (getMacros): likewise
16023 (getTClassPreamble): likewise
16024 (getFloatDefinitions): new method
16026 * paragraph.C (writeFile): reindent
16029 * WorkArea.h: revert the xpos + etc changes.
16031 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16033 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16035 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16036 (pasteSelection): likewise
16037 * text2.C (CreateUndo): likewise
16039 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16041 * minibuffer.C (peek_event): temporarily reduce the functionality
16042 of the minibuffer (to allow args on lfuns)
16044 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16045 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16047 * buffer.C (readInset): add compability reading of old float
16048 lists, add reading of new style float list.
16049 (readInset): avoid reevaluation of inscmd.getCmdName()
16050 (getLists): reindent
16052 * MenuBackend.C (MenuItem): implement parsing of
16053 md_floatlistinsert and md_floatinsert.
16054 (expand::LastFiles): move initalizaton of iterators out of loop,
16055 avoid reevaluation.
16056 (expand::Documents): introduce typdedef vector<string> Strings,
16058 (expand::ExportFormats): introduce typedef vector<Format const *>
16059 Formats, and use it.
16060 (expand): implement FloatListInsert and FloatInsert.
16062 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16063 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16064 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16066 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16068 (Dispatch::LFUN_FLOAT_LIST): implement
16070 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16072 * LaTeX.C (run): Fix problem with --export code.
16074 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16076 * BufferView.[Ch] (workarea): removed.
16077 (getClipboard) new method; wrapper for workarea()->getClipboard()
16079 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16082 * WorkArea.h (width, height, xpos, ypos): These methods all
16083 returned the dimensions of the work_area sub-area of WorkArea,
16084 resulting in a position error if the WorkArea were resized. Now
16085 return the dimensions of the entire WorkArea.
16087 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16089 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16091 * LaTeX.C (deplog): correct the syntax of regex reg1
16093 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16095 * undo.C: remove !NEW_INSETS cruft
16097 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16099 * text2.C: remove !NEW_INSETS cruft
16101 * text.C: remove !NEW_INSETS cruft
16103 * tabular.C: remove !NEW_INSETS cruft
16105 * spellchecker.C: remove !NEW_INSETS cruft
16107 * lyxtext.h: remove !NEW_INSETS cruft
16109 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16111 * lyxfunc.C: remove !NEW_INSETS cruft
16113 * lyxfind.C: remove !NEW_INSETS cruft
16115 * lyx_cb.C: remove !NEW_INSETS cruft
16117 * figureForm.C: remove !NEW_INSETS cruft
16119 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16121 * buffer.[Ch]: remove !NEW_INSETS cruft
16123 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16125 * CutAndPaste.C: remove !NEW_INSETS cruft
16127 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16129 * BufferView2.C: remove !NEW_INSETS cruft
16131 * BufferView.h: remove !NEW_INSETS cruft
16133 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16135 * Lsstream.h: include LString.h before the sstream headers to
16136 fix problem with gcc 2.95.3 and lyxstring
16138 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16140 * lyx_main.C: add using directives when needed for C functions
16141 declared in std:: namespace.
16143 2001-04-27 Juergen Vigna <jug@sad.it>
16145 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16146 (SetHeightOfRow): comment out the update call should not be needed!
16148 2001-04-13 Juergen Vigna <jug@sad.it>
16150 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16151 (LyXTabular): tried to minimize operator= operations (and realized
16152 hopfully Lars wish).
16154 2001-04-27 Juergen Vigna <jug@sad.it>
16156 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16158 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16160 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16162 * buffer.C (readInset): hack to make listof algorithm work
16164 * BufferView_pimpl.C: hack to make listof algorithm work
16166 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16168 * LyXAction.C: removed all !NEW_INSETS cruft
16169 (init): moved lfun_item in method
16171 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16173 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16175 * BufferView2.C (theLockingInset): white space.
16177 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16179 * minibuffer.C: include <iostream>
16181 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16183 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16185 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16187 * text.[Ch] (TransposeChars): new method
16189 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16191 * call message directly through LyXView instead of through LyXFunc
16192 * BufferView2.C: adjust
16193 * BufferView_pimpl.C: adjust
16194 * FontLoader.C: adjust
16196 * bufferview_funcs.C: adjust
16197 * converter.C: adjust
16198 * figureForm.C: adjust
16199 * importer.C: adjust
16201 * lyx_gui_misc.C: adjust
16202 * lyxfunc.C: adjust
16205 + more files in subdirs
16207 * lyxparagraph.h (size): move up int file
16210 * adjust all uses of Assert to lyx::Assert.
16212 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16213 lyxfunctional in namespace lyx
16214 * layout.C (hasLayout): ditto
16217 (delete_layout): ditto
16218 (NumberOfClass): ditto
16219 * converter.C (GetFormat): ditto
16224 * bufferlist.C (getFileNames): ditto
16225 (emergencyWriteAll): ditto
16228 * MenuBackend.C (hasSubmenu): ditto
16231 * BufferView_pimpl.C (getInsetByCode): ditto
16233 2001-04-18 Juergen Vigna <jug@sad.it>
16235 * vspace.C (asLatexString): fixed the 100% problem.
16237 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16239 * lyxfunc.C (Dispatch):
16241 * minibuffer.h: add a few std:: qualifiers
16243 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16245 * minibuffer.[Ch]: reimplement so that commands is initiated and
16246 run from lyxfunc, simplified som handling, and made the completion
16247 and history code for complete. wip.
16249 * lyxfunc.C (processKeySym): call message
16250 (miniDispatch): new temporary method
16251 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16252 (LFUN_MESSAGE): implement
16253 (LFUN_MESSAGE_PUSH): implement
16254 (LFUN_MESSAGE_POP): implement
16255 (initMiniBuffer): the initial/defualt minibuffer message.
16257 * lyxfont.[Ch]: inline some more getters
16259 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16261 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16263 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16264 (AutoSave): use LFUN_MESSAGE
16265 (Reconfigure): ditto
16267 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16269 * figureForm.C: use LFUN_MESSAGE
16271 * converter.C (runLaTeX): use LFUN_MESSAGE
16273 * bufferview_funcs.C: use LFUN_MESSAGE
16275 (changeDepth): ditto
16277 * bufferparams.h: use boost::
16279 * bufferlist.h: inherit privately from noncopyable
16281 * bufferlist.C (loadLyXFile): remove some commented code.
16283 * buffer.C (runChktex): use LFUN_MESSAGE
16285 * ShareContainer.h: inherit privately from noncopyable
16287 * ParagraphParameters.[hC] (depth): inline it.
16289 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16291 (message): new method
16292 (messagePush): ditto
16293 (messagePop): ditto
16294 (show): init minibuffer
16295 (showState): direct call
16297 * LaTeX.[Ch]: inherit privately from noncopyable
16298 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16299 instead of WriteStatus.
16301 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16303 * BufferView_pimpl.C (buffer): don't init minibuffer
16304 (workAreaButtonPress): use LFUN_MESSAGE
16305 (workAreaButtonRelease): ditto
16306 (savePosition): ditto
16307 (restorePosition): ditto
16308 (MenuInsertLyXFile): ditto
16309 (workAreaExpose): don't init minibuffer
16310 (update): remove commented code, simplify
16312 * BufferView2.C (openStuff): use LFUN_MESSAGE
16313 (toggleFloat): ditto
16316 (copyEnvironment): ditto
16317 (pasteEnvironment): ditto
16322 (updateInset): remove some commented code
16324 * lastfiles.h: inherit privately from noncopyable
16327 * lyx_main.h: ditto
16329 * lyxlex_pimpl.h: ditto
16331 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16332 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16333 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16335 * LyXAction.h: inherit privately from noncopyable, add methods
16336 func_begin, func_end, returning iterators to the func map.
16338 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16339 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16340 (func_begin): new method
16341 (func_end): new method
16343 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16345 (copySelection): ditto
16346 (pasteSelection): ditto
16348 * BufferView.C: whitespace change
16349 * BufferView.h: inherit privately from noncopyable
16351 2001-04-16 Allan Rae <rae@lyx.org>
16353 * tabular-old.C (l_getline):
16354 * spellchecker.C (sc_check_word):
16355 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16356 an unrecognised preprocessor directive. So ensure they're wrapped.
16358 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16360 * src/exporter.C (Export): Give an error message when path to file
16363 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16365 * LaTeX.C (deplog): Always check that foundfile exists.
16367 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16370 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16372 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16374 * tabular.[Ch] (getLabelList): implement new method
16376 * minibuffer.h: comment ouf setTiimer
16378 * minibuffer.C (ExecutingCB): constify res
16379 (peek_event): constify s
16380 (Set): constify ntext
16381 (Init): constify nicename
16383 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16385 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16386 (savePosition): use two params to Minibuffer::Set
16387 (restorePosition): ditto
16389 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16391 * lyx_main.C: include language.h
16393 * Makefile.am (lyx_main.o): add language.h
16395 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16401 * CutAndPaste.C: include gettext.h
16403 * lyxfont.h: remove old hack with ON and OFF.
16406 * lyxfont.h: do not include language.h...
16411 * bufferview_funcs.C:
16417 * paragraph.C: ... but do it here instead
16419 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16421 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16423 * tabular.C: small reformat
16425 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16428 (BreakParagraph): ditto
16429 (SetOnlyLayout): ditto
16432 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16435 * lastfiles.C: removed most using decl, add std:: where needed
16437 * buffer.C: ws changes
16439 * MenuBackend.C (class compare_format): put into anon namespace
16440 (expand): constify label, names, action, action2
16443 * text.C (SingleWidth): constify font
16444 (IsBoundary): constify rtl2
16445 (GetVisibleRow): constify ww
16447 * LaTeX.C (deplog): constify logfile
16449 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16451 (workAreaExpose): constify widthChange, heightChange
16453 * lyxrow.C (par): moved
16456 * lyxrow.h: as inlines here
16458 * lyxfont.h (shape): moved from lyxfont.C
16459 (emph): moved from lyxfont.C
16461 * lyxfont.C (LyXFont): use initialization list for all
16463 (shape): move to lyxfont.h as inline
16464 (emph): move to lyxfont.h as inline
16467 2001-04-04 Juergen Vigna <jug@sad.it>
16469 * vspace.C: had to include stdio.h for use of sscanf
16471 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16474 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16475 independent of xforms.
16477 2001-04-02 Juergen Vigna <jug@sad.it>
16479 * spellchecker.C: fixed namespace placing!
16481 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16483 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16484 the LyXParagraph * is 0.
16486 2001-03-29 Juergen Vigna <jug@sad.it>
16488 * vspace.C: added support for %, c%, p%, l%.
16489 (stringFromUnit): added helper function.
16490 (asLatexString): changed to give right results for the %-values.
16492 * buffer.C: convert the widthp in a width%.
16494 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16496 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16499 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16500 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16502 * lyx_cb.[Ch]: see above.
16504 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16508 * lyx.[Ch]: replaced by figure_form.[Ch].
16512 * lyxfunc.C: changed headers associated with above changes.
16514 2001-03-27 Juergen Vigna <jug@sad.it>
16516 * BufferView_pimpl.C: set the temporary cursor right!
16518 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16520 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16522 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16524 * LString.h: removed "using std::getline"!
16526 * BufferView_pimpl.C (Dispatch): changes due to changes in
16527 InsetInclude::Params.
16529 * buffer.C (tag_name): removed redundant break statements as they were
16530 producing lots of warnings with my compiler.
16532 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16534 * LString.h: add "using std::getline" when using the real <string>.
16536 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16538 * buffer.C: removed bitset usage.
16539 PAR_TAG moved to an anonymous name space.
16540 (tag_name): new funtion, also in the anonymous namespace.
16541 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16542 (makeDocBookFile): clean code. Completed transition from string arrays
16544 (SimpleDocBookOnePar): code clean.
16546 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16548 * tabular.C: add some comments.
16550 2001-03-22 Juergen Vigna <jug@sad.it>
16552 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16553 compatibility read a bit and fixed bug with minipage in different
16556 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16558 * buffer.C (pop_tag): removed.
16559 (push_tag): removed.
16560 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16561 array replaced with vector. Added support for CDATA sections.
16562 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16564 (makeDocBookFile): XML conformant declaration of CDATA section,
16565 fixed bug related to <emphasis> in the first paragraph char.
16566 (sgmlOpenTag): exclude empty tags.
16567 (sgmlCloseTag): ditto.
16569 * buffer.h (pop_tag): removed.
16570 (push_tag): removed.
16572 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16574 * language.h (Languages): added size_type and size().
16576 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16578 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16579 response on compability reading of minipages. One probliem is that
16580 the old usage of minipages was «flertydig»
16582 * several files here and in subdirs: don't use static at file
16583 scope use anon namespaces instead.
16585 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16587 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16588 LaTeX output. This is necessary for Literate document
16591 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16593 * buffer.C: insert hfill when needed.
16595 * tabular.C (l_getline): use string::erase, small whitespace change.
16597 * BufferView_pimpl.C: try the anon namespace.
16598 * WorkArea.C: ditto
16600 2001-03-16 Juergen Vigna <jug@sad.it>
16602 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16603 otherwise it won't open options-dialogs.
16605 * buffer.C: honor pextraWidth(p) on converting minipages.
16607 * tabular.C (l_getline): changed the functions to strip trailing \r.
16609 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16611 * BufferView_pimpl.C:
16612 * minibuffer..C: added "using SigC::slot" declaration.
16614 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16616 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16622 * paragraph.C: ditto
16624 * lyxtext.h: NO_PEXTRA
16626 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16628 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16629 * ParameterStruct.h: ditto
16630 * ParagraphParameters.h: ditto
16631 * lyxparagraph.h: ditto
16633 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16635 * buffer.C: add compability for minipage alignment.
16636 (latexParagraphs): remove unwanted pextra check.
16638 * several files: remove CXX_WORKING_NAMESPACES
16640 * buffer.C (pop_tag): tie is in namespace boost
16642 * BufferView.h: noncopyable is in namespace boost
16644 * lyx_main.h: ditto
16647 * lastfiles.h: ditto
16648 * bufferlist.h: ditto
16649 * ShareContainer.h: ditto
16651 * LyXAction.h: ditto
16654 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16656 * Merging changes from BRANCH_MVC back into HEAD.
16658 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16660 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16662 * BufferView_pimpl.C: change from intl.C
16666 * Makefile.am: move combox.*
16672 * intl.C: remove dialog (covered by prefs)
16674 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16676 * lyxfunc.C (Dispatch): removed redundant break statement.
16678 2001-03-14 Juergen Vigna <jug@sad.it>
16680 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16682 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16684 * buffer.C: add hack to fix compability reading of minipages.
16686 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16688 * buffer.C (getLists): Cleanup.
16690 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16692 * lyxfont.C (update): don't honor toggleall on font size.
16694 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16698 * Makefile.am: moved to frontends/xforms/
16702 * BufferView_pimpl.C: changes for moved mathpanel
16704 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16706 * gettext.h: fix gettext_init() in --disable-nls
16708 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16710 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16712 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16715 * lyx.h: strip external form
16717 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16719 * BufferView_pimpl.C: add comment, destroySplash()
16721 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16723 * BufferView_pimpl.C:
16727 * lyxfunc.C: use re-worked insetinclude
16729 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16731 * buffer.C: add using std::stringstream.
16733 * lyx_cb.C: readd using std::ios.
16735 * buffer.C: add using std::map.
16737 * BufferView_pimpl.C: add using std::vector.
16739 * ShareContainer.h: add std:: to swap.
16741 * buffer.h: add some typedefs
16742 * buffer.C (getLists): use them
16743 (getLists): renamed from getTocList.
16744 add a counter for the different float types and use it in the
16746 (getLists): use the same counter for the NEW_INSETS and the "non"
16749 * lyx_cb.h: remove unused items, includes, using etc.
16751 * ShareContainer.h: remove some commented code, add more comments
16752 and "documentation".
16754 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16756 * buffer.C (getTocList): make the list also when NEW_INSETS is
16759 * buffer.h: remove TocType
16761 * buffer.C (getTocList): change to return a map<string,
16762 vector<TocItem> >, implement for dynamic number of list.
16764 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16765 * text2.C (PasteSelection): adjust
16766 * CutAndPaste.C (pasteSelection): adjust
16768 * FloatList.C (FloatList): update from the new_insets branch.
16769 * Floating.[Ch]: ditto
16770 * LaTeXFeatures.C: ditto
16772 * lyxlex_pimpl.C: ditto
16774 * paragraph.C (Last): remove when NEW_INSETS is defined.
16776 * other file: changes because of the above.
16778 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16780 * lyxparagraph.h: rename next to next_, previous to previous_,
16781 make them private for NEW_INSETS. Rename Next() to next(),
16782 Previous() to previous().
16784 * other files: changes because of the above.
16786 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16789 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16792 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16794 * main.C (main): pass lyx_localedir to gettext_init().
16796 * gettext.h: remove locale_init and gettext_init macros
16798 * gettext.C (locale_init): new function
16799 (gettext_init): new function
16801 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16804 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16806 * Moved credits to frontends:
16807 * credits.[Ch]: removed
16808 * credits_form.[Ch]: removed
16809 * lyx_gui_misc.C: remove credits stuff
16812 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16814 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16816 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16817 unneeded destructor.
16819 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16820 a standalone pointer again.
16822 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16824 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16830 * ToolbarDefaults.C:
16839 * BufferView_pimpl.C: use new file dialog in GUII
16842 * lyx_cb.C: remove LayoutsCB to Toolbar
16844 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16846 * ShareContainer.h (get): add std:: qualifier
16848 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16850 * ShareContainer.h: define a proper ShareContainer::value_type
16851 type (and use typename to please compaq cxx)
16853 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16855 * lyxparagraph.h: move serveral local vars to
16856 ParameterStruct/ParagraphParameters., use ShareContainer in
16857 FontTable., make vars in FontTable private and add getter and
16860 * paragraph.C: changes because of the above.
16862 * lyxfont.h: remove copy constructor and copy assignment. (the
16863 default ones is ok), move number inside FontBits. move inlines to
16866 * lyxfont.C: add number to initializaton of statics, move several
16867 inlines here. constify several local vars. some whitespace
16868 cleanup. Dont hide outerscope variables.
16870 * Spacing.h: add two new constructors to match the set methods.
16872 * ShareContainer.h: new file, will perhaps be moved to support
16874 * ParameterStruct.h: new file
16876 * ParagraphParameters.h: new file
16878 * ParagraphParameters.C: new file
16880 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16881 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16883 * BufferView_pimpl.C: ParagraphParameter changes.
16884 * buffer.C: Likewise.
16885 * bufferview_funcs.C: Likewise.
16886 * text.C: Likewise.
16887 * text2.C: Likewise.
16889 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16891 * lyxfind.C (LyXReplace): do not redefine default argument in
16893 (IsStringInText): ditto
16894 (SearchForward): ditto
16895 (SearchBackward): ditto
16897 2001-03-06 Juergen Vigna <jug@sad.it>
16899 * lyxfind.C (IsStringInText): put parentes around expressions.
16901 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16903 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16905 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16907 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16909 * stl_string_fwd.h: add comment
16911 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16914 * tabular.C: remove unused DocBook methods
16920 killed DO_USE_DEFAULT_LANGUAGE
16922 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16924 * lyx_gui.C: do not include language.h.
16926 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16927 arguments in function implementation.
16929 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16931 * BufferView_pimpl.C: add <ctime>
16933 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16935 * BufferView_pimpl.C: add using std::find_if
16937 2001-02-27 José Matos <jamatos@fep.up.pt>
16939 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16942 2001-02-11 José Matos <jamatos@fep.up.pt>
16944 * buffer.C (makeDocBookFile): command styles now have a parameter as
16945 "title" by default.
16947 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16949 * layout_forms.[Ch]: removed
16950 * lyx_cb.[Ch]: out character
16951 * lyx_gui.C: out character
16952 * lyx_gui_misc.C: out character
16953 * bufferview_funcs.C: : out character,
16954 added toggleall as parameter in ToggleAndShow
16956 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16958 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16960 * text2.C (SetCurrentFont): Disable number property at boundary.
16962 2001-02-26 Juergen Vigna <jug@sad.it>
16964 * lyxfunc.C (getStatus): added a string argument override function so
16965 that this is correctly called from LyXFunc::Dispatch if it contains a
16966 do_not_use_argument which is used!
16967 (Dispatch): added check for "custom" export and call appropriate func.
16969 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16971 * lyxrc.C: Add language_command_local, language_use_babel and
16972 language_global_options.
16974 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16976 * buffer.C (makeLaTeXFile): Use language_use_babel and
16977 language_global_options.
16979 2001-02-23 Juergen Vigna <jug@sad.it>
16981 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16982 which works with LyXText and putted it inside BufferView. Here now we
16983 only call for that part the BufferView::Dispatch() function.
16985 * BufferView.C (Dispatch): added.
16987 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16988 functions which needs to use a LyXText over from LyXFunc.
16989 (MenuInsertLyXFile): added
16990 (getInsetByCode): added
16991 (moveCursorUpdate): added
16992 (static TEXT): added
16994 2001-02-22 Juergen Vigna <jug@sad.it>
16996 * BufferView_pimpl.C (update): call a status update to see if LyXText
16999 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17001 * vc-backend.C (revert): implement for CVS
17002 (getLog): implement for CVS
17004 2001-02-20 Juergen Vigna <jug@sad.it>
17006 * text2.C (ClearSelection): added BufferView param for inset_owner call
17008 * lyxfunc.C (TEXT): added this function and use it instead of
17009 directly owner->view()-text of getLyXText().
17011 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17013 * src/layout_forms.C: out preamble
17014 * src/layout_forms.h: out preamble
17015 * src/lyx_cb.C: out preamble
17016 * src/lyx_cb.h: out preamble
17017 * src/lyx_gui.C: out preamble
17018 * src/lyx_gui_misc.C: out preamble
17019 * src/lyxfunc.C: connect with guii preamble
17021 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17023 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17025 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17027 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17028 whether to run bibtex.
17030 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17032 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17034 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17036 * Makefile.am (lyx_SOURCES): removed bibforms.h
17038 * vspace.h: doxygen
17040 * text.C (GetVisibleRow): make several local vars const
17042 * tabular.C: small cleanup.
17044 * lyxserver.C (callback): use compare instead of strncmp
17046 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17047 inlines to after class or to paragraph.C
17049 * lyxfont.h: remove friend operator!=
17051 * converter.h: move friend bool operator< to non friend and after
17054 * combox.h: small cleanup
17056 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17057 to inlines after class def.
17059 * buffer.C (pop_tag): use string operations instead of strcmp
17061 * bmtable.c: doxygen, small cleanup
17063 * LaTeX.h: remove friend operator==
17065 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17077 * BufferView_pimpl.C:
17078 * BufferView.[Ch]: remove cruft
17080 2001-02-14 Juergen Vigna <jug@sad.it>
17082 * lyxfunc.C: removed #if 0 unused code
17084 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17086 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17088 * text2.C (SetSelection): added a BufferView * parameter
17090 2001-02-13 Juergen Vigna <jug@sad.it>
17092 * lyxfunc.C (Dispatch): fixed protected blank problem.
17093 * BufferView2.C (protectedBlank): added LyxText * parameter.
17095 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17096 (AppendColumn): same as above for column_info.
17098 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17099 (moveCursorUpdate): use a LyXText param for support of InsetText.
17101 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17102 (tripleClick): ditto
17104 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17106 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17108 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17110 * text2.C (SetSelection): set correct update status if inset_owner
17111 (ToggleFree): ditto
17113 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17115 * tabular.C: remove some commented code.
17117 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17119 * BufferView_pimpl.C: call hideSplash()
17121 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17124 * bibforms.h: remove
17127 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17128 add LFUN_CHILD_CREATE
17130 * counters.h: fix tiny typo
17135 * lyx.C: move splash to frontends/xforms/
17137 * lyx_gui_misc.C: move Include and Bibform to frontends
17139 * lyxvc.h: clarify comment
17141 * vspace.C: tiny housekeeping
17143 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17145 * text.C (PrepareToPrint): RTL Fix.
17147 * paragraph.C (GetUChar): New method.
17148 (String): Use GetUChar.
17150 * buffer.C (asciiParagraph): Use GetUChar.
17152 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17154 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17156 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17159 * buffer.C: rename to getLogName(), handle
17160 build log / latex log nicely
17162 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17165 * MenuBackend.h: remove support for reference menuitem type.
17167 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17169 * BufferView_pimpl.C: housekeeping
17170 * BufferView_pimpl.h:
17175 * minibuffer.h: move Timeout GUI-I
17177 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17179 * lyxrc.C (read): Update converters data-structures.
17181 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17183 * LaTeX.h (operator!=): add operator != for Aux_Info
17185 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17187 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17189 * LaTeXLog.C: deleted, useful code moved to Buffer
17192 * buffer.C: new function getLatexLogName()
17198 * lyxfunc.C: use frontends for LaTeX and VC logs
17200 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17202 * LaTeX.h: yet another std:: that Allan forgot.
17204 * Variables.C (set): renamed from isset(), because this clashes
17205 with some HP-UX macros (grr).
17207 2001-02-06 Allan Rae <rae@lyx.org>
17209 * LaTeX.h: Another bug fix. Missing std:: this time.
17211 2001-02-04 Allan Rae <rae@lyx.org>
17213 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17214 floats problem. I've left it commented out because it's not quite
17215 correct. It should also test that the current object is a table or
17216 figure inset. But I haven't gotten around to figuring out how to do
17217 that. I *think* it'll be something like: "table" == inset.type()
17219 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17222 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17224 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17225 all the citation/databases/styles in the auxilary file.
17226 (run): Rerun latex if there was a babel language error.
17228 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17230 * text.C (Backspace): Preserve the font when changing newline char
17232 (BreakParagraph): If the cursor is before a space, delete the space.
17234 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17236 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17238 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17239 new argument (code).
17240 (ChangeCitationsIfUnique): New method.
17242 * paragraph.C (GetPositionOfInset): Handle bibkey.
17244 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17246 * BufferView_pimpl.h: change type of Position::par_pos to
17247 LyXParagraph::size_type.
17249 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17251 * BufferView_pimpl.C (savePosition, restorePosition): Write
17252 messages to minibuffer.
17254 2001-01-28 José Matos <jamatos@fep.up.pt>
17256 * buffer.C (makeDocBookFile): adds support for document language.
17257 A silly restriction on the name of LatexCommand types where removed.
17258 Added support for CDATA sections, allows to chars unescaped, used
17259 among others in code, to avoid escape < and >.
17261 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17263 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17264 saved positions instrad of a stack. Furthermore, a position is
17265 stored using paragraph id/paragraph position.
17267 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17268 Remove LFUN_REF_BACK.
17270 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17272 * converter.C (dvipdfm_options): New method.
17274 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17276 * vspace.C (isValidLength): Fix for empty input string.
17278 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17280 * LyXAction.C (init): change description of LFUN_FIGURE to
17283 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17285 * LaTeX.C: add using directive
17287 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17289 * MenuBackend.C (expand): Fix the sorting of the formats.
17291 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17293 * lyx_main.C: tiny error message fix
17295 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17297 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17298 calling fl_initialize(). This fixes the problem with ',' as
17299 decimal separator in text files.
17301 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17303 * trans.C (process): Fix the keymap bug.
17305 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17307 * LaTeX.C (scanAuxFiles): New method. Provides support for
17308 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17309 (scanLogFile) Scan for "run BibTeX" messages.
17311 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17312 OT1 font encoding. Also, load the aecompl package if the ae
17315 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17317 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17319 * texrow.C (increasePos): turn two error messages into debug
17322 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17324 * LaTeX.C (scanAux): Handle the \@input macro.
17325 (runBibTeX): Use scanAux().
17327 * language.C (latex_options_): New field.
17329 * LaTeXFeatures.C (getMacros): Add language macros.
17331 * buffer.C (makeLaTeXFile): Small fix.
17333 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17335 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17337 * text2.C: add a using directive.
17339 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17344 * lyxfunc.C: kill LyXBell.
17346 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17348 * text.C (IsBoundary): Remove the error message
17350 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17352 * lyxrc.C (setDefaults): Correct initialization value for
17355 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17357 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17360 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17361 and GotoNextNote().
17363 * src/LyXAction.C: Added reference-next.
17365 * text.C (InsertChar): Use contains instead of strchr.
17367 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17369 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17371 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17372 alignment commands (when needed).
17374 * text.C (InsertChar): Add ':' to number separator chars.